JPH0496029A - Camera - Google Patents

Camera

Info

Publication number
JPH0496029A
JPH0496029A JP21267790A JP21267790A JPH0496029A JP H0496029 A JPH0496029 A JP H0496029A JP 21267790 A JP21267790 A JP 21267790A JP 21267790 A JP21267790 A JP 21267790A JP H0496029 A JPH0496029 A JP H0496029A
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
JP21267790A
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 JP21267790A priority Critical patent/JPH0496029A/en
Priority to US07/743,241 priority patent/US5319411A/en
Publication of JPH0496029A publication Critical patent/JPH0496029A/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 easily detect a focus by moving a lens for focusing to a specified position, zooming it to a wide side thereafter and detecting the focus 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 lens group LF is moved to the specified position and the focus is repeatedly detected while the lens group LF is zoomed toward the wide side thereafter. When such a lens position that defocus quantity is not excessively large at least with respect to an object on a near side is set as the specified position, the focus is easily detected when it is repeatedly detected while the zooming is executed.

Description

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

従来の技術 従来、撮影レンズを通過した光束をCOD等の光センサ
で受けて焦点状態を検出し、その検出の結果得られたデ
フォーカス量に基づいて自動的に焦点合わせを行なうカ
メラ(TTL方式によって自動的に焦点合わせを行なう
カメラ)が商品化されている。このようなカメラでは、
通常、焦点状態を検出するには一定以上のコントラスト
が必要であり、焦点状態を検出するのに必要なコントラ
ストが得られない場合には焦点検出不能となる。
Conventional technology Conventionally, cameras (TTL method) detect the focus state by receiving the light flux that has passed through the photographic lens with a light sensor such as a COD, and automatically adjust the focus based on the amount of defocus obtained as a result of the detection. A camera that automatically adjusts the focus using a camera has been commercialized. In such a camera,
Normally, a certain level of contrast is required to detect the focus state, and if the contrast necessary for detecting the focus state cannot be obtained, focus cannot be detected.

これに対し、コントラスト不足で焦点検出不能となった
場合に、焦点調節用レンズ群を駆動しながら焦点検出(
測距)を繰り返す(ローコンスキャンを行なう)ように
構成されたカメラが考えられている。この構成は、焦点
調節用レンズ群の位置が被写体に合焦するレンズ位置か
ら大きく離れているためにコントラスト不足となってい
る場合に効果があるが、被写体が測距エリアから外れて
いたり被写体自体のコントラストが不足している場合等
には対応できない。
In contrast, when focus detection becomes impossible due to insufficient contrast, focus detection (
A camera is being considered that is configured to repeatedly perform distance measurement (distance measurement) (perform low-contrast scanning). This configuration is effective when the focus adjustment lens group is far away from the lens position that focuses on the subject, resulting in insufficient contrast. 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. According to this configuration, it can be used even when 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.

そこで、合焦状態から大きく外れているために焦点検出
不能となっていた場合には、焦点調節用レンズ群の駆動
によって焦点検出を可能とし、焦点調節用レンズ群の駆
動によっては対応できない場合に限り、ワイド側へズー
ミングしながら焦点検出を繰り返すという構成が考えら
れる。このような構成によれば、画一的にズーミングし
て画角の変化を引き起こしていた従来のものとは異なり
、画角をできるだけ変化させないように配慮しつつ、従
来焦点検出不能であった場合に対して一定範囲内で焦点
検出を可能とすることができる。
Therefore, if the focus cannot be detected because the focus is far out of focus, focus can be detected by driving the focus adjustment lens group, and if it cannot be detected by driving the focus adjustment lens group. As far as possible, a configuration is conceivable in which focus detection is repeated while zooming toward the wide-angle side. With this configuration, unlike conventional systems that uniformly zoom and cause changes in the angle of view, this configuration takes care not to change the angle of view as much as possible, but when it was previously impossible to detect the focus. Focus detection can be performed within a certain range.

発明が解決しようとする課題 しかし、上記構成では、焦点調節用レンズ群の駆動によ
って焦点検出を可能とすることができなかった場合には
、焦点調節用レンズ群が無限遠端又は最近接端に位置す
ることになる。このため、デフォーカス量が大きくなり
すぎて、その後にズーミングしながら焦点検出を繰り返
しても焦点検出が可能とならない場合がある。例えば、
ズーミング開始時に焦点調節用レンズ群が無限遠端に位
置していれば、近側の被写体に対しては焦点検出が困難
な場合が多い。
Problem to be Solved by the Invention However, with the above configuration, if focus detection cannot be made possible by driving the focusing lens group, the focusing lens group may be moved to the infinity end or the nearest end. will be located. For this reason, the amount of defocus becomes so large that focus detection may not be possible even if focus detection is repeated while zooming thereafter. for example,
If the focusing lens group is located at the infinity end at the start of zooming, it is often difficult to detect focus for nearby objects.

本発明は、このような問題を解決し、焦点調節用レンズ
群の駆動によっては焦点検出を可能とすることができな
いためにズーミングしながら焦点検出を繰り返す場合に
、焦点検出が可能となり易くしたカメラを提供すること
を目的とする。
The present invention solves these problems and provides a camera that makes it easy to detect focus when repeating focus detection while zooming because it is not possible to detect focus by driving the focusing lens group. The purpose is to provide

課題を解決するための手段 上記目的を達成するため、本発明のカメラでは、特許請
求の範囲の第1請求項にも記載しているように、ズーミ
ング機能を有し、焦点検出開始スイッチと焦点検出手段
と焦点調節用レンズ群駆動手段とを用いてTTL方式に
より自動的に焦点合わせを行なうカメラにおいて、 ズームレンズ群駆動手段と、 前記焦点検出開始スイッチがオンされると、前記焦点検
出手段によって焦点検出を行ない、その結果焦点検出が
できない場合に焦点検出不能信号を出力する焦点検出不
能信号出力手段と、前記焦点検出不能信号が出力された
場合に、前記焦点調節用レンズ群駆動手段によって焦点
調節用レンズ群を駆動しながら、前記焦点検出手段によ
って焦点検出を繰り返し、その結果なお焦点検出ができ
ない場合にローコンスキャン完了信号を出力するローコ
ンスキャン完了信号出力手段と、前記焦点調節用レンズ
群を移動させる特定位置を設定する位置設定手段と、 前記ローコンスキャン完了信号が出力された後も引き続
いて前記焦点検出開始スイッチがオンされている場合に
、前記焦点調節用レンズ群を前記位置設定手段により設
定した特定位置に前記焦点調節用レンズ群駆動手段によ
って移動させた後、前記ズームレンズ群駆動手段によっ
てワイド側に向かってズーミングしながら、前記焦点検
出手段によって焦点検出を繰り返すように制御する制御
手段と、 を備えた構成としている。
Means for Solving the Problems In order to achieve the above object, the camera of the present invention has a zooming function, as described in the first claim, and has a focus detection start switch and a focus detection start switch. In a camera that automatically performs focusing using a TTL method using a detection means and a focusing lens group driving means, when the zoom lens group driving means and the focus detection start switch are turned on, the focus detection means a focus detectable signal output means that performs focus detection and outputs a focus detectable signal when the focus cannot be detected as a result; and a focus detectable signal output means that outputs a focus detectable signal when the focus cannot be detected; a low contrast scan completion signal output means for repeating focus detection by the focus detection means while driving the adjustment lens group, and outputting a low contrast scan completion signal when the focus still cannot be detected as a result; and the focus adjustment lens. a position setting means for setting a specific position to which the lens group is moved; and when the focus detection start switch is continuously turned on even after the low contrast scan completion signal is output, the focus adjustment lens group is moved to the position. After the focus adjusting lens group driving means moves the focus adjustment lens group to a specific position set by the setting means, the focus detection means repeats focus detection while zooming toward a wide-angle side using the zoom lens group driving means. The configuration includes a control means for controlling the power supply, and the following.

その際、第2請求項にも記載しているように、前記位置
設定手段は、前記特定位置として、少なくとも近側の被
写体に対してデフォーカス量が極端に大きくならないレ
ンズ位置を設定するように構成するのがよい。
In this case, as described in the second claim, the position setting means sets, as the specific position, a lens position in which the amount of defocus does not become extremely large, at least with respect to a nearby subject. It is better to configure.

例えば、第3請求項にも記載しているように、前記位置
設定手段は、前記特定位置として、前記ローコンスキャ
ン完了信号が出力された時点の焦点距離における、無限
遠被写体に合焦するレンズ位置と最近接被写体に合焦す
るレンズ位置との中間のレンズ位置を設定するように構
成すればよい。
For example, as described in the third claim, the position setting means includes, as the specific position, a lens that focuses on an object at infinity at a focal length at the time when the low contrast scan completion signal is output. The lens position may be set to be intermediate between the position and the lens position that focuses on the closest subject.

また、第4請求項にも記載しているように、前記位置設
定手段は、前記特定位置として、近側の被写体に合焦す
るレンズ位置を設定するように構成してもよい。
Further, as described in the fourth aspect, the position setting means may be configured to set a lens position that focuses on a near object as the specific position.

例えば、第5請求項にも記載しているように、前記特定
位置として、カメラボディからほぼ2.5mの位置の被
写体に合焦するレンズ位置を設定するように構成しても
よい。
For example, as described in claim 5, the specific position may be set to a lens position that focuses on a subject at a position approximately 2.5 m from the camera body.

作用 第1請求項に記載のカメラによれば、焦点検出開始スイ
ッチをオンすると焦点検出が行なわれ、その結果焦点検
出が不能の場合に、焦点調節用レンズ群を駆動しながら
焦点検出が繰り返される。
According to the camera according to the first aspect of the invention, 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. .

そして、その結果なお焦点検出不能であり、かつ、引き
続いて焦点検出開始スイッチがオンされている場合に、
焦点調節用レンズ群が特定位置に移動し、その後ワイド
側に向かってズーミングしながら焦点検出が繰り返され
る。
As a result, if focus detection is still not possible and the focus detection start switch is still turned on,
The focusing lens group moves to a specific position, and then focus detection is repeated while zooming toward the wide-angle side.

第2請求項に記載のカメラによれば、焦点調節用レンズ
群は、前記焦点検出のためのズーミングの直前に、少な
くとも近側の被写体に対してデフォーカス量が極端に大
きくならないレンズ位置に移動する。テレ側でローコン
スキャンしても焦点検出可能とならない場合は近側の被
写体であることが多いため、このように、少なくとも近
側の被写体に対してデフォーカス量が極端に大きくなら
ないレンズ位置に移動すると、ワイド側へズーミングし
ながら焦点検出を繰り返した際に、焦点検出が可能とな
り易い。
According to the camera according to the second aspect, the focus adjustment lens group is moved to a lens position where the amount of defocus does not become extremely large, at least with respect to a nearby subject, immediately before the zooming for focus detection. do. If focus cannot be detected even with low-contrast scanning on the telephoto side, it is likely that the subject is near. When the lens moves, focus detection is likely to be possible when focus detection is repeated while zooming to the wide side.

第3請求項に記載のカメラによれば、焦点調節用レンズ
群は、前記焦点検出のためのズーミングの直前に、その
時点の焦点距離における、無限遠被写体に合焦するレン
ズ位置と最近接被写体に合焦するレンズ位置との中間の
レンズ位置に移動する。これにより、近側の被写体に対
しても遠側の被写体に対してもデフォーカス量が極端に
大きくならないため、ワイド側へズーミングしながら焦
点検出を繰り返した際に、焦点検出が可能となり易い。
According to the camera according to the third aspect, the focus adjusting lens group is configured to move the lens position that is focused on an object at infinity and the closest object at the focal length at that time, immediately before the zooming for focus detection. Move the lens to a position that is intermediate between the lens position that focuses on This prevents the amount of defocus from becoming extremely large for both near and far objects, making it easier to detect focus when focus detection is repeated while zooming to the wide side.

第4請求項に記載のカメラによれば、焦点調節用レンズ
群は、前記焦点検出のためのズーミングの直前に、近側
の被写体に合焦するレンズ位置に移動する。この場合、
遠側の被写体に対してデフォーカス量が大きくなること
があるが、テレ側でローコンスキャンしても焦点検出可
能とならない場合は近側の被写体であることが多いため
、このように近側の被写体に対するデフォーカス量が小
さい状態では、ワイド側へズーミングしながら焦点検出
を繰り返した際に、焦点検出が可能となり易い。
According to the camera according to the fourth aspect, the focusing lens group moves to a lens position where a nearby subject is brought into focus immediately before zooming for focus detection. in this case,
The amount of defocus may be large for distant subjects, but if focus cannot be detected even with low-contrast scanning at the telephoto side, it is likely that the subject is near. When the defocus amount for the subject is small, focus detection is likely to be possible when focus detection is repeated while zooming to the wide side.

第5請求項に記載のカメラによれば、焦点調節用レンズ
群は、前記焦点検出のためのズーミングの直前に、カメ
ラボディがらほぼ2.5mの位置の被写体に合焦するレ
ンズ位置に移動するため、近側の被写体に対してデフォ
ーカス量が大きくなることはない。
According to the camera according to the fifth aspect, the focus adjustment lens group moves to a lens position where the subject is focused at a position approximately 2.5 m from the camera body, immediately before the zooming for focus detection. Therefore, the amount of defocus does not become large for nearby objects.

(以下余白) 実施例 以下、本発明の一実施例として、モータにより焦点距離
変化させることが可能な交換レンズを備えた一眼レフカ
メラシステムについて説明する。
(The following is a blank space) Embodiment Hereinafter, 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.

第1図に本システムのブロック図を示す、この図に示す
ように、カメラボディ側は、測距部(2)からのデータ
をボディ制御部(1)に入力して焦点合わせをするため
のレンズ駆動量を算出し、焦点調節用レンズ群駆動制御
部(3)にてモータ(Ml)に通電することにより、焦
点調節用レンズ群(以下rAFレンズ」という) (L
F)を駆動して自動的に焦点合わせを行なう機能と、ボ
ディデータ出力部(4)及びレンズデータ入力部(5)
により、レンズ側と交信してレンズをボディの意志で動
作させる機能とを有している。
Figure 1 shows a block diagram of this system. As shown in this figure, the camera body side inputs data from the distance measuring section (2) to the body control section (1) to adjust the focus. By calculating the lens drive amount and energizing the motor (Ml) in the focus adjustment lens group drive control unit (3), the focus adjustment lens group (hereinafter referred to as rAF lens) (L
F) to automatically perform focusing, 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)に通電することにより
、ズームレンズ群(LA)を駆動してズーミングを行な
う機能(以下「パワーズーム」という)と、ボディデー
タ入力部(8)及びレンズデータ出力部(9)にてボデ
ィと交信することにより、レンズのデータをボディに出
力する機能と、ボディからのデータに従って動作する機
能とを有している。
Also, on the lens side, there is a zoom ring operation detection means (10).
When an operation is detected, the zoom lens group drive control unit (7) energizes the motor (M3) to drive the zoom lens group (LA) to perform zooming (hereinafter referred to as "power zoom"). ), and 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. are doing.

次に、ボディとレンズの外部構成について説明する。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)はメインスイッチ(SM)を○N10FFさせ
るためのスライダであり、このスライダ(11)がON
の位置にあるときにカメラボディ(BD)は動作可能状
態となり、OFFの位置にあるときにはカメラボディ(
BD)は動作不能状態となる。
(11) is a slider for turning the main switch (SM) ○N10FF, and this slider (11) is turned ON.
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段目の押し込みで後述のレリーズスイッチ
($2)が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). Further, by pressing the button to the second step, a release switch ($2), which will be described later, is turned on and an exposure control operation is started.

(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 a body display section, which displays information such as shutter speed, aperture value, switches, battery warning mark, etc. Further, the display section in the finder shown in FIG. 5 displays the shutter speed (FD4), photographic frame (FD2), etc.

(15)はマウントロックビンである。交換レンズ(L
E)が装着され、マウントロック状態にあれば、後述の
レンズ装着スイッチ(SLE)がOFFとなり、それ以
外のときにはレンズ装着スイッチ(S、E)はONにな
っている。
(15) is a mount lock bin. Interchangeable lens (L
E) is attached and in the mount lock state, a lens attachment switch (SLE), which will be described later, is turned OFF; otherwise, the lens attachment switches (S, E) are 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
)で求められた絞り込み段数分だけ交換レンズ(LE)
の絞りを絞り込むためのレバーである。
(17) is the aperture lever and the camera body (BD
) Interchangeable lenses (LE) for the number of aperture stages determined by
This lever is used to narrow down the aperture.

(18)はオートワイドキーであり、オートワイドの機
能をON/○FFするために使用される。ここで、オー
トワイドとは、通常の自動焦点合わせの動作において焦
点検出ができない場合、又は、ローコンスキャンが完了
しても焦点検出可能とならない場合に、自動的にワイド
方向にズーミングしながら測距を繰り返すことをいう。
(18) is an auto wide key, which is used to turn on/off the auto wide function. 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 is when the contrast necessary to detect the focus state during distance measurement cannot be obtained (
Hereinafter, this state will be referred to as "low contrast"), which means repeating distance measurement while driving the AF lens.

なお、焦点検出とは以下の■〜■の動作を総称したもの
であり、本実施例では測距と同じ意味に用いるものとす
る。
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 deviation (defocus amount) is detected and it is determined whether or not the focus is in focus.

■合焦状態でなければ、前記デフォーカス量に基づいて
、合焦状態となる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カプラ。(25) is the mount lock groove, and (26) is the AF coupler.

