JPH06130272A - Camera provided with motor-driven zooming function - Google Patents

Camera provided with motor-driven zooming function

Info

Publication number
JPH06130272A
JPH06130272A JP30617592A JP30617592A JPH06130272A JP H06130272 A JPH06130272 A JP H06130272A JP 30617592 A JP30617592 A JP 30617592A JP 30617592 A JP30617592 A JP 30617592A JP H06130272 A JPH06130272 A JP H06130272A
Authority
JP
Japan
Prior art keywords
zoom
flag
lens
pulse
zooming
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
JP30617592A
Other languages
Japanese (ja)
Inventor
Tadayuki Kirigatani
忠幸 桐ケ谷
Hiroyuki Takahashi
宏之 高橋
Masahiro Nakada
昌広 中田
Hideaki Tsuji
秀明 辻
Tetsuo Hosokawa
哲生 細川
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.)
Pentax Corp
Original Assignee
Asahi Kogaku Kogyo 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 Asahi Kogaku Kogyo Co Ltd filed Critical Asahi Kogaku Kogyo Co Ltd
Priority to JP30617592A priority Critical patent/JPH06130272A/en
Priority to GB9524857A priority patent/GB2294123B/en
Priority to GB9315654A priority patent/GB2271646B/en
Priority to GB9524855A priority patent/GB2294122B/en
Priority to GB9524854A priority patent/GB2294121B/en
Priority to FR9309402A priority patent/FR2697097B1/en
Priority to DE19934326454 priority patent/DE4326454C2/en
Publication of JPH06130272A publication Critical patent/JPH06130272A/en
Priority to US08/414,130 priority patent/US5654789A/en
Priority to US08/463,302 priority patent/US5680647A/en
Priority to US08/889,007 priority patent/US5812888A/en
Priority to US08/895,564 priority patent/US5754894A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain a camera provided with a zooming function which is easy to be used by constituting the camera so that a focusing action can be executed at the same time that a focal distance is changed without using a special switch or a special sensor. CONSTITUTION:When a zooming speed change-over switch 75 and a zooming set button 77 are operated, control processing related to power zooming is executed by a lens CPU 61. When a photographer turns an operation ring and sets the desired focal distance, he/she releases the hand from the zooming operation ring. Then, when the zooming operation ring is returned to a neutral position by the pressing force of an incorporated spring, a power zooming switch is changed to a turning-off state from a turning-on state and an off-edge is detected. By turning off the power zooming switch in such a way, a prescribed control procedure is executed and a distance to an object at a focusing time and the focal distance at that time are measured. Then, image magnification at that time is stored.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、焦点距離設定部材を
操作する事により焦点距離を変更するズーム機能を有す
るカメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera having a zoom function for changing the focal length by operating a focal length setting member.

【0002】[0002]

【従来の技術】従来より、焦点距離設定部材としてのズ
ームリングを回動する事により焦点距離を変更するズー
ム機能を有するカメラが提供されている。また、被写体
像を自動的に合焦させる所謂AF機能を有するカメラが
提供されている。この様なAF機能及びズーム機能を有
するカメラにおいて、シャッターボタンを半押し状態と
して、測光スイッチをオンした状態で、初めてAF機能
が発揮される様に設定されている。
2. Description of the Related Art Conventionally, a camera having a zoom function for changing a focal length by rotating a zoom ring as a focal length setting member has been provided. There is also provided a camera having a so-called AF function for automatically focusing a subject image. In a camera having such an AF function and a zoom function, the AF function is set to be exhibited for the first time when the shutter button is half-pressed and the photometric switch is turned on.

【0003】[0003]

【発明が解決しようとする課題】この為、従来のAF機
能及びズーム機能を有するカメラにおいて、例えば、撮
影者がシャッターボタンを半押し状態とせずに(即ち、
シャッターボタンに指をかけずに)、ファインダを覗い
たままの状態で、ズームリングを回動して焦点距離を変
更する場合、即ち、所謂フレーミングを行う場合におい
て、AF機能は発揮されないので、ファインダで覗いた
被写体像がぼけてしまい、使いにくい問題点が指摘さ
れ、改善が要望されていた。
Therefore, in a conventional camera having an AF function and a zoom function, for example, the photographer does not press the shutter button halfway (that is,
The AF function is not displayed when the focal length is changed by turning the zoom ring while looking through the viewfinder (without putting your finger on the shutter button). The image of the subject looked at was blurred, and the problem that it was difficult to use was pointed out, and improvement was requested.

【0004】この発明は、上述した事情に鑑みてなされ
たもので、この発明の目的は、特別なスイッチやセンサ
を用いることなく、焦点距離を変更する際に、同時に合
焦動作が実行される様にして、使い易いズーム機能を有
するカメラを提供する事である。
The present invention has been made in view of the above circumstances, and an object of the present invention is to perform a focusing operation at the same time when changing the focal length without using a special switch or sensor. Thus, it is to provide a camera having a zoom function that is easy to use.

【0005】[0005]

【課題を解決する為の手段】上述した課題を解決し、目
的を達成する為、この発明に係わるズーム機能を有する
カメラは、カメラ本体と、このカメラ本体に取り付けら
れたズームレンズと、このズームレンズでの焦点距離を
変更・設定する為の焦点距離設定部材と、前記カメラ本
体で結像した被写体像を自動的に合焦させる合焦手段
と、前記焦点距離設定部材を介して焦点距離が変更され
ている間、前記合焦手段をして合焦動作を実行させる制
御手段とを具備する事を特徴としている。また、この発
明か係わるズーム機能を有するカメラは、カメラ本体
と、このカメラ本体に取り付けられたズームレンズと、
このズームレンズでの焦点距離を変更・設定する為の焦
点距離設定部材と、前記カメラ本体で結像した被写体像
を自動的に合焦させる合焦手段と、前記焦点距離設定部
材を介して焦点距離が変更された時、前記合焦手段をし
て合焦動作を開始させる制御手段とを具備する事を特徴
としている。
In order to solve the above-mentioned problems and to achieve the object, a camera having a zoom function according to the present invention includes a camera body, a zoom lens attached to the camera body, and a zoom lens. A focal length setting member for changing and setting the focal length of the lens, a focusing means for automatically focusing the subject image formed by the camera body, and a focal length setting member for controlling the focal length via the focal length setting member. It is characterized by comprising a control means for performing the focusing operation by the focusing means during the change. A camera having a zoom function according to the present invention includes a camera body, a zoom lens attached to the camera body,
A focal length setting member for changing and setting the focal length of the zoom lens, a focusing means for automatically focusing the subject image formed by the camera body, and a focus through the focal length setting member. When the distance is changed, there is provided a control means for causing the focusing means to start the focusing operation.

【0006】[0006]

【実施例】以下、この発明に係るズーム機能を有するカ
メラの一実施例の構成を、添付図面を参照して詳細に説
明する。図1は、この一実施例が適用される自動焦点
(AF)一眼レフレックスカメラのカメラボディ11の
主要構成を示したブロック図であり、図2は、カメラボ
ディ11に着脱自在に取り付けられるパワーズームレン
ズ51の主要構成を示したブロック図であり、そして、
図3は、パワーズームレンズ51の回路構成を示すブロ
ック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration of an embodiment of a camera having a zoom function according to the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a main configuration of a camera body 11 of an automatic focusing (AF) single-lens reflex camera to which this embodiment is applied, and FIG. 2 is a power detachably attached to the camera body 11. 2 is a block diagram showing a main configuration of a zoom lens 51, and
FIG. 3 is a block diagram showing the circuit configuration of the power zoom lens 51.

【0007】このAF一眼レフカメラは、カメラボディ
11と、このカメラボディ11に着脱可能な撮影レンズ
としてのパワーズームレンズ51とを備えている。撮影
レンズ51のズーム光学系53からカメラボディ11内
に入射した被写体光束は、大部分がメインミラー13に
よりファインダ光学系を構成するペンタプリズム15に
向かって反射され、さらに反射光の一部が測光用IC1
7の受光素子(図示せず)に入射する。一方、カメラボ
ディ11内に入射した被写体光束のうち、メインミラー
13のハーフミラー部14に入射した被写体光束の一部
はここを透過し、後方のサブミラー19で下方に反射さ
れて測距用CCDセンサユニット21に入射する。
This AF single-lens reflex camera comprises a camera body 11 and a power zoom lens 51 as a taking lens which can be attached to and detached from the camera body 11. Most of the subject light flux that has entered the camera body 11 from the zoom optical system 53 of the taking lens 51 is reflected by the main mirror 13 toward the pentaprism 15 that constitutes the finder optical system, and part of the reflected light is measured. IC1
It is incident on the light receiving element 7 (not shown). On the other hand, of the subject light flux that has entered the camera body 11, a part of the subject light flux that has entered the half mirror portion 14 of the main mirror 13 passes through this, and is reflected downward by the sub mirror 19 at the rear side, and the CCD for distance measurement. It is incident on the sensor unit 21.

【0008】測光用IC17は、被写体光束を受光する
受光素子を備えていて、この受光素子が受光量に応じて
発生する電気信号を対数圧縮およびA/D変換し、周辺
部制御回路23を介して測光信号としてメイン(ボデ
ィ)CPU35に出力する。メインCPU35は、測光
信号およびフィルム感度情報に基づいて所定の演算を実
行し、露出用の適正シャッタ速度および絞り値を算出す
る。そして、これらのシャッタ速度および絞り値に基づ
いて露出機構(シャッタ機構)25および絞り機構27
を駆動する。
The photometric IC 17 is provided with a light receiving element for receiving the light flux of the object, logarithmically compresses and A / D converts the electric signal generated by the light receiving element according to the amount of received light, and through the peripheral control circuit 23. And outputs to the main (body) CPU 35 as a photometric signal. The main CPU 35 executes a predetermined calculation based on the photometric signal and the film sensitivity information to calculate an appropriate shutter speed and aperture value for exposure. Then, the exposure mechanism (shutter mechanism) 25 and the aperture mechanism 27 are based on the shutter speed and the aperture value.
To drive.

【0009】測距用CCDセンサユニット21は、いわ
ゆる位相差方式の測距センサであって、図示しないが、
被写体光束を二分割する分割光学系と、二分割された被
写体光束をそれぞれ受光して積分(光電変換およびその
電荷を蓄積)するCCDラインセンサを備えている。そ
して測距用CCDセンサユニット21は、CCDライン
センサが積分した積分データを、制御手段としてのメイ
ンCPU35に出力する。なお、測距用CCDセンサユ
ニット21は、周辺部制御回路23により駆動制御され
る。また、CCDセンサユニット21はモニタ素子を備
えていて、周辺部制御回路23は、このモニタ素子を介
して被写体輝度を検出し、その検出結果に応じて積分時
間を変更する。
The distance measuring CCD sensor unit 21 is a so-called phase difference type distance measuring sensor, and although not shown,
It is provided with a splitting optical system that splits the subject light flux into two and a CCD line sensor that receives and integrates (photoelectric conversion and accumulates the electric charge thereof) the subject light flux split into two. Then, the CCD sensor unit 21 for distance measurement outputs the integrated data integrated by the CCD line sensor to the main CPU 35 as a control means. The distance measuring CCD sensor unit 21 is drive-controlled by the peripheral control circuit 23. Further, the CCD sensor unit 21 includes a monitor element, and the peripheral part control circuit 23 detects the subject brightness through this monitor element and changes the integration time according to the detection result.

【0010】周辺部制御回路23は、デジタル測光信号
およびフィルム感度情報に基づいて所定の露出演算を実
行し、露出用の適正シャッタ速度および絞り値を算出す
る。そして、これらのシャッタ速度および絞り値に基づ
いて、露光機構(シャッタ機構)25および絞り機構2
7を駆動して露光する。さらに周辺部制御回路23は、
レリーズに際して、モータドライブ回路(モータードラ
イブIC)29を介してミラーモータ31を駆動してメ
インミラー13のアップ/ダウン処理を行ない、露光終
了後には巻上モータ33を駆動してフィルムを巻上げ
る。
The peripheral control circuit 23 executes a predetermined exposure calculation based on the digital photometric signal and the film sensitivity information to calculate an appropriate shutter speed and aperture value for exposure. Then, based on these shutter speeds and aperture values, the exposure mechanism (shutter mechanism) 25 and the aperture mechanism 2
7 is driven and exposed. Furthermore, the peripheral control circuit 23
At the time of release, the mirror motor 31 is driven through the motor drive circuit (motor drive IC) 29 to perform the up / down processing of the main mirror 13, and after the exposure is finished, the winding motor 33 is driven to wind the film.

【0011】さらにメインCPU35は、周辺部制御回
路23と、ボディマウント面に設けられた電気接点群B
Cと、パワーズームレンズ51のマウント面に設けられ
た電気接点群LCとの接続を介して、レンズCPU61
との間でデータ、コマンド等の通信を行なう。
Further, the main CPU 35 has a peripheral control circuit 23 and an electric contact group B provided on the body mount surface.
The lens CPU 61 is connected through the connection between C and the electric contact group LC provided on the mount surface of the power zoom lens 51.
Communicates data, commands, etc. with and.

【0012】また、メインCPU35は、測距用CCD
センサユニット21から出力される積分データに基づい
て所定の演算(プレディクタ演算)によりデフォーカス
量を算出し、そのデフォーカス量に基づいて、AFモー
タ39の回転方向および回転数(エンコーダ41のパル
ス数)を算出する。そしてメインCPU35は、その回
転方向およびパルス数に基づき、AFモータドライブ回
路37を介してAFモータ39を駆動する。
The main CPU 35 is a CCD for distance measurement.
The defocus amount is calculated by a predetermined calculation (predictor calculation) based on the integrated data output from the sensor unit 21, and the rotation direction and the rotation speed of the AF motor 39 (the number of pulses of the encoder 41 are calculated based on the defocus amount). ) Is calculated. Then, the main CPU 35 drives the AF motor 39 via the AF motor drive circuit 37 based on the rotation direction and the number of pulses.

【0013】さらにメインCPU35は、AFモータ3
9の回転に応じてエンコーダ41が出力するパルスを検
知し、カウントしてカウント値が上記パルス数に達した
らAFモータ39を停止させる。メインCPU35は、
このAFモータ39を、起動時にはDC駆動により一気
に加速してDC駆動を維持し、フォーカシングレンズ群
53Fが目標位置に接近したら停止前に徐々に減速して
停止させる。さらにメインCPU35は、エンコーダ4
1の出力パルスの間隔に基づいてAFモータ39を一定
速度制御する機能を有する。なお、AFモータ39の回
転は、カメラボディ11のマウント部に設けられたAF
ジョイント47と撮影レンズ51のマウント部に設けら
れたAFジョイント57との接続を介して撮影レンズ5
1のAF駆動機構55に伝達される。そして、AF駆動
機構55により、フォーカシングレンズ群53Fが駆動
される。
Further, the main CPU 35 is the AF motor 3
The pulse output from the encoder 41 is detected according to the rotation of 9, and the AF motor 39 is stopped when the pulse counts and the count value reaches the pulse number. The main CPU 35
The AF motor 39 is accelerated at once by DC drive at the time of startup to maintain the DC drive, and when the focusing lens group 53F approaches the target position, the AF motor 39 is gradually decelerated and stopped before the stop. Further, the main CPU 35 uses the encoder 4
It has a function of controlling the AF motor 39 at a constant speed based on the interval of one output pulse. The rotation of the AF motor 39 is performed by the AF provided on the mount portion of the camera body 11.
The photographic lens 5 is connected through a connection between the joint 47 and an AF joint 57 provided on the mount portion of the photographic lens 51.
1 is transmitted to the AF drive mechanism 55. Then, the AF driving mechanism 55 drives the focusing lens group 53F.

【0014】またメインCPU35は、プログラムをメ
モリしたROM35a、所定のデータをメモリするRA
M35bを内蔵し、さらに外部メモリ手段としてE2
ROM43が接続されている。このE2 PROM43に
は、カメラボディ11特有の各種定数のほかに、本発明
のAF(オートフォーカス)演算、PZ(パワーズー
ム)演算に必要な各種関数、定数などがメモリされてい
る。
Further, the main CPU 35 has a ROM 35a storing a program and an RA storing predetermined data.
Built-in M35b, E 2 P as external memory means
The ROM 43 is connected. In addition to various constants specific to the camera body 11, the E 2 PROM 43 stores various functions and constants necessary for AF (autofocus) calculation and PZ (power zoom) calculation of the present invention.

【0015】メインCPU35には、レリーズボタン
(図示せず)の半押しでオンする測光スイッチSWSお
よび同全押しでオンするレリーズスイッチSWR、自動
焦点スイッチSWAF、メインCPU35や周辺機器等
への電源をオン/オフするメインスイッチSWM、AF
モード、露出モードなどのモード、シャッタ速度などの
パラメータ変更用のアップダウンスイッチSWUP/D
OWNなどが接続されている。
The main CPU 35 is provided with a photometric switch SWS which is turned on by half-pressing a release button (not shown), a release switch SWR which is turned on by full-pressing the release button, an autofocus switch SWAF, and power supplies to the main CPU 35 and peripheral devices. Main switch SWM, AF to turn on / off
Mode, up / down switch SWUP / D for changing parameters such as exposure mode and shutter speed
OWN or the like is connected.

【0016】メインCPU35により設定されたAFモ
ード、露出モード、撮影モードなどのモード、シャッタ
速度、絞り値などの露出データは、メインCPU35に
より表示装置45に表示される。この表示装置45は、
通常、カメラボディ11の外面およびファインダ視野内
の2か所に設けられる。
The AF CPU, the exposure mode, the shooting mode and other modes set by the main CPU 35 and the exposure data such as the shutter speed and the aperture value are displayed on the display device 45 by the main CPU 35. This display device 45 is
Usually, it is provided on the outer surface of the camera body 11 and at two places within the viewfinder field.

【0017】カメラボディ11のマウント付近には、バ
ッテリ20の電力を撮影レンズに供給するための一対の
電源ピンBPCが設けられている。一方、パワーズーム
レンズ51にも、装着時に上記電源ピンBPCと電気的
に接続される一対の電源ピンLPCが設けられている。
A pair of power supply pins BPC for supplying the electric power of the battery 20 to the photographing lens is provided near the mount of the camera body 11. On the other hand, the power zoom lens 51 is also provided with a pair of power supply pins LPC that are electrically connected to the power supply pins BPC when mounted.

【0018】パワーズームレンズ51は、撮影光学系と
してフォーカシングレンズ群53Fおよびズーミングレ
ンズ群53Zを備えたズーム光学系53を有している。
フォーカシングレンズ群53Fは、AF機構55により
駆動される。このAF機構55には、AFジョイント5
7、47を介してAFモータ39の駆動力が伝達され
る。フォーカシングレンズ群53Fの移動量は、AF機
構55の回転に応じてパルスを出力するAFパルサー5
9のAFパルスをレンズCPU61がカウントして測定
する。なお、レンズCPU61は、AFパルスをハード
的にカウントするAFパルスハードカウンタを含んでい
る。ズーミングレンズ群53Zは、PZ(パワーズー
ム)機構67により駆動される。このPZ機構67を駆
動するズームモータ65は、レンズCPU61によりモ
ータドライブIC63を介し制御される。また、ズーミ
ングレンズ群53Zの移動量は、ズームモータ65の回
転に連動してPZパルサー69が出力するPZパルスを
レンズCPU61がカウントして測定する。
The power zoom lens 51 has a zoom optical system 53 having a focusing lens group 53F and a zooming lens group 53Z as a photographing optical system.
The focusing lens group 53F is driven by the AF mechanism 55. The AF mechanism 55 includes an AF joint 5
The driving force of the AF motor 39 is transmitted via 7, 47. The moving amount of the focusing lens group 53F is the AF pulsar 5 that outputs a pulse in accordance with the rotation of the AF mechanism 55.
The lens CPU 61 counts and measures 9 AF pulses. The lens CPU 61 includes an AF pulse hard counter that counts AF pulses in hardware. The zooming lens group 53Z is driven by a PZ (power zoom) mechanism 67. The zoom motor 65 that drives the PZ mechanism 67 is controlled by the lens CPU 61 via the motor drive IC 63. The movement amount of the zooming lens group 53Z is measured by the lens CPU 61 counting the PZ pulse output from the PZ pulsar 69 in association with the rotation of the zoom motor 65.

【0019】パルサー59、69は、例えば、円周方向
に等間隔で設けられた、半径方向に延びる複数のスリッ
トを有する回転円板と、この回転円板のスリットを挟ん
で対向するLEDおよびフォトダイオード(フォトイン
タラプタ)とを備えている。そして各パルサー59、6
9の回転円板は、AF機構55、PZ機構67の回転に
連動して回転する。また、各パルサー59、69のLE
Dのオン/オフはレンズCPU61により制御され、フ
ォトダイオードの出力(パルス)は、レンズCPU61
に入力される。
The pulsars 59 and 69 are, for example, a rotating disc having a plurality of slits extending in the radial direction, which are provided at equal intervals in the circumferential direction, and an LED and a photo that face each other across the slit of the rotating disc. And a diode (photo interrupter). And each pulsar 59, 6
The rotating disk 9 rotates in conjunction with the rotation of the AF mechanism 55 and the PZ mechanism 67. In addition, LE of each pulsar 59, 69
ON / OFF of D is controlled by the lens CPU 61, and the output (pulse) of the photodiode is obtained by the lens CPU 61.
Entered in.

【0020】さらに、ズーミングレンズ群53Zの絶対
位置(焦点距離)およびフォーカシングレンズ群53F
の絶対位置(合焦被写体距離)はそれぞれ、ズームコー
ド板71、距離コード板81により検出される。図4お
よび図5にこれらのコード板71、81の展開図を示し
た。各コード板71、81のコード列71a〜71f、
81a〜81eにはそれぞれ、ブラシ73、85が摺接
する。
Further, the absolute position (focal length) of the zooming lens group 53Z and the focusing lens group 53F.
The absolute position (focused subject distance) of is detected by the zoom code plate 71 and the distance code plate 81, respectively. 4 and 5 are developed views of these code plates 71 and 81. Code strings 71a to 71f of the code plates 71 and 81,
Brushes 73 and 85 are in sliding contact with 81a to 81e, respectively.

【0021】コード板71、81のうち各一列のコード
列71a、81aは接地され、複数のコード列71b〜
71e、81b〜81eは、レンズCPU61の入力ポ
ートに接続されている。ズームコード板71は、ズーミ
ングレンズ群53Zの全移動範囲を26分割して、各分
割領域を5ビットの絶対位置(焦点距離)情報で識別す
る。距離コード板81は、フォーカシングレンズ群53
Fの全移動範囲を8分割して、各分割領域を3ビットの
絶対位置(被写体距離)情報で識別する。各分割領域内
における相対位置は、それぞれパルサー69、59が出
力するパルス数のカウントにより検出する。距離コード
板81のコード列81eの指標83は、各領域の中央位
置を検出するためのものである。コード板71の各領域
の境界位置(切換わり点)72及びコード板81のコー
ド列81eの指標83は、それぞれパルサーのカウント
値修正の基準として利用される。
Of the code plates 71 and 81, each one of the code lines 71a and 81a is grounded, and a plurality of code lines 71b to 71b.
71e and 81b to 81e are connected to the input port of the lens CPU 61. The zoom code plate 71 divides the entire movement range of the zooming lens group 53Z into 26, and identifies each divided area with 5-bit absolute position (focal length) information. The distance code plate 81 includes the focusing lens group 53.
The entire moving range of F is divided into eight, and each divided area is identified by 3-bit absolute position (subject distance) information. The relative position in each divided area is detected by counting the number of pulses output by the pulsers 69 and 59, respectively. The index 83 of the code string 81e of the distance code plate 81 is for detecting the center position of each area. The boundary position (switching point) 72 of each area of the code plate 71 and the index 83 of the code row 81e of the code plate 81 are respectively used as a reference for correcting the count value of the pulsar.

【0022】パワーズームレンズ51は、操作スイッチ
類として、ズームスピード切替えスイッチ75およびズ
ームセットボタン77を備えている。ズームスピード切
替えスイッチ75は、パワーズームモードにおいて、テ
レ方向ズームとワイド方向ズーム、および各ズーム方向
におけるズーミングスピードをそれぞれ3段階調整する
スイッチ(詳細は図示せず)を備えている。ズームセッ
トボタン77は、パワーズームとマニュアル駆動ズーム
とを切り替えるスイッチ(D/M)、マニュアルパワー
ズームモード、一定の制御下で実行する複数のパワーズ
ームモードを切替えるPAスイッチ、制御パワーズーム
モード(像倍率一定パワーズームモード)のときに、現
焦点距離等をメモリするSLスイッチ等を備えている。
なお、ズームスピード切り替えスイッチ75は、図2B
に示す様に、レンズ鏡筒に対して回動自在および光軸方
向に移動可能に嵌められ、常時回転方向中立位置に付勢
されたズーム操作リング78に連動する。なお、このズ
ーム操作リング78は、光軸方向に沿って移動される事
により、パワーズームモードとマニュアルズームモード
とを機械的に切替える機構も備えている。
The power zoom lens 51 is provided with a zoom speed changeover switch 75 and a zoom set button 77 as operation switches. The zoom speed changeover switch 75 includes a switch (details not shown) for adjusting the zoom in the tele direction and the zoom in the wide direction and the zooming speed in each zoom direction in three stages in the power zoom mode. The zoom set button 77 includes a switch (D / M) for switching between power zoom and manual drive zoom, a manual power zoom mode, a PA switch for switching between a plurality of power zoom modes executed under constant control, and a control power zoom mode (image In the constant magnification power zoom mode), an SL switch for storing the current focal length and the like is provided.
The zoom speed changeover switch 75 is shown in FIG.
As shown in, the zoom lens is fitted in the lens barrel so as to be rotatable and movable in the optical axis direction, and is interlocked with the zoom operation ring 78 that is always biased to the neutral position in the rotational direction. The zoom operation ring 78 also has a mechanism for mechanically switching between the power zoom mode and the manual zoom mode by being moved along the optical axis direction.

【0023】以上のズームスピード切替えスイッチ75
およびズームセットボタン77の各接点はレンズCPU
61に接続されている。レンズCPU61は、これらの
スイッチ操作を受けてパワーズームに関する制御処理を
行なう。
The above zoom speed changeover switch 75
And each contact of the zoom set button 77 is a lens CPU
It is connected to 61. Upon receiving these switch operations, the lens CPU 61 performs control processing relating to power zoom.

【0024】レンズCPU61は、インターフェース6
2、通信接点LC、BCおよびカメラボディの周辺部制
御回路23を介してメインCPU35と接続され、メイ
ンCPU35との間で双方向通信により所定のデータ通
信を実行する。レンズCPU61からメインCPU35
に伝達されるデータとしては、開放絞り値AVMIN、最大
絞り値AVMAX、最小、最大焦点距離、現焦点距離、現被
写体距離、Kバリュー情報などのほかに、AFパルス
数、PZパルス数などがある。なおKバリュー情報と
は、ズーム光学系53により結像された像面を単位距離
(例えば1mm)移動させるために必要なエンコーダ41
(AFパルサー59)のパルス数データである。
The lens CPU 61 is an interface 6
2. Connected to the main CPU 35 via the communication contacts LC, BC and the peripheral part control circuit 23 of the camera body, and perform predetermined data communication by bidirectional communication with the main CPU 35. From lens CPU 61 to main CPU 35
As the data transmitted to, the maximum aperture value A VMIN , maximum aperture value A VMAX , minimum, maximum focal length, current focal length, current subject distance, K value information, AF pulse number, PZ pulse number, etc. There is. The K value information is the encoder 41 required to move the image plane formed by the zoom optical system 53 by a unit distance (for example, 1 mm).
This is the pulse number data of (AF pulser 59).

【0025】図3には、パワーズームレンズ51のより
詳細な回路をブロックで示してある。電気接点群LC
は、インターフェース62に接続されたCONT端子、RES
端子、■SCK端子、DATA端子およびGND 端子の5個の端
子を備えている。こららの端子の内、CONT端子およびGN
D 端子を介して、レンズCPU61等の動作に必要な電
源電圧がカメラボディ11から供給され、残りのRES 端
子、■SCK端子およびDATA端子を介して通信が行なわれ
る。RES 端子は主にリセット信号、■SCK端子はクロッ
ク、DATA端子は所定の情報、コマンドなどのデータの通
信に供せられる。なお本明細書では、記号"■" は、ト
ップバーを意味し、この記号"■" が前に付された記号
は、アクティブロー、または反転信号であることを表わ
す。電源ピンLPCは、VBATT 端子およびPGND端子から
なる。これらのVBATT 、PGND端子を介して、ズームモー
タ65の駆動に必要な電力が、カメラボディ11のバッ
テリ20から供給される。電力の供給は、周辺部制御回
路23を介してCPU35によりコントロールされる。
なお、図中91はクロック発生回路である。また、VBAT
T端子は、モータドライブIC63、および抵抗R4を
介してレンズCPU61の電圧モニタ用のポートP12
にそれぞれ接続されている。
FIG. 3 is a block diagram showing a more detailed circuit of the power zoom lens 51. Electrical contact group LC
Is the CONT terminal connected to the interface 62, RES
It has five terminals, SCK terminal, DATA terminal and GND terminal. Among these terminals, CONT terminal and GN
A power supply voltage necessary for the operation of the lens CPU 61 and the like is supplied from the camera body 11 via the D terminal, and communication is performed via the remaining RES terminal, (2) SCK terminal and DATA terminal. The RES terminal is mainly used for reset signals, the SCK terminal is used for clocks, and the DATA terminal is used for communication of predetermined information and data such as commands. In the present specification, the symbol "■" means a top bar, and the symbol preceded by the symbol "■" represents an active low signal or an inverted signal. The power supply pin LPC is composed of a VBATT terminal and a PGND terminal. Electric power required to drive the zoom motor 65 is supplied from the battery 20 of the camera body 11 via these VBATT and PGND terminals. The power supply is controlled by the CPU 35 via the peripheral control circuit 23.
Incidentally, reference numeral 91 in the figure denotes a clock generation circuit. Also, VBAT
The T terminal is a port P12 for voltage monitoring of the lens CPU 61 via the motor drive IC 63 and the resistor R4.
Respectively connected to.

【0026】『レンズCPUのメイン処理』図6および
図7を参照して、レンズCPU61のメイン処理につい
て説明する。また、インストラクションコマンドを表
1、2に、カメラボディから種々のボディ側のデータを
レンズ側に送るためのコマンド(データ)を表3に、レ
ンズから種々のレンズ側のデータを送るためのコマンド
を表4に、レンズCPU61のRAM61bのメモリマ
ップを表5〜表11に示してある。また、この一実施例
例の説明で用いられるフラグを一括して説明するフラグ
リストを表12〜表15に示してある。
[Main Processing of Lens CPU] The main processing of the lens CPU 61 will be described with reference to FIGS. 6 and 7. Tables 1 and 2 show instruction commands, Table 3 shows commands (data) for sending data of various body sides from the camera body to the lens side, and commands for sending data of various lens sides from the lens. Table 4 shows memory maps of the RAM 61b of the lens CPU 61 in Tables 5-11. Tables 12 to 15 show a flag list for collectively explaining the flags used in the description of this embodiment.

【表1】 [Table 1]

【表2】 [Table 2]

【表3】 [Table 3]

【表4】 [Table 4]

【表5】 [Table 5]

【表6】 [Table 6]

【表7】 [Table 7]

【表8】 [Table 8]

【表9】 [Table 9]

【表10】 [Table 10]

【表11】 [Table 11]

【表12】 [Table 12]

【表13】 [Table 13]

【表14】 [Table 14]

【表15】 [Table 15]

【0027】メインルーチンでは、先ずレンズCPU6
1は、高速作動モードのセット、割込みの禁止、スタッ
クアドレスのセット、ポートPの初期化を行ない、ズー
ムコード板71から現在の絶対ズームコードを入力する
(S101〜S109)。そして、ズームコードに基づ
いて演算したデータをRAM61bにメモリし、カメラ
ボディ11のクロック信号による通信(旧通信)により
RAM61bにメモリしたデータ群(表5の LC0〜
LC15)をカメラボディ11に送信する(S11
1)。そして、送信が終了したら3msタイマーをスター
トさせる(S113)。
In the main routine, first the lens CPU 6
1 sets the high-speed operation mode, prohibits interrupts, sets the stack address, initializes the port P, and inputs the current absolute zoom code from the zoom code plate 71 (S101 to S109). Then, the data calculated based on the zoom code is stored in the RAM 61b, and the data group (LC0 to LC0 in Table 5) stored in the RAM 61b by communication (old communication) by the clock signal of the camera body 11 is performed.
LC15) is transmitted to the camera body 11 (S11
1). Then, when the transmission is completed, the 3 ms timer is started (S113).

【0028】その後、旧通信が正常に終了すると、イン
ターフェース62からKAFEND信号(“L”レベル)が出
力されるので、それを3msタイマーがタイムアップする
まで待つ(S115、S117)。3msタイマーがタイ
ムアップする前に旧通信終了信号(KAFEND信号)
が出力されなかったときには、旧通信が正常に終了しな
かったことになるので、ストップ処理(クロック91の
停止)を行なって処理を停止する(S115、S11
7、S119)。タイムアップ前にKAFEND信号が
出力されたときには正常動作なので、カメラボディ11
から通信によりコマンドを受信するが、それが新通信可
能なカメラであることを識別する新通信コマンドでなけ
れば、新通信可能なボディではない場合があるので、ス
トップ処理を行なう(S121、S123、S11
9)。新通信とは、カメラボディと撮影レンズとの間に
おいて、撮影レンズのクロックに同期して双方向にコマ
ンド、データの送受が可能な通信である。
After that, when the old communication ends normally, a KAFEND signal ("L" level) is output from the interface 62, and this is waited until the 3 ms timer expires (S115, S117). Old communication end signal (KAFEND signal) before 3ms timer expires
If is not output, it means that the old communication has not been normally completed, so stop processing (stopping the clock 91) is performed to stop the processing (S115, S11).
7, S119). When the KAFEND signal is output before the time is up, the operation is normal, so the camera body 11
Although the command is received from the communication device from the device, if the command is not a new communication command for identifying that the camera is capable of new communication, the body may not be capable of new communication, so stop processing is performed (S121, S123, S11
9). The new communication is communication in which commands and data can be transmitted and received bidirectionally between the camera body and the taking lens in synchronization with the clock of the taking lens.

【0029】新通信コマンドを受信したときには、コマ
ンド受信完了信号をカメラボディ11に出力し、2msタ
イマ割込みの許可および2msタイマをスタートさせ、さ
らに、新通信の割込みを許可し、他の割込みも許可する
(S123、S125、S127、S128、S12
9)。これ以降、2msタイマ割込み処理及び新通信の
割込みが可能になる。以上の処理は、カメラボディ11
のメインスイッチがオンされ、ボディ11から電力が供
給されたとき最初に実行される。その後は、メインスイ
ッチがオンされている間は以下の処理が繰り返される。
When a new communication command is received, a command reception completion signal is output to the camera body 11, the 2ms timer interrupt is enabled and the 2ms timer is started, and the new communication interrupt is enabled and other interrupts are enabled. Yes (S123, S125, S127, S128, S12
9). After this, 2ms timer interrupt processing and new communication interrupts are possible. The above processing is performed by the camera body 11
When the main switch is turned on and power is supplied from the body 11, it is first executed. After that, the following processing is repeated while the main switch is turned on.

【0030】ズームコード板71からズームコードを入
力する(S131)。ズームコードが前回と異なれば、
距離コードデータを入力して、これを含むレンズコード
データLC2をRAM61bにメモリし(表5参照)、
ズームコードのデータに基づいて演算を行ない、算出し
たデータをLC0〜17及びLB4、LBBデータとし
てレンズRAM61bにメモリする(S133、S13
5、S137)。ズームコードが前回と同一であれば、
カメラボディ11から距離コードデータを入力してこれ
を含むレンズコードデータ(LC2)をレンズRAM6
1bの所定のアドレスにメモリする(S133、S13
9、S141)。
The zoom code is input from the zoom code plate 71 (S131). If the zoom code is different from the last time,
By inputting the distance code data, the lens code data LC2 including this is stored in the RAM 61b (see Table 5),
Calculation is performed based on the zoom code data, and the calculated data is stored in the lens RAM 61b as LC0 to 17 and LB4 and LBB data (S133, S13).
5, S137). If the zoom code is the same as the last time,
The distance code data is input from the camera body 11 and the lens code data (LC2) including the distance code data is input to the lens RAM 6
The data is stored in a predetermined address of 1b (S133, S13
9, S141).

【0031】次に、カメラボディからの通信割込みで、
ストップ要求があったかどうか(フラグF STADB
Yがセットされているかどうか)、2msタイマ割込み
内でレンズからの電力要求があったかどうか(フラグF
LBATREQがセットされているかどうか)をチェ
ックし、ストップの要求がないとき、または電力要求が
あるときには像倍率一定ズーム処理(ISZ処理)を行
なってからNIOST処理、つまりメインルーチンのS
131に戻って上記処理を繰り返す(S143、S14
5、S147)。なお、電力要求とは、カメラボディ1
1内のバッテリ20の電力をズームモーター65駆動用
に、電源ピンBPC、LPCを介してパワーズームレン
ズ51に供給することをカメラボディ11(ボディCP
U35)に要求することをいう。
Next, a communication interrupt from the camera body
Whether there was a stop request (flag F STADB
Whether Y is set or not There was a power request from the lens within the 2ms timer interrupt (flag F)
LBATREQ is set), and when there is no stop request or when there is a power request, constant image magnification zoom processing (ISZ processing) is performed before NIOST processing, that is, S in the main routine.
Returning to 131, the above process is repeated (S143, S14).
5, S147). In addition, the power demand means the camera body 1
In order to drive the zoom motor 65, the power of the battery 20 in the camera 1 is supplied to the power zoom lens 51 via the power pins BPC and LPC.
U35) means to make a request.

【0032】ストップの要求がありかつバッテリの要求
がないときには、ストップ準備(2msタイマ割込み禁
止、ストップ解除の準備)の後にストップ処理を行なう
(S143、S145、S149、S151)。つま
り、レンズCPU61は、クロック91を止めて低消費
電力(スタンバイ)モードに入る。このストップ状態
(低消費電力モード)は、例えば、カメラボディからの
通信割込みにより解除され、通常動作(クロック91作
動)に戻る。通常動作に戻ると、通信割込みルーチン終
了後にS153に復帰し、通信割込みにて、ストップ要
求が無くなるかまたは電力要求があったときに、2msタ
イマ割込みの許可および2msタイマスタート処理を行な
ってS131に戻るが、それ以外のときにはS149に
戻って再びストップ状態(省電力モード)に入る(S1
53、S155、S157)。
When there is a request for stop and no battery request, stop processing is performed after stop preparation (2 ms timer interrupt disabled, stop release preparation) (S143, S145, S149, S151). That is, the lens CPU 61 stops the clock 91 and enters the low power consumption (standby) mode. This stop state (low power consumption mode) is released by, for example, a communication interrupt from the camera body, and returns to the normal operation (clock 91 operation). When the operation returns to the normal operation, the process returns to S153 after the communication interrupt routine ends, and when the stop request is lost or the power is requested by the communication interrupt, the 2ms timer interrupt is permitted and the 2ms timer start process is performed, and the process is returned to S131. Return, but otherwise return to S149 to enter the stop state (power saving mode) again (S1
53, S155, S157).

【0033】『INT1処理』レンズCPU61により
実行される、図8に示した通信割込み(INT1)処理
について説明する。INT1処理は、通信割込みを行な
う処理であって、通信により受信したコマンド及びデー
タ等に基づいた処理を行なう。なお、このINT1処理
は、レンズCPU61のポートPINTIにインターフェー
ス62からの割込み信号が入力されたときに開始され
る。
"INT1 Processing" The communication interrupt (INT1) processing shown in FIG. 8 executed by the lens CPU 61 will be described. The INT1 process is a process for making a communication interrupt, and is a process based on a command and data received by communication. The INT1 process is started when an interrupt signal from the interface 62 is input to the port PINTI of the lens CPU 61.

【0034】通信割込みに入ると、先ず、通信割込みを
禁止し、ストップフラグ(F STADBY) およびN
Gフラグ(シリアル通信同期クロック信号NGフラグF
SCKNG、及び、コマンドNGフラグF CMDN
G) をクリアした後にカメラボディ11からコマンドを
入力する(S201、S203、S205)。そして、
入力したコマンドの上位4ビットをチェックして、その
上位ビットに応じたサブルーチンに進む(S207〜S
229)。さらに各サブルーチンにおいて、下位ビット
に応じた処理を行なう。本実施例では、上位ビット(4
ビット)により識別するサブルーチンとして、LBコマ
ンドサブルーチン、BLコマンドサブルーチン、インス
トラクションコードサブルーチン、16byteデータ、前
半8byteデータ、後半8byteデータサブルーチン、1バ
イト毎データサブルーチン、テストモードサブルーチン
が設けられている(S209、S213、S217、S
221、S225、S229)。
When the communication interrupt is entered, first, the communication interrupt is prohibited and the stop flag (F STADBY) and N
G flag (serial communication synchronous clock signal NG flag F
SCKNG and command NG flag F CMDN
After clearing G), a command is input from the camera body 11 (S201, S203, S205). And
Check the upper 4 bits of the input command, and proceed to the subroutine corresponding to the upper bit (S207-S
229). Further, in each subroutine, processing according to the lower bit is performed. In this embodiment, the high-order bit (4
LB command subroutine, BL command subroutine, instruction code subroutine, 16 byte data, first half 8 byte data, second half 8 byte data subroutine, 1 byte data subroutine, and test mode subroutine are provided as subroutines identified by (bit) (S209, S213). , S217, S
221, S225, S229).

【0035】上記4ビットが上記の設定されたビットで
なければ、コマンドNGフラグF_CMNDNGをセッ
トし、通信割込みを許可してメインルーチンに復帰する
(S227、S231、S233)。
If the above 4 bits are not the above set bits, the command NG flag F_CMNDNG is set, the communication interrupt is permitted, and the process returns to the main routine (S227, S231, S233).

【0036】『2msタイマ割込み処理』図9に示した2
msタイマ割込みフローチャートを参照して、2msタイマ
により割込みが入ったときのレンズCPU61の処理に
ついて説明する。2msタイマは、2ms経過する毎に割込
み信号を出力する、レンズCPU61の内蔵ハードタイ
マであり、2msタイマ割込みは、2msタイマがタイムア
ップする毎に、割込みが許可されていることを条件に割
込み処理を行なう定期的なインターバル処理である。
"2ms timer interrupt processing" 2 shown in FIG.
The processing of the lens CPU 61 when an interrupt is input by the 2 ms timer will be described with reference to the ms timer interrupt flowchart. The 2ms timer is a built-in hardware timer of the lens CPU 61 that outputs an interrupt signal every 2ms, and the 2ms timer interrupt is interrupted on condition that the interrupt is enabled each time the 2ms timer times up. This is a regular interval process for performing.

【0037】2msタイマ割込み処理に入ると、先ず、他
の割込みを禁止する(S301)。次に、AFパルスカ
ウンタから現在値を入力してレンズRAM61bにメモ
リし、距離コード板81から現在の距離コードデータを
入力してレンズRAM61bにメモリする(S303、
S305)。そして、必要に応じて、AFパルス数を補
正し、現在の距離コードを次回の2msタイマ割込み処理
のために前回の距離コードとしてレンズRAM61bの
別のアドレスにメモリする(S307、S309)。
When the 2 ms timer interrupt process is started, first, other interrupts are prohibited (S301). Next, the current value is input from the AF pulse counter and stored in the lens RAM 61b, and the current distance code data is input from the distance code plate 81 and stored in the lens RAM 61b (S303,
S305). Then, if necessary, the AF pulse number is corrected, and the current distance code is stored in another address of the lens RAM 61b as the previous distance code for the next 2 ms timer interrupt processing (S307, S309).

【0038】次に、ズームコード板71から現在のズー
ムコードを読み込んで現在のズームコードとしてレンズ
RAM61bにメモリし、ズームモード切換えスイッチ
77の切換え状態とズームスピード切替えスイッチ75
の切替え状態を入力する(S311、S313)。そし
て、パワーズームモードであればDZ処理に進み、マニ
ュアルズームモードであればMZ処理に進む(S31
5)。
Next, the current zoom code is read from the zoom code plate 71, stored in the lens RAM 61b as the current zoom code, and the switching state of the zoom mode changeover switch 77 and the zoom speed changeover switch 75.
The switching state of is input (S311, S313). Then, in the power zoom mode, the process proceeds to the DZ process, and in the manual zoom mode, the process proceeds to the MZ process (S31).
5).

【0039】『DZ処理』図10に示したDZ、MZ処
理は、それぞれ電動(パワー)ズームおよびマニュアル
(手動)ズーム処理に関するフローチャートである。こ
れらの処理は、レンズCPU61により実行される。パ
ワーズーム(DZ)処理では、先ず、ズーミングレンズ
群53Zが端点に達しているかどうかを検出する端点検
出処理(端点検出サブルーチン)を実行する(S35
1)。
"DZ Process" The DZ and MZ processes shown in FIG. 10 are flowcharts relating to the electric (power) zoom process and the manual (manual) zoom process, respectively. These processes are executed by the lens CPU 61. In the power zoom (DZ) process, first, an end point detection process (end point detection subroutine) for detecting whether or not the zooming lens group 53Z has reached the end point is executed (S35).
1).

【0040】次に、ズームスピード切替えスイッチ75
及びフラグF MOVTRG、F MOV等の制御用フラ
グに基づいて、モータを制御するためのフラグ等をセッ
トし、PZパルスおよび焦点距離の現在値の入力及びR
AM61bへのメモリ、必要に応じてPZパルスの補正
を行ない、また、ズーミングレンズ群53Zの現在位置
が不明のときは、ズーミングレンズ群53Zに関するポ
ジションイニシャライズ(PZ−INITPOS)処理
を行なって、次回の2msタイマ割込み処理のために前回
のズームコードとしてズームコードを別のアドレスにメ
モリする(S353、S355、S357)。
Next, the zoom speed changeover switch 75
And flag F MOVTRG, F Hula for controlling MOV, etc.
Flag, etc. for controlling the motor based on the
The current value of PZ pulse and focal length and R
Memory to AM61b, PZ pulse correction if necessary
And the current position of the zooming lens group 53Z.
If it is unknown, the zoom lens group 53Z
Position initialization (PZ-INITPOS) processing
For the next 2ms timer interrupt processing
Zoom code to another address as
Memory (S353, S355, S357).

【0041】像倍率一定ズームモード(F ISM=
1)(ISZ処理)であれば、ISZメモリ処理を行な
い、次回の2msタイマ割込み処理用に、ズームスイッチ
75、77の状態を保存する(S357〜S361)。
そして、S353においてセットしたフラグに応じてズ
ームモータ65の駆動制御、割込みビット・フラグの設
定、PWM制御用のデューティー比アップ処理およびP
WM制御時にはPWMタイマーのスタートなどを行なう
(S363)。そして、割込みを許可してリターンする
(S395)。
Constant image magnification zoom mode (F ISM =
If 1) (ISZ processing), ISZ memory processing is performed, and the states of the zoom switches 75 and 77 are saved for the next 2 ms timer interrupt processing (S357 to S361).
Then, in accordance with the flag set in S353, drive control of the zoom motor 65, setting of an interrupt bit flag, duty ratio increase processing for PWM control, and P
During the WM control, the PWM timer is started (S363). Then, the interrupt is permitted and the process returns (S395).

【0042】マニュアルズーム(MZ)サブルーチンで
は、先ずズームモータ65をストップし、PZパルサー
69のLEDをオフし、バッテリリクエスト(電力要
求)フラグ(F LBATREQ)をクリアし、PZレ
ンズステートPZ−LSTデータの各ビットをクリアす
る(S371、S373、S375、S379)。
In the manual zoom (MZ) subroutine, first, the zoom motor 65 is stopped, the LED of the PZ pulsar 69 is turned off, and the battery request (power request) flag (F LBATREQ) and each bit of the PZ lens state PZ-LST data are cleared (S371, S373, S375, S379).

【0043】次に、PZコントロールに関するデータを
レンズRAM61bの所定アドレスからクリアし、次回
の2msタイマ割込み処理用にズームコードを保存(メモ
リ)する(S381、S383)。そして、ズームコー
ドより粗検出したPZパルス数を、PZパルス現在値
(PZPX)、およびPZパルススタート値(PZPS
TART)としてレンズRAM61bにメモリし、PZ
パルスカウンタ(PZPCNT)をクリアする。また、
粗検出したPZパルスの現在値を現在の焦点距離(粗デ
ータ)に変換してメモリする(S383、S385、S
387)。
Next, the data regarding the PZ control is cleared from the predetermined address of the lens RAM 61b, and the zoom code is stored (memory) for the next 2 ms timer interrupt processing (S381, S383). Then, the number of PZ pulses roughly detected from the zoom code is set to the current PZ pulse value (PZPX) and the PZ pulse start value (PZPS
TART) is stored in the lens RAM 61b as a PZ
Clear the pulse counter (PZPCNT). Also,
The current value of the roughly detected PZ pulse is converted into the current focal length (rough data) and stored (S383, S385, S).
387).

【0044】そして、ズームスイッチ75、77の状態
を次回の2msタイマ割込み処理用に保存し、2msタイマ
ーをスタートし、2msタイマ割込みを許可し、INT3
(PZパルスカウント)割込みおよびINT2(PW
M)割込みを禁止する(S389〜S393)。そし
て、他の割込みを許可してリターンする(S395)。
Then, the states of the zoom switches 75 and 77 are saved for the next 2 ms timer interrupt processing, the 2 ms timer is started, the 2 ms timer interrupt is enabled, and INT3 is set.
(PZ pulse count) interrupt and INT2 (PW
M) Disable interrupts (S389 to S393). Then, the other interrupts are permitted and the process returns (S395).

【0045】『PWMの制御方法』PWM制御方法につ
いて、図11ないし図13に示したフローチャートに基
づいて説明する。図11は、図9及び図10に示す2ms
タイマ割込みルーチンのPWM制御に関する部分を抜粋
したものである。また、図12は、図95および図96
に示す、PZパルスカウント割込みルーチンのPWM制
御に関する部分を抜粋したものである。図13は、PW
M制御時のPWM割込みルーチン(ブレーキ処理)であ
る。
"PWM Control Method" The PWM control method will be described with reference to the flow charts shown in FIGS. FIG. 11 shows 2 ms shown in FIGS. 9 and 10.
This is an excerpt of the part related to the PWM control of the timer interrupt routine. In addition, FIG. 12 is similar to FIGS.
This is an excerpt of the part relating to the PWM control of the PZ pulse count interrupt routine shown in FIG. FIG. 13 shows PW
It is a PWM interrupt routine (brake process) during M control.

【0046】ここで、図6のメインフローと各種割込み
ルーチンとの関係について説明する。図6のメインフロ
ーチャートのS127〜S131、S131〜S157
のルーチン中では、通信割込み、2msタイマー割込み、
PZパルスカウント割込み、PWM割込みのいずれかに
よる割込みが可能である。また、通信割込みルーチンに
おいては、2msタイマ割込み、PZパルスカウント割込
み、PWM割込みのいずれかによる割込みが可能となっ
ている。
Now, the relationship between the main flow of FIG. 6 and various interrupt routines will be described. S127 to S131 and S131 to S157 of the main flowchart of FIG.
In the routine of, communication interrupt, 2ms timer interrupt,
It is possible to interrupt by either PZ pulse count interrupt or PWM interrupt. Further, in the communication interrupt routine, it is possible to interrupt by a 2 ms timer interrupt, a PZ pulse count interrupt, or a PWM interrupt.

【0047】PWM制御は、通電時間と非通電時間の比
(PWMデューティー比T PWMBRK)を増減する
ことにより速度を制御している。つまり、本実施例で
は、設定時間内にPZパルスが来なければPWMデュー
ティー比T PWMBRKをアップしてズームモータ6
5への通電時間を長くすることにより高速化し、PZパ
ルスが規定時間内に来ればPWMデューティー比(T
PWMBRK)をダウンしてズームモータ65への通電
時間を短くすることにより低速化する、という制御によ
り一定速度制御を実現している(図14参照)。
In the PWM control, the ratio of the energized time and the non-energized time (PWM duty ratio T The speed is controlled by increasing or decreasing (PWMBRK). That is, in this embodiment, if the PZ pulse does not come within the set time, the PWM duty ratio T Increase PWM BRK and zoom motor 6
The speed is increased by lengthening the energization time to No. 5, and if the PZ pulse comes within the specified time, the PWM duty ratio (T
The constant speed control is realized by the control of decreasing the PWMBRK) to shorten the energization time to the zoom motor 65 to reduce the speed (see FIG. 14).

【0048】また、本実施例では、起動時(モータが停
止状態またはブレーキ状態から動作状態になった時)に
はデューティー比を最小(通電時間を最短)にセットし
てからズームモータ65への通電を開始し、PZパルサ
ー69が出力するパルスをカウントする。そして、設定
時間内にパルスが出力されないときにはデューティー比
を徐々に上げる一方、設定時間内にパルスが出力された
ときにはデューティー比を下げることにより、設定時間
周期でパルスが出力されるようにズームモータ65の加
速制御および一定速制御をしている。また、モータ起動
時デューティー比を最小に設定することで、撮影者によ
る微細な駆動操作を可能にすることができるとともに、
自然なズーミング動作が得られる。
Further, in this embodiment, the duty ratio is set to the minimum (the energization time is the shortest) at the time of start-up (when the motor changes from the stopped state or the brake state to the operating state), and then the zoom motor 65 is set. Energization is started, and the pulses output from the PZ pulsar 69 are counted. Then, when the pulse is not output within the set time, the duty ratio is gradually increased, while when the pulse is output within the set time, the duty ratio is decreased to output the pulse in the set time cycle. Acceleration control and constant speed control. In addition, by setting the duty ratio at the time of starting the motor to the minimum, it is possible to enable a fine driving operation by the photographer,
A natural zooming motion is obtained.

【0049】先ず、ズームモータ65が初めて起動かど
うか(フラグF STARTがセットされているか)を
チェックする(S401)。尚、初めての起動とは、停
止中から駆動状態に変化した時、または、ブレーキ中か
ら駆動状態に移行した時を意味する。ここで、初めての
起動であれば、最低速で起動するために、PWMタイマ
T_PWMをクリアし、PWMデューティー比T PWM
BRKを最小値にセット(最低速)してS405に進
み、起動でなければ、なにもせずにS405に進む(S
401、S403)。
First, whether the zoom motor 65 is activated for the first time (flag F It is checked whether START is set (S401). The first activation means the time when the driving state is changed from the stop state or the time when the braking state is changed to the driving state. Here, if it is the first time to start, in order to start at the lowest speed, the PWM timer
Clear T_PWM, PWM duty ratio T PWM
Set BRK to the minimum value (lowest speed) and proceed to S405. If not started, proceed to S405 without doing anything (S
401, S403).

【0050】S405では、ズームスピード切替スイッ
チ75等により設定された速度に応じたパルス間隔(パ
ルス周期T PWMPLS)をセットして、ズームモー
タ65に通電する(S405、S407)。つまり、パ
ルス間隔T PWMPLSでPZパルスが出力されるよ
うにズーム速度を制御することを意味する。
In S405, the pulse interval (pulse period T) corresponding to the speed set by the zoom speed changeover switch 75 or the like is set. PWMPLS) is set and the zoom motor 65 is energized (S405, S407). That is, the pulse interval T This means controlling the zoom speed so that the PZ pulse is output by PWMPLS.

【0051】次に、速度に応じたPWM駆動か、DC駆
動かをチェックし、PWM駆動であればS411に進む
が、DC駆動であればそのままリターンする(S40
9)。S411では、PWMタイマT PWMを1イン
クリメントする。そして、そのインクリメントした値が
パルス周期T PWMPLSの値を超えたかどうかをチ
ェックし、超えていればPWMデューティー比(T
WMBRK)をアップし、超えていなければなにもしな
い(S413、S415)。つまり、設定時間(パルス
周期T PWMPLS)内にPZパルスが来なければP
WMデューティー比(T PWMBRK)をアップして
通電時間を長くして設定速度まで高速化を図るのであ
る。
Next, it is checked whether the PWM drive or the DC drive is in accordance with the speed. If the PWM drive, the process proceeds to S411, but if the DC drive, the process directly returns (S40).
9). In S411, the PWM timer T Increment PWM by 1. Then, the incremented value is the pulse period T It is checked whether the value of PWMPLS is exceeded, and if it is exceeded, the PWM duty ratio (T P
WMBRK) is increased and nothing is done unless it exceeds (S413, S415). That is, the set time (pulse cycle T If there is no PZ pulse in (PWMPLS), then P
WM duty ratio (T The PWM BRK) is increased to lengthen the energization time to increase the speed up to the set speed.

【0052】そして、PWMデューティー比(T PW
MBRK)をセットし、PWM用タイマ(T PWM)
をスタートさせ、2msタイマ割込みを許可して終了する
(S417、S419)。なお、S407〜S419部
分が図14の(A) 、(C) 、(D) 時刻に相当する。
Then, the PWM duty ratio (T PW
Set MBRK and set PWM timer (T PWM)
Is started, and the 2 ms timer interrupt is enabled, and the processing ends (S417, S419). The portions S407 to S419 correspond to times (A), (C) and (D) in FIG.

【0053】また、PZパルサー69からPZパルスが
出力されると、図12のPZパルスカウント割込み処理
に入る。PZパルスカウント割込み処理では、先ずパル
ス周期T PWMPLSとPWMタイマT PWMとを
比較し、パルス周期T PWMPLSの方が大きけれ
ば、パルス周期T PWMPLS内にパルスが出力され
たのでPWMデューティー比T PWMBRKを下げて
からPWMタイマT PWMをクリアし、パルス周期T
PWMPLSの方が小さければ、1パルス周期T
WMPLS経過後にパルスが出力されたのでPWMタイ
マT PWMをクリアして終了する(S421、S42
3、S425)。
When the PZ pulse is output from the PZ pulser 69, the PZ pulse count interrupt process shown in FIG. 12 starts. In the PZ pulse count interrupt processing, first, the pulse cycle T PWMPLS and PWM timer T Compare with PWM, pulse period T If PWMPLS is larger, pulse period T Since the pulse is output in the PWMPLS, the PWM duty ratio T PWM timer T after lowering PWMBRK PWM is cleared, pulse cycle T
If PWMPLS is smaller, one pulse period T P
Since the pulse is output after WMPLS has elapsed, the PWM timer T Clear PWM and end (S421, S42
3, S425).

【0054】図13のPWM割込みルーチンでは、割込
みを禁止し、ズームモータ65にブレーキをかけて、I
NT2(PWM)割込みを禁止し、他の割込みを許可し
てリターンする(S431〜S437)。この部分の処
理は、図14の(B) 時刻に相当する。
In the PWM interrupt routine of FIG. 13, the interrupt is prohibited, the zoom motor 65 is braked, and the I
The NT2 (PWM) interrupt is prohibited, other interrupts are permitted, and the process returns (S431 to S437). The processing of this part corresponds to the time (B) in FIG.

【0055】本実施例のPWM制御では、パルス周期T
PWMPLSを、ズームスピード切替えスイッチ75
等によって指定された速度に応じて、低速は8、中速は
4、高速は3の3段階に設定する。また、PWMタイマ
PWMはモータ起動時及びPZパルサー69からP
Zパルスが出力され、PZパルスカウント割込み処理に
移ったときにクリアされ、その後PZパルスが出力され
るまで2msタイマ割込みルーチンのS411にてカウン
トアップされる。従って、PWMタイマT PWMは、
前回のPZパルスが出力されてからの経過時間の倍数を
ほぼ表わすことになる。ただし、PZパルスの出力間隔
は、高速時でも2msタイマ割込みの周期より大きいもの
とする。
In the PWM control of this embodiment, the pulse period T
Set the PWMPLS to the zoom speed switch 75
In accordance with the speed designated by, etc., the low speed is set to 8 steps, the medium speed is set to 4, and the high speed is set to 3 steps. Also, the PWM timer T PWM is at motor startup and PZ pulser 69 to P
The Z pulse is output, and is cleared when the PZ pulse count interrupt process is started. After that, the count is incremented in S411 of the 2 ms timer interrupt routine until the PZ pulse is output. Therefore, the PWM timer T PWM is
It almost represents a multiple of the elapsed time since the output of the previous PZ pulse. However, the output interval of the PZ pulse is longer than the cycle of the 2 ms timer interrupt even at the high speed.

【0056】例えば、高速3のとき(パルス周期T
WMPLS=3)の前回PZパルス出力がされてからの
経過時間は、2ms×3=6msとなる。低速8のときに
は、パルス周期T PWMPLS=8になる。この低速
のときの処理を、図11および図12に示したフローチ
ャートを参照して説明する。2msタイマ割込みのS41
3において、パルス周期T PWMPLSがPWMタイ
マT PWMよりも小さいと判断したとき、すなわち前
回PZパルスが出力されてから2ms×8=16msよりも
長い時間が経過しているときには、PWMデューティー
比を上げる処理(S415)に進む。
For example, at high speed 3 (pulse cycle T P
The elapsed time from the previous output of the PZ pulse of WMPLS = 3) is 2 ms × 3 = 6 ms. At low speed 8, pulse period T PWMPLS = 8. The processing at the low speed will be described with reference to the flowcharts shown in FIGS. 11 and 12. 2ms timer interrupt S41
3, the pulse period T PWMPLS is PWM timer T When it is determined that it is smaller than PWM, that is, when a time longer than 2 ms × 8 = 16 ms has passed since the PZ pulse was output last time, the process proceeds to the process of increasing the PWM duty ratio (S415).

【0057】また、逆に、PZパルスカウント割込み処
理内では、S421のチェックにおいて、パルス周期T
PWMPLSがPWMタイマT PWMよりも大きい
ときは、すなわち前回PZパルスが出力されてから2ms
×8=16ms経過前にPZパルスが出力されたことにな
るので、PWMデューティー比を下げる(S423)。
On the contrary, in the PZ pulse count interrupt processing, in the check of S421, the pulse cycle T
PWMPLS is PWM timer T When it is larger than PWM, that is, 2ms after the previous PZ pulse was output.
Since the PZ pulse has been output before the passage of × 8 = 16 ms, the PWM duty ratio is lowered (S423).

【0058】以上のように、設定されたパルス周期T
PWMPLSでPZパルスが出力されるようにPWMの
デューティー比(T PWMBRK)を上げ下げするこ
とによって、PZパルスの出力間隔が一定になる一定速
度制御を実現している。また、設定するパルス周期T
PWMPLSを変えることにより、PZパルスの出力間
隔、すなわち制御速度を変えることができる。
As described above, the set pulse period T
The PWM duty ratio (T By raising and lowering (PWMBRK), constant speed control in which the output interval of the PZ pulse becomes constant is realized. Also, the pulse period T to be set
By changing PWMPLS, the output interval of PZ pulses, that is, the control speed can be changed.

【0059】「像倍率一定ズーム」次に像倍率一定ズー
ム(ISZ)について説明する。像倍率一定ズームと
は、像倍率(撮影倍率)をm、被写体距離をD、焦点距
離をfとしたときに、m=f/Dで表わされる像倍率m
が被写体距離Dの変動にかかわらず一定になるように焦
点距離fを制御することである。
"Constant Image Magnification Zoom" Next, the constant image magnification zoom (ISZ) will be described. A constant image magnification zoom is an image magnification m represented by m = f / D, where m is the image magnification (shooting magnification), D is the subject distance, and f is the focal length.
Is to control the focal length f so as to be constant regardless of the fluctuation of the subject distance D.

【0060】先ず、像倍率一定ズームの原理について説
明する。説明を簡単にするため、前群および後群の2群
で構成されているズームレンズに基づいて説明する。こ
のズームレンズの像倍率mは、下記(1) 式により表わさ
れる。 m1 =x/f12 =f/f1 m =m1 ・m2 =x・f/f1 2 …(1) ただし、m :像倍率 m1 :前群の倍率 m2 :後群の倍率 f1 :前群の焦点距離 f :合成焦点距離 x :∞端からの前群レンズ繰出し量(移動量)
First, the principle of constant image magnification zoom will be described. In order to simplify the description, description will be given based on a zoom lens including two groups, a front group and a rear group. The image magnification m of this zoom lens is expressed by the following equation (1). m 1 = x / f 1 m 2 = f / f 1 m = m 1 · m 2 = x · f / f 1 2 (1) where, m: image magnification m 1 : front group magnification m 2 : rear Magnification of group f 1 : Focal length of front group f: Combined focal length x: Front lens extension amount (movement amount) from ∞ end

【0061】像倍率設定時の繰出し量をx0 、焦点距離
をf0 とすると、像倍率m0 は、 m0 =x0 ・f0 /f1 2 …(2) となる。
When the amount of extension when setting the image magnification is x 0 and the focal length is f 0 , the image magnification m 0 is m 0 = x 0 · f 0 / f 1 2 (2)

【0062】ここで、合焦処理によりレンズがxまで移
動したときに、像倍率m0 が下記(3) 式を満足する焦点
距離fを求めれば、像倍率を一定にできる。 m0 =x・f/f1 2 …(3) 上記(2) および(3) 式より、 x0 ・f0 /f1 2=x・f/f1 2 となる。したがって、求める焦点距離fは、 f=x0 ・f0 /x …(4) となる。
Here, when the lens is moved to x by the focusing processing, the image magnification can be made constant by obtaining the focal length f where the image magnification m 0 satisfies the following expression (3). m 0 = x · f / f 1 2 ... (3) above (2) and from (3), and x 0 · f 0 / f 1 2 = x · f / f 1 2. Therefore, the required focal length f is f = x 0 · f 0 / x (4)

【0063】また、AF測距により、レンズ繰出し量x
のときにディフォーカス量Δxが得られたとすると、 f=x0 ・f0 /(x+Δx) …(5) 式により目標となる焦点距離fが求まる。
Further, by the AF distance measurement, the lens extension amount x
If the defocus amount Δx is obtained at the time of, the target focal length f can be obtained by the following formula: f = x 0 · f 0 / (x + Δx) (5)

【0064】以上は像倍率一定ズームの原理であるが、
実際の制御においては、レンズ繰出し量は焦点距離コー
ド板、AFパルサー等によって管理される。なお、AF
パルサーは、繰り出し量とほぼリニアな関係になるよう
に構成される。したがって(4) 、(5) の式の繰出し量x
及びx0 は、∞端からのAFパルス数に、デフォーカス
量はデフォーカスパルス数にそれぞれ置き換えて考える
ことができる。
The above is the principle of constant image magnification zooming.
In actual control, the lens extension amount is managed by a focal length code plate, an AF pulsar, or the like. AF
The pulsar is configured to have a substantially linear relationship with the delivery amount. Therefore, the feed amount x in the equations (4) and (5)
And x 0 can be considered by replacing them with the AF pulse number from the ∞ end and the defocus amount with the defocus pulse number.

【0065】次に、本実施例における実際の演算方法に
ついて説明する。本実施例では、レンズCPU61によ
り像倍率一定ズーム(制御ズーミング)動作がなされ
る。また、その演算も、カメラボディ11から送られた
像倍率に基づいて演算する場合と、ある時点における被
写体距離および焦点距離に基づいて演算する場合とがあ
る。
Next, an actual calculation method in this embodiment will be described. In this embodiment, the lens CPU 61 performs a constant image magnification zoom (control zooming) operation. The calculation may be performed based on the image magnification sent from the camera body 11 or may be performed based on the subject distance and the focal length at a certain time.

【0066】(1)ボディから像倍率m0 が送られてき
た場合 (i) m0 より、仮の設定値、繰出しパルス数x0 およ
び焦点距離f0 を求める。先ず、 f0 =|f1 | …(6) とする。ここで、x0 に対応する繰出し量をXとおく
と、(2) 式により m0 =X・f0 /f1 2 …(7) となる。レンズ繰出し量1mm当たりの繰出しAFパルス
数をkとすると、 x0 =X・k …(8) となる。以上の(8) 式に(6) および(7) 式を代入するこ
とにより、目的の繰出しパルス数x0 が下記式のように
求まる。 x0 =m0 ・|f1 |・k …(9)
(1) When the image magnification m 0 is sent from the body (i) From m 0 , a provisional set value, the number of feeding pulses x 0, and the focal length f 0 are obtained. First, let f 0 = | f 1 | (6). Assuming that the feeding amount corresponding to x 0 is X, m 0 = X · f 0 / f 1 2 (7) according to the equation (2). When the number of feeding AF pulses per 1 mm of the lens feeding amount is k, x 0 = X · k (8) By substituting the equations (6) and (7) into the above equation (8), the target feed pulse number x 0 can be obtained by the following equation. x 0 = m 0 · | f 1 | · k (9)

【0067】(ii) 次に、(6) および(9) 式からx0
0 を演算し、その結果をx00とおく。 x00 =x0 ・f0 …(10)
(Ii) Next, from equations (6) and (9), x 0
Calculate f 0 and set the result as x 0 f 0 . x 0 f 0 = x 0 · f 0 (10)

【0068】(iii) 目標焦点距離fを求める。現在位置
(現在の繰出しパルス数)xに基づいて演算する場合
は、下記式により求まる。 f=x00 /x …(11) デフォーカスパルス数Δxに基づいて求める場合は、下
記式により求まる。 f=x00 /(x+Δx) …(12)
(Iii) Obtain the target focal length f. When the calculation is performed based on the current position (current number of feeding pulses) x, it is obtained by the following formula. f = x 0 f 0 / x (11) When obtaining based on the defocus pulse number Δx, it is obtained by the following formula. f = x 0 f 0 / (x + Δx) (12)

【0069】(2)レンズRAM61bにメモリした繰
出しパルス数x0 および焦点距離f0に基づいて求める
場合 (i) x0 ・f0 は、メモリした繰出しパルス数x0
よび焦点距離f0 により、前記(10)式と同様に求め、演
算結果をx00 とおく。 x00 =x0 ・f0
(2) When obtaining based on the number of extension pulses x 0 and the focal length f 0 stored in the lens RAM 61b (i) x 0 · f 0 is obtained by the number of extension pulses x 0 and the focal length f 0 stored in memory. The calculation result is set as x 0 f 0 in the same manner as the expression (10). x 0 f 0 = x 0 · f 0

【0070】(ii) 倍率m0 は、前記(7) 、(8) および
(10)式により、下記式のように求まる。 m0
00 /(f1 2 ・k) …(13) (iii) 目標焦点距離fを求める。目標焦点距離fは、先
の(1)の(iii) と同様にして、求まる。なお、前群の
焦点距離f1 はレンズ固有のデータであり、レンズRO
M61aにメモリされている。
(Ii) The magnification m 0 is defined by the above (7), (8) and
From the equation (10), the following equation is obtained. m 0 =
x 0 f 0 / (f 1 2 · k) (13) (iii) Obtain the target focal length f. The target focal length f is obtained in the same manner as (iii) in (1) above. The focal length f 1 of the front lens group is data specific to the lens, and the lens RO
It is stored in the M61a.

【0071】『ISZ処理』次に、上記原理に基づいた
本実施例の像倍率一定(イメージサイズ指定)ズーム
(ISZ)に関する演算処理について、図15および図
16に示したフローチャートに基づいてより詳細に説明
する。この処理は、レンズCPU61により実行され
る。なお、像倍率の設定は、ズームスピード切替えスイ
ッチ75またはセットスイッチ(SLスイッチ)により
行なわれる。詳細は、図90を参照して後述する。IS
Z演算は、設定された像倍率の算出および設定像倍率を
維持するための焦点距離の算出に関する。焦点距離の演
算は、合焦を条件とする場合としない場合、撮影レンズ
で演算する場合とカメラボディで演算する場合がある。
合焦を条件にする場合は、合焦時のレンズ繰出し量に基
づいて像倍率および目標レンズ繰出し量を算出する。合
焦を条件としない場合は、デフォーカス量および現焦点
距離に基づいて像倍率および目標レンズ繰出し量を算出
する。
[ISZ Processing] Next, the calculation processing relating to the constant image magnification (image size designation) zoom (ISZ) of the present embodiment based on the above principle will be described in more detail with reference to the flowcharts shown in FIGS. 15 and 16. Explained. This processing is executed by the lens CPU 61. The image magnification is set by the zoom speed changeover switch 75 or the set switch (SL switch). Details will be described later with reference to FIG. 90. IS
The Z calculation relates to calculation of a set image magnification and calculation of a focal length for maintaining the set image magnification. The calculation of the focal length may or may not be based on focusing, may be performed by the taking lens, or may be performed by the camera body.
When the focus is set as the condition, the image magnification and the target lens extension amount are calculated based on the lens extension amount at the time of focusing. When focusing is not a condition, the image magnification and the target lens extension amount are calculated based on the defocus amount and the current focal length.

【0072】先ず、通信割込みを禁止(SEI)し、カ
メラボディ11から転送された通信情報に基づいてどの
ようにISZの演算を行うかを、フラグ(F STI
S、F ISZM、F ISZFOM、 F ISZXO
M)によりチェックする(S451、S453、S46
5、S477、S479)。これらのフラグは、カメラ
ボディ11との間でISZに関する通信が行なわれたこ
とを示し、各々の通信が行なわれたときにRAM61b
にセット(メモリ)する。そして、これらのフラグに基
づいて必要な演算を行なう。
First, communication interruption is prohibited (SEI), and
Which is based on the communication information transferred from Melabody 11
Flag (F STI
S, F ISZM, F ISZFOM, F ISZXO
M) to check (S451, S453, S46)
5, S477, S479). These flags are for the camera
Communication regarding ISZ has been performed with the body 11.
And the RAM 61b when each communication is performed.
Set (memory) to. And based on these flags
Then perform the necessary calculations.

【0073】ここで、F STISは、ボディから転送
された像倍率のデータを元にISZの演算を行う事を指
示するフラグ、F ISZMはAFパルスの現在値及び
焦点距離の現在値を元に、ISZの演算を行う事を指示
するフラグ、F ISZFOM及びF ISZXOMは
共にボディから転送された焦点距離及びAFパルスでI
SZの演算を行う事を指示するフラグで、両方のフラグ
がセットされていないと演算が実行されないものであ
り、F ISZFOMは、ボディからの焦点距離fデー
タ使用を指示するフラグ、F ISZXOMは、ボディ
からの被写体距離xデータ使用を指示するフラグであ
る。
Where F STIS is a flag F that indicates that the ISZ operation should be performed based on the image magnification data transferred from the body. ISZM is a flag F that instructs to perform ISZ calculation based on the current value of the AF pulse and the current value of the focal length. ISZFOM and F ISZXOM is the focal length and AF pulse transferred from the body together.
This is a flag for instructing to perform the SZ operation. If both flags are not set, the operation is not executed. ISZFOM is a flag, F, which indicates the use of focal length f data from the body. ISZXOM is a flag for instructing to use subject distance x data from the body.

【0074】カメラボディ11から送られた像倍率によ
り像倍率一定ズームを行なうとき(F STIS=1の
とき)には、通信割込を許可し(CLI)、前記(6) 、
(9)および(10)式によりx0 ×f0 を求めてRAM61
bの所定のアドレスにメモリし、割込みを禁止してフラ
グF STISをクリアする(S455〜S463)。
When a constant image magnification zoom is performed by the image magnification sent from the camera body 11 (F (When STIS = 1), the communication interrupt is permitted (CLI), and (6) above,
The RAM 61 is obtained by calculating x 0 × f 0 by the equations (9) and (10).
The memory is stored in the specified address of b, the interrupt is prohibited, and the flag F Clear STIS (S455-S463).

【0075】像倍率のメモリ処理が行なわれ、すでにメ
モリされている焦点距離および被写体距離により像倍率
一定ズームを行なうとき(F STIS=0、F IS
ZM=1のとき)には、割込みを許可し、前記被写体距
離(繰出しパルス数)x0 および焦点距離f0 からx0
×f0 を算出し、前記(13)式により像倍率m0 を求めて
これらをRAM61bの所定のアドレスにメモリし、通
信割込みを禁止してフラグF ISZMをクリアする
(S465〜S475)。
When the memory processing of the image magnification is performed and the constant image magnification zoom is performed according to the focal length and the subject distance which are already stored (F STIS = 0, F IS
When ZM = 1), the interruption is permitted, and the subject distance (the number of feeding pulses) x 0 and the focal lengths f 0 to x 0.
× calculates f 0, the (13) memory and those seeking the image magnification m 0 to the predetermined address of RAM61b by formula, a flag F prohibits the communication interruption Clear ISZM (S465-S475).

【0076】カメラボディ11から送られた焦点距離f
0 および被写体距離(繰出しパルス数)x0 により像倍
率一定ズームを行なう場合(F STIS=0、F
SZM=0かつF ISZFOM=1、F ISZXO
M=1)には、先ず、受信した焦点距離f0 および被写
体距離x0 に基づいてx00 を求めてメモリし、さら
に(13)式により像倍率m0 を求め、割込みを禁止し、フ
ラグF ISZFOM、F ISZXOMをクリアする
(S477〜S489)。以上のいずれでもなければ、
カメラボディ11との間でISZの演算に関する通信は
行なわれていないのでなにもしない。
Focal length f sent from camera body 11
When performing a constant image magnification zoom with 0 and the subject distance (the number of feeding pulses) x 0 (F STIS = 0, F I
SZM = 0 and F ISZFOM = 1, F ISZXO
In M = 1), x 0 f 0 is first obtained and stored based on the received focal length f 0 and subject distance x 0. Further, the image magnification m 0 is obtained by the equation (13), and interruption is prohibited. , Flag F ISZFOM, F Clear ISZXOM (S477-S489). If none of the above,
No communication is performed with the camera body 11 regarding the calculation of ISZ.

【0077】次に、カメラボディ11からすでに送られ
てきたデフォーカス量Δxが有効かどうかをフラグF
FPREOKの状態によりチェックし、有効であればフ
ラグF FPREをセットするが、有効でなければフラ
グF FPREをセットしない(S491、S49
3)。尚、フラグF FPREOKは、デフォーカスパ
ルスを使用して、目標焦点距離を求める演算が既に実行
されている事を示すフラグを示している。フラグF
PREは、イメージサイズ一定モードでデフォーカスパ
ルスを使用して目標焦点距離を求める演算(S503〜
S513)の実行を指示するフラグを示している。ここ
で、この一実施例においては、デフォーカス量やプレデ
ィクタ量が用いられているが、これらは正確にはデフォ
ーカスパルスを意味するものである。
Next, the flag F is used to determine whether the defocus amount Δx already sent from the camera body 11 is valid.
Check by the state of FPREOK, and if valid, flag F Set FPRE but flag F if not valid Do not set FPRE (S491, S49
3). The flag F FPREOK indicates a flag indicating that the calculation for obtaining the target focal length has already been executed using the defocus pulse. Flag F F
The PRE calculates the target focal length using the defocus pulse in the constant image size mode (S503-
It shows a flag for instructing execution of S513). Here, in this embodiment, the defocus amount and the predictor amount are used, but these accurately mean the defocus pulse.

【0078】そして、ISZズームモードであるかどう
かをチェックし、ISZズームモードであれば現在のフ
ォーカシングレンズ53Fの位置(被写体距離)が分か
っている(即ち、レンズCPUがフォーカシングレンズ
の現在位置を正しく認識{カウント}している事を示す
フラグF AFPOSがセットされている)かどうかを
チェックし、正しく認識されていれば(F AFPOS
=1)、プレディクタ演算結果を使用して制御するFP
RE−OP処理に進み、正しく認識されていなければI
SZ処理を抜ける(S495、S497)。
Then, it is checked whether or not the ISZ zoom mode is set. In the ISZ zoom mode, the current position (subject distance) of the focusing lens 53F is known (that is, the lens CPU correctly determines the current position of the focusing lens). Flag F indicating that recognition is being performed {count} Check if AFPOS is set, and if it is recognized correctly (F AFPOS
= 1), the FP that controls using the predictor operation result
Proceed to RE-OP processing, and if not recognized correctly, I
Exit the SZ processing (S495, S497).

【0079】制御ズーム(ISZ)モードでなければ、
フラグF FPREOK、F FPRE、F ISOK
をそれぞれクリアし、さらに、所定アドレス(LNS
INF1)の各ビットデータとビット「00000111B 」の
各ビットの論理和をとったデータを、所定アドレス(L
NS INF1)にメモリしてISZ処理を抜ける(S
495、S498、S499)。
If not in the control zoom (ISZ) mode,
Flag F FPREOK, F FPRE, F ISOK
Are cleared, and a predetermined address (LNS
The data obtained by taking the logical sum of each bit data of INF1) and each bit of bit "00000111B" is stored at a predetermined address (L
NS INF1) is memorized and the ISZ process is exited (S
495, S498, S499).

【0080】『FPRE−OP処理』S501〜S51
3に示した、プレディクタ演算結果(デフォーカス量)
に基づいて目標焦点距離fを求める(FPRE−OP)
処理について、図17のフローチャートを参照して説明
する。これはレンズCPU61により実行される処理で
あって、カメラボディ11との通信によりデフォーカス
量がカメラボディ11より送られてきたとき(この通信
中にフラグF FPREがRAM61bにセット(メモ
リ)される)、及びカメラボディ11とのISZに関す
る通信により、S453〜S463、S465〜S47
5、あるいはS477〜S489が実行されてx00
の値が変更され、かつS491〜S493によりフラグ
FPREがセットされた場合に実行される。このフ
ラグF FPREは、デフォーカス量による目標焦点距
離fを求める演算、f=x00 /(x+Δx)を実行
するかしないかを決めるフラグである。
"FPRE-OP processing" S501 to S51
Predictor calculation result (defocus amount) shown in 3
A target focal length f is calculated based on the (FPRE-OP)
The processing will be described with reference to the flowchart in FIG. This is a process executed by the lens CPU 61, and when the defocus amount is sent from the camera body 11 by communication with the camera body 11 (flag F during this communication). The FPRE is set (stored) in the RAM 61b) and the communication with the camera body 11 regarding ISZ is performed to S453 to S463 and S465 to S47.
5 or S477 to S489 is executed and x 0 f 0
Value is changed, and flag F is determined by S491 to S493. Executed when FPRE is set. This flag F FPRE is a flag for deciding whether or not to execute the calculation of the target focal length f based on the defocus amount, f = x 0 f 0 / (x + Δx).

【0081】この処理に入ると、フラグF FPREが
セットされているかどうかをチェックしてプレディクタ
量による演算処理を行なうかどうかを判断する(S50
1)。フラグF FPREがセットされていなければS
515に飛び、セットされていれば以下の処理を行な
う。
Upon entering this processing, the flag F It is checked whether FPRE is set and it is determined whether or not the arithmetic processing with the predictor amount is performed (S50).
1). Flag F S if FPRE is not set
If it is set to 515, the following processing is performed.

【0082】先ず、フラグF FPREをクリアし、通
信割込みを禁止し、プレディクタ量を利用した式(12)に
より目標焦点距離fを求めて通信割込みを禁止する(S
503〜S509)。次に、目標焦点距離fを、WID
E端からの目標PZパルス数に変換してRAM61bの
所定のアドレス(PZPFPRE)にメモリし、プレデ
ィクタ量による演算が有効であることを示すフラグF
FPREOKをセットしてS515に進む(S511、
S513)。
First, the flag F FPRE is cleared, the communication interrupt is prohibited, the target focal length f is obtained by the formula (12) using the predictor amount, and the communication interrupt is prohibited (S
503-S509). Next, the target focal length f is set to WID
A flag F indicating that the target PZ pulse number from the E terminal is converted and stored in a predetermined address (PZPFPRE) of the RAM 61b, and that the calculation by the predictor amount is effective.
Set FPREOK and proceed to S515 (S511,
S513).

【0083】S515〜S521は、現在のAFパルス
(繰出しパルス数)による目標焦点距離fを求める処理
である。S515では、割り込み許可(CLI)処理を
行ない、(11)式により目標焦点距離fを演算してRAM
61bの所定のアドレス(ISZ FL、H)にメモリ
し、割込み禁止(SEI)処理を行なう(S515、S
517)。さらに演算した目標焦点距離fをWIDE端
からの目標PZパルスに変換してそのパルス変換値をR
AM61bの所定のアドレス(PZPF)にメモリする
(S519、S521)。
Steps S515 to S521 are processing for obtaining the target focal length f based on the current AF pulse (the number of feeding pulses). In step S515, interrupt permission (CLI) processing is performed, and the target focal length f is calculated by the equation (11) and RAM is calculated.
61b predetermined address (ISZ FL, H) and perform interrupt disable (SEI) processing (S515, S)
517). Further, the calculated target focal length f is converted into a target PZ pulse from the WIDE end, and the pulse conversion value is R
The data is stored in the predetermined address (PZPF) of the AM 61b (S519, S521).

【0084】ここで、S529で演算されるLENS_
INF1のbit3〜7の内容について説明する。LE
NS_INF1の情報(表4参照)は、カメラボディと
の通信により、定期的にレンズからボディへ送られる情
報である。そのうち、bit3〜7がISZモ−ドに関
する情報である。
Here, LENS_calculated in S529
The contents of bits 3 to 7 of INF1 will be described. LE
The NS_INF1 information (see Table 4) is information that is periodically sent from the lens to the body through communication with the camera body. Among them, bits 3 to 7 are information regarding the ISZ mode.

【0085】bit6、7は、ISZ演算によって求め
られた目標のPZパルス(PZPFPREあるいはPZ
PF)が、現在位置のPZパルスと比べ、WIDE側に
あるか、TELE側にあるかを示すフラグである。WI
DE側にあればbit7がセットされ、TELE側にあ
ればbit6がセットされ、また一致していれば、bi
t6、7はともにセットされない。
Bits 6 and 7 are the target PZ pulse (PZPFPRE or PZ obtained by the ISZ calculation.
PF) is a flag indicating whether it is on the WIDE side or the TELE side as compared with the PZ pulse at the current position. WI
If it is on the DE side, bit7 is set, if it is on the TELE side, bit6 is set, and if they match, bi
Neither t6 nor t7 are set.

【0086】bit3〜5は、目標PZパルス数と現在
位置のPZパルス数の差、すなわち、現在位置から目標
位置まで移動するのに要するPZパルス数を、PZの総
パルス数(WIDE端からTELE端まで移動させるの
に要するPZパルス数)で割ったおよその値を0〜7/
8の範囲で1/8単位で表す。重みづけはbit3が1
/8、bit4が1/4、bit5が1/2である。現
在位置と目標位置とが一致した場合は上記値は0なの
で、bit3〜5はすべて“0”にクリアされ、現在位
置がWIDE端で目標位置がTELE端またはその逆の
場合は7/8になるので、bit3〜5はすべて“1”
にセットされる。
Bits 3 to 5 represent the difference between the target PZ pulse number and the PZ pulse number at the current position, that is, the PZ pulse number required to move from the current position to the target position, as the total number of PZ pulses (from WIDE end to TELE). The approximate value divided by the number of PZ pulses required to move to the end is 0 to 7 /
It is expressed in 1/8 unit in the range of 8. Bit3 is 1 for weighting
/ 8, bit4 is 1/4, and bit5 is 1/2. When the current position and the target position match, the above value is 0, so bits 3 to 5 are all cleared to “0”, and if the current position is the WIDE end and the target position is the TELE end or vice versa, it is set to 7/8. Therefore, bits 3-5 are all "1"
Is set to.

【0087】このように、ISZモ−ドにおいてカメラ
ボディ11は、撮影レンズ51からLNS_INF1情
報を定期的あるいは必要時に受信することにより、撮影
レンズ51に対して適切なISZ制御情報を送信するこ
とができる。
As described above, in the ISZ mode, the camera body 11 can transmit appropriate ISZ control information to the taking lens 51 by receiving the LNS_INF1 information from the taking lens 51 regularly or when necessary. it can.

【0088】次に、プレディクタ演算結果が有効(F
FPREOK=1)かどうかをチェックし、有効であれ
ばプレディクタ演算を使用して求めた目標PZパルス数
(PZPFPRE)をアキュムレータ(ACC)にメモ
リし、有効でなければ現在のAFパルス数に基づいて求
めた目標PZパルス数(PZPF)をアキュムレータに
メモリする(S523、S525、S527)。次に、
アキュムレータに入れた目標PZパルス数に基づいてL
NS INF1のbit3〜7の値を演算し、RAM6
1bの所定のアドレス(LNS INF1のbit3〜
7)にメモリして割込み禁止(SEI)処理を行なう
(S529、S531)。
Next, the predictor calculation result is valid (F
FPREOK = 1) is checked, and if valid, the target PZ pulse number (PZPFPRE) obtained using the predictor operation is stored in the accumulator (ACC), and if not valid, based on the current AF pulse number. The calculated target PZ pulse number (PZPF) is stored in the accumulator (S523, S525, S527). next,
L based on the target PZ pulse number entered in the accumulator
NS The values of bits 3 to 7 of INF1 are calculated, and RAM6
1b Predetermined address (LNS INF1 bit3 ~
The memory is stored in 7) and interrupt inhibition (SEI) processing is performed (S529, S531).

【0089】そして、像倍率一定ズームモードが選択さ
れていること、レンズCPUがズーミングレンズ群53
Zの現在位置(焦点距離)を正しく認識していること
(フラグF PZPOS=1)、および像倍率一定ズー
ム中であること(フラグF ISOK=1)を条件に以
下の処理を行なうが、上記条件が一つでも欠けていれば
S551に飛ぶ(S533〜S537)。
Then, the constant image magnification zoom mode is selected, and the lens CPU sets the zooming lens group 53.
Correct recognition of the current position (focal length) of Z (flag F PZPOS = 1) and zooming with constant image magnification (flag F The following process is performed under the condition of ISOK = 1), but if any of the above conditions is missing, the process jumps to S551 (S533 to S537).

【0090】プレディクタ演算結果による目標焦点距離
(PZパルス数)の演算が有効であり(フラグF FP
REOK=1)、かつISZの制御フラグがセットされ
ていれば(フラグF ISZD=1)、プレディクタ演
算結果を利用して求めたPZパルス数((11)式による)
を目標パルス数としてRAM61bの所定のアドレス
(PZPTRGT)にメモリする(S539、S54
1、S543)。しかし、プレディク量による目標焦点
距離の演算が無効(F FPREOK=0)か、ISZ
制御フラグがクリアされていれば、現在位置のAFパル
ス(繰出しパルス数)に基づいて(12)式により求めたP
Zパルス数を上記所定のアドレス(PZPTRG)にメ
モリする(S539、S541、S545)。なお、フ
ラグF ISZDは、ボディ11から通信によって送ら
れ、RAM61bにメモリされたデータであり、F
SZD=1でプレディクタ演算結果による演算値でIS
Z制御を実行し、F ISZD=0でAFパルスの現在
位置による演算値でISZ制御を実行する。
The calculation of the target focal length (the number of PZ pulses) based on the predictor calculation result is effective (flag F FP
If REOK = 1) and the ISZ control flag is set (flag F ISZD = 1), the number of PZ pulses obtained using the predictor calculation result (according to equation (11))
Is stored in a predetermined address (PZPTRGT) of the RAM 61b as the target pulse number (S539, S54).
1, S543). However, the calculation of the target focal length based on the amount of prediction is invalid (F FPREOK = 0) or ISZ
If the control flag is cleared, P obtained by the equation (12) based on the AF pulse (feeding pulse number) at the current position
The number of Z pulses is stored in the predetermined address (PZPTRG) (S539, S541, S545). The flag F ISZD is data sent by communication from the body 11 and stored in the RAM 61b. I
When SZD = 1, the calculated value according to the predictor calculation result is IS
Execute Z control, F When ISZD = 0, ISZ control is executed with a calculated value according to the current position of the AF pulse.

【0091】そして、カメラボディ11から通信により
送られてきてRAM61bにメモリされているISZの
ズームスピードデータ(BD ST1のbit6、7)
をRAM61bの所定のアドレス(SPDDRC2のb
it2、3)にメモリし、像倍率一定ズームフラグF
ISZをセットし、割り込みを許可してリターンする
(S547、S549、S551)。この像倍率一定ズ
ームフラグF ISZは、レンズCPU61が目標焦点
距離の算出およびズームモータ69の駆動設定が完了
し、ズームレンズ群53Zを駆動する準備が完了したこ
とを示すものである。このF ISZがセットされる
と、2msタイマ割込みルーチンにおいて像倍率一定ズー
ム処理がなされる。また、PZPTRG、SPDDRC
の値も2msタイマ割込みルーチンで利用される。
Then, the ISZ zoom speed data (BD is sent from the camera body 11 by communication and stored in the RAM 61b). ST6 bit6, 7)
To a predetermined address in the RAM 61b (b in SPDDRC2
It2, 3) is stored in memory, and a constant image magnification zoom flag F
ISZ is set, interrupts are enabled, and the process returns (S547, S549, S551). This constant image magnification zoom flag F ISZ indicates that the lens CPU 61 has completed the calculation of the target focal length and the drive setting of the zoom motor 69, and the preparation for driving the zoom lens group 53Z has been completed. This F When ISZ is set, constant image magnification zoom processing is performed in the 2 ms timer interrupt routine. In addition, PZPTRG, SPDDRC
The value of is also used in the 2ms timer interrupt routine.

【0092】『インストラクション処理』次に、カメラ
ボディ11からインストラクションコード(コマンド)
を受信したときに撮影レンズ51において実行されるイ
ンストラクション処理について、図19ないし図26に
示したフローチャートおよびインストラクションコード
の内容を示した表1および表2を参照して説明する。な
お、これらのインストラクションコードは、図8の通信
割込みルーチンのS217の詳細である。コマンドの下
位の内容によって各インストラクション処理が実行され
る。STANDBYコマンドは、レンズCPU61をス
リープ状態にさせるコマンドである。STANDBYコ
マンドを入力したときの処理に関するフローチャートを
図19に示してある。
[Instruction Processing] Next, an instruction code (command) from the camera body 11
The instruction processing executed in the taking lens 51 when receiving the is described with reference to the flowcharts shown in FIGS. 19 to 26 and Tables 1 and 2 showing the contents of the instruction code. Note that these instruction codes are the details of S217 of the communication interrupt routine of FIG. Each instruction process is executed according to the lower contents of the command. The STANDBY command is a command for putting the lens CPU 61 into a sleep state. FIG. 19 shows a flowchart regarding the processing when the STANDBY command is input.

【0093】レンズCPU61は、STANDBYコマ
ンドを受信すると、フラグF STNDBYをセット
し、コマンド受信完了信号をボディ11に送信し、通信
割込みを許可してリターンする(S601、S602、
S603)。レンズCPU61は、フラグF STND
BYをメインルーチンのS143においてチェックし、
このフラグF STNDBYが立っているときには、ク
ロック91を停止させて低消費電力状態(スタンバイモ
ード)に移行する(図7参照)。
When the lens CPU 61 receives the STANDBY command, the flag F STNDBY is set, a command reception completion signal is transmitted to the body 11, a communication interrupt is permitted, and the process returns (S601, S602,
S603). The lens CPU 61 uses the flag F STND
Check BY in S143 of the main routine,
This flag F When STNDBY is set, the clock 91 is stopped and the low power consumption state (standby mode) is entered (see FIG. 7).

【0094】AF−INITPOSコマンドは、カメラ
ボディ11がAFモータ39によりフォーカシングレン
ズ53Fを∞端に移動させた後に送られるコマンドで、
撮影レンズ51のAFパルスカウンタをクリアさせるA
Fの初期化処理コマンドである。このAF−INITP
OSコマンドを入力したときのレンズCPU61の処理
に関するフローチャートを図20に示してある。
The AF-INITPOS command is a command sent after the camera body 11 moves the focusing lens 53F to the ∞ end by the AF motor 39.
A to clear the AF pulse counter of the taking lens 51
This is an F initialization processing command. This AF-INITP
FIG. 20 is a flowchart showing the processing of the lens CPU 61 when the OS command is input.

【0095】レンズCPU61は、AF−INITPO
Sコマンドを入力すると、まず距離コード板81から距
離コードデータを入力する(S611)。距離コードデ
ータが∞端(ファー端)であれば、RAM61b内に設
けられているAFパルス現在位置データ(AFPXL,
H)及びAFパルススタート位置データ(AFPSTR
TL,H)をクリアし、フォーカシングレンズ53Fの
現在位置が判明していることを識別するフラグF AF
POSをセットしてS615に進み、∞端でなければ、
上記ステップをスキップしてS615に進む(S612
〜S614)。そして、コマンド受信完了信号をボディ
11に出力し、通信割込みを許可してリターンする(S
615、S616)。
The lens CPU 61 uses the AF-INITPO
When the S command is input, first, the distance code data is input from the distance code plate 81 (S611). If the distance code data is at the ∞ end (far end), the AF pulse current position data (AFPXL,
H) and AF pulse start position data (AFPSTR
TL, H) to clear that the current position of the focusing lens 53F is known. AF
Set POS and proceed to S615. If not at ∞ end,
Skip the above steps and proceed to S615 (S612
~ S614). Then, the command reception completion signal is output to the body 11, the communication interrupt is permitted, and the process returns (S
615, S616).

【0096】PZ−INITPOSコマンドは、レンズ
CPU61がズーミングレンズの位置を知るために初期
化動作を行なわせるコマンドである。本実施例では、ズ
ームモータ65を起動してズームコード板71のコード
の境目72を検出したときに、そのコードに対応するP
Zパルス数をPZパルスカウンタにセットする。PZ−
INITPOSコマンドを入力したときの処理に関する
フローチャートを図21に示してある。なお、PZパル
スのカウント等の処理は、後述の「POS−NG処理」
(図86)において説明する。
The PZ-INITPOS command is a command that causes the lens CPU 61 to perform an initialization operation in order to know the position of the zooming lens. In the present embodiment, when the zoom motor 65 is activated and the code boundary 72 of the zoom code plate 71 is detected, the P corresponding to the code is detected.
The number of Z pulses is set in the PZ pulse counter. PZ-
FIG. 21 is a flowchart showing the processing when the INITPOS command is input. Note that processing such as PZ pulse counting is described later in "POS-NG processing".
(FIG. 86) will be described.

【0097】レンズCPU61は、PZINTPOSコ
ードを入力すると、フラグF PZPOSをクリアし、
各フラグF BATREQ、F IPZB、F MOV
をセットし、レンズRAM61bのSPDDRC1に所
定のデータ(スピード最低速、方向TELE)をメモリ
し、現在位置からコードの境界部までのPZパルスをカ
ウントするPZパルスカウンタのPZPA2Bを0にす
る(S621〜S624)。そして、コマンド受信完了
信号を出力し、通信割込みを許可してリターンする(S
625〜S626)。なお、これらのセットされた値に
基づいて、2msタイマ割込み処理中にパワーズーム関係
(PZ)の初期化動作が行なわれる。
When the lens CPU 61 inputs the PZINTPOS code, the flag F Clear PZPOS,
Each flag F BATREQ, F IPZB, F MOV
Is set, predetermined data (minimum speed, direction TELE) is stored in SPDDRC1 of the lens RAM 61b, and PZPA2B of the PZ pulse counter that counts the PZ pulse from the current position to the code boundary is set to 0 (S621 to S621). S624). Then, the command reception completion signal is output, the communication interrupt is permitted, and the process returns (S
625-S626). Based on these set values, the power zoom related (PZ) initialization operation is performed during the 2 ms timer interrupt processing.

【0098】RETRACT−PZコマンドは、カメラ
ボディのメインスイッチがオフされた場合などに、撮影
レンズ51の鏡筒長が最短状態になるようにパワーズー
ムさせるコマンドである。RETRACT−PZコマン
ドを入力したときの処理に関するフローチャートが図2
2に示されている。
The RETRACT-PZ command is a command for power zooming so that the lens barrel length of the taking lens 51 becomes the shortest when the main switch of the camera body is turned off. FIG. 2 is a flowchart regarding processing when a RETRACT-PZ command is input.
2 is shown.

【0099】レンズCPU61は、このRETRACT
−PZコマンドを受信すると、現在の焦点距離データを
レンズRAM61bの所定アドレス(RETPOSL,
H)にメモリし、レンズ鏡筒長が最短となるPZパルス
データ(レンズ固有のデータ)をレンズRAM61bの
所定アドレス(PZPTRGT) にセットし、SPDD
RC2 に所定のデータ(最高速)をセットする(S63
1、S632、S632−2)。そして、各フラグF
BATREQ、F IPZB及びフラグF MOVTR
Gをセットし、コマンド受信完了信号を送信し、通信割
込みを許可してリターンする(S634〜S636)。
The lens CPU 61 uses this RETRACT
When the -PZ command is received, the current focal length data is transferred to the predetermined address (RETPOSL,
H), and the PZ pulse data (lens-specific data) that minimizes the lens barrel length is set to a predetermined address (PZPTRGT) in the lens RAM 61b, and SPDD is set.
Predetermined data (highest speed) is set in RC2 (S63)
1, S632, S632-2). Then, each flag F
BATREQ, F IPZB and flag F MOVTR
G is set, a command reception completion signal is transmitted, communication interruption is permitted, and the process returns (S634 to S636).

【0100】リトラクト(収納)前の焦点距離データ
は、別の通信コマンド(FOCALLEN−Xコマン
ド)にてカメラボディ11に送信される。なお、フラグ
BATREQはパワーズームレンズ51にパワーズ
ーミング用の電力供給を要求するフラグであり、フラグ
IPZBはレンズ内でズーミングの制御(ISZ、
PZ−INITPOS等)を行なっていることを示すフ
ラグであり、フラグF MOVTRGは、アドレスPZ
PTRGに設定された目標パルス位置までズーミングレ
ンズ53Zを動かすように、2msタイマ割込み処理にお
いて実行させるフラグである。なお、これらの設定され
た値に基づいて2msタイマ割込みルーチンにおいて、ズ
ーミングレンズ53Zに関する収納動作が行なわれる。
The focal length data before retracting (storing) is transmitted to the camera body 11 by another communication command (FOCALLEN-X command). The flag F BATREQ is a flag that requests the power zoom lens 51 to supply power for power zooming, and the flag F IPZB controls zooming in the lens (ISZ,
PZ-INITPOS, etc.), and a flag F MOVTRG is the address PZ
This is a flag that is executed in the 2 ms timer interrupt process so as to move the zooming lens 53Z to the target pulse position set in PTRG. In the 2 ms timer interrupt routine, the storing operation for the zooming lens 53Z is performed based on these set values.

【0101】RET−PZPOSコマンドは、RETR
ACT−PZコマンドによるズーミングレンズ群53Z
の収納状態から収納前の状態に復帰させるコマンドであ
る。つまり、カメラボディのメインスイッチSWMAINが
オンされた場合等に、ズーミングレンズ53Zを収納前
の状態に復帰(リトラクトパワーズーミングする前の焦
点距離位置まで復帰)させるコマンドである。このRE
T−PZPOSコマンドを入力したときの処理に関する
フローチャートを図23に示してある。
The RET-PZPOS command is RETR
Zooming lens group 53Z by ACT-PZ command
Is a command for returning from the stored state to the state before storing. That is, this is a command for returning the zooming lens 53Z to the state before storing (returning to the focal length position before retract power zooming) when the main switch SWMAIN of the camera body is turned on. This RE
FIG. 23 is a flowchart showing the processing when the T-PZPOS command is input.

【0102】レンズCPU61は、RET−PZPOS
コマンドを受信すると、このコードに含まれる、リトラ
クトパワーズーム直前に送信したリトラクト前の焦点距
離データ(RETPOSL,H)をレンズRAM61b
の所定アドレス(FCLL,H)にセットする(S64
1)。なお、このアドレスRETPOSL,Hには、別
の通信コマンドにてカメラボディ51より送られてきた
収納前の焦点距離データがメモリされている。
The lens CPU 61 uses the RET-PZPOS
When the command is received, the focal length data (RETPOSL, H) before the retract included immediately before the retract power zoom included in this code is sent to the lens RAM 61b.
Is set to a predetermined address (FCLL, H) (S64
1). At this address RETPOSL, H, the focal length data before storage sent from the camera body 51 by another communication command is stored.

【0103】そして、上記焦点距離データを目標パルス
数に変換し、目標パルス数PZPTRGとしてレンズR
AM61bの所定のアドレスにメモリし、SPDDRC
2 に所定のPZスピードデータ(高速)をメモリし、フ
ラグF BATREQ、F IPZB、F MOVTRG
をセットし、コマンド受信完了信号を送信し、通信割込
みを許可してリターンする(S642〜S646)。な
お、この復帰処理も、2msタイマ割込み処理において実
行される。
Then, the focal length data is set to the target pulse.
Converted to a number, the lens R is set as the target pulse number PZPTRG
Memory at a predetermined address of AM61b, SPDDRC
Store the specified PZ speed data (high speed) in 2 and
Rag F BATREQ, F IPZB, F MOVTRG
Is set, a command reception completion signal is sent, and a communication interrupt
Permitting and returning (S642 to S646). Na
This restoration process is also performed in the 2ms timer interrupt process.
Done.

【0104】IPZ−STOPコマンドは、パワーズー
ミング動作をストップさせるためのコマンドである。こ
のコマンドは、ISZ(像倍率一定)、PZ−INIT
POS(復帰)、RETRACT−PZ(収納)等の制
御パワーズーミングをストップさせるコマンドであり、
マニュアルパワーズームをストップさせるものではな
い。IPZ−STOPコマンドを入力したときの処理に
関するフローチャートを図24に示してある。
The IPZ-STOP command is a command for stopping the power zooming operation. This command is for ISZ (constant image magnification), PZ-INIT
This is a command to stop control power zooming such as POS (return) and RETRACT-PZ (store).
It does not stop the manual power zoom. FIG. 24 shows a flowchart regarding the processing when the IPZ-STOP command is input.

【0105】レンズCPU61は、IPZ−STOPコ
マンドを入力すると、フラグF ISOKをクリアし、
さらにパワーズーム動作の実行に関する所定のフラグ
(F MOVTRG、F MOV、F ISZ)をクリア
する(S651、S652)。ここで、フラグF IS
Zは、ISZにおいて、パワーズームレンズの駆動を指
示するフラグを示している。そして、コマンド受信完了
信号を出力し、通信割込みを許可してリターンする(S
653、S654)。これらのフラグがクリアされるた
め、2msタイマ割込み処理内では、マニュアルパワーズ
ーム以外の、例えばISZ等の制御パワーズーミングは
行なわれなくなる。
The lens CPU 61 is an IPZ-STOP controller.
If you enter a command, the flag F Clear ISOK,
Furthermore, a predetermined flag regarding execution of the power zoom operation
(F MOVTRG, F MOV, F Clear ISZ)
(S651, S652). Here, flag F IS
Z indicates the drive of the power zoom lens in ISZ.
The flags shown are shown. And command reception completed
Output signal, enable communication interrupt, and return (S
653, S654). These flags will be cleared
Therefore, in the 2ms timer interrupt processing, the manual powers
Other than power control, such as ISZ control power zooming
It will not be done.

【0106】ISZ−MEMORYコマンドは、像倍率
一定ズームを行なうために、AFパルスおよび焦点距離
の現在値を入力してメモリするためのコマンドである。
ISZ−MEMORYコマンドを入力したときの処理に
関するフローチャートを図25に示してある。
The ISZ-MEMORY command is a command for inputting and storing the current values of the AF pulse and the focal length in order to perform the constant image magnification zoom.
FIG. 25 is a flowchart showing the processing when the ISZ-MEMORY command is input.

【0107】レンズCPU61は、ISZ−MEMOR
Yコマンドを入力すると、AFパルスカウンタの現在値
(AFPXL,H)をISZAFパルスメモリ(ISZ
AFPL,H)(レンズRAM61bの所定アドレ
ス)にメモリし、焦点距離の現在値(FCLXL,H)
をISZ焦点距離メモリ(ISZ FCLL,H)(レ
ンズRAM61bの所定アドレス)にメモリする(S6
61、S662)。そして、フラグF ISZMをセッ
トし、コマンド受信完了信号を出力し、通信割込みを許
可してからリターンする(S663〜S665)。これ
らの値をもとに、図15のS465〜S475に示され
るISZの演算が行なわれる。
The lens CPU 61 is ISZ-MEMOR.
When the Y command is input, the current value of the AF pulse counter (AFPXL, H) is displayed in the ISZ AF pulse memory (ISZ
AFPL, H) (predetermined address of lens RAM 61b), and the current focal length value (FCLXL, H)
ISZ focal length memory (ISZ FCLL, H) (predetermined address of lens RAM 61b) (S6)
61, S662). And flag F The ISZM is set, the command reception completion signal is output, the communication interrupt is permitted, and then the process returns (S663 to S665). Based on these values, the ISZ operation shown in S465 to S475 of FIG. 15 is performed.

【0108】ISZ−STARTコマンドは、像倍率一
定ズームをスタートさせるコマンドである。ISZ−S
TARTコマンドを入力したときの処理に関するフロー
チャートを図26に示してある。
The ISZ-START command is a command for starting the constant image magnification zoom. ISZ-S
FIG. 26 is a flow chart regarding the processing when the TART command is input.

【0109】レンズCPU61は、このISZ−STA
RTコマンドを入力すると、各フラグF BATRE
Q、F IPZB、F ISOKをセットし、データ送
信完了信号を出力し、通信割込みを許可してリターンす
る(S671〜S673)。これらのフラグに基づいて
2msタイマ割込み処理や、図18のS537以降の処理
が行なわれる。
The lens CPU 61 uses this ISZ-STA.
When you enter the RT command, each flag F BATRE
Q, F IPZB, F ISOK is set, a data transmission completion signal is output, a communication interrupt is permitted, and the process returns (S671 to S673). Based on these flags, the 2 ms timer interrupt processing and the processing after S537 in FIG. 18 are performed.

【0110】『BLコマンドサブルーチン』次に、カメ
ラボディ11からBLコマンドを受信したときの撮影レ
ンズ51における動作について、図27〜図37および
表3を参照して説明する。このBLコマンド通信処理で
は、先ずコマンド受信完了信号を出力し、その後にデー
タを入力し、入力完了信号を出力する点が、インストラ
クションコマンドサブルーチンのときと相違する。な
お、これらBLコマンドは、図8の通信割込みルーチン
におけるS213処理の詳細である。コマンドの下位の
内容によって各コマンド処理が実行される。
[BL Command Subroutine] Next, the operation of the taking lens 51 when receiving a BL command from the camera body 11 will be described with reference to FIGS. 27 to 37 and Table 3. This BL command communication process is different from the instruction command subroutine in that a command reception completion signal is first output, data is then input, and an input completion signal is output. Note that these BL commands are details of the S213 process in the communication interrupt routine of FIG. Each command process is executed according to the subordinate contents of the command.

【0111】PZ−BSTATEコマンド(20)は、
ISZ(像倍率一定ズーム制御)に必要なデータを送る
コマンドである。このコマンドにより送られるデータに
は、フォーカシングレンズ53Fがファー端(無限遠
端)(F ENDF=1)にあるかニア端(最近距離
端)(F ENDN=1)にあるか、ファームーブ(F
FARM=1)かニアムーブ(F NEARM=1)
か、オーバーラップ積分中(F OVAF=1)かどう
か、動体予測モード(F MOBJ=1)かどうか、合
焦状態(F AFIF=1)かどうか、像倍率をメモリ
するときにボディの命令(通信)によりメモリするか、
レンズ自身(レンズCPU61)の判断でメモリするか
(F ISM=1)等に関するデータが含まれる。図2
7には、PZ−BSTATEコマンドを受信したときの
処理に関するフローチャートを示してある。
The PZ-BSTATE command (20)
Send data required for ISZ (constant image magnification zoom control)
It is a command. The data sent by this command
The focusing lens 53F is at the far end (infinity).
Edge) (F Near end (most recent distance)
Edge) (F ENDN = 1) or the firmware (F
FARM = 1) or near move (F NEARM = 1)
Or during overlap integration (F Whether OVAF = 1)
Or the moving object prediction mode (F Whether MOBJ = 1)
Focused state (F Memory of image magnification, whether AFIF = 1)
When you do, it will be memorized by the instruction (communication) of the body,
Whether to store the memory according to the judgment of the lens itself (lens CPU 61)
 (F Data regarding ISM = 1) etc. is included. Figure 2
7 indicates when the PZ-BSTATE command is received.
The flowchart regarding a process is shown.

【0112】レンズCPU61は、PZ−BSTATE
コマンドを入力すると、コマンド受信完了信号を送信
し、カメラボディ11から1バイトのPZ−BSTAT
Eデータを入力し、AFパルスカウント処理に関するC
NTAFPサブルーチンを実行する(S701〜S70
3)。なお、CNTAFPサブルーチンの詳細は、図3
9〜図43に示してあり、後でこれらの図に基づいて説
明する。
The lens CPU 61 uses PZ-BSTATE.
When a command is input, a command reception completion signal is sent, and the camera body 11 sends 1-byte PZ-BSTAT.
Input E data, C for AF pulse count processing
Execute the NTAFP subroutine (S701 to S70
3). The details of the CNTAFP subroutine are shown in FIG.
9 to 43, which will be described later with reference to these figures.

【0113】そして、データ入力完了信号を出力し、通
信割込みを許可してからリターンする(S704、S7
05)。なお、本実施例のカメラはAF駆動源をボディ
11に搭載してあるので、レンズ51内でAFパルスを
カウントするときには、AF駆動前及び駆動方向変更時
等に、必ずこのコマンドでAFの駆動方向情報等をボデ
ィ11からレンズ51に送る。
Then, the data input completion signal is output, the communication interrupt is permitted, and then the process returns (S704, S7).
05). Since the camera of this embodiment has an AF drive source mounted on the body 11, the AF drive must be performed by this command before AF drive and when changing the drive direction when counting AF pulses in the lens 51. Direction information or the like is sent from the body 11 to the lens 51.

【0114】BODY−STATE0コマンドは、ボデ
ィ状態に関するデータを撮影レンズに知らせるコマンド
で、撮影レンズとカメラボディ間の定期通信の際に送信
される。図28には、BODY−STATE0コマンド
を受信したときの処理に関するフローチャートを示して
ある。
The BODY-STATE0 command is a command for informing the taking lens of data relating to the body state, and is transmitted during regular communication between the taking lens and the camera body. FIG. 28 shows a flowchart regarding processing when the BODY-STATE0 command is received.

【0115】レンズCPU61は、このBODY−ST
ATE0コマンドを入力すると、コマンド受信完了信号
を送信し、カメラボディ11から1バイトのボディ状態
に関するデータ(BODY−STATE0)を入力し、
そのデータをレンズRAM61bのBD_ST0にスト
アする(S711〜S713)。そして、上記1バイト
データの上位5ビットをマスクしてレンズRAM61b
のZM_MODEにストアしたら、データ入力完了信号
を出力し、通信割込みを許可してリターンする(S71
4〜S716)。
The lens CPU 61 uses this BODY-ST
When the ATE0 command is input, a command reception completion signal is transmitted, and 1-byte body state data (BODY-STATE0) is input from the camera body 11.
The data is stored in BD_ST0 of the lens RAM 61b (S711 to S713). Then, the upper 5 bits of the 1-byte data are masked to make the lens RAM 61b.
When the data is stored in ZM_MODE, the data input completion signal is output, the communication interrupt is permitted, and the process returns (S71).
4-S716).

【0116】BODY−STATE0データには、カメ
ラボディ11のパワーズームモードに関する情報とし
て、例えば、像倍率一定ズーム(ISZ)、露光間ズー
ム(EXZ)、マニュアルパワーズーム(MPZ)等の
情報が下位3ビットに含まれ、上位5ビットには、ボデ
ィ回路系の電源がオン(F VDD=1)しているか、
測光スイッチがオン(F SWS=0)しているか、ボ
ディ11からズームモータに電力が供給されているか
(F BATT=1)、ボディ11のAF/MF切替え
スイッチ(図示せず)がAFかMFか(F SWAF=
1かどうか)、AFのモードがシングルかコンティニュ
アスかの情報が入る。尚、フラグF SWAFはボディ
側のAF/MF切り換えスイッチの切り換え情報を示す
フラグであり、セットされる事によりAFを、クリアさ
れる事によりMFを示す様に設定されている。
In the BODY-STATE0 data, as information regarding the power zoom mode of the camera body 11, for example, information such as constant image magnification zoom (ISZ), inter-exposure zoom (EXZ), and manual power zoom (MPZ) is placed in the lower 3 levels. The power supply of the body circuit system is turned on (F VDD = 1),
Metering switch is on (F SWS = 0), or is power being supplied from the body 11 to the zoom motor (F BATT = 1) and whether the AF / MF selector switch (not shown) of the body 11 is AF or MF (F SWAF =
Whether the AF mode is single or continuous is entered. The flag F SWAF is a flag indicating switching information of the AF / MF switching switch on the body side, and is set to indicate AF when set and MF when cleared.

【0117】フラグF BATTは、カメラ側で(メイ
ンCPU35が)、端子VBATTに電力を供給する際
に立てる。一方、レンズ側では、レンズCPU61は、
ポートP12を介して端子VBATTの電圧レベルをモ
ニタしていて、電圧が供給されているときは、PZの電
源オン検出フラグF BDETをセットする。そして、
フラグF BDETは、POFF−STATE通信によ
りカメラ側(メインCPU35)に取り込まれる。カメ
ラ側は、フラグF BDETがセットされていることに
より、正常に電力供給が行なわれていることを把握す
る。フラグF BATTをセットしているにもかかわら
ず、フラグF BDETがクリアされているときは何ら
かの異常が発生したものと認識し、端子VBATTへの
電力供給を中止する。
Flag F BATT is set on the camera side (by the main CPU 35) when power is supplied to the terminal VBATT. On the other hand, on the lens side, the lens CPU 61
When the voltage level of the terminal VBATT is monitored through the port P12 and the voltage is supplied, the power-on detection flag F of PZ is detected. Set BDET. And
Flag F BDET is taken into the camera side (main CPU 35) by POFF-STATE communication. Flag F on the camera side Since the BDET is set, it is understood that power is being supplied normally. Flag F Flag F even though BATT is set When BDET is cleared, it is recognized that some abnormality has occurred, and the power supply to the terminal VBATT is stopped.

【0118】BODY−STATE1コマンドはBOD
Y−STATE0コマンドと同様のカメラボディ11の
状態に関するデータ送信に関するコマンドであり、カメ
ラボディ11のシーケンス状態情報が含まれる。図29
には、BODY−STATE1コマンドを受信したとき
の処理に関するフローチャートを示してある。
BODY-STATE1 command is BOD
It is a command related to data transmission regarding the state of the camera body 11 similar to the Y-STATE0 command, and includes sequence state information of the camera body 11. FIG. 29
In the figure, there is shown a flowchart relating to the processing when the BODY-STATE1 command is received.

【0119】レンズCPU61は、BODY−STAT
E1コマンドを受信すると、コマンド受信完了信号を送
信してカメラボディ11から1バイトのデータ(BOD
Y−STATE1)を入力し、レンズRAM61bのB
D_ST1にストアする(S721〜S723)。そし
て、フラグF IPZDがセットされていればフラグF
ISOKをクリアしてさらにアドレスBD_ST1の
フラグF MOVTRG、F MOV、F ISZをク
リアするが、フラグF IPZDがセットされていなけ
れば上記処理を行なわない(S724、S725、S7
26)。そして、データ入力完了信号を出力し、最後に
通信割込みを許可してリターンする(S724、S72
7、S728)。
The lens CPU 61 uses the BODY-STAT
When the E1 command is received, a command reception completion signal is transmitted to send 1-byte data (BOD
Y-STATE1) and input B of the lens RAM 61b.
Store in D_ST1 (S721 to S723). And flag F Flag F if IPZD is set
After clearing ISOK, the flag F of the address BD_ST1 is further cleared. MOVTRG, F MOV, F Clear ISZ, but flag F If IPZD is not set, the above process is not performed (S724, S725, S7).
26). Then, the data input completion signal is output, the communication interrupt is finally permitted, and the process returns (S724, S72).
7, S728).

【0120】フラグF IPZDがセットされている場
合の動作(S725〜S726)は、インストラクショ
ンコード35のIPZ−STOPコマンドと同様の処理
である。このコマンドはレンズCPU61に、ボディ側
の情報を受けさせると同時にIPZ−STOPコマンド
の実行も兼ねさせる。本コマンドに関係するフラグにつ
いて説明する。
Flag F The operation when IPZD is set (S725 to S726) is the same processing as the IPZ-STOP command of the instruction code 35. This command causes the lens CPU 61 to receive the information on the body side and at the same time to execute the IPZ-STOP command. The flags related to this command will be described.

【0121】F_IPZDは、上記のようにIPZ−S
TOPと同様の動作を行わせるかどうかを決めるフラグ
である。F_MPZDは、マニュアルパワーズームを禁
止するかどうかを決めるフラグであり、F_MPZDが
セットされているときにマニュアルパワーズームが禁止
される。なお、このフラグF_MPZDは2msタイマ
割り込み処理において参照される。
F_IPZD is IPZ-S as described above.
It is a flag that determines whether or not the same operation as TOP is performed. F_MPZD is a flag that determines whether or not manual power zoom is prohibited, and manual power zoom is prohibited when F_MPZD is set. The flag F_MPZD is referred to in the 2 ms timer interrupt process.

【0122】F ISZDは、ISZの制御を現在位置
(合焦時)のAFパルス数に基づいて求めた焦点距離で
行うか、プレディクタ量により求めた焦点距離で行うか
を決めるフラグである。このフラグは、ISZの演算処
理ル−チン(図18のS541)で参照される。F_I
SSPAおよびF_ISSPBは、ISZの制御スピー
ドを決めるフラグであり、図18のS547で参照され
る。
F ISZD is a flag that determines whether ISZ control is performed with the focal length obtained based on the number of AF pulses at the current position (in focus) or the focal length obtained with the predictor amount. This flag is referred to in the operation processing routine of ISZ (S541 in FIG. 18). F_I
SSPA and F_ISSPB are flags that determine the ISZ control speed, and are referred to in S547 of FIG.

【0123】図30には、SET−AFPOINTコマ
ンドを受信したときの処理に関するフローチャートを示
してある。レンズCPU61は、SET−AFPOIN
Tコマンド(23)を入力すると、コマンド受信完了信
号を出力し、ボディ側から1バイトのSET−AFPO
INTデータを受信してレンズRAM61bの所定のア
ドレスにセットし、データ入力完了信号を出力し、通信
割込みを許可してリターンする(S731〜735)。
FIG. 30 is a flow chart showing the processing when the SET-AFPOINT command is received. The lens CPU 61 is SET-AFPOIN
When the T command (23) is input, a command reception completion signal is output, and 1-byte SET-AFPO from the body side
The INT data is received and set at a predetermined address of the lens RAM 61b, the data input completion signal is output, the communication interrupt is permitted, and the process returns (S731 to 735).

【0124】SET−AFPOINTコマンドは、LB
コマンド、LENS−AFPULSE(15)の通信前
に、実行される。LENS−AFPULSEコマンドで
は、SET−AFPOINTコマンドで送られてきた情
報により、どのAFPULSEをレンズ51からボディ
11へ送るかを決める。
The SET-AFPOINT command is LB
It is executed before communication of the command, LENS-AFPULSE (15). In the LENS-AFPULSE command, which AFPULSE is sent from the lens 51 to the body 11 is determined based on the information sent by the SET-AFPOINT command.

【0125】bit3(X)がセットされているとき
は、現在位置のAFパルス数(AFPULSE(AFP
XL,H))を送る。bit7(ISZM)がセットさ
れているときは、ISZモード時に像倍率をメモリした
ときのAFパルス数(AFPULSE(ISZ_AFP
L,H))を送る。なお、bit3とbit7とが同時
にセットされることはない。bit3及びbit7がセ
ットされていないときは、bit4〜6(FM0、FM
1、FM2)が有効となる。
When bit3 (X) is set, the number of AF pulses at the current position (AFPULSE (AFP
XL, H)) is sent. When bit7 (ISZM) is set, the AF pulse number (AFPULSE (ISZ_AFP) when the image magnification is stored in the ISZ mode is stored.
L, H)) is sent. Note that bit3 and bit7 are not set at the same time. When bit3 and bit7 are not set, bit4 to 6 (FM0, FM
1, FM2) becomes effective.

【0126】レンズCPU61のレンズRAM61b内
には、AFパルスデータをメモリする領域が8個(0〜
7番)用意されており(AFP0L、H〜AFP7L,
H)、ボディ11からのコマンドによりそれぞれの番地
にAFパルスデータをメモリすることができる。なお、
bit4〜6の3ビットで0〜7番までのアドレスを指
定し、そのアドレスにメモリされているAFパルスデー
タを送る。なお、このコマンドは、LENS−AFPU
LSE(15)においてボディ11に送るAFパルスデ
ータをどれにするかを指定するだけのコマンドである。
In the lens RAM 61b of the lens CPU 61, there are eight areas (0 to 0) for storing AF pulse data.
No. 7) is prepared (AFP0L, H to AFP7L,
H), AF pulse data can be stored in each address by a command from the body 11. In addition,
Addresses 0 to 7 are designated by 3 bits of bits 4 to 6, and the AF pulse data stored in the addresses are sent. Note that this command is LENS-AFPU
This command simply specifies which AF pulse data to send to the body 11 in the LSE (15).

【0127】図31には、SET−PZPOINTコマ
ンドを受信したときの処理に関するフローチャートを示
してある。レンズCPU61は、SET−PZPOIN
Tコマンド(24)を入力すると、コマンド受信完了信
号を出力し、ボディ側からSET−PZPOINTデー
タを受信してレンズRAM61bの所定のアドレスにセ
ットし、データ入力完了信号を出力し、通信割込みを許
可してリターンする(S741〜745)。
FIG. 31 is a flow chart showing the processing when the SET-PZPOINT command is received. The lens CPU 61 is SET-PZPOIN
When the T command (24) is input, a command reception completion signal is output, SET-PZPOINT data is received from the body side and set to a predetermined address in the lens RAM 61b, a data input completion signal is output, and communication interruption is enabled. Then, the process returns (S741 to 745).

【0128】SET−PZPOINTコマンドは、LB
コマンド、FOCALLEN−X(16)の通信前に実
行される。FOCALLEN−Xコマンドでは、SET
−PZPOINTコマンドで送られてきた情報により、
現在位置の焦点距離データ、ISZモ−ド時に像倍率を
メモリしたときの焦点距離のいずれをボディ11へ送る
かを決める。
The SET-PZPOINT command is LB
It is executed before communication of the command, FOCALLEN-X (16). FOCALLEN-X command, SET
-By the information sent by the PZPOINT command,
Which of the focal length data at the current position and the focal length when the image magnification is stored in the ISZ mode is sent to the body 11 is determined.

【0129】bit3(X)がセットされているとき
は、現在位置の焦点距離データ(FCLXL,H)を送
る。bit7(ISZM)がセットされているときは、
ISZモ−ド時に像倍率をメモリしたときの焦点距離
(ISZメモリの焦点距離(ISZ_FCLL,H))
を送る。なお、bit3とbit7とは同時にセットさ
れない。bit3及びbit7がセットされていないと
きは、bit4〜6(FM0、FM1、FM2)が有効
となる。
When bit3 (X) is set, the focal length data (FCLXL, H) at the current position is sent. When bit7 (ISZM) is set,
Focal length when image magnification is stored in ISZ mode (focal length of ISZ memory (ISZ_FCLL, H))
To send. Note that bit3 and bit7 are not set at the same time. When bit3 and bit7 are not set, bits4 to 6 (FM0, FM1, FM2) are valid.

【0130】レンズRAM61b内には、焦点距離をメ
モリする領域が8個(0〜7番)用意されており(FC
L0L、H〜FCL7L,H)、ボディ11からのSE
T−PZPOINTコマンドによりそれぞれの番地に焦
点距離をメモリすることができる。そのうち、bit4
〜6の3ビットで、0〜7番までのアドレスを指定し、
そのアドレスにメモリされた焦点距離を送る。なお、こ
のコマンドは、FOCALLEN−X(16)において
ボディ11に送る焦点距離をどれにするかを指定するだ
けのコマンドである。
In the lens RAM 61b, eight areas (0 to 7) for storing the focal length are prepared (FC
L0L, H to FCL7L, H), SE from body 11
The focal length can be stored in each address by the T-PZPOINT command. Of which, bit4
Specify addresses 0 to 7 with 3 bits of ~ 6,
Send the focal length stored to that address. It should be noted that this command is only a command to specify which focal length to send to the body 11 in FOCALLEN-X (16).

【0131】STORE−AFPコマンドは、指定され
たアドレスに所定のAFパルスデータをセットさせるコ
マンドである。図32には、STORE−AFPコマン
ドを受信したときの処理に関するフローチャートを示し
てある。
The STORE-AFP command is a command for setting predetermined AF pulse data at a specified address. FIG. 32 shows a flowchart regarding the processing when the STORE-AFP command is received.

【0132】レンズCPU61は、STORE−AFP
コマンド(25)を受信すると、コマンド受信完了信号
を出力してカメラボディ11から2バイトのデータを入
力する(S751、S752)。入力したデータを、そ
の内のあるビットがISZメモリでなければ(ISZM
=0)、そのデータ内のAM0〜AM2により指定され
たレンズRAM61bのアドレス(AFP0L,H〜A
FP7L,H)にメモリし、ISZメモリであれば(I
SZM=1)、レンズRAM61bのISZメモリ(I
SZ−AFPL,H)にストアする(S751〜S75
6)。そして、ISZ演算フラグF ISZXOMをセ
ットして、データ入力完了信号を出力し、通信割込みを
許可してリターンする(S757〜758)。
The lens CPU 61 is a STORE-AFP
When the command (25) is received, a command reception completion signal is output and 2-byte data is input from the camera body 11 (S751, S752). If a bit in the input data is not ISZ memory (ISZM
= 0), the address (AFP0L, H-A of the lens RAM 61b designated by AM0-AM2 in the data)
FP7L, H) and if it is an ISZ memory (I
SZM = 1), the ISZ memory of the lens RAM 61b (I
SZ-AFPL, H) (S751 to S75)
6). Then, the ISZ calculation flag F ISZXOM is set, a data input completion signal is output, a communication interrupt is permitted, and the process returns (S757 to 758).

【0133】STORE−DEFP&Dコマンド(2
6)は、カメラボディ11側のAFに関するデフォーカ
ス量及びデフォーカスパルスをレンズRAM61bにメ
モリさせるコマンドである。図33には、STORE−
DEFP&Dコマンドを受信したときの処理に関するフ
ローチャートを示してある。
STORE-DEFP & D command (2
6) is a command for causing the lens RAM 61b to store the defocus amount and defocus pulse relating to AF on the camera body 11 side. In FIG. 33, STORE-
9 shows a flowchart regarding processing when a DEFP & D command is received.

【0134】レンズCPU61は、STORE−DEF
P&Dコマンドを受信すると、コマンド入力完了信号を
出力してカメラボディ11から2バイトのデフォーカス
パルスデータおよび2バイトのデフォーカス量データを
入力し、入力したデフォーカスパルスを1/2倍する
(S761〜S764)。本実施例では、ボディAFパ
ルス:レンズAFパルスが2:1なので、入力したデフ
ォーカスパルスを1/2倍している。なお、この比は任
意に設定可能である。
The lens CPU 61 uses the STORE-DEF
When the P & D command is received, the command input completion signal is output, the 2-byte defocus pulse data and the 2-byte defocus amount data are input from the camera body 11, and the input defocus pulse is halved (S761). ~ S764). In this embodiment, the body AF pulse: lens AF pulse is 2: 1, so the input defocus pulse is halved. Note that this ratio can be set arbitrarily.

【0135】そして、フラグF SIGNがクリアされ
ていればデフォーカスパルス数に現在のAFパルス数を
加算してISZ_FPXにストアし、フラグF SIG
Nが立っていれば現在のAFパルス数からデフォーカス
パルス数を減算してISZ_FPXにストアする(S7
65〜S767)。フラグF SIGN=1のときはF
AR端側へのデフォーカス量で、フラグF SIGN=
0のときはNEAR端側へのデフォーカス量である。そ
してフラグF FPREを立ててデータ入力完了信号を
出力し、通信割込みを許可してリターンする(S765
〜S771)。このように通信により送られたデフォー
カスパルスは、ISZ演算ルーチン内で、デフォーカス
パルスを利用して目標焦点距離を求める演算に使用され
る。また、フラグF FPREは、デフォーカス量を利
用した演算実施の指示フラグである。
Then, the flag F If SIGN is cleared, the current AF pulse number is added to the defocus pulse number and stored in ISZ_FPX. SIG
If N stands, the defocus pulse number is subtracted from the current AF pulse number and stored in ISZ_FPX (S7).
65-S767). Flag F F when SIGN = 1
Defocus amount toward the end of AR, flag F SIGN =
When it is 0, it is the defocus amount toward the NEAR end side. And flag F FPRE is set, a data input completion signal is output, a communication interrupt is permitted, and the process returns (S765.
~ S771). The defocus pulse sent by communication in this manner is used in the ISZ calculation routine for calculation for obtaining the target focal length using the defocus pulse. Also, the flag F FPRE is an instruction flag for performing calculation using the defocus amount.

【0136】STORE−PZPコマンド(27)は、
現在のAFの位置(フォーカシングレンズの位置または
合焦被写体距離)および現在のPZの位置(ズーミング
レンズ群53Zの位置または焦点距離)を指定のメモリ
(アドレス)にメモリさせるコマンドである。STOR
E−PZFコマンド(28)は、カメラボディ11で指
定した焦点距離を所定のアドレスに記憶させるコマンド
である。
The STORE-PZP command (27)
This is a command for storing the current AF position (focusing lens position or focused subject distance) and current PZ position (zooming lens group 53Z position or focal length) in a specified memory (address). STOR
The E-PZF command (28) is a command for storing the focal length designated by the camera body 11 at a predetermined address.

【0137】図34には、STORE−PZPコマンド
を受信したときの処理に関するフローチャートを示して
ある。レンズCPU61は、STORE−PZPコマン
ドを受信すると、コマンド受信完了信号を出力してカメ
ラボディ11から1バイトのデータを入力する(S78
1、S782)。このデータ内でPZメモリと指定され
ているとき(PZMフラグが立っているとき)には、現
在位置の焦点距離データをFM0〜FM2により指定さ
れたアドレス(FCL0L,H〜FCL7L,H)にメ
モリし、PZメモリでないときにはメモリしない(S7
83、S784)。
FIG. 34 is a flow chart showing the processing when the STORE-PZP command is received. Upon receiving the STORE-PZP command, the lens CPU 61 outputs a command reception completion signal and inputs 1-byte data from the camera body 11 (S78).
1, S782). When the PZ memory is designated in this data (when the PZM flag is set), the focal length data at the current position is stored in the addresses (FCL0L, H to FCL7L, H) designated by FM0 to FM2. However, if it is not the PZ memory, it is not stored (S7
83, S784).

【0138】さらに、AFメモリと指定されているとき
(F_AFMフラグが立っているとき)には、現在位置
のAFパルス数をAM0〜AM2により指定されたアド
レス(AFP0L,H〜AFP7L,H)にメモリし、
AFメモリでないときには何もせずに、データ入力完了
信号を出力し、通信割込みを許可してリターンする(S
785〜S788)。
Further, when the AF memory is designated (when the F_AFM flag is set), the AF pulse number at the current position is set to the address (AFP0L, H to AFP7L, H) designated by AM0 to AM2. Memory and
If it is not an AF memory, nothing is done, a data input completion signal is output, a communication interrupt is permitted, and the process returns (S
785-S788).

【0139】図35には、STORE−PZFコマンド
を受信したときの処理に関するフローチャートを示して
ある。レンズCPU61は、STORE−PZFコマン
ドを受信すると、カメラボディ11から2バイトのデー
タを入力し、これがISZメモリでなければ(フラグF
ISZFMがセットされていなければ)、入力した2
バイトのデータをビットFM0〜FM2により指定され
たレンズRAM61bのアドレス(FCL0L,H〜F
CL7L,H)にストアし、ISZメモリであれば(F
ISZMが立っていれば)、入力したデータをISZ
用メモリにストアし、焦点距離に基づいてISZの演算
を実行するフラグF ISZFOMを立てる(S791
〜S796)。そして、データ入力完了信号を出力し、
通信割込みを許可してリターンする(S797〜S79
8)。
FIG. 35 is a flow chart showing the processing when the STORE-PZF command is received. When the lens CPU 61 receives the STORE-PZF command, it inputs 2 bytes of data from the camera body 11, and if this is not an ISZ memory (flag F
Input 2 if ISZFM is not set)
The byte data is the address (FCL0L, H to F of the lens RAM 61b designated by the bits FM0 to FM2).
CL7L, H), and if it is an ISZ memory (F
If the ISZM is standing), enter the entered data into the ISZ
Flag F for storing in the memory for use and executing the ISZ calculation based on the focal length Set up ISZFOM (S791
~ S796). Then, a data input completion signal is output,
Allow communication interruption and return (S797 to S79)
8).

【0140】STORE−IS(29)コマンドは、像
倍率メモリ(レンズRAM61bのアドレスISZ−I
MGL,H)に像倍率をメモリさせるコマンドである。
図36には、STORE−ISコマンドを受信したとき
の処理に関するフローチャートを示してある。
The STORE-IS (29) command is used for the image magnification memory (address ISZ-I of the lens RAM 61b).
MGL, H) is a command for storing the image magnification in memory.
FIG. 36 shows a flowchart regarding the processing when the STORE-IS command is received.

【0141】レンズCPU61は、STORE−ISコ
マンドを受信すると、コマンド受信完了信号を出力し、
カメラボディ11から2バイトの像倍率に関するデータ
を入力し、そのデータを像倍率メモリ(ISZ−IMG
L,H)にストアし、フラグF STISをセットする
(S801〜804)。そして、データ入力完了信号を
出力し、通信割込みを許可してリターンする(S805
〜S806)。なお、フラグF STISは、ボディ側
から送られてくる像倍率に基づいて像倍率一定ズームI
SZの演算を実行させるフラグである。
Upon receiving the STORE-IS command, the lens CPU 61 outputs a command reception completion signal,
2 bytes of image magnification data is input from the camera body 11, and the data is stored in the image magnification memory (ISZ-IMG).
L, H) and flag F STIS is set (S801 to 804). Then, the data input completion signal is output, the communication interrupt is permitted, and the process returns (S805.
~ S806). The flag F STIS is a constant image magnification zoom I based on the image magnification sent from the body side.
This is a flag for executing the SZ calculation.

【0142】MOVE−PZMDコマンド(2A)は、
指定方向、または指定したメモリ(レンズRAM61b
のアドレス)の焦点距離にパワーズームさせるコマンド
である。MOVE−PZfコマンド(2B)は、指定焦
点距離、例えばカメラボディ11で演算した焦点距離に
パワーズーミングさせるコマンドであり、このコマンド
により授受されるデータには、焦点距離およびズーミン
グスピードに関するデータが含まれる。
The MOVE-PZMD command (2A) is
Designated direction or designated memory (lens RAM 61b
This is a command for power zooming to the focal length of (address of). The MOVE-PZf command (2B) is a command for power zooming to a designated focal length, for example, the focal length calculated by the camera body 11, and the data transmitted / received by this command includes data relating to the focal length and zooming speed. .

【0143】図37には、MOVE−PZMDコマンド
を受信したときの処理に関するフローチャートを示して
ある。レンズCPU61は、このMOVE−PZMDコ
マンドを入力すると、コマンド入力完了信号を出力し、
カメラボディ11から1バイトのデータを入力する(S
811〜S812)。そして、入力したデータ中のフラ
グF MDMが立っていれば、MVM0〜MVM2によ
り指定されたアドレス(FCL0L,H〜FCL7L,
H)からデータを読み出して、PZパルスデータに変換
してレンズRAM61bのPZPTRGETにストア
し、駆動スピードデータ(bit6,7のF SPA,
SPB) をSPDDRC2にセットし、フラグF
MOVTRGを立てるが、フラグF MDMが下りてい
れば、入力したデータの上位4ビットをアドレスSPD
DRC1にストアし、フラグF MOVをセットする
(S813〜S819)。これらのデータは、2msタイ
マ割込みルーチンの中で参照され、指定された動作のパ
ワーズームが行なわれる。
FIG. 37 is a flow chart showing the processing when the MOVE-PZMD command is received. When the lens CPU 61 inputs this MOVE-PZMD command, it outputs a command input completion signal,
Input 1-byte data from the camera body 11 (S
811 to S812). Then, the flag F in the input data If MDM is set, the addresses (FCL0L, H to FCL7L, specified by MVM0 to MVM2,
The data is read from H), converted into PZ pulse data and stored in PZPTRGET of the lens RAM 61b, and the drive speed data (F of bits 6 and 7) SPA,
F SPB) in SPDDRC2 and flag F
Set MOVTRG, but flag F If MDM is down, the upper 4 bits of the input data will be used as the address SPD.
Store in DRC1, flag F The MOV is set (S813 to S819). These data are referred to in the 2 ms timer interrupt routine, and the power zoom of the specified operation is performed.

【0144】フラグF LBATREQおよびF IP
ZBをセットしたら、データ入力完了信号を出力し、通
信割込みを許可してリターンする(S820〜S820
−2)。なお、フラグF MDM(bit3)が立って
いるときは、指定したメモリにストアされている焦点距
離にパワーズームさせるコマンドとなり、フラグF MD
Mが立っていないときは、フラグF MDT、F MD
W(bit4,5)で指示される方向にパワーズームさ
せるコマンドとなる。フラグF MDTがTELE方向
駆動を指定し、フラグF MDWがWIDE方向駆動を
指定し、フラグF SPA、F SPB(bit6,
7)は、ズーミングスピードを指定する。
Flag F LBATREQ and F IP
When ZB is set, the data input completion signal is output and
The communication interrupt and return (S820-S820
-2). The flag F MDM (bit3) is standing
, The focal length stored in the specified memory
It becomes a command to power zoom away, and the flag F MD
When M is not standing, flag F MDT, F MD
Power zoom in the direction indicated by W (bits 4, 5)
Command. Flag F MDT is in TELE direction
Specify drive and flag F MDW drives in WIDE direction
Specify and flag F SPA, F SPB (bit6,
7) specifies the zooming speed.

【0145】図38には、MOVE−PZfコマンドを
受信したときの処理に関するフローチャートを示してあ
る。レンズCPU61は、MOVE−PZfコマンドを
入力すると、コマンド受信完了信号を出力し、カメラボ
ディ11から2バイトの焦点距離データを入力し、入力
した焦点距離データをPZパルスデータに変換してレン
ズRAM61bのアドレスPZPTRGTにストアし、
SPDDRC2に駆動スピードデータをセットし、フラ
グF BATREQ、F IPZB、F MOVTRG
をセットする。これらのデータは2msタイマ割込みルー
チン内で参照され、指定された動作のパワーズームを実
行させる。そしてデータ入力完了信号を出力し、通信割
込みを許可してからリターンする(S821〜S82
7)。
FIG. 38 is a flow chart showing the processing when the MOVE-PZf command is received. When the MOVE-PZf command is input, the lens CPU 61 outputs a command reception completion signal, inputs 2-byte focal length data from the camera body 11, converts the input focal length data into PZ pulse data, and converts the input focal length data into PZ pulse data. Store at address PZPTRGT,
Set drive speed data in SPDDRC2 and set flag F BATREQ, F IPZB, F MOVTRG
Set. These data are referred to in the 2ms timer interrupt routine to execute the power zoom of the specified operation. Then, the data input completion signal is output, the communication interrupt is permitted, and then the process returns (S821 to S82).
7).

【0146】『CNTAF処理』次に、撮影レンズ51
におけるAFパルスカウント処理に関して、図39〜図
43に示したフローチャートを参照して説明する。な
お、このカウント処理は、図27のPZ−BSTATE
コマンド(20)のS703の処理の詳細である。本実
施例では、フォーカシングレンズ53Fがファー端(無
限遠撮影位置)に達したときにAFパルスカウンタの値
をクリアして0にし、ニア端(最短撮影位置)に達した
ときには最大値をAFパルスカウンタにセットする。そ
して、AFパルサー59から出力されるAFパルスを、
ニアムーブ(至近距離方向に駆動)のときには加算し、
ファームーブ(無限遠方向に駆動)のときには減算す
る。
"CNTAF processing" Next, the photographing lens 51
The AF pulse count processing in the above will be described with reference to the flowcharts shown in FIGS. Note that this counting process is performed by the PZ-BSTATE of FIG.
It is the details of the processing of S703 of the command (20). In the present embodiment, when the focusing lens 53F reaches the far end (infinity shooting position), the value of the AF pulse counter is cleared to 0, and when it reaches the near end (shortest shooting position), the maximum value of the AF pulse is reached. Set in the counter. Then, the AF pulse output from the AF pulsar 59 is
Add for near move (driving in the closest distance direction),
Subtract when the firmware is driven (in the direction of infinity).

【0147】先ず、割込みを禁止し、通信で入力したデ
ータをアドレスPZ_BDSTにメモリし、距離コード
板81から現在の距離コードを入力する(S901〜S
905)。そして、ファー端(無限遠位置)であること
を識別するフラグF ENDFが立っていれば、入力し
た距離コードがファー端のコードであるかどうかをチェ
ックする(S907〜S909)。距離コードがファー
端であれば、現在のAFパルス値及びAFパルスカウン
トスタート値(アドレスAFPXL,H、AFPSTR
TL,Hの内容)をクリアし、現在位置のAFパルスが
分かっていることを表わすフラグF AFPOSを立て
る(S909、S913、S915)。さらにニアムー
ブであることを識別するフラグF NEARMがクリア
されていればCNTAFP10処理に飛び、立っていれ
ば駆動方向が変わるのでCNTAFP11処理に飛ぶ
(S917)。検出した距離コードがファー端コードで
なければ、ファー端フラグF ENDFをクリアしてC
NTAFP3処理に飛ぶ(S909、S911)。
First, interrupts are prohibited, the data input by communication is stored in the address PZ_BDST, and the current distance code is input from the distance code plate 81 (S901 to S901).
905). Then, the flag F for identifying the far end (infinity position) If ENDF is set, it is checked whether the input distance code is the far end code (S907 to S909). If the distance code is the far end, the current AF pulse value and AF pulse count start value (addresses AFPXL, H, AFPSTR)
(Contents of TL and H) are cleared and a flag F indicating that the AF pulse at the current position is known AFPOS is set up (S909, S913, S915). Further, a flag F for identifying a near move If NEARM is cleared, jump to CNTAFP10 processing, and if standing, the driving direction changes, so jump to CNTAFP11 processing (S917). If the detected distance code is not the far end code, far end flag F Clear ENDF and C
Jump to NTAFP3 processing (S909, S911).

【0148】ファー端フラグF ENDFがクリアされ
ているときには、ニア端(至近合焦位置)であることを
識別するニア端フラグF ENDNをチェックし、クリ
アされていればCNTAFP3に進む(S919)。ニ
ア端フラグF ENDNが立っているときには、距離コ
ードがニア端のコードであるかどうかをチェックし、ニ
ア端のコードでなければ、ファー端フラグF ENDNを
クリアしてCNTAFP3処理に進む(S919〜S9
23)。距離コードがニア端のときには、現在のAFパ
ルスカウント値及びAFパルスカウントスタート値を最
大値にセット(N_AFMAXL,HをAFPXL,
H、AFPSTRTL,Hにセット)し、現在のAFパ
ルス値がわかっていることを表わすフラグF AFPO
Sをセットし、ファームーブ(F FARM=1)であ
るかどうかをチェックし、ファームーブであればCNT
AFP11処理に進み、ファームーブでなければCNT
AFP10処理に進む(S925〜S929)。
Fur end flag F ENDF is cleared
When it is, make sure that it is at the near end (the closest focus position)
Near end flag F for identification Check ENDN and click
If so, proceed to CNTAFP3 (S919). D
Edge flag F When ENDN is standing,
Check if the cord is the near end cord, and
Far end flag F if not the end code ENDN
Clear and proceed to CNTAFP3 processing (S919 to S9)
23). When the distance code is near end, the current AF
Set the loose count value and AF pulse count start value
Set to large value (N_AFMAXL, H to AFPXL,
H, AFSTRTL, H)), and the current AF
Flag F indicating that the loose value is known AFPO
Set S, Farm Move (F With FARM = 1)
Check if it is CNT if it is firmware
Proceed to AFP11 processing, if it is not firmware, CNT
Proceed to AFP10 processing (S925 to S929).

【0149】以上のように、ファー端(F ENDF=
1) あるいはニア端 (F ENDN=1) のときには、
それぞれ所定の値でAFパルスのカウント値を補正す
る。ただし、入力した距離コードを判断して端点にない
ときは、上記端点補正は行なわない。
As described above, the fur end (F ENDF =
1) Or near end (F When ENDN = 1),
The count value of the AF pulse is corrected by a predetermined value. However, if the input distance code is judged and it is not at the end point, the end point correction is not performed.

【0150】フォーカシングレンズ群53Fがファー端
とニア端の間にあるときの処理(CNTAFP3処理)
について、図40に示したフローチャートを参照して説
明する。
Processing when the focusing lens group 53F is between the far end and the near end (CNTAFP3 processing)
This will be described with reference to the flowchart shown in FIG.

【0151】先ず、現在のAFパルスのハードカウンタ
のカウンタ値をAFパルスカウンタ(AFPCNTL,
H)にセットする(S931、S933)。フラグF
FARMがクリアされているときにはCNTAFP6処
理に進み、セットされているときには、前回ニアムーブ
であったかどうか(フラグF NEARMOがセットさ
れた否か)をチェックする(S933、S935)。ニ
アムーブからファームーブに変わったときには、AFパ
ルスカウントスタート値(AFPSTRL,H)にAF
パルスカウント値(AFPCNTL,H)を加算して所
定の現在AFパルス値及びAFパルスカウントスタート
値メモリAFPXL,H&AFPSTRTL,Hにメモ
リしてCNTAFP12処理に進む(S935、S93
7)。
First, the counter value of the hard counter of the current AF pulse is set to the AF pulse counter (AFPCNTL,
H) (S931, S933). Flag F
When FARM is cleared, the process proceeds to CNTAFP6 processing, and when FARM is set, whether or not it was the near move last time (flag F It is checked whether or not NEARMO is set (S933, S935). When changing from near move to firm move, set AF pulse count start value (AFPSTR, H) to AF
The pulse count value (AFPCNTL, H) is added and stored in the predetermined current AF pulse value and AF pulse count start value memory AFPXL, H & AFSTRTLL, H and the process proceeds to the CNTAFP12 process (S935, S93).
7).

【0152】前回ニアムーブではなかったときには、前
回ファームーブであったかどうかをチェックし、ファー
ムーブでもなかったとき、つまり動いていなかったとき
にはCNTAFP11処理に進み、前回もファームーブ
だったときには駆動方向が変わっていないので、AFパ
ルスカウントスタート値(AFPSTRL,H)からカ
ウント値(AFPCNTL,H)を減算してその差を現
在のAFパルス値(AFPXL,H)にメモリし、CN
TAFP16処理に進む(S939、S941)。
If it was not near move last time, it is checked whether it was firmware before, and if it was not firmware, that is, if it was not moving, it proceeds to CNTAFP11 processing, and if it was also firmware last time, the driving direction has changed. Since it does not exist, the count value (AFPCNTL, H) is subtracted from the AF pulse count start value (AFPSTR, H), and the difference is stored in the current AF pulse value (AFPXL, H).
The process proceeds to TAFP16 processing (S939, S941).

【0153】現在ファームーブでなかったときのCNT
AFP6処理について、図41に示したフローチャート
を参照して説明する。なお、CNTAFP6処理は、A
F処理開始後最初に入るルーチンでもある。先ず、ニア
ムーブであるかどうかをチェックし、ニアムーブでなけ
ればCNTAFP8処理に進む(S951)。ニアムー
ブであれば、前回ニアムーブであったかどうかをチェッ
クし、前回もニアムーブであったときには、AFパルス
カウントスタート値(AFPSTRTL,H)にAFパ
ルスカウント値(AFPCNTL,H)を加算してその
和を現在のAFパルス値(AFPXL,H)にメモリす
る(S953、S955)。
CNT when not currently in firmware
The AFP6 process will be described with reference to the flowchart shown in FIG. Note that the CNTAFP6 process is A
It is also the first routine that is entered after the start of F processing. First, it is checked whether it is near move. If it is not near move, the process proceeds to the CNTAFP8 process (S951). If it is a near move, it is checked whether it was a near move last time. If it was also a near move last time, the AF pulse count start value (AFPSTRTL, H) is added to the AF pulse count value (AFPCNTL, H), and the sum is now calculated. It is stored in the AF pulse value (AFPXL, H) of (S953, S955).

【0154】前回ニアムーブでなく、かつ前記ファーム
ーブであれば駆動方向が変わっているので、AFパルス
カウントスタート値(AFPSTRTL,H)からAF
Pカウント値(AFPCNTL,H)を減算してその差
を現在のAFパルス値及びAFパルスカウントスタート
値(AFPXL,H&AFPSTRTL,H)にメモリ
する(S957、S959)。前回ファームーブでなけ
れば、CNTAFP11処理に進む(S957)。
If it is not near move last time, and the drive direction has changed, the AF pulse count start value (AFFPSTRL, H) is used to determine AF.
The P count value (AFPCNTL, H) is subtracted, and the difference is stored in the current AF pulse value and AF pulse count start value (AFPXL, H & AFSTRTLL, H) (S957, S959). If it is not the previous firmware, the process proceeds to the CNTAFP11 process (S957).

【0155】AFモータ39が停止しているときの処理
(CNTAFP8処理)について、図42に示したフロ
ーチャートを参照して説明する。CNTAFP8処理で
は、先ず、前回ニアムーブであったかどうかをチェック
する(S961)。
The processing (CNTAFP8 processing) when the AF motor 39 is stopped will be described with reference to the flowchart shown in FIG. In the CNTAFP8 processing, first, it is checked whether or not it was a near move last time (S961).

【0156】前回ニアムーブであれば、ニアムーブから
の停止なので、AFパルスカウントスタート値(AFP
STRTL,H)にAFパルスカウント値(AFPCN
TL,H)を加算してその和を現在のAFパルス値及び
AFパルスカウントスタート値(AFPXL,H&AF
PSTRTL,H)にメモリしてCNTAFP10処理
に進む(S961、S963)。前回ファームーブのと
きにはファームーブからの停止なので、AFパルスカウ
ントスタート値(AFPSTRTL,H)からAFパル
スカウント値(AFPCNTL,H)を減算して現在の
AFパルス値及びAFパルスカウントスタート値(AF
PXL,H&AFPSTRTL,H)にメモリしてから
CNTAFP10処理に進む(S961、S965、S
967)。前回ニアムーブでもファームーブでもなけれ
ば停止なので、CNTAFP16処理に進む(S96
1、S965)。
If it was the near move last time, the AF pulse count start value (AFP
AF pulse count value (AFPCN) in STRTL, H)
TL, H) and add the sum to the current AF pulse value and AF pulse count start value (AFPXL, H & AF
(PSTRTL, H) and the process proceeds to the CNTAFP10 process (S961, S963). When the firmware is the previous firmware, it is stopped from the firmware, so the AF pulse count value (AFPCTRTL, H) is subtracted from the AF pulse count start value (AFFPTRTL, H) to obtain the current AF pulse value and AF pulse count start value (AF
PXL, H & AFSTRTL, H) before proceeding to CNTAFP10 processing (S961, S965, S
967). If it is neither near move nor firm move last time, the process is stopped, so the process proceeds to the CNTAFP16 process (S96
1, S965).

【0157】CNTAFP10、11、12、16処理
について、図43に示したフローチャートを参照して説
明する。CNTAFP10にはAFモータ39が停止し
た直後に入るので、AFパルサー59のLEDを消灯
し、PZ_BDSTの内容をPZ_BDST0にメモリ
し、通信割込みを許可してからAFパルスカウント処理
を抜ける(S971、S977、S979)。
The CNTAFP 10, 11, 12, 16 processing will be described with reference to the flowchart shown in FIG. Since the CNTAFP 10 enters immediately after the AF motor 39 stops, the LED of the AF pulsar 59 is turned off, the contents of PZ_BDST are stored in PZ_BDST0, the communication interrupt is permitted, and then the AF pulse count processing is exited (S971, S977, S979).

【0158】CNTAFP11処理には、AF駆動開始
時に入るので、AFパルサー59のLEDを点灯してA
Fパルスハードカウンタ及びAFパルスカウント値メモ
リ(AFPCNTL,H)をクリアし、PZ_BDST
のメモリ内容をPZ_BDST0に移し、通信割込みを
許可してからAFパルスカウント処理を抜ける(S97
3、S975、S977、S979)。
Since the AF driving start is entered in the CNTAFP11 processing, the LED of the AF pulsar 59 is turned on and A
F pulse hardware counter and AF pulse count value memory (AFPCNTL, H) are cleared, and PZ_BDST
Memory content of PZ_BDST0, communication interrupts are permitted, and AF pulse count processing ends (S97).
3, S975, S977, S979).

【0159】CNTAFP12処理には、AF駆動中に
駆動方向が変わるときに入るので、AFパルスハードカ
ウンタ及びAFパルスカウント値(AFPCNTL,
H)をクリアし、PZ_BDSTのメモリ内容をPZ_
BDST0に移し、通信割込みを許可してからAFパル
スカウント処理を抜ける(S975、S977、S97
9)。
The CNTAFP12 process is entered when the driving direction changes during AF driving, so the AF pulse hard counter and AF pulse count value (AFPCTL,
H) is cleared and the memory contents of PZ_BDST are changed to PZ_
The process moves to BDST0, the communication interrupt is permitted, and then the AF pulse count process is terminated (S975, S977, S97).
9).

【0160】CNTAFP16処理には、ニアムーブま
たはファームーブでの同方向駆動中(S655、S64
1)、またはAFモータ停止中(S965)に入るの
で、PZ_BDSTのメモリ内容をPZ_BDST0に
移し、通信割込みを許可してからAFパルスカウント処
理を抜ける(S977、S979)。
For the CNTAFP16 process, the near-movement or firm-movement drive in the same direction (S655, S64
1) or while the AF motor is stopped (S965), the memory content of PZ_BDST is moved to PZ_BDST0, the communication interrupt is permitted, and then the AF pulse count processing is exited (S977, S979).

【0161】LBコマンド処理 次に、レンズの状態等のレンズ側情報をカメラ側の要求
に応じてパワーズームレンズ51からカメラボディ11
に転送させるコマンドに関する処理について、表4およ
び図44〜図51に示したフローチャートを参照して説
明する。これらのコマンドの内容は、表4に示してあ
る。なお、これらの図44〜図51に示したフローチャ
ートは、図8の通信割込みルーチンにおけるS209に
示した処理の詳細図である。コマンドの下位の内容によ
って対応する処理が実行される。
LB Command Processing Next, the lens side information such as the lens state is transferred from the power zoom lens 51 to the camera body 11 in response to a request from the camera side.
The process related to the command to be transferred to will be described with reference to Table 4 and the flowcharts shown in FIGS. The contents of these commands are shown in Table 4. The flowcharts shown in FIGS. 44 to 51 are detailed diagrams of the process shown in S209 in the communication interrupt routine of FIG. Corresponding processing is executed depending on the lower contents of the command.

【0162】『PZ−LSTATE処理』図44に示し
たフローチャートは、PZ−LSTATE(10)処理
に関するもので、パワーズームレンズ51のパワーズー
ム制御状態に関するデータをカメラボディ11に送る処
理である。レンズCPU61は、パワーズームに関する
レンズステート(PZ−LSTATE)要求コマンドを
受信すると、コマンド受信完了信号を出力した後に、パ
ワーズームの制御状態に関するデータ(PZ_LS
T)、例えば像倍率一定ズーム制御中であるかどうかな
どをカメラボディ11に出力する(S1001、S10
02)。そして、データ送信完了信号を出力して通信割
込みを許可してリターンする(S1003、S100
4)。
[PZ-LSTATE Processing] The flowchart shown in FIG. 44 relates to the PZ-LSTATE (10) processing, and is processing for sending data regarding the power zoom control state of the power zoom lens 51 to the camera body 11. When the lens CPU 61 receives a lens state (PZ-LSTATE) request command regarding power zoom, it outputs a command reception completion signal and then outputs data regarding the power zoom control state (PZ_LS).
T), for example, whether or not zoom control with constant image magnification is being performed is output to the camera body 11 (S1001, S10).
02). Then, the data transmission completion signal is output, the communication interrupt is permitted, and the process returns (S1003, S100).
4).

【0163】この処理において使用されるフラグの内容
について説明する。フラグF_TMOV(bit 0)は、
ズームモータがTELE方向に動いているときにセット
される。 フラグF_WMOV(bit 1)は、ズームモ
ータがWIDE方向に動いているときにセットされる。
フラグF_TENDは、ズーミングレンズ群53ZがT
ELE端にあるときにセットされる。フラグF_WEN
Dは、ズーミングレンズ群53ZがWIDE端にあると
きにセットされる。フラグF_IPZBは、マニュアル
パワーズーム以外でパワーズーム動作(ISZ、PZの
イニシャライズ動作、収納動作)するときにセットされ
る。フラグF_IPZIは、ISZ中にマニュアルパワ
ーズーム操作が行われたときにセットされる。フラグF
_ISOKは、ISZ動作中であるときにセットされ
る。フラグF_MPZは、マニュアルパワーズーム動作
中であるときにセットされる。
The contents of the flags used in this processing will be described. The flag F_TMOV (bit 0) is
Set when the zoom motor is moving in the TELE direction. The flag F_WMOV (bit 1) is set when the zoom motor is moving in the WIDE direction.
The flag F_TEND indicates that the zooming lens group 53Z is T.
Set when at the ELE end. Flag F_WEN
D is set when the zooming lens group 53Z is at the WIDE end. The flag F_IPZB is set when performing a power zoom operation (ISZ / PZ initializing operation, storage operation) other than the manual power zoom. The flag F_IPZI is set when the manual power zoom operation is performed during ISZ. Flag F
_ISOK is set during ISZ operation. The flag F_MPZ is set during the manual power zoom operation.

【0164】『POFF−STATE、POFFS−W
SLEEP処理』図45には、POFF−STATE
(11)処理及びPOFFS−WSLEEP(12)処
理に関するフローチャートを示してある。これらの処理
は、レンズのパワーズームに関するスイッチの情報、バ
ッテリ要求情報、PZ用の電源(バッテリ)のモニタ情
報等をボディ11に送る処理である。POFF−STA
TE(11)とPOFFS−WSLEEP(12)との
違いは、本コマンド通信終了後にレンズCPU61が低
消費電力モードに入るかどうかの違いである。POFF
S−WSLEEP(12)コマンド処理は、これを実行
すると、本通信中にフラグF STNDBYをセット
し、メインルーチンに戻ったときに低消費電力モードに
移行するコマンドである。すなわち、POFFS−WS
LEEP(12)コマンドは、POFF−STATE
(11)とインストラクションコードのSTANDBY
コマンド(30)の内容を両方実行するコマンドであ
る。
[POFF-STATE, POFFS-W
SLEEP processing "In FIG. 45, POFF-STATE
The flowchart regarding (11) processing and POFFS-WSLEEEP (12) processing is shown. These processes are processes for sending switch information relating to the power zoom of the lens, battery request information, PZ power supply (battery) monitor information, and the like to the body 11. POFF-STA
The difference between TE (11) and POFFS-WSLEEEP (12) is whether or not the lens CPU 61 enters the low power consumption mode after the completion of this command communication. POFF
If this is executed, the S-WSLEEEP (12) command processing causes the flag F during the main communication. This command sets STNDBY and shifts to the low power consumption mode when returning to the main routine. That is, POFFS-WS
The LEEP (12) command is POFF-STATE.
(11) and instruction code STANDBY
This is a command for executing both the contents of the command (30).

【0165】レンズCPU61は、POFFS−WSL
EEP(12)コマンドの場合、フラグF STNDB
Yをセットしてコマンド受信完了信号を出力し、スイッ
チ(75、77)の状態を入力する(S1011〜S1
015)。そして、フラグF STNDBYがセットされ
ているとき(POFFS−WSLEEP(12)のと
き)には電動/手動切替えスイッチ(D/Mスイッチ)
が電動のときで、かつテレ、またはワイドスイッチ(ス
ピード切替えスイッチ)がオンされているときにはバッ
テリ要求フラグF BATREQを立ててS1025に
進むが、それ以外のときにはそのままS1025に進む
(S1017、S019、S1021、S1023)。
The lens CPU 61 uses the POFFS-WSL.
In case of EEP (12) command, flag F STNDB
Set Y to output a command reception completion signal and
Input the state of H (75, 77) (S1011 to S1)
015). And flag F STNDBY is set
When (POFFS-WSLEEEP (12)
Electric / manual switch (D / M switch)
When the power is on, and the Tele or Wide switch (switch
When the speed change switch) is turned on,
Terry request flag F Set BATREQ to S1025
If so, proceed to S1025 otherwise.
(S1017, S019, S1021, S1023).

【0166】なお、フラグF STNDBYがセットさ
れているときは、通常、本通信割り込みを終了して、メ
インルーチンに戻ったときに、低消費電力モ−ドへ移行
するが、フラグF BATREQがセットされていれ
ば、フラグF STNDBYがセットされていても、低
消費電力モ−ドに移行せず、通常動作を続けることがで
き、マニュアルパワーズームの動作等が可能となる(図
7参照)。
The flag F Normally, when STNDBY is set, this communication interrupt is ended, and when the process returns to the main routine, the mode shifts to the low power consumption mode. If BATREQ is set, flag F Even if STNDBY is set, the normal operation can be continued without shifting to the low power consumption mode, and the operation of the manual power zoom can be performed (see FIG. 7).

【0167】また、フラグF STNDBYがセットさ
れていないときは、メインルーチンに戻っても低消費電
力モ−ドに移行しないので、PZスピードスイッチ75
がオンされていれば、本コマンド内でフラグF BAT
REQをセットしなくてもマニュアルパワーズーム等の
動作は可能である。フラグF STNDBYがクリアさ
れているとき(POFF−STATE(11)のとき)
には、そのままS1025に進む。
Further, the flag F When STNDBY is not set, the mode does not shift to the low power consumption mode even when returning to the main routine, so the PZ speed switch 75
If is turned on, the flag F in this command BAT
Operations such as manual power zoom are possible without setting REQ. Flag F When STNDBY is cleared (when POFF-STATE (11))
If so, the process directly proceeds to S1025.

【0168】S1025では、入力したズームモード切
換えスイッチ77に応じてフラグF SLSW、F AS
SW、F PZM、F PZD、F AFSWをセット
またはクリアする。そして、端子VBATTの状態をモ
ニタし、カメラボディ11からズームモータ65用の電
力が供給されていなければフラグF BDETをクリア
し(VBATTオフ)、供給されていればフラグF
DETをセットする(VBATTオン)(S1027〜
S1031)。そして、上記セットした1バイトのデー
タ(POFF−ST)をカメラボディ11へ転送し、デ
ータ出力完了信号を出力し、通信割込みを許可してリタ
ーンする(S1033〜S1037)。
In step S1025, the input zoom mode is turned off.
Flag F depending on the changeover switch 77 SLSW, F AS
SW, F PZM, F PZD, F Set AFSW
Or clear. Then, change the state of the terminal VBATT.
The power for the zoom motor 65 from the camera body 11.
Flag F if no power is supplied Clear BDET
(VBATT off), and flag F if supplied B
Set DET (VBATT ON) (S1027 ~
S1031). And the 1-byte day set above
Data (POFF-ST) to the camera body 11
A data output completion signal is output, communication interrupts are enabled, and
(S1033 to S1037).

【0169】ここで、フラグF SLSWは、セットさ
れる事によりパワーズームレンズ51のズームセットボ
タンSLがオンされている事を、また、クリアされる事
によりオフされている事を示すフラグである。また、フ
ラグF ASSWは、セットされる事により、パワーズ
ームレンズ51のスライドスイッチがAS位置(即ち、
セルフバック位置、換言すれば、オートパワーズームモ
ード変更位置)にある事を、クリアされる事により上記
以外の位置(PまたはA)にある事を示すフラグであ
る。また、フラグF PZMは、セットされる事によ
り、パワーズームレンズ51のスライドスイッチがAS
またはA位置(即ち、オートズーム)にある事を、クリ
アされる事によりP位置(即ち、マニュアルパワーズー
ム)にある事を示すフラグである。
Here, the flag F SLSW is a flag that indicates that the zoom set button SL of the power zoom lens 51 is turned on by being set and that it is turned off by being cleared. Also, the flag F When the ASSW is set, the slide switch of the power zoom lens 51 is in the AS position (that is,
It is a flag indicating that the self-back position, in other words, the auto power zoom mode change position), is present at a position (P or A) other than the above by being cleared. Also, the flag F When the PZM is set, the slide switch of the power zoom lens 51 is AS
Alternatively, it is a flag indicating that it is in the A position (that is, auto zoom) and that it is in the P position (that is, manual power zoom) when it is cleared.

【0170】また、フラグF PZDは、パワーズーム
レンズ51のスイッチが電動か手動かを示すパワーズー
ムレンズ側のフラグであり、セットされた状態で電動ズ
ームを、クリアされた状態で手動ズームを夫々示してい
る。また、フラグF AFSWは、パワーズームレズ5
1のAFスイッチの状態を示すフラグであり、セットさ
れる事によりAF状態を、クリアされる事によりMF状
態を夫々示している。
Further, the flag F PZD is a flag on the power zoom lens side that indicates whether the switch of the power zoom lens 51 is electric or manual, and indicates electric zoom when set and manual zoom when cleared. Also, the flag F AFSW is Power Zoom Lesbian 5
A flag indicating the state of the AF switch No. 1 indicates the AF state when set and the MF state when cleared.

【0171】POFF−STATE処理のときには、S
1011のフラグF STNDBYセット処理を飛ばし
てS1013に入り、以降はPOFFS−WSLEEP
処理と同一の処理を実行する。
At the time of POFF-STATE processing, S
1011 flag F The STNDBY setting process is skipped and the process goes to S1013, and then POFFS-WSLEEEP.
The same process as the process is executed.

【0172】『LENS−INF1処理』図46に示し
たLENS−INF1のフローチャートは、レンズ51
の可変情報をカメラボディ11に送る処理である。
[LENS-INF1 Processing] The flow chart of LENS-INF1 shown in FIG.
Is a process of sending the variable information of No. 1 to the camera body 11.

【0173】レンズCPU61は、LENS−INF1
データ要求コマンド入力すると、コマンド受信完了信号
を送信し、1バイトのLNS_INF1データのうち、
パワーズームの方向に関する2ビットをクリアし、AE
オートレンズであることを識別する1ビットをセットし
てから、ズーム方向スイッチ情報を入力する(S104
1〜S1043)。そして、入力したスイッチ情報に応
じて対応するビットをセットし、1バイトのレンズデー
タとしてカメラボディ11に出力する(S1044、S
1045)。そして、データ送信完了信号を出力し、通
信割込みを許可してリターンする(S1046〜S10
47)。なお、LNS_INF1データには、像倍率一
定ズーム処理に関するデータが含まれている。詳細は先
に記した通りである。
The lens CPU 61 uses the LENS-INF1
When a data request command is input, a command reception completion signal is transmitted, and of the 1-byte LNS_INF1 data,
Clear 2 bits for power zoom direction, AE
After setting 1 bit that identifies the lens as an auto lens, the zoom direction switch information is input (S104).
1 to S1043). Then, the corresponding bit is set according to the input switch information, and is output to the camera body 11 as 1-byte lens data (S1044, S).
1045). Then, the data transmission completion signal is output, the communication interrupt is permitted, and the process returns (S1046 to S10).
47). It should be noted that the LNS_INF1 data includes data related to the constant image magnification zoom process. Details are as described above.

【0174】『LENZ−INF2処理』図47に示し
たLENS−INF2のフローチャートは、レンズ51
固有の固定データをカメラボディ11に送信する処理で
ある。レンズCPU61は、LENS−INF2コマン
ドを入力すると、コマンド受信完了信号を出力し、LN
S−INF2データをカメラボディ11へ出力し、デー
タ入力完了信号を出力し、通信割込みを許可してリター
ンする(S1051〜S1054)。LENS−INF
2データには、レンズのバージョン、PZレンズかどう
かなどを識別するデータが含まれており、これらのデー
タは固定値で、レンズROM61aに格納されている。
[LENZ-INF2 Processing] The flow chart of LENS-INF2 shown in FIG.
This is a process of transmitting unique fixed data to the camera body 11. When the LENS-INF2 command is input, the lens CPU 61 outputs a command reception completion signal and LN
The S-INF2 data is output to the camera body 11, the data input completion signal is output, the communication interrupt is permitted, and the process returns (S1051 to S1054). LENS-INF
The 2 data includes data for identifying the lens version, whether or not the lens is a PZ lens, etc. These data are fixed values and are stored in the lens ROM 61a.

【0175】『LENS−AFPULSE処理』図48
に示したLENS−AFPULSEのフローチャート
は、レンズAFパルスカウント値をカメラボディ11に
出力する処理である。すでに説明したように、LENS
−AFPULSコマンドの通信前に必ず、SET−AF
POINTコマンド通信が行われる。このSET−AF
POINTコマンドの内容に応じてLENS−AFPU
LSEコマンドでどのAFパルスをボディに送るかが決
まる。
"LENS-AFPULSE processing" FIG.
The flow chart of LENS-AFPULSE shown in is a process of outputting the lens AF pulse count value to the camera body 11. As already mentioned, LENS
-Before communication of AFPULS command, be sure to set-AF
POINT command communication is performed. This SET-AF
LENS-AFPU depending on the content of the POINT command
The LSE command determines which AF pulse is sent to the body.

【0176】レンズCPU61は、LENS−AFPU
LSEコマンドを入力すると、コマンド受信完了信号を
出力し、現在のAFパルスを要求されているときには、
現在のAFパルス数(AFPXL,H)をレジスタ(図
示せず)にストアする(S1061〜S1063)。像
倍率一定ズーム(ISZ)のパルスを要求されていると
きには、ISZのAFパルスデータ(ISZ−AFP
L,H)をレジスタにストアする(S1062、S10
64、S1065)。いずれでもないときには、指定さ
れたアドレスのAFパルスデータ(AFP0L,H〜A
FP7L,H)をレジスタにストアする(S1062、
S1064、S1066)。そして、レジスタにセット
したAFパルスデータをカメラボディ11に出力し、デ
ータ送信完了信号を出力し、通信割込みを許可してリタ
ーンする(S1067〜S1069)。
The lens CPU 61 uses the LENS-AFPU.
When the LSE command is input, a command reception completion signal is output, and when the current AF pulse is requested,
The current AF pulse number (AFPXL, H) is stored in a register (not shown) (S1061 to S1063). When a constant image magnification zoom (ISZ) pulse is required, ISZ AF pulse data (ISZ-AFP).
L, H) are stored in the register (S1062, S10)
64, S1065). If neither, AF pulse data (AFP0L, H-A) at the specified address
FP7L, H) is stored in the register (S1062,
S1064, S1066). Then, the AF pulse data set in the register is output to the camera body 11, the data transmission completion signal is output, the communication interrupt is permitted, and the process returns (S1067 to S1069).

【0177】『FOCALLEN−X処理』パワーズー
ムレンズ51の焦点距離データをカメラボディ11に出
力するFOCALLEN−X処理について、図49に示
したフローチャートを参照して説明する。すでに説明し
たように、FOCALLEN−Xコマンドの通信前に必
ずSET−PZPOINTコマンドの通信が行われる。
このSET−PZPOINTコマンドの内容に応じて、
FOCALLEN−Xコマンドを受けたときにどの焦点
距離をボディに送るかが決まる。
[FOCALLEN-X Processing] The FOCALLEN-X processing for outputting the focal length data of the power zoom lens 51 to the camera body 11 will be described with reference to the flowchart shown in FIG. As described above, the SET-PZPOINT command communication is always performed before the FOCALLEN-X command communication.
Depending on the contents of this SET-PZPOINT command,
It determines which focal length is sent to the body when a FOCALLEN-X command is received.

【0178】レンズCPU61は、FOCALLEN−
Xコマンドを受信すると、コマンド受信完了信号を出力
し、現在の焦点距離を要求されているときには、現在の
焦点距離(FCLXL,H)をレジスタにストアする
(S1071〜S1073)。像倍率一定ズーム(IS
Z)の焦点距離(ISZ−FCLL,H)を要求されて
いるときには、像倍率一定ズームの焦点距離データをレ
ジスタにストアする(S1072、S1074、S10
75)。また、WIDE端の焦点距離を要求されている
ときには、そのWIDE端の焦点距離をレジスタにスト
アし(S4401、S4403)、TELE端の焦点距
離を要求されているときには、そのTELE端の焦点距
離をレジスタにストアし(S4405、S4407)、
何れでもない場合には、指定されたアドレスの焦点距離
(FCL0L,H〜FCL7L,H)をレジスタにスト
アする(S1072、S1074、S1076)。そし
て、レジスタにセットした焦点距離データをカメラボデ
ィ11に出力し、データ送信完了信号を出力し、通信割
込みを許可してリターンする(S1077〜S107
9)。
The lens CPU 61 uses the FOCALLEN-
When the X command is received, a command reception completion signal is output, and when the current focal length is requested, the current focal length (FCLXL, H) is stored in the register (S1071 to S1073). Constant image magnification zoom (IS
When the focal length (ISZ-FCLL, H) of Z) is requested, the focal length data of the constant image magnification zoom is stored in the register (S1072, S1074, S10).
75). When the focal length of the WIDE end is requested, the focal length of the WIDE end is stored in the register (S4401, S4403), and when the focal length of the TELE end is requested, the focal length of the TELE end is set. Store in register (S4405, S4407),
If neither is the case, the focal length (FCL0L, H to FCL7L, H) of the designated address is stored in the register (S1072, S1074, S1076). Then, the focal length data set in the register is output to the camera body 11, the data transmission completion signal is output, the communication interrupt is permitted, and the process returns (S1077 to S107).
9).

【0179】『IMAGE−LSIZE処理』図50に
示したIMAGE−LSIZEのフローチャートは、レ
ンズRAM61bの所定アドレスにメモリされている、
像倍率一定ズーム制御のための像倍率データをカメラボ
ディ11に送る処理である。
[IMAGE-LIZE Processing] The flowchart of IMAGE-LIZE shown in FIG. 50 is stored in a predetermined address of the lens RAM 61b.
This is a process of sending image magnification data for constant image magnification zoom control to the camera body 11.

【0180】レンズCPU61は、IMAGE−LSI
ZEコマンドを入力すると、コマンド受信完了信号をカ
メラボディ11に出力し、像倍率(イメージサイズ)に
関するデータ(ISZ−IMGL,H)をカメラボディ
11に出力し、データ送信完了信号を出力し、通信割込
みを許可してからリターンする(S1081〜S108
5)。
The lens CPU 61 is an IMAGE-LSI.
When a ZE command is input, a command reception completion signal is output to the camera body 11, data (ISZ-IMGL, H) relating to image magnification (image size) is output to the camera body 11, a data transmission completion signal is output, and communication is performed. Return after enabling interrupts (S1081 to S108)
5).

【0181】『16byteデータ処理』図51に示した1
6byteデータフローチャートは、16バイトの基本レン
ズデータのすべてをカメラボディ11に送る処理であ
る。なお、このコマンドは、図8の通信割込みルーチン
のS221における処理の詳細である。コマンド下位の
内容によって各コマンドが実行される。なお、前半8by
teおよび後半8byte処理は、16byteデータ通信と同様
なので詳細は略す。
"16-byte data processing" 1 shown in FIG.
The 6-byte data flowchart is a process of sending all 16-byte basic lens data to the camera body 11. Note that this command is the details of the processing in S221 of the communication interrupt routine of FIG. Each command is executed according to the contents under the command. The first half 8 by
Since te and the latter half 8 byte processing are the same as 16 byte data communication, the details are omitted.

【0182】レンズCPU61は、16byteコマンドを
入力すると、コマンド受信完了信号をカメラボディ11
に出力し、16バイトの所定データ(LC0〜LC1
5)をカメラボディ11に出力し、データ送信完了信号
を出力し、通信割込みを許可してリターンする(S10
91〜S1095)。
When the 16-byte command is input, the lens CPU 61 sends a command reception completion signal to the camera body 11
16 bytes of predetermined data (LC0 to LC1
5) is output to the camera body 11, a data transmission completion signal is output, communication interruption is permitted, and the process returns (S10).
91-S1095).

【0183】[ボディのPZ処理]次に、カメラボディ
11側のパワーズームに関する処理に関して、図52〜
図55に示したフローチャートを参照して説明する。こ
の処理は、カメラボディ11のメイン(ボディ)CPU
35のROM35aにメモリされたプログラムに基い
て、メインCPU35により実行される。
[PZ Processing of Body] Next, the processing relating to the power zoom on the camera body 11 side will be described with reference to FIGS.
This will be described with reference to the flowchart shown in FIG. This processing is performed by the main (body) CPU of the camera body 11.
It is executed by the main CPU 35 based on the program stored in the ROM 35a of the CPU 35.

【0184】このメインフロー処理には、メインスイッ
チがオン(電池を入れて電源が投入されたとき)など、
メインCPU35がリセットされたときに、最初に入
る。この処理に入ると、まずRAM35b、ポート設定
等のイニシャライズ行い、スイッチ入力、E2 PROM
データ入力等により所定の情報を入力し、パワーズーム
イニシャライズ処理(PZINITサブルーチン)を実
行する(S1101、S1103、S1105)。パワ
ズームイニシャライズとは、本実施例では、PZレンズ
にズーミングレンズ位置検出のための初期化処理、フォ
ーカシングレンズ位置検出のための初期化処理等を行な
わせるための処理である。以上は最初に電源が投入され
たとき(図示しないメインスイッチがオンされたとき)
の処理で、電源が投入されている間は、次ステップ(S
1107)以降の処理を繰り返す。
In this main flow processing, the main switch is turned on (when the battery is inserted and the power is turned on), etc.
When the main CPU 35 is reset, it enters first. When this process starts, the RAM 35b, the port settings, etc. are initialized, the switch input, the E 2 PROM
Predetermined information is input by data input or the like, and a power zoom initialization process (PZINIT subroutine) is executed (S1101, S1103, S1105). In the present embodiment, the power zoom initialization is a process for causing the PZ lens to perform an initialization process for detecting the zooming lens position, an initialization process for detecting the focusing lens position, and the like. The above is when the power is first turned on (when the main switch (not shown) is turned on)
In the above process, while the power is on, the next step (S
1107) and subsequent processes are repeated.

【0185】ステップS1107では、所定の情報を入
力し、ロックされていなければ(メインスイッチがオン
していれば)撮影可能なので所定の処理に進み、ロック
解除されていれば(メインスイッチがオフしていれ
ば)、ステップS1181以降のロック処理に進む(S
1109)。
In step S1107, predetermined information is input. If it is not locked (if the main switch is on), photographing is possible, so the procedure proceeds to predetermined processing. If it is unlocked (main switch is turned off). If so, the process proceeds to the lock process after step S1181 (S).
1109).

【0186】ロックが解除されているときには、そのロ
ック解除が最初の場合、あるいは撮影レンズが装着され
てから最初の処理であれば、フラグF NEWCOM
(撮影レンズとの間で旧通信が終了して新通信に入った
ときに立つフラグ)をクリアし、PZイニシャライズフ
ラグF PZINITをクリアしてパワーズームのイニ
シャライズを行う(S1109〜S1115、S112
1、S1123)。
When the lock is released, if the lock is released for the first time, or if it is the first processing after the taking lens is attached, the flag F NEWCOM
Clear (Flag that stands when old communication with the shooting lens ends and new communication starts), and PZ initialization flag F The power zoom is initialized by clearing PZINIT (S1109 to S1115, S112).
1, S1123).

【0187】最初のロック解除でも撮影レンズが装着さ
れて最初の処理でもない場合には、最初のAFモードで
あるか、あるいは最初のPZモードであれば、AF、P
Zに関する諸動作、データ等をイニシャライズするため
に、これらがイニシャライズされたときに立つフラグF
PZINIT、F AFINITを共にクリアし、P
ZINITサブルーチンをコールする(S1111、S
1113、S1117〜S1123、S4901)。
If it is neither the first unlocking nor the first processing with the taking lens attached, it is the first AF mode, or if the first PZ mode is set, AF, P
In order to initialize various operations, data, etc. regarding Z, a flag F that is set when these are initialized
PZINIT, F Clear AFINIT together, P
Call the ZINIT subroutine (S1111, S
1113, S1117 to S1123, S4901).

【0188】次に、スイッチ情報を入力してから、パワ
ーズームに関する処理(PZLOOPサブルーチン)を
実行し、表示パネル45に所定の表示を行なってステッ
プS1133に進む(S1127〜S1131)。
Next, after inputting the switch information, the processing regarding the power zoom (PZLOOP subroutine) is executed, a predetermined display is performed on the display panel 45, and the process proceeds to step S1133 (S1127 to S1131).

【0189】この後、ステップS1133において、測
光スイッチSWS(AFスイッチ)がオンされているか
否かをチェックし、換言すれば、レリーズスイッチが半
押し状態となっているか否かを判断する。このステップ
S1133において、測光スイッチSWSがオフしてい
ると判断される場合には、ステップS4501に進み、
AFモードが設定されているか否かを判断する。尚、こ
の一実施例においては、AFスイッチをオンする事によ
りAFモード(自動合焦動作を実行させるモード)が設
定され、オフする事によりMFモード(撮影者によるフ
ォーカスリングの回動により合焦動作を実行させるモー
ド)が設定される様になされている。
After that, in step S1133, it is checked whether or not the photometric switch SWS (AF switch) is turned on, in other words, it is determined whether or not the release switch is half pressed. If it is determined in step S1133 that the photometric switch SWS is off, the process proceeds to step S4501.
It is determined whether the AF mode is set. In this embodiment, the AF mode (a mode for executing the automatic focusing operation) is set by turning on the AF switch, and the MF mode (focusing is performed by turning the focus ring by the photographer) by turning off the AF mode. The mode to execute the operation) is set.

【0190】このステップS4501においてAFモー
ドが設定されておらず、MFモードが設定されていると
判断される場合には、ステップS4503に進み、IS
Zにおける焦点距離をメモリ(ストア)させるISZメ
モリ要求フラグF ISZMREQをクリアし、ステッ
プS4505において、パワーズーム駆動時にAF動作
を要求するAF動作要求フラグF PZAFREQをク
リアする。この後、ステップS1135に進み、測光I
C、CCD、E2 PROM及び周辺制御回路の一部の電
源Vddをオフする。そして、ステップS1136に進
み、AF中フラグF AFがクリアされていれば、ST
ARTからの処理へ戻り、AF中フラグF AFが立っ
ていればS1165に進む。
If it is determined in step S4501 that the AF mode is not set and the MF mode is set, the flow advances to step S4503 to set IS.
ISZ memory request flag F for storing (storing) the focal length in Z After clearing ISZMREQ, in step S4505, an AF operation request flag F that requests an AF operation during power zoom driving Clear PZA FREQ. After this, the flow proceeds to step S1135, and the photometric I
The power supply Vdd for the C, CCD, E 2 PROM and part of the peripheral control circuit is turned off. Then, the processing proceeds to step S1136, and the AF flag F If AF is cleared, ST
Returning to the processing from ART, the AF flag F If AF is standing, the process proceeds to S1165.

【0191】ここで、AF中フラグF AFが立ってい
れば、測光スイッチSWSがオフする前にAFおよびこ
れに関連する像倍率一定ズーム処理が行われている場合
があるので、ステップS1165において像倍率一定ズ
ームストップフラグF ISZSTOPをセットし、ス
テップS1167において像倍率一定ズームの停止及び
停止チェック処理(IPZENDCHECKサブルーチ
ン)を実行する。
Here, the AF flag F If AF is set, AF and the related constant image magnification zoom process may be performed before the photometric switch SWS is turned off. Therefore, in step S1165, the constant image magnification zoom stop flag F is set. ISZSTOP is set, and in step S1167, stop of constant image magnification zoom and stop check processing (IPZENDCHECK subroutine) are executed.

【0192】次に、ステップS1169において合焦フ
ラグF INFOCUSをクリアし、ステップS117
1においてAFモータ停止処理を行い、ステップS11
73においてPZ−BSTATEコマンド通信により、
パワーズームレンズ51にAFの駆動情報等を送り、ス
テップS1175においてAF中フラグF AFをクリ
アしてS1176に進む。
Next, in step S1169, the focus flag F Clear INFOCUS, step S117
AF motor stop processing is performed in step 1, and step S11
At 73, by PZ-BSTATE command communication,
The AF drive information and the like are sent to the power zoom lens 51, and in step S1175 the AF flag F AF is cleared and it progresses to S1176.

【0193】一方、上述したステップS4510におい
てAFモードが設定されていると判断される場合には、
ステップS4507に進み、ここでISZメモリ要求フ
ラグF ISZMREQがクリアされ、且つ、引き続く
ステップS4509においてAF動作要求フラグF
ZAFREQがクリアされていると判断される場合に
は、ISZにおけるメモリ要求も、パワーズーミング時
のAF動作の要求もない通常の状態であり、引き続くス
テップS4511においてパワーズーム電源がオフして
いると判断される場合には、上述したステップS113
5に進み、測光IC、CCD、E2 PROM及び周辺制
御回路の一部の電源Vddをオフする。
On the other hand, if it is determined in step S4510 described above that the AF mode is set,
In step S4507, the ISZ memory request flag F is set here. ISZMREQ is cleared, and in the subsequent step S4509, the AF operation request flag F P
If it is determined that ZAFREQ has been cleared, it is a normal state where there is no memory request in ISZ and no AF operation request during power zooming, and it is determined that the power zoom power supply is off in the subsequent step S4511. If so, the above-described step S113
In step 5, the power supply Vdd of the photometric IC, CCD, E 2 PROM and part of the peripheral control circuit is turned off.

【0194】しかし、ステップS4511において、パ
ワーズーム電源がオンしていると判断される場合には、
ステップS4513に進み、PZ−LSTATE通信を
実行し、マニュアルパワーズームがオンしているか、オ
フしているかの情報をパワーズームレンズ51側から得
る。そして、引き続くステップS4515において、ス
テップS4513で得たPZ−LSTATE通信結果に
基づき、マニュアルパワーズームのオン/オフ状態を判
断する。ここで、マニュアルパワーズームがオフしてい
ると判断される場合には、測光スイッチSWSがオフ状
態で、しかも、AFモードが設定された状態で、ズーム
操作リングが回動されていないと判断される場合である
ので、上述したステップS1135に進み、測光IC、
CCD、E2 PROM及び周辺制御回路の一部の電源V
ddをオフする。一方、ステップS4515において、
マニュアルパワーズームがオンしていると判断される場
合には、測光スイッチSWSがオフ状態で、AFモード
が設定された状態において、ズーム操作リングが回動さ
れて、焦点距離が変更された場合であるので、ステップ
S1457に進み、AF動作要求フラグF PZAFR
EQをセットして、AF動作を要求し、ステップS11
37に進み、電源Vddをオン(定電圧を印加)し、引
き続くステップS1138において、露出に関する測光
および演算を行い、その結果を表示する。
However, if it is determined in step S4511 that the power zoom power supply is on, then
In step S4513, PZ-LSTATE communication is performed, and information about whether the manual power zoom is on or off is obtained from the power zoom lens 51 side. Then, in subsequent step S4515, the on / off state of the manual power zoom is determined based on the PZ-LSTATE communication result obtained in step S4513. Here, when it is determined that the manual power zoom is off, it is determined that the zoom operation ring is not rotated while the photometric switch SWS is off and the AF mode is set. In this case, the process proceeds to step S1135 described above, and the photometric IC,
Power supply V for CCD, E 2 PROM and part of peripheral control circuit
Turn off dd. On the other hand, in step S4515,
When it is determined that the manual power zoom is on, it is determined that the zoom operation ring is rotated and the focal length is changed in a state where the photometric switch SWS is off and the AF mode is set. Therefore, the processing advances to step S1457, and the AF operation request flag F PZAFR
Set EQ, request AF operation, and step S11
In step 37, the power supply Vdd is turned on (a constant voltage is applied), and in the subsequent step S1138, photometry and calculation regarding exposure are performed, and the result is displayed.

【0195】即ち、従来においては、測光スイッチSW
Sのオン動作に伴いAF動作が開始され、測光スイッチ
SWSがオフされた状態では、例えズーム操作リングが
回動されてもAF動作は開始されない様に構成されてい
たが、この一実施例においては、例え、測光スイッチS
WSがオフされていても、ズーム操作リングが回動さ
れ、焦点距離が変更されたならば、AF動作が開始され
る様に設定されている。この結果、測光スイッチSWS
のオン/オフ状態に係わらず、ズーム操作リングが回動
操作されて焦点距離が変更されたならば、AF動作が開
始される事になる。
That is, in the conventional case, the photometric switch SW
In the state where the AF operation is started with the ON operation of S and the photometry switch SWS is turned off, the AF operation is not started even if the zoom operation ring is rotated. Is, for example, the photometric switch S
Even if WS is turned off, the AF operation is set to start when the zoom operation ring is rotated and the focal length is changed. As a result, the photometric switch SWS
Regardless of the ON / OFF state of AF, if the zoom operation ring is rotated and the focal length is changed, the AF operation is started.

【0196】ここで、ズームレンズの設計上、テレ端に
おける合焦位置とワイド端における合焦位置とは一致し
ていることが好ましく、例え焦点距離が変更されたとし
ても、ピントがずれる事は無い様になされている。しか
しながら、テレ端における合焦位置とワイド端における
合焦位置とを正確に一致させる事は困難であり、この結
果、実際には、焦点距離を変更するとピントがずれる事
になる。この一実施例においては、上述した様に、ズー
ム操作リングが回動されて焦点距離が変更されたなら
ば、測光スイッチSWSのオン/オフ状態に係わらずA
F動作が開始される事になり、撮影者は例え焦点距離を
変更したとしても全焦点距離に渡り、ピントのあった
(合焦した)被写体をビューファインダで観察すること
が出来る事になる。
Here, in view of the design of the zoom lens, it is preferable that the in-focus position at the telephoto end and the in-focus position at the wide-angle end coincide with each other. It seems that there is no such thing. However, it is difficult to accurately match the in-focus position at the telephoto end and the in-focus position at the wide-angle end, and as a result, when the focal length is changed, the focus is out of focus. In this embodiment, as described above, if the zoom operation ring is rotated and the focal length is changed, A is set regardless of the ON / OFF state of the photometric switch SWS.
The F operation is started, and the photographer can observe the in-focus (focused) object in the viewfinder over the entire focal length even if the focal length is changed.

【0197】また、撮影動作を終了して、測光スイッチ
SWSから一旦手を離した状態では、その撮影時の焦点
距離及び被写体までの距離にあったピント位置が一時的
に保持される事になる。ここで、この後、前回の撮影し
た被写体体までの距離と異なる被写体を、焦点距離を変
更(パワーズーミング)した上でビューファインダから
観察しようとした場合に、従来においては、測光スイッ
チSWSから手を離している以上、AF動作は起動され
ず、従って、前回の撮影時における被写体にピントが合
ったままの状態、即ち、今度撮影しようとする被写体に
対しては、ピントのずれた状態でしかビューファインダ
から観察出来ない事となり、非常に不便である。しかし
ながら、この一実施例においては、パワーズーミングす
べくズーム操作リングを回動させた時点で、例え、レリ
ーズボタンから指が離れて、測光スイッチSWSがオフ
していたとしても、AF動作が開始される事となり、ビ
ューファインダから常にピントのあった状態で被写体を
観察しつつパワーズーミングを実行することが出来、大
変に使い勝手の良いカメラが提供される事になる。
Further, when the photographing operation is completed and the hand is once released from the photometric switch SWS, the focus position at the time of the photographing and the focus position at the distance to the object are temporarily held. . Here, after that, when an object different from the distance to the object body photographed last time is to be observed from the viewfinder after changing the focal length (power zooming), conventionally, the distance from the photometry switch SWS is changed to the hand. As long as the focus is released, the AF operation will not be activated, and therefore the subject will be in focus during the previous shooting, that is, the subject that is about to be shot next will be out of focus. It is very inconvenient because it cannot be observed from the viewfinder. However, in this embodiment, when the zoom operation ring is rotated for power zooming, even if the finger is released from the release button and the photometric switch SWS is turned off, the AF operation is started. This means that you can perform power zooming while observing the subject from the viewfinder while always in focus, providing a very easy-to-use camera.

【0198】一方、上述したステップS1133のチェ
ック時に、測光スイッチSWSがONしていれば、先
ず、ステップS4519においてAF動作要求フラグF
PZAFREQをクリアした上で、ステップS113
7に進むことになる。即ち、測光スイッチSWSがオン
されていると判断される場合には、AF動作要求フラグ
PZAFREQを先ずはクリアする事になる。これ
は、測光スイッチSWSのオン動作に伴い、ズーム操作
リングの回動とは無関係に、換言すれば、パワーズーミ
ング動作の実行とは無関係に、AF動作が開始される事
になるが、その際のAF動作においては、後述するが精
密な合焦動作が実行される様に設定されている。一方、
AF動作要求フラグF PZAFREQのセットに伴う
AF動作においては、後述するが、合焦範囲を広げて、
比較的鈍い合焦動作を実行する様に設定されている。こ
の為、このステップS4519において、AF動作要求
フラグF PZAFREQをクリアする事により、測光
スイッチSWSがオンする事に伴い実行される精密なA
F動作が、AF動作要求フラグF PZAFREQのセ
ットに伴う鈍いAF動作に優先して設定される事にな
る。
On the other hand, at the time of checking in step S1133 described above, if the photometric switch SWS is ON, first, in step S4519, the AF operation request flag F
After clearing PZAFREQ, step S113
I will proceed to 7. That is, when it is determined that the photometric switch SWS is turned on, the AF operation request flag F First of all, PZAFREQ will be cleared. This is because the AF operation is started regardless of the turning of the zoom operation ring, in other words, the execution of the power zooming operation, in accordance with the ON operation of the photometry switch SWS. In the AF operation (1), a precise focusing operation is set, which will be described later. on the other hand,
AF operation request flag F The AF operation associated with the setting of PZAFREQ will be described later, but the focus range is widened,
It is set to execute a relatively dull focusing operation. Therefore, in step S4519, the AF operation request flag F By clearing PZAFREQ, the precise A executed when the photometric switch SWS is turned on.
F operation is AF operation request flag F It will be set prior to the dull AF operation that accompanies the setting of PZAFREQ.

【0199】尚、測光スイッチSWSがオフした状態
で、且つ、AFモードが設定されている状態において、
上述したステップS4507でISZメモリ要求フラグ
ISZMREQが既にセットされているか、また
は、ステップS4509でAF要求フラグF PZAF
REQが既にセットされている場合には、上述したステ
ップS1137に進むことになる。
When the photometry switch SWS is off and the AF mode is set,
In step S4507 described above, the ISZ memory request flag F ISZMREQ has already been set, or AF request flag F in step S4509. PZAF
If REQ has already been set, the process proceeds to step S1137 described above.

【0200】ここで、このステップS1137において
は、電源Vddをオン(定電圧を印加)し、ステップS
1138において露出に関する測光および演算を行い、
その結果を表示すると、引き続くステップS1139に
おいてAFモードか否かを判断し、AFモ−ドでなけれ
ば上述したS1165からの処理へ飛ぶ。また、このス
テップS1139においてAFモードであると判断され
る場合には、ステップS1140においてAF中フラグ
AFをセットし、ステップS1143において測距
処理、つまり積分を開始し、積分データを取り込んで所
定のプレディクタ演算を実行し、ステップS1145に
進む。
Here, in this step S1137, the power supply Vdd is turned on (a constant voltage is applied), and the step S
At 1138, exposure metering and calculation are performed,
When the result is displayed, it is determined in the subsequent step S1139 whether or not the AF mode is set, and if it is not the AF mode, the process jumps to the above-described step S1165. If it is determined that the AF mode is set in step S1139, the in-AF flag F is determined in step S1140. AF is set, distance measurement processing, that is, integration is started in step S1143, integration data is fetched and a predetermined predictor calculation is executed, and the flow proceeds to step S1145.

【0201】ステップS1145において、プレディク
タ演算結果が有効のと判断されるときには、ステップS
4521において、AF動作要求フラグF PZAFR
EQがクリアされていると判断された場合に、ステップ
S1149において合焦かどうかを判断して、合焦のと
きには、ステップS4525においてフラグF INF
OCUSをセットした上で、ステップS1151におい
て合焦処理を行なう。そして、ステップS4527にお
いて、AF要求フラグF PZAFREQをクリアした
後、ステップS1159の動体処理を実行する。
If it is determined in step S1145 that the predictor calculation result is valid, step S1145 is executed.
At 4521, the AF operation request flag F PZAFR
If it is determined that the EQ is cleared, it is determined in step S1149 whether or not focus is achieved. If in focus, flag F is determined in step S4525. INF
After setting OCUS, focusing processing is performed in step S1151. Then, in step S4527, the AF request flag F After clearing PZAFREQ, the moving body process of step S1159 is executed.

【0202】一方、ステップS1149において非合焦
と判断されるときには、ステップS1153においてパ
ワーズームレンズが装着されているか否かを判断し、パ
ワーズームレンズが装着されていないと判断される場合
には(F PZ=0のとき)、S1176に飛ぶが、パ
ワーズームが装着されていると判断される場合には、ス
テップS1155においてAFの駆動情報等をPZ−B
STATEコマンドでパワーズームレンズ51に送信し
て、ステップS1157においてAFモータ39を起動
してからS1159の動体処理に進む。
On the other hand, when it is determined in step S1149 that the power is out of focus, it is determined in step S1153 whether or not the power zoom lens is attached. If it is determined that the power zoom lens is not attached ( F (When PZ = 0), the process jumps to S1176, but if it is determined that the power zoom is attached, in step S1155 the AF drive information and the like are set to PZ-B.
A STATE command is sent to the power zoom lens 51, the AF motor 39 is started in step S1157, and the process proceeds to the moving object process in step S1159.

【0203】一方、上述したステップS1145におい
て、プレディクタ演算結果が有効と判断され、ステップ
S4521において、AF動作要求フラグF PZAF
REQがセットされていると判断された場合には、ステ
ップS1149での合焦判断の前に、ステップS452
5において合焦範囲を広げる動作を実行する。即ち、こ
の合焦範囲拡大動作においては、合焦と判断されるピン
トずれの許容範囲を、測光スイッチSWSがオンされる
事により実行されるAF動作における合焦範囲よりも、
この一実施例においては、絶対値で2倍になる様に変更
動作する様に設定されている。
On the other hand, in step S1145 described above, it is determined that the predictor calculation result is valid, and in step S4521, the AF operation request flag F PZAF
If it is determined that REQ is set, then step S452 is performed before the focus determination in step S1149.
In step 5, the operation of expanding the focusing range is executed. That is, in this focus range expansion operation, the permissible range of focus deviation determined to be in focus is set to be smaller than the focus range in the AF operation executed by turning on the photometry switch SWS.
In this embodiment, the change operation is set so as to double the absolute value.

【0204】即ち、ズーム操作リングが回動される事に
により測光スイッチSWSがオフされた状態でもAF動
作が強制的に実行される場合には、そのAF動作は撮影
時の合焦を直接の目的とするものではなく、単に、焦点
距離が移動した状態での合焦状態を保証したり、撮影者
がビューファインダで被写体をフレーミングする際の合
焦状態を保証する事を目的とするものであり、精細な合
焦状態が要求されるものではない。一方、撮影時の合焦
動作は、その合焦位置が細密に規定されなければなら
ず、合焦範囲は狭く設定せざるを得ない。この結果、撮
影時に合焦位置が発見されない場合が発生するが、その
場合にはサーチ動作を実行して、AFモータをニア位置
とファー位置との間で往復移動して、極力合焦位置を発
見する様にしなければならない。ここで、この様なサー
チ動作は撮影者に取っては煩わしいものであり、特に、
具体的に撮影を意図しない状態でのズーミングに際して
サーチ動作が実行されると、その煩わしいとの感覚は強
く意識される事になる。
That is, when the AF operation is forcibly executed even when the photometry switch SWS is turned off by rotating the zoom operation ring, the AF operation directly affects the focusing at the time of photographing. It is not intended to guarantee the in-focus state when the focal length is moved, or to guarantee the in-focus state when the photographer frames the subject in the viewfinder. However, a fine focus state is not required. On the other hand, in the focusing operation at the time of shooting, the focusing position must be finely defined, and the focusing range must be set narrow. As a result, the in-focus position may not be found at the time of shooting, but in that case, the search operation is executed and the AF motor is moved back and forth between the near position and the far position to find the in-focus position as much as possible. You have to discover it. Here, such a search operation is troublesome for the photographer, and in particular,
When the search operation is executed during zooming in a state where the shooting is not specifically intended, the annoyance is strongly recognized.

【0205】しかしながら、この一実施例においては、
上述した様に、ステップS1149での合焦判断の前
に、ステップS4525において合焦範囲を広げる動作
を実行しているので、簡単に合焦判断がなされ、従って
この様なサーチ動作が行われる虞がなく、撮影者に煩わ
しい感覚を与えずに済む事となる。
However, in this one embodiment,
As described above, before the focus determination in step S1149, the operation for expanding the focus range is executed in step S4525. Therefore, the focus determination is easily performed, and thus such a search operation may be performed. Therefore, it is possible to avoid giving the photographer a troublesome feeling.

【0206】一方、ステップS1145において、プレ
ディクタ演算結果が有効範囲内にないと判断された場合
には、例えば、被写体のコントラストが低過ぎたときな
どは、ステップS4529においてAF要求フラグF
PZAFREQがクリアされていると判断される場合の
時に、ステップS1147において、有効値を求めるサ
ーチ処理を行ない、この後、上述したS1153に進
み、パワーズームレンズが装着されているか否かを判断
する。ここで、サーチ処理とは、上述した様に、AFモ
ータ39を近距離側または遠距離側に駆動しながら積分
を行なって、有効デフォーカス値を求める処理である。
また、ステップS4529においてAF要求フラグF
PZAFREQがセットされている場合には、サーチ処
理を実行することなく、ステップS4531へ進み、A
F要求フラグF PZAFREQをクリアした上で、ス
テップS1176へ飛ぶ。
On the other hand, if it is determined in step S1145 that the predictor calculation result is not within the effective range, for example, if the contrast of the subject is too low, the AF request flag F in step S4529.
When it is determined that PZAFREQ has been cleared, a search process for obtaining an effective value is performed in step S1147, and thereafter, the process proceeds to step S1153 described above, and it is determined whether or not the power zoom lens is attached. Here, the search process is a process for obtaining an effective defocus value by performing integration while driving the AF motor 39 toward the short distance side or the long distance side as described above.
Further, in step S4529, the AF request flag F
If PZAFREQ is set, the flow advances to step S4531 without executing search processing, and A
F request flag F After clearing PZAFREQ, jump to step S1176.

【0207】ここで、ステップS1151における合焦
処理が終了し、引き続くステップS4527でAF要求
フラグF PZAFREQをクリアしたとき、あるいは
ステップS1157においてAFモータ39の駆動を実
行したときには、ステップS1159において、被写体
が動体であれば動体追従AF処理を行なう。そして、引
き続くステップS1161において、像倍率一定ズーム
モードであれば、ステップS1163において像倍率一
定ズーム処理を行ない、この後、ステップS1176の
レリーズスイッチSWRのチェック処理に進む事にな
る。
At this point, the focusing processing in step S1151 is completed, and in subsequent step S4527, the AF request flag F When PZAFREQ is cleared, or when the AF motor 39 is driven in step S1157, in step S1159, if the subject is a moving body, moving body tracking AF processing is performed. Then, in the subsequent step S1161, if the image magnification constant zoom mode is set, the image magnification constant zoom process is performed in step S1163, and thereafter, the process proceeds to the check process of the release switch SWR in step S1176.

【0208】ステップS1176ではレリーズスイッチ
SWRがオンされたかどうかのチェックを行ない、オフ
されていればそのままスタートに戻り、オンされていれ
ばレリーズが許可されていることを条件にレリーズ処理
を行なってスタートに戻る(S1176、S1178、
S1179)。
In step S1176, it is checked whether or not the release switch SWR is turned on. If the release switch SWR is turned off, the process returns to the start as it is. Return to (S1176, S1178,
S1179).

【0209】また、ステップS1109のチェック時に
ロックされているとき(メインスイッチオフのとき)に
はステップS1181に進む。このロックがこのルーチ
ンにおいて最初のロックかつパワーズームのときには、
プリセットズームセットモードでメモリされている焦点
距離データをカメラボディに退避するために退避処理
(S1183)に進むが、それ以外のときにはステップ
S1223へ飛ぶ(S1181、S1183)。
If it is locked at the time of checking in step S1109 (when the main switch is off), the process proceeds to step S1181. When this lock is the first lock and power zoom in this routine,
In order to save the focal length data stored in the preset zoom set mode to the camera body, the process proceeds to a save process (S1183), but otherwise, the process jumps to step S1223 (S1181 and S1183).

【0210】最初のロックでないとき、または撮影レン
ズがパワーズームでないときには、撮影レンズへの定電
圧供給(CONT)および電力供給(VBATT)をオ
フし、表示器45の表示をオフしてスタートに戻る(S
1181、S1183、S1223〜S1227)。
When the lock is not first locked or when the taking lens is not the power zoom, the constant voltage supply (CONT) and the power supply (VBATT) to the taking lens are turned off, the display of the display unit 45 is turned off, and the process returns to the start. (S
1181, S1183, S1223 to S1227).

【0211】退避処理では、先ずレンズRAM61bに
メモリされている焦点距離をボディへ退避するため、S
ET−PZPOINTコマンドにより退避するメモリ
(RAM61b)のアドレスを指定する。次に、FOC
ALLEN−Xコマンドで指定されたアドレスにメモリ
されている焦点距離データをレンズ51から入力し、入
力した焦点距離データを焦点距離データとしてボディR
AM35bのアドレスFLMにメモリする(S118
4、S1185、S1187)。そして、レンズRAM
65bから像倍率を含むIMAG−LSIZEデータを
入力して像倍率データをボディRAM35bのアドレス
ISMにメモリし、さらにレンズRAM65bからLE
NS−INF2データを入力してS1195に進む(S
1181〜S1193)。本実施例では、退避処理にお
ける通信プロセスを簡略化するために、像倍率データを
カメラ側に転送する構成としているが、像倍率設定時の
焦点距離データおよびレンズ繰出し量データの両方を転
送する構成でもよい。
In the saving process, first, the focal length stored in the lens RAM 61b is saved to the body.
The address of the memory (RAM 61b) to be saved is designated by the ET-PZPOINT command. Next, FOC
The focal length data stored in the address specified by the ALLEN-X command is input from the lens 51, and the input focal length data is used as the focal length data in the body R.
The data is stored in the address FLM of the AM 35b (S118).
4, S1185, S1187). And the lens RAM
IMAG-LIZE data including the image magnification is input from 65b and the image magnification data is stored in the address ISM of the body RAM 35b.
Input NS-INF2 data and proceed to S1195 (S
1181-S1193). In the present embodiment, the image magnification data is transferred to the camera side in order to simplify the communication process in the save process, but both the focal length data and the lens extension amount data at the time of setting the image magnification are transferred. But it's okay.

【0212】ステップS1195、ステップS1197
では、LENS−INF2で入力したデータをもとにパ
ワーズーム収納可能か、パワーズームかどうかをチェッ
クする。パワーズーム収納不可、またはパワーズームで
ないときにはそのままCONT1に進み、パワーズーム
収納可でかつパワーズーム(RETPZ=1、PZD=
1)のときには、ボディ側でバッテリを要求してバッテ
リチェックを行ない、バッテリが正常のときには、パワ
ーズームレンズ51にパワーズーム収納処理を行なわせ
るコマンド(RETRACT−PZ)を送信し、オート
(制御)ズーム駆動中であることを示すフラグF IP
ZONを立て、NGタイマーをスタートさせてCONT
1処理に進む(S1195〜S1209)。尚、既に説
明した様に、プリセットズームもオート(制御)ズーム
の一種であるので、プリセットモードであれば、このフ
ラグF IPZONがセットされる事によりプリセット
駆動中である事が示される事になる。
Steps S1195 and S1197
Then, based on the data input by LENS-INF2, it is checked whether the power zoom can be stored or the power zoom. When the power zoom cannot be stored or when the power zoom is not performed, the process directly proceeds to CONT1, and the power zoom can be stored and the power zoom (RETPZ = 1, PZD =
In the case of 1), the body side requests the battery to perform a battery check, and when the battery is normal, the power zoom lens 51 transmits a command (RETRACT-PZ) for performing the power zoom storage process, and the automatic (control) Flag F indicating that zoom driving is in progress IP
Set ZON, start NG timer, CONT
The process proceeds to step 1 (S1195 to S1209). As described above, the preset zoom is also a kind of auto (control) zoom, so if the preset mode is selected, this flag F Setting IPZON indicates that preset driving is in progress.

【0213】また、バッテリチェックにおいてバッテリ
異常のときにはCONT1処理に進む(S1203)。
なお、フラグF RETPZは、レンズ固有の情報で、
ズームレンズがインナーズーム等でズーミングレンズの
収納を必要としない場合はクリアされていて、収納処理
をしない。
If the battery is abnormal in the battery check, the process proceeds to CONT1 processing (S1203).
The flag F RETPZ is information unique to the lens,
If the zoom lens does not require the storage of the zoom lens due to the inner zoom, etc., it is cleared and the storage process is not performed.

【0214】CONT1処理では、パワーズームレンズ
51がAF収納可能かAFモードかをLENS−INF
2により入力したAF収納フラグF RETAF等によ
りチェックし、AF収納可能かつAFモードであれば、
AFモータ39を駆動してフォーカシングレンズ53F
を収納位置(ファー端)に戻す(S1211〜S121
5)。そして、制御パワーズーム中であれば、制御パワ
ーズームが終了するのをチェックしながら待ち、終了し
たら、撮影レンズへの定電圧供給および電力供給をオフ
し、表示器45の表示をオフしてスタートに戻る(S1
217〜S1227)。AF収納不可、あるいはAFモ
ードでなければレンズ収納処理をスキップする。なお、
フラグF RETAFはレンズ固有の情報で、ズームレ
ンズがインナーフォーカス等でフォーカシングレンズの
収納を必要としない場合はクリアされていて、収納処理
をしない。
In the CONT1 process, it is determined whether the power zoom lens 51 can store the AF or the AF mode by LENS-INF.
AF storage flag F input by 2 Check with RETAF etc., if AF can be stored and it is in AF mode,
The focusing lens 53F is driven by driving the AF motor 39.
Back to the storage position (fur end) (S1211-S121
5). Then, if the control power zoom is in progress, the control power zoom is checked while waiting, and when it is finished, the constant voltage supply and the power supply to the photographing lens are turned off, and the display on the display unit 45 is turned off to start. Return to (S1
217-S1227). If the AF cannot be stored or the AF mode is not set, the lens storing process is skipped. In addition,
Flag F RETAF is lens-specific information, which is cleared when the zoom lens does not need to store the focusing lens due to inner focus or the like, and the storage processing is not performed.

【0215】[PZ、AF−INIT処理]ボディ11
側で制御する、パワーズームレンズ51の初期化(S1
105)処理について、図56〜図58に示したPZI
NITサブルーチンを参照して説明する。この処理は、
パワーズームレンズ51にズーミングレンズ群53Zの
初期化とフォーカシングレンズ53F群の初期化を実行
させ、メインスイッチのオフでボディ11に退避してい
た情報をレンズ51に戻す処理である。すなわち、前者
は、ズーミングレンズの位置検出及びAFレンズの位置
検出のための処理で、後者はメインスイッチオフ時(ロ
ック時)にボディRAM35bに退避していたISZの
像倍率及びプリセットズーム用の焦点距離を再びレンズ
51(レンズRAM65b)に戻してメモりさせる処理
である。
[PZ, AF-INIT processing] Body 11
Initialization of the power zoom lens 51 controlled by the side (S1
105) Regarding the processing, the PZI shown in FIGS.
Description will be made with reference to the NIT subroutine. This process
In this processing, the power zoom lens 51 is caused to initialize the zooming lens group 53Z and the focusing lens 53F group, and the information saved in the body 11 when the main switch is turned off is returned to the lens 51. That is, the former is a process for detecting the position of the zoom lens and the position of the AF lens, and the latter is the image magnification of ISZ saved in the body RAM 35b when the main switch is off (locked) and the focus for preset zoom. This is a process in which the distance is returned to the lens 51 (lens RAM 65b) again to make a note.

【0216】この処理に初めて入るときには、旧通信終
了を表わす新通信フラグNEWCOMがクリアされてい
るので、レンズROMとの間でカメラボディ11のクロ
ックに同期してデータ通信を行う旧通信を行ない、その
後レンズCPU61との間で、レンズCPU61のクロ
ックに同期してデータ通信を行う新通信に切り替える
(S1301、S1303)。
When entering this process for the first time, the new communication flag NEWCOM indicating the end of the old communication has been cleared, and therefore the old communication for performing the data communication with the lens ROM in synchronization with the clock of the camera body 11 is performed. After that, the communication with the lens CPU 61 is switched to new communication for performing data communication in synchronization with the clock of the lens CPU 61 (S1301 and S1303).

【0217】装着された撮影レンズがレンズCPUを搭
載しているKZレンズ(本実施例のパワーズームレンズ
51を含む)でないときには新通信が不可能なのでリタ
ーンし、Kzレンズであれば、撮影レンズから新通信L
ENS−INF2(14)によりデータを入力してパワ
ーズームレンズ(PZレンズ)かどうかをチェックする
(S1305、S1309)。PZレンズでなければ、
PZレンズであることを識別するフラグF PZをクリ
アしてステップS1323に進む(S1309、S13
11)。
If the attached photographic lens is not the KZ lens (including the power zoom lens 51 of this embodiment) equipped with the lens CPU, new communication is not possible, and the process returns. New communication L
Data is input by the ENS-INF2 (14) to check whether it is a power zoom lens (PZ lens) (S1305, S1309). If it is not a PZ lens,
Flag F for identifying a PZ lens Clear PZ and proceed to step S1323 (S1309, S13
11).

【0218】PZレンズであればフラグF PZを立
て、リセットからきた(電池が入れ替えられた)とき、
または初めてレンズが装着されたときには、初期値を像
倍率(イメージサイズ)用メモリISZにメモリする
(S1313、S1315、S1319)。他の場合に
は、STORE−PZF(28)通信により、S118
5においてボディRAM35bのアドレスFMLに退避
させておいたプリセットズーム等のための焦点距離の情
報を、レンズCPU61のレンズRAM61bの所定の
アドレス(FCL0L,H〜FCL7L,H)にメモリ
させる(S1315、S1317)。そして、STOR
E−IS(29)通信を行ない、ボディCPUのRAM
(35b)に退避させておいた像倍率か、S1319で
セットした初期値の像倍率をレンズCPUのRAM(6
1b)の所定のアドレス(ISZ−IMGL,H)へメ
モリさせ、新通信フラグをセットする(S1321、S
1323)。
If it is a PZ lens, flag F When PZ is set up and comes from reset (batteries are replaced),
Alternatively, when the lens is mounted for the first time, the initial value is stored in the image magnification (image size) memory ISZ (S1313, S1315, S1319). In other cases, by SORE-PZF (28) communication, S118
The information of the focal length for preset zoom etc. saved in the address FML of the body RAM 35b in 5 is stored in a predetermined address (FCL0L, H to FCL7L, H) of the lens RAM 61b of the lens CPU 61 (S1315, S1317). ). And STOR
E-IS (29) communication is performed and RAM of body CPU
The image magnification saved in (35b) or the image magnification of the initial value set in S1319 is used as the RAM (6) of the lens CPU.
1b) is stored in a predetermined address (ISZ-IMGL, H) and a new communication flag is set (S1321, S).
1323).

【0219】次に、POFF−STATE(11)通信
によりレンズCPU61からデータを入力する(S13
25)。パワーズームのイニシャライズが完了したこと
を示すフラグF_PZINITがセットされているか、
パワーズームであることを示すフラグF_PZがクリア
されていれば、スタンバイ処理を行うステップS136
1に飛ぶ(S1327、S1329)。
Next, data is input from the lens CPU 61 by POFF-STATE (11) communication (S13).
25). Is the flag F_PZINIT indicating that the initialization of the power zoom is completed,
If the flag F_PZ indicating the power zoom is cleared, the standby process is performed in step S136.
Fly to 1 (S1327, S1329).

【0220】フラグF PZINITがクリアされ、か
つフラグF_PZが立っていれば、パワーズームでない
とき(フラグF PZD(POFF−STATEデータ
のbit5)がクリアされているとき)、すなわち手動
ズームのときには、そのままAF初期化(AFINI
T)処理に進む(S1325〜S1331)。パワーズ
ームモードのときには、PZの電源オンをボディ自身が
要求するフラグF_BBATREQを立て、BATON
OFFサブルーチンにおいてPZの電源をONしてパワ
ーズームレンズ51に電力を供給し、さらに正常に電力
が供給されたかをチェックする(S1131〜S113
7)。バッテリの電力が正常に出力されていなければ
(フラグF_BATNG=1のとき)、そのままAFI
NIT処理に進み、正常(F_BATNG=0) であれ
ばPZ−INITPOSコマンド(32)を出力して、
撮影レンズにPZの初期化動作を行わせ、PZのイニシ
ャライズが完了したことを示すフラグF_PZINIT
を立ててAFINIT処理に進む(S1337〜S13
41)。なお、フラグF BATNGはステップS14
17において、フラグF BDETがセットされている
と判断される事により、ステップS4093でクリアさ
れる様に設定されている。
Flag F If PZINIT is cleared and the flag F_PZ is set, the power zoom is not performed (flag F When PZD (bit 5 of POFF-STATE data is cleared), that is, during manual zooming, AF initialization (AFINI
T) Proceed to processing (S1325-S1331). In the power zoom mode, the flag F_BBATREQ is set by the body to turn on the PZ, and BATON is set.
In the OFF subroutine, the power of the PZ is turned on to supply the power to the power zoom lens 51, and it is checked whether the power is normally supplied (S1131 to S113).
7). If the battery power is not output normally (when flag F_BATNG = 1), AFI is used as it is.
Proceed to NIT processing, and if normal (F_BATNG = 0), output the PZ-INITPOS command (32),
A flag F_PZINIT indicating that the initialization of the PZ is completed by causing the taking lens to perform the PZ initialization operation
Stands up and proceeds to the AFINIT processing (S1337 to S13).
41). The flag F BATNG is step S14
17, flag F When it is determined that BDET is set, it is set to be cleared in step S4093.

【0221】[AFINIT処理]図58に示したAF
INIT処理フローチャートは、ボディ11側の制御に
より、AFに関する初期化を行う処理である。なお、本
実施例ではPZの初期化後にAFの初期化を行なってい
るが、逆でもよい。
[AFINIT processing] AF shown in FIG.
The INIT processing flowchart is processing for performing initialization regarding AF under the control of the body 11 side. In the present embodiment, AF initialization is performed after PZ initialization, but it may be reversed.

【0222】AFINIT処理では、撮影レンズがAF
モードであることを条件に、フォーカシングレンズ53
Fを収納位置、つまり鏡筒長が最も短くなる位置に移動
させる(S1341、S1343)。なお、本実施例で
は、無限遠位置である。そして、AFINITPOS通
信によりパワーズームレンズ51に初期化動作を実行さ
せ、パワーズームレンズ51側でAF動作の初期化処理
が終了した事を示すフラグFフラグF_AFINITを
立てる(S1345、S1347)。また、この初期化
において、レンズCPU61は、AFパルスカウント用
のレンズRAM61bの初期化等を行なう。
In the AFINIT processing, the taking lens is set to the AF
Focusing lens 53 on condition that the mode is set.
F is moved to the storage position, that is, the position where the lens barrel length is the shortest (S1341, S1343). In the present embodiment, the position is at infinity. Then, the power zoom lens 51 is caused to execute the initialization operation by AFINITPOS communication, and the flag F flag F_AFINIT indicating that the initialization processing of the AF operation is completed on the power zoom lens 51 side is set (S1345, S1347). Further, in this initialization, the lens CPU 61 initializes the lens RAM 61b for counting AF pulses.

【0223】次に、手動パワーズーム以外のパワーズー
ムであることを示すフラグF_IPZONが立っていれ
ば、パワーズームの初期化が終了したかどうかをIPZ
ENDCHECKサブルーチンでチェックする(S13
49〜S1353)。パワーズームの初期化が終了した
ら、パワーズームが初期化されたことを識別するフラグ
F_PZINITを立て、ボディ側のバッテリ要求フラ
グF BBATREQをクリアし、BATONOFFサ
ブルーチンにてバッテリの電力供給停止及び停止チェッ
クを行う(S1355〜S1359)。
Next, if the flag F_IPZON indicating the power zoom other than the manual power zoom is set, it is determined whether or not the initialization of the power zoom is completed.
Check with the ENDCHECK subroutine (S13
49-S1353). After the initialization of the power zoom is completed, a flag F_PZINIT for identifying that the power zoom has been initialized is set, and the battery request flag F on the body side is set. BBATREQ is cleared, and battery power supply stop and stop check are performed in the BATONOFF subroutine (S1355-S1359).

【0224】そして、ボディ11の測光IC17、CC
D21、E2 PROM43等の電源がオン(Vdd O
N)していればそのままリターンし、オフしていればS
TANDBYコマンドを送信して撮影レンズ51のレン
ズCPU61をスタンバイ(低消費電力モードへ移行)
させてからリターンする(S1361、S1363)。
The photometric IC 17 and CC of the body 11
Power of D21, E 2 PROM 43, etc. is turned on (Vdd O
N), it returns as it is, and if it is off, S
Send the TANDBY command to put the lens CPU 61 of the taking lens 51 in standby (shift to low power consumption mode)
After that, the process returns (S1361, S1363).

【0225】[BATONOFF処理]図59に示した
BATONOFFフローチャートは、電力要求(バッテ
リ要求)がボディまたはレンズから出されたときに、ズ
ームモータ65用の電力をカメラボディ11からパワー
ズームレンズ51に対して供給し、供給が正常になされ
ているかどうかをどうかをチェックする、メインCPU
35によるチェック処理である。本実施例では、バッテ
リ要求は、カメラボディ11自身が出す場合と、撮影レ
ンズ51が出す場合とがある。
[BATONOFF Processing] In the BATONOFF flowchart shown in FIG. 59, when the power request (battery request) is issued from the body or the lens, the power for the zoom motor 65 is supplied from the camera body 11 to the power zoom lens 51. Main CPU to check whether the supply is normally done
This is a check process by 35. In this embodiment, the battery request may be issued by the camera body 11 itself or by the taking lens 51.

【0226】BATONOFF処理では、先ず、パワー
ズームレンズ51からもカメラボディ11からもバッテ
リ要求がない場合には、すでに端子VBATTへの電力
供給をしていないとき(フラグF_BATONがクリア
されているとき)にはそのままリターンするが(S14
01、S1403、S1405)、端子VBATTに電
力が供給されているときには、パワーズームレンズ51
(端子VBATT)への電力供給をオフし、フラグF_
BATONをクリアし、BODY−STATE0コマン
ドを出力して電力供給がオフしたことを示すデータ(b
it5のVBATT=1)をレンズに送ってからリター
ンする(S1421〜S1425)。
In the BATONOFF processing, first, when there is no battery request from either the power zoom lens 51 or the camera body 11, when power is not already supplied to the terminal VBATT (when the flag F_BATON is cleared). Returns as is (S14
01, S1403, S1405), when power is supplied to the terminal VBATT, the power zoom lens 51
The power supply to (terminal VBATT) is turned off, and the flag F_
Data indicating that the power supply has been turned off by clearing BATON and outputting the BODY-STATE0 command (b
VBATT = 1 of it5 is sent to the lens and then the process returns (S1421 to S1425).

【0227】パワーズームレンズ51またはカメラボデ
ィ11からバッテリ要求があったとき(POFF−ST
ATEデータのbit1のLBATREQがセットされ
ているとき、またはBBATREQがセットされている
とき)には、電力がまだ供給されていなければパワーズ
ームレンズ51に電力供給を行ない、ボディ状態に関す
るBODY−STATE0データを送信して電力供給中
であることを示すデータ(bit5のBBATをセッ
ト)をレンズに送り、電力供給中であることを識別する
フラグF_BATONを立ててからPOFF−STAT
Eデータを受信するが、電力がすでに供給されていると
きにはそのままPOFF−STATEデータを受信する
(S1407〜S1415)。
When there is a battery request from the power zoom lens 51 or the camera body 11 (POFF-ST
When LBATREQ of bit1 of ATE data is set or when BBATREQ is set), if power is not yet supplied, power is supplied to the power zoom lens 51, and BODY-STATE0 data relating to the body state. Is sent to the lens to indicate that power is being supplied (bit 5 BBAT is set), a flag F_BATON for identifying that power is being supplied is set, and then POFF-STAT is set.
Although the E data is received, the POFF-STATE data is received as it is when the power is already supplied (S1407 to S1415).

【0228】そして、バッテリ供給が正常(POFF−
STATEのbit0のフラグF_BDET=1)であ
れば、フラグF BATNGをクリアした上でリターン
する(S4903、S1417)。しかし、電力供給が
異常のとき、例えばGNDラインとショートしていると
きなどには、バッテリ異常であることを識別するフラグ
F_BATNGを立てて、パワーズームレンズ51への
電力供給を停止し、フラグF_BATONをクリアし、
BODY−STATE0コマンドを出力して電力供給停
止データをレンズ51に送ってリターンする(S141
9〜S1425)。
Then, the battery supply is normal (POFF-
If STATE bit 0 flag F_BDET = 1), then flag F It returns after clearing BATNG (S4903, S1417). However, when the power supply is abnormal, for example, when it is short-circuited with the GND line, a flag F_BATNG for identifying that the battery is abnormal is set, the power supply to the power zoom lens 51 is stopped, and the flag F_BATON is stopped. Clear,
A BODY-STATE0 command is output, power supply stop data is sent to the lens 51, and the process returns (S141).
9-S1425).

【0229】[PZ−LOOP処理]図60A、図60
Bおよび図61Aに示したPZ−LOOP処理は、メイ
ンCPU35が行なうパワーズームに関する処理であ
る。このPZ−LOOP処理では、パワーズーム関連動
作として、プリセットされた焦点距離までパワーズーム
するプリセットズーム(クリップ)(PSZ)動作、焦
点距離のセット動作(PSZS)、像倍率一定ズーム動
作(ISZ)等を行なう事になる。
[PZ-LOOP Processing] FIGS. 60A and 60
The PZ-LOOP processing shown in B and FIG. 61A is processing relating to the power zoom performed by the main CPU 35. In this PZ-LOOP processing, as power zoom-related operations, a preset zoom (clip) (PSZ) operation for power zooming to a preset focal length, a focal length setting operation (PSZS), a constant image magnification zoom operation (ISZ), etc. Will be done.

【0230】尚、この一実施例では、後に詳細に説明す
るが、プリセットズーム(PSZ)モードが設定された
状態では、ズームセットボタン77(即ち、PZモード
スイッチSL)を押した時に、測光スイッチSWSのオ
ン/オフ状態に係わらずAF動作を起動した上で、プリ
セットされた焦点距離までパワーズームを行なう様に設
定されている。この結果、撮影者はプリセットされた焦
点距離までパワーズームされる被写体像をビューファイ
ダでピントのあった状態で観察することが出来る事にな
る。
In this embodiment, as will be described in detail later, when the preset zoom (PSZ) mode is set, when the zoom set button 77 (that is, the PZ mode switch SL) is pressed, the photometric switch is pressed. The AF operation is started regardless of the ON / OFF state of the SWS, and the power zoom is set up to the preset focal length. As a result, the photographer can observe the subject image whose power is zoomed to the preset focal length with the viewfinder in focus.

【0231】また、プリセットズームセット(PSZ
S)モードが設定された状態では、ズームセットボタン
77を押した時に、ズーム操作リング78を回動する事
により任意に設定された現在の焦点距離をメモリする様
に設定されている。尚、このプリセットズームセット
(PSZS)モードの設定時には、ズームセットボタン
77の押し込みに応じてAF動作は起動されないが、図
53Aを参照して既に説明した所の測光スイッチSWS
のオフ状態でのズーム操作リング78の回動に伴いAF
動作が起動される事になる。この結果、プリセットズー
ムセット(PSZS)での焦点距離の変更時において、
撮影者はビューファインダでピントのあった被写体像を
観察しつつ、フレーミングさせることが出来る事にな
る。
Also, a preset zoom set (PSZ
In the state in which the S) mode is set, when the zoom set button 77 is pressed, the zoom operation ring 78 is turned to set the present focal length which is arbitrarily set. Note that when the preset zoom set (PSZS) mode is set, the AF operation is not activated in response to the pressing of the zoom set button 77, but the photometric switch SWS already described with reference to FIG. 53A.
AF with the rotation of the zoom operation ring 78 in the off state of
The operation will be activated. As a result, when changing the focal length in the preset zoom set (PSZS),
The photographer can frame the subject while observing it with the viewfinder.

【0232】また、像倍率一定ズーム(ISZ)モード
が設定された状態においては、ズームセットボタン77
が押された時に、ISZメモリ要求フラグF ISZM
REQがセットされる事に伴いAF動作が起動され、合
焦時の被写体までの距離とその際の焦点距離とから、そ
の時の像倍率をメモリする様に設定されている。
When the constant image magnification zoom (ISZ) mode is set, the zoom set button 77
ISZ memory request flag F when is pressed ISZM
The AF operation is activated as REQ is set, and the image magnification at that time is set to be stored from the distance to the subject at the time of focusing and the focal length at that time.

【0233】このPZ−LOOP処理に入ると、先ず、
ステップS1501においてフラグF NEWCOMが
セットされているか否かを判断し、クリアされていれ
ば、即ち、新通信が不可であれば、何ら制御手順を実行
することなくリターンする。一方、ステップS1051
においてフラグF NEWCOMがセットされていると
判断され、且つ、ステップ1503において、フラグF
PZがセットされていると判断される場合、即ち、新
通信およびパワーズーム可能であることを条件にステッ
プS1505に進んで、以下に説明する各処理を実行す
る事になる。
When entering this PZ-LOOP processing, first,
Flag F in step S1501 It is judged whether NEWCOM is set or not, and if it is cleared, that is, if new communication is impossible, the process returns without executing any control procedure. On the other hand, step S1051
At flag F It is determined that NEWCOM is set, and in step 1503, flag F is set.
When it is determined that PZ is set, that is, on condition that the new communication and power zoom are possible, the process proceeds to step S1505, and each process described below is executed.

【0234】また、ステップ1503においてフラグF
PZがクリアされていて、新通信可でパワーズーム不
可と判断されるときには、ステップS1504−1に進
み、BODY−STATE0通信を行なう。このBOD
Y−STATE0通信では、パワーズームのモ−ド情報
等のボディ側の情報をレンズに送り、引き続くステップ
S1504−2でVddがオンしていると判断される場
合には、ステップS1504−3において、POFF−
STATE通信でレンズ側のスイッチ状態等のレンズ情
報を入力する。一方、Vddがオフしていると判断され
る場合には、ステップS1504−4においてPOFF
S−WSLEEP通信でレンズの情報を入力し、かつ、
レンズCPU61をスタンバイモ−ド(低消費電力モ−
ド)に移行させる。このPOFFS−WSLEEPコマ
ンドによりレンズCPU61は、次の通信コマンドを受
信するまで低消費電力モ−ドを維持したままとなる。こ
の様にステップS1504−3またはステップS150
4−4を実行した後、制御手順はリターンする。
In step 1503, flag F is set.
When PZ is cleared and it is determined that new communication is possible and power zoom is not possible, the process proceeds to step S1504-1, and BODY-STATE0 communication is performed. This BOD
In Y-STATE0 communication, body side information such as power zoom mode information is sent to the lens, and if it is determined that Vdd is on in the subsequent step S1504-2, in step S1504-3, POFF-
The lens information such as the switch state on the lens side is input by STATE communication. On the other hand, if it is determined that Vdd is off, then POFF is set in step S1504-4.
Enter lens information by S-WSLEEEP communication, and
Set the lens CPU 61 to the standby mode (low power consumption mode).
Do)). By this POFFS-WSLEEEP command, the lens CPU 61 remains in the low power consumption mode until the next communication command is received. In this way, step S1504-3 or step S150
After executing 4-4, the control procedure returns.

【0235】ここで、上述したステップSS1505で
は、パワーズームレンズ51からPOFF−STATE
でレンズのスイッチ等のデータを入力し、引き続くステ
ップS1507において、そのデータに応じてPZモー
ドの切換えおよび表示修正を行なって、ステップS15
09において電力供給あるいは停止を行なう。この後、
ステップS4601に進み、BODY−STATE0通
信を行なう。このBODY−STATE0通信では、パ
ワーズームのモ−ド情報等のボディ側の情報をレンズに
送り、引き続くステップS4603でVddがオンして
いると判断される場合には、ステップS4605におい
て、POFF−STATE通信でレンズ側のスイッチ状
態等のレンズ情報を入力する。一方、Vddがオフして
いると判断される場合には、ステップS4607におい
てPOFFS−WSLEEP通信でレンズの情報を入力
し、かつ、レンズCPU61をスタンバイモ−ド(低消
費電力モ−ド)に移行させる。このPOFFS−WSL
EEPコマンドによりレンズCPU61は、次の通信コ
マンドを受信するまで低消費電力モ−ドを維持したまま
となる。この様にステップS4605またはステップS
4607を実行した後、ステップS1513以下の制御
手順を実行する事により、入力したデータに基づいて以
下の処理を行なう。
Here, in step SS1505 described above, the POFF-STATE from the power zoom lens 51.
In step S1507, the data of the lens switch or the like is input, and in the subsequent step S1507, the PZ mode is switched and the display is corrected according to the data.
At 09, power is supplied or stopped. After this,
In step S4601, BODY-STATE0 communication is performed. In this BODY-STATE0 communication, body side information such as power zoom mode information is sent to the lens, and if it is determined that Vdd is on in the subsequent step S4603, in step S4605, POFF-STATE is set. Input lens information such as the switch status on the lens side through communication. On the other hand, if it is determined that Vdd is off, the lens information is input by POFFS-WSLEEEP communication in step S4607, and the lens CPU 61 is switched to the standby mode (low power consumption mode). Let This POFFS-WSL
The EEP command causes the lens CPU 61 to maintain the low power consumption mode until the next communication command is received. In this way, step S4605 or step S
After executing step 4607, the control procedure from step S1513 is executed to perform the following processing based on the input data.

【0236】先ず、ステップS1513においてプリセ
ットズーム(PSZ)モード(即ち、クリップモード)
であるか否かを判断し、PSZモードであると判断され
る場合には、ステップS4701において、所謂初期化
処理の一環として、ISZメモリ要求フラグF ISZ
MREQをクリアしてメモリ動作を禁止し、引き続くス
テップS1515において、フラグF_ISZSTOP
をセットして像倍率一定ズームの動作を禁止し、ステッ
プS1517において、IPZENDCHECKサブル
ーチンを実行して像倍率一定ズームを終了させる。この
後、ステップS1519において、パワーズームレンズ
51の側部に取り付けられたズームセットボタン77が
押されたか否か、即ち、プリセットズーム駆動が開始さ
れたか否かを判断する。具体的には、ズームセットボタ
ン77がオフ状態からオン状態に立ち上がったエッジを
検出、即ち、ズームセットボタン77が押された瞬間を
検出する。
First, in step S1513, preset zoom (PSZ) mode (that is, clip mode).
If it is determined that the PSZ mode is set, in step S4701, the ISZ memory request flag F is set as a part of so-called initialization processing. ISZ
MREQ is cleared to prohibit the memory operation, and in the subsequent step S1515, the flag F_ISZSTOP is set.
Is set to prohibit the constant image magnification zoom operation, and in step S1517, the IPZENDCHECK subroutine is executed to end the constant image magnification zoom. After that, in step S1519, it is determined whether or not the zoom set button 77 attached to the side portion of the power zoom lens 51 has been pressed, that is, whether or not the preset zoom drive has started. Specifically, the edge where the zoom set button 77 rises from the off state to the on state is detected, that is, the moment when the zoom set button 77 is pressed is detected.

【0237】ここで、プリセットズーム駆動開始(ズー
ムセットボタン77が押し下げられる)でなければ、一
旦、ステップS4703においてフラグF IPZON
がセットされているかを判断し、クリアされていれば、
即ち、プリセットズーム駆動中ではないと判断される場
合には、制御手順をリターンする。この結果、上述した
ステップS1149において既に合焦判断が出た場合に
は、ステップS4527においてAF要求フラグF
ZAFREQがクリアされ、AF動作が停止される事に
なっているので、プリセットズーム(クリップ)動作が
終了した時点で、合焦判断が出ている場合には、このA
F停止状態が維持される事になる。
If the preset zoom drive is not started (the zoom set button 77 is pressed down), the flag F is temporarily set in step S4703. IPZON
Judge whether is set, and if it is cleared,
That is, when it is determined that the preset zoom drive is not being performed, the control procedure is returned. As a result, if the in-focus determination has already been made in step S1149 described above, the AF request flag F in step S4527. P
Since ZAFREQ is cleared and the AF operation is stopped, if the focus determination is made at the time when the preset zoom (clip) operation is completed, this A
The F stop condition will be maintained.

【0238】一方、ステップS4703においてフラグ
IPZONがセットされている場合、即ち、ズーム
セットボタン77が既に押されていて、しかも、プリセ
ットズームが、現在駆動中であると判断される場合に
は、そのまま制御手順をリターンすると、1回でも合焦
判断が出るとAF動作が停止される事となるので、ステ
ップS4705において、AF要求フラグF PZAF
REQをセットして、AF動作を継続させた上で、制御
手順をリターンする。即ち、この様にステップS470
5においてAF動作の継続が強制される事により、プリ
セットズーム(クリップ)動作の途中において、例え合
焦状態が外れたとしても、プリセットズーム(クリッ
プ)動作が実行されている限り、AF動作が継続して、
確実に、合焦状態が達成される事になる。
On the other hand, flag F in step S4703. When IPZON is set, that is, when the zoom set button 77 is already pressed and it is determined that the preset zoom is currently being driven, if the control procedure is directly returned, even once. Since the AF operation is stopped when the in-focus determination is made, the AF request flag F is set in step S4705. PZAF
After setting REQ and continuing the AF operation, the control procedure is returned. That is, in this way, step S470
Since the continuation of the AF operation is forcibly performed in step 5, the AF operation continues as long as the preset zoom (clip) operation is executed even if the focus state is lost during the preset zoom (clip) operation. do it,
Certainly, the in-focus state will be achieved.

【0239】一方、上述したステップS1519におい
てプリセットズーム駆動開始であると判断されると、ス
テップS4707においてAF要求フラグF PZAF
REQをセットして、AF動作を起動する。即ち、この
一実施例においては、ズームセットボタン77が押され
た直後から、実際にプリセットズーム(クリップ)動作
が開始されていようがいまいが、AF動作が開始される
事になる。この結果、この一実施例によれば、プリセッ
トズーム(クリップ)動作の起動がズームセットボタン
77を押す事により指示された時点からAF動作が開始
される事となり、プリセットズーム(クリップ)動作中
において、常に合焦状態が達成される事になる。
On the other hand, if it is determined in step S1519 that the preset zoom drive has started, then in step S4707 the AF request flag F PZAF
Set REQ to activate AF operation. That is, in this embodiment, the AF operation is started immediately after the zoom set button 77 is pressed whether or not the preset zoom (clip) operation is actually started. As a result, according to this embodiment, the AF operation is started from the time point when the start of the preset zoom (clip) operation is instructed by pressing the zoom set button 77, and during the preset zoom (clip) operation. , The in-focus state will always be achieved.

【0240】この様にAF動作が起動されてから、ステ
ップS1521において、現在、プリセットズーム(ク
リップ)駆動中(F IPZON=1)であるか否かを
判断し、プリセットズーム(クリップ)駆動中であると
判断される場合には、ステップS1555において、I
PZENDチェックサブルーチンにてプリセットズーム
が終了したかどうかのチェック処理を実行し、このチェ
ック処理が終了した後に制御手順をリターンする。
After the AF operation is activated in this way, in step S1521, the preset zoom (clip) drive is currently in progress (F If it is determined that IPZON = 1), and it is determined that the preset zoom (clip) is being driven, in step S1555, I
In the PZEND check subroutine, a process for checking whether or not the preset zoom is finished is executed, and after this check process is finished, the control procedure is returned.

【0241】また、上述したステップS1521におい
て、未だプリセットズーム(クリップ)動作が開始され
ていないと判断される場合には、ステップS1523に
おいて、カメラボディ11自体で電力供給を要求し、引
き続くステップS1525において電力供給を行なう。
そして、ステップS1527において、バッテリの異常
を判断し、バッテリが異常であると判断される場合に
は、制御手順をそのままリターンし、正常であると判断
される場合には、ステップS1529において、MOV
E−PZNDコマンドを送信して指定したアドレスにメ
モリされている焦点距離位置へパワーズームさせ、引き
続くステップS1531において、プリセットズーム中
であることを識別するフラグF_IPZONを立ててリ
ターンする。
If it is determined in step S1521 above that the preset zoom (clip) operation has not yet started, then in step S1523 the camera body 11 itself requests power supply, and in subsequent step S1525. Supply power.
Then, in step S1527, it is determined whether the battery is abnormal, and if it is determined that the battery is abnormal, the control procedure is directly returned. If it is determined that the battery is normal, in step S1529, the MOV is determined.
The E-PZND command is transmitted to cause the power zoom to the focal length position stored in the designated address, and in the subsequent step S1531, a flag F_IPZON for identifying that the preset zoom is being performed is set and the process returns.

【0242】一方、上述したステップS1513におい
て、プリセットズーム(PSZ)モードが設定されては
いないと判断される場合には、ステップS1541に進
み、プリセットズームセット(PSZS)モード(即
ち、クリップセットモード)が設定されているか否かを
判断する。ここで、プリセットズームセット(PSZ
S)モードであると判断される場合には、ステップS4
709に進み、ISZメモリ要求フラグF ISZMR
EQをクリアした上で、ステップS1543において像
倍率一定制御及びオートズーム(としてのプリセットズ
ーム)の駆動を停止させるフラグ(F ISZSTO
P、F IPZSTOP)をセットし、ステップS15
45においてIPZENDCHECKサブルーチンにて
プリセットズームあるいは像倍率一定ズームの駆動を停
止させる。
On the other hand, in step S1513 described above, when it is determined that the preset zoom (PSZ) mode is not set, the flow proceeds to step S1541 and the preset zoom set (PSZS) mode (that is, clip set mode). It is determined whether or not is set. Here, the preset zoom set (PSZ
If it is determined to be the S) mode, step S4
709, the ISZ memory request flag F ISZMR
After clearing the EQ, in step S1543, a flag (F that stops constant image magnification control and automatic zoom (preset zoom as)) ISZSTO
P, F IPZSTOP) and set step S15
At 45, the driving of the preset zoom or the constant image magnification zoom is stopped by the IPZENDCHECK subroutine.

【0243】そして、ステップS1547において、上
述したステップS1519と同様に、ズームセットボタ
ン77が押されたか否か、プリセットズームセットが指
示されたか否かを判断する。ここで、ズームセットボタ
ン77が押されたと判断される場合には、ステップS1
549に進み、レンズCPU61に現在の焦点距離デー
タを指定されたレンズRAM61bのアドレスにメモリ
させるために、STORE−PZPコマンドをパワーズ
ームレンズ51に送信し、引き続くステップS1551
において、プリセットズームセット(PSZS)モード
をプリセットズーム(PSZ)モードに変更する。即
ち、一旦、現在の焦点距離データがメモリされたなら
ば、自動的にプリセットズーム(クリップ)モードに切
り換え変更する。この後、ステップS1553におい
て、BODY−STATE0コマンドにおけるビット0
〜2の値を変更して、BODY−STATE0コマンド
を出力してプリセットズームモードに変わったこと等を
パワーズームレンズ51に知らせて、制御手順をリター
ンする。一方、上述したステップS1547において、
ズームセットボタン77が押されていないと判断される
場合には、何もせずに制御手順をリターンする。即ち、
プリセットズームセットモード(クリップセットモー
ド)が設定され続ける事となる。
Then, in step S1547, similarly to step S1519 described above, it is determined whether or not the zoom set button 77 has been pressed and whether or not a preset zoom set has been instructed. If it is determined that the zoom set button 77 has been pressed, step S1
In step 549, the STORE-PZP command is transmitted to the power zoom lens 51 to cause the lens CPU 61 to store the current focal length data in the specified address of the lens RAM 61b, and the subsequent step S1551.
In, the preset zoom set (PSZS) mode is changed to the preset zoom (PSZ) mode. That is, once the current focal length data is stored, the preset zoom (clip) mode is automatically switched to change. Thereafter, in step S1553, bit 0 in the BODY-STATE0 command is
The value of 2 is changed, the BODY-STATE0 command is output to notify the power zoom lens 51 that the preset zoom mode has been changed, and the control procedure is returned. On the other hand, in step S1547 described above,
When it is determined that the zoom set button 77 is not pressed, the control procedure is returned without doing anything. That is,
The preset zoom set mode (clip set mode) will continue to be set.

【0244】一方、上述したステップS1541におい
て、NOと判断された場合、即ち、プリセットズームモ
ード(クリップモード)でもなく、また、プリセットズ
ームセットモード(クリップセットモード)でもないと
判断された場合には、ステップSステップS1561に
おいて、像倍率一定ズームモード(ISZ)が設定され
ているか否かを判断する。ISZが設定されていると判
断される場合には、ステップS1563においてフラグ
IPZSTOPをセットしてプリセットズームを停
止させ、引き続くステップS1565においてIPZE
NDCHECKサブルーチンを実行して、プリセットズ
ームが終了したことをチェックする。
On the other hand, if it is determined NO at step S1541 described above, that is, if it is determined that neither the preset zoom mode (clip mode) nor the preset zoom set mode (clip set mode) is determined. In step S1561, it is determined whether the constant image magnification zoom mode (ISZ) is set. If it is determined that ISZ is set, then in step S1563 the flag F is set. IPZSTOP is set to stop the preset zoom, and in subsequent step S1565, IPZE
Run the NDCHECK subroutine to check that the preset zoom is finished.

【0245】この後、ステップS1569においてLE
NS−INF1データを入力し、ステップS1571に
おいて、焦点距離を変更すべくズーム操作リング78が
回動されて、パワーズームスイッチPZSWがオンして
いるか否かを判断する。ここで、パワーズームスイッチ
PZSWがオンしていると判断される場合、即ち、現在
焦点距離を変更中である場合には、焦点距離をメモリす
る事は出来ないので、ステップS4711に進み、ここ
で、ISZメモリ要求フラグF ISZMREQをクリ
アし、引き続くステップS4713において、像倍率一
定ズームISZを禁止するフラグF PZWAITをセ
ットして、制御手順をリターンする。
After this, in step S1569 LE
NS-INF1 data is input, and in step S1571, it is determined whether or not the power zoom switch PZSW is turned on by rotating the zoom operation ring 78 to change the focal length. Here, if it is determined that the power zoom switch PZSW is on, that is, if the focal length is currently being changed, the focal length cannot be stored, so the flow advances to step S4711, and here , ISZ memory request flag F ISZMREQ is cleared, and in a succeeding step S4713, a flag F for prohibiting the constant image magnification zoom ISZ Set PZWAIT and return the control procedure.

【0246】一方、上述したステップS1571におい
て、パワーズームスイッチがオフされている、即ち、ズ
ーム操作リング78が回動されておらず、ズーミング動
作が終了したと判断される場合、または、未だズーミン
グ動作が起動されていないと判断される場合には、ステ
ップS4715に進み、上述したステップS1519と
同様にしてズームセットボタン77が押されたか否かを
判断する。このステップS4715においてズームセッ
トボタン77が押されたと判断された場合には、ステッ
プS4717に進み、ISZメモリ要求フラグF IS
ZMREQをセットし、引き続くステップS4719に
おいて、合焦しているか否かを判断する。そして、合焦
している場合に限り、ステップS4721に進み、その
時の像倍率をメモリさせるISZ−MEMORYコマン
ドを撮影レンズに出力する。この後、ステップS472
3において、ISZメモリ要求フラグF ISZMRE
Qをクリアし、ステップS4725において、像倍率一
定ズームISZの開始を禁止するフラグF_PZWAI
Tをクリアして、即ち、像倍率一定ズーム動作ISZを
許可して、制御手順を立ててリターンする。
On the other hand, if it is determined in step S1571 that the power zoom switch has been turned off, that is, the zoom operation ring 78 has not been rotated and the zooming operation has ended, or that the zooming operation has not been completed yet. If it is determined that the zoom set button 77 has not been activated, the process advances to step S4715 to determine whether the zoom set button 77 has been pressed, as in step S1519 described above. If it is determined in step S4715 that the zoom set button 77 has been pressed, the flow advances to step S4717 to set the ISZ memory request flag F. IS
ZMREQ is set, and in a succeeding step S4719, it is determined whether or not focus is achieved. Only when the subject is in focus, the process proceeds to step S4721, and the ISZ-MEMORY command for storing the image magnification at that time is output to the taking lens. After this, step S472
3, the ISZ memory request flag F ISZMRE
Q is cleared, and in step S4725, a flag F_PZWAI for prohibiting the start of the constant image magnification zoom ISZ.
After clearing T, that is, permitting the constant image magnification zoom operation ISZ, a control procedure is established and the process returns.

【0247】また、上述したステップS4719におい
て、未だ合焦していないと判断される場合には、上述し
たステップS4713に進み、像倍率一定ズームISZ
を禁止するフラグF PZWAITをセットして、制御
手順をリターンする。
If it is determined in step S4719 described above that the subject is not in focus, the process advances to step S4713 described above to perform the constant image magnification zoom ISZ.
Flag F to prohibit Set PZWAIT and return the control procedure.

【0248】一方、上述したステップS4715におい
て、NOと判断される場合、即ち、ズームセットボタン
77の押し込み動作も検出されず、且つ、ズーム操作リ
ング78も回動されていないと判断される場合には、ス
テップS4727に進み、ISZメモリ要求フラグF
ISZMREQがセットされているか否かを判断する。
このステップS4727において、ISZメモリ要求フ
ラグF ISZMREQがセットされていると判断され
る場合、即ち、ズームセットボタン77が既に押し込め
られた状態で、上述したステップS4717において既
にISZメモリ要求フラグF ISZMREQがセット
されていると判断される場合には、ステップS4719
において、合焦判断がなされたなかった場合であるの
で、再び、合焦反断を実行すべく、ステップS4719
に進む。
On the other hand, if it is determined NO at step S4715 described above, that is, if it is determined that the pressing operation of the zoom set button 77 is not detected and the zoom operation ring 78 is not rotated, either. Proceeds to step S4727, and ISZ memory request flag F
Determine if ISZMREQ is set.
In this step S4727, the ISZ memory request flag F When it is determined that ISZMREQ is set, that is, when the zoom set button 77 is already pressed, the ISZ memory request flag F is already set in step S4717 described above. If it is determined that ISZMREQ is set, step S4719.
In this case, since it is the case where the in-focus determination is not made in step S4719, the in-focus reversal is executed again.
Proceed to.

【0249】また、このステップS4727において、
ISZメモリ要求フラグF ISZMREQがクリアさ
れていると判断される場合には、合焦判断後にステップ
S4723においてISZメモリ要求フラグF ISZ
MREQが既にクリアされている場合であるので、上述
したステップS4725に進み、像倍率一定ズームの開
始を禁止するフラグF_PZWAITをクリアして、像
倍率一定ズームの開始を許容した上で制御手順をリター
ンする。
Also, in this step S4727,
ISZ memory request flag F If it is determined that ISZMREQ has been cleared, then in step S4723 the ISZ memory request flag F is determined after focus determination. ISZ
Since MREQ has already been cleared, the flow proceeds to step S4725 described above, the flag F_PZWAIT for prohibiting the start of the constant image magnification zoom is cleared, the start of the constant image magnification zoom is permitted, and the control procedure is returned. To do.

【0250】ここで、上述したステップS1561にお
いて、NOと判断される場合、即ち、プリセットズーム
(クリップ)モードでも、プリセットズームセット(ク
リップセット)モードでも、像倍率一定ズームモードで
もないと判断される場合には、ステップS4729にお
いて、ISZメモリ要求フラグF ISZMREQをク
リアし、引き続く、ステップS1585において、フラ
グF IPZSTOP及びフラグF ISZSTOPを
共にセットしてプリセットズームおよび像倍率一定ズー
ムを停止させ、最後に、ステップS1587において、
IPZENDCHECKサブルーチンを実行して、プリ
セットズームが終了したことをチェックして、制御手順
をリターンする。
Here, in the above-mentioned step S1561, if it is determined to be NO, that is, it is determined that the zoom mode is not the preset zoom (clip) mode, the preset zoom set (clip set) mode, or the constant image magnification zoom mode. In this case, in step S4729 the ISZ memory request flag F ISZMREQ is cleared, and in subsequent step S1585, flag F is set. IPZSTOP and flag F ISZSTOP is set together to stop the preset zoom and the constant image magnification zoom, and finally, in step S1587,
The IPZENDCHECK subroutine is executed to check that the preset zoom is completed, and the control procedure is returned.

【0251】ここで、上述した一実施例においては、像
倍率一定ズーム(ISZ)モードにおいては、ズームセ
ットボタン77の押し込み動作に応じて、合焦時の被写
体までの距離とその際の焦点距離とから、その時の像倍
率をメモリする様に説明したが、この発明は、この様な
制御手順に限定されることなく、図61Bに変形例とし
て示す様に構成しても良い。即ち、この図61Bに示す
変形例においては、図61Aに示す一実施例におけるス
テップS4715がステップS4801に置き換えられ
ているのみで、他のステップは図61Aと同様に実行さ
れる様に構成されている。この為、図61Bに示す変形
例の説明においては、図61Aに示す一実施例と同一の
ステップには、同一の符号を付して、その説明を省略す
る。
Here, in the above-described embodiment, in the constant image magnification zoom (ISZ) mode, the distance to the subject at the time of focusing and the focal length at that time are determined according to the pressing operation of the zoom set button 77. Therefore, the image magnification at that time is stored, but the present invention is not limited to such a control procedure, and may be configured as a modification shown in FIG. 61B. That is, in the modification shown in FIG. 61B, only step S4715 in the embodiment shown in FIG. 61A is replaced with step S4801, and the other steps are configured to be executed in the same manner as in FIG. 61A. There is. Therefore, in the description of the modification shown in FIG. 61B, the same steps as those of the embodiment shown in FIG. 61A are designated by the same reference numerals, and the description thereof will be omitted.

【0252】即ち、ステップS4801においては、パ
ワーズームスイッチのオフエッジ(オン状態からオフ状
態に変化した際のエッジ)を検出する事を、像倍率をメ
モリする為の起動条件とする様に設定されている。換言
すれば、パワーズームスイッチのオフエッジが検出され
た場合にのみ、合焦時の被写体までの距離とその際の焦
点距離とを測定して、その時の像倍率をメモリする様に
構成されている。具体的には、パワーズームスイッチは
ズーム操作リング78の中立位置への復帰動作に伴い、
オン状態からオフされる様に構成されているので、撮影
者がズーム操作リング78を回動して所望の焦点距離を
設定した時点で(この時点で、ズーム操作リング78を
回動する事によりAF動作が開始されている)、ズーム
操作リング78から手を離して、ズーム操作リング78
が図示しない内蔵スプリングの付勢力により中立位置ま
で復帰した時点で、パワーズームスイッチがオン状態か
らオフ状態に変化し、オフエッジが検出される事にな
る。この様にしてパワーズームスイッチがオフする事に
より、ステップS4717以降の制御手順が実行され、
合焦時の被写体までの距離とその際の焦点距離とを測定
して、その時の像倍率がメモリされる事になる。
That is, in step S4801, detection of the off edge of the power zoom switch (edge when the on state changes to the off state) is set as a starting condition for storing the image magnification. There is. In other words, only when the off-edge of the power zoom switch is detected, the distance to the subject at the time of focusing and the focal length at that time are measured, and the image magnification at that time is stored. . Specifically, the power zoom switch is accompanied by a return operation to the neutral position of the zoom operation ring 78,
Since it is configured to be turned off from the on state, when the photographer rotates the zoom operation ring 78 to set a desired focal length (at this point, the zoom operation ring 78 is rotated, AF operation has started), remove your hand from the zoom operation ring 78,
When the power zoom switch returns to the neutral position by the urging force of the built-in spring (not shown), the power zoom switch changes from the on state to the off state, and the off edge is detected. By turning off the power zoom switch in this way, the control procedure from step S4717 is executed,
The distance to the subject at the time of focusing and the focal length at that time are measured, and the image magnification at that time is stored.

【0253】この様に、この発明においては、像倍率一
定ズーム(ISZ)モードにおいては、撮影者がズーム
セットボタン77を押すという明白な動作に基づき、像
倍率をメモリする様に構成しても良いし、焦点距離を所
望の値にセットし終えてズーム操作リング78から手を
離すという動作に基づき、像倍率をメモリする様に構成
しても良いものである。
As described above, in the present invention, in the constant image magnification zoom (ISZ) mode, the image magnification may be memorized on the basis of the apparent operation of the photographer pressing the zoom set button 77. Alternatively, the image magnification may be stored based on the operation of releasing the zoom operation ring 78 after setting the focal length to a desired value.

【0254】[IPZENDCHEK処理]図62に示
したIPZendchekフローチャートは、プリセッ
トパワーズーム及び像倍率一定ズーム処理を終了させ、
またはその終了をチェックする、ボディ11側の処理で
ある。
[IPZENDCHECK Processing] In the IPZendcheck flowchart shown in FIG. 62, preset power zoom and constant image magnification zoom processing are terminated,
Alternatively, this is a process on the body 11 side for checking the end thereof.

【0255】このIPZENDCHEKサブルーチンに
入ると、像倍率一定ズームストップかつ像倍率一定ズー
ム動作中のとき(F ISZSTOP=1、F ISZ
ON=1)、またはプリセットズームストップかつプリ
セットズーム動作中のとき(F IPZSTOP=1、
IPZON=1)には、フラグF NGTIMER
およびフラグF IPZENDを夫々クリアし、パワー
ズームを停止させるIPZ−STOPコマンドを送信
し、各フラグF ISZON、F IPZON、F
BATREQをクリアし、バッテリ供給停止及びチェッ
クを行なってからリターンする(S1601〜S160
7、S1623〜S1631)。
When this IPZENDCHECK subroutine is entered, when the constant image magnification zoom stop and the constant image magnification zoom operation are in progress (F ISZSTOP = 1, F ISZ
ON = 1), or when preset zoom stop and preset zoom operation are in progress (F IPZSTOP = 1,
F IPZON = 1), the flag F NGTIMER
And flag F Clear IPZEND respectively, send IPZ-STOP command to stop power zoom, and set each flag F ISZON, F IPZON, F B
After BATREQ is cleared, the battery supply is stopped and checked, and then the process returns (S1601 to S160).
7, S1623 to S1631).

【0256】上記像倍率一定ズーム中でもなく、プリセ
ットズーム中でもないときには、PZ−LSTATEデ
ータを入力し、パワーズームレンズ51がプリセットズ
ーム中あるいは像倍率一定ズーム中であるかどうかをチ
ェックし、ズーム中でなければ(IPZB=0のと
き)、プリセットズームあるいは像倍率一定ズーム終了
フラグF IPZENDをセットしてリターンする(S
1601〜S1617)。プリセットズーム中あるいは
像倍率一定ズーム中であれば(IPZB=1のとき)、
異常検出タイマー(NGタイマー)がタイムアップして
いなければリターンする(S1619)。
When neither the constant image magnification zoom nor the preset zoom is being performed, the PZ-LSTATE data is input, and it is checked whether the power zoom lens 51 is performing the preset zoom or the constant image magnification zooming. If not (when IPZB = 0), preset zoom or constant image magnification zoom end flag F Set IPZEND and return (S
1601 to S1617). During preset zoom or constant image magnification zoom (when IPZB = 1),
If the abnormality detection timer (NG timer) has not timed up, the process returns (S1619).

【0257】像倍率一定ズームが終了する前にNG(異
常検出)タイマーがタイムアップしたときには何らかの
異常があったと考えられるので、TIMEUPフラグを
セットし(F TIMEUP=1)、NGTIMERフ
ラグおよびIPZENDフラグをクリア(F NITI
MER=0、F IPZEND=0)する(S1622
−1、S1622−2)。そして、パワーズーム停止処
理を行なう(S1623〜S1631)。尚、フラグF
IPZENDは、オートズーム(即ち、マニュアルパ
ワーズーム以外のズーム)が終了した事を示すフラグで
ある。そして、NGタイマーがタイムアップしていない
ときには、そのままリターンする。
When the NG (abnormality detection) timer expires before the constant image magnification zoom is completed, it is considered that there was some abnormality, so the TIMEUP flag is set (F TIMEUP = 1), clear NGTIMER flag and IPZEND flag (F NITI
MER = 0, F IPZEND = 0) (S1622)
-1, S1622-2). Then, power zoom stop processing is performed (S1623 to S1631). The flag F
IPZEND is a flag indicating that the auto zoom (that is, zoom other than the manual power zoom) has ended. Then, when the NG timer has not timed out, the process directly returns.

【0258】[ISZ−DRIVE1処理]図63ない
し図66に示したフローチャート(ISZ−DRIVE
1)は、パワーズームレンズ51(レンズCPU61)
に像倍率一定ズーム処理を行なわせるボディCPU31
の処理である。なお、ISZ−DRIVE処理は、図5
3におけるS1163にてコールされるものである。
[ISZ-DRIVE1 Processing] The flowchart (ISZ-DRIVE1) shown in FIGS. 63 to 66.
1) is a power zoom lens 51 (lens CPU 61)
Body CPU 31 for controlling the constant image magnification zoom process
Processing. The ISZ-DRIVE processing is shown in FIG.
3 is called in S1163.

【0259】フォーカシングレンズ53Fが、無限遠位
置にあればAF−INITPOSコマンドでAF初期位
置に関するデータをパワーズームレズ51に送信し(S
1701、S1703)、至近距離位置にあればPZ−
BSTATEコマンドでカメラボディ11側のパワーズ
ームモードに関するPZボディステートデータをパワー
ズームレンズ51に送信する(S1701、S170
5、S1707)。
If the focusing lens 53F is at the infinity position, the AF-INITPOS command is used to send data concerning the AF initial position to the power zoom lens 51 (S
1701, S1703), if there is a close range position, PZ-
The PZ body state data regarding the power zoom mode on the camera body 11 side is transmitted to the power zoom lens 51 by the BSTATE command (S1701, S170
5, S1707).

【0260】像倍率一定ズームの開始を禁止させるフラ
グF PZWAITがセットされている場合、または、
プレディクタ演算結果が無効のときには、なにもせずに
リターンする(S1709、S1711)。パワーズー
ムウエイトでなく、かつプレディクタ演算結果が有効の
ときには、合焦状態にあるかどうかをチェックする(S
1709〜S1713)。合焦状態にあるときには、す
でにNGタイマーが起動されているかどうか(F NI
TIMER=1)をチェックし、起動されていなければ
NGタイマーをスタートさせてフラグF NITIME
RをセットしてS1721に進む(S1713、S17
15、S1719、S1720)。NGタイマーがすで
に起動されていれば、以上の処理をスキップしてS17
21に進む。
Flag F for prohibiting start of constant image magnification zoom If PZWAIT is set, or
When the predictor calculation result is invalid, the process returns without doing anything (S1709, S1711). If it is not the power zoom weight and the predictor calculation result is valid, it is checked whether or not it is in focus (S
1709-S1713). When in focus, is the NG timer already activated? NI
Check TIMER = 1) and if not activated, start NG timer and flag F NITIME
Set R and proceed to S1721 (S1713, S17
15, S1719, S1720). If the NG timer has already been started, skip the above processing and execute S17.
Proceed to 21.

【0261】次に、S1721の像倍率一定ズーム終了
チェック(IPZEND−CHECK)処理終了後、像
倍率一定ズーム駆動中であれば、終了のチェックを行う
(S1723、S1725)。像倍率一定ズーム駆動中
(F_ISZON=1)かつ像倍率一定ズームが終了し
ていれば(IPZEND=1)、フラグIPZENDを
クリアし、フラグISZSTOPを立てて、IPZEN
D−CHECKサブルーチンにて、像倍率一定ズームの
停止処理を行ってからリターンする(S1725〜S1
729)。
Next, after completion of the image magnification constant zoom end check (IPZEND-CHECK) processing in S1721, if the image magnification constant zoom drive is in progress, the completion check is performed (S1723, S1725). If the constant image magnification zoom drive is in progress (F_ISZON = 1) and the constant image magnification zoom has ended (IPZEND = 1), the flag IPZEND is cleared, the flag ISZSTOP is set, and IPZEN is set.
In the D-CHECK subroutine, the process of stopping the constant image magnification zoom is performed, and then the process returns (S1725-S1).
729).

【0262】像倍率一定ズーム中でないか、像倍率一定
ズームが終了していなければ、PZ−BSTATEコマ
ンドでカメラボディ11のパワーズーム状態に関するデ
ータを送信する(S1723、S1725、S173
1)。そして、像倍率一定ズーム中でなければボディ側
で電力供給を要求してバッテリ供給チェック処理を行な
い、像倍率一定ズーム中であることを識別するフラグF
_ISZONを立ててから合焦判断に進むが、すでに像
倍率一定ズーム中であればそのまま合焦判断に進む(S
1733〜1741)。
If the constant image magnification zoom is not in progress or if the constant image magnification zoom has not ended, data relating to the power zoom state of the camera body 11 is transmitted by the PZ-BSTATE command (S1723, S1725, S173).
1). If the constant image magnification zoom is not in progress, the body side requests power supply to perform battery supply check processing, and a flag F for identifying that the constant image magnification zoom is being performed.
After _ISZON is set up, the focus determination is performed, but if the image magnification constant zoom is already in progress, the focus determination is directly performed (S
1733-1741).

【0263】合焦していれば、現在のAFパルス数(レ
ンズ繰出し量)に基づいて像倍率一定ズームを実行させ
るために、BODY−STATE1コマンドで所定のデ
ータをパワーズームレンズ51に送信し、さらにISZ
−STARTコマンドを送信してパワーズームレンズ5
1に像倍率一定ズームをスタートさせてからリターンす
る(S1741〜S1745)。非合焦であれば、カメ
ラボディ11で測距したデフォーカスパルスのデータを
STORE−DEF&Dコマンドで送信し、デフォーカ
スパルスに基づいて像倍率一定ズームを行なわせるため
のデータをBODY−STATE1コマンドで送信し、
ISZ−STARTコマンドを送信してリターンする
(S1741、S1747〜S1751)。
If in focus, in order to execute a constant image magnification zoom based on the current AF pulse number (lens extension amount), predetermined data is transmitted to the power zoom lens 51 by the BODY-STATE1 command, Further ISZ
-Send the START command to power zoom lens 5
The constant image magnification zoom is started to 1 and then the process returns (S1741 to S1745). If it is out of focus, the data of the defocus pulse measured by the camera body 11 is transmitted by the STORE-DEF & D command, and the data for performing the constant image magnification zoom based on the defocus pulse is transmitted by the BODY-STATE1 command. Send,
The ISZ-START command is transmitted and the process returns (S1741, S1747 to S1751).

【0264】以上のコマンド、データを受信したレンズ
CPU61は、図15のISZ処理を経て目標焦点距離
を演算し、ズーミング制御を実行する。
The lens CPU 61 which has received the above commands and data calculates the target focal length through the ISZ processing of FIG. 15 and executes zooming control.

【0265】[ISZ−DRIVE2]図65および図
66に示した像倍率一定ズーム処理の第2実施例につい
て説明する。この第2実施例は、カメラボディ11にお
いて、像倍率一定ズームに関する演算、制御をすること
に特徴を有する。
[ISZ-DRIVE2] A second embodiment of the constant image magnification zoom processing shown in FIGS. 65 and 66 will be described. The second embodiment is characterized in that the camera body 11 performs calculation and control relating to a constant image magnification zoom.

【0266】ステップS1801〜S1823までの処
理は、図62に示した第1実施例のS1701〜S17
31と同様であるからそこまでの説明は省略し、S18
25以降の処理について説明する。合焦状態にないとき
には、カメラボディ11のパワーズーム状態に関するデ
ータをPZ−BSTATEコマンドで送信する(S18
13、S1825〜S1833)。そして、パワーズー
ムレンズ51が像倍率一定ズーム中でなければ、ボディ
側で電力要求を行なってバッテリ供給およびチェックを
行ない、制御ズーム中フラグF IPZONをセットす
る(S1827〜S1833)。
The processing of steps S1801 to S1823 is the same as that of steps S1701 to S17 of the first embodiment shown in FIG.
Since it is similar to 31, the description up to that is omitted and S18
The processing after 25 will be described. When not in focus, data regarding the power zoom state of the camera body 11 is transmitted by the PZ-BSTATE command (S18).
13, S1825-S1833). If the power zoom lens 51 is not zooming at a constant image magnification, the body side makes a power request to perform battery supply and check, and the control zoom flag F is displayed. IPZON is set (S1827 to S1833).

【0267】次に、像倍率メモリ時の焦点距離がメモリ
されているレンズRAM61bのアドレスを指定してS
ET−PZPOINTコマンドを送信し、パワーズーム
レンズ51から、SET−PZPOINTコマンドで指
定した像倍率メモリ時の焦点距離(FOCALLEN−
Xデータ)を入力する(S1835、S1837)。さ
らに、レンズRAM61bにメモリされている像倍率メ
モリ時の焦点距離データを指定してSET−AFPOI
NTコマンドを送信し、レンズ51から像倍率メモリ時
のAFパルス数(LENS−AFPULSEデータ)を
入力する(S1839、S1841)。そして、入力し
たデータに基づいて像倍率(x00 )を演算する(S
1843)。さらに、現在のAFパルス値を指定してS
ET−AFPOINTコマンドを送信し、その指定に基
づいてレンズ51から現在のAFパルス数(LENS−
AFPULSEデータ)を入力する(S1845、S1
847)。
Next, the address of the lens RAM 61b in which the focal length at the time of image magnification memory is stored is specified and S is designated.
The ET-PZPOINT command is transmitted, and the focal length (FOCALLEN-) at the time of image magnification memory specified by the SET-PZPOINT command is transmitted from the power zoom lens 51.
X data) is input (S1835, S1837). Further, the focal length data at the time of the image magnification memory stored in the lens RAM 61b is designated to specify SET-AFPOI.
The NT command is transmitted, and the number of AF pulses (LENS-AFPULSE data) at the time of image magnification memory is input from the lens 51 (S1839, S1841). Then, the image magnification (x 0 f 0 ) is calculated based on the input data (S
1843). Further, by specifying the current AF pulse value, S
The ET-AFPOINT command is transmitted, and the current AF pulse number (LENS-
Input AFPULSE data) (S1845, S1)
847).

【0268】次に、合焦しているかどうかをチェック
し、合焦していれば現AFパルス数xを利用した式に
より焦点距離を求め、合焦していなければ、被写体が動
体かどうかをチェックし、動体である場合には、合焦時
の場合と同様に現在のAFパルスに基づいて焦点距離を
演算し、動体でない場合は、現AFパルス数xおよびデ
フォーカスパルスΔxを利用した式により目標焦点距
離を求める(S1849〜S1853)。そして、算出
した目標焦点距離までパワーズームさせるコマンドおよ
び焦点距離データ(MOVE−PZFコマンド)を送信
してからリターンする(S1855)。このMOVE−
PZFコマンドを受信したレンズCPU61は、上記カ
メラボディ11から送られてきた目標焦点距離へズーミ
ングレンズ53Fを駆動する。
Next, it is checked whether or not the subject is in focus, and if the subject is in focus, the focal length is obtained by an equation using the current AF pulse number x. If it is a moving object, the focal length is calculated based on the current AF pulse as in the case of focusing, and if it is not a moving object, an expression using the current AF pulse number x and the defocus pulse Δx The target focal length is obtained by (S1849 to S1853). Then, the command for performing power zoom to the calculated target focal length and the focal length data (MOVE-PZF command) are transmitted, and then the process returns (S1855). This MOVE-
The lens CPU 61 that has received the PZF command drives the zooming lens 53F to the target focal length sent from the camera body 11.

【0269】なお、上記実施例において、目標焦点距離
の演算方式を撮影レンズの合焦状態により変更する構成
となっているが、勿論、他の条件、例えば、動体予測A
Fであるか否かに基づいて変更する構成としてもよい。
この場合、S1853の前に、「被写体が動体か?」の
判断処理を付加し、動体である場合は、S1851によ
り目標焦点距離を現在のレンズ繰出し量によって算出
し、動体でない場合は、S1853により焦点距離を算
出する構成とすればよい。ここで、動体予測AF時にデ
フォーカス量を用いずに目標焦点距離を演算する理由
は、レンズ駆動の高速化および安定化を図るためであ
る。
In the above embodiment, the calculation method of the target focal length is changed according to the focusing state of the photographing lens, but of course, other conditions such as the moving object prediction A
The configuration may be changed based on whether it is F or not.
In this case, before S1853, a determination process “whether the subject is a moving body? The focal length may be calculated. Here, the reason for calculating the target focal length without using the defocus amount during the moving object prediction AF is to speed up and stabilize the lens drive.

【0270】[ISZ−DRIVE3]図67および図
68に示した像倍率一定ズーム処理は、ボディ11側で
制御する像倍率一定ズームの変形であって、一度合焦し
てから像倍率一定ズームを行なっても、ズーミング終了
時に合焦状態から外れる可能性があるので、像倍率一定
ズーム後に再度AF処理及び像倍率一定ズームを行な
う、第3実施例である。また、この実施例は、併せて、
動体予測AF時に動体移動スピードに応じて像倍率一定
ズームのスピードを変えて駆動する方法も示している。
[ISZ-DRIVE3] The constant image magnification zoom processing shown in FIGS. 67 and 68 is a modification of the constant image magnification zoom controlled on the body 11 side. Even if it is performed, there is a possibility that it will be out of focus at the end of zooming, so AF processing and constant image magnification zooming are performed again after constant image magnification zooming. In addition, this embodiment also includes
A method of driving by changing the speed of the constant image magnification zoom according to the moving speed of the moving body during the moving body prediction AF is also shown.

【0271】フォーカシングレンズ群53Fが無限遠位
置にあれば、AF−INITPOSコマンドをパワーズ
ームレンズ51に送信し(S1901、S1903)、
至近距離位置にあれば、PZ−BSTATEコマンドで
カメラボディ11側のパワーズームモードに関するPZ
ボディステートデータをパワーズームレンズ51に送信
する(S1901、S1905、S1907)。パワー
ズームウエイトのとき、またはプレディクタ演算結果が
無効のときにはなにもせずにリターンする(S190
9、S1911)。
If the focusing lens group 53F is at the infinity position, the AF-INITPOS command is transmitted to the power zoom lens 51 (S1901, S1903),
If the camera is at the closest position, use the PZ-BSTATE command to set the PZ for the power zoom mode on the camera body 11 side.
The body state data is transmitted to the power zoom lens 51 (S1901, S1905, S1907). When the power zoom weight is used, or when the predictor calculation result is invalid, the process returns without doing anything (S190).
9, S1911).

【0272】パワーズームウエイトでなく、かつプレデ
ィクタ演算結果が有効のときには被写体が動体であるか
どうかをチェックする(S1909〜S1913)。動
体であり、かつ像倍率一定ズーム中フラグが下りている
とき(像倍率一定ズーム駆動中でないとき)には、ボデ
ィのバッテリ要求フラグをセット(F BATREQ=
1)してバッテリの供給を行ない、像倍率一定ズーム中
フラグ(F ISZON=1)をセットする(S196
1〜S1967)。そして、動体移動スピード(像面移
動スピード)に応じたパワーズームスピードをセット
し、セットしたパワーズームのスピードデータ(ISS
PA、ISSPB)及び、現在位置のAFパルスでIS
Z制御を行なわせるようにフラグF ISZDをクリア
してBODY−STATE1データ通信により送り、I
SZ−STARTコマンドを送信して撮影レンズ51に
像倍率一定ズームを開始させる(S1969〜S197
3)。ここで、フラグF ISZDは、像倍率一定ズー
ム(ISZ)の制御フラグであり、セットされる事によ
りデフォーカスパルスを使用して求めた目標焦点距離に
制御する事を示し、一方、クリアされる事によりAFパ
ルスの現在値を使用して求めた目標焦点距離に制御して
いる事を示す様に設定されている。
If the power zoom weight is not used and the predictor calculation result is valid, it is checked whether or not the subject is a moving body (S1909 to S1913). When the object is a moving object and the constant image magnification zooming flag is down (when the constant image magnification zoom drive is not in progress), the battery request flag of the body is set (F BATREQ =
1) Then, the battery is supplied and the constant image magnification zooming flag (F Set ISZON = 1) (S196
1 to S1967). Then, the power zoom speed according to the moving speed of the moving object (moving speed of the image plane) is set, and the speed data of the set power zoom (ISS
PA, ISS PB) and IS at the current position AF pulse
Flag F to perform Z control Clear ISZD and send by BODY-STATE1 data communication, I
An SZ-START command is transmitted to cause the taking lens 51 to start zooming with a constant image magnification (S1969 to S197).
3). Here, flag F ISZD is a control flag for constant image magnification zoom (ISZ). When set, it indicates that the target focal length obtained by using the defocus pulse is used for control. It is set to indicate that the target focal length is calculated using the current value.

【0273】動体でなければ、合焦2回目(F INF
OCUS=2)か、1回目(F INFOCUS=1)
かどうかをチェックする(S1913、S1915、S
1917)。なお、F INFOCUSは2ビットであ
る。合焦2回目でも1回目でもなければ、つまり最初の
ときには、合焦しているかどうかをチェックし、合焦し
ていなければリターンし、合焦していれば、ボディのバ
ッテリ要求フラグF BBATREQをセットして電力供
給を行ない、像倍率一定ズーム中のフラグF ISZON
をセットする(S1919〜S1925)。
If it is not a moving object, the second focus (F INF
OCUS = 2) or the first time (F INFOCUS = 1)
It is checked whether or not (S1913, S1915, S
1917). In addition, F INFOCUS is 2 bits
It If it is neither the second time nor the first time of focusing, that is, the first
Sometimes, check whether it is in focus and focus
If not, it returns.
Battery request flag F Set BBATREQ to supply power
Flag F during power supply and constant image magnification zoom ISZON
Is set (S1919 to S1925).

【0274】そして、像倍率一定ズームスタートコマン
ドを送信して像倍率一定ズームをスタートさせ、NGタ
イマーをスタートさせ、像倍率一定ズームの終了チェッ
クを行ない、終了したら合焦1回目フラグをセットし、
像倍率一定ズーム終了フラグF_IPZENDをクリア
して1回目の処理を終了する(S1935〜S194
0)。
Then, the constant image magnification zoom start command is transmitted to start the constant image magnification zoom, start the NG timer, check the end of the constant image magnification zoom, and set the first focusing flag when completed.
The constant image magnification zoom end flag F_IPZEND is cleared and the first processing is ended (S1935-S194).
0).

【0275】次にこの処理に入ったときには、合焦1回
目フラグ立っているので、S1917からS1941に
入り、合焦しているかどうかをチェックする。合焦して
いなければリターンし、合焦するまで以上の処理を繰り
返す。合焦していれば、NGタイマーをスタートさせ、
像倍率一定ズームスタートコマンドを撮影レンズに送信
して撮影レンズに像倍率一定ズームをスタートさせ、合
焦2回目フラグをセットしてリターンする(S1943
〜S1947)。
[0275] When this processing is entered next time, since the flag for the first focusing is set, the processing proceeds from S1917 to S1941 and it is checked whether or not focusing is performed. If the subject is not in focus, the process returns and the above process is repeated until the subject is in focus. If in focus, start the NG timer,
A constant image magnification constant zoom start command is transmitted to the photographing lens to start the constant magnification of the image lens, the second focus flag is set, and the process returns (S1943).
~ S1947).

【0276】S1947の処理を終了してからこのIS
Z−DRIVE3処理に入ったときには合焦2回目フラ
グが立っているので、S1915からS1951に入
り、像倍率一定(制御)ズームの終了チェックを行な
う。制御ズームが終了していなければリターンし、終了
していれば制御ズーム終了フラグF_IPZENDをク
リアし、像倍率一定ズームストップフラグISZSTO
Pを立て、像倍率一定ズーム終了処理を行なってからリ
ターンする(S1953〜S1957)。
This IS after the processing of S1947 is completed.
When the Z-DRIVE3 process is started, the second focus flag is set, and therefore the process goes from S1915 to S1951 to check the end of the constant image magnification (control) zoom. If the control zoom has not ended, the process returns, and if it has ended, the control zoom end flag F_IPZEND is cleared, and the image magnification constant zoom stop flag ISZSTO.
P is set up, a constant image magnification zooming process is performed, and then the process returns (S1953 to S1957).

【0277】『AFP−CNT処理』図69に示したA
FP−CNT処理は、パワーズームレンズ51における
AFパルスカウント処理である。レンズCPU61は、
AFパルサー59が出力するAFパルスをハード的にカ
ウントするAFパルスカウンタを備えている。このAF
P−CNT処理には、2msタイマ割り込みにより2ms間
隔で入る。なお、本処理は、図9に示した2msタイマ割
込みルーチンのS303処理の詳細である。
"AFP-CNT processing" A shown in FIG.
The FP-CNT process is an AF pulse count process in the power zoom lens 51. The lens CPU 61 is
An AF pulse counter that counts the AF pulses output by the AF pulser 59 in a hardware manner is provided. This AF
P-CNT processing is entered at 2-ms intervals by 2-ms timer interrupt. This process is a detail of the S303 process of the 2 ms timer interrupt routine shown in FIG.

【0278】AFP−CNT処理では先ず、AFパルス
ハードカウンタのカウント値をAFパルスカウント値メ
モリ(レンズRAM61bのアドレスAFPCNTL,
H)にメモリする(S2001)。そして、PZ−BS
TATEコマンドにより入力したオートフォーカス制御
に関するデータ(レンズRAM61bの所定アドレスP
Z_BDSTのbit3からbit0のデータ)を参照
し、AFモータ39がニアムーブ中であり、かつニア端
に達していないときには、AFパルスカウントスタート
値(AFPSTRTL,H)にAFパルスカウント値を
加算し、これを現在のAFパルス値メモリ(レンズRA
M61bのAFPXL,H)にメモリしてこのルーチン
を抜けるが、ニア端に達していたときにはそのまま終了
する(S2002〜S2007)。
In the AFP-CNT processing, first, the count value of the AF pulse hard counter is stored in the AF pulse count value memory (address AFPCCNTL of the lens RAM 61b,
H) is stored (S2001). And PZ-BS
Data relating to autofocus control input by the TATE command (predetermined address P of the lens RAM 61b
When the AF motor 39 is near moving and has not reached the near end, the AF pulse count start value (AFSTRTRL, H) is added with the AF pulse count value by referring to the data from bit3 to bit0 of Z_BDST). The current AF pulse value memory (lens RA
The memory is stored in AFPXL, H of M61b and this routine is exited, but when the near end is reached, the process ends as it is (S2002 to S2007).

【0279】AFモータ39がファームーブ中であるが
ファー端に達していないときには、AFパルスカウント
スタート値からAFパルスカウント値を減算して現在の
AFパルス値メモリ(AFPXL,H)にメモリしてA
FP−CNT処理を抜け、ファー端に達していたときに
はそのままAFP−CNT処理を抜ける(S2009〜
S2013)。また、ニアムーブでもファームーブでも
ないときはAFモータ39が回転していないので、なに
もしないでAFP−CNT処理を終了する(S200
2、S2009)。
When the AF motor 39 is in the firmware but has not reached the far end, the AF pulse count value is subtracted from the AF pulse count start value and stored in the current AF pulse value memory (AFPXL, H). A
Exit the FP-CNT process, and if the far end is reached, exit the AFP-CNT process as it is (S2009-
S2013). If neither near move nor firm move, the AF motor 39 is not rotating, so the AFP-CNT process is ended without doing anything (S200).
2, S2009).

【0280】『AFP−ADJ処理』図70に示したA
FP−ADJフローチャートは、バックラッシュ等の影
響による現在のAFパルス値を補正する、撮影レンズ5
1側の処理である。本実施例では、ファー端におけるA
Fパルス値を0とし、ニア端のAFパルス値を最大値に
設定してある。そして、距離コード板81の指標83を
ブラシ85が通る毎に、その指標83位置における絶対
値コードに基づく絶対AFパルス数(基準AFパルス
数)に基づいて、現在のAFパルスカウント値を補正す
る構成である。本処理は、図9に示される2msタイマ割
込みルーチンのS307の詳細である。
"AFP-ADJ processing" A shown in FIG.
The FP-ADJ flowchart is for taking lens 5 that corrects the current AF pulse value due to backlash or the like.
This is processing on the side of 1. In this embodiment, A at the fur end
The F pulse value is set to 0, and the near end AF pulse value is set to the maximum value. Then, each time the brush 85 passes through the index 83 of the distance code plate 81, the current AF pulse count value is corrected based on the absolute AF pulse number (reference AF pulse number) based on the absolute value code at the index 83 position. It is a composition. This process is a detail of S307 of the 2 ms timer interrupt routine shown in FIG.

【0281】AFP−ADJ処理に入ると、まず、指標
83にブラシ85が接触したかどうかをチェックし、接
触していなければそのまま処理を終了する(S202
1)。接触していても、前回の処理のときも接触してい
ればそのままリターンする(S2021、S202
3)。つまり、指標83とブラシ85とが接触した時点
(指標83のエッジ)を検出する。
When the AFP-ADJ processing is started, it is first checked whether or not the brush 85 has come into contact with the index 83, and if not, the processing is ended as it is (S202).
1). Even if they are in contact with each other, if they are in contact with each other in the previous processing, the process directly returns (S2021, S202).
3). That is, the time when the index 83 and the brush 85 contact each other (the edge of the index 83) is detected.

【0282】指標83とブラシ85とが接触すると、A
Fモータ39がファームーブのときに接触した場合に
は、その指標83のニア端位置に対応する、AFパルス
FARテーブルデータ(指標83のNEAR端側エッジ
のデータ)を読み込んでアドレスAFPCDL,Hにメ
モリし、ニアムーブで接触したときには、その指標83
のファー端位置に対応するAFパルスNEARテーブル
データ(指標83のFAR端側のエッジのデータ)を読
み込んで、アドレスAFPCDL,Hにメモリする(S
2025〜S2033)。FARテーブルとNEARテ
ーブルの2種類のテーブルを備えているのは、指標83
に幅があるので、接触方向によりその幅分接触時の絶対
位置が異なるからである。また、AFモータ39が停止
しているときには、そのままこの処理から抜ける(S2
027、S2031)。なお、S2025のフラグF_
AFPADJはAFパルスの補正禁止フラグであり、通
常はクリアされている。
When the index 83 and the brush 85 come into contact with each other, A
When the F motor 39 is in contact with the firmware at the time of the firmware, the AF pulse FAR table data (data of the NEAR end side edge of the index 83) corresponding to the near end position of the index 83 is read and is set to the address AFPCDL, H. When memory is memorized and contact is made by near move, the index 83
AF pulse NEAR table data (edge data on the FAR end side of the index 83) corresponding to the far end position of No. 2 is read and stored in the address AFPCDL, H (S
2025-S2033). The index 83 has two types of tables, a FAR table and a NEAR table.
Since there is a width in, the absolute position at the time of contact differs depending on the contact direction. Further, when the AF motor 39 is stopped, the process directly ends (S2).
027, S2031). The flag F_ of S2025
AFPADJ is an AF pulse correction inhibition flag, which is normally cleared.

【0283】次に、現在のAFパルス値が分かっている
とき(フラグF_AFPOSが立っているとき)には、
テーブルデータ(AFPCDL,H)から現在のAFパ
ルスカウント値(AFPXL,Hのデータ)を減算し、
その減算値(差)をAFパルス誤差メモリ(AFPDI
FXL,H)にメモリする(S2035、S203
7)。ここで、その誤差がマイナスのとき(ボローがあ
るとき)には、上記誤差の絶対値をAFパルス現在値メ
モリにメモリする(S2039、S2041)。
Next, when the current AF pulse value is known (when the flag F_AFPOS is set),
The current AF pulse count value (AFPXL, H data) is subtracted from the table data (AFPCDL, H),
The subtracted value (difference) is stored in the AF pulse error memory (AFPDI
FXL, H) (S2035, S203)
7). Here, when the error is negative (when there is borrow), the absolute value of the error is stored in the AF pulse current value memory (S2039, S2041).

【0284】そして、上記差が所定の許容誤差(N
FPDIF) よりも大きいかどうかをチェックして、小
さい場合にはそのまま処理を終了するが、大きい場合に
は補正、つまり現在のAFパルス値メモリ(AFPX
L,H)およびAFパルスカウントスタート値メモリ
(AFPSTRTL,H)にテーブルデータ(AFPC
DL,H)を入れる(S2043、S2045)。一
方、AFパルス現在値が分かっていないときには、無条
件で上記S2045の補正処理を実行する(S203
5、S2045)。
Then, the above difference is equal to a predetermined tolerance (N A
FPDIF) is checked, and if it is smaller, the processing is ended as it is, but if it is larger, correction, that is, the current AF pulse value memory (AFPX) is performed.
L, H) and the AF pulse count start value memory (AFFPTRTL, H) with table data (AFPC).
DL, H) are inserted (S2043, S2045). On the other hand, when the current value of the AF pulse is unknown, the correction process of S2045 is unconditionally executed (S203).
5, S2045).

【0285】そして、AFパルスハードカウンタをクリ
アしてスタートさせ、AFパルスカウントスタート値
(AFPCNTL,H)をクリアし、現在のAFパルス
値がわかっていることを示すフラグF_AFPOSを立
てて終了する(S2047、S2049)。
Then, the AF pulse hard counter is cleared and started, the AF pulse count start value (AFPCNTL, H) is cleared, the flag F_AFPOS indicating that the current AF pulse value is known is set, and the process is terminated ( S2047, S2049).

【0286】『LMT−DTC処理』図71に示したL
MT−DTCフローチャートは、ズーミングレンズ群5
3Zが端点に達したこと、あるいは何らかの事情で移動
できなくなったこと(擬似端点と称す)を検出する、撮
影レンズ51側の処理である。本実施例では、PZモー
タ65駆動中にPZパルスが所定時間内に出力されたか
どうかをチェックして検出している。さらに所定時間
は、PZモータの駆動速度(ズーミング速度)に応じて
変更している。また、PZモータの起動時(停止状態ま
たはブレーキ状態から駆動状態へ移った時)から一定時
間は起動トルクが大きくなるため、端点の検出は行なわ
ない。本処理は、図10に示される2msタイマ割込みル
ーチンのS351の詳細である。
"LMT-DTC Processing" L shown in FIG.
The MT-DTC flowchart is for the zooming lens group 5
This is processing on the side of the taking lens 51, which detects that 3Z has reached the end point or cannot move due to some circumstances (called a pseudo end point). In this embodiment, it is detected by checking whether or not the PZ pulse is output within a predetermined time while the PZ motor 65 is being driven. Furthermore, the predetermined time is changed according to the drive speed (zooming speed) of the PZ motor. Further, since the starting torque becomes large for a certain period of time after the PZ motor is started (when the stopped state or the brake state is changed to the driven state), the end point is not detected. This process is a detail of S351 of the 2 ms timer interrupt routine shown in FIG.

【0287】まず、PZモータ駆動中であるかどうかを
チェックし、駆動中でなければ、リミット(端点または
擬似端点)に達したことを検出するためのリミットカウ
ンタT_LMTをクリアして抜ける(S2061、S2
071)。なお、PWMタイマT PWMは、PZパル
スが出力されて図12に示されるPZパルスカウント割
込み処理に入ったときにクリアされる。
First, it is checked whether or not the PZ motor is being driven. If not, the limit counter T_LMT for detecting that the limit (end point or pseudo end point) has been reached is cleared and the process exits (S2061, S2
071). The PWM timer T PWM is cleared when the PZ pulse is output and the PZ pulse count interrupt process shown in FIG. 12 is entered.

【0288】PZ駆動中のときには、起動時からの時間
を計測するカウンタT_STARTが0になったかどう
か(所定時間が経過したかどうか)をチェックし、0で
なければカウンタT_STARTを1デクリメントと
し、リミットカウンタT_LMTをクリアして抜ける
(S2061、S2063、S2069、S207
1)。この処理には2msごとに入るので、2msごとにカ
ウンタT_STARTがデクリメントとされる。カウン
タT_STARTの値はズームモータを起動するときに
所定の値に設定されるが、起動してから一定期間は端点
検出を行なわない。
When the PZ drive is in progress, it is checked whether the counter T_START which measures the time from the start-up becomes 0 (whether a predetermined time has elapsed). If it is not 0, the counter T_START is decremented by 1 and the limit is set. Clear the counter T_LMT and exit (S2061, S2063, S2069, S207).
1). Since this processing enters every 2 ms, the counter T_START is decremented every 2 ms. The value of the counter T_START is set to a predetermined value when the zoom motor is started, but the end point is not detected for a certain period after the start.

【0289】カウンタT_STARTが0になると、モ
ータ起動後一定期間経過したことになるのでS2065
以降の端点検出の処理へ進む。PWMのデューティ比T
_PWMBRKが、PWMデューティ比の最大限界値N
_PWMMAX以上になった場合、端点検出用のカウン
タT_LMTを1インクリメントしてS2073に進
み、そうでない場合はそのままS2073に抜ける(S
2065、S2067)。また、モータがDC駆動(最
高速駆動)のときには、デューティー比T_PWMBR
Kとして最大限界値N_PWMMAXの値が設定される
ので、DC駆動時は、リミットカウンタT_LMTがイ
ンクリメントされる(S2065、S2067)。
When the counter T_START becomes 0, it means that a certain period has elapsed since the motor was started.
The process proceeds to the subsequent end point detection process. PWM duty ratio T
_PWMBRK is the maximum limit value N of the PWM duty ratio
When it is equal to or more than _PWMMAX, the end point detection counter T_LMT is incremented by 1 and the process proceeds to S2073. Otherwise, the process directly proceeds to S2073 (S2073).
2065, S2067). When the motor is DC driven (highest speed drive), the duty ratio T_PWMBR
Since the value of the maximum limit value N_PWMMAX is set as K, the limit counter T_LMT is incremented during DC driving (S2065, S2067).

【0290】次に、ズームモータのPWM駆動は、次の
ように制御する。PWMデューティ比T_PWMBRK
は通常、最大限界値N_PWMMAXより小さい値が設
定されている。したがって、カウンタT_LMTをイン
クリメントせず、そのまま抜ける(S2065、S20
73)。しかし、PZパルスが一定期間出力されないと
きには、2msタイマールーチンによりデューティ比T_
PWMBRKが徐々に大きく変更されるので、所定時間
経過後に最大限界値N_PWMMAXと同じ値(ほぼD
C駆動)となり、カウンタT_LMTが1インクリメン
トされるようになる。
Next, the PWM drive of the zoom motor is controlled as follows. PWM duty ratio T_PWMBRK
Is usually set to a value smaller than the maximum limit value N_PWMMAX. Therefore, the counter T_LMT is not incremented, and the process exits as it is (S2065, S20).
73). However, when the PZ pulse is not output for a certain period, the duty ratio T_
Since PWMBRK is gradually changed to a large value, the same value as the maximum limit value N_PWMMAX (approximately D
C drive), and the counter T_LMT is incremented by 1.

【0291】ここで、PWMで低速駆動の場合は、PW
Mデューティー比T_PWMBRKの値が最初は小さい
ので、端点あるいは疑似端点に達したときに、カウンタ
T_LMTがインクリメントされるまでの時間が長い。
PWMで高速駆動の場合は、PWMデューティー比T_
PWMBRKの値が大きいので、端点あるいは疑似端点
に達したときに、カウンタT_LMTがインクリメント
されるまでの時間が、PWM低速時よりも短い。上記の
処理により、ズームモータの駆動速度により端点検出時
間が可変になる(2063〜S2067)。なお、カウ
ンタT_LMTが所定値(N_LMT)未満のときには
所定の端点検出時間を経過していないので、そのままこ
のサブルーチンを抜ける(S2073)。
Here, in the case of low speed driving by PWM, PW
Since the value of the M duty ratio T_PWMBRK is initially small, it takes a long time until the counter T_LMT is incremented when the end point or the pseudo end point is reached.
In case of high speed driving by PWM, PWM duty ratio T_
Since the value of PWMBRK is large, the time until the counter T_LMT is incremented when the end point or the pseudo end point is reached is shorter than that at the PWM low speed. By the above process, the end point detection time becomes variable depending on the drive speed of the zoom motor (2063 to S2067). When the counter T_LMT is less than the predetermined value (N_LMT), the predetermined end point detection time has not elapsed, so this subroutine is exited (S2073).

【0292】カウンタT_LMTが所定値N_LMT以
上になると、端点または擬似端点とみなす。テレ方向駆
動のときには、ズームコードがテレ端値のときにはテレ
端フラグF_TENDを立て、テレ端でないときには何
らかの異常で停止したので疑似テレ端フラグF_LMT
Tを立てる(S2075〜S2081)。ワイド方向駆
動のときには、ズームコードがワイド端値のときにはワ
イド端フラグF_WENDを立て、テレ端でないときに
は何らかの異常で停止したので疑似ワイド端フラグF_
LMTWを立てる(S2075、S2083〜S208
7)。
When the counter T_LMT becomes equal to or more than the predetermined value N_LMT, it is regarded as an end point or a pseudo end point. When driving in the tele direction, when the zoom code is at the tele end value, the tele end flag F_TEND is set, and when not at the tele end, the operation is stopped due to some abnormality. Therefore, the pseudo tele end flag F_LMT is set.
T is set (S2075-S2081). When driving in the wide direction, the wide end flag F_WEND is set when the zoom code is at the wide end value, and when the zoom code is not at the tele end, it is stopped due to some abnormality.
Set up LMTW (S2075, S2083 to S208
7).

【0293】『SET−SET処理』図72〜図80に
示したSET−SETフローチャートは、ズームモータ
の駆動の回転方向およびスピード、停止、ブレーキを制
御するステータス(スピード制御ビット)等を設定す
る、パワーズームレンズ51側の処理である。本処理
は、図10に示される2ms割込みルーチンのS353の
詳細である。なお、ここのSET−SET処理には、図
72〜図80に示したMOV処理、INIT3割込み処
理、NO−MOVE、MOV1処理、BRK1、2処
理、STP1処理、MOV−TRG処理、DRV−TR
G8処理が含まれる。
[SET-SET Processing] The SET-SET flowchart shown in FIGS. 72 to 80 sets the rotation direction and speed of the zoom motor drive, the status (speed control bit) for controlling stop and brake, and the like. This is processing on the side of the power zoom lens 51. This process is a detail of S353 of the 2 ms interrupt routine shown in FIG. The SET-SET processing here includes the MOV processing, INIT3 interrupt processing, NO-MOVE, MOV1 processing, BRK1, 2 processing, STP1 processing, MOV-TRG processing, and DRV-TR shown in FIGS.
G8 processing is included.

【0294】先ず、電力要求フラグF BATREQを
セットし、ズームスピード切替スイッチ75の位置を所
定のコード(方向及びスピードを示すコード)に変換し
て変換値メモリTRNSSPDに入れる(S2101、
S2103)。指定位置への駆動(F_MOVTRG=
1)であればMOV_TRG処理へ進み、指定方向への
通常の駆動のとき(F_MOVがセットされていると
き)にはMOV処理へ進む(S2105、S210
7)。
First, the power request flag F BATREQ is set, the position of the zoom speed changeover switch 75 is converted into a predetermined code (code indicating direction and speed), and the converted value is stored in the conversion value memory TRNSSPD (S2101,
S2103). Drive to specified position (F_MOVTRG =
If it is 1), it proceeds to MOV_TRG processing, and if it is a normal drive in the designated direction (when F_MOV is set), it proceeds to MOV processing (S2105, S210).
7).

【0295】いずれの駆動でもなく、かつズーム操作環
が中立位置(ズームスイッチ75がオフ)にあり、かつ
像倍率一定ズームモードであればMOV−TARG処理
へ進み、像倍率一定ズームモードでなければNO−MO
V処理へ進む(S2109、S2115)。ズーム操作
環が中立位置にないときには、マニュアルパワーズーム
停止ビットがセット(F_MPZD=1)されていると
きにはNO−MOV処理へ進み、そうでないときにはマ
ニュアルパワーズームなので、ズームスイッチの状態を
変換したズームスピードデータをアドレスSPDDRC
1にメモリして、MOV処理に進む(S2109、S2
111、S2113)。
If the zoom operation ring is in the neutral position (zoom switch 75 is off) and the image magnification constant zoom mode is selected, the process proceeds to MOV-TARG processing, and if the image magnification constant zoom mode is not selected. NO-MO
The process proceeds to V processing (S2109, S2115). When the zoom operation ring is not in the neutral position, the process proceeds to NO-MOV processing when the manual power zoom stop bit is set (F_MPZD = 1), and when it is not the manual power zoom, the zoom speed converted from the zoom switch state is used. Address the data SPDDRC
The data is stored in memory 1 and the process proceeds to MOV processing (S2109, S2).
111, S2113).

【0296】以上の処理において、ボディがレリーズ処
理に入ったとき等に、通信コマンドBODY−ATAT
E1(22)にてフラグF_MPZDがセットされるの
で、レリーズ中のマニュアルパワーズーム動作を停止で
きる。また、パワーズームをストップさせる通信コマン
ドIPZ−STOP(35)が送られてくれば、各フラ
グF_MOVTRG、F_MOV、F ISZ等がクリ
アされるので、マニュアルパワーズーム以外のパワーズ
ーム動作も停止させることができる。
In the above processing, when the body enters the release processing, the communication command BODY-ATAT
Since the flag F_MPZD is set at E1 (22), the manual power zoom operation during release can be stopped. Further, if the communication command IPZ-STOP (35) for stopping the power zoom is sent, each flag F_MOVTRG, F_MOV, F Since ISZ and the like are cleared, power zoom operations other than the manual power zoom can also be stopped.

【0297】『MOV処理』次に、パワーズームモータ
の制御について、図73〜図75に示したMOVフロー
チャートを参照して説明する。この制御は、マニュアル
ズーム及び指定方向へのパワーズーム制御(フラグF_
MOVがセットされているとき)に関するボディパワー
レンズ51における処理である。先ず、テレ方向駆動を
示すフラグF TELE1がセットされているか否か
(即ち、駆動方向メモリSPDDRC1のbit0)を
チェックする(S2201)。
[MOV Processing] Next, control of the power zoom motor will be described with reference to the MOV flowcharts shown in FIGS. 73 to 75. This control includes manual zoom and power zoom control in the designated direction (flag F_
This is processing in the body power lens 51 regarding (when MOV is set). First, the flag F indicating the tele-direction drive It is checked whether TELE1 is set (that is, bit0 of the driving direction memory SPDDRC1) (S2201).

【0298】駆動方向がテレ方向であり、かつテレ端ま
たは疑似テレ端に達したときにはNO−MOV処理に進
む(S2201〜S2205)。初めての駆動(起動)
のときには、初期設定のための処理S2233に進む
(S2207)。そして、ズームモータ制御用メモリZ
M_BDSTにセットされた前回のズームモータ制御に
関するデータを参照し、前回も駆動していたが、前回と
駆動方向(ズームモータの回転方向)が変わるとき(F
DRCW=1)、またはボディ11からの電力供給が
オフされたときにはブレーキ処理(BRK1)に進む
(S2207〜S2211)。前回も同一方向駆動であ
り、かつ電力が供給されているときにはS2249のス
ピード設定処理に進む(S2207〜S2211)。
When the driving direction is the tele direction and the tele end or the pseudo tele end is reached, the process proceeds to NO-MOV processing (S2201 to S2205). First drive (startup)
In the case of, the process proceeds to the processing for initial setting S2233 (S2207). Then, the zoom motor control memory Z
When the drive direction (zoom motor rotation direction) changes from the previous time, although the previous drive was performed by referring to the data related to the previous zoom motor control set in M_BDST (F
DRCW = 1), or when the power supply from the body 11 is turned off, the process proceeds to a brake process (BRK1) (S2207 to S2211). When the same direction drive was performed last time and the power is supplied, the process proceeds to the speed setting process of S2249 (S2207 to S2211).

【0299】駆動方向がテレ方向でなく、ワイド端また
は疑似ワイド端に達していたとき(F WEND=1ま
たはF LMTW=1)にはNO−MOV処理に進む
(S2201、S2223、S2225)。ワイド端ま
たは疑似ワイド端に達していないが起動のときには、初
期設定のための処理S2233に進み、前回も駆動して
いたが、前回と駆動方向が変わるとき、またはボディか
らの電力供給がオフされたときにはブレーキ処理(BR
K1)に進み、前回も同一方向駆動であり、かつ電力が
供給されているときにはS2249のスピード設定処理
に進む(S2225〜S2231)。
When the driving direction is not the tele direction but reaches the wide end or the pseudo wide end (F WEND = 1 or F If LMTW = 1), the process proceeds to NO-MOV processing (S2201, S2223, S2225). If the drive has not reached the wide end or the pseudo wide end but has started, the process proceeds to step S2233 for initial setting, and the drive was continued the previous time, but when the drive direction changes from the previous time or the power supply from the body is turned off. Brake processing (BR
Then, the process proceeds to K1), and when the previous time is the same direction drive and the power is supplied, the process proceeds to the speed setting process of S2249 (S2225 to S2231).

【0300】起動時の初期設定処理は、電力が供給され
ていることを条件に実行し、電力が供給されていなけれ
ば停止処理(NO−MOV1)へ進む(S2233)。
電力が供給されているときには、PZモータのブレーキ
指示フラグF_BRKがセットされているとき(モータ
がブレーキ中のとき)にはブレーキカウンタT_BRK
を1インクリメントして、ブレーキカウンタT_BRK
が所定値(N_BRKREV)以下の場合はブレーキ処
理のためにブレーキ2(BRK2)処理に進む(S22
35〜S2239)。
The initial setting process at startup is executed on condition that the power is supplied, and if the power is not supplied, the process proceeds to the stop process (NO-MOV1) (S2233).
When power is supplied, the brake counter T_BRK is set when the brake instruction flag F_BRK of the PZ motor is set (when the motor is braking).
Is incremented by 1 and the brake counter T_BRK
If is equal to or less than the predetermined value (N_BRKREV), the process proceeds to the brake 2 (BRK2) process for the brake process (S22).
35-S2239).

【0301】ブレーキフラグF_BRKがクリアされて
いるか、セットされていてもブレーキタイマT_BRK
が所定値よりも大きいときにはブレーキ終了なので、起
動フラグF_STARTをセットし、リミットタイマT
_LMTおよびPWMタイマT_PWMをクリアし、起
動時に一定期間端点検出をしないようにするためのカウ
ンタの設定およびPWMデューティー比の初期値(最小
値)セットを行なう(S2235〜S2241)。つま
り、スタートフラグF_STARTをセットし、端点検
出カウンタT_LMTおよびPWMカウンタT_PWM
をクリアし、スタートカウンタT_STARTに初期値
を入れ、PWMのデューティー比T_PWMBRKに最
小値を入れる。PWMデューティー比T_PWMBRK
に最小値をセットすることにより、PWM時には最低速
で起動されることになる。
If the brake flag F_BRK is cleared or set, the brake timer T_BRK
Is greater than a predetermined value, the brake is finished, so the start flag F_START is set and the limit timer T
_LMT and PWM timer T_PWM are cleared, the counter is set so as not to detect the end point for a certain period at startup, and the initial value (minimum value) of the PWM duty ratio is set (S2235 to S2241). That is, the start flag F_START is set, the end point detection counter T_LMT and the PWM counter T_PWM are set.
Is cleared, an initial value is entered in the start counter T_START, and a minimum value is entered in the PWM duty ratio T_PWMBRK. PWM duty ratio T_PWMBRK
By setting the minimum value to, the PWM is started at the lowest speed.

【0302】設定が終了すると、PZパルサー69のL
EDをオンしてPZパルスカウント準備を行ない、PZ
パルスカウント割込み(INT3)が許可されていなけ
ればこれを許可してスピード設定処理(S2249)に
進む(S2243〜S2247)。
When the setting is completed, L of the PZ pulsar 69 is set.
Turn on ED and prepare for PZ pulse count
If the pulse count interrupt (INT3) is not permitted, it is permitted and the process proceeds to the speed setting process (S2249) (S2243 to S2247).

【0303】スピード設定処理では、設定されたスピー
ドに応じてPZパルス間隔(T_PWMPLSの値)を
設定する。本実施例では、設定したPZパルス周期でP
Zパルスが出力されるようにPWMにおける通電時間を
制御する構成であり、4速の設定が可能であるが、これ
に限定されない。なお、スピードの指定は、SPDDR
C1のbit2、3(F_SPDA1、F_SPDB
1)の2bitで指定される。4速については、PWM
制御ではなくDC制御のため、PZパルス間隔は設定し
ないで、端点検出用(図71のS2065)にPWMデ
ューティー比T_PWMBRKに最大値をセットする。
In the speed setting process, the PZ pulse interval (value of T_PWMPLS) is set according to the set speed. In this embodiment, P is set at the set PZ pulse period.
It is configured to control the energization time in PWM so that the Z pulse is output, and the fourth speed can be set, but the present invention is not limited to this. The speed is specified by SPDDR
C1, bit2, 3 (F_SPDA1, F_SPDB
It is specified by 2 bits of 1). For 4th speed, PWM
Since it is not the control but the DC control, the PZ pulse interval is not set, and the maximum value is set to the PWM duty ratio T_PWMBRK for end point detection (S2065 of FIG. 71).

【0304】スピード設定が終了したら、そのスピード
およびその方向(SPDDRC1)をズーム制御用メモ
リ(ZM_ST1)に入れ、PZモータのドライブ指示
フラグF_DRVをセットし、PZモータのブレーキ指
示フラグF_BRKをクリアする(S2251)。な
お、ZM_ST1のbit3〜0(フラグF SPD
1、 F SPDO、 F DRCW、 F DRCT)は、
(フラグF SPDB1、F SPDA1、F WID
E1、 F TELE1)にそれぞれ対応してセットされ
る。
When the speed setting is completed, the speed and its direction (SPDDRC1) are stored in the zoom control memory (ZM_ST1), the drive instruction flag F_DRV of the PZ motor is set, and the brake instruction flag F_BRK of the PZ motor is cleared ( S2251). Note that bits 3 to 0 of ZM_ST1 (flag F SPD
1, F SPDO, F DRCW, F DRCT) is
(Flag F SPDB1, F SPDA1, F WID
E1, F It is set corresponding to each of TELE1).

【0305】さらに、テレ端疑似フラグF_LIMT
T、ワイド端疑似フラグF LIMTWをクリアし、P
Zがテレ方向に駆動している時にセットされるフラグF
_TMOV、PZがワイド方向に駆動している時にセッ
トされるフラグF_WMOV、テレ方向駆動を示すフラ
グF_TELE1、ワイド方向駆動を示すフラグF_W
IDE1を全てセットし、テレ端フラグF_TEND及
びワイド端フラグF_WENDを共にクリアする(S2
253〜S2257)。なお、フラグF_TMOV、F
_WMOV、F_TENDおよびF_WENDは、PZ
−LSTデータのフラグであり、フラグF_TMOV、
F_WMOVは、SPDDRC1のフラグF_TELE
1、F_WIDE1とそれぞれ対応してセットされる。
なお、フラグF_TMOV、F_WMOVは、いずれか
一方がセット(=1)されているときには他方はクリア
(=0)される。
Further, a tele end pseudo flag F_LIMT
T, wide end pseudo flag F Clear LIMW, P
Flag F that is set when Z is driving in the tele direction
_TMOV, flag F_WMOV set when PZ is driven in the wide direction, flag F_TELE1 indicating the tele direction drive, flag F_W indicating the wide direction drive
All IDE1 are set, and both the tele end flag F_TEND and the wide end flag F_WEND are cleared (S2).
253-S2257). The flags F_TMOV, F
_WMOV, F_TEND and F_WEND are PZ
-A flag of LST data, a flag F_TMOV,
F_WMOV is the flag F_TELE of SPDDRC1.
1 and F_WIDE1 are set respectively.
When either one of the flags F_TMOV and F_WMOV is set (= 1), the other is cleared (= 0).

【0306】そして、像倍率一定ズーム中であれば像倍
率一定ズーム中に割込んでマニュアルパワーズームとな
ったので、レンズのPZ状態に関するメモリデータ(P
Z_LST)に所定の上記フラグF_TMOV、F_W
MOV、F_TENDおよびF_WENDなどをセット
して終了する(S2259、S2267)。像倍率一定
ズーム中でない場合で、ズームスイッチ操作によるパワ
ーズーム(マニュアルパワーズーム)であれば、マニュ
アルパワーズームが駆動中である事を示すフラグF_M
PZを含むデータをズーム状態データ(PZ−LST)
に入れ、制御パワーズーム(指定方向へのズーム)であ
れば、制御パワーズームに関するフラグF_IPZBを
含むデータをズーム状態データ(PZ−LST)に入れ
てSET−ST処理を終了する(S2261〜S226
5)。なお、PZ_LSTデータの内容は、コマンドP
Z−LSTATE(10)に関する通信でカメラボディ
11に送られる。
If the image magnification is constant zoom, the manual power zoom is performed by interrupting the image magnification constant zoom. Therefore, the memory data (P
Z_LST) with the above predetermined flags F_TMOV, F_W
MOV, F_TEND, F_WEND, etc. are set and the process ends (S2259, S2267). If the power zoom is performed by operating the zoom switch (manual power zoom) when the constant image magnification zoom is not being performed, the flag F_M indicating that the manual power zoom is being driven
Data including PZ is zoom state data (PZ-LST)
If it is the control power zoom (zoom in the designated direction), the data including the flag F_IPZB related to the control power zoom is put in the zoom state data (PZ-LST), and the SET-ST processing is ended (S2261 to S226).
5). The content of the PZ_LST data is the command P
It is sent to the camera body 11 by communication regarding Z-LSTATE (10).

【0307】『INT3割込み許可』図76は、PZパ
ルスカウントのための割込み許可処理である。本実施例
では、PZパルスは、2msタイマー割込みによりソフト
的にカウントしている。そこでこの処理では、PZパル
スによるカウンタ割込みを可能にすべく、INIT割込
み許可ビットをセットする。なお本処理は、図74のS
2247及び図82のS2457の詳細である。
[INT3 Interrupt Enable] FIG. 76 shows an interrupt enable process for PZ pulse counting. In this embodiment, the PZ pulse is counted by software with a 2 ms timer interrupt. Therefore, in this processing, the INIT interrupt enable bit is set to enable the counter interrupt by the PZ pulse. Note that this processing is S in FIG.
2247 and the details of S2457 in FIG. 82.

【0308】『NO−MOV、NO−MOV1処理』図
77に示したNO−MOV、NO−MOV1処理は、パ
ワーズームを停止またはブレーキに移行させるための処
理である。パワーズーム駆動中(フラグF_DRVがセ
ットされているとき)に入ると、BRK1処理に進み、
パワーズーム駆動中でなく、ブレーキ中でないとき(フ
ラグF_BRKがクリア)には停止処理(STP1)に
進み、ブレーキ中のときにはブレーキカウンタをインク
リメントし、その値が所定値(N_BRK)以上になれ
ばストップ処理(STP1)を行ない、所定値より小さ
いときにはブレーキ処理を継続するためにブレーキ2
(BRK2)処理に進む(S2301〜S2307)。
なお、NO−MOV1処理にはパワーズーム駆動中でな
いときに入るので、S2301を飛ばしてS2303か
ら入る。
"NO-MOV, NO-MOV1 Process" The NO-MOV, NO-MOV1 process shown in FIG. 77 is a process for stopping the power zoom or shifting to the brake. When the power zoom drive is in progress (when the flag F_DRV is set), the process proceeds to BRK1 processing,
If the power zoom drive is not in progress and the brake is not in progress (the flag F_BRK is clear), the process proceeds to a stop process (STP1), while the brake is in progress, the brake counter is incremented, and if the value exceeds a predetermined value (N_BRK), the stop is performed. The process (STP1) is performed, and when it is smaller than the predetermined value, the brake 2 is used to continue the brake process.
The process proceeds to (BRK2) processing (S2301 to S2307).
Since the NO-MOV1 process is started when the power zoom drive is not being performed, S2301 is skipped and the process is started from S2303.

【0309】『BRK1、2処理』図78のブレーキ処
理(BRK1)では、ブレーキタイマT_BRKをクリ
アし、PZモータのテレ方向駆動を示すフラグF DR
CT、PZモータのワイド方向駆動を示すフラグF
RCW、PZモータ駆動スピード第1指示フラグF SP
D0、PZモータ駆動スピード指示第2フラグF SP
D1および駆動フラグF DRVをクリアし、ブレーキ
フラグF_BRKをセットする(S2311、S231
3)。BRK2には2回目以降に入るので、S2313
の処理のみを行なう。以上の処理を行なった後SET−
ST処理を終了する。
"BRK1, 2 processing" Brake processing in FIG.
(BRK1), the brake timer T_BRK is cleared.
The flag F indicating the tele-direction drive of the PZ motor DR
Flag F indicating wide drive of CT and PZ motors D
RCW, PZ motor drive speed first instruction flag F SP
D0, PZ motor drive speed instruction second flag F SP
D1 and drive flag F Clear DRV and brake
Set the flag F_BRK (S2311, S231)
3). Since it enters the BRK2 from the second time onwards, S2313
Process only. After performing the above processing, SET-
The ST process ends.

【0310】『STP1処理』図79に示したSTP1
フローチャートは、パワーズームを停止させるための設
定を行なう処理である。先ず、PZパルスカウント割込
みを禁止し、PZパルサー69のLEDをオフする(S
2321、S2323)。
[STP1 processing] STP1 shown in FIG.
The flowchart is a process of setting for stopping the power zoom. First, the PZ pulse count interrupt is prohibited, and the LED of the PZ pulser 69 is turned off (S
2321, S2323).

【0311】ズームスイッチ75が中立位置にあるとき
にはZM_ST1データをクリア(フラグをすべてクリ
ア)して、バッテリ要求を解除してS2349に進む
(S2327、S2337、S2347)。なお、ズー
ムスイッチ75が中立に戻ったときには、擬似端点フラ
グ(F_LMTT、F_LMTW)をクリアするので、
前回擬似端点がセットされていた方向にも再びズーミン
グ動作を行なわせることができる。
When the zoom switch 75 is in the neutral position, the ZM_ST1 data is cleared (all flags are cleared), the battery request is canceled, and the process proceeds to S2349 (S2327, S2337, S2347). When the zoom switch 75 returns to neutral, the pseudo end point flags (F_LMTT, F_LMTW) are cleared, so
The zooming operation can be performed again in the direction in which the pseudo end point was previously set.

【0312】ズームスイッチ75が中立位置でなく、テ
レ方向にオンしているときには、ZM_ST1データ中
のフラグF_LMTT、F_LMTWはそのままにして
他のフラグをすべてクリアする(S2329、S233
1)。テレ端または疑似テレ端であればバッテリ要求を
解除してS2349に進むが、テレ端でも疑似テレ端で
もなければバッテリ要求を解除せずにS2349に進む
(S2333、S2335)。ズームモータ65がワイ
ド方向に回転しているときには、ZM_ST1データ中
のフラグF_LMTT、F_LMTWをそのままにして
他のフラグをクリアする(S2329、S2341)。
ワイド端または疑似ワイド端であればバッテリ要求を解
除してS2349に進むが、テレ端でも疑似テレ端でも
なければバッテリ要求を解除せずにS2349に進む
(S2343、S2345)。
When the zoom switch 75 is not in the neutral position but is turned on in the tele direction, the flags F_LMTT and F_LMTW in the ZM_ST1 data are left as they are and all other flags are cleared (S2329, S233).
1). If it is the tele end or the pseudo tele end, the battery request is released and the process proceeds to S2349, but if it is neither the tele end nor the pseudo tele end, the battery request is not released and the process proceeds to S2349 (S2333, S2335). When the zoom motor 65 is rotating in the wide direction, the flags F_LMTT and F_LMTW in the ZM_ST1 data are left as they are and other flags are cleared (S2329, S2341).
If it is the wide end or the pseudo wide end, the battery request is released and the process proceeds to S2349, but if it is neither the tele end nor the pseudo tele end, the battery request is not released and the process proceeds to S2349 (S2343, S2345).

【0313】S2349では、像倍率一定ズーム中であ
るかどうかをチェックし、S2351では像倍率一定ズ
ーム演算終了であるかどうかをチェックする。像倍率一
定ズーム中かつ演算が終了していないときには、PZ_
LSTデータ中のフラグF_TEND、F_WEND、
F_IPZB、F_ISOKをそのままにして、他のフ
ラグF_TMOV、F_WMOV、F_IPZI、F_
MPZをクリアする(S2353)。像倍率一定ズーム
中でないとき、または像倍率一定ズーム中でも演算が終
了しているときは、PZ_LSTデータ中のフラグF_
TEND、F_WENDをそのままにして他のフラグを
クリアする(S2355)。なお、PZ_LSTデータ
の内容は、コマンドPZ−LSTATE(10)の通信
でカメラボディ11に送られる。
In S2349, it is checked whether or not the constant image magnification zoom is in progress, and in S2351, it is checked whether or not the constant image magnification zoom calculation is completed. When the zoom is performed at a constant image magnification and the calculation is not completed, PZ_
Flags F_TEND, F_WEND in LST data,
F_IPZB and F_ISOK are left unchanged, and other flags F_TMOV, F_WMOV, F_IPZI and F_
The MPZ is cleared (S2353). When the constant image magnification zoom is not being performed, or when the calculation has been completed even during the constant image magnification zoom, the flag F_ in the PZ_LST data is
Other flags are cleared while leaving TEND and F_WEND as they are (S2355). The contents of the PZ_LST data are sent to the camera body 11 by communication of the command PZ-LSTATE (10).

【0314】なお、フラグF PZPDRCは、ZM_
ST1データにおけるフラグF DRCW、F DRC
Tと同一の機能を有するものであり、F PZPDRC
=1のときは、ワイド方向駆動を意味する。
The flag F PZPDRC is ZM_
Flag F in ST1 data DRCW, F DRC
It has the same function as T, and F PZPDRC
When = 1, it means the driving in the wide direction.

【0315】そして、ZM−ST2に、ZM−ST2の
データと所定のデータとの論理和をストアして、スター
トフラグF START、像倍率一定ズームフラグF
ISZ、指定方向駆動フラグF MOVTRG、指定位
置駆動フラグF MOVPLS、F MOVZC等をク
リアしてSET−ST処理を終了する(S2357)。
つまり、ZM−ST2データ中のフラグF_PZPO
S、F_PZDRCをそのままにして他のフラグをクリ
アする。なお、フラグF PZDRCは、ZM−ST1
データにおけるフラグF DRCW、 F DRCTと同
一の機能を有するものであり、フラグF PZDRC=
1のときには、ワイド方向駆動を意味する。
Then, the logical sum of the data of ZM-ST2 and the predetermined data is stored in ZM-ST2, and the start flag F is stored. START, constant image magnification zoom flag F
ISZ, designated direction drive flag F MOVTRG, designated position drive flag F MOVPLS, F MOVZC and the like are cleared and the SET-ST processing is ended (S2357).
That is, the flag F_PZPO in the ZM-ST2 data
Other flags are cleared while leaving S and F_PZDRC as they are. The flag F PZDRC is ZM-ST1
Flag F in data DRCW, F It has the same function as DRCT and has flag F PZDRC =
A value of 1 means drive in the wide direction.

【0316】『MOV−TRG』図81に示したフロー
チャートは、指定した位置までズーミングレンズを駆動
するMOV−TRG処理である。先ず、目標PZパルス
数が現在のPZパルスよりも大きいかどうかをチェック
する(S2401)。大きければテレ方向駆動であり、
小さければワイド方向駆動である。
[MOV-TRG] The flowchart shown in FIG. 81 is the MOV-TRG processing for driving the zooming lens to the designated position. First, it is checked whether the target PZ pulse number is larger than the current PZ pulse (S2401). If it is large, it is a tele-direction drive,
If it is small, it is driven in the wide direction.

【0317】テレ方向駆動のときには、目標パルス数
(PZPTRGT)を現在のパルス数(PZPX)から
減算してその差を駆動パルス数としてメモリ(PZPD
IF)する(S2403)。目標パルス数と現在のパル
ス数とが等しければ駆動する必要がないのでNO−MO
V処理に進む(S2405)。等しくなければ、モータ
駆動方向をテレ方向に仮セットし、テレ端か疑似テレ端
であればNO−MOV処理に進む(S2407〜S24
11)。テレ端でも疑似テレ端でもなく、駆動中での場
合には、ワイド方向フラグF_DRCWが立っている
か、バッテリがオフであればBRK1処理に進む(S2
413〜S2417)。同方向駆動であり、かつバッテ
リが供給されているときにはDRV−TRG8処理に進
む(S2413〜S2417)。駆動中でない場合はS
2441へ進む。
When driving in the tele direction, the target pulse number (PZPTRGT) is subtracted from the current pulse number (PZPX) and the difference is used as the drive pulse number in the memory (PZPD).
IF) (S2403). If the target number of pulses and the current number of pulses are equal, it is not necessary to drive, so NO-MO
The process proceeds to V processing (S2405). If they are not equal, the motor drive direction is provisionally set to the tele direction, and if it is the tele end or the pseudo tele end, the process proceeds to NO-MOV processing (S2407 to S24).
11). If the wide direction flag F_DRCW is set or the battery is off when driving is in progress neither at the telephoto end nor the pseudo telephoto end, the process proceeds to BRK1 processing (S2).
413-S2417). When driving in the same direction and the battery is supplied, the process proceeds to the DRV-TRG8 processing (S2413 to S2417). S if not driving
Proceed to 2441.

【0318】ワイド方向のときには、目標パルス数(P
ZPTRGR)を現在のパルス数(PZPX)から減算
してその差を駆動パルス数としてメモリ(PZPDI
F)する(S2423)。そして、ズームモータ駆動方
向をワイド方向に仮セットし、ワイド端か疑似ワイド端
であればNO−MOV処理に進む(S2427〜S24
31)。
In the wide direction, the target pulse number (P
ZPTRGR) is subtracted from the current pulse number (PZPX) and the difference is used as the drive pulse number in the memory (PZPDI).
F) (S2423). Then, the driving direction of the zoom motor is provisionally set to the wide direction, and if it is the wide end or the pseudo wide end, the process proceeds to NO-MOV processing (S2427 to S24).
31).

【0319】ワイド端でも疑似ワイド端でもなく、駆動
中での場合には、テレ方向フラグF_DRCTが立って
いるか、バッテリがオフであればBRK1処理に進む
(S2433〜S2437)。同方向駆動であり、かつ
バッテリが供給されているときにはDRV−TRG8処
理に進む(S2433〜S2437)。駆動中でない場
合は2441へ進む。
If the tele direction flag F_DRCT is set or the battery is off when driving is in progress neither at the wide end nor at the pseudo wide end, the process proceeds to BRK1 processing (S2433 to S2437). When driving in the same direction and the battery is supplied, the process proceeds to the DRV-TRG8 processing (S2433 to S2437). If it is not driving, proceed to 2441.

【0320】本制御方法では、目標のPZパルスと現在
のPZパルスが等しくなったときに駆動からブレーキ処
理に移るので、パルスの行き過ぎがあり得る。しかし、
1パルスの行き過ぎはほとんど問題にならないので、誤
差パルスPZPDIFが1のとき、または誤差パルスP
ZPDIFが1でなくても電力がオフされているときに
はNO−MOV1処理に進む(S2441〜S244
3)。
In the present control method, when the target PZ pulse and the current PZ pulse become equal, the drive shifts to the braking process, so there is a possibility of pulse overshoot. But,
Since the excess of one pulse hardly causes a problem, when the error pulse PZPDIF is 1 or the error pulse P
Even when ZPDIF is not 1, when the power is off, the process proceeds to NO-MOV1 processing (S2441 to S244).
3).

【0321】誤差パルスPZPDIFが1でなくかつ電
力が供給されている場合には、ブレーキフラグF_BR
KがセットされていればブレーキカウンタT_BRKを
1インクリメントし、ブレーキカウンタT_BRKが所
定値よりも小さいときにはブレーキ処理(BRK2)に
進む(S2443〜S2449)。
When the error pulse PZPDIF is not 1 and power is supplied, the brake flag F_BR
If K is set, the brake counter T_BRK is incremented by 1, and when the brake counter T_BRK is smaller than a predetermined value, the process proceeds to the brake process (BRK2) (S2443 to S2449).

【0322】ブレーキフラグF_BRKがクリアされて
いるか、セットされていてもブレーキカウンタT_BR
Kが所定値よりも大きいときにはブレーキ処理終了なの
で、起動フラグF_STARTをセットし、リミットタ
イマおよびPWMタイマをクリアし、起動時に一定期間
端点検出をしないようにするためのカウンタ設定および
PWMデューティー比の初期値(最小値)セットを行な
う(S2451)。つまり、スタートフラグF_STA
RTをセットし、端点検出カウンタT_LMTおよびP
WMカウンタT_PWMをクリアし、スタートカウンタ
T_STARTに初期値を入れ、PWMデューティー比
T_PWMBRKに最小値を入れる。
If the brake flag F_BRK is cleared or set, the brake counter T_BR
When K is larger than a predetermined value, the braking process is completed. Therefore, the start flag F_START is set, the limit timer and the PWM timer are cleared, and the counter setting for not detecting the end point for a certain period at the start and the initial PWM duty ratio are set. A value (minimum value) is set (S2451). That is, the start flag F_STA
RT is set, and end point detection counters T_LMT and P
The WM counter T_PWM is cleared, the start counter T_START is set to the initial value, and the PWM duty ratio T_PWMBRK is set to the minimum value.

【0323】設定が終了すると、PZパルサー69のL
EDをオンしてPZパルスカウント準備を行ない、PZ
パルス割込みが許可されていなければこれを許可してか
らDRV−TRG8処理に進む(S2453〜S245
7)。
When the setting is completed, L of the PZ pulsar 69 is set.
Turn on ED and prepare for PZ pulse count
If the pulse interrupt is not permitted, permit it and then proceed to the DRV-TRG8 processing (S2453 to S245).
7).

【0324】『DRV−TRG8処理』図83および図
84に示したDRV−TRG8処理は、目標焦点距離ま
での駆動PZパルス数に応じてズームスピードを制御す
る処理であり、目標位置までのパルス数(PZPDI
F)に応じて段階的に速度を変更している。本実施例で
は、目標までの駆動パルス数が第3パルス数以上であれ
ば最高速の第4速で駆動(DC駆動)し、第3パルス数
未満第2パルス以上であれば第3速で駆動し、第2パル
ス数未満第1パルス以上であれば第2速で駆動し、第1
パルス数未満であれば第1速で駆動する。なお、第4速
>第3速>第2速>第1速、および、第3パルス数>第
2パルス数>第1パルス数とする。また、本実施例では
4速可変としてあるが、可変速度の段数はこれ以上でも
以下でもよく、また無段階に近い程度に段階を多くして
もよい。
[DRV-TRG8 Processing] The DRV-TRG8 processing shown in FIGS. 83 and 84 is processing for controlling the zoom speed according to the number of drive PZ pulses up to the target focal length, and the number of pulses up to the target position. (PZPDI
The speed is changed stepwise according to F). In the present embodiment, if the number of drive pulses up to the target is the third pulse number or more, the drive is performed at the highest speed of the fourth speed (DC drive), and if less than the third pulse number and the second pulse or more, the third speed is used. If the number of pulses is less than the second pulse number and is greater than or equal to the first pulse number, it is driven at the second speed,
If it is less than the number of pulses, it is driven at the first speed. The fourth speed> third speed> second speed> first speed, and third pulse number> second pulse number> first pulse number. Further, in the present embodiment, the fourth speed is variable, but the number of stages of the variable speed may be more or less than this, and the number of stages may be increased to a level close to stepless.

【0325】先ず、設定されたズームスピードに応じ
て、スピード選択処理に進む(S2501)。つまり、
第1速が設定されているときにはS2503に進み、第
2速が設定されているときにはS2511に進み、第3
速が設定されているときにはS2521に進み、第4速
が選択されているときにはS2541に進む。なお、ス
ピードの選択は、SPDDRC2のbit2、3(即
ち、フラグF MOVTRGがセットされている時、換
言すれば、目標焦点距離までのズーミングを実行する際
の速度を指示するフラグF_SPDA2及びF_SPD
B2)の値に基づいて行なう。尚、その速度は、フラグ
F_SPDA2及びF_SPDB2のセット/クリアの
組み合わせにより、以下の様に設定されている。 F SPDB2 F SPDA2 クリア クリア …4速 クリア セット …3速 セット クリア …2速 セット セット …1速 ここで、SPDDRC2は、目標位置が設定されている
場合に利用され、ズームレンズ駆動開始時のズーム方
向、およびメインCPU35あるいはレンズCPU61
によって自動設定されるズームスピードが格納されるも
のである。
First, the process proceeds to speed selection processing according to the set zoom speed (S2501). That is,
When the first speed is set, the process proceeds to S2503, when the second speed is set, the process proceeds to S2511, and the third speed is set.
When the speed is set, the flow proceeds to S2521, and when the fourth speed is selected, the flow proceeds to S2541. Note that the speed selection is bit 2, 3 (that is, flag F of SPDDRC2). When MOVTRG is set, in other words, flags F_SPDA2 and F_SPD that indicate the speed at which zooming to the target focal length is performed.
Based on the value of B2). The speed is set as follows by the combination of setting / clearing the flags F_SPDA2 and F_SPDB2. F SPDB2 F SPDA2 clear clear 4th speed clear set 3rd speed set clear 2nd speed set set 1st speed SPDDRC2 is used when the target position is set, and the zoom direction when the zoom lens drive starts and the main CPU35 or lens CPU61
The zoom speed automatically set by is stored.

【0326】第1速が設定されているときには、スピー
ドおよび駆動方向(ZM−ST1の値)に変化がないか
どうかをチェックし、変化があればPWMブレーキタイ
マ(PWMデューティー比)に第1速の基準値N_PW
MMI0をセットし、変化がなければなにもせずに、T
−PWMPLSに第1速のPZパルスの周期N_PWM
P0をセットし、R_INTと所定データとの論理和を
ZM−ST1に入れる(スピード及び方向セット)(S
2503〜S2509)。これにより、最低速が設定さ
れる。そして、PZ−LSTデータと所定データの論理
積をとり、さらにこの論理積とR_INTデータとの論
理和をPZ−LSTデータに入れてこのSET−ST処
理を終了する(S2551)。
When the first speed is set, it is checked whether or not the speed and the driving direction (the value of ZM-ST1) are changed, and if there is a change, the PWM brake timer (PWM duty ratio) is set to the first speed. Reference value N_PW
Set MMI0 and do nothing if there is no change, T
-The PWMPLS has a period N_PWM of the first-speed PZ pulse.
P0 is set, and the logical sum of R_INT and predetermined data is put into ZM-ST1 (speed and direction set) (S
2503 to S2509). This sets the lowest speed. Then, the logical product of the PZ-LST data and the predetermined data is calculated, and the logical sum of this logical product and the R_INT data is put into the PZ-LST data, and this SET-ST process is ended (S2551).

【0327】第2速が設定されているときには、目標ま
でのパルス数(PZPDIF)が第1のパルス数以上か
どうかをチェックし、小さければ、DRVPWM0(1
速のS2503)に進む。以上であればS2513に進
み、第2速で制御するために、スピード及び方向(ZM
−ST1の値)に変化がないかどうかをチェックし、変
化があればPWMブレーキタイマ(PWMデューティー
比)に第2速の基準値N_PWMMI1をセットし、変
化がなければなにもせずに、T−PWMPLSに第2速
のPZパルスの周期N_PWMP1をセットし、R_I
NTデータと所定データとの論理和をZM−ST1に入
れてS2551に進む(S2503〜S2509)。以
上の処理により、第2速がセットされる。
When the second speed is set, it is checked whether the pulse number to the target (PZPDIF) is equal to or more than the first pulse number. If it is smaller, DRVPWM0 (1
Proceed to S2503). If so, the process proceeds to step S2513, and the speed and direction (ZM
-ST1 value) is checked, and if there is a change, the second speed reference value N_PWMMI1 is set in the PWM brake timer (PWM duty ratio), and if there is no change, T -Set the second speed PZ pulse cycle N_PWMP1 to PWMPLS and set R_I
The logical sum of the NT data and the predetermined data is put into ZM-ST1 and the process proceeds to S2551 (S2503 to S2509). By the above processing, the second speed is set.

【0328】第3速が設定されているときには、目標ま
でのパルス数(PZPDIF)が第1のパルス数未満で
あればS2503の第1速処理(DRVPWM0)に進
み、第1のパルス数以上第2のパルス数未満であれば第
2速処理DRVPWM1に進む(S2521、S252
3)。そして、第2のパルス以上であれば、第3速で制
御するために、スピード及び方向(ZM−ST1の値)
に変化がないかどうかをチェックし、変化があればPW
Mブレーキタイマ(PWMデューティー比)に第3速の
基準値N_PWMMI2をセットし、変化がなければな
にもせずに、T_PWMPLSに第3速のPZパルスの
周期N_PWMP2をセットし、R_INTデータと所
定データとの論理和をZM−ST1に入れてS2551
に進む(S2523〜S2531)。以上の処理によ
り、第3速がセットされる。
When the third speed is set and the number of pulses to the target (PZPDIF) is less than the first number of pulses, the process proceeds to the first speed process (DRVPWM0) of S2503, where the number of pulses is equal to or more than the first number of pulses. If the number of pulses is less than 2, the process proceeds to the second speed processing DRVPWM1 (S2521, S252).
3). If the second pulse or more, the speed and direction (value of ZM-ST1) for controlling at the third speed
Check if there is any change, and if there is a change, PW
The M brake timer (PWM duty ratio) is set to the third speed reference value N_PWMMI2, and if there is no change, T_PWMPLS is set to the third speed PZ pulse cycle N_PWMP2 to set the R_INT data and the predetermined data. Put the logical sum of and into ZM-ST1 and S2551.
(S2523-S2531). By the above processing, the third speed is set.

【0329】第4速が設定されているときには、目標ま
でのパルス数(PZPDIF)が第1のパルス数以上か
どうかをチェックし、第1のパルス数未満であればS2
503の第1速処理(DRVPWM0)に進み、第1の
パルス数以上第2のパルス数未満がどうかをチェックし
この間の値であればDRVPWM1に進み、第2のパル
ス以上第3のパルス数未満であるかをチェックし、第2
のパルス以上第3のパルス数未満であればDRVPWM
2に進み、第3のパルス数以上であれば、PWMブレー
キタイマ(PWMデューティー比)に最大値N_PWM
MAXをセットし、ZM−ST1にR_INTデータと
所定データとの論理和を入れて、S2551に進む(S
2547、S2549)。これにより、第4速(DC駆
動)が設定される。
When the fourth speed is set, it is checked whether the pulse number to the target (PZPDIF) is equal to or more than the first pulse number, and if it is less than the first pulse number, S2
Proceeding to the first speed process (DRVPWM0) of 503, it is checked whether the number of pulses is equal to or more than the first pulse number and less than the second pulse number. Second, check if
If the number of pulses is greater than or equal to the number of pulses and less than the third number of pulses, then DRVPWM
If the number of pulses is greater than or equal to the third pulse number, the PWM brake timer (PWM duty ratio) is set to the maximum value N_PWM.
MAX is set, the logical sum of R_INT data and predetermined data is input to ZM-ST1, and the process proceeds to S2551 (S2551).
2547, S2549). As a result, the fourth speed (DC drive) is set.

【0330】『PZP−CNT処理』図85から図89
に示したPZP−CNTフローチャートは、PZパルス
カウントに関する処理である。本処理は、図10の2ms
タイマ割込みルーチンのS355の詳細である。
"PZP-CNT processing" FIGS. 85 to 89
The PZP-CNT flow chart shown in FIG. 3 is a process relating to PZ pulse count. This process is 2ms in FIG.
It is the details of S355 of the timer interrupt routine.

【0331】ズーミングレンズ群53Zがワイド端にあ
る場合に、PZパルスを補正するとき(即ち、PZP補
正禁止フラグF_PZPADJ=0のとき)には、現在
のPZパルス値およびPZパルスカウントスタート値を
0にリセットし、現在位置がわかっているかどうかのフ
ラグF PZPOSが立っていればPZP−CNT5処
理に進み、同現在位置フラグがクリアされていればパワ
ーズームのイニシャライズ(PZ−INIT)処理に進
む(S2601〜S2605、S2615)。補正しな
いときには、現在位置が分かっているとき(F PZP
OS=1のとき)は現在位置OK(POS−OK)処理
に進み、現在位置が分かっていないとき((F PZP
OS=0のとき)には現在位置不明(POS−NG)処
理に進む(S2603、S2607)。
When the PZ pulse is corrected when the zooming lens group 53Z is at the wide end (that is, when the PZP correction inhibition flag F_PZPADJ = 0), the current PZ pulse value and PZ pulse count start value are set to 0. To F, and flag F indicating whether the current position is known If PZPOS is set, the process proceeds to PZP-CNT5 processing, and if the current position flag is cleared, the process proceeds to power zoom initialization (PZ-INIT) processing (S2601 to S2605, S2615). When not correcting, when the current position is known (F PZP
When OS = 1), the process proceeds to the current position OK (POS-OK) process, and when the current position is unknown ((F PZP
When OS = 0), the process proceeds to the current position unknown (POS-NG) process (S2603, S2607).

【0332】ズーミングレンズがテレ端にある場合も同
様に、PZパルスを補正するときには、現在のPZパル
ス値およびPZパルスカウントスタート値を最大値(N
_PZPMAX)にセットし、現在位置がわかっている
かどうかのフラグが立っていればPZP−CNT5処理
に進み、現在位置がわかっているかどうかのフラグがク
リアされていればPZイニシャライズ(PZ−INI
T)処理に進む(S2609、S2611、S261
3)。補正しないときには、現在位置が分かっていると
き(フラグが立っているとき)は現在位置OK(POS
−OK)処理に進み、現在位置が分かっていないときに
は現在位置不明(POS−NG)処理に進む(S261
1、S2607)。以上のように、ズーミングレンズ群
53Zがワイド端(F_WEND=1)、あるいはテレ
端(F_TEND=1)にあるときは、所定の値でPZ
パルスの補正を行なう。なお、F_PZPADJはテス
ト用のフラグでF_PZPADJ=1のときは補正が行
なわれない。
Similarly, when the zoom lens is at the tele end, when the PZ pulse is corrected, the current PZ pulse value and PZ pulse count start value are set to the maximum value (N
_PZPMAX), if the flag indicating whether the current position is known is set, the process proceeds to PZP-CNT5 processing, and if the flag indicating whether the current position is known is cleared, PZ initialization (PZ-INI) is performed.
T) Proceed to processing (S2609, S2611, S261)
3). If not corrected, the current position is OK (POS) when the current position is known (when the flag is set).
-OK) processing, and if the current position is not known, the current position is unknown (POS-NG) processing (S261).
1, S2607). As described above, when the zooming lens group 53Z is at the wide end (F_WEND = 1) or the tele end (F_TEND = 1), PZ is set to a predetermined value.
Correct the pulse. Note that F_PZPADJ is a test flag, and when F_PZPADJ = 1, no correction is performed.

【0333】テレ端でもワイド端でもないときには、現
在位置が分かってれば現在位置OK(POS−OK)処
理に進み、現在位置が分かっていないときには現在位置
不明(POS−NG)処理に進む(S2601、S26
11、S2607)。
When it is neither the tele end nor the wide end, the process proceeds to the current position OK (POS-OK) process if the current position is known, and proceeds to the current position unknown (POS-NG) process if the current position is not known ( S2601, S26
11, S2607).

【0334】『POS−NG、PZ−INIT処理』図
86および図87に示したPOS−NG、PZ−INI
T処理は、現在位置が不明のとき、あるいはテレ端また
はワイド端に達したときの処理である。POS−NG、
PZ−INIT処理は、ズーミングレンズの現在位置が
不明の時の処理であるが、通常、現在位置が不明のと
き、例えばカメラボディのメインスイッチがオンされた
とき、あるいは手動ズームから電動ズームにスイッチが
切り替わったときは、カメラボディよりパワーズームの
イニシャライズコマンドPZ−INITPOS(32)
が通信により送られて来た場合も実行される。
[POS-NG, PZ-INIT Processing] POS-NG, PZ-INI shown in FIGS. 86 and 87.
The T process is a process when the current position is unknown, or when the tele end or the wide end is reached. POS-NG,
The PZ-INIT processing is processing when the current position of the zooming lens is unknown, but normally when the current position is unknown, for example, when the main switch of the camera body is turned on, or manual zoom is switched to electric zoom. Switch to the power zoom initialization command PZ-INITPOS (32) from the camera body.
Is also executed when is sent by communication.

【0335】本実施例では、PZ−INITPOSコマ
ンドが送られてきた場合、ズーミングレンズ群53Zを
最低速でテレ側へ動かして、ズームコード板71の最初
の区分点72あるいはテレ端を検出し、その位置の絶対
PZパルス数をテーブルデータから読出して所定のアド
レス(PZPX、PZPSTRT)にメモりすることに
より、ズーミングレンズ群53Zの現在位置を知るもの
である。なお、本実施例では現在位置を検出した後に、
ズーミングレンズ群53Zを移動前の元の位置まで戻す
という動作を行っている。これはPZ_INITPOS
コマンドが送られてきたときに、あるカウンタ(PZP
AZB)をクリア(0に)しておき、ズームコード板の
最初の区分点あるいはテレ端までのPZパルスをカウン
トし、その位置より(現在位置を検出したら)そのカウ
ント分だけ、ズーミングレンズを戻すということで実現
している。このズーミングレンズを戻すための動作はP
Z−INIT処理(特にS2637〜S2649)で行
っている。
In this embodiment, when the PZ-INITPOS command is sent, the zooming lens group 53Z is moved to the tele side at the lowest speed to detect the first division point 72 of the zoom code plate 71 or the tele end. The current position of the zooming lens group 53Z is known by reading the absolute PZ pulse number at that position from the table data and recording it in a predetermined address (PZPX, PZPSTRT). In this embodiment, after detecting the current position,
The operation of returning the zooming lens group 53Z to the original position before the movement is performed. This is PZ_INITPOS
When a command is sent, a counter (PZP
AZB) is cleared (set to 0), the PZ pulse to the first division point or the tele end of the zoom code plate is counted, and the zooming lens is returned from that position (when the current position is detected) by that count. It is realized by that. The operation for returning this zooming lens is P
The Z-INIT process (especially S2637 to S2649) is performed.

【0336】最低速でテレ側へ動かすための動作は、P
Z−INITPOSコマンド通信により実行される。本
実施例では、現在位置検出のために一律にテレ方向に駆
動させているが、これはワイド方向でも構わないし、何
らかの条件により、どちらかを選択しても構わない。ま
た、本実施例では、現在位置不明のときに、カメラボデ
ィ51よりPZ_INITPOSコマンドが送られてこ
なくも、マニュアルパワーズームを動かせば、ズームコ
ード板の区分点あるいは端点(テレ端、ワイド端)に来
た時に、自動的に、現在位置を検出する(現在位置が分
かる)方式となっている。
The operation for moving to the tele side at the lowest speed is P
It is executed by Z-INITPOS command communication. In the present embodiment, the telephoto direction is uniformly driven to detect the current position, but this may be in the wide direction, or either one may be selected depending on some conditions. Further, in this embodiment, when the current position is unknown, even if the PZ_INITPOS command is not sent from the camera body 51, if the manual power zoom is moved, the zoom code plate can be moved to the division point or end point (tele end, wide end). When it comes, it is a system that automatically detects the current position (knows the current position).

【0337】POS−NG処理から入ると、スタートフ
ラグF_STARTが立っていれば(ズームモータ起動
時)現在位置およびスタートパルスカウンタに今回読み
取ったズームコード板71のコードのPZパルス数変換
値(PZパルス粗検出値)を入れて、ズームモータドラ
イブ(DRIVSTRT1)処理に進む(S2621、
S2623)。
If the start flag F_START is set when the POS-NG process is started (when the zoom motor is started), the PZ pulse number conversion value (PZ pulse) of the code of the zoom code plate 71 read this time is read by the current position and the start pulse counter. After inputting the rough detection value), the process proceeds to the zoom motor drive (DRIVSTRT1) process (S2621,
S2623).

【0338】スタートフラグF_STARTが下りてい
るときには、以下の処理を行なう。ズームコードが前回
のものと同一であれば、切換え点に達していないので、
PZP_CNT処理から抜ける(S2623、S262
5)。ズームコードが変わっているとき(コード板の区
分点のとき)は、テレ方向(F_PZPDRC=0)駆
動であれば今回入力したズームコードのPZパルス変換
値を現在のPZパルス値(PZPX)およびPZパルス
カウントスタート値(PZPSTRT)に入れ、ワイド
方向(F_PZPDRC=1)駆動であれば、前回入力
したズームコードのPZパルス変換値を現在のPZパル
ス値(PZPX)およびPZパルスカウントスタート値
(PZPSTRT)に入れる(S2627〜S263
1)。
When the start flag F_START is down, the following processing is performed. If the zoom code is the same as the previous one, you have not reached the switching point,
Exit from the PZP_CNT processing (S2623, S262)
5). If the zoom code has changed (at the division point of the code plate), if the camera is driven in the tele direction (F_PZPDRC = 0), the PZ pulse conversion value of the zoom code input this time is changed to the current PZ pulse value (PZPX) and PZ. Put in the pulse count start value (PZPSTRT) and if the drive is in the wide direction (F_PZPDRC = 1), the PZ pulse conversion value of the previously input zoom code is the current PZ pulse value (PZPX) and PZ pulse count start value (PZPSTRT). (S2627 to S263
1).

【0339】ムーブフラグ(F_MOV)がクリアされ
ているとき(PZ_INITPOSコマンドが送られて
来ていないとき)、またはフラグF_PZPINITが
立っているときには、現在位置を認識していることを示
すフラグF_PZPOSをセットしてパルスカウント
(PZP−CNT5)処理に進む(S2633、S26
35、S2649)。
When the move flag (F_MOV) is cleared (when the PZ_INITPOS command is not sent) or when the flag F_PZPINIT is set, the flag F_PZPOS indicating that the current position is recognized is set. Then, the process proceeds to pulse count (PZP-CNT5) processing (S2633, S26).
35, S2649).

【0340】ムーブフラグF_MOVが立っていて(P
Z−INITPOSコマンドが送られてきたとき)、か
つ現在位置フラグF_PZINITが下りているときに
は、現在のPZパルス値(コード板境界値)から、PZ
イニシャライズ動作前の元の位置からコード板の境界位
置までのPZパルスカウント値(PZPAZB)を減算
した値を目標PZパルス(PZPTRGT)としてセッ
トする(S2633、S2635、S2637)。な
お、F_PZPINITはPZのイニシャライズの戻し
動作を禁止するフラグで、テスト用に使われる。F_P
ZPINIT=1で禁止である。
Move flag F_MOV is set (P
When the Z-INITPOS command is sent) and the current position flag F_PZINIT is down, the current PZ pulse value (code plate boundary value) is changed to PZ.
A value obtained by subtracting the PZ pulse count value (PZPAZB) from the original position before the initialization operation to the boundary position of the code plate is set as the target PZ pulse (PZPTRGT) (S2633, S2635, S2637). It should be noted that F_PZPINIT is a flag for prohibiting the PZ initialization return operation, and is used for testing. F_P
It is prohibited at ZPINIT = 1.

【0341】上記減算値にボローがあるときには、何ら
かの誤カウントがあったので目標PZパルス数を0にし
て駆動フラグF MOVをクリアし、ボローがないとき
にはそのままでムーブフラグをクリアする(S263
9、S2641)。そして、目標値ムーブフラグ(F_
MOVTRG)をセットし、PZスピードを第1速(最
低速)にセットし、現在位置フラグをセットしてPZP
−CNT5処理へ進む(S2643〜S2649)。な
お、PZ−INIT処理から来たときは、S2633か
らこの処理に入る。
When there is a borrow in the subtracted value, there is some erroneous count, so the target PZ pulse number is set to 0 and the drive flag F is set. If MOV is cleared and there is no borrow, the move flag is cleared as it is (S263).
9, S2641). Then, the target value move flag (F_
(MOVTRG), PZ speed to 1st speed (lowest speed), current position flag to PZP
-Proceed to CNT5 processing (S2643 to S2649). When the process comes from the PZ-INIT process, the process starts from step S2633.

【0342】『POS−OK、DRVSTRT1処理』
図88に示したPOS−OK処理は、現在のポジション
が分かっているときのPZパルスカウント処理である。
すでに起動しているとき(スタートフラグがクリアされ
ているとき)にはPZパルス補正処理(PZP−ADJ
処理)に進み、起動のときは、テレ方向駆動のとき(F
_PZPDRC=0)には、PZパルスカウントスター
ト値(PZPSTRT)とPZパルスカウント値(PZ
PCNT)とを加算してPZパルスカウントスタート値
(PZPATRT)および現在のPZパルスカウント値
(PZPX)に入れ、ワイド方向駆動のとき(F_PZ
PDRC=1)にはPZパルスカウントスタート値(P
ZPSTRT)からPZパルスカウント値(PZPCN
T)を減算してPZパルスカウントスタート値(PAP
ATRT)および現在のPZパルス値(PZPX)に入
れる(S2651〜S2657)。
[POS-OK, DRVSTRT1 processing]
The POS-OK process shown in FIG. 88 is a PZ pulse count process when the current position is known.
When it has already started (when the start flag is cleared), PZ pulse correction processing (PZP-ADJ
Processing, and when starting up, when driving in the tele direction (F
_PZPDRC = 0), the PZ pulse count start value (PZPSTRT) and the PZ pulse count value (PZ
(PCNT) is added to the PZ pulse count start value (PZPATRT) and the current PZ pulse count value (PZPX), and when driving in the wide direction (F_PZ
PDZ = 1, PZ pulse count start value (P
ZPSTRT) to PZ pulse count value (PZPCN
TZ is subtracted to start the PZ pulse count start value (PAP
ATRT) and the current PZ pulse value (PZPX) (S2651 to S2657).

【0343】そして、スタートフラグF_STARTを
クリアし、テレ方向ムーブ(今回動こうとする方向)の
ときにはパワーズーム方向フラグF_PZPDRCをク
リア(テレ方向をセット)し、ワイド方向ムーブ(今回
動こうとする方向)のときにはパワーズーム方向フラグ
F_PZPDRCをセット(ワイド方向をセット)する
(S2659〜S2665)。
Then, the start flag F_START is cleared, and when the tele-direction move (the direction to move this time), the power zoom direction flag F_PZPDRC is cleared (the tele-direction is set) and the wide-direction move (the direction to move this time) ), The power zoom direction flag F_PZPDRC is set (wide direction is set) (S2659 to S2665).

【0344】DRIVSTART1からきたときにはS
2659に入って、スタートフラグのクリアおよび駆動
方向のセット処理を行なう(S2659〜S266
5)。 『PZP−ADJ、PZP−CNT5処理』図89に示
したPZP−ADJ処理は、PZパルスのカウント値の
積算誤差を補正する処理である。
When coming from DRIVSTART1, S
At step 2659, the start flag is cleared and the driving direction is set (S2659 to S266).
5). "PZP-ADJ, PZP-CNT5 Processing" The PZP-ADJ processing shown in FIG. 89 is processing for correcting the cumulative error of the PZ pulse count value.

【0345】先ずズームコードが前回と同じかどうかを
チェックし、同じであれば補正できないのでPZP−C
NT処理から抜け、異なれば、PZP補正禁止フラグF
_PZPADJがクリアされていることを条件に補正処
理を続ける。つまり、コード板71の分割領域(境界)
を越えるのを待つのである。なお、PZP補正禁止フラ
グF_PZDADJはテスト用で、通常はクリアされて
いる。
First, it is checked whether the zoom code is the same as the previous one, and if it is the same, the correction cannot be made. Therefore, the PZP-C
PZP correction prohibition flag F
The correction process is continued on condition that _PZPADJ is cleared. That is, the division area (boundary) of the code plate 71
Wait for you to cross. The PZP correction prohibition flag F_PZDADJ is for testing and is normally cleared.

【0346】パワーズームの駆動方向がテレ方向であれ
ば、今回のズームコードのパルス変換値をレジスタXに
メモリし、ワイド方向であれば前回のズームコードのパ
ルス変換値をレジスタXにメモリし、レジスタXの値を
アキュムレータにメモリし、この値と現在のPZパルス
値の差の絶対値が補正限界値未満であるかどうかをチェ
ックする(S2679〜S2683)。補正限界値以上
であれば、レジスタXの値を現在のPZパルス値および
PZパルスカウントスタート値に入れて補正を行ない、
限界値未満であれば補正をしない。そして、PZパルス
カウント値(PZPCNT)をクリアし、現焦点距離の
PZパルス数(PZPX)をテーブルデータを基に現焦
点距離(mm)に変換し、FCLXL,HにメモリしてP
ZP−CNT処理を抜ける(S2685〜S268
9)。
If the power zoom drive direction is the tele direction, the pulse conversion value of the current zoom code is stored in the register X, and if it is the wide direction, the pulse conversion value of the previous zoom code is stored in the register X. The value of the register X is stored in the accumulator, and it is checked whether the absolute value of the difference between this value and the current PZ pulse value is less than the correction limit value (S2679 to S2683). If it is equal to or larger than the correction limit value, the value of the register X is added to the current PZ pulse value and PZ pulse count start value to perform correction,
If it is less than the limit value, no correction is made. Then, the PZ pulse count value (PZPCNT) is cleared, the PZ pulse number (PZPX) at the current focal length is converted to the current focal length (mm) based on the table data, and stored in FCLXL, H and stored in P.
Exit the ZP-CNT process (S2685-S268
9).

【0347】なお、PZP−CNT5処理から来たとき
には、S2683に入り、PZパルスカウント値をクリ
アし、現焦点距離のパルス数を現焦点距離(mm)に変換
し、メモリしてからPZP−CNT処理を抜ける(S2
685〜S2689)。
When the PZP-CNT5 process is started, the flow goes to S2683 to clear the PZ pulse count value, convert the number of pulses at the current focal length to the current focal length (mm), and memorize the PZP-CNT. Exit processing (S2
685-S2689).

【0348】以上のボディからのPZ−INITPOS
コマンドによりPZパルスイニシャライズ処理実行の指
示があると(ボディメイン電源がオンされたときな
ど)、ズーミングレンズ群53Zをテレ側にズーミング
させて、コード板71の分割領域を越えた時に、その分
割領域の境界位置から絶対位置を検出して、現在位置P
Zパルス値(PZPX)およびスタート位置(PZPS
TRT)を設定することができる。また、現在位置を検
出した後、元の位置へ戻すことも可能である。
PZ-INITPOS from the above body
When there is an instruction to execute the PZ pulse initialization processing by the command (when the body main power supply is turned on, etc.), the zooming lens group 53Z is zoomed to the tele side, and when the division area of the code plate 71 is exceeded, the division area is generated. Current position P by detecting the absolute position from the boundary position of
Z pulse value (PZPX) and start position (PZPS
TRT) can be set. It is also possible to return to the original position after detecting the current position.

【0349】また、ズーミング中には、コード板71の
境界を越える度に、その境界部の絶対パルス数をテーブ
ルから読み込んでカウント値と比較し、誤差が一定値よ
り大きければ補正(修正)し、一定値未満であれば補正
しない。
During zooming, each time the boundary of the code plate 71 is crossed, the absolute pulse number at the boundary is read from the table and compared with the count value. If the error is larger than a certain value, it is corrected (corrected). If it is less than a certain value, it is not corrected.

【0350】『ISZMEMO処理』図90に示したI
SZMEMOフローチャートは、像倍率をメモリする処
理である。つまり、像倍率一定ズームモードにおいて、
現在のAFパルス値(AFPX)と現在の焦点距離(F
CLXL,H)を、ズームスピード切り替えスイッチ7
5またはセットSW(SLスイッチSW)の操作により
メモリする処理である。本処理は、図10の2msタイマ
割込みルーチンのS359の詳細である。本実施例で
は、合焦を条件として、ズームリングが中立位置に戻さ
れたとき、またはズームリングが中立位置でなくても、
セットスイッチがオフされた時に、その時点のAFパル
ス値及び焦点距離がメモリされる構成である。
"ISZMEMO processing" I shown in FIG.
The SZMEMO flowchart is a process of storing the image magnification. In other words, in the constant image magnification zoom mode,
Current AF pulse value (AFPX) and current focal length (F
CLXL, H) to the zoom speed selector switch 7
5 or a process of storing a memory by operating the set SW (SL switch SW). This process is a detail of S359 of the 2 ms timer interrupt routine of FIG. In this embodiment, when the zoom ring is returned to the neutral position, or if the zoom ring is not in the neutral position, on the condition of focusing,
When the set switch is turned off, the AF pulse value and the focal length at that time are stored.

【0351】ISZMEMO処理では、像倍率レンズメ
モリフラグF ISMがセットされ、像倍率一定モード
が選択され、かつ合焦フラグF AFIFがセットされ
ていることを条件に、S2707以降のメモリ処理に進
む(S2701〜S2705)。像倍率レンズメモリフ
ラグF_ISMは、コマンドPZ−BSTATE(2
0)によりボディから送られてきて、PZ−BDSTに
メモリされる。尚、このフラグ ISMは、像倍率のメ
モリをカメラボディ側からのISZ−MEMORYコマ
ンドで行うか、レンズ側の判断で行うかを決める為のフ
ラグである。
In the ISZMEMO processing, the image magnification lens memory flag F ISM is set, constant image magnification mode is selected, and focus flag F On condition that AFIF is set, the process proceeds to the memory processing after S2707 (S2701 to S2705). The image magnification lens memory flag F_ISM uses the command PZ-BSTATE (2
0) from the body and stored in the PZ-BDST. This flag The ISM is a flag for determining whether the memory of the image magnification is performed by the ISZ-MEMORY command from the camera body side or the lens side.

【0352】像倍率メモリフラグF_ISMは、通常は
クリアされて送られてくるので、像倍率のメモリ(現在
のAFパルス値及び現在の焦点距離のメモリ)は、レン
ズ側で勝手に行うのではなく、ボディからのコマンドI
SZ−MEMORY(36)が送られてきた時に行われ
る。また、コマンドISZ−MEMORY(36)が送
られてくるタイミングは、定期的な通信POFF−ST
ATE(11)のbit2(SLSW)及びLENS−
INF1(13)のbit0,1(PTSW、PWS
W)をボディ側が見て、レンズのセットスイッチSL
(SLスイッチ)及びズームスピードスイッチ75のオ
ン/オフ状態を判断し、ズームスピードスイッチ75が
中立に戻ったときあるいは、セットスイッチSLがオフ
したときである。
Since the image magnification memory flag F_ISM is normally cleared and sent, the image magnification memory (current AF pulse value and current focal length memory) is not arbitrarily set on the lens side. , Command I from the body
It is performed when SZ-MEMORY (36) is sent. In addition, the timing at which the command ISZ-MEMORY (36) is sent is the periodic communication POFF-ST.
ATE (11) bit2 (SLSW) and LENS-
Bit0, 1 of INF1 (13) (PTSW, PWS
W) seen from the body side, lens set switch SL
It is when the (SL switch) and the zoom speed switch 75 are turned on / off and the zoom speed switch 75 is returned to the neutral position or the set switch SL is turned off.

【0353】また、フラグF_ISMがセットされて送
られてきたときは本処理の説明のごとく、ボディからの
コマンドISZ−MEMORYによらないで、レンズ側
でセットスイッチSL及びズームスピードスイッチ75
のオン/オフを判断して像倍率のメモリを行う。
When the flag F_ISM is set and sent, the set switch SL and the zoom speed switch 75 on the lens side do not depend on the command ISZ-MEMORY from the body as described in this processing.
Image magnification memory is performed by determining ON / OFF of.

【0354】ズームスイッチ75が前回中立位置でなく
今回中立位置に戻されたとき、そうでなくても、前回セ
ットスイッチがオンされているが今回オフされた時に、
AFパルスの現在値をアドレスISZ−AFPL,Hに
メモリし、さらに現在の焦点距離をアドレスISZ−F
CLL,Hにメモリし、像倍率演算指示フラグF_IS
ZMをセットしてからISZMEMO処理を終了する
(S2707〜S2719)。
When the zoom switch 75 has been returned to the neutral position this time instead of the neutral position last time, even if not, when the set switch was turned on last time but turned off this time,
The current value of the AF pulse is stored in the address ISZ-AFPL, H, and the current focal length is stored in the address ISZ-F.
Image magnification calculation instruction flag F_IS stored in CLL and H
After setting ZM, the ISZMEMO processing is ended (S2707 to S2719).

【0355】つまり、合焦しかつフラグF_ISMがセ
ットされていることを条件として、ズームスイッチ75
がテレあるいはワイド方向から中立位置に戻されたと
き、またはセットスイッチがオン状態からオフされたと
きに、その時点の像倍率がメモリされる構成である。
That is, on condition that the subject is in focus and the flag F_ISM is set, the zoom switch 75
Is returned to the neutral position from the tele or wide direction, or when the set switch is turned off from the on state, the image magnification at that time is stored.

【0356】『MTL−CTL処理』図91に示したM
TL−CTLフローチャートは、SET−ST処理でセ
ットされたズームモータ制御用フラグ(ZM−ST1の
各フラグ)に応じたズームモータ65の駆動制御に関す
る処理である。本処理は、図10に示した2msタイマ割
込みルーチンのS363の詳細である。
"MTL-CTL Processing" M shown in FIG.
The TL-CTL flowchart is a process relating to drive control of the zoom motor 65 according to the zoom motor control flags (each flag of ZM-ST1) set in the SET-ST process. This process is a detail of S363 of the 2 ms timer interrupt routine shown in FIG.

【0357】ドライブフラグF_DRVがクリアされ、
かつブレーキフラグF_BRKがセットされているとき
にはズームモータ65にブレーキをかけ、ブレーキフラ
グF_BRKがクリアされているときにはズームモータ
65をフリー状態にしてから、2msタイマーをスタート
させ、2msタイマー割込みを許可し、PWM割込みを禁
止して終了する(S2801、S2809〜S281
3、S2817、S2819)。
The drive flag F_DRV is cleared,
And when the brake flag F_BRK is set, the zoom motor 65 is braked, and when the brake flag F_BRK is cleared, the zoom motor 65 is set to the free state, then the 2ms timer is started, and the 2ms timer interrupt is permitted. The PWM interrupt is prohibited and the process ends (S2801, S2809 to S281).
3, S2817, S2819).

【0358】ドライブフラグF_DRVがセットされて
いるときには、テレ方向のときにはズームモータ65を
テレ方向に起動し、ワイド方向のときにはズームモータ
65をワイド方向に起動する(S2801〜S280
7)。そして、モータを第4速(DC)駆動するときに
は、2msタイマーをスタートさせ、2msタイマー割込み
を許可し、PWM割込みを禁止して終了する(S281
5、S2817、S2819)。
When the drive flag F_DRV is set, the zoom motor 65 is activated in the tele direction in the tele direction, and the zoom motor 65 is activated in the wide direction in the wide direction (S2801 to S280).
7). Then, when driving the motor to the fourth speed (DC), the 2 ms timer is started, the 2 ms timer interrupt is enabled, the PWM interrupt is prohibited, and the process ends (S281).
5, S2817, S2819).

【0359】第1〜第3速のPWM駆動のときには、P
WMハードタイマーを1インクリメントし、インクルメ
ントした値がオーバーフローしたときにはPWMハード
タイマーに最大値(FFH)を入れ、オーバーフローし
ていないときにはインクリメントした値を保持する(S
2815、S2821〜S2825)。
In the PWM driving of the first to third speeds, P
The WM hard timer is incremented by 1, and when the incremented value overflows, the maximum value (FFH) is set in the PWM hard timer, and when not incremented, the incremented value is held (S
2815, S2821 to S2825).

【0360】次に、PWMハードタイマー値(T_PW
M)がPWMのPZパルス周期(T_PWMPLS)を
越えたかどうか(PWMのPZパルス周期時間内にPZ
パルスが出力されたかどうか)をチェックし、越えてい
れば周期内にパルスが出力されていないのでデューティ
ー比(T_PWMBRK)をアップし、越えていなけれ
ばそのままで、デューティー比(T_PWMBRK)を
PWM制御用のハードタイマーへセットし、PWM制御
用ハードタイマーをスタートさせる(S2827〜S2
833)。そして、2msタイマーをスタートさせ、2ms
タイマー割込みを許可し、PWM割込みを許可して終了
する(S2835、S2837)。
Next, the PWM hard timer value (T_PW
M) exceeds the PWM PZ pulse period (T_PWMPLS) (PZ within the PWM PZ pulse period time)
Check if the pulse is output or not. If it exceeds, the pulse is not output within the cycle, so increase the duty ratio (T_PWMBRK). The hard timer for PWM control and starts the hard timer for PWM control (S2827 to S2).
833). And start the 2ms timer, 2ms
The timer interrupt is permitted, the PWM interrupt is permitted, and the process ends (S2835, S2837).

【0361】[レリーズ処理]次に、図92A乃至図9
2Cを参照して、図55のステップS1179で示した
所の、カメラボディ11におけるレリーズ処理について
具体的に説明する。このレリーズ処理は、ステップS1
176においてレリーズスイッチSWRがオンされ、ス
テップS1178においてレリーズ可能状態であると判
断されることを起動条件に、ボデイ側のメインCPU3
5により実行される。
[Release Processing] Next, FIG. 92A to FIG.
With reference to FIG. 2C, the release process in the camera body 11 at step S1179 in FIG. 55 will be specifically described. This release process is step S1.
The release side switch SWR is turned on in 176, and the main CPU 3 on the body side is set under the start condition that it is determined in step S1178 that the release is possible.
5 is executed.

【0362】レリーズ処理制御動作が開始されると、先
ず、ステップS4001において、露光中にズームの制
御を指示する露光間ズーム制御フラグF EXZCTL
をクリアする。ここで、露光間ズームとは、露光動作中
に、露光時間の少なくとも一部分を用いてズーミング動
作を実行する事により、撮影した写真像に、部分的に広
がる方向または縮まる方向に、即ち、放射方向に沿って
流れた画像部分が形成される様にする撮影方法の一態様
である。そして、ステップS4001に引き続くステッ
プS4003において、パワーズームレンズ51が装着
されているか否か(即ち、パワーズームフラグF PZ
がセットされているか否か)を判断し、パワーズームレ
ンズ51が装着されていない(即ち、パワーズームフラ
グF PZ=0)場合には、換言すれば、マニュアル駆
動のズームレンズが装着されている場合には、露光間ズ
ームをカメラ側で自動的に実行する事は不可能であるの
で、露光間ズーム制御を実行することなく、通常のレリ
ーズ動作が実行される。
When the release process control operation is started, first, in step S4001, an inter-exposure zoom control flag F for instructing zoom control during exposure is given. EXZCTL
To clear. Here, the inter-exposure zoom means that during the exposure operation, a zooming operation is performed by using at least a part of the exposure time so that the photographed image is partially expanded or contracted, that is, the radial direction. It is an aspect of an image capturing method for forming an image portion flowing along a line. Then, in step S4003 subsequent to step S4001, whether or not the power zoom lens 51 is attached (that is, the power zoom flag F PZ
Is set), the power zoom lens 51 is not attached (that is, the power zoom flag F). PZ = 0), in other words, when a manually driven zoom lens is attached, it is impossible to automatically perform the exposure-to-exposure zoom on the camera side. Therefore, the exposure-to-exposure zoom control is performed. The normal release operation is executed without executing.

【0363】詳細には、ステップS4005、ステップ
S4007、ステップS4009を順次実行する事によ
り、ミラーをアップさせ、絞り制御を実行すると共に、
シャッタの先幕の走行を開始する。そして、ステップS
4011において、上述した露光間ズーム制御フラグF
EXZCTLのセット状態を判断する。ここで、上述
したステップS4003においてパワーズームレンズ5
1が装着されていないと判断される限り、露光間ズーム
制御フラグF EXZCTLはセットされることはな
い。従って、このステップS4011においては、露光
間ズーム制御フラグF EXZCTLは、上述したステ
ップS4001での設定によりクリアされたままの状態
であるので、NOと判断される事になる。
Specifically, step S4005, step S4007, and step S4009 are sequentially executed to raise the mirror and execute aperture control.
The front curtain of the shutter starts running. And step S
4011, the above-described inter-exposure zoom control flag F
Determine the set state of EXZCTL. Here, in step S4003 described above, the power zoom lens 5
As long as it is determined that 1 is not attached, the during-exposure zoom control flag F EXZCTL is never set. Therefore, in this step S4011, the during-exposure zoom control flag F Since EXZCTL remains cleared by the setting in step S4001 described above, it is determined to be NO.

【0364】このステップS4011でNOと判断され
ると、ステップSS4013でシャッタ設定がバルブ状
態であるか否かを判断し、このステップS4013でバ
ルブではないと判断されると、ステップS4015へ進
み、ここで、予め設定された露出時間の経過を待ち、こ
の露出時間が経過すると、ステップS4017において
後幕の走行を開始する。そして、ステップS4019に
おいて後幕の走行完了を待ち、後幕の走行が完了する
と、ステップS4021においてBODY−STATE
1通信を実行し、マニュアルパワーズームを禁止すると
共に、露光間ズームを停止させるコマンドをパワーズー
ムレンズ51側に送り、バッテリからの電源供給を停止
する。即ち、ステップS4023で、ボデイ側のバッテ
リ要求フラグF BBATREQをクリアし、ステップ
S4025においてBATONOFF処理を実行する。
If NO in step S4011, it is determined in step SS4013 whether or not the shutter setting is the valve state. If it is determined in step S4013 that the valve is not the valve, the process proceeds to step S4015. Then, after waiting for the preset exposure time to elapse, when the exposure time elapses, the trailing curtain starts traveling in step S4017. Then, in step S4019, the completion of the running of the rear curtain is waited, and when the running of the rear curtain is completed, in step S4021, the BODY-STATE is completed.
One communication is executed, the manual power zoom is prohibited, and a command to stop the zoom during exposure is sent to the power zoom lens 51 side to stop the power supply from the battery. That is, in step S4023, the battery request flag F on the body side. BBATREQ is cleared, and BATONOFF processing is executed in step S4025.

【0365】この後、ステップS4027においてミラ
ーモータ33を起動してミラーをダウンさせ、ステップ
S4029においてフィルム巻上モータ25を起動して
フィルム巻上動作を実行させ、ステップS4031にお
いて再びBODY−STATE1通信を実行して、レリ
ーズ動作中ではない事、フィルム巻上中ではない事、I
PZ動作(即ち、マニュアルパワーズーム以外のオート
ズーム動作)の許可状態、及び、マニュアルパワーズー
ム動作の許可状態をパワーズームレンズ51側に送信し
て、図55に示すメインルーチンにリターンする。
Thereafter, in step S4027, the mirror motor 33 is activated to lower the mirror, in step S4029 the film winding motor 25 is activated to execute the film winding operation, and in step S4031, the BODY-STATE1 communication is performed again. Run, release is not in progress, film winding is not in progress, I
The permission state of the PZ operation (that is, the auto zoom operation other than the manual power zoom) and the permission state of the manual power zoom operation are transmitted to the power zoom lens 51 side, and the process returns to the main routine shown in FIG. 55.

【0366】一方、上述したステップS4013におい
てシャッタ設定がバルブ状態であると判断される場合に
は、ステップS4033においてレリーズスイッチSW
Rがオフされるのを待ち、このレリーズスイッチSWR
がオフされると、上述したステップS4017に進み、
後幕の走行を開始させる動作以降の制御動作を実行す
る。
On the other hand, if it is determined in the above step S4013 that the shutter setting is the valve state, in step S4033 the release switch SW is set.
Wait for R to turn off, then release switch SWR
Is turned off, the process proceeds to step S4017 described above,
The control operation after the operation to start the trailing curtain is executed.

【0367】また、上述したステップS4003におい
てパワーズームレンズ51が装着されていると判断され
る場合には、ステップS4035において、IPZ−S
TOPコマンドをパワーレンズ側に送り、実際のレリー
ズ動作に入る前に、クリックズーム動作や像倍率一定ズ
ーム動作を禁止し、ステップS4037において、像倍
率一定ズーム動作を指示するフラグF ISZONとプ
リセットズーム動作を指示するフラグF IPZONを
共にクリアする。そして、引き続くステップS4039
において、露光間ズーム(EXZ)モードが設定されて
いるか否かを判断する。このステップS4039におい
て、露光間ズームモードが設定されていないと判断され
る場合には、ステップS4041においてBODY−S
TATE1通信を実行し、レリーズ動作中である事、フ
ィルム巻上中ではない事、IPZ動作を禁止させる事、
及び、マニュアルパワーズーム動作を禁止させる事をパ
ワーズームレンズ51側に送信する。そして、上述した
ステップS4005に進み、ミラーのアップ動作以降の
制御動作を実行する。特に、ステップS4011におい
ては依然として、露光間ズーム制御フラグF EXZC
TLはクリアされていると判断されるので、通常のレリ
ーズ動作を実行する。
If it is determined in step S4003 that the power zoom lens 51 is attached, then in step S4035 the IPZ-S is selected.
Before sending the TOP command to the power lens side to start the actual release operation, the click zoom operation and the constant image magnification zoom operation are prohibited, and in step S4037, a flag F for instructing the constant image magnification zoom operation. Flag F for instructing ISZON and preset zoom operation Clear IPZON together. Then, the following step S4039
At, it is determined whether or not the during-exposure zoom (EXZ) mode is set. If it is determined in step S4039 that the during-exposure zoom mode is not set, in step S4041 the BODY-S is set.
Execute TATE1 communication, release operation is not in progress, film winding is not in progress, IPZ operation is prohibited,
Also, the fact that the manual power zoom operation is prohibited is transmitted to the power zoom lens 51 side. Then, the processing proceeds to step S4005 described above, and the control operation after the mirror up operation is executed. In particular, in step S4011, the during-exposure zoom control flag F still remains. EXZC
Since it is determined that TL has been cleared, the normal release operation is executed.

【0368】一方、上述したステップS4039におい
て、露光間ズームモードが設定されていると判断される
場合には、ステップS4043で、ボデイ側のバッテリ
要求フラグF BBATREQをセットし、ステップS
4045においてBATONOFF処理を実行し、パワ
ーズームレンズ51のパワーズームモータ65に電源を
供給する。そして。引き続くステップS4047におい
て、PZ−LSTATEデータ通信を実行し、マニュア
ルパワーズームがオンしているか、オフしているかの情
報をパワーズームレンズ51側から得る。
If it is determined at step S4039 that the during-exposure zoom mode is set, on the other hand, at step S4043, the body side battery request flag F is set. Set BBATREQ, step S
In 4045, BATONOFF processing is executed, and power is supplied to the power zoom motor 65 of the power zoom lens 51. And. In subsequent step S4047, PZ-LSTATE data communication is executed to obtain information on whether the manual power zoom is on or off from the power zoom lens 51 side.

【0369】そして、引き続くステップS4049にお
いてシャッタ設定がバルブであるか否かを判断し、バル
ブであると判断される場合には、ステップS4051に
おいて、BODY−STATE1通信を実行して、レリ
ーズ動作中である事、フィルム巻上中ではない事、IP
Z動作の禁止状態、及び、マニュアルパワーズーム動作
の許可状態をパワーズームレンズ51側に送信し、上述
したステップS4005に進み、ミラーのアップ動作以
降の制御手順を実行する。
Then, in the succeeding step S4049, it is determined whether or not the shutter setting is the valve. If it is determined that the valve is the valve, in step S4051, the BODY-STATE1 communication is executed to perform the release operation. Something, not being film winding, IP
The prohibited state of the Z operation and the permitted state of the manual power zoom operation are transmitted to the power zoom lens 51 side, and the process proceeds to step S4005 described above to execute the control procedure after the mirror up operation.

【0370】即ち、バルブが設定された状態では、例え
露光間ズーム動作がセットされたとしても、露出時間は
撮影者の意図により任意に設定されるものであり、カメ
ラ側としては予め露出時間を知り得ない事となり、先幕
スタート後、何れの時期からオートパワーズームを起動
したら良いか、または、先幕スタート後何れの時期まで
オートパワーズームを起動したら良いかが規定出来ない
ので、通常は露光間ズームが禁止される事になる。しか
しながら、この一実施例においては、撮影者の意図する
バルブ開放時間内において、撮影者の意図によるズーム
動作を許容して、自由に露光間ズーム動作を実行するこ
とが出来る様にする為に、上述した様に、ステップS4
051においてマニュアルパワーズーム動作を許可して
いる。
That is, in the state where the bulb is set, the exposure time is arbitrarily set according to the photographer's intention even if the zoom operation during exposure is set. It is impossible to know, and it is not possible to stipulate when the auto power zoom should be started after the start of the first curtain or until when the auto power zoom should be started after the start of the first curtain. Zooming during exposure will be prohibited. However, in this embodiment, in order to allow the zoom operation according to the photographer's intention within the valve opening time intended by the photographer and freely perform the inter-exposure zoom operation, As described above, step S4
In 051, the manual power zoom operation is permitted.

【0371】この結果、撮影者は、バルブを設定した上
で露光間ズームモードを設定する事により、自身の意志
で自由に、露光間ズーム動作を実行することが出来る事
になる。即ち、撮影者はレリーズスイッチSWRを押し
続けたままの状態で、即ち、露光動作を実行させたまま
の状態で、露光間ズームを実施したい期間だけ、ズーム
操作リング78(図示せず)を中立位置からレンズ鏡胴
の中心軸線回りに回動させる事により、その回動量に応
じたズーミングスピード、及び、回動方向により設定さ
れるズーミング方向で、マニュアルパワーズーム(露光
間ズーム)を実行することが出来る事になる。
As a result, the photographer can freely perform the inter-exposure zoom operation by his / her own will by setting the bulb and then the inter-exposure zoom mode. That is, the photographer keeps the zoom switch ring 78 (not shown) in a neutral state for a period during which the user wants to perform the zoom between exposures while keeping the release switch SWR pressed, that is, while keeping the exposure operation. By rotating the lens barrel from the position around the central axis of the lens barrel, the manual power zoom (exposure between exposures) is performed at the zooming speed according to the rotation amount and the zooming direction set by the rotation direction. Can be done.

【0372】一方、上述したステップS4049におい
て、シャッタ設定がバルブモードでは無く、所定のシャ
ッタスピードが設定されていると判断される場合には、
以下、露光間ズームを実行する事になるが、通常の露光
間ズーム(即ち、カメラ側で自動的に実行されるオート
露光間ズーム)の実行に先立ち、ステップS4053に
おいて、半露光間ズーム(ハーフMPZ)モードである
か否かを判断する。ここで、この半露光間ズームモード
とは、カメラ側で自動的に露光間ズームを実行させるの
では無く、設定された露光時間の半分の時間だけ、マニ
ュアルパワーズームにより露光間ズーム動作を実行させ
る為のモードである。換言すれば、この半露光間ズーム
とは、マニュアルパワーズームにおける露光間ズーム動
作において、露光時間の半分の時間は、パワーズーミン
グを自動的に禁止して、撮影者が自ら行うマニュアルパ
ワーズームによる露光間ズーム動作を容易に実行するこ
とが出来る様にアシストするモードである。
On the other hand, in step S4049 described above, when it is determined that the shutter setting is not in the valve mode and a predetermined shutter speed is set,
Hereinafter, the inter-exposure zoom will be executed. Prior to execution of the normal inter-exposure zoom (that is, the auto-exposure zoom automatically executed on the camera side), in step S4053, the half-exposure zoom (half MPZ) mode is determined. Here, in the half-exposure zoom mode, the camera does not automatically perform the inter-exposure zoom, but executes the inter-exposure zoom operation by the manual power zoom for half the set exposure time. It is a mode for. In other words, this half-exposure zoom means that during the inter-exposure zoom operation of the manual power zoom, power zooming is automatically prohibited for half the exposure time, and the exposure is performed by the photographer himself. It is a mode that assists the user to easily perform the inter-zoom operation.

【0373】ステップS4053において、マニュアル
パワーズームにおける半露光間ズームモードでは無く、
カメラ側において自動的に実行される露光間ズームモー
ドが設定されていると判断される場合には、ステップS
4055において、上述したステップS4047で読み
取ったPZ−LSTATEデータ通信結果に基づき、マ
ニュアルパワーズームのオン/オフ状態を判断する。こ
のステップS4055においてマニュアルパワーズーム
がオフしていると判断される場合には、半露光間ズーム
モードもセットされておらず、また、マニュアルパワー
ズームもオンしていない状態であるので、ステップS4
057に進み、ここで、露光間ズーム制御フラグF
XZCTLをセットし、露光間ズーム動作が実行されて
いる事を宣言する。
In step S4053, the zoom mode during half-exposure in the manual power zoom is not set,
When it is determined that the during-exposure zoom mode that is automatically executed on the camera side is set, step S
In 4055, the on / off state of the manual power zoom is determined based on the PZ-LSTATE data communication result read in step S4047 described above. If it is determined in step S4055 that the manual power zoom is off, the half-exposure zoom mode is not set, and the manual power zoom is not on. Therefore, step S4
057, where the during-exposure zoom control flag F E
Set XZCTL to declare that the zoom operation between exposures is being performed.

【0374】この後、ステップS4059において露光
間ズームにおけるパワーズームレンズ51のズーミング
方向(即ち、テレ端からワイド端に向かうワイド方向、
または、ワイド端からテレ端に向かうテレ方向)をセッ
トし、ステップS4061において露光間ズームにおけ
るパワーズーミング時間をセットし、そして、ステップ
S4063において露光間ズームにおけるズーミング速
度をセットする。尚、ステップS4059におけるズー
ミング方向のセットの為の制御手順、及びステップS4
063におけるズーミング速度のセットの為の制御手順
に関しては、夫々、サブルーチンを用いて後に詳細に説
明する。
Thereafter, in step S4059, the zooming direction of the power zoom lens 51 in the inter-exposure zoom (that is, the wide direction from the tele end to the wide end,
Alternatively, the power zooming time in the inter-exposure zoom is set in step S4061 and the zooming speed in the inter-exposure zoom is set in step S4061. The control procedure for setting the zooming direction in step S4059, and step S4
The control procedure for setting the zooming speed in 063 will be described in detail later using subroutines.

【0375】ステップS4063が実行された後、引き
続くステップS4065において、BODY−STAT
E1通信を実行して、レリーズ動作中である事、フィル
ム巻上中ではない事、IPZ動作の禁止状態、及び、マ
ニュアルパワーズーム動作の禁止状態をパワーズームレ
ンズ51側に送信する。この後、ステップS4067に
おいて、露光間ズームにおけるパワーズーミング動作が
露光時間における前半に実行されるか(以下、単に、前
半駆動と呼ぶ。)、後半に実行されるか(以下、単に、
後半駆動と呼ぶ。)を判断する。
After step S4063 is executed, in step S4065 that follows, BODY-STAT is set.
The E1 communication is executed to transmit to the power zoom lens 51 side that the release operation is in progress, the film is not being wound up, the IPZ operation is prohibited, and the manual power zoom operation is prohibited. Thereafter, in step S4067, whether the power zooming operation in the inter-exposure zoom is executed in the first half of the exposure time (hereinafter, simply referred to as first half drive) or in the second half (hereinafter, simply
This is called the second half drive. ) To judge.

【0376】尚、この露光間ズームにおける前半駆動/
後半駆動の設定は、図示していないが、機能切り換え/
設定スイッチを介して撮影者により自由に設定すること
が出来る様になされている。このステップS4067に
おいて、前半駆動であると判断された場合には、ステッ
プS4069において、指定方向または指定したメモリ
に記憶された所定距離にパワーズームさせるMOVE−
PZMDコマンドをパワーズームレンズ51側に出し、
パワーズームレンズ51における自動パワーズーミング
動作を開始する。この後、上述したステップS4005
に進み、ミラーのアップ動作以降の制御手順を実行す
る。即ち、露光間ズームにおいて前半駆動モードが設定
された状態においては、露光の開始と同時に自動的にパ
ワーズーミング動作を開始する事になる。
Incidentally, the first half drive in this zoom between exposures /
The setting of the latter half drive is not shown, but the function switching /
It can be freely set by the photographer via the setting switch. If it is determined in step S4067 that the drive is the first-half drive, then in step S4069, the power is zoomed to the designated direction or the predetermined distance stored in the designated memory.
Issue the PZMD command to the power zoom lens 51 side,
The automatic power zooming operation in the power zoom lens 51 is started. After this, step S4005 described above
Then, the control procedure after the mirror up operation is executed. That is, when the first half drive mode is set in the inter-exposure zoom, the power zooming operation is automatically started at the same time when the exposure is started.

【0377】一方、上述したステップS4067におい
て、前半駆動の露光間ズームではない、即ち、後半駆動
の露光間ズームであると判断される場合には、このステ
ップS4069をスキップして直接ステップS4005
に進み、ミラーのアップ動作以降の制御手順を実行す
る。換言すれば、露光間ズームにおいて後半駆動モード
が設定された状態においては、露光の開始に伴い自動パ
ワーズーミング動作が起動されずに、通常の露光動作を
開始する事になる。
On the other hand, if it is determined in the above step S4067 that the zoom is not the inter-exposure zoom of the first half drive, that is, the zoom is the inter-exposure zoom of the second half drive, this step S4069 is skipped and the direct step S4005 is performed.
Then, the control procedure after the mirror up operation is executed. In other words, in the state where the latter half drive mode is set in the inter-exposure zoom, the normal power exposure operation is started without starting the automatic power zooming operation when the exposure is started.

【0378】この様に前半駆動にしろ後半駆動にしろ露
光間ズームモードがセットされた状態で露光動作が開始
され、ステップS4005、ステップS4007、ステ
ップS4009を順次実行し、ステップS4011に至
ると、上述したステップS4057において既に露光間
ズーム制御フラグF EXZCTLがセットされている
ので、このステップS4011においてはYESと判断
することになる。このステップS4011においてYE
Sと判断されると、ステップS4071において、再
び、この露光間ズーム動作が前半駆動か後半駆動かを判
別する。このステップS4071において前半駆動の露
光間ズームであると判断すると、ステップS4073に
おいて、上述したステップS4061で設定されたパワ
ーズーム駆動時間の経過を待ち、この経過後、ステップ
S4075において、BODY−STATE1通信を実
行して、レリーズ動作中である事、フィルム巻上中では
ない事、IPZ動作の禁止状態、及び、マニュアルパワ
ーズーム動作の禁止状態をパワーズームレンズ51側に
送信する。この様にして、パワーズーミング時間経過後
におけるマニュアルパワーズーム動作及び自動パワーズ
ーム動作を夫々禁止し、この後、上述したステップS4
015に進み、露出時間の経過を待つ。
In this way, whether in the first half drive or the second half drive, the exposure operation is started with the zoom mode between exposures set, and step S4005, step S4007, and step S4009 are sequentially executed, and when step S4011, the above operation is performed. In step S4057, during-exposure zoom control flag F has already been set. Since EXZCTL has been set, YES is determined in step S4011. In this step S4011, YE
When it is determined to be S, it is determined again in step S4071 whether the during-exposure zoom operation is the first half driving or the second half driving. When it is determined in this step S4071 that the zoom is during the first-half drive exposure, the process waits for the elapse of the power zoom drive time set in step S4061 described above in step S4073, and after this elapses, the BODY-STATE1 communication is performed in step S4075. By executing the release operation, the fact that the film is not being wound, the IPZ operation prohibited state, and the manual power zoom operation prohibited state are transmitted to the power zoom lens 51 side. In this way, the manual power zoom operation and the automatic power zoom operation after the lapse of the power zooming time are prohibited, and thereafter, the above-described step S4 is performed.
Proceed to 015 and wait for the exposure time to elapse.

【0379】一方、上述したステップS4071におい
て、後半駆動の露光間ズームであると判断されると、ス
テップS4077に進み、設定された露出時間からパワ
ーズーム駆動時間を減じた時間の経過を待ち、この経過
後、ステップS4079において、半露光間ズームであ
るか否かを判断する。このステップS4079において
半露光間ズームではないと判断される場合には、ステッ
プS4081において、指定方向または指定したメモリ
に記憶された所定距離にパワーズームさせるMOVE−
PZMDコマンドをパワーズームレンズ51側に出し、
パワーズームレンズ51における自動パワーズーミング
動作を開始する。この後、上述したステップS4015
に進み、設定された露出時間の経過を待つ。
On the other hand, if it is determined in the above-described step S4071 that the zoom is between the exposures in the latter half drive, the process proceeds to step S4077, and waits for the time obtained by subtracting the power zoom drive time from the set exposure time. After the lapse of time, in step S4079, it is determined whether or not zooming is performed during half exposure. If it is determined in step S4079 that the zoom is not performed during half-exposure, then in step S4081, the power is zoomed to the designated direction or the predetermined distance stored in the designated memory.
Issue the PZMD command to the power zoom lens 51 side,
The automatic power zooming operation in the power zoom lens 51 is started. After this, step S4015 described above.
Proceed to and wait for the set exposure time to elapse.

【0380】また、上述したステップS4053におい
て、半露光間ズーム(ハーフMPZ)を設定するスイッ
チがオンしてると判断される場合には、ステップS40
83において、露光間ズーム制御フラグF EXZCT
Lをセットし、引き続くステップS4085において、
前半駆動であるか否かを判断する。このステップS40
85で前半駆動であると判断される場合には、上述した
ステップS4055に進み、MPZがオンされているか
否かが、即ち、ズーム操作リング78が回動されている
か否かを判断する。このステップS4055においてM
PZがオフされている場合、即ち、ズーム操作リング7
8が回動されていないと判断される場合には、上述した
ステップS4057に進み、これ以降の制御動作を実行
する。即ち、例え、マニュアルパワーズームにおける半
露光間ズームが設定されていたとしても、ズーム操作リ
ング78が回動駆動されていなければ、撮影者が実際に
はマニュアルパワーズームによる半露光間ズームの開始
を意図していないものと判断し、通常の露光間ズーム動
作を実行する事になる。
If it is determined in step S4053 that the switch for setting the half-exposure zoom (half MPZ) is on, step S40.
In 83, the during-exposure zoom control flag F EXZCT
L is set, and in subsequent step S4085,
It is determined whether or not it is the first half drive. This step S40
If it is determined in 85 that the drive is the first-half drive, the process advances to step S4055 described above to determine whether the MPZ is turned on, that is, whether the zoom operation ring 78 is rotated. In this Step S4055, M
When the PZ is turned off, that is, the zoom operation ring 7
If it is determined that No. 8 has not been rotated, the process proceeds to step S4057 described above, and the control operation thereafter is executed. That is, even if the half-exposure zoom in the manual power zoom is set, if the zoom operation ring 78 is not rotationally driven, the photographer actually starts the half-exposure zoom by the manual power zoom. It is judged that it is not intended, and the normal zoom operation between exposures is executed.

【0381】一方、ステップS4055においてMPZ
がオンされていると判断される場合、即ち、実際にズー
ム操作リング78が回動駆動されていると判断される場
合には、ステップS4051に進み、ここで、BODY
−STATE1通信を実行して、レリーズ動作中である
事、フィルム巻上中ではない事、IPZ動作の禁止状
態、及び、マニュアルパワーズーム動作の許可状態をパ
ワーズームレンズ51側に送信する。この様にして、レ
リーズ開始時において、ズーム操作リング78が撮影者
により既に回動駆動されている状態である場合には、カ
メラ側で自動的に実行されるオートパワーズーミングが
起動せずに、ズーム操作リング78の回動量に応じたパ
ワーズーミング速度、及び、その回動方向に応じたズー
ミング方向で、マニュアルパワーズームが許可され、実
行される事になる。即ち、マニュアルパワーズームにお
ける半露光間ズームの前半駆動が実行される事になる。
On the other hand, in step S4055 MPZ
When it is determined that the zoom operation ring 78 is actually turned on, that is, when it is determined that the zoom operation ring 78 is actually rotationally driven, the process proceeds to step S4051 where BODY.
-Execute STATE1 communication to transmit to the power zoom lens 51 side that the release operation is being performed, the film is not being wound, the IPZ operation is prohibited, and the manual power zoom operation is allowed. In this way, when the zoom operation ring 78 is already rotationally driven by the photographer at the start of release, the auto power zooming automatically executed on the camera side does not start, The manual power zoom is permitted and executed at the power zooming speed corresponding to the rotation amount of the zoom operation ring 78 and the zooming direction corresponding to the rotation direction. That is, the first half drive of the half-exposure zoom in the manual power zoom is executed.

【0382】この後、ステップS4005、ステップS
4007、ステップS4009、ステップS4011、
ステップS4071、ステップS4073を順次経て、
前半駆動における露光間ズーム時間が経過すると、ステ
ップS4075において上述した様に、BODY−ST
ATE1通信を実行して、レリーズ動作中である事、フ
ィルム巻上中ではない事、IPZ動作の禁止状態、及
び、マニュアルパワーズーム動作の禁止状態をパワーズ
ームレンズ51側に送信する。この結果、例えズーム操
作リング78が撮影者により回動駆動されている状態
が、露光間ズーム時間が経過しても継続しているとして
も、この時点からマニュアルパワーズームが禁止され、
この様にして、前半駆動の半露光間ズームモードにおけ
る露光時間の前半のパワーズーミング動作が終了する事
になる。この後は、上述したステップS4015以降を
参照して説明した所の、通常のレリーズ動作を露光時間
の後半に実行し、この様にして、前半駆動の半露光間ズ
ーム動作が、全露光時間に渡り完了する。
After this, step S4005, step S
4007, step S4009, step S4011,
After sequentially performing step S4071 and step S4073,
When the zoom time between exposures in the first half drive has elapsed, as described above in step S4075, BODY-ST
The ATE1 communication is executed to transmit to the power zoom lens 51 side that the release operation is in progress, the film is not being wound up, the IPZ operation is prohibited, and the manual power zoom operation is prohibited. As a result, even if the state in which the zoom operation ring 78 is rotationally driven by the photographer continues even after the exposure-exposure zoom time elapses, the manual power zoom is prohibited from this point,
In this way, the power zooming operation in the first half of the exposure time in the half-exposure half-exposure zoom mode is completed. After that, the normal release operation described with reference to step S4015 and subsequent steps is executed in the latter half of the exposure time, and the half-exposure half-exposure zoom operation in the first half drive is performed in the entire exposure time in this manner. The migration is completed.

【0383】一方、上述したステップS4053におい
て半露光間ズームモードが設定され、且つ、ステップS
4085において、後半駆動が設定されていると判別さ
れると、上述したステップS4057に進み、これ以降
の制御手順を上述した様にして、順次実行する。即ち、
露光時間の後半に実行されるマニュアルパワーズーミン
グ動作における露光間ズームのズーミング方向、ズーミ
ング時間、そして、ズーミング速度を順次設定する。そ
して、上述したステップS4071において後半駆動と
判別される事により、ステップS4077に進み、設定
された露出時間からパワーズームが実行されるズーミン
グ時間を減じた時間の経過を待つ。この経過後、引き続
くステップS4079において半露光間ズームモードで
あると判断されると、ステップS4087において、パ
ワーズームレンズ51の可変情報をカメラボディ11側
に送る為のLENZ−INF1通信を実行し、ズーム操
作リング78が回動される事によりオン/オフされるパ
ワーズームスイッチPZSWのオン/オフ状態、即ち、
ズーム操作リング78がテレ方向に回動されているかワ
イド方向に回動されているかの情報をボディ11側に通
信する。
On the other hand, in step S4053, the half-exposure zoom mode is set, and
If it is determined at 4085 that the latter half drive is set, then the flow proceeds to step S4057 described above, and the subsequent control procedure is sequentially executed as described above. That is,
In the manual power zooming operation executed in the latter half of the exposure time, the zooming direction of the inter-exposure zoom, the zooming time, and the zooming speed are sequentially set. Then, when the latter half drive is determined in step S4071 described above, the process advances to step S4077, and waits for the time obtained by subtracting the zooming time for performing the power zoom from the set exposure time. After this elapses, if it is determined in the subsequent step S4079 that the mode is the half-exposure zoom mode, in step S4087, the LENZ-INF1 communication for sending the variable information of the power zoom lens 51 to the camera body 11 side is executed, and the zoom is performed. The on / off state of the power zoom switch PZSW, which is turned on / off by rotating the operation ring 78, that is,
Information on whether the zoom operation ring 78 is rotated in the tele direction or in the wide direction is communicated to the body 11 side.

【0384】そして、引き続くステップS4089にお
いて、ステップS4087で得た情報に基づき、ズーム
操作リング78が回動されているか否かを判断し、ここ
でズーム操作リング78が回動されていると判断される
場合には、ステップS4091に進み、ここで、BOD
Y−STATE1通信を実行して、レリーズ動作中であ
る事、フィルム巻上中ではない事、IPZ動作の禁止状
態、及び、マニュアルパワーズーム動作の許可状態をパ
ワーズームレンズ51側に送信する。この結果、上述し
た様に、ズーム操作リング78が撮影者により既に回動
駆動されている状態であるので、その回動量に応じたパ
ワーズーミング速度でマニュアルパワーズームが実行さ
れる事になる。即ち、マニュアルパワーズームにおける
半露光間ズームの後半駆動が実行される事になる。
Then, in the following step S4089, it is determined whether or not the zoom operation ring 78 is rotated based on the information obtained in step S4087, and it is determined that the zoom operation ring 78 is rotated here. If so, go to step S4091, where BOD
The Y-STATE 1 communication is executed to transmit to the power zoom lens 51 side that the release operation is being performed, the film is not being wound, the IPZ operation is prohibited, and the manual power zoom operation is allowed. As a result, as described above, since the zoom operation ring 78 is already rotationally driven by the photographer, the manual power zoom is executed at the power zooming speed according to the rotational amount. That is, the second half drive of the half-exposure zoom in the manual power zoom is executed.

【0385】一実施例においては、マニュアルパワーズ
ームにおける半露光間ズームモードが設定された場合に
おいて、前半駆動が設定された場合でも、後半駆動が設
定された場合でも、撮影者によるズーム操作リング78
の回動量に基づくズーミング速度でマニュアルパワーズ
ームが実行される事になる。この様に、ステップS40
91においてマニュアルパワーズームが許可されて、後
半駆動の半露光間ズームモードにおける露光時間の後半
のパワーズーミング動作が開始された後は、上述したス
テップS4015以降を参照して説明した所のレリーズ
動作を実行し、この様にして、後半駆動の半露光間ズー
ム動作が全露光時間に渡り完了する。
In one embodiment, when the half-exposure zoom mode in the manual power zoom is set, the zoom operation ring 78 by the photographer is set regardless of whether the first half drive is set or the second half drive is set.
The manual power zoom is executed at the zooming speed based on the rotation amount of the. In this way, step S40
After the manual power zoom is permitted in 91 and the power zooming operation in the latter half of the exposure time in the half-exposure half-exposure zoom mode is started, the release operation described with reference to step S4015 and subsequent steps is performed. The zoom operation during the half-exposure in the latter half drive is completed over the entire exposure time.

【0386】一方、上述したステップS4089におい
て、ズーム操作リング78が回動されていないと判断さ
れる場合には、上述したステップS4055と同様な考
えの元に、即ち、例え、マニュアルパワーズームにおけ
る半露光間ズームモードが設定されていたとしても、ズ
ーム操作リング78が回動駆動されていなければ、撮影
者が実際にはマニュアルパワーズームによる半露光間ズ
ームの開始を意図していないものと判断し、上述したス
テップS4081に進み、指定方向または指定したメモ
リに記憶された所定距離にパワーズームさせるMOVE
−PZMDコマンドをパワーズームレンズ51側に出
し、カメラ側でのオート露光間ズーム動作を露光時間の
後半に実行する事になる。この後は、上述したステップ
S4015以降を参照して説明した所のレリーズ動作を
実行し、この様にして、後半駆動の半露光間ズーム動作
が全露光時間に渡り完了する。
On the other hand, when it is determined in step S4089 described above that the zoom operation ring 78 has not been rotated, the same idea as in step S4055 described above is used, that is, in the case of manual power zooming, for example. Even if the during-exposure zoom mode is set, if the zoom operation ring 78 is not rotationally driven, it is determined that the photographer does not actually intend to start the half-exposure zoom by the manual power zoom. The process proceeds to step S4081 described above, and the power is zoomed to the specified direction or the specified distance stored in the specified memory.
The -PZMD command is issued to the power zoom lens 51 side, and the auto-exposure zoom operation on the camera side is executed in the latter half of the exposure time. After that, the release operation described with reference to step S4015 and subsequent steps is executed, and in this way, the half-exposure half-exposure zoom operation of the second half drive is completed over the entire exposure time.

【0387】『レリーズ処理における露光間ズームのま
とめ』以上説明したレリーズ処理における露光間ズーム
の制御状態を表16にまとめて示している。
[Summary of In-Exposure Zoom in Release Process] Table 16 collectively shows the control state of the in-exposure zoom in the release process described above.

【0388】[0388]

【表16】 この表16から明らかな様に、シャッタ設定がバルブで
ある場合には、前半駆動であるか後半駆動であるかの区
別は無く、撮影者の意図に基づく任意の期間にマニュア
ルパワーズームが実行される事になる。
[Table 16] As is clear from Table 16, when the shutter setting is the valve, there is no distinction between the first half drive and the second half drive, and the manual power zoom is executed in an arbitrary period based on the photographer's intention. Will be

【0389】一方、所定の露光時間が設定された通常の
シャッタモードにおいては、まず、前半駆動モードで、
半露光間ズームが設定された状態において、ズーム操作
リング78が回動された場合には、露光間ズーム制御フ
ラグF EXZCTLがセットされ、露光時間の前半に
おいてのみマニュアルパワーズームが許可され、露光時
間の後半におけるマニュアルパワーズームは禁止され、
また、オート露光間ズームは全露光時間に渡り停止され
ている。また、ズーム操作リング78が回動されていな
い場合には、露光時間の前半においてのみオートパワー
ズームが実行され、この前半におけるマニュアルパワー
ズームは禁止され、また、露光時間の後半におけるマニ
ュアルパワーズームは禁止されると共に、オートパワー
ズームは停止されている。
On the other hand, in the normal shutter mode in which the predetermined exposure time is set, first, in the first half drive mode,
When the zoom operation ring 78 is rotated with the half-exposure zoom set, the during-exposure zoom control flag F is displayed. EXZCTL is set, manual power zoom is allowed only in the first half of the exposure time, manual power zoom is prohibited in the second half of the exposure time,
In addition, the zoom during automatic exposure is stopped for the entire exposure time. When the zoom operation ring 78 is not rotated, the auto power zoom is performed only in the first half of the exposure time, the manual power zoom in the first half is prohibited, and the manual power zoom in the second half of the exposure time is not performed. It is prohibited and the auto power zoom is stopped.

【0390】また、前半駆動モードで、半露光間ズーム
が設定されていない状態において、ズーム操作リング7
8が回動された場合には、露光間ズーム制御フラグF
EXZCTLがクリアされ、全露光時間に渡るマニュア
ルパワーズームが許可され、全露光時間に渡るオートパ
ワーズームが停止されている。また、ズーム操作リング
78が回動されていない状態においては、露光間ズーム
制御フラグF EXZCTLがセットされ、全露光時間
に渡るマニュアルパワーズームが禁止され、露光時間の
前半におけるオートパワーズームが実行され、そして、
露光時間の後半におけるオートパワーズームが停止され
ている。
Also, in the first half drive mode, in the state where the zoom during half exposure is not set, the zoom operation ring 7
When 8 is rotated, the during-exposure zoom control flag F
The EXZCTL is cleared, the manual power zoom for the entire exposure time is permitted, and the automatic power zoom for the entire exposure time is stopped. When the zoom operation ring 78 is not rotated, the during-exposure zoom control flag F is displayed. EXZCTL is set, manual power zoom is prohibited for the entire exposure time, auto power zoom is performed in the first half of the exposure time, and
The auto power zoom is stopped in the latter half of the exposure time.

【0391】更に、後半駆動モードで、半露光間ズーム
が設定され、且つ、ズーム操作リング78が回動された
場合には、露光間ズーム制御フラグF EXZCTLが
セットされ、ズーム操作リング78が露光時間の後半に
おいてのみマニュアルパワーズームが許可され、露光時
間の前半におけるマニュアルパワーズームは禁止され、
また、オート露光間ズームは全露光時間に渡り停止され
ている。また、ズーム操作リング78が回動されていな
い場合には、露光間ズーム制御フラグF EXZCTL
がセットされ、露光時間の後半においてのみオートパワ
ーズームが実行され、この前半におけるマニュアルパワ
ーズームは禁止され、また、露光時間の前半におけるマ
ニュアルパワーズームは禁止されると共に、オートパワ
ーズームは停止されている。
Further, in the latter half drive mode, when the half exposure zoom is set and the zoom operation ring 78 is rotated, the during exposure zoom control flag F is set. With EXZCTL set, the zoom operation ring 78 permits the manual power zoom only in the latter half of the exposure time, and prohibits the manual power zoom in the first half of the exposure time.
In addition, the zoom during automatic exposure is stopped for the entire exposure time. When the zoom operation ring 78 is not rotated, the during-exposure zoom control flag F EXZCTL
Is set, the auto power zoom is executed only in the latter half of the exposure time, the manual power zoom in the first half is prohibited, and the manual power zoom in the first half of the exposure time is prohibited and the auto power zoom is stopped. There is.

【0392】また、後半駆動モードで、半露光間ズーム
が設定されていない状態において、ズーム操作リング7
8が回動されている場合には、露光間ズーム制御フラグ
EXZCTLがクリアされ、全露光時間に渡るマニュ
アルパワーズームが許可され、全露光時間に渡るオート
パワーズームが停止されている。そして、ズーム操作リ
ング78が回動されていない場合には、露光間ズーム制
御フラグF EXZCTLがセットされ、全露光時間に
渡るマニュアルパワーズームが禁止され、露光時間の後
半におけるオートパワーズームが実行され、そして、露
光時間の前半におけるパワーズームが停止されている。
In the latter half drive mode, zooming during half exposure is performed.
When the is not set, the zoom operation ring 7
If 8 is rotated, zoom control flag between exposures
F EXZCTL is cleared and the manual is displayed for the entire exposure time.
Al power zoom is allowed and auto over the entire exposure time
Power zoom is stopped. Then, zoom operation
If the zoom 78 is not rotated, the zoom control during exposure is performed.
Your flag F EXZCTL is set and the total exposure time is
Manual power zoom across is prohibited and after exposure time
Auto power zoom in half is performed and the dew
The power zoom is stopped in the first half of the light time.

【0393】『露光間ズームにおけるズーミング方向の
セット手順』次に、図93Aを参照して、上述したステ
ップS4059における露光間ズームを実行する際のズ
ーミング方向のセット手順を、レリーズ処理のサブルー
チンとして詳細に説明する。
[Procedure for setting the zooming direction in the inter-exposure zoom] Next, referring to FIG. 93A, the procedure for setting the zooming direction when executing the inter-exposure zoom in step S4059 described above will be described in detail as a release processing subroutine. Explained.

【0394】ここで、この一実施例においては、詳細は
後に説明するが、パワーズームレンズ51で設定されて
いる現在の焦点距離に応じて、露光間ズームにおけるズ
ーミング方向が規定される様に構成されている。
In this embodiment, the details will be described later, but the zooming direction in the inter-exposure zoom is defined according to the current focal length set by the power zoom lens 51. Has been done.

【0395】即ち、ステップS4059に制御手順が進
むと、ステップS4101において、ズーミング方向が
予め設定されているか否かを判断する。即ち、図示しな
い機能セット手段においてズーミング方向が予め定めら
れ、既にE2 PROMに記憶されていると判断される場
合には、ステップS4103に進み、ここで、E2 PR
OMに記憶されたズーミング方向を読み出し、引き続く
ステップS4105で、ステップS4103で読み出し
たズーミング方向をMOVE PZMDコマンドのビッ
トB4またはB5にセットし、制御手順を終了して、元
のメインルーチンにリターンする。即ち、E2 PROM
に記憶されたズーミング方向がテレ方向である場合に
は、MOVE PZMDコマンドのビットB4を1にセ
ットし、ビットB5を0にクリアする。一方、E2 PR
OMに記憶されたズーミング方向がワイド方向である場
合には、MOVE PZMDコマンドのビットB4を0
にクリアし、ビットB5を1にセットする。この結果、
露光間ズームが実行される際において、上述したステッ
プS4059が実行される事により、ステップS410
5においてセットされたズーミング方向が設定され、こ
の設定されたズーミング方向でパワーズーミングが実施
される事になる。
That is, when the control procedure advances to step S4059, it is determined in step S4101 whether or not the zooming direction is preset. That is, when it is determined that the zooming direction is predetermined by the function setting means (not shown) and is already stored in the E 2 PROM, the process proceeds to step S4103, where the E 2 PR is set.
The zooming direction stored in the OM is read out, and in the subsequent step S4105, the zooming direction read out in step S4103 is moved. The bit B4 or B5 of the PZMD command is set, the control procedure is terminated, and the process returns to the original main routine. That is, E 2 PROM
If the zooming direction stored in is the tele direction, MOVE The bit B4 of the PZMD command is set to 1 and the bit B5 is cleared to 0. On the other hand, E 2 PR
If the zooming direction stored in the OM is the wide direction, MOVE Set bit B4 of PZMD command to 0
And clear bit B5 to 1. As a result,
When the zoom between exposures is executed, the above-mentioned step S4059 is executed, so that step S410 is executed.
The zooming direction set in 5 is set, and power zooming is performed in this set zooming direction.

【0396】一方、上述したステップS4101におい
てズーミング方向が予め設定されていないと判断される
場合には、ステップS4107に進み、ここで上述した
ステップS4047で得たコマンドPZ−LSTATE
のビットB3の情報に基づき、パワーズームレンズ51
のズーム位置(即ち、焦点距離)がワイド端にあるか否
かを判断する。このステップS4107においてズーム
位置がワイド端にあると判断される場合には、ステップ
S4109に進み、ズーミング方向をテレ方向に、即
ち、テレ端に向けてズーミングする様にズーミング方向
をセットし、制御手順を終了してメインルーチンにリタ
ーンする。また、このステップS4107においてズー
ム位置がワイド端にはないと判断される場合には、ステ
ップS4111に進み、コマンドPZ−LSTATEの
ビットB2の情報に基づき、パワーズームレンズ51が
ズーム位置がテレ端にあるか否かを判断する。このステ
ップS4111においてズーム位置がワイド端にあると
判断される場合には、ステップS4113に進み、ズー
ミング方向をワイド方向に、即ち、ワイド端に向けてズ
ーミングする様にズーミング方向をセットし、制御手順
を終了してメインルーチンにリターンする。
On the other hand, if it is determined in step S4101 that the zooming direction has not been set in advance, then the flow advances to step S4107, and the command PZ-LSTATE obtained in step S4047 described above.
Based on the information of the bit B3 of the power zoom lens 51
It is determined whether the zoom position (that is, the focal length) is at the wide end. When it is determined in step S4107 that the zoom position is at the wide end, the process proceeds to step S4109, and the zooming direction is set in the tele direction, that is, the zooming direction is set to zoom toward the tele end, and the control procedure is performed. Ends and returns to the main routine. If it is determined in step S4107 that the zoom position is not at the wide end, the process proceeds to step S4111, and the power zoom lens 51 sets the zoom position to the tele end based on the information of the bit B2 of the command PZ-LSTATE. Determine if there is. If it is determined in this step S4111 that the zoom position is at the wide end, the flow proceeds to step S4113, and the zooming direction is set to the wide direction, that is, the zooming direction is set to zoom toward the wide end, and the control procedure Ends and returns to the main routine.

【0397】ここで、ステップS4111においてパワ
ーズームレンズ51のズーム位置がテレ端に無いと判断
される場合、即ち、ステップS4107との関連におい
て、ズーム位置がテレ端にもワイド端にも無く、両者の
間に位置していると判断される場合には、ステップS4
115において、FOCALLEN−Xにのせるデータ
をカメラボディ側からレンズ側に知らせる為のコマンド
SET−PZPOINTのビットB3に「1」を立て、
現在の焦点距離をカメラボディ側に返す様にレンズ側に
指示し、引き続くステップS4117においてコマンド
FOCALLEN−Xを実行する事により現在の焦点距
離が実際にレンズ側からカメラボディ側に通信される事
になる。
Here, if it is determined in step S4111 that the zoom position of the power zoom lens 51 is not at the tele end, that is, in relation to step S4107, the zoom position is neither at the tele end nor at the wide end, and both If it is determined that the vehicle is located between the two, step S4
At 115, the bit B3 of the command SET-PZPOINT for informing the lens side of the data to be loaded on the FOCALLEN-X is set to "1",
By instructing the lens side to return the current focal length to the camera body side, and executing the command FOCALLEN-X in subsequent step S4117, the current focal length is actually communicated from the lens side to the camera body side. Become.

【0398】また、引き続くステップS4119におい
て、FOCALLEN−Xにのせるデータをカメラボデ
ィ側からレンズ側に知らせる為のコマンドSET−PZ
POINTのビットB1に「1」を立て、ワイド端の焦
点距離をカメラボディ側に返す様にレンズ側に指示し、
引き続くステップS4121においてコマンドFOCA
LLEN−Xを実行する事によりワイド端の焦点距離が
実際にレンズ側からカメラボディ側に通信される事にな
る。更に、引き続くステップS4123において、FO
CALLEN−Xにのせるデータをカメラボディ側から
レンズ側に知らせる為のコマンドSET−PZPOIN
TのビットB0に「1」を立て、テレ端の焦点距離をカ
メラボディ側に返す様にレンズ側に指示し、引き続くス
テップS4125においてコマンドFOCALLEN−
Xを実行する事によりテレ端の焦点距離が実際にレンズ
側からカメラボディ側に通信される事になる。
In the following step S4119, a command SET-PZ for informing the lens side of the data to be loaded on the FOCALLEN-X is given from the camera body side.
Set the bit B1 of POINT to "1" and instruct the lens side to return the focal length at the wide end to the camera body side.
In the following step S4121, the command FOCA
By executing LLEN-X, the focal length at the wide end is actually communicated from the lens side to the camera body side. Further, in the subsequent step S4123, FO
Command SET-PZPOIN for informing the lens side of the data to be placed on the CALLEN-X from the camera body side
The bit B0 of T is set to "1" to instruct the lens side to return the focal length at the tele end to the camera body side, and in the subsequent step S4125, the command FOCALLEN-
By executing X, the focal length at the telephoto end is actually communicated from the lens side to the camera body side.

【0399】この後、ステップS4127において、ス
テップS4121で読み込んだワイド端の焦点距離とス
テップS4125で読み込んだテレ端の焦点距離とを加
算した値に、1より小さい乗数A(この一実施例におい
ては、例えば1/2 )を掛け、その結果が、ステップS4
117で読み込んだ現在の焦点距離X以上であるか否か
を判断する。このステップS4125において、YES
と判断される場合、即ち、現在の焦点距離がテレ端とワ
イド端との中間よりもテレ端側にあると判断される場合
には、ステップS4113に進み、ズーミング方向をワ
イド方向に、即ち、ワイド端に向けてズーミングする様
にズーミング方向をセットする。一方、ステップS41
25において、NOと判断される場合、即ち、現在の焦
点距離がテレ端とワイド端との中間よりもワイド端側に
あると判断される場合には、ステップS4109に進
み、ズーミング方向をテレ方向に、即ち、テレ端に向け
てズーミングする様にズーミング方向をセットする。
After that, in step S4127, a multiplier A smaller than 1 is added to the value obtained by adding the wide-end focal length read in step S4121 and the tele-end focal length read in step S4125 (in this embodiment, in this embodiment). , For example, 1/2) and the result is step S4
It is determined whether or not the present focal length X read in 117 is longer than or equal to X. YES in step S4125.
If it is determined that the current focal length is closer to the tele end than the middle between the tele end and the wide end, the process proceeds to step S4113, and the zooming direction is set to the wide direction, that is, Set the zooming direction so that it zooms toward the wide end. On the other hand, step S41
25, if it is determined to be NO, that is, if the current focal length is determined to be on the wide end side rather than the middle between the tele end and the wide end, the process proceeds to step S4109, and the zooming direction is set to the tele direction. That is, the zooming direction is set so as to zoom toward the tele end.

【0400】実施例においては、現在のズーム位置(即
ち、焦点距離)がテレ端にある場合にはワイド端に向け
て、また、ワイド端にある場合には、テレ端に向けてズ
ーミングする様に、そのズーミング方向をセットされる
と共に、ワイド端にもテレ端にも無いと判断される場合
には、中間位置からワイド側にあるとテレ端に向けて、
また、中間位置からテレ側にあるとワイド端に向けてズ
ーミングする様に、そのズーミング方向をセットされる
様になされている。この様にして、この一実施例におい
ては、露光間ズームにおけるズーミング方向が現在の焦
点距離に応じて、カメラ側で適切に規定される事にな
る。
In the embodiment, when the current zoom position (that is, the focal length) is at the tele end, it is zoomed toward the wide end, and when it is at the wide end, zooming is performed toward the tele end. When the zooming direction is set, and it is judged that there is neither the wide end nor the tele end, if it is on the wide side from the intermediate position, toward the tele end,
Further, the zooming direction is set so that the zooming is performed toward the wide end when the zoom lens is on the tele side from the intermediate position. In this way, in this embodiment, the zooming direction in the inter-exposure zoom is properly defined on the camera side according to the current focal length.

【0401】尚、上述したズーミング方向の設定の為の
説明において、ステップS4127で設定される乗数は
1/2 であると説明したが、この発明は、この様な数値に
限定されることなく、1より小さい数であれば何でも良
く、例えば、1/3 に設定する等、1より小さい任意の数
に設定することが出来るものである。
In the above description for setting the zooming direction, the multiplier set in step S4127 is
Although it has been described as 1/2, the present invention is not limited to such a numerical value, and any number smaller than 1 may be used. For example, any value smaller than 1 such as 1/3 may be set. It can be set to a number.

【0402】「露光間ズームにおけるズーミング方向の
設定手順の変形例」また、上述したズーミング方向の設
定の為の制御手順においては、現在のズーム位置(即
ち、焦点距離)がワイド端にもテレ端にも無いと判断さ
れる場合には、中間位置からワイド側にあるとテレ端に
向けて、また、中間位置からテレ側にあるとワイド端に
向けてズーミングする様に、そのズーミング方向をセッ
トされる様に説明したが、この発明は、この様な制御手
順に限定されることなく、図93Bにその変形例として
示す様に構成しても良い。尚、図93Aで説明した一実
施例におけるステップと同一な内容のステップには同一
符号を付してその説明を省略する。
[Modification of Zooming Direction Setting Procedure in Zoom Between Exposures] In the control procedure for setting the zooming direction described above, the current zoom position (that is, the focal length) is set to the wide end or the tele end. If it is not found, set the zooming direction so that it zooms toward the tele end when it is on the wide side from the intermediate position and toward the wide end when it is on the tele side from the intermediate position. However, the present invention is not limited to such a control procedure, and may be configured as shown as a modified example in FIG. 93B. Incidentally, steps having the same contents as the steps in the embodiment described with reference to FIG. 93A are designated by the same reference numerals, and the description thereof will be omitted.

【0403】この変形例においては、具体的には、ステ
ップS4107で現在のズーム位置がワイド端にも無い
と判断される場合には、ステップS4111′に進み、
上述した一実施例の場合と同様に、コマンドPZ−LS
TATEのビットB2の情報に基づき、パワーズームレ
ンズ51がズーム位置がテレ端にあるか否かを判断す
る。このステップS4111′においてズーム位置がワ
イド端にあると判断される場合には、ステップS411
3に進み、ズーミング方向をワイド方向に、即ち、ワイ
ド端に向けてズーミングする様にズーミング方向をセッ
トし、制御手順を終了してメインルーチンにリターンす
る。
In this modified example, specifically, if it is determined in step S4107 that the current zoom position is not at the wide end, the process proceeds to step S4111 '.
As in the case of the above-described embodiment, the command PZ-LS is used.
Based on the information of the bit B2 of TATE, the power zoom lens 51 determines whether the zoom position is at the tele end. If it is determined in step S4111 'that the zoom position is at the wide end, step S411.
3, the zooming direction is set to the wide direction, that is, the zooming direction is set toward the wide end, the control procedure is ended, and the process returns to the main routine.

【0404】一方、ステップS4111′においてパワ
ーズームレンズ51のズーム位置がテレ端に無いと判断
される場合、即ち、ステップS4107との関連におい
て、ズーム位置がテレ端にもワイド端にも無く、両者の
間に位置していると判断される場合には、上述した一実
施例とは異なり、ステップS4109に進み、ズーミン
グ方向をテレ方向に、即ち、テレ端に向けてズーミング
する様にズーミング方向をセットし、制御手順を終了し
てメインルーチンにリターンする。
On the other hand, when it is determined in step S4111 'that the zoom position of the power zoom lens 51 is not at the tele end, that is, in relation to step S4107, the zoom position is neither at the tele end nor at the wide end, and both If it is determined that the zooming direction is located between the two, unlike the above-described embodiment, the process proceeds to step S4109, and the zooming direction is set to the tele direction, that is, the zooming direction is set so as to zoom toward the tele end. Set, end the control procedure, and return to the main routine.

【0405】即ち、この変形例においては、現在のズー
ム位置がテレ端にある場合にのみズーミング方向をワイ
ド方向にセットし、これ以外の場合、即ち、ワイド端を
含みワイド端とテレ端との間に現在のズーム位置がある
場合には、全て、ズーミング方向をテレ方向にセットす
る様に構成されている。この様にして、の露光間ズーム
において最も良く用いられる所の、テレ方向のズーミン
グ方向を原則的に採用し、但し、全てのズーミング方向
をテレ方向に設定すると、テレ端にある場合にはズーミ
ングが行われずに、露光間ズームが実質的に実行されな
くなるので、この場合にのみ、ズーミング方向をワイド
方向となる様に設定している。この結果、簡単な制御内
容で、最も良く用いられる露光間ズームが確実に実行さ
れる事になる。
That is, in this modification, the zooming direction is set to the wide direction only when the current zoom position is at the tele end, and in other cases, that is, the wide end and the tele end are included including the wide end. If there is a current zoom position between them, all are configured to set the zooming direction to the tele direction. In this way, the telescopic zooming direction, which is most often used in the during-exposure zooming, is adopted in principle. However, if all the zooming directions are set to the telescopic direction, the zooming will be performed at the tele end. However, the zoom between exposures is substantially not executed, and only in this case, the zooming direction is set to the wide direction. As a result, the most frequently used inter-exposure zoom can be reliably executed with simple control contents.

【0406】『露光間ズームにおけるズーミング速度の
セット手順』次に、図93Cを参照して、上述したステ
ップS4063における露光間ズームを実行する際のズ
ーミング速度のセット手順を、レリーズ処理のサブルー
チンとして詳細に説明する。
[Setting Procedure for Zooming Speed in Zoom Between Exposures] Next, with reference to FIG. 93C, the procedure for setting the zooming speed when executing the zoom between exposures in step S4063 described above will be described in detail as a subroutine of release processing. Explained.

【0407】ここで、このステップS4063において
は、後に詳細に説明するが、ズーミング速度は、現在の
焦点距離、露光間ズームのズーミング方向、シャッター
速度を考慮して、露光終了時において、少なくともズー
ム位置がテレ端またはワイド端に到達せずに、ズーミン
グ動作が終了していない状態が達成される様に予め設定
されている。
Here, in step S4063, which will be described in detail later, the zooming speed is at least the zoom position at the end of the exposure in consideration of the current focal length, the zooming direction of the inter-exposure zoom, and the shutter speed. Is set in advance so that the state where the zooming operation is not completed is achieved without reaching the tele end or the wide end.

【0408】即ち、露光終了前にズーム動作が終了する
と、撮影された写真像に、2つの画像芯(ズーミングが
実行されない露光時間前半の露出で形成された第1の画
像芯と、露光時間後半において露光終了前にズーム動作
が終了してしまう事により形成された第2の画像芯)が
写し出される事になり好ましくない。特に、後半ズーミ
ングにおけるズーミング速度をズーム操作リング78の
回動量に応じて設定すると、仮に撮影者がズーム操作リ
ング78を最大限まで回動させた場合に、ズーミング速
度は最大速度に設定される事となり、ここで露光時間が
長く設定されている場合には、上述した様に露光終了前
にズーム動作が終了してしまう事態が発生して、2つの
画像芯が写し出される虞がある。しかしながら、この一
実施例においては、ズーミング速度はカメラ側で2つの
画像芯が形成されない様に自動的に設定される事になる
ので、この様な露光終了前にズーム動作が終了して、撮
影された写真像に2つの画像芯が写し出される事が確実
に防止される事になる。
That is, when the zooming operation is completed before the exposure is finished, two image cores (the first image core formed by the exposure in the first half of the exposure time when zooming is not executed and the latter half of the exposure time) are formed in the photographed photographic image. In 2), the second image center formed by the zoom operation ending before the exposure ends is exposed, which is not preferable. Particularly, if the zooming speed in the latter half zooming is set according to the amount of rotation of the zoom operation ring 78, if the photographer rotates the zoom operation ring 78 to the maximum, the zooming speed is set to the maximum speed. Therefore, if the exposure time is set to be long here, the zoom operation may end before the exposure ends, as described above, and two image cores may be projected. However, in this embodiment, the zooming speed is automatically set on the camera side so that two image cores are not formed. It is possible to reliably prevent the two image cores from being projected on the photographed image.

【0409】また、この一実施例においては、上述した
様に撮影された写真像に2つの画像芯が写し出される事
を防止する為に、ズーミング速度を最低速の1速から最
高速の4速までの間で4段階に分けて選択する様に設定
されている。尚、4速は3速の2倍の速さに、4速は2
速の3倍の速さに、4速は1速の4倍の速さになる様
に、夫々設定されている。
Further, in this embodiment, in order to prevent two image cores from appearing in the photographed image as described above, the zooming speed is changed from the lowest speed of 1 speed to the highest speed of 4 speed. It is set to select in four steps up to. In addition, 4th gear is twice as fast as 3rd gear and 4th gear is 2
The speed is set to three times the speed, and the fourth speed is set to four times the first speed.

【0410】先ず、ステップS4063に制御手順が進
むと、ステップS4201において、ズーミング速度が
予め設定されているか否かを判断する。即ち、図示しな
い機能セット手段においてズーミング速度が予め定めら
れ、既にE2 PROMに記憶されていると判断される場
合には、ステップS4203に進み、ここで、E2 PR
OMに記憶されたズーミング速度を読み出し、引き続く
ステップS4205で、ステップS4203で読み出し
たズーミング速度をMOVE PZMDコマンドのビッ
トB6またはB7にセットし、制御手順を終了して、元
のメインルーチンにリターンする。即ち、E2 PROM
に記憶されたズーミング速度が最高速である場合には、
MOVE PZMDコマンドのビットB6を0にクリア
し、ビットB7を0にクリアする。一方、E2 PROM
に記憶されたズーミング速度が最低速である場合には、
MOVE PZMDコマンドのビットB6を1にセット
し、ビットB7を1にセットする。この結果、露光間ズ
ームが実行される際において、上述したステップS40
63が実行される事により、ステップS4205におい
てセットされたズーミング速度が設定され、この設定さ
れたズーミング速度でパワーズーミングが実施される事
になる。
First, when the control procedure advances to step S4063, it is determined in step S4201 whether or not the zooming speed is preset. That is, when it is determined that the zooming speed is predetermined by the function setting means (not shown) and is already stored in the E 2 PROM, the process proceeds to step S4203, where the E 2 PR is set.
The zooming speed stored in the OM is read out, and in the subsequent step S4205, the zooming speed read out in step S4203 is moved. The bit B6 or B7 of the PZMD command is set, the control procedure is terminated, and the process returns to the original main routine. That is, E 2 PROM
If the zooming speed stored in is the fastest,
MOVE Bit B6 of the PZMD command is cleared to 0 and bit B7 is cleared to 0. On the other hand, E 2 PROM
If the zooming speed stored in is the lowest,
MOVE Bit B6 of the PZMD command is set to 1 and bit B7 is set to 1. As a result, when performing the zoom between exposures, the above-described step S40 is performed.
By executing 63, the zooming speed set in step S4205 is set, and power zooming is performed at the set zooming speed.

【0411】一方、上述したステップS4201におい
てズーミング速度が予め設定されていないと判断される
場合には、ステップS4207に進み、上述したステッ
プS4059で設定されたズーミング方向がテレ方向で
あるかワイド方向であるかを判断する。このステップS
4207においてズーミング方向がテレ方向であると判
断された場合には、ステップS4209に進み、コマン
ドPZTIME−XTOTを実行する。このコマンドP
ZTIME−XTOTは、現在のズーム位置からテレ端
まで、最高速の4速でパワーズーミングさせた際の駆動
時間を読み出させる為のコマンドである。一方、ステッ
プS4207においてズーミング方向がワイド方向であ
ると判断される場合には、ステップS4211に進み、
コマンドPZTIME−XTOWを実行する。このコマ
ンドPZTIME−XTOWは、現在のズーム位置から
ワイド端まで、最高速の4速でパワーズーミングさせた
際の駆動時間を読み出させる為のコマンドである。尚、
これらコマンドPZTIME−XTOT及びPZTIM
E−XTOWは、夫々サブルーチンとして後に具体的に
説明する。
On the other hand, if it is determined in step S4201 that the zooming speed has not been set in advance, the process advances to step S4207, and the zooming direction set in step S4059 described above is either the tele direction or the wide direction. Determine if there is. This step S
If it is determined in 4207 that the zooming direction is the tele direction, the process advances to step S4209 to execute the command PZTIME-XTOT. This command P
ZTIME-XTOT is a command for reading the driving time when power zooming is performed from the current zoom position to the tele end at the highest speed of the fourth speed. On the other hand, if it is determined in step S4207 that the zooming direction is the wide direction, then the flow proceeds to step S4211.
Execute the command PZTIME-XTOW. This command PZTIME-XTOW is a command for reading the drive time when power zooming is performed from the current zoom position to the wide end at the highest speed of the fourth speed. still,
These commands PZTIME-XTOT and PZTIM
The E-XTOW will be specifically described later as a subroutine.

【0412】この様にステップS4209またはステッ
プS4211において、夫々のズーミング方向に応じた
駆動時間を読み出した後、ステップS4213に進み、
この読み出した駆動時間が、上述したステップS406
1で設定した所の、露光間ズームを実行する際のズーミ
ング時間よりも長いか否かを判断する。このステップS
4213において駆動時間がズーミング時間よりも長い
と判断される場合には、ステップS4215に進み、ズ
ーミング速度を最高速である4速に設定し、制御手順を
終了して、メインルーチンにリターンする。即ち、例
え、ズーミング速度を最高速である4速に設定したとし
ても、露光間ズームにおいて露光時間内にズーミングが
実行される時間(ズーミング時間)よりも、実際に、ズ
ームモータ65が駆動される時間(駆動時間)よりも長
くなるので、露光間ズームが終了した時点で、少なくと
もズーミング動作は実行され続けられている状態が達成
され、従って、上述した様にして、撮影された写真像に
1つのみの画像芯しか写し出されずに、2つの画像芯が
写し出される事が確実に防止される事になる。
[0412] In this way, in step S4209 or step S4211, after the driving times corresponding to the respective zooming directions are read out, the flow proceeds to step S4213.
The read drive time is the same as the above-described step S406.
It is determined whether the time set in 1 is longer than the zooming time for executing the inter-exposure zoom. This step S
If it is determined at 4213 that the drive time is longer than the zooming time, the process proceeds to step S4215, the zooming speed is set to the highest speed, that is, the fourth speed, the control procedure is terminated, and the process returns to the main routine. That is, for example, even if the zooming speed is set to the highest speed, that is, the fourth speed, the zoom motor 65 is actually driven more than the time (zooming time) during which zooming is performed within the exposure time in the zoom between exposures. Since the time becomes longer than the time (driving time), at least the zooming operation is continued to be executed at the time when the inter-exposure zoom is completed. It is possible to reliably prevent two image cores from being projected without projecting only one image core.

【0413】一方、上述したステップS4213におい
て、駆動時間がズーミング時間よりも長くないと判断さ
れる場合には、ステップS4217に進み、ここで、駆
動時間を2倍した値がズーミング時間よりも長いか否か
を判断する。このステップS4217においてYESと
判断される場合、即ち、駆動時間そのものはズーミング
時間よりも長く無いが、駆動時間の2倍の時間がズーミ
ング時間よりも長いと判断される場合には、ステップS
4219に進み、ズーミング速度を最高速の1/2 である
3速に設定し、制御手順を終了して、メインルーチンに
リターンする。
On the other hand, if it is determined in step S4213 described above that the drive time is not longer than the zooming time, the flow advances to step S4217 to determine whether the value obtained by doubling the drive time is longer than the zooming time. Determine whether or not. If YES is determined in this step S4217, that is, if the driving time itself is not longer than the zooming time but twice the driving time is longer than the zooming time, the step S4 is performed.
In step 4219, the zooming speed is set to the third speed which is 1/2 of the maximum speed, the control procedure is ended, and the process returns to the main routine.

【0414】即ち、ズーミング速度を最高速である4速
に設定した場合には、露光間ズームにおいて露光時間内
においてズーミングが実行される時間(ズーミング時
間)内に、ズームモータ65が駆動される時間(駆動時
間)が終了して、2つの画像芯が形成されてしまうが、
ズーミング速度を3速に遅くした場合には、露光間ズー
ムにおいて露光時間内にズーミングが実行される時間
(ズーミング時間)よりも、実際に、ズームモータ65
が駆動される時間(駆動時間)よりも長くなるので、露
光間ズームが終了した時点で、少なくともズーミング動
作は実行され続けられている状態が達成され、従って、
上述した様にして、撮影された写真像に1つのみの画像
芯しか写し出されずに、2つの画像芯が写し出される事
が確実に防止される事になる。
That is, when the zooming speed is set to the highest speed, that is, the fourth speed, the time period during which the zoom motor 65 is driven within the time period (zooming time period) during which zooming is performed within the exposure time period during zooming during exposure. (Driving time) ends and two image cores are formed,
When the zooming speed is reduced to the third speed, the zoom motor 65 is actually longer than the time (zooming time) during which zooming is performed within the exposure time in the zoom between exposures.
Is longer than the driving time (driving time), so at the end of the inter-exposure zoom, at least the zooming operation is continued to be executed, and therefore,
As described above, it is possible to reliably prevent only two image cores from being projected on the photographed image, and two image cores from being projected.

【0415】また、上述したステップS4217におい
て、駆動時間の2倍の時間がズーミング時間よりも長く
ないと判断される場合には、ステップS4221に進
み、ここで、駆動時間を3倍した値がズーミング時間よ
りも長いか否かを判断する。このステップS4221に
おいてYESと判断される場合、即ち、駆動時間を2倍
した時間はズーミング時間よりも長く無いが、駆動時間
の3倍の時間がズーミング時間よりも長いと判断される
場合には、ステップS4223に進み、ズーミング速度
を最高速の1/3 である2速に設定し、制御手順を終了し
て、メインルーチンにリターンする。
If it is determined in step S4217 described above that the time that is twice the drive time is not longer than the zooming time, the flow advances to step S4221, where the value obtained by multiplying the drive time by three is the zooming time. Judge whether it is longer than time. If YES is determined in this step S4221, that is, if the time obtained by doubling the driving time is not longer than the zooming time, but it is determined that the time three times the driving time is longer than the zooming time, The process advances to step S4223, the zooming speed is set to the second speed which is 1/3 of the maximum speed, the control procedure is ended, and the process returns to the main routine.

【0416】即ち、ズーミング速度を3速に設定した場
合には、露光間ズームにおいて露光時間内においてズー
ミングが実行される時間(ズーミング時間)内に、ズー
ムモータ65が駆動される時間(駆動時間)が終了し
て、2つの画像芯が形成されてしまうが、ズーミング速
度を2速に遅くした場合には、露光間ズームにおいて露
光時間内にズーミングが実行される時間(ズーミング時
間)よりも、実際に、ズームモータ65が駆動される時
間(駆動時間)よりも長くなるので、露光間ズームが終
了した時点で、少なくともズーミング動作は実行され続
けられている状態が達成され、従って、上述した様にし
て、撮影された写真像に1つのみの画像芯しか写し出さ
れずに、2つの画像芯が写し出される事が確実に防止さ
れる事になる。
That is, when the zooming speed is set to the third speed, the time (driving time) during which the zoom motor 65 is driven within the time (zooming time) during which zooming is executed within the exposure time in the inter-exposure zoom. Ends, and two image cores are formed, but when the zooming speed is slowed down to the second speed, the actual zooming time is longer than the time (zooming time) during which the zooming is performed within the exposure time in the zoom between exposures. In addition, since it becomes longer than the time (driving time) for driving the zoom motor 65, at least the zooming operation is continued to be executed at the time when the inter-exposure zoom is completed. Therefore, as described above, As a result, it is possible to reliably prevent only two image cores from being projected in the photographed image, and two image cores from being projected.

【0417】一方、上述したステップS4221で駆動
時間の3倍の時間がズーミング時間よりも長くないと判
断される場合には、ステップS4225に進み、ここ
で、ズーミング速度を最高速の1/4 である最低速1速に
設定し、制御手順を終了して、メインルーチンにリター
ンする。即ち、ズーミング速度を2速に設定した場合に
は、露光間ズームにおいて露光時間内においてズーミン
グが実行される時間(ズーミング時間)内に、ズームモ
ータ65が駆動される時間(駆動時間)が終了して、2
つの画像芯が形成されてしまうが、ズーミング速度を最
低速の1速まで遅くした場合には、露光間ズームにおい
て露光時間内にズーミングが実行される時間(ズーミン
グ時間)よりも、実際に、ズームモータ65が駆動され
る時間(駆動時間)よりも長くなるので、露光間ズーム
が終了した時点で、少なくともズーミング動作は実行さ
れ続けられている状態が達成され、従って、上述した様
にして、撮影された写真像に1つのみの画像芯しか写し
出されずに、2つの画像芯が写し出される事が確実に防
止される事になる。
On the other hand, if it is determined in step S4221 that the time three times the driving time is not longer than the zooming time, the process proceeds to step S4225, where the zooming speed is set to 1/4 of the maximum speed. A certain minimum speed is set to the first speed, the control procedure is terminated, and the process returns to the main routine. That is, when the zooming speed is set to the second speed, the time (driving time) for driving the zoom motor 65 ends within the time (zooming time) during which zooming is performed within the exposure time in the inter-exposure zoom. 2
Although two image cores are formed, if the zooming speed is slowed down to the minimum speed of 1st, the actual zooming time will be shorter than the time (zooming time) during which zooming is performed within the exposure time during zooming between exposures. Since it becomes longer than the time (driving time) for which the motor 65 is driven, at least the zooming operation is continued to be executed at the end of the inter-exposure zoom. Therefore, as described above, the photographing operation is performed. It is possible to reliably prevent two image cores from being projected on the captured photographic image because only one image core is projected.

【0418】以上詳述した様に、この一実施例における
露光間ズームの際のズーミング速度のセットの為の制御
手順を構成する事により、いかなるズーミング速度が設
定されようと、露光間ズームモードにおいて撮影された
写真像に1つのみの画像芯しか写し出されずに、2つの
画像芯が写し出される事が確実に防止される事になる。
As described above in detail, by configuring the control procedure for setting the zooming speed at the time of zooming during exposure in this embodiment, no matter what zooming speed is set, the zoom mode during exposure can be set. It is possible to reliably prevent two image cores from being projected, since only one image core is projected in the photographed image.

【0419】「コマンドPZTIME−XTOTの実行
手順」ここで、図93Dを参照して、上述したステップ
S4209でコマンドPZTIME−XTOTがカメラ
ボディ11側のCPU35から出力された際の、パワー
レンズ51側のCPU61の実行手順を具体的に説明す
る。先ず、このコマンドPZTIME−XTOTがカメ
ラボディ11側のCPU35から出力されると、ステッ
プS4301においてコマンド受信完了信号をカメラボ
ディ11側のCPU35に出力し(返し)、ステップS
4303において、現在のズーミング位置(焦点距離)
からテレ端まで最高速の4速で移動した場合の移動時間
データを出力する。この後、ステップS4305におい
て、データ送信完了信号を出力し、ステップS4307
において、通信割り込みを許可して、元のルーチンにリ
ターンする。
[Procedure for Executing Command PZTIME-XTOT] Here, referring to FIG. 93D, the power lens 51 side when the command PZTIME-XTOT is output from the CPU 35 on the camera body 11 side in step S4209 described above. The execution procedure of the CPU 61 will be specifically described. First, when this command PZTIME-XTOT is output from the CPU 35 on the camera body 11 side, a command reception completion signal is output (returned) to the CPU 35 on the camera body 11 side in step S4301 and step S4301.
At 4303, the current zooming position (focal length)
Outputs travel time data when the vehicle travels at the highest speed from the 4th to the tele end. After that, in step S4305, a data transmission completion signal is output, and in step S4307.
At, the communication interrupt is permitted and the process returns to the original routine.

【0420】「コマンドPZTIME−XTOWの実行
手順」一方、上述したステップS4211でコマンドP
ZTIME−XTOWがカメラボディ11側のCPU3
5から出力された際の、パワーレンズ51側のCPU6
1の実行手順を、図93Eを参照して具体的に説明す
る。先ず、このコマンドPZTIME−XTOWがカメ
ラボディ11側のCPU35から出力されると、ステッ
プS4311においてコマンド受信完了信号をカメラボ
ディ11側のCPU35に出力し(返し)、ステップS
4313において、現在のズーミング位置(焦点距離)
からワイド端まで最高速の4速で移動した場合の移動時
間データを出力する。この後、ステップS4315にお
いて、データ送信完了信号を出力し、ステップS431
7において、通信割り込みを許可して、元のルーチンに
リターンする。
[Execution procedure of command PZTIME-XTOW] On the other hand, at step S4211, the command P is executed.
ZTIME-XTOW is the CPU 3 on the camera body 11 side.
CPU 6 on the side of the power lens 51 when output from 5
The execution procedure of No. 1 will be specifically described with reference to FIG. 93E. First, when this command PZTIME-XTOW is output from the CPU 35 on the camera body 11 side, a command reception completion signal is output (returned) to the CPU 35 on the camera body 11 side in step S4311, and then step S43.
At 4313, the current zooming position (focal length)
Outputs travel time data when the vehicle travels from the 4th to the wide end at the highest speed. After this, in step S4315, a data transmission completion signal is output, and in step S431
At 7, the communication interrupt is permitted and the process returns to the original routine.

【0421】[PZモード切換え処理]図94に示し
た、カメラボディ11におけるパワーズーム(PZ)モ
ード切換え処理について説明する。このPZモード切換
え処理は、図60Aに示したPZループ処理内のS15
07において実行され、撮影レンズ51のズームセット
ボタン77が所定操作されたときにPZモード変更処理
を実行する。本実施例では、手動ズームまたはマニュア
ルパワーズーム、像倍率一定ズーム、プリセットズー
ム、プリセットズームセットおよび露光間ズームからな
る5種類のズームモードを備えている。なお本フローチ
ャートでは、各モードのナンバーを付し、 NO.0が手動
ズームまたはマニュアルパワーズームモード、 NO.1が
像倍率一定ズームモード、 NO.2がプリセットズームモ
ード、 NO.3がプリセットズームセットモードおよび N
O.4が露光間ズームモードとしてある。
[PZ Mode Switching Process] The power zoom (PZ) mode switching process in the camera body 11 shown in FIG. 94 will be described. This PZ mode switching process is performed by S15 in the PZ loop process shown in FIG. 60A.
When the zoom set button 77 of the taking lens 51 is operated in a predetermined manner, the PZ mode changing process is executed. The present embodiment has five types of zoom modes including manual zoom or manual power zoom, constant image magnification zoom, preset zoom, preset zoom set, and inter-exposure zoom. In this flowchart, the numbers for each mode are assigned, NO.0 is the manual zoom or manual power zoom mode, NO.1 is the constant image magnification zoom mode, NO.2 is the preset zoom mode, and NO.3 is the preset zoom set. Mode and N
O.4 is the zoom mode during exposure.

【0422】先ず、装着された撮影レンズがパワーズー
ムレンズかどうか、手動ズームモードか電動ズームモー
ドか、およびパワーズームレンズであればマニュアルパ
ワーズーム(電動ズーム)かオートパワーズームかどう
かをチェックし、パワーズームレンズ、パワーズームか
つオートパワーズームでなければ、パワーズームモード
フラグをクリアし、この状態を保存してからリターンす
る(S3001、S3035、S3039)。
First, it is checked whether the attached photographing lens is the power zoom lens, the manual zoom mode or the electric zoom mode, and if the power zoom lens is the manual power zoom (electric zoom) or the automatic power zoom, If it is not the power zoom lens, the power zoom and the auto power zoom, the power zoom mode flag is cleared, this state is saved, and then the process returns (S3001, S3035, S3039).

【0423】オートパワーズームレンズであれば、すで
に保存してあるモードを復帰する。オートフォーカスモ
ードであれば何もしないが、オートフォーカスでないと
きには、像倍率一定ズームはできないので、復帰したP
Zモードが像倍率一定ズームモード(1)あればPZモ
ードをアップ変更し、違えばそのままにする(S300
9〜S3013)。
If it is an auto power zoom lens, the mode already saved is restored. Nothing is done in the auto focus mode, but if the auto focus is not set, constant image magnification zoom cannot be performed.
If the Z mode is the constant image magnification zoom mode (1), the PZ mode is changed up, and if not, it is left unchanged (S300
9-S3013).

【0424】次に、パワーズームレンズ51のASスイ
ッチ(ズームモード変更スイッチ)がオンされているこ
とを条件に、カメラボディ11のアップ、ダウンスイッ
チSWUP、DNがオンされたときにPZモードの変更
処理を行なう(S3015〜S3029)。例えば、ダ
ウンスイッチSWDNがオンされたときには、ズームモ
ード NO.が4になるまでアップ処理を行なう(S301
7、S3031、S3033)。アップスイッチSWU
Pがオンされたときは、ズームモード NO.が1になるま
でダウン処理を行なうが、オートフォーカスモードでな
いときには、像倍率一定ズームは選択しない(S301
9〜S3029)。
Next, on condition that the AS switch (zoom mode change switch) of the power zoom lens 51 is turned on, the PZ mode is changed when the up and down switches SWUP and DN of the camera body 11 are turned on. Processing is performed (S3015 to S3029). For example, when the down switch SWDN is turned on, the up processing is performed until the zoom mode NO. Becomes 4 (S301).
7, S3031, S3033). Up switch SWU
When P is turned on, the down processing is performed until the zoom mode NO. Becomes 1. However, when the autofocus mode is not set, the constant image magnification zoom is not selected (S301).
9-S3029).

【0425】以上のUP/DOWN 処理が終了したら、選択し
たズームモード NO.を保存してリターンする(S303
9)。なお、スイッチSWASの状態は、POFF−S
TATE通信により入力するデータに含まれている。
When the above UP / DOWN processing is completed, the selected zoom mode No. is saved and the processing returns (S303).
9). The state of the switch SWAS is POFF-S.
It is included in the data input by TATE communication.

【0426】『PZパルスカウント割込み処理』撮影レ
ンズ51側で実行される、図95及び図96に示したP
Zパルスカウント割込み処理について説明する。PZパ
ルス出力の立ち上がりで本割込み処理を行ない、ソフト
的にPZパルスのカウント等を行なう。なお、レンズC
PUの設定により、割込みは立ち下がりで入ってもかま
わない。
[PZ pulse count interrupt process] P shown in FIGS. 95 and 96, which is executed on the side of the taking lens 51.
The Z pulse count interrupt processing will be described. This interrupt processing is performed at the rising edge of the PZ pulse output, and the PZ pulses are counted by software. The lens C
Depending on the setting of PU, the interrupt may come in at the falling edge.

【0427】先ず、割込みを禁止し、PZイニシャライ
ズ処理のときにPZパルスをカウントするPZカウンタ
(PZPA2B)、およびPZパルスカウント値(PZ
PCNT)を1インクリメントし、PZパルスカウンタ
の値がオーバーフローしているときは、PZパルスカウ
ント値に最大値を入れる(S3101〜S3109)。
First, a PZ counter (PZPA2B) for prohibiting interrupts and counting PZ pulses during PZ initialization processing, and a PZ pulse count value (PZ
(PCNT) is incremented by 1, and when the value of the PZ pulse counter overflows, the maximum value is put in the PZ pulse count value (S3101 to S3109).

【0428】次にパワーズームの駆動方向をチェック
し、テレ方向のときにはPZパルスカウントスタート値
にPZパルスカウント値を加算して現PZパルス値に入
れ、ワイド方向のときにはPZパルスカウントスタート
値からPZパルスカウント値を減算して現PZパルス値
に入れる(S3111〜S3115)。
Next, the driving direction of the power zoom is checked. In the tele direction, the PZ pulse count start value is added to the PZ pulse count value to enter the current PZ pulse value. In the wide direction, the PZ pulse count start value is changed to the PZ pulse count start value. The pulse count value is subtracted and added to the current PZ pulse value (S3111 to S3115).

【0429】そして、ドライブ中でなければ(F_DRV =
0)、PWM制御チェック(CHKPWM)処理に進む
(S3117)。ドライブ中であるが、そのドライブが
像倍率一定ズームか目標位置へのドライブでなければP
WM制御チェック(CHKPWM)処理に進む(S31
17〜S3121)。像倍率一定ズームでドライブ中で
あるか目標位置へのドライブ中であるときには、現在の
PZパルス数と目標PZパルス数とが等しくなければP
WM制御チェック(CHKPWM)処理に進むが、等し
ければすぐにズームモータを停止させるためにブレーキ
(BREAK)処理に進む(S3117、S3119、
S3123)。
Then, if the drive is not in progress (F_DRV =
0), and proceeds to PWM control check (CHKPWM) processing (S3117). Drive is in progress, but if the drive is not constant image magnification zoom or drive to target position, P
Proceed to WM control check (CHKPWM) processing (S31
17-S3121). If the current image PZ pulse number and the target PZ pulse number are not equal when driving with the constant image magnification zoom or driving to the target position, P
The process proceeds to the WM control check (CHKPWM) process, but if they are equal, the process immediately proceeds to the brake (BREAK) process to stop the zoom motor (S3117, S3119,
S3123).

【0430】『BRAK、CHKPWM処理』図96に
は、ズームモータのブレーキ処理(BRAK処理)およ
びPWMチェック処理に関するフローチャートを示して
ある。この処理は、PZモータの回転スピードを抑える
処理である。
[BRAK, CHKPWM Process] FIG. 96 shows a flowchart relating to the brake process (BRAK process) of the zoom motor and the PWM check process. This process is a process of suppressing the rotation speed of the PZ motor.

【0431】ブレーキ処理では、先ずズームモータにブ
レーキをかけ、(ズームモータの入力端子を閉成)し
て、ZM−ST1にブレーキデータ(F_BRKをセッ
ト、フラグF_LMTT、F_LMTWはそのまま、他
はクリア)を入れる(S3151、S3153)。そし
て、PWMタイマ、リミットタイマおよびスタートタイ
マをクリアし、現PZパルス値(PZPX)から現焦点
距離データを得てFCLXL,Hにメモリし、割込みを
許可してリターンする(S3155〜S3159)。
In the brake processing, first the brake is applied to the zoom motor (the input terminal of the zoom motor is closed), and the brake data (F_BRK is set in the ZM-ST1, the flags F_LMTT and F_LMTW remain unchanged, and the others are cleared). (S3151, S3153). Then, the PWM timer, the limit timer, and the start timer are cleared, the current focal length data is obtained from the current PZ pulse value (PZPX), stored in FCLXL, H, the interrupt is permitted, and the process returns (S3155 to S3159).

【0432】CHKPWM処理は、PWM制御において
デューティー比を下げる処理である。PWM駆動中でな
ければ第4速(DC)そのままS3155に進むが、P
WM駆動中であれば、PWMパルス周期(T−PWMP
LS)とPWMタイマ(T−PWM)を比較し、PWM
パルス周期によりPWMタイマが小さいときはパワーズ
ームスピードが速すぎるので、デューティー比を下げて
からS3155に進み、PWMパルス周期よりPWMタ
イマが大きいときにはそのままS3155に進む(S3
161〜S3165)。以上の通り、本実施例で多数の
機能について説明したが、これらは、すべて単一のカメ
ラシステム(カメラボディ及び撮影レンズ)に搭載する
ことができるが、もちろん一部のみを搭載してもよい。
The CHKPWM process is a process for lowering the duty ratio in PWM control. If it is not in the PWM drive, the process proceeds to S3155 as it is at the fourth speed (DC).
If the WM drive is in progress, the PWM pulse cycle (T-PWMP
LS) and PWM timer (T-PWM) are compared, PWM
When the PWM timer is small due to the pulse cycle, the power zoom speed is too fast, so the duty ratio is lowered before proceeding to S3155, and when the PWM timer is larger than the PWM pulse cycle, the routine proceeds directly to S3155 (S3155).
161-S3165). As described above, a large number of functions have been described in this embodiment, but all of them can be mounted in a single camera system (camera body and photographing lens), but of course only a part may be mounted. .

【0433】以上の通り本実施例のパワーズーム一眼レ
フカメラでは、ズーミングレンズ群53Zおよびフォー
カシングレンズ群53Fの位置を、コード板による絶対
位置およびこれらを駆動するズームモータ65の回転量
およびカメラボディ11内のAFモータ39の回転量
(PZパルス数、AFパルス数)により検出するので、
高精度の位置検出が可能になる。しかも本実施例では、
ズーミングレンズ群53Zがテレ端、ワイド端に達した
とき、およびフォーカシングレンズ群53Fが無限遠撮
影端、至近距離撮影端に達したときに補正をするだけで
なく、焦点距離検出のときにはズームコード板71上の
コードの各切換わり点72を検出する毎にPZパルスカ
ウント値補正処理を行ない、被写体距離検出のときには
距離コード板81上の複数の指標83の一つを検知する
毎にAFパルスカウント値補正処理を行なうので、高精
度かつ正確な焦点距離および被写体距離検出ができる。
そして、本パワーズーム一眼レフカメラは、精密な焦点
距離および被写体距離の検出ができるので、より正確な
像倍率一定制御や、プリセットズームなどの制御パワー
ズームが可能になる。
As described above, in the power zoom single-lens reflex camera of this embodiment, the positions of the zooming lens group 53Z and the focusing lens group 53F are the absolute positions of the code plate, the rotation amount of the zoom motor 65 for driving them, and the camera body 11. Since it is detected by the rotation amount (PZ pulse number, AF pulse number) of the internal AF motor 39,
Highly accurate position detection becomes possible. Moreover, in this embodiment,
In addition to making corrections when the zooming lens group 53Z reaches the telephoto end and the wide-angle end and when the focusing lens group 53F reaches the infinity shooting end and the close-up shooting end, the zoom code plate is used for detecting the focal length. PZ pulse count value correction processing is performed each time each switching point 72 of the code on 71 is detected, and AF pulse count is performed each time one of the plurality of indexes 83 on the distance code plate 81 is detected when the subject distance is detected. Since the value correction process is performed, it is possible to detect the focal length and subject distance with high accuracy.
Since the power zoom single-lens reflex camera can detect the focal length and the subject distance with precision, more accurate image magnification constant control and control power zoom such as preset zoom become possible.

【0434】また、本実施例のパワーズームレンズ51
はレンズCPU61を内蔵しており、このレンズCPU
61により上記焦点距離および被写体距離の検出処理を
制御し、所定の演算を実行するので、正確かつ複雑な制
御パワーズームに関する各種の演算処理を短時間で高精
度に実行することができる。
Further, the power zoom lens 51 of the present embodiment.
Has a built-in lens CPU 61.
Since the detection processing of the focal length and the subject distance is controlled by 61 and a predetermined calculation is executed, various calculation processing relating to an accurate and complicated control power zoom can be executed with high accuracy in a short time.

【0435】また、上述した様に、パワーズームレンズ
を備えた一眼レフカメラは、露光間ズームが設定された
状態で、露光時間のほぼ半分が経過したとき(または、
露光時間の最初の半分において)にズームモータ65を
起動してズームアップまたはズームバックを開始するの
で、明瞭な静止被写体像、および、この静止被写体像か
ら放射状に流れるように拡大または縮小する被写体像が
写し出される事になる。
Further, as described above, the single-lens reflex camera equipped with the power zoom lens is set when the half-exposure time has elapsed with the zoom between exposures set (or,
During the first half of the exposure time), the zoom motor 65 is activated to start zooming up or zooming back, so that a clear still subject image and a subject image that expands or contracts radially from this still subject image. Will be projected.

【0436】この様にして、この一実施例によれば、ま
た、ズームアップ(テレ方向)またはズームバック(ワ
イド方向)のズーミング方向は、現在の焦点距離に基づ
きボディ側CPU35で規定されるので、確実にズーミ
ング動作が実行され、露光間ズームが間違えなく達成さ
れる事になる。この様にして、撮影者が露光間ズームに
おけるズーミング方向を考えて、これをカメラに設定さ
せる必要がなくなり、高等撮影テクニックとされる露光
間ズーム撮影が非常に簡易に実行することが出来る事に
なる。また、ズーミング方向を設定する為の設定部材が
不要となり、コストダウンを図ることが出来る事にな
る。更に、撮影者が過ってズーミング方向を設定する事
が防止される為、露光間ズーム撮影における撮影ミスの
発生を効果的に予防することが出来る事になる。
In this way, according to this embodiment, the zooming direction of zoom-up (tele direction) or zoom-back (wide direction) is defined by the CPU 35 on the body side based on the current focal length. Therefore, the zooming operation is surely executed, and the zoom between exposures is surely achieved. In this way, the photographer does not need to consider the zooming direction in the inter-exposure zoom and set it in the camera, and the inter-exposure zoom photography, which is a high-level photography technique, can be executed very easily. Become. In addition, a setting member for setting the zooming direction is unnecessary, and the cost can be reduced. Further, since it is possible to prevent the photographer from accidentally setting the zooming direction, it is possible to effectively prevent the occurrence of a photographing error in the during-exposure zoom photographing.

【0437】また上述した一実施例においては、露光間
ズームモードが設定された状態で、シャッタレリーズ時
にズーム操作リング78が中立位置から時計方向または
反時計方向に回動されて、パワーズームスイッチがオン
している場合には、通常のオートパワーズーミングによ
る露光間ズーム動作を実行せずに、マニュアルパワーズ
ーミングによる露光間ズーム動作を実行する様に設定さ
れている。この結果、カメラ側で設定された露光間ズー
ムの設定条件、例えば、ズーミング方向、ズーミング速
度等で露光間ズームを実行したくなく、自身が設定した
ズーミング方向やズーミング速度等で露光間ズームを実
行したいと撮影者が思った場合でも、ズーム操作リング
78の回動方向でズーミング方向が規定され、また、ズ
ーム操作リング78の回動量でズーミング速度が規定さ
れる事になり、撮影者の意図を反映した露光間ズームを
実施することが出来る事になる。
Further, in the above-described embodiment, the zoom operation ring 78 is rotated clockwise or counterclockwise from the neutral position at the time of shutter release in the state where the during-exposure zoom mode is set, and the power zoom switch is turned on. When it is turned on, it is set to execute the during-exposure zoom operation by the manual power zooming without executing the normal during-exposure zoom operation by the auto power zooming. As a result, it is not necessary to perform the inter-exposure zoom in the setting conditions of the inter-exposure zoom set on the camera side, for example, the zooming direction, the zooming speed, etc. Even if the photographer wants to do so, the zooming direction is defined by the rotation direction of the zoom operation ring 78, and the zooming speed is defined by the rotation amount of the zoom operation ring 78. It is possible to implement the reflected zoom during exposure.

【0438】また、上述した一実施例においては、露光
間ズームが設定された状態において、カメラ側で、ズー
ミング速度は、シャッタ速度(即ち、露出時間)、設定
された現在の焦点距離、設定されたズーミング方向等を
考慮して、少なくとも露光時間が終了した時点で、ズー
ミング動作が終了していない様に設定されている。この
結果、撮影された露光間ズームモードにおける写真像
に、芯(静止画像)が2つある失敗が効果的に抑制さ
れ、1つしか芯が存在しない良好な露光間ズーム像が写
し出される事になる。
Further, in the above-described embodiment, in the state where the inter-exposure zoom is set, the zoom speed is set on the camera side by the shutter speed (that is, the exposure time), the set current focal length, and the zoom speed. In consideration of the zooming direction and the like, the zooming operation is set not to end at least when the exposure time ends. As a result, it is possible to effectively suppress the failure of the captured photographic image in the in-exposure zoom mode having two cores (still images), and to display a good inter-exposure zoom image in which only one core exists. Become.

【0439】また、上述した一実施例においては、露光
間ズームが設定された状態において、シャッタ速度がバ
ルブ(開放)に設定された場合には、マニュアルパワー
ズームが許容される様に設定されている。この結果、従
来においては、バルブが設定された場合には、露出時間
が不明であるとして露光間ズームは禁止されていたが、
マニュアルパワーズームが許容される事により、例え、
バルブが設定されて露出時間が不明であっても、撮影者
の意図の下に、露出時間の一部を用いてマニュアルパワ
ーズームを実行する事により、露光間ズームを実施する
事が出来る事になる。
Further, in the above-described embodiment, the manual power zoom is set to be allowed when the shutter speed is set to the valve (open) in the state where the inter-exposure zoom is set. There is. As a result, in the past, when the bulb was set, the zoom between exposures was prohibited because the exposure time was unknown.
By allowing manual power zoom, for example,
Even if the exposure time is unknown because the bulb is set, it is possible to perform the inter-exposure zoom by executing the manual power zoom using part of the exposure time under the intention of the photographer. Become.

【0440】また、上述した一実施例においては、露光
間ズームが設定された状態において、露光動作中にズー
ム操作リング78を回動駆動する事により、マニュアル
パワーズームが許容される様に設定されている。この結
果、カメラ側で設定された条件に基づくオートパワーズ
ームでの露光間ズームではなく、撮影者の意図に応じた
条件に基づくマニュアルパワーズームで露光間ズームを
実行することが出来る事になる。
Further, in the above-described embodiment, the manual power zoom is set to be allowed by rotationally driving the zoom operation ring 78 during the exposure operation while the zoom between exposures is set. ing. As a result, the inter-exposure zoom can be performed by the manual power zoom based on the condition according to the photographer's intention, instead of the inter-exposure zoom by the automatic power zoom based on the condition set on the camera side.

【0441】また、上述した一実施例においては、シャ
ッタボタンを半押ししない状態で、ズーム操作リング7
8を回動させて、焦点距離を変更(ズーミング)させた
場合に、自動的に合焦動作が実施される様に設定されて
いる。この結果、ファインダを見ながらズーミングを行
って、所謂フレーミングをなした場合において、ファイ
ダから見る事の出来る被写体像は、常に、ピントのあっ
た状態となり、このフレーミング動作が良好に行い得る
事となる。
Further, in the above-described embodiment, the zoom operation ring 7 is operated without pressing the shutter button halfway.
It is set so that the focusing operation is automatically performed when the focal length is changed (zoomed) by rotating the lens 8. As a result, when so-called framing is performed while zooming while looking at the viewfinder, the subject image that can be seen from the finder is always in focus, and this framing operation can be performed well. .

【0442】また、上述した一実施例においては、シャ
ッタボタンを半押ししない状態で、ズーム操作リング7
8を回動させてのズーミング中において合焦動作が実施
される事になるが、その際の合焦動作においては、合焦
幅を、シャッタボタンが半押し状態となり測光スイッチ
がオンされる事による合焦動作の場合の合焦幅よりも広
く設定されている。この結果、AF時の微妙な動作が抑
制され、煩わしさが軽減される事になる。
Further, in the above-described embodiment, the zoom operation ring 7 is operated without pressing the shutter button halfway.
Focusing operation will be performed during zooming by rotating 8; however, in the focusing operation at that time, the shutter width is half-pressed and the photometric switch is turned on. It is set wider than the focus width in the case of the focus operation by. As a result, a delicate operation during AF is suppressed and annoyance is reduced.

【0443】また、上述した一実施例においては、像倍
率設定モードにおいて、ズーム操作リング78を回動さ
せて所望の焦点距離を設定し、この状態でズームセット
ボタンを押す事により、合焦動作が開始され、この合焦
動作の完了時における被写体までの距離と設定された焦
点距離とにより、像倍率を演算し、この演算された値を
メモリに記憶する様に構成されている。この結果、簡単
に像倍率を設定することが出来る事となり、従来高度な
撮影テクニックとされていた像倍率を一定した撮影を、
誰でも簡単に出来る事になる。
Further, in the above-described embodiment, in the image magnification setting mode, the zoom operation ring 78 is rotated to set a desired focal length, and the zoom set button is pressed in this state to perform the focusing operation. When the focusing operation is completed, the image magnification is calculated based on the distance to the subject at the time of completion of the focusing operation and the set focal length, and the calculated value is stored in the memory. As a result, it becomes possible to easily set the image magnification, and shooting with a constant image magnification, which was conventionally a sophisticated shooting technique,
Anyone can do it easily.

【0444】ここで、上述した像倍率設定動作は、上述
した動作手順に限定されることなく、例えば、ズームセ
ットボタンを押すことなく、ズーム操作リングが中立位
置まで弾性復帰した時点で、合焦動作を開始し、以下同
様な動作を実行する様にしても良い。この様に構成する
事により、像倍率の設定に際して、ズームセットボタン
が不要となり、部品点数の減少を図ることが出来る事に
なる。
Here, the above-mentioned image magnification setting operation is not limited to the above-mentioned operation procedure, for example, when the zoom operation ring is elastically returned to the neutral position without pressing the zoom set button, the focus is adjusted. The operation may be started and the same operation may be executed thereafter. With this configuration, the zoom set button is not required when setting the image magnification, and the number of parts can be reduced.

【0445】また、上述した一実施例のパワーズームレ
ンズを備えた一眼レフカメラは、プリセットズームセッ
トモードが選択されているときには、ズームセットボタ
ンがオンされたときにその時点の焦点距離をプリセット
焦点距離としてメモリし、メモリするとプリセットズー
ムモードにモード変更するので、次にズームセットボタ
ンがオンされたときには上記プリセット焦点距離までパ
ワーズームする。したがって、撮影者は使用頻度の高い
焦点距離をメモリすることにより、他の焦点距離に変更
していたときでも、簡単にメモリした焦点距離に変更す
ることができる。
Further, in the single-lens reflex camera equipped with the power zoom lens of the above-described one embodiment, when the preset zoom set mode is selected, the focal length at that point in time when the zoom set button is turned on is preset focus. Since it is stored as a distance, and when it is memorized, the mode is changed to the preset zoom mode, so when the zoom set button is next turned on, the power zoom is performed up to the preset focal length. Therefore, the photographer can easily change the focal length stored in the memory by storing the focal length that is frequently used even when the focal length is changed to another focal length.

【0446】また、上述した一実施例においては、プリ
セットズームモードの実行時に、ズームセットボタンを
押す事により、記憶された焦点距離までズームされると
共に、合焦動作が実行される様に構成されている。この
結果、使い勝手の良いプリセットズームモード(クリッ
プモード)が達成される事になる。
Further, in the above-described embodiment, when the preset zoom mode is executed, by pressing the zoom set button, the focal length is zoomed to the stored focal length and the focusing operation is executed. ing. As a result, an easy-to-use preset zoom mode (clip mode) is achieved.

【0447】この一実施例では、AFモータ39をカメ
ラボディ11に、ズームモータ65を撮影レンズ51に
搭載してあるが、本発明は、両モータをカメラボディ1
1または撮影レンズ51に搭載する構成でも、逆にAF
モータを撮影レンズに、ズームモータをカメラボディに
搭載する構成でもよい。また、レンズ群の絶対位置を検
出するコード板71、81の構造を焦点距離検出用と被
写体距離検出用とで異なる構造にしているが、どの構造
のコード板を利用するかは任意であり、どちらか一方を
利用してもよい。
In this embodiment, the AF motor 39 is mounted on the camera body 11 and the zoom motor 65 is mounted on the taking lens 51. However, in the present invention, both motors are mounted on the camera body 1.
On the contrary, even if it is mounted on the photographing lens 51
The motor may be mounted on the taking lens and the zoom motor may be mounted on the camera body. Further, although the structure of the code plates 71 and 81 for detecting the absolute position of the lens group is different for the focal length detection and the object distance detection, which structure of the code plates is used is arbitrary. Either one may be used.

【0448】さらに本実施例のパワーズームを備えた一
眼レフカメラでは、PWM制御によるズームモータ69
の回転速度に応じて端点検出時間が可変(高速ほど短
く)になるので、高速時に端点に達したときにはズーム
モータ69の過負荷が減少し、低速時には通電時間を最
長(駆動トルク最大)にしてもなお回転しないときに端
点であることを検出するので、確実な端点検出が可能に
なる。
Further, in the single-lens reflex camera equipped with the power zoom of this embodiment, the zoom motor 69 under PWM control is used.
Since the end point detection time is variable (shorter at higher speeds) depending on the rotation speed of the, the overload of the zoom motor 69 is reduced when the end point is reached at high speeds, and the energization time is set to the maximum (driving torque maximum) at low speeds. Since the end point is detected even when the end point still does not rotate, the end point can be surely detected.

【0449】本実施例の一眼レフカメラは、ズームレン
ズ51に電動手段(ズームモータ69)及び電動手段を
制御するレンズ制御手段(レンズCPU61)を搭載し
て、ボディ制御手段(ボディCPU35)とは独立して
電動手段の駆動制御を可能にした。したがって、ボディ
制御手段による自動焦点調節処理等と同時に並行して、
パワーズームを利用した複雑な制御を迅速に処理するこ
とが可能になった。本実施例では、像倍率一定ズームに
おいては、ボディCPU35が自動焦点処理を実行して
いる一方で、レンズCPU61が像倍率を算出してその
焦点距離までパワーズームできる。しかもレンズCPU
61は、ボディCPU35とは独立して演算及び制御処
理を実行するので、迅速な制御動作が可能である。
In the single-lens reflex camera of the present embodiment, the zoom lens 51 is equipped with the electric means (zoom motor 69) and the lens control means (lens CPU 61) for controlling the electric means, and is different from the body control means (body CPU 35). The drive control of the electric means can be independently performed. Therefore, in parallel with the automatic focus adjustment processing by the body control means,
It became possible to quickly handle complicated control using the power zoom. In the present embodiment, in the constant image magnification zoom, while the body CPU 35 executes the automatic focusing process, the lens CPU 61 can calculate the image magnification and perform power zoom up to the focal length. Moreover, the lens CPU
Since 61 performs calculation and control processing independently of the body CPU 35, quick control operation is possible.

【0450】本実施例では、プリセットズームセットモ
ードのときにはレンズCPU61は、ボディCPU35
から上記モードに関する所定のコマンドを受信し、その
後、ズームセットボタンがオンされたときにその時点の
焦点距離データをレンズメモリ手段(レンズRAM61
b)にメモリし、さらにその焦点距離データをボディC
PU35に送信する。この焦点距離データを受けたボデ
ィCPU35は、プリセットズームセットモードからプ
リセットズームモードに移行し、そのプリセットズーム
モード状態に関するデータをレンズCPU61に送信す
る。このモードデータを受けたレンズCPU61は、ズ
ームセットボタンがオンされると、上記レンズRAM6
1bにメモリした焦点距離までズームモータ69を駆動
する。このように、レンズCPU61とボディCPU3
5とが相互に通信しながら連係して並行処理を実行する
ので、複雑な処理を迅速に実行することができる。
In this embodiment, in the preset zoom set mode, the lens CPU 61 is the body CPU 35.
From the lens memory means (lens RAM 61) when the zoom set button is turned on.
b), and the focal length data is stored in the body C.
It transmits to PU35. The body CPU 35 that has received the focal length data shifts from the preset zoom set mode to the preset zoom mode, and transmits data regarding the preset zoom mode state to the lens CPU 61. When the zoom set button is turned on, the lens CPU 61 that has received this mode data will move the lens RAM 6
The zoom motor 69 is driven to the focal length stored in 1b. In this way, the lens CPU 61 and the body CPU 3
Since 5 and 5 communicate with each other and execute parallel processing in cooperation with each other, complicated processing can be executed quickly.

【0451】メインCPU35は、上記ズームモータ6
5を作動させるときには、バッテリの電力が正常の供給
されているかどうかをレンズCPU61との通信により
チェックし、正常に供給されていないときには何らかの
トラブルが発生しているので供給を遮断して、トラブル
を防止する。また、メインCPU35は、所定時間なん
ら撮影に関する操作がされないときなどには、レンズC
PU69にスタンバイコマンドを送信してクロックを停
止させるので、無駄なエネルギーの消費が防止される。
The main CPU 35 uses the zoom motor 6
When activating 5, the battery power is checked to see if it is being supplied normally by communication with the lens CPU 61. If it is not being supplied normally, some trouble has occurred, so the supply is cut off and trouble is taken. To prevent. The main CPU 35 also uses the lens C when there is no operation related to shooting for a predetermined time.
Since the standby command is transmitted to the PU 69 to stop the clock, useless energy consumption is prevented.

【0452】本実施例では、カメラボディにバッテリを
搭載してレンズに電力供給を行なったが、逆にレンズに
バッテリを搭載してボディに電力供給する構成でもよ
い。また、本発明はカメラに限定されず、給電装置と被
給電装置とからなる装置一般に適用できる。
In the present embodiment, the battery is mounted on the camera body to supply power to the lens, but conversely, the battery may be mounted on the lens to supply power to the body. Further, the present invention is not limited to a camera, and can be applied to general devices including a power feeding device and a power fed device.

【0453】本実施例のパワーズームレンズを備えた一
眼レフカメラは、プリセットズームセットモードが選択
されているときには、ズームセットボタンがオンされた
ときにその時点の焦点距離をプリセット焦点距離として
メモリし、メモリするとプリセットズームモードにモー
ド変更するので、次にズームセットボタンがオンされた
ときには上記プリセット焦点距離までパワーズームす
る。したがって、撮影者は使用頻度の高い焦点距離をメ
モリすることにより、他の焦点距離に変更していたとき
でも、簡単にメモリした焦点距離に変更することができ
る。
When the preset zoom set mode is selected, the single lens reflex camera equipped with the power zoom lens of this embodiment stores the focal length at that point in time as the preset focal length when the zoom set button is turned on. When the memory is stored, the mode is changed to the preset zoom mode. Therefore, when the zoom set button is turned on next time, the power zoom is performed up to the preset focal length. Therefore, the photographer can easily change the focal length stored in the memory by storing the focal length that is frequently used even when the focal length is changed to another focal length.

【0454】また、本実施例のパワーズームレンズ51
は、ボディ11のメインスイッチがオフされるとレンズ
51への電源がオフされるので、レンズRAM61bに
プリセット焦点距離をメモリしていたときには、このプ
リセット焦点距離をカメラボディ11に転送してボディ
RAM35bにメモリする。そして、メインスイッチが
オンされたときに、ボディRAM35bにメモリしたプ
リセット焦点距離をパワーズームレンズ51に転送して
レンズRAM61bにメモリし、プリセットズームを可
能にする。
Further, the power zoom lens 51 of the present embodiment.
When the main switch of the body 11 is turned off, the power to the lens 51 is turned off. Therefore, when the preset focal length is stored in the lens RAM 61b, the preset focal length is transferred to the camera body 11 and the body RAM 35b. To memory. When the main switch is turned on, the preset focal length stored in the body RAM 35b is transferred to the power zoom lens 51 and stored in the lens RAM 61b to enable preset zoom.

【0455】パワーズームレンズ51は、ボディ11の
メインスイッチがオフされたときには、カメラボディ1
1からPZ収納コマンドを受けて、レンズZCPU65
がズームモータ69を起動してレンズ鏡筒が最短になる
焦点距離までパワーズームする。したがって撮影者は、
撮影しないときにはメインスイッチをオフするだけで、
鏡筒を簡単にコンパクトにすることができる。なお、こ
のPZ収納の際にボディ11は、パワーズームレンズ5
1のフォーカシングレンズ群53Fを鏡筒が最短になる
位置(無限遠位置)までAFモータ39を駆動するの
で、パワーズームレンズ51は、全長が最短になる。
The power zoom lens 51 has a structure in which the camera body 1 is operated when the main switch of the body 11 is turned off.
In response to the PZ storage command from 1, the lens ZCPU65
Activates the zoom motor 69 to power zoom to the focal length where the lens barrel becomes the shortest. Therefore, the photographer
When not shooting, just turn off the main switch,
The lens barrel can be easily made compact. When the PZ is stored, the body 11 does not have the power zoom lens 5
Since the AF motor 39 drives the first focusing lens group 53F to the position where the lens barrel becomes the shortest (infinity position), the power zoom lens 51 has the shortest overall length.

【0456】上記ズーム収納の際の現焦点距離データ
は、新通信によりカメラボディ11に転送され、ボディ
RAM35bにメモリされる。この現焦点距離データ
は、メインスイッチがオンされたときに、新通信により
パワーズームレンズ51に転送され、レンズRAM65
bにメモリされる。そして、レンズCPU65は、上記
転送された現焦点距離データまでズームモータ69を駆
動する。この処理によりパワーズームレンズ51は、収
納前の状態に復帰する。
The current focal length data at the time of storing the zoom is transferred to the camera body 11 by new communication and stored in the body RAM 35b. This current focal length data is transferred to the power zoom lens 51 by new communication when the main switch is turned on, and the lens RAM 65
It is stored in b. Then, the lens CPU 65 drives the zoom motor 69 up to the transferred current focal length data. By this processing, the power zoom lens 51 returns to the state before storage.

【0457】本実施例のパワーズームレンズを備えた一
眼レフカメラは、像倍率一定制御時には、フォーカシン
グレンズ群の繰出し量に基づいて像倍率および目標焦点
距離を求めてパワーズーム制御するので、演算が簡単で
ある。しかも、フォーカシングレンズ群の動きにのみ追
従するので、レンズ駆動動作に不安定要素がなく、応答
性のよい安定した像倍率一定ズーム制御が可能である。
In the single-lens reflex camera equipped with the power zoom lens of the present embodiment, during constant image magnification control, the power zoom control is performed by obtaining the image magnification and the target focal length based on the extension amount of the focusing lens group, and therefore the calculation is performed. It's easy. Moreover, since it follows only the movement of the focusing lens group, there is no unstable element in the lens driving operation, and stable and stable image magnification constant zoom control is possible.

【0458】また、像倍率設定時に非合焦のときにはデ
フォーカス量に基づてい像倍率、目標焦点距離を演算
し、合焦しているときにはフォーカスレンズ繰出し量に
基づいて像倍率および目標焦点距離を演算するので、よ
り正確な像倍率一定制御が可能になる。
When the image magnification is out of focus, the image magnification and the target focal length are calculated based on the defocus amount. When the image is in focus, the image magnification and the target focal length are calculated based on the focus lens extension amount. Is calculated, more accurate constant image magnification control becomes possible.

【0459】また、露光時間に応じてズーミング速度を
変更するので、超低速シャッタ速度から中、高速シャッ
タ速度まで効果的な露光間ズーミングができる。特に、
低速シャッタ速度時には、低速ズーミングすることによ
り露光終了時までズーミングを継続することが可能にな
り、中、高速シャッタ速度時には最高速ズーミングする
ことにより効果的な露光間ズームが可能になる。
Further, since the zooming speed is changed according to the exposure time, effective inter-exposure zooming can be performed from an ultra-low shutter speed to a medium or high shutter speed. In particular,
At low shutter speeds, low-speed zooming makes it possible to continue zooming until the end of exposure, and at medium and high shutter speeds, maximum zooming allows effective inter-exposure zoom.

【0460】また、上述した一実施例においては、撮影
レンズ51としてズームモータ65を内蔵したパワーズ
ームレンズを用いる様に説明したが、この発明は、この
様な構成に限定されることなく、ズームモータを備えな
いマニュアルズームレンズを用いる様に構成しても良い
事は言うまでもない。
In the above-described embodiment, the power zoom lens having the zoom motor 65 built therein is used as the taking lens 51. However, the present invention is not limited to such a configuration, and the zoom lens is not limited thereto. It goes without saying that the manual zoom lens without a motor may be used.

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

【図1】この発明に係わる電動ズーム機能を有するカメ
ラの一実施例が適用された一眼レフレックスカメラの構
成を概略的に示すブロック図である。
FIG. 1 is a block diagram schematically showing a configuration of a single-lens reflex camera to which an embodiment of a camera having an electric zoom function according to the present invention is applied.

【図2A】図1に示す一眼レフレックスカメラのパワー
ズームレンズの構成を概要的に示すブロック図である。
2A is a block diagram schematically showing a configuration of a power zoom lens of the single-lens reflex camera shown in FIG. 1. FIG.

【図2B】図2Aに示す一眼レフレックスカメラのパワ
ーズームレンズの外観を概要的に示す斜視図である。
FIG. 2B is a perspective view schematically showing the outer appearance of the power zoom lens of the single-lens reflex camera shown in FIG. 2A.

【図3】図2に示すパワーズームレンズの回路構成の実
施例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a circuit configuration of the power zoom lens shown in FIG.

【図4】図2に示すパワーズームレンズのズームコード
板の展開図である。
4 is a development view of a zoom code plate of the power zoom lens shown in FIG.

【図5】図2に示すパワーズームレンズの焦点距離コー
ド板の展開図である。
5 is a development view of a focal length code plate of the power zoom lens shown in FIG.

【図6】、[FIG. 6]

【図7】レンズCPUのメインフローチャートである。FIG. 7 is a main flowchart of a lens CPU.

【図8】レンズCPUの通信割込処理に関するフローチ
ャートである。
FIG. 8 is a flowchart relating to a communication interrupt process of the lens CPU.

【図9】2msタイマ割り込みに関するフローチャートで
ある。
FIG. 9 is a flowchart regarding a 2 ms timer interrupt.

【図10】パワーズーム、マニュアルズーム処理に関す
るフローチャートである。
FIG. 10 is a flowchart relating to power zoom and manual zoom processing.

【図11】PWM2msタイマ割り込みに関するフローチ
ャートである。
FIG. 11 is a flowchart for a PWM 2ms timer interrupt.

【図12】PZパルスカウント割り込み処理に関するフ
ローチャートである。
FIG. 12 is a flowchart relating to PZ pulse count interrupt processing.

【図13】PWM割り込みに関するフローチャートであ
る。
FIG. 13 is a flowchart regarding a PWM interrupt.

【図14】PWM制御に関するタイムチャートである。FIG. 14 is a time chart regarding PWM control.

【図15】、FIG. 15:

【図16】像倍率一定ズーム制御に関するフローチャー
トである。
FIG. 16 is a flowchart regarding constant image magnification zoom control.

【図17】、FIG. 17:

【図18】プレディクタオペレーション処理に関するフ
ローチャートである。
FIG. 18 is a flowchart relating to predictor operation processing.

【図19】スタンバイ処理に関するフローチャートであ
る。
FIG. 19 is a flowchart regarding standby processing.

【図20】AFパルス初期化処理に関するフローチャー
トである。
FIG. 20 is a flowchart of AF pulse initialization processing.

【図21】パワーズーム位置初期化処理に関するフロー
チャートである。
FIG. 21 is a flowchart relating to power zoom position initialization processing.

【図22】パワーズームレンズの収納処理に関するフロ
ーチャートである。
FIG. 22 is a flowchart relating to a power zoom lens storage process.

【図23】パワーズームレンズの復帰処理に関するフロ
ーチャートである。
FIG. 23 is a flowchart of a power zoom lens return process.

【図24】パワーズームのストップ処理に関するフロー
チャートである。
FIG. 24 is a flowchart of a power zoom stop process.

【図25】像倍率一定ズームに必要なデータを受信した
ときのフローチャートである。
FIG. 25 is a flowchart when data necessary for constant image magnification zoom is received.

【図26】像倍率一定ズーム処理に関するフローチャー
トであ。
FIG. 26 is a flowchart relating to constant image magnification zoom processing.

【図27】像倍率一定ズームに関する情報を入力したと
きのフローチャートである。
[Fig. 27] Fig. 27 is a flowchart when information regarding constant image magnification zoom is input.

【図28】カメラボディの状態に関する情報を入力した
時の処理に関するフローチャートである。
FIG. 28 is a flowchart regarding processing when information about the state of the camera body is input.

【図29】ボディシーケンス情報を入力したときのフロ
ーチャートである。
FIG. 29 is a flowchart when body sequence information is input.

【図30】カメラボディ側からAFパルスを入力したと
きのフローチャートである。
FIG. 30 is a flowchart when an AF pulse is input from the camera body side.

【図31】カメラボディ側からPZパルスを入力したと
きのフローチャートである。
FIG. 31 is a flowchart when a PZ pulse is input from the camera body side.

【図32】レンズ内でカウントしたAFパルスデータを
メモリするコマンドを受けたときの処理に関するフロー
チャートである。
FIG. 32 is a flowchart regarding processing when a command to store the AF pulse data counted in the lens is received.

【図33】ボディ側のAFで求めたデフォーカス量をレ
ンズメモリにストアする処理に関するフローチャートで
ある。
FIG. 33 is a flowchart of processing for storing a defocus amount obtained by AF on the body side in a lens memory.

【図34】指定されたPZパルスデータ、焦点距離デー
タのメモリ処理に関するフローチャートである。
FIG. 34 is a flowchart relating to memory processing of designated PZ pulse data and focal length data.

【図35】ボディ側のAFで求めたデフォーカス量をレ
ンズメモリにストアする処理に関するフローチャートで
ある。
FIG. 35 is a flowchart of processing for storing the defocus amount obtained by AF on the body side in the lens memory.

【図36】カメラボディから受信した像倍率一定ズーム
データのメモリ処理に関するフローチャートである。
FIG. 36 is a flowchart relating to memory processing of constant image magnification zoom data received from a camera body.

【図37】指定方向または指定位置へのパワーズーミン
グ処理に関するフローチャートである。
FIG. 37 is a flowchart relating to power zooming processing to a designated direction or a designated position.

【図38】カメラボディにより指定されたデータに基づ
くパワーズーム処理に関するフローチャートである。
FIG. 38 is a flowchart regarding a power zoom process based on data designated by a camera body.

【図39】、FIG. 39:

【図40】、FIG. 40:

【図41】、FIG. 41

【図42】、FIG. 42:

【図43】AFパルスカウント処理に関するレンズフロ
ーチャートである。
FIG. 43 is a lens flowchart relating to AF pulse count processing.

【図44】撮影レンズ側のパワーズームに関するデータ
の送信処理に関するフローチャートである。
[Fig. 44] Fig. 44 is a flowchart regarding a transmission process of data related to power zoom on the photographing lens side.

【図45】撮影レンズのスタンバイ処理等に関するフロ
ーチャートである。
FIG. 45 is a flowchart relating to standby processing and the like of the taking lens.

【図46】撮影レンズの可変データ送信処理に関するフ
ローチャートである。
FIG. 46 is a flowchart relating to variable data transmission processing of a photographing lens.

【図47】撮影レンズの固定情報送信処理に関するフロ
ーチャートである。
FIG. 47 is a flowchart relating to fixed information transmission processing of the taking lens.

【図48】レンズ側のAFパルスカウント値送信処理に
関するフローチャートである。
FIG. 48 is a flowchart of AF pulse count value transmission processing on the lens side.

【図49】撮影レンズの現焦点距離データの出力処理に
関するフローチャートである。
FIG. 49 is a flowchart regarding output processing of current focal length data of a photographing lens.

【図50】撮影レンズ側の像倍率一定ズームデータ送信
処理に関するフローチャートである。
[Fig. 50] Fig. 50 is a flowchart relating to zoom image constant zoom data transmission processing on the photographing lens side.

【図51】レンズのすべてのデータ出力処理に関するフ
ローチャートである。
FIG. 51 is a flowchart relating to all data output processing of a lens.

【図52】、FIG. 52

【図53A】、FIG. 53A]

【図53B】、FIG. 53B]

【図54】、FIG. 54

【図55】PZ動作処理原理に関するフローチャートで
ある。
FIG. 55 is a flowchart relating to the PZ operation processing principle.

【図56】PZのイニシャライズ処理に関するフローチ
ャートである。
FIG. 56 is a flowchart relating to PZ initialization processing.

【図57】、FIG. 57:

【図58】AFのイニシャライズ処理に関するフローチ
ャートである。
FIG. 58 is a flowchart of AF initialization processing.

【図59】電力供給チェック処理に関するフローチャー
トである。
FIG. 59 is a flowchart of a power supply check process.

【図60A】、FIG. 60A]

【図60B】、FIG. 60B]

【図61A】PZのループ処理に関するフローチャート
である。
FIG. 61A is a flowchart relating to PZ loop processing.

【図61B】PZのループ処理の変形例にに関するフロ
ーチャートである。
FIG. 61B is a flowchart relating to a modified example of the PZ loop processing.

【図62】プリセットパワーズーム終了チェック処理に
関するフローチャートである。
[Fig. 62] Fig. 62 is a flowchart relating to preset power zoom end check processing.

【図63】、FIG. 63:

【図64】像倍率一定ズームの第1実施例のフローチャ
ートである。
[Fig. 64] Fig. 64 is a flowchart of a first example of a constant image magnification zoom.

【図65】、FIG. 65:

【図66】像倍率一定ズームの第2実施例のフローチャ
ートである。
FIG. 66 is a flowchart of a second example of constant image magnification zooming.

【図67】、FIG. 67:

【図68】像倍率一定ズームの第3実施例のフローチャ
ートである。
FIG. 68 is a flowchart of the third example of the constant image magnification zoom;

【図69】AFパルスカウント処理に関するフローチャ
ートである。
FIG. 69 is a flowchart of AF pulse count processing.

【図70】AFパルスカウント値のアジャスト処理に関
するフローチャートである。
FIG. 70 is a flowchart relating to AF pulse count value adjustment processing.

【図71】PZ端点処理に関するフローチャートであ
る。
FIG. 71 is a flowchart relating to PZ end point processing.

【図72】ズームモーターの回転方向、回転スピード制
御に関するフローチャートである。
[Fig. 72] Fig. 72 is a flowchart relating to rotation direction and rotation speed control of the zoom motor.

【図73】、FIG. 73:

【図74】、FIG. 74:

【図75】ズームスイッチによるパワーズーム動作に関
するフローチャートである。
[Fig. 75] Fig. 75 is a flowchart regarding a power zoom operation by a zoom switch.

【図76】PZパルスカウント割り込み処理に関するフ
ローチャートである。
FIG. 76 is a flowchart showing PZ pulse count interrupt processing.

【図77】パワーズーム停止処理に関するフローチャー
トである。
[Fig. 77] Fig. 77 is a flowchart relating to power zoom stop processing.

【図78】ズームモーターのブレーキ処理に関するフロ
ーチャートである。
[Fig. 78] Fig. 78 is a flowchart regarding a brake process of the zoom motor.

【図79】、FIG. 79:

【図80】撮影レンズ状態のセット処理に関するフロー
チャートである。
[Fig. 80] Fig. 80 is a flowchart relating to setting processing of a photographing lens state.

【図81】、FIG. 81:

【図82】指定焦点距離へのパワーズーム処理に関する
フローチャートである。
[Fig. 82] Fig. 82 is a flowchart relating to power zoom processing to a designated focal length.

【図83】、FIG. 83:

【図84】目標位置までのパルス数に応じた駆動スピー
ド調整処理に関するフローチャートである。
FIG. 84 is a flowchart relating to drive speed adjustment processing according to the number of pulses up to a target position.

【図85】端点に達したときのPZパルスカウント修正
処理に関するフローチャートである。
FIG. 85 is a flowchart relating to PZ pulse count correction processing when the end point is reached.

【図86】、FIG. 86

【図87】現在のズーミングレンズ位置が不明のときの
PZパルスカウンタ修正処理に関するフローチャートで
ある。
FIG. 87 is a flowchart regarding PZ pulse counter correction processing when the current zooming lens position is unknown.

【図88】現在の位置が分かっているときのPZパルス
カウント処理に関するフローチャートである。
FIG. 88 is a flowchart relating to PZ pulse count processing when the current position is known.

【図89】PZパルスカウンタ修正処理に関するフロー
チャートである。
FIG. 89 is a flowchart of PZ pulse counter correction processing.

【図90】プリセット焦点距離プリセット処理に関する
フローチャートである。
FIG. 90 is a flowchart relating to preset focal length preset processing.

【図91】ズームモーターの駆動制御に関するフローチ
ャートである。
[Fig. 91] Fig. 91 is a flowchart relating to drive control of the zoom motor.

【図92A】、92A],

【図92B】、FIG. 92B]

【図92C】カメラボディにおけるレリーズ処理に関す
るフローチャートである。
FIG. 92C is a flowchart of release processing in the camera body.

【図93A】ズーミング方向のセット手順を示すフロー
チャートである。
FIG. 93A is a flowchart showing a setting procedure in the zooming direction.

【図93B】ズーミング方向のセット手順の変形例を示
すフローチャートである。
FIG. 93B is a flowchart showing a modification of the setting procedure in the zooming direction.

【図93C】ズーミング速度のセット手順を示すフロー
チャートである。
FIG. 93C is a flowchart showing a procedure for setting a zooming speed.

【図93D】コマンドPZTIME−XTOTの実行手
順を示すフローチャートである。
FIG. 93D is a flowchart showing an execution procedure of a command PZTIME-XTOT.

【図93E】コマンドPZTIME−XTOWの実行手
順を示すフローチャートである。
FIG. 93E is a flowchart showing an execution procedure of a command PZTIME-XTOW.

【図94】パワーズームモードの切替処理に関するフロ
ーチャートである。
[Fig. 94] Fig. 94 is a flowchart of a power zoom mode switching process.

【図95】PZパルスカウント割り込み処理に関するフ
ローチャートである。
FIG. 95 is a flowchart relating to PZ pulse count interrupt processing.

【図96】ズームモーターのPWM制御処理に関するフ
ローチャートである。
FIG. 96 is a flowchart relating to PWM control processing for the zoom motor.

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

11 カメラボディ 20 バッテリ 21 測距用CCDセンサユニット 23 周辺部制御回路 35 メイン(ボディ)CPU 35b RAM 37 モータードライブIC 39 AFモーター 41 エンコーダ 51 撮影レンズ(パワーズームレンズ) 51F フォーカシングレンズ群 51Z ズーミングレンズ群 55 AF機構 59 AFパルサー 61 レンズCPU 61b レンズRAM 62 インターフェース 63 モータードライブIC 65 ズームモーター 67 PZ機構 69 PZパルサー 71 ズーム(焦点距離)コード板 72 切替え点 81 距離コード板 11 camera body 20 battery 21 distance measuring CCD sensor unit 23 peripheral control circuit 35 main (body) CPU 35b RAM 37 motor drive IC 39 AF motor 41 encoder 51 shooting lens (power zoom lens) 51F focusing lens group 51Z zooming lens group 55 AF mechanism 59 AF pulser 61 Lens CPU 61b Lens RAM 62 Interface 63 Motor drive IC 65 Zoom motor 67 PZ mechanism 69 PZ pulser 71 Zoom (focal length) code plate 72 Switching point 81 Distance code plate

───────────────────────────────────────────────────── フロントページの続き (72)発明者 辻 秀明 東京都板橋区前野町2丁目36番9号 旭光 学工業株式会社内 (72)発明者 細川 哲生 東京都板橋区前野町2丁目36番9号 旭光 学工業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Hideaki Tsuji 2-36-9 Maenocho, Itabashi-ku, Tokyo Asahi Kogaku Kogyo Co., Ltd. (72) Tetsuo Hosokawa 2-36-9 Maenocho, Itabashi-ku, Tokyo No. Asahi Kogaku Industry Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】カメラ本体と、 このカメラ本体に取り付けられたズームレンズと、 このズームレンズでの焦点距離を変更・設定する為の焦
点距離設定部材と、 前記カメラ本体で結像した被写体像を自動的に合焦させ
る合焦手段と、 前記焦点距離設定部材を介して焦点距離が変更されてい
る間、前記合焦手段をして合焦動作を実行させる制御手
段とを具備する事を特徴とするズーム機能を有するカメ
ラ。
1. A camera body, a zoom lens attached to the camera body, a focal length setting member for changing and setting the focal length of the zoom lens, and a subject image formed by the camera body. Focusing means for automatically focusing, and control means for causing the focusing means to perform a focusing operation while the focal length is changed via the focal length setting member. A camera with a zoom function.
【請求項2】カメラ本体と、 このカメラ本体に取り付けられたズームレンズと、 このズームレンズでの焦点距離を変更・設定する為の焦
点距離設定部材と、 前記カメラ本体で結像した被写体像を自動的に合焦させ
る合焦手段と、 前記焦点距離設定部材を介して焦点距離が変更された
時、前記合焦手段をして合焦動作を開始させる制御手段
とを具備する事を特徴とするズーム機能を有するカメ
ラ。
2. A camera body, a zoom lens attached to the camera body, a focal length setting member for changing and setting a focal length of the zoom lens, and a subject image formed by the camera body. A focusing means for automatically focusing and a control means for causing the focusing means to start a focusing operation when the focal length is changed via the focal length setting member. A camera with a zoom function.
【請求項3】前記焦点距離設定部材は、ズームレンズの
外周に、光軸回りに回動自在に取り付けられ、回動され
る事により焦点距離を変更するズームリングを備えてい
る事を特徴とする請求項1に記載のズーム機能を有する
カメラ。
3. The focal length setting member includes a zoom ring, which is attached to an outer periphery of a zoom lens so as to be rotatable about an optical axis, and changes the focal length by being rotated. A camera having a zoom function according to claim 1.
【請求項4】前記ズームレンズは、内蔵するモータによ
り駆動される電動ズームレンズである事を特徴とする請
求項1に記載のズーム機能を有するカメラ。
4. The camera having a zoom function according to claim 1, wherein the zoom lens is an electric zoom lens driven by a built-in motor.
JP30617592A 1992-10-19 1992-10-19 Camera provided with motor-driven zooming function Pending JPH06130272A (en)

Priority Applications (11)

Application Number Priority Date Filing Date Title
JP30617592A JPH06130272A (en) 1992-10-19 1992-10-19 Camera provided with motor-driven zooming function
GB9524857A GB2294123B (en) 1992-10-19 1993-07-29 A focusing operation method and zoom camera
GB9315654A GB2271646B (en) 1992-10-19 1993-07-29 An optical camera and a method of conducting a focusing operation therein
GB9524855A GB2294122B (en) 1992-10-19 1993-07-29 Motor driven zoom camera
GB9524854A GB2294121B (en) 1992-10-19 1993-07-29 Motor driven zoom lens camera
FR9309402A FR2697097B1 (en) 1992-10-19 1993-07-30 Camera with zoom lens.
DE19934326454 DE4326454C2 (en) 1992-10-19 1993-08-06 Camera with zoom lens
US08/414,130 US5654789A (en) 1992-10-19 1995-03-30 Motor driven zoom camera
US08/463,302 US5680647A (en) 1992-10-19 1995-06-05 Motor driven zoom camera
US08/889,007 US5812888A (en) 1992-10-19 1997-07-07 Motor driven zoom camera
US08/895,564 US5754894A (en) 1992-10-19 1997-07-16 Motor driven zoom camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30617592A JPH06130272A (en) 1992-10-19 1992-10-19 Camera provided with motor-driven zooming function

Publications (1)

Publication Number Publication Date
JPH06130272A true JPH06130272A (en) 1994-05-13

Family

ID=17953947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30617592A Pending JPH06130272A (en) 1992-10-19 1992-10-19 Camera provided with motor-driven zooming function

Country Status (1)

Country Link
JP (1) JPH06130272A (en)

Similar Documents

Publication Publication Date Title
US5363165A (en) Power zoom lens and camera system
US5754894A (en) Motor driven zoom camera
JP3244530B2 (en) Shooting lens, camera body and camera system
JP3283076B2 (en) Camera with electric zoom function
US5396306A (en) Power lens and camera system
JP3272418B2 (en) Camera with electric zoom function
JP3206991B2 (en) Camera with zoom function
JP3351562B2 (en) Camera with electric zoom function
JP3538402B2 (en) Camera system
JPH06130276A (en) Camera provided with motor-driven zooming function
JPH06130275A (en) Camera provided with motor-driven zooming function
JPH06130445A (en) Camera with motor-driven zooming function
JPH06130272A (en) Camera provided with motor-driven zooming function
JPH06130277A (en) Camera provided with motor-driven zooming function
JPH06130271A (en) Camera provided with motor-driven zooming function
US5450156A (en) Power zoom lens and camera having same
JP3538401B2 (en) Lens drive, camera system and power lens
JP3820251B2 (en) Camera system, taking lens, and camera body
JP2002148503A (en) Camera system and power zoom lens
JP2002148673A (en) Camera system and zoom controller
JP2002131615A (en) Lens driving device and camera system
JP3723754B2 (en) Power lens
JP2002131821A (en) Camera system and taking lens
GB2294121A (en) Motor driven zoom camera
GB2283102A (en) Camera system having power zoom lens