(27)は絞り込みレバーである。カメラボディ(BD
)に交換レンズ(LE)を装着すると、カメラボディ(
BD)のマウントロックビン(15)がマウントロック
溝(25)に係合し、ボディ側のAFカプラ(16)の
凸部がレンズ側のAFカプラ(26)の凹部に係合し、
ボディ側のAFモータの回転がAFカプラ(16)(2
6)を介してレンズ側に伝わり、AFレンズが移動して
焦点合わせが行なわれる。さらに、レンズ側の端子(J
l)〜(J8)がボディ側の端子(J、、)〜(J、、
)と接続される。また、絞り込みレバー(17)がレン
ズ側の絞り込みレバー(27)と係合し、ボディ側の絞
り込みレバー(17)の移動分だけレンズ側の絞り込み
レバー(27)が追従して移動し、絞り開口が絞り込み
レバー(17)(27)の移動分に対応する値に制御さ
れる。
(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 caused by the AF coupler (16) (2).
6) to the lens side, and the AF lens moves to perform focusing. Furthermore, the terminal on the lens side (J
l) ~ (J8) are body side terminals (J,,) ~ (J,,
) 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 amount of movement of the aperture levers (17) and (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、)は焦点検出用受光回路であり、光電荷を所
定時間蓄積する焦点検出用の積分形光センサとしてのC
ODと、CODの駆動回路と、CCDの出力を処理しA
/D変換してボディ内マイコン(μC1)に供給(以下
、 「データダンプ」又は単に「ダンプ」という)する
回路とを備えており、データバスを介してボディ内マイ
コン(μC1)と接続されている。この焦点検出用受光
回路(AFc工)により、測距エリアに存在する被写体
の焦点ずれ量(デフォーカス量)に関する情報が得られ
る。
(AFc,) is a light receiving circuit for focus detection, and C serves as an integral type photosensor for focus detection that accumulates photocharge for a predetermined time.
A that processes the OD, COD drive circuit, and CCD output.
It is connected to the in-body microcontroller (μC1) via a data bus. There is. This focus detection light receiving circuit (AFc circuit) provides information regarding the amount of defocus (defocus amount) of the subject 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
P、) (第2図の表示部(14))及びファインダ内
の表示部(DISP、、) (第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 (DISP, .

ここで、第5図のファインダ内の表示について説明する
。この図において、(FDI)はファインダ枠であり、
実際に被写体を確認することができるエリアを示す。(
FD2)はワイドビューキー(13)の操作によってワ
イドビュー機能がONされたときに表示される撮影フレ
ームであり、撮影フレーム内の被写体の撮影が可能とな
る。(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 shooting frame that is displayed when the wide view function is turned on by operating the wide view key (13), and it becomes possible to shoot a subject within the shooting 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, and indicate the values obtained by photometric calculation.

(LE、T)は交換レンズ(LE) (以下、単に「レ
ンズ」ともいう)に内蔵されたレンズ内回路であり、交
換レンズ固有の情報をボディ内マイコン(μC1)に供
給する。このレンズ内回路(LEcT)については、後
で詳細に説明する。
(LE, T) is an in-lens circuit built into the interchangeable lens (LE) (hereinafter also simply referred to as "lens"), which supplies information specific to the interchangeable lens to the in-body microcomputer (μC1). This intra-lens circuit (LEcT) 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), and outputs a pulse to the counter input terminal (CNT) of the in-body microcomputer (μC1) at every predetermined rotation angle. The in-body microcomputer (μC1) counts these pulses and controls the speed of the AF lens.

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

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

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

次に、電源関係の構成について説明する。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の
給電トランジスタであり、MO3構成となっている。
(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 MO3 configuration.

(DD)はボディ内マイコン(μC1)に供給する電圧
(V、、)を安定させるためのD C/D Cコンバー
タであり、電源制御端子(PWO)が°I Hlgh 
IIレベルのときに動作する。(VDD)はボディ内マ
イコン(μC1)、レンズ内回路(LEcT)、フィル
ム感度読取回路(DX)。
(DD) is a DC/DC converter to stabilize the voltage (V,...) supplied to the microcomputer (μC1) in the body, and the power supply control terminal (PWO) is
Operates at II level. (VDD) is the microcomputer in the body (μC1), the circuit in the lens (LEcT), and the film sensitivity reading circuit (DX).

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

(V、c、)は焦点検出用受光回路(AFc工)、及び
測光回路(LM)の動作電源電圧であり、電源制御端子
(PWI)から出力される信号の制御下にて電源電池(
El)から給電トランジスタ(Trl)を介して供給さ
れる。
(V, c,) is the operating power supply voltage of the focus detection light receiving circuit (AFc) and the photometry circuit (LM), and the power supply voltage (V, c,) is
El) through a power supply transistor (Trl).

(VCo2)はレンズ内のズームモータの動作電源電圧
であり、電源制御端子(PH1)から出力される信号の
制御下にて電源電池(El)から給電トランジスタ(T
r2)を介して供給される。(Vcco)は、モータ駆
動回路(MDI)、  シャッター制御回路(TVc工
)、絞り制御回路(AVoT)、及びモータ駆動回路(
Mn2)の動作電源電圧であり、電源電池(El)から
直接供給される。
(VCo2) is the operating power supply voltage of the zoom motor in the lens, and is supplied from the power supply battery (El) to the power supply transistor (T) under the control of the signal output from the power supply control terminal (PH1).
r2). (Vcco) is the motor drive circuit (MDI), shutter control circuit (TVc), aperture control circuit (AVoT), and motor drive circuit (
This is the operating power supply voltage of Mn2) and is directly supplied from the power supply battery (El).

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

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

(GNDI)は低消費電力部のグランドラインであり、
レンズとボディの間は端子(J、、)(J、)を介して
接続されている。ボディ内ではアナログ部とディジタル
部は別々のグランドラインにする必要があるが、便宜上
、図面では一本で示している。
(GNDI) is the ground line of the low power consumption section,
The lens and the body are connected via terminals (J,,) (J,). 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)は大消費電力部のグランドラインであり、
レンズとボディの間は端子(J、8)(J、)を介して
接続されている。
(GND2) is the ground line of the large power consumption section,
The lens and the body are connected via terminals (J, 8) (J,).

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

(SWV)は広視野モードの有効/無効を切り換えるた
めの常開式ブツシュスイッチであ1ハ 前述のワイドビ
ューキー(13)が押圧されたときにONされる。
(SWV) is a normally open bushing switch for enabling/disabling the wide view mode and is turned ON when the wide view key (13) mentioned above is pressed.

(SAW)はオートワイド機能の有効/無効を切り換え
るための常開式ブツシュスイッチであり、前述のオート
ワイドキー(18)が押圧されたときにONされる。
(SAW) is a normally open bushing switch for enabling/disabling the auto wide function, and is turned on 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.

(S、)はカメラの動作を可能とするためのスライダ(
11)がON位置にあるときにONとなり、OFF位置
にあるときにOFFとなるメインスイッチである。
(S,) 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. This pulse generator (
The output of PCI) is input as an interrupt signal to the interrupt terminal (INT2) of the in-body microcomputer (μC1).

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

(S、、、)はカメラボディ(BD)に電池(El)が
装着されたときにOFFとなる電池装着検出スイッチで
ある。電池(El)が装着されて、電池装着検出スイッ
チ(S、、、)がOFFになると、抵抗(R1)を介し
てコンデンサ(C1)が充電され、ボディ内マイコン(
μC1)のリセット端子(REI)が“Low”レベル
から“Hlgh IIレベルに変化する。すると、ボデ
ィ内マイコン(μC1)は後述のリセットルーチンを実
行する。
(S,...) 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 (S,,,) is turned off, the capacitor (C1) is charged via the resistor (R1), and the microcomputer (
The reset terminal (REI) of μC1) changes from the "Low" level to the "High II level."Then, the in-body microcomputer (μC1) executes a reset routine to be described later.

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

測光回路(LM)、フィルム感度読取回路(DX)、及
び表示制御回路(DISPC)は、シリアル入力(SI
N)。
The photometry circuit (LM), film sensitivity reading circuit (DX), and display control circuit (DISPC) are connected to serial input (SI).
N).

シリアル出力(SOUT)、及びシリアルクロック(S
CK)の各信号ラインを介してボディ内マイコン(μC
1)とシリアルにデータ交信を行なう。そして、ボディ
内マイコン(μC1)との交信対象は、チップセレクト
端子(C3LM)(C3DX) (C6DISP)によ
り選択される。
Serial output (SOUT) and serial clock (S
The in-body microcontroller (μC
1) performs data communication serially. The target of communication with the in-body microcomputer (μC1) is selected by the chip select terminals (C3LM) (C3DX) (C6DISP).

すなわち、端子(C3LM)が“’ Low”レベルの
ときには測光回路(LM)が選択され、端子(C3DX
)が”Low”レベルのときにはフィルム感度読取回路
(DX)が選択され、端子(C8DISP)がI L 
O,IIレベルのときには表示制御回路(DISPC)
が選択される。さらに、3本のシリアル交信用の信号ラ
イン(SIN) (SOUT) (SCK)は端子(J
、、)(J、) ; (J、、)(J、) ; (J、
6)(J、)を介してレンズ内回路(LE、T)と接続
されており、レンズ内回路(LEcT)を交信対象とし
て選択するときには、端子(C3LE)を°“Low”
レベルとするものであり、この信号は端子(J3)(J
、、)を介してレンズ内回路(LEcT)に伝達される
That is, when the terminal (C3LM) is at the "Low" level, the photometric circuit (LM) is selected and the terminal (C3DX
) is at "Low" level, the film sensitivity reading circuit (DX) is selected and the terminal (C8DISP) is set to I L
When the level is O or II, the display control circuit (DISPC)
is selected. Furthermore, the three serial communication signal lines (SIN) (SOUT) (SCK) are connected to terminals (J
,,)(J,); (J,,)(J,); (J,
6) It is connected to the lens circuit (LE, T) via (J,), and when selecting the lens circuit (LEcT) as a communication target, set the terminal (C3LE) to ° “Low”.
level, and this signal is connected to the terminal (J3) (J
, , ) to the intralens circuit (LEcT).

次に、第4図に基づいてレンズ内回路(LECT)につ
いて説明する。第4図は交換レンズ(LE)に内蔵され
たレンズ内回路(LEo→の回路図である。図中、(μ
C2)は交換レンズ(LE)に内蔵されたズームモータ
の制御やカメラボディ(BD)とのデータ交信及びモー
ド設定等の制御を行なうためのレンズ内マイクロコンピ
ュータ(以下「レンズ内マイコン」という)である。
Next, the lens internal circuit (LECT) will be explained based on FIG. Figure 4 is a circuit diagram of the lens internal circuit (LEo→) built into the interchangeable lens (LE).
C2) is an in-lens microcomputer (hereinafter referred to as "in-lens microcomputer") for controlling the zoom motor built into the interchangeable lens (LE), data communication with the camera body (BD), mode setting, etc. be.

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

交換レンズとボディ間の端子(J3)(J、3)を介し
て伝達される端子(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 (J3) (J, 3) 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 microcomputer (μ
C1) is configured not to accept interrupts (LEINT).

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

(RE2)はレンズ内マイコン(μC2)のリセット端
子であり、ボディからレンズ内回路を駆動するための電
圧(VD、)が供給され、抵抗(R2)とコンデンサ(
C2)によって端子(RE)が°I L oW11レベ
ルから”High″レヘルにレベすると、レンズ内マイ
コン(μC2)はリセット動作を行なう。
(RE2) is the reset terminal of the microcomputer (μC2) in the lens, and the voltage (VD, ) for driving the circuit in the lens is supplied from the body, and the resistor (R2) and capacitor (
When the terminal (RE) is leveled from the °I Low W11 level to the "High" level by C2), the in-lens microcomputer (μC2) performs a reset operation.

(ZVEN)は前述の操作環(ズームリング) (80
)に連動するズーム速度エンコーダであり、パワーズー
ムのときにはパワーズームの速度及び方向を設定する。
(ZVEN) is the aforementioned operating ring (zoom ring) (80
), which 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.

(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).

(SL):)はレンズ装着検出スイッチであり、交換レ
ンズ(LE)がカメラボディ(BD)に装着され、マウ
ントロックされたときにOFFとなる。つまり、交換レ
ンズ(LE)がカメラボディ(BD)がら取り外される
と、スイッチ(SLE)が○Nとなり、コンデンサ(C
2)の両端が短絡される。これにより、コンデンサ(C
2)に蓄えられていた電荷が放電され、レンズ内マイコ
ン(tt C2)の端子(RE2)はI L o、II
レベルになる。その後、交換レンズ(LE)がカメラボ
ディ(BD)に装着されると、スイッチ(sLE)がO
FFになり、電源ライン(VoD)によりコンデンサ(
C2)が充電され、抵抗(R2)とコンデンサ(C2)
とで決まる所定時間後、端子(RE2)が°’)Iig
h’“レベルに変化し、前述したように、レンズ内マイ
コン(μC2)はリセット動作を行なう。
(SL): ) 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) becomes ○N and the condenser (C
2) Both ends are shorted. This allows the capacitor (C
2) is discharged, and the terminal (RE2) of the microcomputer (tt C2) in the lens becomes I Lo, II
become the level. After that, when the interchangeable lens (LE) is attached to the camera body (BD), the switch (sLE) is turned OFF.
It becomes FF, and the capacitor (
C2) is charged, resistor (R2) and capacitor (C2)
After a predetermined time determined by
h'" level, and as described above, the microcomputer (μC2) in the lens 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.

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

第6図において、メインスイッチ(sM)が○Nされた
後に、ワイドビュースイッチ(S 、v)が○Nされる
と、広視野モードに設定されて第8図(a)に示す撮影
フレーム(FD2)がファインダ内に表示される。
In FIG. 6, when the main switch (sM) is turned ○N and the wide view switch (S, v) is turned ○N, the wide view mode is set and the shooting frame shown in FIG. 8(a) ( FD2) is displayed in the finder.

その後、シーフェンスとして最短でレリーズする場合を
考えて撮影準備スイッチ(Sl)及びレリーズスイッチ
(S2)が同時に○Nされたとすると、まず、測距及び
測光を行ない、ズームアツプするために現在の焦点距離
f、を1.4倍した目標の焦点距離ftを設定する(本
実施例ではファインダ視野率を140%とする)。次に
、撮影フレーム(FD2)を消して目標焦点距離f、を
レンズ内マイコン(μC2)に転送する(モード■の交
信#C)、目標焦点距離f、を受は取ったレンズ内マイ
コン(μC2)はズーミングを開始し、目標焦点距離f
、までズーミングを行なう(第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 is set in order to zoom up. A target focal length ft is set by multiplying f by 1.4 (in this embodiment, the viewfinder field of view is set to 140%). Next, the photographic frame (FD2) is erased and the target focal length f is transferred to the microcomputer (μC2) in the lens (communication #C in mode ■). ) starts zooming and sets the target focal length f
, (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秒経過した時点で、再
度、広視野モードに設定し、撮影フレーム(FD2)を
表示する。この5秒間はボディ内マイコン(μC1)が
スリーブ状態に入るまでの時間であり、5秒間に限らな
くともよい。ここで、スイッチ(Sl)及び(S2)の
OFF後の5秒間広視野モード設定しないのは、同じシ
ーンの連続撮影等の場合に、ズームアツプし続けること
を防止するためである。
Thereafter, when 5 seconds have elapsed since the photographing preparation switch (Sl) and the release switch (S2) were turned FF, the wide field of view mode is again set and the photographic frame (FD2) is displayed. This 5 seconds is the time until the in-body microcomputer (μC1) enters the sleeve state, and does not have to be limited to 5 seconds. Here, the reason why the wide field mode is not set for 5 seconds after the switches (S1) and (S2) are turned off is to prevent the camera from continuing to zoom up 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. FIG. 7 is an auto-wide sea fence chart, and FIG. 9 is a diagram showing an image in the finder during auto-wide. In FIG. 9, (a) to (d) are distance measurement islands, and distance measurement can be performed to objects within each of these distance measurement islands. 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、がら目標焦点距離f、を求
める。この目標焦点距離f、としては、ズーミングされ
ても撮影者に違和感を与えない程度に設定した方がよく
、本実施例では現在焦点距離f、の0.5倍とする。目
標焦点距離f、を求めたならば、CCD積分開始タイミ
ングを示すデータと目標焦点距離f、をモード(V)の
交信(#a’ )でレンズ側に転送する。レンズ側は、
目標焦点距離f。
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 f is determined from the current focal length f. The target focal length f is preferably set to a value that does not give the photographer a sense of discomfort even when zoomed, and in this embodiment, it is set to 0.5 times the current focal length f. Once the target focal length f is determined, the data indicating the CCD integration start timing and the target focal length f are transferred to the lens side through mode (V) communication (#a'). On the lens side,
Target focal length f.

を受信すると、その焦点距離f、を目標としてズーミン
グを開始する。そのとき、ボディ側は、ズーミング中に
測距を行なうためにCOD積分を開始し、CCDCD積
分−データダンプ了した時点で、COD積分開始タイミ
ングでレンズ側において計算されたレンズデータを受信
する(モード■の交信#b)、そして、そのレンズデー
タを用いテNff1及び測光の演算を行ない、測距にお
いてローコンであれば、モード(V)の交信(#a’ 
)、 CCD積分。
When receiving the focal length f, zooming is started with the focal length f as the target. At that time, the body side starts COD integration to perform distance measurement during zooming, and when the CCDCD integration-data dump is completed, the lens side receives the lens data calculated at the COD integration start timing (mode (Communication #b) of (2) Then, the lens data is used to calculate TeNff1 and photometry, and if the distance measurement is low contrast, communication of mode (V) (#a'
), CCD integration.

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

ここで、上記ズーミング中に焦点検出可能となった場合
を考える。この場合、焦点状態の検出に必要なコントラ
ストが得られた時点で、レンズにズームストップを示す
データを転送する(モード■の交信#e)。レンズ側は
、ズームストップを示すデータを受信すると、ズームレ
ンズ群をブレーキングして停止させる。このとき、ボデ
ィ側では、ズームレンズ群の停止を検知するためにレン
ズ状態を受信するモード(II[)の交信(#d) (
#d′)を繰り返し、ズームレンズ群の停止を確認した
後、AFレンズを駆動して焦点合わせを行なう、第7図
のシーフェンスチャートでは、ズームレンズ群の停止を
確認した交信(#d’ )の後、ズーミング中の測距で
得られた測距値(AFレンズの駆動パルス数)に基づい
て焦点合わせのためのAFレンズの駆動を行なっている
が、その測距精度が低い場合には、すぐにAFレンズの
駆動を行なわずに次の測距(モードIV、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, communication (#d) in mode (II [) for receiving the lens state in order to detect the stoppage of the zoom lens group (
#d') is repeated, and after confirming that the zoom lens group has stopped, the AF lens is driven and focusing is performed. ), the AF lens is driven for focusing based on the distance measurement value (the number of AF lens drive pulses) obtained during distance measurement during zooming, but if the distance measurement accuracy is low. In this case, the AF lens is not driven immediately and the next distance measurement (mode IV, 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.

以上で本実施例の動作シーフェンスの概要についての説
明を終える0次に、ボディ内マイコン(μ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 microcomputer in the body (μC1) and the microcomputer in the lens (μ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, body status data sent from the body to the lens is shown in Table 3, and control flags used in the flowcharts in the following explanation are shown in Table 4. , variables are shown in Table 5.

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

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

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

なお、後述のスリーブ状態においては、ボディ内マイコ
ン(μC1)のクロックが停止し、DC/DCコンバー
タ(DD)も動作を停止しているが、このスリーブ状態
からの割り込みによる制御では、上述の電池装着時と同
様に、ボディ内マイコン(μC1)の内部ハードウェア
によシバ クロックの発生及びDC/DCコンバータ(
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 when installed, the internal hardware of the microcontroller (μC1) in the body generates the clock and the DC/DC converter (
DD) starts operation.

第10図のリセットルーチンでは、まず、全ての割り込
みを禁止して、各種めボートやレジスタをリセットし、
リセットルーチンを通ったことを示すフラグ(R3TF
)をセットする(ステップ#5〜#15)、そして、ス
テップ(#20)でメインスイッチ(SM)がONされ
ているか否かを判定する。また、メインスイッチ(S、
)がONからOFFへ、或いはOFFからONへ変化し
たときも、メインスイッチ操作による割り込み(SMI
NT)が発生してステップ(#20)から実行される。
The reset routine in Figure 10 first disables all interrupts, resets various ports and registers,
Flag indicating that the reset routine has been passed (R3TF
) (steps #5 to #15), and in step (#20) it is determined whether the main switch (SM) is turned on. In addition, the main switch (S,
) changes from ON to OFF or from OFF to ON, interrupts caused by main switch operation (SMI
NT) is generated and the process is executed from step (#20).

ステップ(#20)でメインスイッチ(SM)がONさ
れているときには、全ての割り込みを許可して、リセッ
トルーチンを通ったことを示すフラグ(R8TF)をリ
セットし、各回路及びレンズ側への給電を行なうための
トランジスタ(Trl)(Tr2)をONすべく、電源
制御端子である出力ボート(PWI) (PN2)をそ
れぞれ°″High”レベルにする(ステップ#25〜
#35)。
When the main switch (SM) is turned on in step (#20), all interrupts are enabled, a flag (R8TF) indicating that the reset routine has been passed is reset, and power is supplied to each circuit and the lens side. In order to turn on the transistors (Trl) (Tr2) for performing
#35).

次に、ステップ(#30)でAFレンズ繰り込みのサブ
ルーチンを実行する。このサブルーチンを第11図に示
す。同サブルーチンが呼び出されると、まず、ステップ
(#150)でレンズ交信(■)のサブルーチンを実行
する。
Next, in step (#30), an AF lens renormalization subroutine is executed. This subroutine is shown in FIG. When this subroutine is called, first, in step (#150), 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 that transfers more data to the body than the old lens.

レンズ交信(■)のサブルーチンを第36図に示す。同
サブルーチンが呼び出されると、まず、交信モードがモ
ード(■)であることを示すデータをセットし、端子(
C3LE)を“Low””レベルとし、レンズにデータ
交信を行なうことを知らせる(ステップ#1120.’
#1122)。そして、ステップ(#1125)で2バ
イトのシリアル交信(シリアル入出力)を行なう。この
シリアル交信では、ボディとレンズは、互いに相手にデ
ータをシリアルに出力しながら、相手から送られて来る
データを同時にシリアルに入力する。1バイト目は、ボ
ディの種類を示すデータをボディから出力する。このと
き、レンズからは意味の無いデータFF、(添字□は1
6進数を示す)が出力され、レンズとボディはそれぞれ
相手から送られて来るデータを入力する。2バイト目は
、レンズの種類を示すデータをレンズから出力する。こ
のとき、ボディからは意味の無いデータFF、が出力さ
れ、レンズとボディはそれぞれ相手から送られて来るデ
ータを入力する。そして、レンズとの交信モードがモー
ド(■)であることを示すべく、上記セットした交信モ
ードの1バイトのデータをレンズにシリアル出力し、少
し待機して、ステップ(#1130)で旧レンズか否か
を判定する。
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 (■).
C3LE) to "Low" level, and informs 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, meaningless data FF from the lens (the subscript □ is 1
(indicating a hexadecimal number) is output, and the lens and body each input the data sent from the other party. The second byte outputs data indicating the type of lens from the lens. At this time, the body outputs meaningless data FF, 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バイ
トのデータを入力し、端子(C3LE)を“”t(ig
h“レベルにしてリターンする(ステ・ンプ#1135
. #1138)。ステップ($11130)における
判定の結果、新レンズであれば、レンズから11バイト
のデータ入力し、端子(C3LE)を°’t(igh’
”レベルにしてリターンする(ステップ#1132.1
113B)。なお、リターンする前に端子(C3LE)
を“High”レベルにしてしするのは、このレンズ交
信(■)の終了をレンズに知らせるためであり、他のモ
ードのレンズ交信においても同様の処理を行なっている
As a result of this judgment, if it is an old lens, input 7 bytes of data from the lens and connect the terminal (C3LE) to “”t(ig
h” level and return (Step #1135
.. #1138). As a result of the judgment in step ($11130), if it is a new lens, input 11 bytes of data from the lens and set the terminal (C3LE) to °'t(igh'
” Return to level (Step #1132.1
113B). In addition, before returning, connect the terminal (C3LE)
The reason why this is set to the "High" level is to notify the lens of the end of this lens communication (■), 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)  開放絞り値AV0 (ii)最大絞り値AvMAx (iii)デフォーカス量を駆動量に変換するための変
換係数に、 (以下、この変換係数を「駆動量変換係数
」という) (iv)現在焦点距離f。
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) maximum aperture value AV0 (ii) maximum aperture value AvMAx (iii) data A conversion coefficient for converting the focus amount into a drive amount (hereinafter, this conversion coefficient will be referred to as a "drive amount conversion coefficient") (iv) Current focal length f.

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

他方、新レンズとのレンズ交信には、モード(I)〜(
IX)の交信があり、これらの交信をそれぞれレンズ交
信(I)〜(IX)と呼ぶ。以下、各モードのレンズ交
信について説明する。なお、以下において、レンズから
ボディへ転送されるデータを総称してレンズデータとい
い、レンズの駆動状態等を表わす第2表に示したデータ
を総称してレンズ状態データ、ボディの動作状態やレン
ズ制御用コマンド等を表わす第3表に示したデータを総
称してボディ状態データというものとする。
On the other hand, modes (I) to (
There are communications (IX), and these communications are called lens communications (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.

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

レンズ交信(III)では、レンズからボディにレンズ
状態を示すデータ(第2表)が送られる。
In lens communication (III), data indicating the lens state (Table 2) 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.

レンズ交信(VI)では、レンズからボディに、レンズ
状態データと、その前に実行したモード(IV)又は(
V)の交信時点で計算したレンズのデータであって焦点
距離によって変化するデータが送られる。この後者のデ
ータは、 (iii)駆動量変換係数KL (iv)現在焦点距離f。
In lens communication (VI), 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)  開放絞り値AV0 (ii)  最大絞り値AvMAx (iii)駆動量変換係数KL (iv)  現在焦点距離f。
In lens communication (■), all lens-specific data is sent from the lens to the body. The contents of this data include lens state data, (i) maximum aperture value AV0, (ii) maximum aperture value AvMAx, (iii) drive amount conversion coefficient KL, and (iv) current focal length f.

(v)  レンズ装着信号り。N (vi)  距離変換係数K。(v) Lens attachment signal. N (vi) Distance conversion coefficient K.

(vii)フィルム面とAFセンサ面の差△5B(vi
ii)最短焦点距離fal、 (ix)  最長焦点距離f1.。
(vii) Difference between film surface and AF sensor surface △5B (vi
ii) Shortest focal length fal, (ix) Maximum focal length f1. .

である。It is.

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

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

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

また、CCD積分開始タイミングを示すデータを転送す
るモード(IV)(V)の交信をして、CCD積分及び
データダンプをした後ミニレンズデータ(焦点距離によ
って変化するデータ)を受(す取るモード(Vl)の交
信をすると、CCD積分及びデータダンプ中にレンズ内
マイコン(μC2)でレンズデータを計算することが可
能となる。このため、レンズデータの計算待ちを少なく
シ、測距に要する時間を短縮することができる。
In addition, a mode (IV) and (V) for transmitting data indicating the CCD integration start timing is used, and after CCD integration and data dumping, mini lens data (data that changes depending on the focal length) is received. (Vl) communication allows the microcomputer (μC2) in the lens to calculate lens data during CCD integration and data dumping.This reduces the time required for lens data calculation and reduces the time required for distance measurement. can be shortened.

第11図のフローチャートに戻ってステップ(#152
)から説明を続ける。ステップ(#152)では、焦点
合わせを行なうためのAFレンズの駆動量を示すカウン
タNの値を−NL、 (絶対値の大きな負の値であり、
最初のビットが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 -NL, (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)
から説明を続ける。ステップ(#41)では旧レンズか
否かを判定し、旧レンズでなければステップ(#45)
へ進んで、ズームレンズ群繰り込みのサブルーチンを実
行する。このズームレンズ群繰り込みのサブルーチンを
第12図に示す、同サブルーチンが呼び出されると、ま
ず、レンズからのレンズセレクト信号(C8LE)によ
る割り込み(C3LEINT)を禁止し、レンズ交信(
I)のサブルーチンを実行し、ズームレンズ群繰り込み
モードのデータを出力する(ステップ#180. #1
82)。次に、10m5ec間隔でレンズ状態を調べる
レンズ交信(III)を繰り返し、ワイド端を示すフラ
グ(WEDF)がセットされていればズーム繰り込み完
了と判断する(ステップ#185〜#190)。そして
、その10m5eC後にレンズの全データを入力するた
めにレンズ交信(■)を実行し、レンズからの割り込み
要求(C8LEINT)を許可してリターンする(ステ
ップ#192〜#198)。
Return to the flowchart in Figure 10 and step (#41)
Continue the explanation from. In step (#41), it is determined whether the lens is an old lens or not, and if it is not an old lens, step (#45)
, and executes the zoom lens group renormalization subroutine. The zoom lens group renormalization subroutine is shown in FIG. 12. When the subroutine is called, first, interrupts (C3LEINT) caused by the lens select signal (C8LE) from the lens are prohibited, and lens communication (
Execute subroutine I) and output data of zoom lens group renormalization mode (step #180. #1
82). Next, lens communication (III) is repeated to check the lens condition at intervals of 10 m5 ec, and if the flag (WEDF) indicating the wide end is set, it is determined that zoom retraction is complete (steps #185 to #190). After 10m5eC, lens communication (■) is executed to input all data of the lens, the interrupt request (C8LEINT) from the lens is permitted, and the process returns (steps #192 to #198).

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

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

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

第10図のフローチャートに戻シバ ステップ(#41
)で旧レンズと判定された場合について説明する。
Return to the flowchart in Figure 10. Step (#41)
) is determined to be an old lens.

ステップ(#41)で旧レンズと判定されるとステップ
(#50)へ進み、撮影準備スイッチ(Sl)がONさ
れているか否かを判定する。撮影準備スイッチ(Sl)
がONされていないときは、ステップ(#63)へ進ん
で広視野モードの判定をするサブルーチンを実行した後
、給電トランジスタ(Tri)(Tr2)をOFFすべ
く電源制御端子(PWI)(PW2)をそれぞれI−L
 o、IIレベルとし、DC/DCコンバータ(DD)
の動作を停止させるべく電源制御端子(PWO)をLo
w”レベルとする(ステップ#63〜#70)。そして
、その後スリーブ状態(停止状態)に入る。他方、ステ
ップ(#50)で撮影準備スイッチ(Sl)がONされ
ていると判定されたときは、ステップ(#52)へ進ん
でローコンスキャンを禁止するフラグ(LSINF)を
リセットし、ステップ(#55)で後述の5LONのサ
ブルーチンを実行する。そして、ステップ(#60)で
フラグ(SIONF)がセットされているか否かを判定
し、セットされているときはステップ(#55)へ戻り
、セットされていないときはステップ(#63)へ進む
。ここで、フラグ(SIONF)は、撮影準備スイッチ
(Sl)がONされている間、或いはOFFになってか
ら5秒以上経過していないときにセラ”トされるフラグ
である。
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)
is not turned on, proceed to step (#63) and execute a subroutine to determine the wide field of view mode, then turn on the power supply control terminal (PWI) (PW2) to turn off the power supply transistors (Tri) (Tr2). I-L respectively
o, II level, DC/DC converter (DD)
The power control terminal (PWO) is set to Lo to stop the operation of the
w” level (steps #63 to #70).Then, it enters the sleeve state (stopped state).On the other hand, when it is determined in step (#50) that the shooting preparation switch (Sl) is turned on Then, proceed to step (#52) to reset the flag (LSINF) that prohibits low-contrast scanning, and execute the 5LON subroutine described later in step (#55).Then, in step (#60), the flag (SIONF) is reset. ) is set, and if it is set, return to step (#55); if not, proceed to step (#63).Here, the flag (SIONF) is This is a flag that is activated while the preparation switch (Sl) is turned on or when more than 5 seconds have not elapsed since it was turned off.

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

ここで、上記ステップ(#63)の広視野モード判定の
サブルーチンを第13図に示す。同サブルーチンが呼び
出されると、ステップ(#200)で広視野モードの有
効/無効を示すワイドとニースイッチ(SWv)がON
されているが否がを判定する。ワイドビュースイッチ(
SWv)がONされていないときは、広視野モードが有
効であることを示すフラグ(WWF)をリセットし、撮
影フレームの表示をOFFしてリターンする(ステップ
#220. #225)。また、ワイドビュースイッチ
(S、v)がONされていても、現在の焦点距離foの
1.4倍がレンズの最長焦点距離f10、よりも大きい
ときには、1.4倍のズーミングをすることは不可能な
ので、広視野モードは無効(WWF=O)とし、撮影フ
レームの表示もOFFする(ステップ#205. #2
20. #225) 、 他方、ステップ($1200
) (#205)で、ワイドビュースイッチ(SWv)
がON、  1.4Xf、≦f、0.と判定されたとき
は、フラグ(WWF)をセットして広視野モードを有効
(WWF=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, in step (#200) the wide and knee switch (SWv), which indicates whether the wide field of view mode is enabled or disabled, is turned ON.
Determine whether it is or not. Wide view switch (
If SWv) is not turned on, the flag (WWF) indicating that the wide field of view mode is valid is reset, the display of the photographed frame is turned off, and the process returns (steps #220 and #225). Also, even if the wide view switch (S, v) is turned on, if 1.4 times the current focal length fo is greater than the longest focal length f10 of the lens, it is not possible to zoom 1.4 times. Since this is not possible, the wide field of view mode is disabled (WWF=O) and the display of the shooting frame is also turned off (Step #205. #2
20. #225), on the other hand, step ($1200
) (#205), wide view switch (SWv)
is ON, 1.4Xf, ≦f, 0. If it is determined that this is the case, the flag (WWF) is set to enable the wide field of view mode (WWF=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すべく電源制御端子(P賢1) (PW2)を“
High”レベルとし、上記の広視野ズーム判定のサブ
ルーチン(第13図)を実行する(ステップ#300〜
1308)。
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 the power supply transistor (Tri) (Tr2)
To turn on the power supply control terminals (Pken1) (PW2)
"High" level and executes the above wide-field zoom determination subroutine (Fig. 13) (steps #300~
1308).

ここで、ステップ(1308)において広視野ズーム判
定を毎回行なっている理由(5LONのサブルーチンが
呼び出される毎に行なっている理由)は、撮影準備スイ
ッチ(Sl)がONされている間、或いはOFFになっ
てから5秒以上経過していないときに、ワイドビュース
イッチ(S□)が○N/○FFされても対応するためで
ある。
Here, the reason why the wide-field zoom judgment is performed every time in step (1308) (the reason why it is performed every time the 5LON subroutine is called) is that while the shooting preparation switch (Sl) is ON or when it is OFF. This is to cope with the case where the wide view switch (S□) is turned to ○N/○FF when more than 5 seconds have not elapsed since the change.

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

ここで、レンズからの割り込みを制御する上記レンズI
NT制御のサブルーチンを第16図に示す、同サブルー
チンが呼び出されると、レンズがらの割り込みを示すフ
ラグ(C3LEF)をリセットし、レンズの全データを
入力するためにレンズ交信(■)を行なう(ステップ#
530. #532)。そして、この交信でレンズから
送られてきたレンズ状態データ(第2表)に含まれるフ
ラグ(RQZMF)をステップ(#534)で判定する
。このフラグ(RQZMF)はパワーズームの許可をレ
ンズがボディに要求することを示すフラグであり、セッ
トされていなければそのままリターンする。他方、フラ
グ(RQZMF)がセットされていた場合には、lom
sec時間待ちをした後、パワーズームの許可をレンズ
に転送するレンズ交信(■)を実行してリターンする(
ステップ#534〜#538)。
Here, the lens I that controls the interruption from the lens
The NT control subroutine is shown in Fig. 16. When the subroutine is called, it resets the flag (C3LEF) indicating lens interruption 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, lom
After waiting for sec, execute lens communication (■) to transfer power zoom permission to the lens and return (
Steps #534 to #538).

ここで、上記の処理で使用されるレンズ交信(■)のサ
ブルーチンを第37図に示す。同サブルーチンが呼び出
されると、まず、モード(■)を示すデータをセットし
、端子(C3LE)を“’Low’”レベルとして、ボ
ディとレンズの種類を判別するための2バイトのシリア
ル交信(シリアル入出力)を行なう(ステップ#114
0〜#1145)。次に、モード(■)を示すために1
バイトのデータをレンズにシリアル出力し、続いて、パ
ワーズームの許可(パワーズームOK)を示すフラグ(
MZOKF)をセットした2バイトのボディ状態データ
(第3表)をレンズにシリアル出力し、端子(C8LE
)を“High”レベルにしてリターンする(ステップ
11148〜$11152)。
Here, FIG. 37 shows a subroutine for lens communication (■) used in the above processing. When this subroutine is called, first, data indicating the mode (■) is set, the terminal (C3LE) is set to the "'Low'" level, and 2-byte serial communication (serial input/output) (step #114
0 to #1145). Next, 1 to indicate the mode (■)
The byte data is serially output to the lens, and then a flag indicating power zoom permission (power zoom OK) is output.
Serially output the 2-byte body status data (Table 3) set with MZOKF) to the lens, and connect it to the terminal (C8LE).
) is set to "High" level and returns (steps 11148 to $11152).

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

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

同サブルーチンが呼び出されると、まず、CCD積分開
始タイミングをレンズ内マイコン(μC2)に知らせた
り目標焦点距離f、をレンズに転送する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 f to the lens (step #450).

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

ただし、TR3のサブルーチンでCCD積分開始タイミ
ングを知らせる交信を行なっていないときは、このRC
Vのサブルーチンも何も実行せずにリターンする。この
RCVのサブルーチンは前記TR8のサブルーチンと共
に後述する。
However, if communication notifying the CCD integration start timing is not performed in the TR3 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)で行
ない、焦点検出不能ならば、ローコンを示すフラグ(L
CONF)をセットしてリターンする(ステップ#60
6)。他方、焦点検出可能と判定された場合には、ロー
コンスキャン中を示すフラグ(LSNF)がセットされ
ているか否かをステップ(#608)で判定し、セット
されていればAFレンズが駆動中であるので、レンズ停
止のサブルーチン(ステップ#609)を実行した後、
ステップ(#610)へ進む。ここで、レンズ停止のサ
ブルーチン(詳細フローチャートは図示せず)は、モー
タ駆動回路(MDI)を制御してAFレンズの駆動を停
止させた後、フラグ(LMVF)をリセットする。前記
ステップ(#608)での判定の結果、フラグ(LSN
F)がセットされていないときはそのままステップ(#
610)へ進む。
After returning from the RCV subroutine, step (
1465), a distance measurement calculation is performed to calculate the defocus amount. A subroutine for this distance measurement calculation is shown in FIG. When this subroutine is called, first, in step (#600), each distance measurement island ((a) to
The correlation calculation (d)) 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), where a multi-point algorithm (for example, select the closest subject ), and if all islands have low contrast (contrast necessary for detecting the focus state is insufficient), focus detection is disabled, and if at least one island has low contrast, focus detection is enabled. It is determined in step (#605) whether or not the focus cannot be detected. If the focus cannot be detected, a flag indicating low contrast (L
CONF) and return (step #60
6). On the other hand, if it is determined that focus detection is possible, it is determined in step (#608) whether or not a flag (LSNF) indicating that low contrast scanning is in progress is set, and if it is set, the AF lens is being driven. Therefore, after executing the lens stop subroutine (step #609),
Proceed to step (#610). Here, the lens stop subroutine (detailed flowchart is not shown) controls the motor drive circuit (MDI) to stop driving the AF lens, and then resets the flag (LMVF). As a result of the determination in the step (#608), the flag (LSN
If F) is not set, step (#
610).

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

次に、ステップ(111620)でデフォーカス量の絶
対値が合焦範囲内か否かを判定する。ここでは、デフォ
ーカス量の絶対値が200μm以内なら合焦範囲内とす
る。この判定の結果、合焦範囲内ならば合焦状態である
ことを示すフラグ(AFEF)をセットし、合焦範囲外
ならばフラグ(AFEF)をリセットしてリターンする
(ステップ#625. #628)。
Next, in step (111620), 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. 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 (steps #625 and #628). ).

第15図のフローチャートに戻って説明を続ける、上記
測距演算のサブルーチン(ステップ#485)からリタ
ーンした後は、ステン、プ(#478)でオートワイド
中であることを示すフラグ(AWNF)がセットされて
いるか否かを判定する。このフラグ(AWNF)がセッ
トされていればステップ(#480)でAW中処理のサ
ブルーチンを実行するが、最初は、フラグ(AWNF)
はセットされていないので、そのままステップ(#48
5)へ進む。ステップ(1485)では、広視野モード
でレリーズスイッチ(S2)がONされて以降(以下r
 52ON以降」という)のシーフェンスを実行中であ
ることを示すフラグ(82ONF)がセットされている
か否かを判定する。フラグ(82ONF)がセットされ
ていれば、広視野モードにおいて実行されるルーチン(
ステップ#490. #495)を実行してリターンす
るが、最初の測距ではフラグ(52ONF)がセットさ
れていないので、ステップ(#500)へ進んでローコ
ン状態であることを示すフラグ(LCONF)がセット
されているか否かを判定する。このフラグ(LCONF
)がセットされていればステップ(#501)以降のロ
ーコン時の処理を実行するが、この時点ではセットされ
ていないものとしてステップ(#520)へ進む。
Returning to the flowchart in Fig. 15 to continue the explanation, after returning from the above distance measurement calculation subroutine (step #485), the flag (AWNF) indicating that auto wide is in progress is set in step (#478). Determine whether it is set. If this flag (AWNF) is set, the AW processing subroutine is executed in step (#480), but at first, the flag (AWNF) is set.
is not set, so continue with step (#48)
Proceed to 5). In step (1485), 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 (82ONF) is set, the routine (
Step #490. #495) and returns, but since the flag (52ONF) is not set during the first distance measurement, the process proceeds to step (#500) and the flag (LCONF) indicating the low contrast state is set. Determine whether or not there is. This flag (LCONF
) 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)を実行し、リ
セットされていれば非合焦のサブルーチン(ステップ#
528)を実行してリターンする。
In step (#520), it is determined whether a flag (AFEF) indicating that the camera is in focus 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.
528) 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)。
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, it waits for the AF lens to stop while repeatedly determining whether or not the flag (LMVF) indicating that the AF lens is being driven has been reset at regular time intervals. Return (step #650. #655).

ここで、ステップ(#645)のレンズ駆動のサブルー
チン(詳細フローチャートは図示せず)は、後述のズー
ムレンズ群の駆動における駆動Iのサブルーチン(第4
1図)に対応するものであり、このサブルーチンにより
、フラグ(LMVF)がセットされて駆動量N1又はN
が設定された後、AFレンズの駆動(AFモータ(Ml
)への通電)が開始される。そして、フラグ(LMVF
)は、前述したように、所定のAFレンズの駆動が終了
すると駆動を制御するカウンタ割り込み又はタイマ割り
込みによってリセットされる。
Here, the lens drive subroutine (detailed flowchart is not shown) in step (#645) is the drive I subroutine (fourth
This corresponds to Figure 1), and this subroutine sets the flag (LMVF) and sets the drive amount N1 or N.
After setting, drive the AF lens (AF motor (Ml)
) is started. And the flag (LMVF
) is reset by the counter interrupt or timer interrupt that controls the drive when the drive of a predetermined AF lens is completed, as described above.

第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)で判定し、フラグ(LSI
NF)がまだセットされていなければ、ローコンスキャ
ンのサブルーチン(ステップ#505)を実行してリタ
ーンする。
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. It is determined in step (#502) whether or not the flag (LSI
If NF) has not been set yet, the low contrast scan subroutine (step #505) is executed and the process returns.

ここで、上記ローコンスキャンのサブルーチンを第22
図に示す。同サブルーチンは、APレンズの位置が被写
体に合焦するレンズ位置から大きく離れた位置にあるた
めにローコンとなっている被写体に焦点合わせをするた
めのルーチンである。
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 AP lens position is far away from the lens position that focuses on the subject.

このサブルーチンが呼び出されると、まず、ローコンス
キャン中であることを示すフラグ(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)をセットして、レンズ駆動量
Hに正の大きな値NLGを設定し、前記のレンズ駆動の
サブルーチンを実行してリターンする(ステップ#67
2〜#678)。このような動作によりローコンスキャ
ンが開始されるが、ここでは、ローコンスキャン中は、
主にAF制御(自動的に焦点を合わせるための制御)の
動作のみを考えるものとする。
Initially, it is not set, so proceed to step (#672), set the flag (LSNF), set the lens drive amount H to a large positive value NLG, execute the above lens drive subroutine, and return. (Step #67
2~#678). A low contrast scan is started by such an operation, but here, during the low contrast scan,
Mainly, only the operation of AF control (control for automatically adjusting focus) will be considered.

上記ローコンスキャン開始のレンズ駆動により、次の測
距は繰り出し方向に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 performed (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
esと判定されてステップ(#692)へ進み、レンズ
駆動量Nに負の大きな値−NLGを設定して、レンズ駆
動を開始する(ステップ#695)。この駆動では繰り
込み方向(無限遠方向)にAFレンズを駆動しながら測
距を繰り返すが、その間口−コン状態が続き、ステップ
(#690)で無限遠端(近端でない)と判定されたと
きには、ローコンスキャン中を示すフラグ(LSNF)
をリセットし、ローコンスキャン禁止を示すフラグ(L
SINF)をセットして、二〇ローコンスキャンの実行
を完了する(ステップ$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. Initially, the AF lens is driven in the extending direction (near direction), so
If it is determined as es, the process proceeds to step (#692), sets the lens drive amount N to a large negative value -NLG, and starts lens drive (step #695). In this drive, distance measurement is repeated while driving the AF lens in the focusing direction (infinity direction), but when the mouth-con state continues and it is determined at step (#690) that the distance is at the infinity end (not at the near end), , flag indicating that low contrast scanning is in progress (LSNF)
and reset the low contrast scan prohibition flag (L
SINF) and completes the execution of the 20 low contrast scan (step $1700. #705).

第15図のフローチャートに戻って説明を続ける。上記
のようにローコンスキャンでは、焦点検出不能(LCO
NF=1)の間はAFレンズが無限遠端に達するまで、
ステップ(#501)→(#502)→(#505)の
経路を通って、ステップ(#55)→(#60)→(#
55)のループ(第10図)を繰り返し実行する。そし
て、ローコンスキャンが完了しても焦点検出可能となら
ない場合は、ステップ(#502)でローコンスキャン
禁止を示すフラグ(LSINF)がセットされていると
判定されてステップ(71508)へ進み、オートワイ
ド禁止を示すフラグ(AWINF)、オートワイド中で
あることを示すフラグ(AWNF)がセットされている
か否かを判定する(ステップ#508. #510)。
Returning to the flowchart in FIG. 15, the explanation will be continued. As mentioned above, in low contrast scan, focus cannot be detected (LCO
During NF=1), until the AF lens reaches the infinity end,
Step (#55) → (#60) → (#
55) loop (FIG. 10) is repeatedly executed. 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 (71508). It is determined whether a flag (AWINF) indicating auto-wide inhibition and a flag (AWNF) indicating auto-wide is in progress are set (steps #508 and #510).

最初はいずれのフラグもセットされていないので、AW
開始のサブルーチン(ステップ#515)を実行してリ
ターンすることになる。
Initially, neither flag is set, so AW
The start subroutine (step #515) is executed and the process returns.

ここで、このAW開始(オートワイド開始)のサブルー
チンを第23図に示す。同サブルーチンが呼び出される
と、オートワイドモードの有効/無効を切り換えるスイ
ッチ(SAw)がONされているか否かを判定し、OF
Fならばオートワイド禁止を示すフラグ(AWINF)
をセットしてリターンする(ステップ#720. #7
25) 、  他方、ステップ(17720)でスイッ
チ(SAW)がONされていると判定された場合には、
目標焦点距離f、を現在焦点距離f、の1/2に設定し
、目標焦点距離f、とズームレンズの最短焦点距離f 
* l T+とを比較する(ステップ#730. #7
32)。そして、f、<f、、、ならば目標焦点距離f
、を最短焦点距離f、1゜に設定し直した後ステップ(
#735)へ進み、f、≧1..ならばそのままステッ
プ(#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 #720. #7
25) On the other hand, if it is determined in step (17720) that the switch (SAW) is turned on,
Set the target focal length f, to 1/2 of the current focal length f, and set the target focal length f, and the shortest focal length f of the zoom lens.
* Compare with T+ (Step #730. #7
32). Then, if f,<f,,, then the target focal length f
After resetting , to the shortest focal length f, 1°, step (
Proceed to #735) and if f, ≧1. .. If so, proceed directly to step (#735).

ステップ(#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)によりオートワイドが開
始されたならば、次のAFf15II御では、オートワ
イド中であることを示すフラグ(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 AFf15II control, the TR8 subroutine (step #515) is set with the flag (AWNF) indicating that auto wide is in progress. #450)
is called.

ここで、二のTR8のサブルーチンを第17図に示す。Here, the subroutine of the second TR8 is shown in FIG.

同サブルーチンが呼び出されると、まず、CCD積分開
始タイミングを示すデータの転送を指示するフラグ(I
TGTF)がセットされているか否かをステップ($1
550)で判定する。このフラグ(ITGTF)がセッ
トされているならば、CCD積分開始タイミングをレン
ズに知らせるべくレンズ交信(IV)を実行し、ズーミ
ングにより変化するレンズデータを受信することを示す
フラグ(RCVF)をセットしてリターンする(ステッ
プ#555. #568)。他方、ステップ(#550
)でフラグ(ITGTF)がセットされていないと判定
されたならば、ステップ(1560)へ進んでフラグ(
AWNF)がセットされているか否かを判定する。
When this subroutine is called, first, a flag (I
TGTF) is set or not by step ($1
550). 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 returns (step #555. #568). On the other hand, step (#550
), if it is determined that the flag (ITGTF) is not set, proceed to step (1560) and set the flag (
AWNF) is set.

このフラグ(AWNF)がセットされていれば、ズーム
駆動速度をセットして、CCD積分開始タイミングを示
すデータと目標焦点距離f、をレンズに転送するために
レンズ交信(V)を実行し、レンズデータの受信を示す
フラグ(RCVF)をセットしてリターンする(ステッ
プ#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 data indicating the CCD integration start timing and the target focal length f to the lens, and the lens A flag (RCVF) indicating data reception is set and the process returns (steps #563, #565, #568). Through this communication, the lens side starts calculation of lens data and zooming. On the other hand, if neither the flag (ITGTF) nor (AWNF) is set,
Return without executing lens communication. The reason why the zoom drive speed is set by the body in step (#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
)がセットされていなければ、レンズ交信(VI)を実
行することなくリターンする。
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 (VI).

ここで、上記の処理で使用されるレンズ交信(■)。Here, lens communication (■) used in the above process.

(■)、及び(VI)の各サブルーチンについてまとめ
て説明する。
The subroutines (■) and (VI) will be explained together.

レンズ交信(IV)のサブルーチンを第33図に、レン
ズ交信(V)のサブルーチンを第34図に、レンズ交信
(Vl)のサブルーチンを第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 (Vl) is shown in FIG.

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

のデータをシリアル出力して(ステップ#1090. 
#1092)、端子(CSLE)を“High”レベル
にしてリターンする(ステップ#1075. #109
5)。また、レンズ交信(Vl)では、2バイトのレン
ズ状態データ(そのレンズ交信(Vl)を実行した時点
のレンズ状態データ)と、ズーミングによって変化する
4バイトのデータ(その前に実行したレンズ交信(IV
)又は(V)の時点での、焦点距離によって変化するレ
ンズデータ)をシリアル入力して、端子(C8LE)を
“Highパレベルとしてリターンする(ステップ#1
110〜#1115) 。
serially output the data (step #1090.
#1092), set the terminal (CSLE) to “High” level and return (step #1075. #109
5). In addition, in lens communication (Vl), 2 bytes of lens state data (lens state data at the time when the lens communication (Vl) was executed) and 4 bytes of data that changes due to zooming (lens communication executed before) IV
) or lens data (which changes depending on the focal length at the time of (V)) is serially input, and the terminal (C8LE) is returned as a "High level" (Step #1
110~#1115).

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

このAW中処理のサブルーチンを第24図に示す。同サ
ブルーチンが呼び出されると、まず、前記レンズ交信(
VI)によりレンズから受信したレンズ状態データにお
いて、ズームレンズ群駆動中を示すフラグ(ZMVF)
がセットされているか否かをステップ(#750)で判
定する。このフラグ(ZMVF)がセットされていなけ
れば、ズーム完了(オートワイドを実行しても焦点検出
不能)と判断して、オートワイド中を示すフラグ(AW
NF)をリセットし、オートワイド禁止を示すフラグ(
A訂NF)をセットし、CCD積分開始タイミングを知
らせるデータの転送を指示するフラグ(ITGTF)を
セットしてリターンする(ステップ#750. #77
0〜#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 VI), a flag (ZMVF) indicating that the zoom lens group is being driven is set.
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 (
A correction NF) is set, a flag (ITGTF) instructing the transfer of data that informs the CCD integration start timing is set, and the process returns (steps #750 and #77).
0 to #780).

これに対し、ステップ(#750)でフラグ(ZMVF
)がセットされていると判定された場合には、ズーミン
グはまだ完了していないので、オートワイドにおけるズ
ーミング中の測距で焦点状態の検出に必要なコントラス
トが得られたか否かをステップ(#755)で判定する
。ステップ(#755)の判定の結果、フラグ(LCO
NF)がセットされていれば焦点検出不能であったので
、次の測距を繰り返す、他方、フラグ(LCONF)が
セットされていなければ焦点検出可能となったので、ズ
ームレンズ群の停止を指示するデータ(ボディ状態デー
タ)をレンズに出力するレンズ交信(n)を実行し、レ
ンズ状態を入力するレンズ交信(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
If the flag (LCONF) was set, it was impossible to detect the focus, so the next distance measurement was repeated. On the other hand, if the flag (LCONF) was not set, it was possible to detect the focus, so the zoom lens group was instructed to stop. While executing lens communication (n) for outputting data (body state data) to the lens, and repeatedly executing lens communication (III) for inputting the lens state at fixed time intervals, the flag (indicating that the zoom lens group is being driven) is ZMVF) is reset (steps #755 to #768). If the flag (ZMVF) is reset in the lens status data received from the lens through lens communication (I[I), it is determined that the zoom lens group has stopped, and the flag (AWNF) is reset to end auto wide. , sets the flag (AWINF), sets the flag (ITGTF), and returns (steps #770 to #780). In addition, step (#
The reason for setting the flag (ITGTF) that instructs 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 and stop the zoom lens group. This is to input the lens data at the position.

第15図のフローチャートに戻って説明を続ける。オー
トワイド中は、上記のAW中処理(ステップ#480)
を行ないながら、焦点検出不能(ローコン)の間、ステ
ップ(#501)→(#502)→(#508)→(#
510)の経路を通って、ステップ(#55)→(#6
0)→(#55)のループ(第10図)を繰り返し実行
することにより、測距を繰り返す。そして、オートワイ
ド中に焦点検出可能となった場合は、AW中処理(ステ
ップ#480)でズームレンズ群を停止させて通常の測
距に復帰し、焦点合わせのシーフェンスを実行する(ス
テップ#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 #480), normal distance measurement is resumed, and sea fencing for focusing is executed (step #480). 520-#528).

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

ここで、オートワイドのシーフェンスを実行することに
よって得られる効果についてまとめて説明する。第9図
(a)に示すように、像倍率が大きすぎて被写体が測距
アイランド(イ)〜(=)からはずれた場合に、ワイド
側へズーミングして像倍率を小さくしながら測距を繰り
返すと、同図(b)に示すように被写体が測距アイラン
ド内に入ってきて焦点検出可能となる。また、人の顔等
を撮影する場合(図示せず)においても、倍率が大きす
ぎると測距アイランドが頬等にかかつて、コントラスト
が低く焦点検出不能となるが、少しワイド側へズーミン
グすることにより、−足載上のコントラストが得られて
焦点検出可能となることがある。さらに、オートワイド
のシーフェンスは、ズーミングする目標の焦点距離f、
を、現在の焦点距離fゎを考慮して決定(本実施例では
目標焦点距離f、を現在焦点距離f、の1/2に設定)
しているので、オートワイド中の測距で焦点検出不能で
あっても、ズーミング完了した際に画角変化が大きすぎ
て(例えば、焦点距離が200amから28m■へ変化
)撮影者に違和感を与える等の問題も生じない。
Here, the effects obtained by executing the auto wide sea fence will be summarized. As shown in Fig. 9(a), if the image magnification is too large and the subject moves away from the distance measurement islands (A) to (=), zoom to the wide side and perform distance measurement while reducing the image magnification. When this is repeated, the subject enters the distance measurement island and the focus becomes detectable, as shown in FIG. 2(b). Also, when photographing a person's face (not shown), if the magnification is too high, the distance measurement island will overlap the cheek, etc., resulting in low contrast and inability to detect the focus, but it is recommended to zoom slightly to the wide side. As a result, a contrast on the footrest may be obtained and focus detection may be possible. Furthermore, the auto wide sea fence has a focal length f of the target to be zoomed,
is determined by considering the current focal length f (in this example, the target focal length f is set to 1/2 of the current focal length f).
Therefore, even if the focus cannot be detected during distance measurement during auto wide, the angle of view will change too much when zooming is complete (for example, the focal length will change from 200 am to 28 m), causing the photographer to feel uncomfortable. There are no problems with giving.

以上でオートワイドのシーフェンスの説明を終え、第1
4図のフローチャートに戻ってAF制御のサブルーチン
(ステップ#330)がらりターンした以降から説明を
続ける。
This concludes the explanation of the auto wide sea fence, and the first
Returning to the flowchart of FIG. 4, the explanation will be continued from after the AF control subroutine (step #330) has taken a quick turn.

AF制御のサブルーチンからリターンすると、フィルム
感度Sv及び開放測光で測光された被写体輝度値BVo
を入力し、露出演算のサブルーチン(第25図)を実行
する(ステップ#332〜#338) 、  同サブル
ーチンが呼び出されると、まず露出値EVを、EV=B
Vo+AVo+ SVにより求める。ここで、AVoは
絞り値である。この露出値EVから所定のAEプログラ
ム線図に基づいてシャッター速度TVと絞り値AVを演
算により求め、リターンする(ステップ#790. #
795)。ここで、AEプログラム線図については、本
発明と直接関係がないので説明及び図を省略する。
When returning from the AF control subroutine, the film sensitivity Sv and the subject brightness value BVo measured with open metering are
is input, and the exposure calculation subroutine (Fig. 25) is executed (steps #332 to #338). When the subroutine is called, first the exposure value EV is calculated as EV=B.
Obtained from Vo+AVo+ SV. Here, AVo is the aperture value. From this exposure value EV, the shutter speed TV and aperture value AV are calculated based on a predetermined AE program diagram, and the process returns (step #790. #
795). 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 advances to step (#340) and executes the subroutine for displaying AE (FIG. 26).

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

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

他方、ステップ(#345)の判定の結果、フラグ(Z
MVF)がセットされていなければステップ(#350
)へ進み、82ON以降のシーフェンスを実行中である
ことを示すフラグ(82ONF)がセットされているか
否かを判定する。この判定の結果、フラグ(82ONF
)がセットされていれば、ステップ(#400)へ進ん
で露出制御の処理を行なうが、ステップ(#400)以
降については後述する。最初はフラグ(82ONF)は
セットされていないのでステップ(#352)へ進み、
レリーズスイッチ(S2)が無効であることを示すフラ
グ(S2INF)がセットされているか否かを判定する
。このフラグ(S2INF)は合焦/非合焦の判定のサ
ブルーチン(第15図)内でセットされるフラグであり
、非合焦又はローコンのときにセットされてレリーズが
許可されない。すなわち、このフラグ(S2INF)が
セットされていれば、レリーズスイッチ(S2)のON
/○FFを判定することなくステップ(9385)へ進
み、撮影準備スイッチ(Sl)がONされているか否か
を判定する。この判定の結果、スイッチ(sl)のON
状態が続いているならば撮影準備中であるので、タイマ
(T2)をリセットした後、再スタートさせてリターン
する(ステップ#38B)。もし、スイッチ(Sl)が
○FF状態ならば、タイマ(T2)のスタート後5秒以
上経過したか否かをステップ(#390)で判定する。
On the other hand, as a result of the determination in step (#345), the flag (Z
MVF) is not set, step (#350
), and it is determined whether a flag (82ONF) indicating that the sea fencing after 82ON is being executed is set. As a result of this determination, the flag (82ONF
) is set, the process advances to step (#400) and performs exposure control processing, but the steps after step (#400) will be described later. Initially, the flag (82ONF) is not set, so proceed to step (#352).
It is determined whether 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, if this flag (S2INF) is set, the release switch (S2) is turned on.
The process proceeds to step (9385) without determining /○FF, and determines whether or not the photographing preparation switch (Sl) is turned on. As a result of this judgment, the switch (sl) is turned on.
If the state continues, it means that preparations are being made for photographing, so after resetting the timer (T2), the process restarts and returns (step #38B). If the switch (Sl) is in the FF state, it is determined in step (#390) whether 5 seconds or more have passed after the timer (T2) was started.

この判定の結果、5秒以内ならばフラグ(SIONF)
をリセットせずにリターンし、再度5LONのサブルー
チンを実行する(第10図のステップ#60. #55
)。これに対し、5秒以上経過しているならば、撮影者
に撮影意思がなくなったと判断し、5LONのサブルー
チンをこれ以上実行しないようにするためフラグ(SI
ONF)をリセットする(ステップ# 420 、)。
As a result of this judgment, if it is within 5 seconds, a flag (SIONF) is set.
Return without resetting the 5LON subroutine and execute the 5LON subroutine again (steps #60 and #55 in Figure 10).
). On the other hand, if 5 seconds or more have elapsed, it is determined that the photographer has no longer wanted to take a picture, and a flag (SI
ONF) (step #420,).

そして、次のスイッチ(Sl)のON又はパワーズーム
からの起動(SLONのサブルーチンの実行)を可能と
するため、割り込み(SIINT)及び(C8LEIN
T)を許可してリターンする(ステップ#425)。
Then, in order to enable the next switch (Sl) ON or startup from power zoom (execution of SLON subroutine), interrupt (SIINT) and (C8LEIN) are activated.
T) and return (step #425).

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

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

ステップ(#370)における判定の結果、フラグ(W
WF)がセットされていれば、1.4倍にズーミングす
るだめに、まず、ファインダに表示されている撮影フレ
ームを○FFL、広視野モードを示すフラグ(WVF)
をリセットして、1.4倍ズームのサブルーチンを実行
する(ステップ#375〜#380) 、  ここで、
フラグ(WVF)をリセットする理由は、レリーズスイ
ッチ(S2)が次々とONされたときに、1.4倍ずつ
ズームアツプし続けることを防止するためである。
As a result of the determination in step (#370), the flag (W
WF) is set, before zooming to 1.4x, first change the shooting frame displayed in the viewfinder to ○FFL and the wide-field mode flag (WVF).
and execute the 1.4x zoom subroutine (steps #375 to #380), where:
The reason for resetting the flag (WVF) 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、とし
てセットする(ステップ#810)。続いて、広視野モ
ードのズーミングをするのに適したズーム速度を設定し
、これらの目標焦点距離f、とズーム速度をレンズ内マ
イコン(μC2)に転送するためにレンズ交信(IX)
のサブルーチンを実行する(ステップ#81o〜#81
5)。
FIG. 27 shows the subroutine for the 1.4x zoom described above. When this subroutine is called, first, the current focal length f of the lens is multiplied by 1.4 and set as the target focal length f (step #810). Next, set a zoom speed suitable for zooming in wide-field mode, and perform lens communication (IX) to transfer these target focal length f and zoom speed to the microcontroller inside the lens (μC2).
Execute the subroutine (steps #81o to #81
5).

このレンズ交信(IX)のサブルーチンを第38図に示
す。同サブルーチンが呼び出されると、まず、モード(
IX)を示すデータをセットし、端子(C3LE)を”
Low”レベルとして、ボディとレンズの種類を判別す
るための2バイトのシリアル入出力を行なう(ステップ
111160〜#1165) 、  続いて、モード(
IX)を示すために1バイトのデータをレンズにシリア
ル出力し、ボディの状態を知らせるための2パイ1〜の
データのシリアル出力、及び目標焦点距離f。
A subroutine for this lens communication (IX) is shown in FIG. When the subroutine is called, first the mode (
IX), and connect the terminal (C3LE) to "
2-byte serial input/output is performed as "Low" level to determine the type of body and lens (steps 111160 to #1165), followed by mode (
IX) Serial output of 1 byte of data to the lens to indicate the state of the body, serial output of data from 2 Pies 1 to 1 to inform the state of the body, and the target focal length f.

を転送するための1バイトのデータのシリアル出力をレ
ンズに対して行なった後、端子(C3LE)を“Hig
h”レベルとしてリターンする(ステップ#1168〜
#1175)。
After serially outputting 1 byte of data to the lens, set the terminal (C3LE) to “High”.
h” level (step #1168~
#1175).

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

第14図のフローチャートに戻って説明を続ける。ステ
ップ(#380)の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 (#380) returns, the 1.4x zooming has been completed, so in order to improve the distance measurement accuracy after zooming, the sea fence ( Steps #330~) are executed.

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

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

このようなピント精度(測距精度)の悪化を防止するた
め、ステップ(#330)以降の再測距のシーフェンス
を実行する。この再測距のシーフェンスで再びAF開制
御サブルーチン(第15図)が呼び出されると、COD
積分開始タイミングを知らせるデータの転送を指示する
フラグ(ITGTF)がセットされているので、ステッ
プ(#450)のTR8のサブルーチン内においてレン
ズ交信(■)を実行する。
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 opening control subroutine (Fig. 15) is called again at this distance remeasurement sea fence, COD
Since the flag (ITGTF) instructing the transfer of data that informs the integration start timing is set, lens communication (■) is executed in the subroutine of TR8 in step (#450).

そして、COD積分及びデータダンプの後、ズーミング
によって変化したレンズデータを入力するためのレンズ
交信(Vl)を実行し、そのレンズデータを使用して測
距演算を実行する(ステップ#450〜#465)。続
いて、ステップ(#478)へ進むが、オートワイド中
であることを示すフラグ(AWNF)はセットされてい
ないのでそのままステップ(#485)へ進む。82O
N以降のシーフェンスであることを示すフラグ(32O
NF)はセットされているので、ステップ(#485)
ではYesと判定されてステップ(#490)へ進む、
ステップ(#490)では再測距がローコンであったか
否かを判定し、ローコンでなければそのままリターンし
、ローコンであれば820−コンのサブルーチンを実行
する(ステップ#495)。
After COD integration and data dump, lens communication (Vl) is performed to input lens data changed by zooming, and distance measurement calculation is performed using the lens data (steps #450 to #465). ). Next, the process proceeds to step (#478), but since the flag (AWNF) indicating that auto-wide is in progress is not set, the process directly proceeds to step (#485). 82O
A flag indicating that it is a sea fence after N (32O
NF) is set, so step (#485)
Then, the determination is Yes and the process proceeds to step (#490).
In step (#490), it is determined whether or not the remeasured distance is in low contrast. If it is not in low contrast, the process returns as is, and if it is in low contrast, the 820-con subroutine is executed (step #495).

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

同サブルーチンが呼び出されると、AFレンズ駆動パル
ス数NlをOとしてリターンする(ステップ#830)
。これは、レリーズ中にAFレンズを駆動しないことを
表わしている。焦点検出可能であった場合は、焦点合わ
せの精度を高めるためにレリーズ中にAFレンズを駆動
するが、焦点検出不能の場合にはレリーズ中はAFレン
ズを駆動しない。
When the subroutine is called, the number of AF lens drive pulses Nl is set to O 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 not driven during the release.

第14図のフローチャートに戻り、再測距のシーフェン
スでAF開制御サブルーチン(ステップ#330)から
リターンした以降について説明を続ける。再測距後は、
1.4倍にズームアツプすることにより画面内の輝度も
変化しているので、AF開制御サブルーチンからリター
ンした後、再測光を実行してその情報を表示する(ステ
ップ#332〜#340)。
Returning to the flowchart of FIG. 14, the explanation will be continued after returning from the AF open control subroutine (step #330) at sea fence for distance measurement again. After re-measurement,
Since the brightness within the screen has also changed by zooming up to 1.4 times, after returning from the AF open control subroutine, light measurement is performed again and the information is displayed (steps #332 to #340).

そして、この時点ではフラグ(32ONF)がセットさ
れているので、その後のステップ(#350)でYes
と判定されてステップ(#400)へ進み、露出制御を
開始する。
At this point, the flag (32ONF) is set, so in the subsequent step (#350), Yes.
If it is determined that this is the case, the process proceeds to step (#400) and starts exposure control.

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

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

同サブルーチンが呼び出されると、まず、レリーズの制
御を行なうべく所定の制御信号を出力する(ステップ#
840)。これによって、図示しない係止部が外れて、
ミラーアップ等のレリーズ動作が行なわれる。次に、絞
りを制御絞り値AVが示す口径まで絞り込ませる(ステ
ップ#845)。そして、最終測距時のデフォーカス量
に対応したAFレンズの駆動をレリーズ中に行ない、A
Fレンズが停止するのを待つ(ステップ#850)。続
いて、ステップ(#855)でミラーアップが完了する
のを待ち、ミラーアップが完了するとフォーカルプレー
ンシャッターの1幕(先幕)を走行させる(ステップ#
860)。そして、露出時間カウント用タイマ(T3)
をスタートさせてシャッター速度TVに応じた実際の露
出時間T、が経過するのを待つ(ステップ#860〜#
870)。露出時間Tsが経過すれば2幕(後幕)を走
行させ、2幕走行が完了する時間だけ待った後リターン
する(ステップ#875. #880)。
When this subroutine is called, it first outputs a predetermined control signal to control the release (step #
840). As a result, the locking part (not shown) is released, and
A release operation such as mirror up is performed. Next, the aperture is narrowed down to the aperture indicated by the control aperture value AV (step #845). Then, during the release, the AF lens is driven corresponding to the amount of defocus at the time of final distance measurement.
Wait until the F lens stops (step #850). Next, in step (#855), wait for the mirror up to be completed, and when the mirror up is completed, run the first curtain (front curtain) of the focal plane shutter (step #855).
860). And a timer for counting exposure time (T3)
and wait for the actual exposure time T, which corresponds to the shutter speed TV, to elapse (steps #860 to #
870). When the exposure time Ts has elapsed, the second curtain (second curtain) is run, and after waiting the time for the second curtain to complete running, the process returns (steps #875 and #880).

第14図のフローチャートに戻って説明を続ける。上記
の露出制御のサブルーチン(ステップ#410)からリ
ターンすると、次の撮影のために1コマ巻き上げを行な
い、5秒間時間待ちをして、撮影終了を表わすためにフ
ラグ(SIONF)をリセットする(ステップ#415
〜#420)。その後、次の撮影準備スイッチ(Sl)
のON又はパワーズームによる割り込みを可能とするた
め、割り込み(SIINT)及び(C3LEINT)を
許可してリターンする(ステップ#425)。
Returning to the flowchart of FIG. 14, the explanation will be continued. When returning from the above exposure control subroutine (step #410), 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 #415
~#420). After that, press the next shooting preparation switch (Sl)
In order to enable an interrupt due to ON or power zoom, interrupts (SIINT) and (C3LEINT) are permitted and the process returns (step #425).

ここで、広視野モードの効果についてまとめて説明する
Here, the effects of the wide-field mode will be summarized.

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

その結果、撮影場面が把握しやすくなり、特に動体等の
撮影をする場合には追尾が容易となって便利である。ま
た、ハイアイポイントの場合でも撮影領域全体の観察が
可能となる。さらに、撮影フレーム(FD2)を液晶等
の表示のON/○FFが可能な部材で構成すると、必要
なとき或いは撮影者の好みに応じて広視野モードを選択
することができる。
As a result, it becomes easier to grasp the scene to be photographed, and especially when photographing a moving object, tracking becomes easy and convenient. Furthermore, even in the case of a high eye point, the entire imaging area can be observed. Further, if the photographing frame (FD2) is constructed of a member such as a liquid crystal display that can turn on/off the display, the wide field of view mode can be selected when necessary or according to the photographer's preference.

第10図のフローチャートに戻り、ステップ(#20)
でメインスイッチ(SM)がON状態でないと判定され
た場合について説明する。メインスイッチ(SM)がO
N状態でない場合には、ステップ(#80)へ進み、メ
インスイッチ(汎)のONによる割り込み(SMINT
)以外の割り込みを禁止し、ステップ(#85)で電池
装着を示すフラグ(R3TF)がセットされているか否
かを判定する。フラグ(R3TF)がセットされていな
いときには、メインスイッチ(SM)のOFFにより、
このフローを実行したとして、これを示すフラグ(Sに
0FF)をセットし、AFレンズ繰り込みのサブルーチ
ンを実行する(ステップ#87.#90) 、  この
場合、AFレンズは最も繰り込んだ位置に繰り込まれる
。この点については既に説明済みであるので詳しい説明
は省略する。次に、ステップ(#92)で使用レンズが
旧レンズか否かを判定し、旧レンズでなければズームレ
ンズ群繰り込みのサブルーチン(ステップ#100)を
実行する。AFレンズ繰り込み及びズームレンズ群繰り
込みのサブルーチンを実行することにより、AFレンズ
及びズームレンズ群は最も繰り込んだ位置まで移動し、
レンズを含めたカメラ全体の大きさ(長さ)が最も小さ
くなる。そして、レンズ交信(III)のサブルーチン
を実行し、レンズから入力したデータに基づいて、ボデ
ィ側がスリーブ状態に入ってもよいか否かを判定する(
ステップ#105. #110)。ボディ側がスリーブ
状態に入ると、レンズ側のズームモータ(M3)への給
電が断たれる。したがって、レンズ側でズーム繰り込み
制御を実行しているときには、スリーブ状態に入っては
いけないので、ステップ(#115)で50m5ec経
過するのを待ち、スフ ’/プ(#1゜5)に戻って再
びレンズ交信(m)のサブルーチンを実行し、ステップ
(#110)の判定を繰り返す。レンズ側でズーム繰り
込み制御が終了したときには、ステップ(#110)で
スリーブ状態に入ってもよいと判定され、カメラ側の回
路及びレンズのズームモータ(M3)への給電を行なう
トランジスタ(Tri)(Tr2)をOFFすべく、電
源制御端子(PWI) (PH1)をLow”レベルと
し、さらにD C/ I) Cコンバータ(DD)ヲO
F F j ヘ<、端子(PWO)を” Low ” 
L/ /’< )lvとして、メインスイッチ(SM)
のONによる割り込み(SMINT)以外の割り込みを
禁止して停止し、スリーブ状態(停止状態)に入る。 
(ステップ#12o〜#130)。
Returning to the flowchart in Figure 10, step (#20)
The case where it is determined that the main switch (SM) is not in the ON state will be explained. Main switch (SM) is O
If it is not in the N state, proceed to step (#80) and interrupt (SMINT) by turning on the main switch (general).
), and in step (#85) it is determined whether a flag (R3TF) indicating battery attachment is set. When the flag (R3TF) is not set, turning off the main switch (SM)
Assuming that this flow has been executed, a flag indicating this is set (0FF in S), and the AF lens retraction subroutine is executed (steps #87 and #90). In this case, the AF lens is retracted to the most retracted position. be included. Since this point has already been explained, detailed explanation will be omitted. Next, in step (#92), it is determined whether or not the lens used is an old lens, and if it is not an old lens, a subroutine (step #100) for repopulating the zoom lens group is executed. 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,
The size (length) of the entire camera including the lens is 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. #110). 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 50m5ec to elapse in step (#115), and then return to step (#1゜5). The lens communication (m) subroutine is executed again, and the determination in step (#110) is repeated. When the zoom retraction control is completed on the lens side, it is determined in step (#110) that it is OK to enter the sleeve state, and the transistor (Tri) (which supplies power to the camera side circuit and the zoom motor (M3) of the lens) In order to turn Tr2) off, the power supply control terminal (PWI) (PH1) is set to Low level, and the DC converter (DD) is turned off.
F F j He<, terminal (PWO) “Low”
Main switch (SM) as L/ /'< )lv
Interrupts other than those caused by turning ON (SMINT) are prohibited and stopped, and the system enters the sleeve state (stop state).
(Steps #12o to #130).

ステップ(li85)においてフラグ(R3TF)がセ
ットされているとき、或いは、ステップ(#92)で使
用レンズが旧レンズであると判定されたときには、ステ
ップ(#93)に進み、電池装着時を示すフラグ(R3
TF)をリセットする。そして、ステップ(#120)
以降へ進み、スリーブ状態(停止状態)に入る。
When the flag (R3TF) is set in step (li85), or when it is determined that the lens used is an old lens in step (#92), the process proceeds to step (#93) and indicates when the battery is installed. Flag (R3
TF). And step (#120)
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図に示したレンズ装着検出スイッチ(SLE)がON
となり、レンズ内マイコン(μC2)のリセット端子(
PH2)が”’Low”レベルに維持されているので、
レンズ側の回路は全く駆動されない。レンズがカメラボ
ディに装着されると、レンズ装着検出スイッチ(SLE
)がOFFとなり、リセット端子(PH2)に°’Lo
w”レベルから’High”レベルに変わる信号が入力
される。これにより、レンズ内マイコン(μC2)は第
39図に示すリセットのルーチンを実行する。このリセ
ットのルーチンでは、まず、ボートやレジスタをリセッ
トする(ステップ#L5)。
When the lens is not attached to the camera body, the lens attachment detection switch (SLE) shown in Figure 4 is ON.
The reset terminal of the microcomputer (μC2) inside the lens (
Since PH2) is maintained at "Low" level,
The circuit on the lens side is not driven at all. When the lens is attached to the camera body, the lens attachment detection switch (SLE)
) turns OFF, and the reset terminal (PH2) is set to °'Lo.
A signal that changes from w'' level to 'High' level is input. As a result, the in-lens microcomputer (μC2) executes the reset routine shown in FIG. 39. 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)をセ
ットし、ズームレンズ群繰り込み速度を最高速度v3に
設定する。そして、駆動量として大きな値ZLGを設定
して、ワイド方向のズーミングであることを示すフラグ
(WDF)をセットし、駆動量のサブルーチンを実行し
てズームレンズ群を駆動する(ステップ#L30〜#L
40)。この駆動量のサブルーチンについては後述する
。続いて、ステップ(#L45)でタイマ割り込みが発
生したことを示すフラグ(TINTF)がセットされる
のを待つ。このタイマ割り込みは、ズームレンズ群が終
端に至った後に発生する割り込みである。
FIG. 40 shows the subroutine for renormalizing the zoom lens group. When this subroutine is called, first, a flag (ZIF) indicating the zoom lens group retraction mode is set, and the zoom lens group retraction speed is set to the maximum speed v3. Then, a large value ZLG is set as the drive amount, 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 #L30 to # L
40). This driving amount 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.

ここで、上記の駆動■のサブルーチンを第41図に示す
。この駆動■のサブルーチンはズームモータ(M3) 
(第4図)によりズームレンズ群を駆動するサブルーチ
ンであり、同サブルーチンが呼び出されると、まず、ズ
ームレンズ群駆動中であることを示すフラグ(ZMVF
)セットする(ステップ#L100)。そして、モータ
制御のためのフラグ類をセットし、駆動量(ズーム駆動
パルス数)ΔZを設定した後、モータ(M3)に通電を
開始してリターンする(ステップ#L110〜#L12
0) 、  このズームレンズ群駆動のモジュール(本
発明と直接関係しないので図示せず)は、前述のAFレ
ンズ駆動のモジュールと同様に、カウンタ割り込みとタ
イマ割り込みによってズームレンズ群の駆動を制御して
いる。すなわち、ズームモータ(M3)の回転量を検出
するズームエンコーダ(ENC3) (第4図)からズ
ームレンズ群の駆動を示すパルスが入ってくる毎にカウ
ンタ割り込みが発生し、この割り込みにより、ズーム速
度を制御しながら△Z分だけパルス駆動する。この△2
分のパルス駆動を終えると、ズームモータ(M3)への
通電を停止してフラグ(ZMVF)をリセットする。ま
た、Δ2分のパルス駆動を終えるまでに、ズームモータ
(M3)に通電してもエンコーダ(ENC3)からパル
スが発生しなくなった場合には、タイマ割り込みが発生
し、この割り込みによす終端と判断してズームレンズ群
停止のサブルーチンを実行し、タイマ割り込みを禁止し
た後、フラグ(TINTF)をセットする。
Here, FIG. 41 shows the subroutine of the drive (2) described above. This drive subroutine uses the zoom motor (M3)
(Figure 4) is a subroutine that drives the zoom lens group. When this subroutine is called, first a flag (ZMVF) 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 drive module (not shown because it is not directly related to the present invention) controls the zoom lens group drive using counter interrupts and timer interrupts, similar to the AF lens drive 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 drive is performed by △Z while controlling . This △2
When the pulse drive for minutes is completed, the power supply to the zoom motor (M3) is stopped and the flag (ZMVF) is reset. Furthermore, if the encoder (ENC3) no longer generates pulses even if the zoom motor (M3) is energized by the time the pulse drive for Δ2 minutes is finished, a timer interrupt is generated, and the end of this interrupt is determined. After determining this, a subroutine for stopping the zoom lens group is executed, and after disabling timer interrupts, a flag (TINTF) is set.

上記のズームレンズ群停止のサブルーチンを第42図に
示す。同サブルーチンが呼び出されると、まず、モータ
駆動回路(Mn2)に停止信号を10m5ec間出力す
る(ステップ#L180)。その後、駆動OFF信号を
出力し、スリーブ可とし、ズーム駆動中を示すフラグ(
ZMVF)リセットしてリターンする(ステップ#L1
82〜#L187)。
FIG. 42 shows the subroutine for stopping the zoom lens group described above. When this subroutine is called, first, a stop signal is output to the motor drive circuit (Mn2) for 10 m5ec (step #L180). After that, a drive OFF signal is output, the sleeve is enabled, and a flag (
ZMVF) Reset and return (Step #L1
82~#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 the zoom lens group is being retracted 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)のカウン
ト値Z。を読み取る。そして、その値から正確な現在の
焦点距離f、を求め、その現在焦点距離f、を表示して
リターンする(ステップ#L250〜#、L260)。
The above display routine is shown in FIG. When this subroutine is called, the count value Z of the zoom counter (ZC) that counts pulses from the zoom encoder (ENC3). Read. Then, the accurate current focal length f is determined from that value, the current focal length f is displayed, and the process returns (steps #L250 to #, L260).

次に、パワーズームの際の処理について説明する。ボデ
ィ内マイコン(μ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/ZINT割り込みが発生すると、レンズ内マイコン
(μC2)は、まず、端子(C8LE)を−瞬“Low
レベルとし、ボディへの割り込みを行なう(ステップ#
L400)。そして、タイマ(TA)をリセットした後
、再スタートし、タイマ(TA)が時間t、を計時する
のを待つ(ステップ#L410〜#L415)。ここで
、タイマ(TA)により時間t、の待機を行なうのは、
レンズが旧タイプであるか否かをボディ側で判定するた
めである。レンズが旧タイプでなければ、上記ボディへ
の割り込み後、ボディではデータの交信(レンズ交信)
を行なうべく端子(C3LE)を“L。
When an F/ZINT interrupt occurs, the microcomputer (μC2) inside the lens first sets the terminal (C8LE) to “Low” for an instant.
level and interrupt the body (step #
L400). After resetting the timer (TA), the process restarts and waits for the timer (TA) to count time t (steps #L410 to #L415). Here, waiting for time t by the timer (TA) is as follows:
This is to determine whether the lens is an old type or not on the body side. If the lens is not an old type, after the above interrupt to the body, the body will communicate data (lens communication)
In order to perform this, the terminal (C3LE) is set to “L”.

、゛レベルとし、レンズではこれに応答して後述のC8
割り込みが行なわれ、タイマ(TA)が時間t1を計時
し終える前に別のフローを実行する。ただし、ボディ側
のメインスイッチ(SM)がOFFの場合には、上記デ
ータ交信(レンズ交信)は行なわれないし、また、旧ボ
ディの場合にも、同様にデータ交信(レンズ交信)は行
なわれない。このため、ステップ(#L400)で端子
(C3LE)を−瞬“Low’“レベルとしてもC8割
り込みが行なわれず、タイマ(TA)は時間t、を計時
し終える。そして、ステップ(#L415)でタイマ(
TA)が時間t、を計時し終えたと判定されると、タイ
マ(TA)を停止させ、操作環(80)の操作による割
り込みF/ZIN、Tを禁止し、停止する(ステップ#
L417〜#L420)。
, ' level, and the lens responds to this by setting C8, which will be described later.
An interrupt is taken and another flow is executed before the timer (TA) finishes timing t1. However, when the main switch (SM) on the body side 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. . Therefore, even if the terminal (C3LE) is momentarily brought to the "Low" level in step (#L400), the C8 interrupt is not performed, and the timer (TA) finishes counting the time t. Then, in step (#L415), the timer (
When it is determined that the timer (TA) has finished counting the time t, the timer (TA) is stopped, and the interrupt F/ZIN, T caused by the operation of the operation ring (80) is prohibited and stopped (step #
L417~#L420).

次に、C8割り込み発生の際の処理について説明する。Next, processing when a C8 interrupt occurs will be explained.

ボディからレンズの端子(C8LE)に°”High°
゛レベルから°“Low”レベルに変化する信号が伝達
されると、レンズ内マイコン(μC2)は、第45図に
示すC8割り込みのルーチンを実行する。同ルーチンで
は、まず、操作環(ズームリング)(80)の操作によ
るF/Z 工NT割り込みを禁止し、ボディからのクロ
ックに応答して、2バイトのシリアル交信(シリアル入
出力)を行なう。この交信データからボディが旧ボディ
か否かを判定し、旧ボディであれば、6バイトのシリア
ル交信を行なってボディ側にレンズデータを送り、端子
(C3LE)への信号が°゛旧ghl+レベルになるの
を待ち、 ゛H1ghllレベルになれば停止する(ス
テップ#L565〜#L575)。本実施例では新ボデ
ィについて説明しているので、この交信に対応するボデ
ィ内マイコン(μC1)のフローチャートは図示されて
いないが、これらのステップ(#L565)〜(#L5
75)により新レンズは旧ボディにも対応することこと
ができる。他方、ステップ(#L565)において旧ボ
ディでないと判定された場合には、続いて1バイトのシ
リアル交信(シリアル入力)により交信モードを示すデ
ータをボディから入力し、交信モードを判定する(ステ
ップ#L585. #L590)。そして、その交信モ
ードの判定結果に応じて以下の各処理(ボディ内マイコ
ン(μC1)におけるレンズ交信(I)〜(IX)に対
応する処理)を実行する。
°”High° from the body to the lens terminal (C8LE)
When a signal changing from the "low" level to the "low" level is transmitted, the in-lens microcomputer (μC2) executes the C8 interrupt routine shown in FIG. In this routine, first, F/Z machine NT interrupts caused by operation of 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. Based on this communication data, it is determined 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) is at the °゛old ghl+ level. It waits until the level reaches ``H1ghll'' and stops when it reaches the level (steps #L565 to #L575). Since this embodiment describes a new body, a flowchart of the in-body microcomputer (μC1) corresponding to this communication is not shown, but these steps (#L565) to (#L5
75) allows 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, data indicating the communication mode is input from the body through 1-byte serial communication (serial input), and the communication mode is determined (step #L565). 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”レベルから”High”レベ
ルへ変わるのを待ち、 “’High”レベルになれば
ズームレンズ群繰り込みのサブルーチンを実行した後、
表示のサブルーチンを実行してリターンする(ステップ
#L600〜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 ``Low'' level to ``High'' level, and when it becomes ``High'' level, execute the zoom lens group renormalization subroutine.
The display subroutine is executed and the process returns (steps #L600 to 11L615). However, before returning, enable F/Z I NT interrupt.

なお、ステップ(#L604)で端子(C3LE)への
信号が°“Low’“レベルから”’)Iigh”レベ
ルへ変わるのを待っているのは、レンズとボディとの間
の交信が終了するのを確認するためであり、これにより
交信中は他の処理を行なわないようにしている。このよ
うな交信終了の確認やF/ZINT割り込みの許可につ
いては、他の交信モードにおいても同様に行なっている
In addition, the reason why we are waiting for the signal to the terminal (C3LE) to change from °"Low" level to "')Ihigh" level in step (#L604) is to complete the communication between the lens and the body. This is to ensure that no other processing is 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バイトのデータをシリアル入力後、端子(C3
LE)への信号が”Low”レベルがら”)Iigh”
レベルへ変わるのを待ち、 ”)Iigh”レベルにな
ればズームレンズ群停止のサブルーチン(第42図)を
実行した後、表示のサブルーチン(第43図)を実行し
てリターンする(ステップ#L620−#L635)。
If the communication mode is mode (II), after serially inputting 2 bytes of data similar to mode (I), the terminal (C3
The signal to LE) is “Low” while the signal is “Ihigh”
When the level changes to ")Ihigh", execute the zoom lens group stop subroutine (Figure 42), 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)への信号が“Lo
w”レベルから“High”レベルへ変わるのを待ち、
 “[(igh”レベルになればリターンする(ステッ
プ$L640〜#L650)。このモードの交信は、ボ
ディがレンズの状態(駆動中、停止中など)を調べると
きに実行される。
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 “Lo
Wait for the change from “w” level to “High” level,
Returns when the level reaches "[(high") (steps $L640 to #L650). Communication in this mode is executed when the body checks the state of the lens (driving, stopped, etc.).

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

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

このレンズデータの計算のサブルーチンを第46図に示
す。同サブルーチンが呼び出されると、まず、ズームカ
ウンタの値Z。を読み込んで、そのカウンタ値を焦点距
離f、に変換する(ステップ#L800〜#L810)
。その後、測距値に直接影響を与えるレンズデータ、す
なわち、フィルム面とAFセンサ面の差ΔSB、駆動量
変換係数KL、距離変換係数KNの各データを求める。
A subroutine for calculating this lens data is shown in FIG. When the subroutine is called, the zoom counter value Z is first read. Read the counter value and convert it to the focal length f (steps #L800 to #L810)
. Thereafter, lens data that directly affects the distance measurement value, that is, 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 obtained.

これらのレンズデータを求めるためには、まず、ズーム
カウンタの20パルス毎の上記レンズデータが格納され
たテーブルを検索する(ステップ#L820)。そして
、検索して得られたテーブルデータを用いて補間演算を
行なうことにより、精度の高いレンズデータを求める(
ステップ1lL822)。
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 #L820). Then, by performing interpolation calculations using the table data obtained from the search, highly accurate lens data is obtained (
Step 1lL822).

交信モードがモード(V)であれば、この交信モードは
、モード(IV)と同様に現在の焦点距離f、でのレン
ズデータを計算した後、ボディから指示された目標の焦
点距離f、にズーミングするモードである。したがって
、2バイトのボディ状態データ(第3表)と1バイトの
目標焦点距離ftのデータの計3バイトのデータをシリ
アル入力して、端子(C3LE)への信号が”Low”
レベルから°’High”レベルへ贅わるのを待ち、 
“High”レベルになればズーミングによって変化す
るレンズデータの計算をし、APZのサブルーチンを実
行してリターンする(ステップ#L680〜#L695
)。このAPZのサブルーチンについては、後でモード
(IX)の説明とともに述べる。
If the communication mode is mode (V), this communication mode calculates the lens data at the current focal length f, as in mode (IV), and then calculates the lens data at the target focal length f, instructed from the body. This is a zooming mode. Therefore, a total of 3 bytes of data, 2 bytes of body status data (Table 3) and 1 byte of target focal length ft, are input serially, and the signal to the terminal (C3LE) is "Low".
Waiting for the luxury to go from level to °'High'' level,
When the level reaches "High", the lens data that changes due to zooming is calculated, the APZ subroutine is executed, and the process returns (steps #L680 to #L695).
). This APZ subroutine will be described later along with an explanation of mode (IX).

交信モードがモード(VI)であれば、この交信モード
は、モード(TV)又は(V)のモードにおいて計算し
たレンズデータをこれらのモードの交信後にボディに転
送するモードである。したがって、2バイトのレンズ状
態データ(第2表)をシリアル出力した後、モード(I
V)又は(V)において計算しておいたズーミングによ
って変化するレンズデータ、すなわち、現在焦点距離f
ゎ、フィルム面とAFセンサ面の差△SB、駆動量変換
係数KLI 及び距離変換係数KNからなる4バイトの
データをシリアル出力する(ステップ#L700〜#L
712)。そして、端子(C3LE)への信号が°“L
ow”レベルから“High”レベルへ変わるのを待ち
、 “High”レベルになればリターンする(ステッ
プ#L715)。
If the communication mode is mode (VI), this communication mode is a mode in which lens data calculated in mode (TV) 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 (I
Lens data that changes due to zooming calculated in V) or (V), that is, the current focal length f
ゎ, serially output 4-byte data consisting of the difference △SB between the film surface and the AF sensor surface, the drive amount conversion coefficient KLI, and the distance conversion coefficient KN (steps #L700 to #L
712). Then, the signal to the terminal (C3LE) is
It waits for the level to change from "ow" level to "High" level, and returns when the level becomes "High" (step #L715).

交信モードがモード(■)であれば、レンズ固有の全デ
ータをボディに転送するモードであるので、2バイトの
レンズ状態データ(第2表)をシリアル出力した後、従
来のレンズデータAVo、 AVMAx。
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, AVMAx is output. .

KLv f r、+ LON+ KN、  ΔSBに、
レンズの最短焦点距離f、 l ff1l最長焦点距離
f1.8のデータを加えた9バイトのデータをシリアル
出力する(ステップ#L720〜1lL732)。そし
て、端子(C8LE)への信号が“LOw”レベルから
°l High ITレベルへ変わるのを待ち、“l 
Hlgh IIレベルになればリターンする(ステップ
#L735)。
KLv f r, + LON + KN, ΔSB,
The 9-byte data including the data of the lens's shortest focal length f, l ff1l and longest focal length f1.8 is serially output (steps #L720 to 1lL732). Then, wait for the signal to the terminal (C8LE) to change from the “LOW” level to °l High IT level, and then
When the Hlgh II level is reached, the process returns (step #L735).

交信モードがモード(■)であれば、この交信モードは
、パワーズーム操作(ズームリング操作)の割り込みで
あるF/Z INT割り込みに対するズーミングの許可
を示すデータをボディからレンズに転送するモードであ
る。したがって、2バイトのボディ状態データ(第3表
)をシリアル入力した後、端子(C3LE)への信号が
’Low”レベルから“High””レベルへ変わるの
を待ち、“’High“レベルになればMPZのサブル
ーチンを実行してリターンする(ステップ#L740〜
#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 go to 'High' level. If so, execute the MPZ subroutine and return (step #L740~
#L750).

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

同サブルーチンが呼び出されると、まず、焦点距離表示
を行ない、ズームリングの周囲に配置されたエンコーダ
パターン(ZVEN) (第4図)の値を読み込み、ズ
ームリング操作があったが否がを判定する(ステップ#
L850〜#L858)。この結果、操作がなかったな
らばステップ(#L890)へ進み、ズームレンズ群駆
動中を示すフラグ(ZVMF)がセットされているか否
かを確認する。そして、フラグ(ZMVP)がセットさ
れていればズームレンズ群を停止させ、セットされてい
なければズームレンズ群停止のサブルーチンは実行せず
に表示のみを行なってリターンする(ステップ#L89
0〜#L898)。他方、ステップ(#L858)にお
いてズームリング操作があったと判定されたならばステ
ップ(#L860)へ進み、操作された方向がテレ方向
か否かを判定する。そして、テレ方向ならばワイド方向
のズーミングであることを示すフラグ(WDF)をリセ
ットし、テレ方向でなければフラグ(WDF)をセット
する(ステップ#L860〜#L872)。次に、ズー
ムリングの操作量を読み取り、操作量に対応してズーミ
ング速度v1〜V3のいずれかを設定し、さらに操作量
に応じたズーム駆動パルス数ΔZを設定した後、駆動工
のサブルーチンを呼び出してズームレンズ群の駆動を開
始する(ステップ#L874〜#L880)。駆動を開
始した後はステップ(#L850)〜(#L880)を
繰り返し実行するが、ステップ(#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 the zoom ring has been operated or not. (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 (ZMVP) 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 #L872). Next, read the operation amount of the zoom ring, set one of the zooming speeds v1 to V3 according to the operation amount, and set the zoom drive pulse number ΔZ according to the operation amount, and then execute the drive engineering subroutine. and starts driving the zoom lens group (steps #L874 to #L880). After starting the drive, steps (#L850) to (#L880) are repeatedly executed, but if it is determined in step (#L858) that the amount of operation of the zoom ring has disappeared, the zoom lens group is stopped and the display is and return (
Steps #L890-#L898).

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

W”レベルから゛旧ghl=レベルへ変わるのを待ち、
°“)ligh”レベルになればAPZのサブルーチン
を実行してリターンする(ステップ#L760− #L
770)。
Wait for the change from W" level to "old ghl= level,
° When the level reaches ")light", execute the APZ subroutine and return (step #L760-#L
770).

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

同サブルーチンが呼び出されると、まず、ボディから送
られてきた目標焦点距離f、を目標ズームカウンタ値Z
、に変換した後、その時点のズームカウンタ値Zoを読
み込んで現在ズームカウンタ値Z、として設定する(ス
テップ#L900〜#L906)。次に、目標ズームカ
ウンタ値Z、と現在ズームカウンタ値Zoとを比較して
ズーミング方向を設定するのであるが、Z、とZ、が一
致していればズーミングする必要はないので、ズームレ
ンズ群を駆動せずにリターンする(ステップ1lL90
8)。Z、とZ。が一致していなければステップ(#L
910)へ進み、Z、がZoより大きいか否かを判定す
る。この結果、Z、がzoより大きければ、ワイド方向
のズーミングであることを示すフラグ(WDF)をリセ
ットし、2.−2.よりズーム駆動パルス数△Zを求め
る(ステップ#L912〜1lL918)。
When this subroutine is called, first, the target focal length f sent from the body is converted to the target zoom counter value Z.
, the zoom counter value Zo at that time is read and set as the current zoom counter value Z (steps #L900 to #L906). Next, the zooming direction is set by comparing the target zoom counter value Z and the current zoom counter value Zo. If Z and Z match, there is no need to zoom, so the zoom lens group Return without driving (step 1lL90
8). Z, and Z. If they do not match, step (#L
The process proceeds to step 910) and determines whether Z is greater than Zo. As a result, if Z is larger than zo, a flag (WDF) indicating zooming in the wide direction is reset, and 2. -2. The number of zoom drive pulses ΔZ is determined from this (steps #L912 to 11L918).

他方、Z、がZlよりも大きくなければ、フラグ(WD
F)をセットし、2.−2.よりズーム駆動パルス数△
Zを求める(ステップ#L920〜#L928)。ズー
ム駆動パルス△2が求まれば、ボディ状態データ(第3
表)として送られてきた速度を駆動速度として設定し、
駆動工のサブルーチンを呼び出すことによりズームレン
ズ群の駆動を開始する(ステップ#L930、 #L9
34)。このとき、ボディから送られてきた速度を駆動
速度として設定しているため、ボディ側からAPZモー
ドにおけるズーム速度を制御することができる。駆動開
始後はズームレンズ群駆動中を示すフラグ(ZMVF)
がリセットされるのを10m5ec間隔で調べながら待
機し、フラグ(ZMVF)がリセットされたならばリタ
ーンする(ステップ#L938〜#L940)。ココテ
、フラグ(ZMVF)は、前述したように、所定のズー
ムレンズ群の駆動が終了すると駆動を制御するカウンタ
割り込み又はタイマ割り込みによってリセットされる。
On the other hand, if Z is not greater than Zl, the flag (WD
F), and 2. -2. Zoom drive pulse number△
Find Z (steps #L920 to #L928). Once the zoom drive pulse △2 is determined, the body state data (third
Set the speed sent as the table) as the driving speed,
Start driving the zoom lens group by calling the drive subroutine (steps #L930, #L9
34). 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, a flag (ZMVF) indicating that the zoom lens group is being driven
The process waits for the flag (ZMVF) to be reset at 10m5ec intervals, and returns if the flag (ZMVF) is reset (steps #L938 to #L940). As described above, the zoom flag (ZMVF) is reset by a counter interrupt or a timer interrupt that controls the drive when the drive of a predetermined zoom lens group is completed.

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

また、モード(I)の交信の説明においても述べたよう
に、モード(I)〜(IX)のシリアル交信とそれに伴
う演算及びズーミングを実施してリターンするときには
、パワーズームを可能とするためF/Z I NT割り
込みを許可してリターンしている(第45図のステップ
#L780) 。
In addition, as mentioned in the explanation of communication in mode (I), when performing serial communication in modes (I) to (IX) and associated calculations and zooming, and returning, F is used to enable power zoom. /ZINT 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図のステップ$1605. #806)、ローコンス
キャンが実行される(第15図のステップ#505、第
10図のループ#55→#60→#55)。このローコ
ンスキャン中に焦点検出可能となればAFレンズを駆動
して合焦状態としく第15図のステップ#520〜#5
28)、画角が変化しない状態で撮影を行なうことがで
きる。他方、オートワイドスイッチ(SA、)の操作に
よりオートワイド機能がONされている場合であって、
ローコンスキャン実行後もなお焦点検出不能であり(第
22図のステップ#690、 #700. #705)
、かつ、引続き撮影準備スイッチ(Sl)がONされて
いれば(第14図のステップ#385)、オートワイド
が開始される(第15図のステップ#515)。このオ
ートワイド中に焦点検出可能となればAFレンズを駆動
して合焦状態としく第15図のステップ#520〜#5
2B)、露出制御の動作が行なわれる(第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 $1605 in Figure 9. #806), a low contrast scan is executed (step #505 in FIG. 15, loop #55→#60→#55 in FIG. 10). If the focus becomes detectable during this low contrast scan, the AF lens is driven to bring it into focus, and steps #520 to #5 in Figure 15
28) Photographing can be performed without changing the angle of view. On the other hand, when the auto wide function is turned on by operating the auto wide switch (SA),
Even after executing the low contrast scan, the focus still cannot be detected (steps #690, #700, and #705 in Figure 22).
, and 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 #5 in Figure 15
2B), 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レンズは無限遠
端に位置することになるため(第22図のステップ#6
90. $1700. #705)、近側の被写体に対
しては、特にテレ側でデフォーカス量が大きくなりすぎ
、オートワイドを実行しても焦点検出が可能とならない
場合が多い。これに対し、後述の変形例8において説明
するように、ローコンスキャン完了後オートワイドのシ
ーフェンスを開始する前に、AFレンズを特定位置に移
動させることによって対処する二とができる。例えば、
ローコンスキャン完了信号が出力された時点の焦点距離
における、無限遠被写体に合焦するレンズ位置と最近接
被写体に合焦するレンズ位置との中間のレンズ位置にA
Fレンズを移動させれば、近側と遠側のいずれの被写体
に対してもデフォーカス量が大きくならないため、オー
トワイドにおいて焦点検出が可能になり易い。また、テ
レ側でローコンスキャンを実行しても焦点検出可能とな
らない場合は近側の被写体であることが多いので、近側
の被写体に合焦するレンズ位置(例えば被写体距離2゜
5mに対応するレンズ位置)にAFレンズを移動させて
もよい。
However, after the low contrast scan is completed, the AF lens will be located at the infinity end (step #6 in Figure 22).
90. $1700. #705) For near objects, the amount of defocus becomes too large, especially on the telephoto side, and focus detection is often not possible even if auto-wide is executed. On the other hand, as will be explained later in Modification 8, the second solution is to move the AF lens to a specific position after the low contrast scan is completed and before starting the auto wide sea fencing. for example,
A to the intermediate lens position between the lens position that focuses on the object at infinity and the lens position that focuses on the closest object at the focal length at the time when the low-contrast scan completion signal is output.
If the F lens is moved, the amount of defocus will not increase for either near or far objects, making it easier to detect focus in auto wide mode. In addition, if focus cannot be detected even when performing low-contrast scanning on the telephoto side, it is likely that the subject is near, so the lens position that focuses on the near subject (e.g., corresponding to a subject distance of 2°5 m) The AF lens may be moved to the desired lens position.

なお、以上の実施例の説明においては一眼レフカメラを
例にとったが、この中で述べた広視野モードの機能(ワ
イドビュー機能)及びオートワイドの機能については、
レンズシャッター式カメラ等のように別設されたファイ
ンダ光学系を有するカメラおいても同様に実現すること
ができる。また、撮影媒体としてフィルムを用いるフィ
ルムカメラに限らず、撮影媒体としてCODや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, it is not limited to film cameras that use film as a shooting medium, but also COD and MO5-
A similar function can also be achieved in an electronic still camera using an IC.

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

変形例1 本例は、広視野モードにおいてレリーズスイッチ(S2
)のONから露光までの時間の短縮を図ったものである
。本例の広視野モードにおけるシーフェンスチャートを
第49図に示す。この図において、レンズとボディ間の
交信(#c) (#d)(#d’ )は、第6図及び第
7図の交信(#c) (#d) (#clりとそれぞれ
間じ内容の交信である。
Modification Example 1 In this example, the release switch (S2
) is intended to shorten the time from turning on to exposure. FIG. 49 shows a sea fence chart in the wide-field mode of this example. In this figure, the communications (#c) (#d) (#d') between the lens and the body are the same as the communications (#c) (#d) (#cl) in Figures 6 and 7, respectively. It is communication of content.

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

すなわち、ボディ側では、レンズ側から交信(#d’ 
)によってズーミングの完了を知らせるレンズ状態デー
タを受は取ると、再測距せずに直ちにミラーアップさせ
て露光する。これにより、レリーズスイッチ(S2)の
ONから露光までの時間を短縮することができる。
In other words, on the body side, communication (#d'
), 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.

変形例2 本例は、広視野モードにおいてピンボケ写真となるのを
防止することを狙ったものである9本例について第50
図を参照しながら説明する。
Modified Example 2 This example is the 50th modification of the 9th example that aims to prevent out-of-focus photographs in wide-field mode.
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.

そこで、本例では、広視野モードにおいて、ズームアツ
プ前の測距アイランドがファインダの中央に位置する測
距アイランド(0)の場合にはズームアツプ後に再測距
を行なうが、ズームアツプ前の測距アイランドがファイ
ンダの中央に位置する測距アイランド(ロ)以外の測距
アイランド(イ)(ハ)(=)の場合にはズームアツプ
後の再測距を行なわないシーフェンスとする。これによ
り、上記のようなピンボケの写真ができるのを防止する
ことができる。
Therefore, in this example, in wide-field mode, if the distance measurement island before zooming up is the distance measurement island (0) 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 (=) other than the distance measurement island (B) located at the center of the finder, a sea fence is 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.

変形例3 本例は、上記の変形例2と同様に、広視野モードにおい
て第50図に示すようなファインダ像が得られた場合に
、ピンボケ写真となるのを防止することを狙ったもので
ある。
Modification Example 3 This example, like the above-mentioned Modification Example 2, is aimed at preventing an out-of-focus photograph when a finder image as shown in FIG. 50 is obtained in wide-field mode. be.

本例では、広視野モードに設定されたとき、測距アイラ
ンドをファインダの中央に位置する測距アイランド(ロ
)に限定する。これにより、レリーズ時におけるズーム
アツプ後も測距の対象となる被写体上の位置が変化しな
いので、ズームアツプ後の再測距によってピントがずれ
ることはない。
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.

変形例4 本例は、実撮影領域(フィルム枠)が同一であっても、
最終的に得られる画面の領域が、スライドかサービスサ
イズのプリントかによって多少異なることに対処したも
のである。
Modification Example 4 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 photographing corresponding to the standard service size, it is desirable to zoom up by 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.

変形例5 本例は、変形例4と同様に、広視野モードにおけるズー
ムアツプの倍率に関してスライドとサービスサイズのプ
リントの両方に対応できるようにしたものである。
Modified Example 5 In this example, similar to Modified Example 4, the zoom-up magnification in wide-field mode can be applied to 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, by detecting the latitude coded on the film as part of the DX code, it is possible to identify whether it is a negative film or a versatile film. 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) at the time of release. 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.

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

前述の基本実施例では、ワイドビュースイッチ(SWv
)がONされるとそのままの画角(ファインダ像)でフ
ァインダ枠(FDI)内に撮影フレーム(FD2)が表
示され、その撮影フレーム(FD2)内の人物や風景な
どを撮影することになる。このシーフェンスの場合、例
えば、最初は通常視野モードにおいてファインダで動被
写体などを確認していて、もう少し外側の風景などを確
認したいことがあるが、このときワイドビュースイッチ
(SWv)をONするとファインダの内側に撮影フレー
ム(FD2)が表示され、ワイドビュースイッチ(S、
v)をONする前よりも小さな撮影領域内の被写体しか
撮影することができないという不都合がある。
In the basic embodiment described above, the wide view switch (SWv
) is turned on, a photographing frame (FD2) is displayed within the finder frame (FDI) with the same angle of view (finder image), and a person, scenery, etc. within the photographing frame (FD2) is 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 (SWv), The shooting frame (FD2) is displayed inside the , and the wide view switch (S,
There is an inconvenience that only objects within a smaller photographing area than before turning on v) can be photographed.

そこで本例では、このような不都合を解消するため、ワ
イドビュースイッチ(SWv)を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 (SWv) is turned on, the shooting area that was visible within the viewfinder frame (FDI) before turning on is changed to within the shooting frame (FD2) after turning 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図のサブルーチンが呼
び出されると、まず、ワイドビュースイッチ(S、v)
がONされているが否かを確認し、O’Nされていなけ
れば広視野モードが有効であることを示すフラグ(WV
F)をリセットし、撮影フレーム(FD2)の表示を○
FFしてリターンする(ステップ#C10,#C50,
#C60)。他方、ステップ(#Cl0)でワイドビュ
ースイッチ(SWv)がONされていると判定されれば
、ONされる前にファインダ枠(FDI)に見えていた
撮影領域がONされた後に撮影フレーム(FD2)内に
見える撮影領域と一致するように、0.7倍にズームダ
ウンするサブルーチンを実行する(ステップ#C20)
。そして、広視野モードが有効であることを示すフラグ
(WWF)をセットし、撮影フレーム(FD2)をファ
インダ枠(FDI)内に表示してリターンする(ステッ
プ#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 in Fig. 52 is called, first the wide view switch (S, v) is pressed.
Check whether it is turned on or not. If it is not turned on, check the flag (WV) indicating that wide-field mode is enabled.
F) and change the display of the shooting frame (FD2) to ○
FF and return (steps #C10, #C50,
#C60). On the other hand, if it is determined in step (#Cl0) that the wide view switch (SWv) is turned on, the photographing area that was visible in the viewfinder frame (FDI) before being turned on will be changed to the photographing frame (FD2) after being turned on. ) Execute a subroutine to zoom down 0.7 times to match the shooting area visible within ) (step #C20)
. Then, a flag (WWF) indicating that the wide field of view mode is valid is set, the photographing frame (FD2) is displayed within the finder frame (FDI), and the process returns (steps #C30, #C40).

次に、第53図に示す0,7倍にズームダウンする上記
サブルーチンについて説明する。間サブルーチンが呼び
出されると、まず、現在の焦点距離f7を0.7倍した
値がワイド端の焦点距離fmL。よりも小さいか否かを
ステップ(#C100)で判定し、小さくない場合は現
在焦点距離f、を0.7倍した値を目標焦点距!f、と
して設定しくステップ#C110)、小さい場合はワイ
ド端の焦点距離f+ntnを目標焦点距離f、として設
定する(ステップ#C120)。そして、ズーム速度を
設定して目標焦点距離f、までズーミングすることをレ
ンズに伝えるためにレンズ交信(IX)を実行した後、
10m5ec間隔でレンズの状態を調べるレンズ交信(
I[T)を繰り返しながらズームレンズ群が停止してフ
ラグ(ZMVF)がリセットされるのを待つ(ステップ
#C130〜#C170)。ズームレンズ群が停止すれ
ば、次の測距ではズーミングによって変化するレンズデ
ータを受信して測距演算を行なうようにするため、積分
開始タイミングを知らせるデータの転送を指示するフラ
グ(ITGTF)をセットしてリターンする(ステップ
#C180)。
Next, the subroutine for zooming down to 0.7 times as shown in FIG. 53 will be explained. When the interval subroutine is called, first, the value obtained by multiplying the current focal length f7 by 0.7 is the focal length fmL at the wide end. In step (#C100), it is determined whether or not the current focal length f is smaller than the target focal length f. f, step #C110), and if it is small, the focal length at the wide end, f+ntn, is set as the target focal length f (step #C120). Then, after executing lens communication (IX) to set the zoom speed and tell the lens to zoom to the target focal length f,
Lens communication to check the lens condition at 10m5ec intervals (
I[T] is repeated until the zoom 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 returns (step #C180).

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

変形例7 本例はオートワイドのシーフェンスの一部を修正したも
のである。
Modification Example 7 This example is a modification of a part of the auto wide sea fence.

前述の基本実施例では、オートワイド中に焦点検出可能
となった場合に、ズームレンズ群を停止させて通常の測
距に復帰し、焦点検出可能となった焦点距離で焦点合わ
せのシーフェンスを実行している。ところが、撮影者の
個性や撮影場面によっては、オートワイドに伴う画角の
変化を許容することができない場合がある。
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レ
ンズを駆動し、以降はAFレンズを駆動しないモード(
AFロックモード)を設定し、ズームレンズ群のみをオ
ートワイドを開始した位置に戻すというシーフェンスを
採用する。これにより、オートワイドを行なっても画角
が変化することがなく、撮影者の意図した写真を撮るこ
とができる。
Therefore, in this example, the AF lens is driven to focus on the subject when focus becomes detectable during auto wide, and the AF lens is not driven thereafter (
AF lock mode) is used, and only the zoom lens group is returned to the position where auto wide was started. As a result, the angle of view does not change even when auto-wide is performed, and the photographer can take the picture he or she intended.

変形例8 本例は、オートワイドにおいて焦点検出し易くしたもの
である。
Modified Example 8 In this example, focus detection is made easier in auto wide mode.

前述の基本実施例では、ローコンスキャン完了後にオー
トワイドのシーフェンスを開始しており(第15図のス
テップ#502)、オートワイド開始時のAFレンズの
位置は無限遠端に設定されている(第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 set to the infinity end. (Steps #690 to #705 in FIG. 22). In this state, for example, the focus cannot be detected for the object at the closest position because the defocus amount is too large, especially on the telephoto side.

そこで本例では、このような問題に対処するため、オー
トワイド開始時に、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.

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

前述の基本実施例では、CCD積分開始タイミングであ
ることを示すデータをボディ側からレンズ側に転送しく
レンズ交信I¥、V)、レンズ側は、そのデータを受は
取った時点のレンズの状態(焦点距離)に基づいたレン
ズデータの計算などを実行し、次のボディ側からのレン
ズデータの入力要求(C8割り込みによるレンズ交信■
)に備えている。これにより、CCD積分とレンズデー
タの計算とは同期をとりながら行なわれるが、CCD積
分に要する時間が長くなった場合には、CCD積分開始
時点でのレンズデータであっても時間的にずれが大きく
なる。
In the basic embodiment described above, data indicating that it is the timing to start CCD integration is transferred from the body side to the lens side (lens communication I\, V), and the lens side receives the data and transmits the state of the lens at the time it is received. (focal length), and then requests input of lens data 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.

第2表 第1表 第3表 第4表(その1) 第5表 第4表(その2) 発明の詳細 な説明した通り、本発明のカメラによれば、焦点調節用
レンズ群の駆動によって(ローコンスキャンによって)
焦点検出を可能とすることができないときは、ワイド側
へズーミングしながら焦点検出を繰り返すが、このズー
ミングの直前に焦点調節用レンズ群を特定位置に移動さ
せることができるようになっている。したがって、この
特定位置として、少なくとも近側の被写体に対してデフ
ォーカス量が極端に大きくならないレンズ位置を設定す
れば、ズーミングしながら焦点検出を繰り返した際に、
焦点検出が可能となり易くなる。
Table 2 Table 1 Table 3 Table 4 (Part 1) Table 5 Table 4 (Part 2) As described in detail of the invention, according to the camera of the present invention, by driving the focusing lens group, (by low contrast scan)
When focus detection cannot be made possible, focus detection is repeated while zooming to the wide side, but the focus adjustment lens group can be moved to a specific position just before zooming. Therefore, if you set this specific position to a lens position where the amount of defocus will not be extremely large, at least for the nearby subject, when focus detection is repeated while zooming,
Focus detection becomes possible and easier.

また、特定位置としてこのようなレンズ位置を設定する
ことにより、焦点検出が可能となるまでの時間も短縮さ
れる。
Moreover, by setting such a lens position as a specific position, the time required until focus detection becomes possible is also shortened.

(以下余白)(Margin below)

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

第1図は本発明を実施したカメラシステムを示すブロッ
ク図であり、第2図(a)は前記カメラシステムのボデ
ィの外部構成を示す図、第2図(b)は前記ボディに装
着される交換レンズの外部構成を示す図である。 第3図は前記ボディに内蔵されたボディ内回路を示す回
路図であり、第4図は前記交換レンズに内蔵されたレン
ズ内回路を示す回路図、第5図は前記カメラシステムに
おけるファインダ内の表示を示す図である。 第6図は前記カメラシステムの広視野モードにおける動
作シーフェンスの概要を示すシーフェンスチャートであ
シバ 第7図は前記カメラシステムのオートワイドの動
作シーフェンスの概要を示すシーフェンスチャート、第
8図は広視野モードにおけるファインダ内の像を示す図
、第9図はオートワイド中のファインダ内の像を示す図
である。 第10図は前記カメラシステムにおけるボディ内マイコ
ンのリセットルーチンを示すフローチャートであり、第
11図はAFレンズ繰り込みのサブルーチンを示すフロ
ーチャート、第12図はズームレンズ群繰り込みのサブ
ルーチンを示すフローチャート、第13図は広視野モー
ド判定のサブルーチンを示すフローチャート、第14図
は810)1のサブルーチンを示すフローチャート、・
第15図はAF開制御サブルーチンを示すフローチャー
ト、第16図はレンズからの割り込みを制御するレンズ
INT制御のサブルーチンを示すフローチャート、第1
7図〜第24図及び第28図は前記AF開制御サブルー
チンから呼び出される各サブルーチンを示すフローチャ
ート、第25図は露出演算のサブルーチンを示すフロー
チャート、第26図はAE量関係の表示を行なうサブル
ーチンを示すフローチャート、第27図は1.4倍ズー
ムのサブルーチンを示すフローチャート、第29図は露
出制御のサブルーチンを示すフローチャート、第30図
〜第38図はそれぞれレンズ交信(I)〜(IX)のサ
ブルーチンを示すフローチャートである。 第39図は前記カメラシステムにおけるレンズ内マイコ
ンのリセットルーチンを示すフローチャートであり、第
40図はズームレンズ群繰り込みのサブルーチンを示す
フローチャート、第41図はズームレンズ群の駆動を開
始するサブルーチンを示すフローチャート、第42図は
ズームレンズ群停止のサブルーチンを示すフローチャー
ト、第43図はレンズの情報を表示するサブルーチンを
示すフローチャート、第44図はF/ZINT割り込み
のルーチンを示すフローチャート、第45図はO8割り
込みのルーチンを示すフローチャート、第46図はレン
ズデータの計算のサブルーチンを示すフローチャート、
第47図はズームリング操作に基づいてズーミングを行
なうサブルーチンを示すフローチャート 第48図はボ
ディからの指示に基づいてズーミングを行なうサブルー
チンを示すフローチャートである。 第49図は変形例1の広視野モードにおける動作シーフ
ェンスの概要を示すシーフェンスチャートであり、第5
0図は変形例2の広視野モードにおけるファインダ像を
示す図、第51図は一眼レフカメラにおけるファインダ
枠、撮影フレーム。 及び実撮影領域の関係を示す図、第52図は変形例6で
使用する広視野ズーム判定のサブルーチンを示すフロー
チャート、第53図は前記広視野ズーム判定のサブルー
チンから呼び出される0、7倍ズームのサブルーチンを
示すフローチャートである。 (1)・・・ボディ制御部。 (2)・・・測距部。 (3)・・・焦点調節用レンズ群駆動制御部(焦点調節
用レンズ群駆動手段)。 (6)・・・レンズ制御部。 (7)・・・ズームレンズ群駆動制御部。 (12)・・・レリーズボタン。 (13)・・・ワイドビューキー (18)・・・オートワイドキー (L、)・・・焦点調節用レンズ群(AFレンズ)。 (LA)・・・ズームレンズ群。 (Ml)・・・焦点調節用レンズ群を駆動するモータ(
AFモータ)。 (M3)・・・ズームレンズ群を駆動するモータ(ズー
ムモータ)。 (Sl)・・・撮影準備スイッチ (焦点検出開始スイッチ) (S2)・・・レリーズスイッチ。 (S□)・・・ワイドビュースイッチ。 (SAv)・・・オートワイドスイッチ。 (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 an 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 overview of the operating sea fence in wide field mode of the camera system. FIG. 7 is a sea fence chart showing an overview of the operating sea fence in auto wide mode of the camera system. 9 is a diagram showing an image in the finder in wide field mode, and FIG. 9 is a diagram showing an image in the finder in auto wide mode. FIG. 10 is a flowchart showing a reset routine of the in-body microcomputer in the camera system, FIG. 11 is a flowchart showing a subroutine for renormalizing the AF lens, FIG. 12 is a flowchart showing a subroutine for renormalizing the zoom lens group, and FIG. 14 is a flowchart showing a subroutine for wide-field mode determination, and FIG. 14 is a flowchart showing a subroutine 810)1.
FIG. 15 is a flowchart showing the AF open control subroutine, FIG. 16 is a flowchart showing the lens INT control subroutine that controls interrupts from the lens,
7 to 24 and 28 are flowcharts showing each subroutine called from the AF opening control subroutine, FIG. 25 is a flowchart showing an exposure calculation subroutine, and FIG. 26 is a subroutine for displaying the AE amount relationship. 27 is a flowchart showing a subroutine for 1.4x zoom, FIG. 29 is a flowchart showing a subroutine for exposure control, and FIGS. 30 to 38 are subroutines for lens communication (I) to (IX), respectively. It is a flowchart which shows. 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 the subroutine for stopping the zoom lens group, Fig. 43 is a flowchart showing the subroutine for displaying lens information, Fig. 44 is a flowchart showing the F/ZINT interrupt routine, and Fig. 45 is a flowchart showing the O8 interrupt. FIG. 46 is a flowchart showing a subroutine for lens data calculation.
FIG. 47 is a flowchart showing a subroutine for zooming based on a zoom ring operation. FIG. 48 is a flowchart showing a subroutine for zooming based on instructions from the body. 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)...Release button. (13) Wide view key (18) Auto wide key (L, ) 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. (S□)...Wide view switch. (SAv)...Auto wide switch. (BD)...Camera body. (LE)...Interchangeable lens. (AFcT)... Light receiving circuit for focus detection (built-in integral type optical sensor) (μC1)... Microcomputer in the body. (μC2)...Microcomputer inside the lens. (FDI)...Finder frame. (FD2)... Shooting frame. (FD3)...Distance measurement area. (a) to (d)... Distance measurement island. Applicant Minolta Camera Co., Ltd.

Claims (5)

【特許請求の範囲】[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, low contrast scanning is performed. low contrast scan completion signal output means for outputting a completion signal; position setting means for setting a specific position to which the focusing lens group is to be moved; and continuing the focus detection even after the low contrast scan completion signal is output. When the start switch is turned on, after the focus adjustment lens group is moved to a specific position set by the position setting means by the focus adjustment lens group drive means, the focus adjustment lens group is moved by the zoom lens group drive means. A camera comprising: control means for controlling the focus detection means to repeat focus detection while zooming toward the wide side.
(2)前記位置設定手段は、前記特定位置として、少な
くとも近側の被写体に対してデフォーカス量が極端に大
きくならないレンズ位置を設定することを特徴とする第
1請求項に記載のカメラ。
(2) The camera according to claim 1, wherein the position setting means sets, as the specific position, a lens position where the amount of defocus does not become extremely large with respect to at least a nearby subject.
(3)前記位置設定手段は、前記特定位置として、前記
ローコンスキャン完了信号が出力された時点の焦点距離
における、無限遠被写体に合焦するレンズ位置と最近接
被写体に合焦するレンズ位置との中間のレンズ位置を設
定することを特徴とする第2請求項に記載のカメラ。
(3) The position setting means may set, as the specific positions, a lens position that focuses on an object at infinity and a lens position that focuses on the closest object at the focal length at the time when the low contrast scan completion signal is output. 3. The camera according to claim 2, wherein the lens position is set between .
(4)前記位置設定手段は、前記特定位置として、近側
の被写体に合焦するレンズ位置を設定することを特徴と
する第2請求項に記載のカメラ。
(4) The camera according to claim 2, wherein the position setting means sets a lens position that focuses on a nearby subject as the specific position.
(5)前記位置設定手段は、前記特定位置として、カメ
ラボディからほぼ2.5mの位置の被写体に合焦するレ
ンズ位置を設定することを特徴とする第2請求項に記載
のカメラ。
(5) The camera according to claim 2, wherein the position setting means sets, as the specific position, a lens position that focuses on a subject at a position approximately 2.5 m from the camera body.
JP21267790A 1990-02-11 1990-08-11 Camera Pending JPH0496029A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP21267790A JPH0496029A (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
JP21267790A JPH0496029A (en) 1990-08-11 1990-08-11 Camera

Publications (1)

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

Family

ID=16626580

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH0496029A (en)

Similar Documents

Publication Publication Date Title
JPH10312006A (en) Camera with automatic focusing function
US5319411A (en) Camera
JPH0734405Y2 (en) Camera lens storage device
JPH0496029A (en) Camera
JPH04171431A (en) Camera
JPH0496028A (en) Camera
JP2940101B2 (en) camera
JP2924792B2 (en) camera
JP3248586B2 (en) Camera system and camera
JP2993070B2 (en) camera
JP3319384B2 (en) camera
JPH0496030A (en) Camera
JP3171230B2 (en) camera
JP2874650B2 (en) camera
JP3360718B2 (en) camera
JP2940112B2 (en) Camera with virtual wide function
JP2940113B2 (en) Camera with virtual wide function
JP3204116B2 (en) Optical device
JP3206800B2 (en) Camera system with shake compensation function and interchangeable lens with shake compensation function
JP2874651B2 (en) camera
JP3144469B2 (en) camera
JPH0843710A (en) Camera provided with zoom lens
JP3164286B2 (en) camera
JPH01510A (en) autofocus camera
JPH02294605A (en) Cameras with interchangeable lenses and interchangeable lenses