JP3276794B2 - Conversion adapter - Google Patents

Conversion adapter

Info

Publication number
JP3276794B2
JP3276794B2 JP33530894A JP33530894A JP3276794B2 JP 3276794 B2 JP3276794 B2 JP 3276794B2 JP 33530894 A JP33530894 A JP 33530894A JP 33530894 A JP33530894 A JP 33530894A JP 3276794 B2 JP3276794 B2 JP 3276794B2
Authority
JP
Japan
Prior art keywords
lens
interchangeable lens
focus
microcomputer
driving
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.)
Expired - Fee Related
Application number
JP33530894A
Other languages
Japanese (ja)
Other versions
JPH08179414A (en
Inventor
光広 桂川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP33530894A priority Critical patent/JP3276794B2/en
Priority to US08/613,727 priority patent/US5731920A/en
Priority to EP95309361A priority patent/EP0718672B1/en
Priority to DE69530054T priority patent/DE69530054T2/en
Priority to KR1019950054224A priority patent/KR100231354B1/en
Publication of JPH08179414A publication Critical patent/JPH08179414A/en
Application granted granted Critical
Publication of JP3276794B2 publication Critical patent/JP3276794B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Structure And Mechanism Of Cameras (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本願発明は光学機器用のレンズの
変換アダプターに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a lens conversion adapter for optical equipment.

【0002】[0002]

【従来の技術】製造現場では自動化が進み、それに伴い
組立・品質評価等の各製造過程で多くの画像処理機器が
用いられている。これらの画像処理機器の光学系にはC
マウントレンズがよく用いられる。一方、近年の技術の
進歩に伴いより高解像のセンサ等が開発され、これらが
製造現場等にも使われてくると、Cマウントレンズより
撮像エリアの大きい35mm版等のカメラレンズが多用
されるようになってきた。
2. Description of the Related Art In a manufacturing site, automation is advanced, and accordingly, many image processing devices are used in each manufacturing process such as assembly and quality evaluation. The optical system of these image processing devices is C
Mount lenses are often used. On the other hand, with the advancement of technology in recent years, higher-resolution sensors and the like have been developed, and when they are used in manufacturing sites and the like, camera lenses such as 35 mm plates having a larger imaging area than C-mount lenses are often used. It has become.

【0003】ところが、35mm版等のカメラレンズは
Cマウントとは異なるマウントを持つ為、マウントを変
換するアダプターが必要となる。
However, since a camera lens such as a 35 mm version has a mount different from the C mount, an adapter for changing the mount is required.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、近年3
5mm版等のカメラシステムはオートフォーカスをはじ
めとして電子化がすすみ本来のカメラシステム以外のシ
ステムではその機能を十分に発揮できないことが多い。
たとえば、レンズのフォーカス・絞り等の制御が、カメ
ラ等の外部からの機械的な連動によって行われるのでな
く、電気的な信号のみのよって行われる場合は、マニュ
アル的な動作をさせることもできない。
However, in recent years,
Camera systems such as the 5 mm version are often digitized, such as autofocus, and systems other than the original camera system often cannot sufficiently exhibit their functions.
For example, when the control of the focus / aperture of the lens is not performed by an external mechanical link such as a camera or the like, but is performed only by an electric signal, a manual operation cannot be performed.

【0005】このような課題を解決するため本発明は、
このような電気的な信号のみによって制御されるレンズ
においても、他のシステムから制御できる変換アダプタ
ーを提供するものである。
[0005] In order to solve such a problem, the present invention provides:
An object of the present invention is to provide a conversion adapter that can be controlled by another system even in a lens controlled only by such an electric signal.

【0006】[0006]

【課題を解決するための手段】本願の第1の発明は、ア
クチュエータ及び該アクチュエータの動作を制御する
イクロコンピュータを備えた交換レンズを装着可能な第
1のマウントと、第1のマウントに取り付けられた交換
レンズを撮影光学系とする光学機器を装着可能な第2の
マウントと、前記第1のマウントに具備され、前記交換
レンズのマイクロコンピュータと通信を行わせるために
設けられた第1の電気端子と、該第1の電気端子に接続
され交換レンズのマイクロコンピュータと通信を行う
イクロコンピュータと、前記第1及び第2のマウントと
は別設されたコンピュータ用汎用電気端子であって、
記光学機器外の外部コンピュータと接続され、前記第1
の電気端子に接続されたマイクロコンピュータと前記外
部コンピュータと通信を行わせるために設けられた第2
の電気端子とを有し、前記外部コンピュータにより前記
第1の電気端子に接続されたマイクロコンピュータを介
して前記交換レンズのマイクロコンピュータを制御する
ことを特徴とする変換アダプターである。これにより、
前記光学機器外の外部コンピュータによって、交換レン
ズの制御ができるようになる。
According to a first aspect of the present invention, there is provided an actuator and a controller for controlling an operation of the actuator .
A first mount to which an interchangeable lens provided with an microcomputer can be mounted, a second mount to which an optical device having an interchangeable lens attached to the first mount as a photographic optical system can be mounted, and the first mount It is provided to, while performing a first electrical terminal disposed in order to perform communication with the microcomputer, the microcomputer and the communication of the connected interchangeable lens to the first electrical terminal of the interchangeable lens
And Micro computer, from said first and second mount a general-purpose electrical terminal for a different set computer, before
Connected to an external computer outside the optical device,
A microcomputer provided to communicate with the microcomputer connected to the electrical terminal of the external computer and the external computer.
Wherein the external computer controls the microcomputer of the interchangeable lens via a microcomputer connected to the first electric terminal. This allows
Therefore the optical instrument outside of the external computer, exchange Len
Can be controlled .

【0007】また、本願の第2の発明は、前記アダプタ
ー内のコンピュータは、交換レンズ内のレンズを低速で
駆動制御する低速モードと、高速で駆動制御する高速モ
ードとを有することを特徴とする請求項1に記載の変換
アダプターである。
A second invention of the present application is the adapter
-The computer in the
Low-speed mode for drive control and high-speed mode for high-speed drive control
2. The conversion according to claim 1, further comprising:
Adapter.

【0008】本願の第3の発明は、前記低速モードでは
速度に応じた駆動量で駆動されるよう繰り返し交換レン
ズに送信し、高速モードでは目標停止位置に応じた駆動
量で駆動されるよう交換レンズに送信すること特徴とす
る請求項2に記載の変換アダプターである。
[0008] The third invention of the present application is the above-mentioned low-speed mode.
Repeated replacement lens so that it is driven by the drive amount according to the speed
And in the high-speed mode, drive according to the target stop position.
And transmitted to the interchangeable lens to be driven by
The conversion adapter according to claim 2.

【0009】本願の第4の発明は、前記アダプター内の
コンピュータは、前記交換レンズを所定のルーチンで駆
動することにより交換レンズの特性を検出することを特
徴とする請求項1に記載の変換アダプターである。
[0009] A fourth invention of the present application is the above-mentioned adapter,
The computer drives the interchangeable lens in a predetermined routine.
Movement to detect the characteristics of the interchangeable lens.
The conversion adapter according to claim 1, wherein

【0010】本願の第5の発明は、前記アダプターは前
記交換レンズのアクチュエータに対して給電を行う電源
制御回路を有し、該電源制御回路は前記アダプター内の
コンピュータにより制御されることを特徴とする請求項
1に記載の変換アダプターである。
According to a fifth aspect of the present invention, the adapter is provided
Power supply for supplying power to the interchangeable lens actuator
A control circuit, wherein the power control circuit is provided in the adapter.
Claims characterized by being controlled by a computer
2. The conversion adapter according to 1.

【0011】[0011]

【0012】なお、上記交換レンズは特に一眼レフ交換
レンズとは限るものではなく、例えばビデオ用、レンズ
シャッタ用の交換レンズであってもかまわない。
The interchangeable lens is not particularly limited to a single-lens reflex interchangeable lens, but may be, for example, an interchangeable lens for a video or a lens shutter.

【0013】[0013]

【実施例】図1は本発明に関わる実施例を説明するため
の変換アダプターを用いたシステムを表したものであ
る。図1において1は変換アダプター、2は例えば一眼
レフ用の交換レンズ(以下レンズと略す)、3はレンズ
2を撮影光学系とするビデオカメラやスキャナカメラ、
あるいはフィルムカメラ等の光学機器(以下カメラと略
す)、4はレンズ2を制御する汎用コンピュータであ
る。5はレンズ2を装着するマウントで、6はマウント
5に取り付けられた電気接点である。7はコンピュータ
4とシリアル通信を行うためのコンピュータ通信用の汎
用電気端子で、本実施例ではRS232Cインターフェ
イスを用いているが、セントロニクスやSCSI等でも
よい。8はコンピュータ4からのシリアル制御信号をレ
ンズ2が受信可能な制御信号に変換、またレンズ2から
の信号をコンピュータ4が受信可能なシリアル信号に変
換する変換回路である。以上述べてきたシステムによ
り、一眼レフ用交換レンズ2内のマイコン2aはインタ
ーフェイス2b、変換アダプタ1を介してコンピュータ
4によって制御が可能となる。そして、レンズ内マイコ
ン2aは制御回路2dを介してレンズ内アクチュエータ
2Cを制御して、例えばフォーカスレンズ絞り2eを駆
動する。
FIG. 1 shows a system using a conversion adapter for explaining an embodiment according to the present invention. In FIG. 1, reference numeral 1 denotes a conversion adapter, 2 denotes, for example, an interchangeable lens for a single-lens reflex camera (hereinafter abbreviated as a lens), 3 denotes a video camera or a scanner camera having a lens 2 as a photographing optical system,
Alternatively, an optical device (hereinafter abbreviated as a camera) such as a film camera 4 is a general-purpose computer for controlling the lens 2. Reference numeral 5 denotes a mount for mounting the lens 2, and 6 denotes an electric contact mounted on the mount 5. Reference numeral 7 denotes a general-purpose electric terminal for computer communication for performing serial communication with the computer 4, which uses an RS232C interface in the present embodiment, but may use a Centronics, SCSI, or the like. A conversion circuit 8 converts a serial control signal from the computer 4 into a control signal that can be received by the lens 2 and converts a signal from the lens 2 into a serial signal that can be received by the computer 4. With the system described above, the microcomputer 2a in the single-lens reflex interchangeable lens 2 can be controlled by the computer 4 via the interface 2b and the conversion adapter 1. The microcomputer 2a in the lens controls the actuator 2C in the lens via the control circuit 2d to drive, for example, the focus lens diaphragm 2e.

【0014】図2は図1中のアダプター1をさらに詳細
に説明するための回路構成図である。6−aはレンズ2
内のレンズアクチュエータを駆動するための電源端子
(以下VBAT電源と略す)、6−bは電源端子6−a
に対する接地端子、6−cはレンズ2内の回路系を動作
させる為の電源端子(以下VDD電源と記す)、6−d
は電源接点6−cに対する接地接点である。6−eはレ
ンズ2内のマイコン2aと変換アダプター1間のシリア
ル通信用のクロック端子、6−fはレンズ2内マイコン
2aから変換アダプター1へのシリアルデータ受信用の
接点、6−gは変換アダプター1からレンズ2内マイコ
ン2aへのシリアルデータ送信用の接点である。9はマ
イクロコンピュータで、10は外部コンピュータから接
続されるRS232Cシリアル信号を+5ボルト、0ボ
ルトのロジックレベルに変換するレベル変換回路であ
る。
FIG. 2 is a circuit diagram for explaining the adapter 1 in FIG. 1 in more detail. 6-a is lens 2
A power supply terminal (hereinafter abbreviated as VBAT power supply) for driving the lens actuator therein, 6-b is a power supply terminal 6-a
A power terminal (hereinafter referred to as a VDD power source) for operating a circuit system in the lens 2;
Is a ground contact for the power contact 6-c. 6-e is a clock terminal for serial communication between the microcomputer 2a in the lens 2 and the conversion adapter 1, 6-f is a contact for receiving serial data from the microcomputer 2a in the lens 2 to the conversion adapter 1, and 6-g is a conversion terminal. A contact for transmitting serial data from the adapter 1 to the microcomputer 2a in the lens 2. Reference numeral 9 denotes a microcomputer, and reference numeral 10 denotes a level conversion circuit for converting an RS232C serial signal connected from an external computer into a logic level of +5 volts and 0 volts.

【0015】11はレンズ2内のアクチュエータ2Cを
駆動するための電源の供給を制御する電源制御回路で、
電源制御回路11はマイクロコンピュータ9からの制御
信号により電源端子6−aへの給電をオンまたはオフす
る。12はレンズ2内の制御回路2dを動作させるため
の電源の供給を制御する電源制御回路で、電源制御回路
12はマイクロコンピュータ9からの制御信号により電
源端子6−cへの給電をオンまたはオフする。PSは電
源スイッチ(メインスイッチ)である。
A power supply control circuit 11 controls the supply of power for driving the actuator 2C in the lens 2.
The power supply control circuit 11 turns on or off power supply to the power supply terminal 6-a according to a control signal from the microcomputer 9. Reference numeral 12 denotes a power supply control circuit for controlling the supply of power for operating the control circuit 2d in the lens 2. The power supply control circuit 12 turns on or off power supply to the power supply terminal 6-c according to a control signal from the microcomputer 9. I do. PS is a power switch (main switch).

【0016】13は交換レンズ装着検知スイッチで、レ
ンズ2がマウント5に装着され電気信号接点6を通して
レンズ2がアダプター1により制御可能となった時のみ
オンするもので、スイッチ13はマイクロコンピュータ
9に接続されている。14は不揮発性のメモリで,マイ
クロコンピュータ9に接続され、メモリ14内のデータ
消去、書き込み、読みだしがマイクロコンピュータ9で
行える。15はモードスイッチで、スイッチ15−a、
15−bの状態によってRS232Cインターフェイス
の転送速度が図3のように設定される。
Reference numeral 13 denotes an interchangeable lens mounting detection switch, which is turned on only when the lens 2 is mounted on the mount 5 and the lens 2 can be controlled by the adapter 1 through the electric signal contact 6. The switch 13 is connected to the microcomputer 9. It is connected. Reference numeral 14 denotes a nonvolatile memory which is connected to the microcomputer 9 so that the microcomputer 9 can erase, write, and read data in the memory 14. Reference numeral 15 denotes a mode switch, which is a switch 15-a,
The transfer rate of the RS232C interface is set as shown in FIG. 3 according to the state of 15-b.

【0017】図4〜9はアダプター内のマイクロコンピ
ュータ9の動作を説明するフローチャートである。以下
図4〜9のフローチャートのステップごとに説明する。
FIGS. 4 to 9 are flowcharts for explaining the operation of the microcomputer 9 in the adapter. Hereinafter, each step of the flowcharts of FIGS.

【0018】<ステップ101>図2にのメインスイッ
チPSが投入されるとマイクロコンピュータ9はメモリ
・入出力ポ−ト等の初期化を行う。この時、スイツチ1
5の状態に従ってRS232Cシリアル通信の転送速度
も設定される。
<Step 101> When the main switch PS shown in FIG. 2 is turned on, the microcomputer 9 initializes memories, input / output ports, and the like. At this time, switch 1
The transfer speed of the RS232C serial communication is also set according to the state of No. 5.

【0019】<ステップ102>不揮発性メモリ14の
内容を読み出し、マイクロコンピュータ9内のメモリに
格納する。なお、不揮発性メモリ14には図10に示し
た内容のデータが記憶されている。図10でF_MEM
O0〜F_MEMO7はフォーカス位置の記憶データで
レンズ2内の不図示のフォーカスエンコーダからの値で
設定されている。F_SPD0〜F_SDP3はフォー
カス速度データでレンズ2内のフォーカス駆動量で設定
されている。I_SPD0〜I_SDP3はIRIS速
度データでレンズ2内の絞り(IRIS)の駆動を実行
する時間間隔で設定されている。なお、F_MEMO0
〜F_MEMO7はそれぞれマイクロコンピュータ2の
メモリMF_MEMO0〜MF_MEMO7に、F_S
PD0〜F_SPD3はそれぞれマイクロコンピュータ
2のメモリMF_SPD0〜MF_SPD3に、またI
_SPD0〜I_SPD3はそれぞれマイクロコンピュ
ータ2のメモリMI_SPD0〜MI_SPD3に格納
される。
<Step 102> The contents of the nonvolatile memory 14 are read out and stored in the memory in the microcomputer 9. Note that the nonvolatile memory 14 stores data having the contents shown in FIG. F_MEM in FIG.
O0 to F_MEMO7 are stored data of the focus position and are set by values from a focus encoder (not shown) in the lens 2. F_SPD <b> 0 to F_SDP <b> 3 are focus speed data and are set by a focus drive amount in the lens 2. I_SPD0 to I_SDP3 are set at time intervals for executing driving of the aperture (IRIS) in the lens 2 based on the IRIS speed data. Note that F_MEMO0
To F_MEMO7 are stored in the memories MF_MEMO0 to MF_MEMO7 of the microcomputer 2 respectively.
PD0 to F_SPD3 are stored in the memories MF_SPD0 to MF_SPD3 of the microcomputer 2, respectively.
_SPD0 to I_SPD3 are stored in the memories MI_SPD0 to MI_SPD3 of the microcomputer 2, respectively.

【0020】<ステップ103>スイッチ13の状態を
検知し、オンしていればレンズ2が装着されているので
ステップ105へ進む。またオフならステップ104へ
進む。
<Step 103> The state of the switch 13 is detected. If the switch 13 is turned on, the process proceeds to step 105 because the lens 2 is mounted. If it is off, the process proceeds to step 104.

【0021】<ステップ104>ステップ103にて、
レンズ2がアダプター1に装着されていないと判断され
たので、電源制御回路12を電源VDDが電源端子6−
cに供給されないよう制御し、ステップ103へ戻る。
<Step 104> In step 103,
Since it is determined that the lens 2 is not attached to the adapter 1, the power supply control circuit 12 is connected to the power supply terminal 6-
c so as not to be supplied, and the process returns to step 103.

【0022】<ステップ105>ステップ103にて、
レンズ2がアダプター1に装着されていると判断された
ので、電源制御回路12を電源VDDが電源端子6−c
に供給されるよう制御し、ステップ106へ進む。すな
わち、ステップ103〜105では、レンズ2が装着さ
れるまではVDD電源を供給せず、レンズ2が装着され
たらVDDを供給している。
<Step 105> In step 103,
Since it is determined that the lens 2 is mounted on the adapter 1, the power supply circuit 12 is connected to the power supply terminal 6-c.
And the process proceeds to step 106. That is, in steps 103 to 105, VDD power is not supplied until the lens 2 is mounted, and VDD is supplied when the lens 2 is mounted.

【0023】<ステップ106>ステップ105でレン
ズ2に回路電源VDDが供給されたので、電気接点6−
e、6−f、6−gを通してレンズ2内のマイコン2a
と双方向シリアル通信を行う。もし、このシリアル通信
が正常に実行されなかったらステップ107へ進む。ま
た、シリアル通信が正常に実行されたならステップ10
8へ進む。
<Step 106> Since the circuit power supply VDD is supplied to the lens 2 in step 105, the electric contacts 6-
e, 6-f, 6-g, microcomputer 2a in lens 2
And two-way serial communication. If this serial communication is not executed normally, the process proceeds to step 107. If the serial communication is executed normally, step 10 is executed.
Proceed to 8.

【0024】<ステップ107>レンズ2内のマイコン
2aとの通信が異常なので、電源制御回路11を電源V
BATが電源端子6−aに供給されないよう制御し、ス
テップ103へ戻る。
<Step 107> Since communication with the microcomputer 2a in the lens 2 is abnormal, the power supply control circuit 11
Control is performed so that BAT is not supplied to the power supply terminal 6-a, and the process returns to step 103.

【0025】<ステップ108>レンズ2内のマイコン
2aとの通信が正常に行われたので、電源制御回路11
を電源VBATが電源端子6−aに供給されるよう制御
し、ステップ109へ進む。ステップ106〜108に
より、電源VBATはレンズ2内のマイコン2aとの通
信が正常に行われた場合のみ供給される。
<Step 108> Since the communication with the microcomputer 2a in the lens 2 has been normally performed, the power supply control circuit 11
Is controlled so that the power supply VBAT is supplied to the power supply terminal 6-a, and the process proceeds to step 109. According to steps 106 to 108, the power supply VBAT is supplied only when communication with the microcomputer 2a in the lens 2 is normally performed.

【0026】<ステップ109>装着されているレンズ
2の絞りが開放に駆動されるように,電気接点6を通し
てレンズ2を制御する。
<Step 109> The lens 2 is controlled through the electric contact 6 so that the aperture of the mounted lens 2 is driven open.

【0027】<ステップ110>装着されているレンズ
2の開放Fナンバー、最小絞りFナンバーの情報を電気
接点6を通して取り込み、それぞれメモリAV_O、A
V_MAXに格納する。
<Step 110> Information on the open F-number and the minimum aperture F-number of the attached lens 2 is fetched through the electric contact 6 and stored in the memories AV_O and A_V, respectively.
Store in V_MAX.

【0028】<ステップ111>装着されているレンズ
2のフォーカスが至近端に駆動されるように、電気接点
6を通してレンズ2を制御する。
<Step 111> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is driven to the closest end.

【0029】<ステップ112>装着されているレンズ
2のフォーカスエンコーダ不図示の値を零にリセットす
るように、電気接点6を通してレンズ2を制御する。
<Step 112> The lens 2 is controlled through the electric contact 6 so as to reset a value (not shown) of the focus encoder of the mounted lens 2 to zero.

【0030】<ステップ113>装着されているレンズ
2のフォーカスが無限端に駆動されるように,電気接点
6を通してレンズ2を制御する。
<Step 113> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is driven to the infinite end.

【0031】<ステップ114>装着されているレンズ
2のフォーカスエンコーダ値を、電気接点6を通して取
り込み、メモリENC_MAXに格納する。
<Step 114> The focus encoder value of the mounted lens 2 is fetched through the electric contact 6 and stored in the memory ENC_MAX.

【0032】以上のステップ109〜114は、装着さ
れたレンズ2の絞り・フォーカスを初期位置に駆動させ
ると共に、レンズ固有のデータである開放Fナンバー、
最小絞りFナンバー、また至近端を零とした場合の無限
端のフォーカスエンコーダ値を取得しメモリに格納し、
これにより交換レンズの特性を読み取っている。
The above steps 109 to 114 drive the aperture and focus of the mounted lens 2 to the initial position, and also open lens F number,
The minimum aperture F number and the focus encoder value at the infinite end when the closest end is set to zero are obtained and stored in the memory,
Thus, the characteristics of the interchangeable lens are read.

【0033】<ステップ115>RS232Cによる通
信を許可し、通信を受信したときは割り込みが発生する
ことを許可し、ステップ200へ進む。
<Step 115> The communication by the RS232C is permitted, and when the communication is received, the generation of the interrupt is permitted.

【0034】図5(イ)のステップ120からは上記の
RS232C通信の受信による割り込み処理を説明する
ものである。
From step 120 in FIG. 5A, the interruption process due to the reception of the RS232C communication is described.

【0035】<ステップ120>受信したコマンドの解
析を行い、各コマンド受信処理ルーチンへ進む。図5
(ロ)のステップ130〜ステップ135はフォーカス
を至近方向に駆動するコマンドを受信した時の処理を説
明するものである。
<Step 120> The received command is analyzed, and the process proceeds to each command reception processing routine. FIG.
Steps (130) to (135) of (b) are for explaining processing when a command for driving the focus in the closest direction is received.

【0036】図5(ロ)において、<ステップ130>
メモリMF_SPD0〜MF_SPD3の中から現在設
定されているフォーカス速度番号のデータをメモリPに
コピーする。
In FIG. 5B, <Step 130>
The data of the currently set focus speed number is copied from the memories MF_SPD0 to MF_SPD3 to the memory P.

【0037】<ステップ131>フォーカス至近方向駆
動中フラグがセットされていたら、すでに至近方向に駆
動中なので何もせずに通信割り込みルーチンを終了す
る。
<Step 131> If the close focus direction driving flag is set, the communication interrupt routine is terminated without any operation because the drive is already performed in the close direction.

【0038】<ステップ132>フォーカスを駆動する
直前のフォーカスエンコーダ値を電気接点6と通して取
得し、メモリENC_0に格納する。
<Step 132> The focus encoder value immediately before driving the focus is obtained through the electric contact 6 and stored in the memory ENC_0.

【0039】<ステップ133>装着されているレンズ
2のフォーカスを駆動量Pだけ至近方向に駆動されるよ
うに、電気接点6を通してレンズ2を制御する。
<Step 133> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is driven in the close direction by the driving amount P.

【0040】<ステップ134>フォーカス至近方向駆
動中フラグをセットする。
<Step 134> Set the close-in-focus direction driving flag.

【0041】<ステップ135>フォーカス無限方向駆
動中フラグをクリアし、通信割り込みルーチンを終了す
る。
<Step 135> The in-focus in-direction driving flag is cleared, and the communication interrupt routine ends.

【0042】図5(ハ)のステップ140〜ステップ1
45はフォーカスを無限方向に駆動するコマンドを受信
した時の処理を説明するものである。
Step 140 to step 1 in FIG.
Reference numeral 45 denotes a process when a command for driving the focus in the infinite direction is received.

【0043】<ステップ140>メモリMF_SPD0
〜MF_SPD3の中から現在設定されているフォーカ
ス速度番号のデータをメモリPにコピーする。
<Step 140> Memory MF_SPD0
To MF_SPD3, the data of the currently set focus speed number is copied to the memory P.

【0044】<ステップ141>フォーカス無限方向駆
動中フラグがセットされていたら、すでに無限方向に駆
動中なので何もせずに通信割り込みルーチンを終了す
る。
<Step 141> If the in-focus in-direction driving flag is set, the communication interrupt routine is terminated without doing anything because the driving is already in the infinite direction.

【0045】<ステップ142>フォーカスを駆動する
直前のフォーカスエンコーダ値を電気接点6と通して取
得し、メモリENC_0に格納する。
<Step 142> The focus encoder value immediately before driving the focus is obtained through the electric contact 6 and stored in the memory ENC_0.

【0046】<ステップ143>装着されているレンズ
2のフォーカスを駆動量Pだけ無限方向に駆動されるよ
うに、電気接点6を通してレンズ2を制御する。
<Step 143> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is driven in the infinite direction by the driving amount P.

【0047】<ステップ144>フォーカス無限方向駆
動中フラグをセットする。
<Step 144> The in-focus in-focus driving flag is set.

【0048】<ステップ145>フォーカス至近方向駆
動中フラグをクリアし、通信割り込みルーチンを終了す
る。
<Step 145> The flag in the near-focus direction is cleared, and the communication interrupt routine is terminated.

【0049】図5(ニ)のステップ150〜ステップ1
52はフォーカスを停止するコマンドを受信した時の処
理を説明するものである。
Step 150 to Step 1 in FIG.
Reference numeral 52 denotes a process when a command to stop focusing is received.

【0050】<ステップ150>装着されているレンズ
2のフォーカスを停止されるように,電気接点6を通し
てレンズ2を制御する。
<Step 150> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is stopped.

【0051】<ステップ151>フォーカス無限方向駆
動中フラグをクリアする。
<Step 151> The in-focus in-focus direction driving flag is cleared.

【0052】<ステップ152>フォーカス至近方向駆
動中フラグをクリアし、通信割り込みルーチンを終了す
る。
<Step 152> The flag in the near-focus driving direction is cleared, and the communication interrupt routine ends.

【0053】図5(ホ)のステップ155はフォーカス
を速度を設定するコマンドを受信した時の処理を説明す
るものである。
Step 155 in FIG. 5E explains the processing when a command for setting the focus speed is received.

【0054】<ステップ155>受信したフォーカス速
度番号に応じてメモリMF_SPD0〜MF_SPD3
の中から速度データをメモリPにコピーし、通信割り込
みルーチンを終了する。
<Step 155> Memory MF_SPD0 to MF_SPD3 according to the received focus speed number
Is copied to the memory P, and the communication interrupt routine is terminated.

【0055】ステップ156〜ステップ157はフォー
カス位置を記憶するコマンドを受信した時の処理を説明
するものである。
Steps 156 to 157 explain the processing when a command for storing the focus position is received.

【0056】図6(イ)の<ステップ156>フォーカ
スエンコーダ値を電気接点6を通してレンズ2から取得
し、受信した記憶番号に応じてメモリMF_MEMO0
〜MF_MEMO7に格納する。
<Step 156> of FIG. 6A. A focus encoder value is obtained from the lens 2 through the electric contact 6 and stored in the memory MF_MEMO0 according to the received storage number.
To MF_MEMO7.

【0057】<ステップ157>フォーカスエンコーダ
値を電気接点6を通してレンズ2から取得し、受信した
記憶番号に応じて不揮発性メモリF_MEMO0〜F_
MEMO7に書き込み、通信割り込みルーチンを終了す
る。
<Step 157> A focus encoder value is obtained from the lens 2 through the electric contact 6, and the nonvolatile memories F_MEMO0 to F_MEM_F_MEM_0 according to the received storage number are obtained.
Write to MEMO7 and end the communication interrupt routine.

【0058】図(ロ)のステップ160〜165は記憶
したフォーカス位置に駆動するコマンドを受信した時の
処理を説明するものである。<ステップ160>受信し
た記憶番号に応じてメモリMF_MEMO0〜MF_M
EMO7のデータをメモリENC_2に格納する。すな
わち、ENC_2に格納されているデータはこれから駆
動すべきフォーカスの目標エンコーダ値を示すものであ
る. <ステップ161>フォーカスエンコーダ値を電気接点
6を通してレンズ2から取得し、メモリENC_0に格
納する。
Steps 160 to 165 in FIG. 8B are for explaining the processing when a command for driving to the stored focus position is received. <Step 160> Memory MF_MEMO0-MF_M according to received storage number
The data of EMO7 is stored in the memory ENC_2. That is, the data stored in ENC_2 indicates the target encoder value of the focus to be driven from now on. <Step 161> A focus encoder value is obtained from the lens 2 through the electric contact 6 and stored in the memory ENC_0.

【0059】<ステップ162>メモリENC_0とE
NC_2より駆動すべき量を演算しメモリP′に格納す
る。なお、演算式は、P′=ENC_2−ENC_0で
表される。
<Step 162> Memory ENC_0 and E
The amount to be driven is calculated from NC_2 and stored in the memory P '. The operation expression is represented by P '= ENC_2-ENC_0.

【0060】<ステップ163>装着されているレンズ
2のフォーカスを駆動量P′だけ駆動されるように、電
気接点6を通してレンズ2を制御する。
<Step 163> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is driven by the driving amount P '.

【0061】<ステップ164>フォーカス無限方向駆
動中フラグをクリアする。
<Step 164> The in-focus in-focus direction driving flag is cleared.

【0062】<ステップ165>フォーカス至近方向駆
動中フラグをクリアし、通信割り込みルーチンを終了す
る。
<Step 165> The flag in the near-focus direction is cleared, and the communication interrupt routine is terminated.

【0063】図7(イ)のステップ170〜ステップ1
77は絞りを開放方向に駆動するコマンドを受信した時
の処理を説明するものである。
Step 170 to step 1 in FIG.
Reference numeral 77 denotes a process when a command for driving the aperture in the opening direction is received.

【0064】<ステップ170>現在絞りが開放状態で
あるのかどうかを電気接点6を通してレンズ2から取得
し、もし開放状態であったらこれ以上開放方向への駆動
はできないのでそのまま通信割り込みルーチンを終了す
る。また、開放状態でなかったらステップ171へ進
む。
<Step 170> Whether or not the aperture is currently open is obtained from the lens 2 through the electric contact 6, and if the aperture is open, no further drive in the opening direction is possible, so the communication interrupt routine is terminated as it is. . If it is not in the open state, the process proceeds to step 171.

【0065】<ステップ171>メモリMI_SPD0
〜MI_SPD3の中から現在設定されている絞り速度
番号のデータをメモリTにコピーする。
<Step 171> Memory MI_SPD0
The data of the currently set aperture speed number from .about.MI_SPD3 is copied to the memory T.

【0066】<ステップ172>絞り開放方向駆動中フ
ラグがセットされていたら、すでに開放方向に駆動中な
ので何もせずに通信割り込みルーチンを終了する。
<Step 172> If the aperture opening direction driving flag is set, the communication interrupt routine is terminated without any operation since the aperture opening direction is already being driven.

【0067】<ステップ173>装着されているレンズ
2の絞りを1/8段だけ開放方向に駆動されるように、
電気接点6を通してレンズ2を制御する。
<Step 173> The aperture of the attached lens 2 is driven in the opening direction by 1/8 stop.
The lens 2 is controlled through the electric contact 6.

【0068】<ステップ174>時間Tで割り込み発生
するようにタイマをスタートさせる。
<Step 174> A timer is started so that an interrupt occurs at time T.

【0069】<ステップ175>タイマ割り込み発生フ
ラグをクリアする。
<Step 175> The timer interrupt occurrence flag is cleared.

【0070】<ステップ176>絞り開放方向駆動中フ
ラグをセットする。
<Step 176> An aperture opening direction driving flag is set.

【0071】<ステップ177>絞り込み方向駆動中フ
ラグをクリアし、通信割り込みルーチンを終了する。
<Step 177> The flag for driving in the narrowing-down direction is cleared, and the communication interrupt routine ends.

【0072】図7(ロ)のステップ180〜ステップ1
87は絞りを絞り込み方向に駆動するコマンドを受信し
た時の処理を説明するものである。
Step 180 to Step 1 in FIG.
Reference numeral 87 denotes a process when a command for driving the aperture in the aperture-down direction is received.

【0073】<ステップ180>現在絞りが最小絞り状
態であるのかどうかを電気接点6を通してレンズ2から
取得し、もし最小絞り状態であったらこれ以上絞り込み
方向への駆動はできないのでそのまま通信割り込みルー
チンを終了する。また、最小絞り状態でなかったらステ
ップ181へ進む。
<Step 180> Whether or not the aperture is currently in the minimum aperture state is obtained from the lens 2 through the electric contact 6. If the aperture is in the minimum aperture state, it is not possible to drive in the aperture direction any further, so the communication interrupt routine is executed as it is. finish. If it is not in the minimum aperture state, the process proceeds to step 181.

【0074】<ステップ181>メモリMI_SPD0
〜MI_SPD3の中から現在設定されている絞り速度
番号のデータをメモリTにコピーする。
<Step 181> Memory MI_SPD0
The data of the currently set aperture speed number from .about.MI_SPD3 is copied to the memory T.

【0075】<ステップ182>絞り込み方向駆動中フ
ラグがセットされていたら、すでに絞り込み方向に駆動
中なので何もせずに通信割り込みルーチンを終了する。
<Step 182> If the drive-in-focus direction flag is set, the communication interrupt routine is terminated without any operation because the drive is already being performed in the stop-down direction.

【0076】<ステップ183>装着されているレンズ
2の絞りを1/8段だけ絞り込み方向に駆動されるよう
に、電気接点6を通してレンズ2を制御する。
<Step 183> The lens 2 is controlled through the electric contact 6 so that the aperture of the mounted lens 2 is driven in the direction of narrowing down by 8 step.

【0077】<ステップ184>時間Tで割り込み発生
するようにタイマをスタートさせる。
<Step 184> A timer is started to generate an interrupt at time T.

【0078】<ステップ185>タイマ割り込み発生フ
ラグをクリアする。
<Step 185> The timer interrupt occurrence flag is cleared.

【0079】<ステップ186>絞り込み方向駆動中フ
ラグをセットする。
<Step 186> The flag in the narrowing-down direction is set.

【0080】<ステップ187>絞り開放方向駆動中フ
ラグをクリアし、通信割り込みルーチンを終了する。
<Step 187> The flag in the aperture opening direction driving state is cleared, and the communication interrupt routine ends.

【0081】図7(ハ)のステップ190〜ステップ1
93は絞り駆動を停止するコマンドを受信した時の処理
を説明するものである。
Step 190 to Step 1 in FIG.
Reference numeral 93 denotes a process when a command to stop the aperture drive is received.

【0082】<ステップ190>装着されているレンズ
2の絞り駆動を停止されるように、電気接点6を通して
レンズ2を制御する。
<Step 190> The lens 2 is controlled through the electric contact 6 so as to stop the aperture driving of the mounted lens 2.

【0083】<ステップ191>タイマ割り込み発生フ
ラグをクリアする。
<Step 191> The timer interrupt occurrence flag is cleared.

【0084】<ステップ192>絞り開放方向駆動中フ
ラグをクリアする。
<Step 192> The flag in the aperture opening direction driving state is cleared.

【0085】<ステップ193>絞り込み方向駆動中フ
ラグをクリアし、通信割り込みルーチンを終了する。
<Step 193> The driving flag in the focusing direction is cleared, and the communication interrupt routine ends.

【0086】図7(ニ)の<ステップ195>は絞り駆
動速度を設定するコマンドを受信した時の処理を説明す
るものである。
<Step 195> in FIG. 7D describes the processing when a command for setting the aperture drive speed is received.

【0087】<ステップ195>受信した絞り駆動速度
番号に応じてメモリMI_SPD0〜MI_SPD3の
中から速度データをメモリTにコピーし、通信割り込み
ルーチンを終了する。
<Step 195> The speed data is copied from the memories MI_SPD0 to MI_SPD3 to the memory T in accordance with the received aperture drive speed number, and the communication interrupt routine ends.

【0088】再び図4に戻って、ステップ115以降は
RS232Cによる通信を許可しているので、各コマン
ドを受信し、そのコマンドによって各レンズ2に各種の
動作をさせる必要がある。ステップ200〜207では
フォーカスまたは絞り駆動をさせる必要があるかを判別
し、それぞれの処理を行っている。
Returning to FIG. 4 again, since communication by RS232C is permitted after step 115, it is necessary to receive each command and cause each lens 2 to perform various operations according to the command. In steps 200 to 207, it is determined whether it is necessary to perform focus or aperture driving, and the respective processes are performed.

【0089】<ステップ200>至近駆動中フラグがセ
ットされていたら、ステップ201にて至近駆動の為の
処理を行う。
<Step 200> If the close-in-progress flag is set, in step 201, processing for close-in drive is performed.

【0090】<ステップ202>無限駆動中フラグがセ
ットされていたら、ステップ203にて無限駆動の為の
処理を行う。
<Step 202> If the infinity driving flag is set, a process for infinite driving is performed in step 203.

【0091】<ステップ204>開放駆動中フラグがセ
ットされていたら、ステップ205にて絞りを開放に駆
動の為の処理を行う。
<Step 204> If the open drive flag is set, a process for driving the aperture to open at step 205 is performed.

【0092】<ステップ206>絞り込み駆動中フラグ
がセットされていたら、ステップ207にて絞り込み駆
動の為の処理を行う。
<Step 206> If the stop-in-driving flag is set, in step 207, processing for the stop-down driving is performed.

【0093】図8(イ)のステップ210〜ステップ2
16は図4のステップ201の至近駆動処理サブルーチ
ンを表したものである。
Steps 210 to 2 in FIG.
Reference numeral 16 denotes a close drive processing subroutine in step 201 of FIG.

【0094】<ステップ210>フォーカスエンコーダ
値を電気接点6を通してレンズ2から取得し、メモリE
NC_1に格納する。
<Step 210> The focus encoder value is obtained from the lens 2 through the electric contact 6 and is stored in the memory E
Store it in NC_1.

【0095】<ステップ211>前回取得したフォーカ
スエンコーダ値ENC_0と今回取得したフォーカスエ
ンコーダ値ENC_1を比較し変化していなければステ
ップ214へ進む。また、変化していたらステップ21
2へ進む。
<Step 211> The previously obtained focus encoder value ENC_0 is compared with the currently obtained focus encoder value ENC_1. If the focus encoder value ENC_1 has not changed, the flow proceeds to step 214. If it has changed, step 21
Proceed to 2.

【0096】<ステップ212>今回のフォーカスエン
コーダ値ENC_1の内容をEMC_0にコピーし、E
NC_0を更新する。
<Step 212> The content of the current focus encoder value ENC_1 is copied to EMC_0,
Update NC_0.

【0097】<ステップ213>装着されているレンズ
2のフォーカスを駆動量Pだけ至近方向に駆動されるよ
うに、電気接点6を通してレンズ2を制御する。
<Step 213> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is driven in the closest direction by the driving amount P.

【0098】<ステップ214>フォーカスが至近端に
到達しているかどうかを電気接点6を通してレンズ2か
ら取得し、至近端に到達していなければそのまま至近駆
動処理サブルーチンを終了する。また、至近端に到達し
ていたらステップ215へ進む。
<Step 214> Whether or not the focus has reached the closest end is obtained from the lens 2 through the electric contact 6, and if the focus has not reached the closest end, the close drive processing subroutine ends as it is. If it has reached the closest end, the process proceeds to step 215.

【0099】<ステップ215>装着されているレンズ
2のフォーカスを停止されるように、電気接点6を通し
てレンズ2を制御する。
<Step 215> The lens 2 is controlled through the electrical contact 6 so that the focus of the mounted lens 2 is stopped.

【0100】<ステップ216>フォーカス至近方向駆
動中フラグをクリアし、至近駆動処理サブルーチンを終
了する。
<Step 216> The close-in-focus direction driving flag is cleared, and the close-in drive processing subroutine is terminated.

【0101】図8(ロ)のステップ220〜ステップ2
26は図4のステップ203の無限駆動処理サブルーチ
ンを表したもである。
Step 220 to Step 2 in FIG.
26 represents the infinite drive processing subroutine of step 203 in FIG.

【0102】<ステップ220>フォーカスエンコーダ
値を電気接点6を通してレンズ2から取得し、メモリE
NC_1に格納する。
<Step 220> The focus encoder value is obtained from the lens 2 through the electric contact 6 and is stored in the memory E
Store it in NC_1.

【0103】<ステップ221>前回取得したフォーカ
スエンコーダ値ENC_0と今回取得したフォーカスエ
ンコーダ値ENC_1を比較し変化していなければステ
ップ224へ進む。また、変化していたらステップ21
2へ進む。
<Step 221> The focus encoder value ENC_0 acquired last time is compared with the focus encoder value ENC_1 acquired this time, and if it has not changed, the flow proceeds to step 224. If it has changed, step 21
Proceed to 2.

【0104】<ステップ222>今回のフォーカスエン
コーダ値ENC_1の内容をEMC_0にコピーし、E
NC_0を更新する。
<Step 222> The content of the current focus encoder value ENC_1 is copied to EMC_0,
Update NC_0.

【0105】<ステップ223>装着されているレンズ
2のフォーカスを駆動量Pだけ無限方向に駆動されるよ
うに、電気接点6を通してレンズ2を制御する。
<Step 223> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is driven in the infinite direction by the driving amount P.

【0106】<ステップ224>フォーカスが無限端に
到達しているかどうかを電気接点6を通してレンズ2か
ら取得し、無限端に到達していなければそのまま無限駆
動処理サブルーチンを終了する。また、無限端に到達し
ていたらステップ225へ進む。
<Step 224> Whether or not the focus has reached the infinity end is obtained from the lens 2 through the electric contact 6, and if the focus has not reached the infinity end, the infinity drive processing subroutine is terminated as it is. If the end has been reached, the process proceeds to step 225.

【0107】<ステップ225>装着されているレンズ
2のフォーカスを停止されるように、電気接点6を通し
てレンズ2を制御する。
<Step 225> The lens 2 is controlled through the electric contact 6 so that the focus of the mounted lens 2 is stopped.

【0108】<ステップ226>フォーカス無限方向駆
動中フラグをクリアし、無限駆動処理サブルーチンを終
了する。
<Step 226> The in-focus in-direction driving flag is cleared, and the infinite driving processing subroutine is terminated.

【0109】図9(イ)のステップ230〜ステップ2
37はステップ205の絞り開放駆動処理サブルーチン
を表したものである。
Step 230 to step 2 in FIG.
Reference numeral 37 denotes an aperture opening drive processing subroutine in step 205.

【0110】<ステップ230>タイマ割り込み発生フ
ラグがセットされていなかったら、前回の絞り駆動から
時間Tが経過していないので、そのまま絞り開放駆動サ
ブルーチンを終了する。また、タイマ割り込み発生フラ
グがセットされていたらステップ231へ進む。
<Step 230> If the timer interrupt occurrence flag has not been set, the time T has not elapsed since the previous driving of the aperture, and the aperture opening driving subroutine is terminated as it is. If the timer interrupt occurrence flag is set, the process proceeds to step 231.

【0111】<ステップ231>装着されているレンズ
2の絞りが開放状態であるかどうかを、電気接点6を通
して取得し、開放状態ならこれ以上開放ほうこうへ駆動
する必要がないのでステップ235へ進む。
<Step 231> Whether or not the aperture of the mounted lens 2 is open is acquired through the electric contact 6, and if it is in the open state, there is no need to drive the aperture further.

【0112】<ステップ232>レンズ2の絞りを1/
8段だけ開放方向に駆動されるように、電気接点6を通
してレンズ2を制御する。
<Step 232> Set the aperture of the lens 2 to 1 /
The lens 2 is controlled through the electric contacts 6 so as to be driven in the opening direction by eight steps.

【0113】<ステップ233>時間Tで割り込み発生
するようにタイマをスタ−トさせる。
<Step 233> The timer is started so that an interrupt occurs at time T.

【0114】<ステップ234>タイマ割り込み発生フ
ラグをクリアし、絞り開放駆動サブルーチンを終了す
る。
<Step 234> The timer interrupt occurrence flag is cleared, and the aperture opening drive subroutine ends.

【0115】<ステップ235>装着されているレンズ
2の絞り駆動を停止されるように、電気接点6を通して
レンズ2を制御する。
<Step 235> The lens 2 is controlled through the electric contact 6 so as to stop driving the aperture of the mounted lens 2.

【0116】<ステップ236>絞り開放方向駆動中フ
ラグをクリアする。
<Step 236> The flag in the aperture opening direction driving state is cleared.

【0117】<ステップ237>タイマ割り込み発生フ
ラグをクリアし、絞り開放駆動サブルーチンを終了す
る。
<Step 237> The timer interrupt occurrence flag is cleared, and the aperture opening drive subroutine ends.

【0118】図9(ロ)のステップ240〜ステップ2
47はステップ207の絞り込み駆動処理サブルーチン
を表したもである。
Step 240 to Step 2 in FIG.
Reference numeral 47 denotes a narrowing-down drive processing subroutine in step 207.

【0119】<ステップ240>タイマ割り込み発生フ
ラグがセットされていなかったら、前回の絞り駆動から
時間Tが経過していないので、そのまま絞り開放駆動サ
ブルーチンを終了する。また、タイマ割り込み発生フラ
グがセットされていたらステップ241へ進む。
<Step 240> If the timer interrupt occurrence flag has not been set, the time T has not elapsed since the last drive of the aperture, and the aperture opening drive subroutine is terminated as it is. If the timer interrupt occurrence flag is set, the process proceeds to step 241.

【0120】<ステップ241>装着されているレンズ
2の絞りが最小絞り状態であるかどうかを、電気接点6
を通して取得し、最小絞り状態ならこれ以上絞り込めな
いのでステップ245へ進む。
<Step 241> It is determined whether or not the aperture of the mounted lens 2 is in the minimum aperture state by the electric contact 6.
If it is in the minimum aperture state, it is impossible to further reduce the aperture, and the process proceeds to step 245.

【0121】<ステップ242>レンズ2の絞りを1/
8段だけ絞り込み方向に駆動されるように、電気接点6
を通してレンズ2を制御する。
<Step 242> The aperture of the lens 2 is set to 1 /
The electric contacts 6 are driven so that only eight stages are driven in the narrowing direction.
Lens 2 is controlled through

【0122】<ステップ243>時間Tで割り込み発生
するようにタイマをスタ−トさせる。
<Step 243> The timer is started so that an interrupt occurs at time T.

【0123】<ステップ244>タイマ割り込み発生フ
ラグをクリアし、絞り込み駆動サブルーチンを終了す
る。
<Step 244> The timer interrupt occurrence flag is cleared, and the focusing drive subroutine is terminated.

【0124】<ステップ245>装着されているレンズ
2の絞り駆動を停止されるように、電気接点6を通して
レンズ2を制御する。
<Step 245> The lens 2 is controlled through the electric contact 6 so as to stop driving the aperture of the mounted lens 2.

【0125】<ステップ246>絞り込み方向駆動中フ
ラグをクリアする。
<Step 246> The flag for driving in the narrowing-down direction is cleared.

【0126】<ステップ247>タイマ割り込み発生フ
ラグをクリアし、絞り込み駆動サブルーチンを終了す
る。
<Step 247> The timer interrupt occurrence flag is cleared, and the focusing drive subroutine is terminated.

【0127】図9(ハ)のステップ250はタイマ割り
込みが発生した時のタイマ割り込みルーチンである。
The step 250 in FIG. 9C is a timer interrupt routine when a timer interrupt occurs.

【0128】<ステップ250>時間Tでタイマ割り込
みのでタイマ割り込み発生フラグをセットし、割り込み
ルーチンを終了する。
<Step 250> Since a timer interrupt occurs at time T, a timer interrupt occurrence flag is set, and the interrupt routine ends.

【0129】一般にモ−タの制御方法として、目標速度
に追従させる速度サ−ボがよく知られており、この速度
サ−ボ方式では図11のように停止目標位置に近づくに
つれて停止精度を上げるために目標速度を徐徐に落とす
方法がとられる。本変換アダプターに装着されるレンズ
2においてもフォーカス用のアクチュエ−タの制御に、
図11で示したような特性で制御するようにプログラミ
ングされたものが多い。
In general, as a motor control method, a speed servo for following a target speed is well known. In this speed servo system, as the vehicle approaches a stop target position, as shown in FIG. For this purpose, a method of gradually reducing the target speed is used. The lens 2 attached to this conversion adapter also controls the actuator for focusing.
Many are programmed to control with the characteristics as shown in FIG.

【0130】本実施例では、このようなフォーカス駆動
特性を持つレンズ2に対しても連続的に任意の速度でフ
ォーカスが駆動できるように、目標位置までの駆動量P
で設定される速度Vが保たれるように所定時間間隔ごと
に繰り返し小刻みな駆動量Pにてレンズを駆動制御して
いる。同様に駆動量をP1とすれば、速度はV1で保た
れることになる。本実施例では、この方法を停止位置の
予め決まっていないようなマニュアルフォーカスに用い
ている。一方、予め記憶したフォーカス位置に駆動する
場合には、前記のように何度も駆動制御することなく、
最初の1回のみの駆動制御で目標位置まで駆動してやる
ことで最短短時間で制御ができる。
In this embodiment, the driving amount P to the target position is set so that the focus can be driven continuously at an arbitrary speed even for the lens 2 having such a focus driving characteristic.
The drive of the lens is controlled by the drive amount P in small increments at predetermined time intervals so as to maintain the speed V set in (1). Similarly, if the drive amount is P1, the speed is maintained at V1. In this embodiment, this method is used for manual focusing in which the stop position is not determined in advance. On the other hand, when driving to the focus position stored in advance, without driving control many times as described above,
Driving to the target position by the first one-time drive control enables the control in a shortest time.

【0131】本実施例では、レンズ2のフォーカスおよ
び絞りの制御について述べてきたが、ズームの制御、あ
るいは雲台の制御を行ってもよい。また、コンピュータ
4とアダプター1のインタ−フェイスとしてRS232
Cで説明してきたが、他の通信フォーマットであっても
構わない。又、図12のように変換アダプターに外部か
らビデオ信号を取り込むための入力端子VIDEO I
N、及び入力ビデオ信号の平均レベルを検出するレベル
検出回路LDを設け、これにより絞りをコントロールす
るオートIRIS機能を追加してもよい。
In this embodiment, the control of the focus and the aperture of the lens 2 has been described. However, the control of the zoom or the control of the pan head may be performed. Also, RS232 is used as an interface between the computer 4 and the adapter 1.
Although described in C, other communication formats may be used. Also, as shown in FIG. 12, an input terminal VIDEO I for taking in a video signal from outside to the conversion adapter.
A level detection circuit LD for detecting N and the average level of the input video signal may be provided to add an auto IRIS function for controlling the aperture.

【0132】[0132]

【発明の効果】本発明のような変換アダプターを用いる
ことにより、電気的な信号の通信によって制御されるレ
ンズにおいても、他の汎用コンピュータから制御でき、
さらにプログラミングも可能であるため製造工場等など
においてレンズ制御の自動化も容易となる。
By using the conversion adapter according to the present invention, even a lens controlled by communication of electric signals can be controlled from another general-purpose computer.
Furthermore, since programming is also possible, automation of lens control in a manufacturing factory or the like becomes easy.

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

【図1】本発明に関わる変換アダプターを用いたシステ
ムを説明するための構成図である。
FIG. 1 is a configuration diagram for explaining a system using a conversion adapter according to the present invention.

【図2】変換アダプターの回路構成図である。FIG. 2 is a circuit configuration diagram of a conversion adapter.

【図3】スイッチ15とRS232Cのボーレイトの関
係を示した図である。
FIG. 3 is a diagram showing a relationship between a switch 15 and a baud rate of RS232C.

【図4】変換アダプターの動作を説明するためのフロー
チャート図である。
FIG. 4 is a flowchart for explaining the operation of the conversion adapter.

【図5】変換アダプターの動作を説明するためのフロー
チャート図である。
FIG. 5 is a flowchart for explaining the operation of the conversion adapter.

【図6】変換アダプターの動作を説明するためのフロー
チャート図である。
FIG. 6 is a flowchart for explaining the operation of the conversion adapter.

【図7】変換アダプターの動作を説明するためのフロー
チャート図である。
FIG. 7 is a flowchart for explaining the operation of the conversion adapter.

【図8】変換アダプターの動作を説明するためのフロー
チャート図である。
FIG. 8 is a flowchart for explaining the operation of the conversion adapter.

【図9】変換アダプターの動作を説明するためのフロー
チャート図である。
FIG. 9 is a flowchart for explaining the operation of the conversion adapter.

【図10】不揮発性メモリに記憶されるデータを表した
図である。
FIG. 10 is a diagram showing data stored in a nonvolatile memory.

【図11】交換レンズのフォーカス駆動速度と目標位置
までの駆動量の関係を示した図である。
FIG. 11 is a diagram illustrating a relationship between a focus drive speed of the interchangeable lens and a drive amount to a target position.

【図12】第1の実施例にオートIRIS機能を付加し
た場合の回路構成図である。
FIG. 12 is a circuit configuration diagram when an auto-IRIS function is added to the first embodiment.

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

1 変換アダプター 2 交換レンズ 3 画像処理機器 4 コンピュータ 6 電気接点 7 電気端子 8 変換回路 9 マイクロコンピュータ 10 レベル変換回路 11,12 電源制御回路 13 スイッチ 14 不揮発性メモリ 15 スイッチ DESCRIPTION OF SYMBOLS 1 Conversion adapter 2 Interchangeable lens 3 Image processing equipment 4 Computer 6 Electric contact 7 Electric terminal 8 Conversion circuit 9 Microcomputer 10 Level conversion circuit 11, 12 Power control circuit 13 Switch 14 Nonvolatile memory 15 Switch

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−54209(JP,A) 特開 平4−273227(JP,A) 特開 平4−273230(JP,A) 特開 平4−273226(JP,A) 特開 平7−92373(JP,A) 特開 平8−6137(JP,A) ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-2-54209 (JP, A) JP-A-4-273227 (JP, A) JP-A-4-273230 (JP, A) JP-A-4-273 273226 (JP, A) JP-A-7-92373 (JP, A) JP-A-8-6137 (JP, A)

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アクチュエータ及び該アクチュエータの
動作を制御するマイクロコンピュータを備えた交換レン
ズを装着可能な第1のマウントと、 第1のマウントに取り付けられた交換レンズを撮影光学
系とする光学機器を装着可能な第2のマウントと、 前記第1のマウントに具備され、前記交換レンズのマイ
クロコンピュータと通信を行わせるために設けられた第
1の電気端子と、該第1の電気端子に接続され交換レン
ズのマイクロコンピュータと通信を行うマイクロコンピ
ュータと、前記第1及び第2のマウントとは別設された
コンピュータ用汎用電気端子であって、前記光学機器外
外部コンピュータと接続され、前記第1の電気端子に
接続されたマイクロコンピュータと前記外部コンピュー
タと通信を行わせるために設けられた第2の電気端子と
を有し、前記外部コンピュータにより前記第1の電気端
子に接続されたマイクロコンピュータを介して前記交換
レンズのマイクロコンピュータを制御することを特徴と
する変換アダプター。
1. An optical apparatus comprising: a first mount capable of mounting an interchangeable lens including an actuator and a microcomputer for controlling the operation of the actuator; and an optical apparatus having the interchangeable lens mounted on the first mount as a photographing optical system. a second mount can be attached, is provided in the first mount, Mai of the interchangeable lens
Black a first electrical terminal provided for causing the computer and communication, and the micro competent <br/> Yuta which is connected to the first electrical terminal communicates with microcomputer of the interchangeable lens, the first and Separate from the second mount
A general-purpose electrical terminal for a computer, the terminal being outside the optical device.
Is connected to an external computer, and a second electrical terminal provided in order to perform communication with said first electrical terminal connected to a microcomputer and the external computer, the first by an external computer A microcomputer for controlling the microcomputer of the interchangeable lens via a microcomputer connected to the electric terminal of the conversion adapter.
【請求項2】 前記アダプター内のコンピュータは、交
換レンズ内のレンズを低速で駆動制御する低速モード
と、高速で駆動制御する高速モードとを有することを特
徴とする請求項1に記載の変換アダプター。
2. The conversion adapter according to claim 1, wherein the computer in the adapter has a low-speed mode for controlling the driving of the lens in the interchangeable lens at a low speed, and a high-speed mode for controlling the driving of the lens in the interchangeable lens at a high speed. .
【請求項3】 前記低速モードでは速度に応じた駆動量
で駆動されるよう繰り返し交換レンズに送信し、高速モ
ードでは目標停止位置に応じた駆動量で駆動されるよう
交換レンズに送信することを特徴とする請求項2に記載
の変換アダプター。
3. In the low-speed mode, transmission to the interchangeable lens is performed repeatedly so as to be driven at a drive amount corresponding to the speed, and in the high-speed mode, transmission to the interchangeable lens is performed so as to be driven at a drive amount according to a target stop position. The conversion adapter according to claim 2, characterized in that:
【請求項4】 前記アダプター内のコンピュータは、前
記交換レンズを所定のルーチンで駆動することにより交
換レンズの特性を検出することを特徴とする請求項1に
記載の変換アダプター。
4. The conversion adapter according to claim 1, wherein a computer in the adapter detects characteristics of the interchangeable lens by driving the interchangeable lens in a predetermined routine.
【請求項5】 前記アダプターは前記交換レンズのアク
チュエータに対して給電を行う電源制御回路を有し、該
電源制御回路は前記アダプター内のコンピュータにより
制御されることを特徴とする請求項1に記載の変換アダ
プター。
5. The adapter according to claim 1, wherein the adapter has a power control circuit for supplying power to the actuator of the interchangeable lens, and the power control circuit is controlled by a computer in the adapter. Conversion adapter.
JP33530894A 1994-12-22 1994-12-22 Conversion adapter Expired - Fee Related JP3276794B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP33530894A JP3276794B2 (en) 1994-12-22 1994-12-22 Conversion adapter
US08/613,727 US5731920A (en) 1994-12-22 1995-12-14 Converting adapter for interchangeable lens assembly
EP95309361A EP0718672B1 (en) 1994-12-22 1995-12-21 Converting adapter for interchangeable lens assembly
DE69530054T DE69530054T2 (en) 1994-12-22 1995-12-21 Transfer adapter for interchangeable lens arrangement
KR1019950054224A KR100231354B1 (en) 1994-12-22 1995-12-22 Converting adapter for interchangeable lens assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33530894A JP3276794B2 (en) 1994-12-22 1994-12-22 Conversion adapter

Publications (2)

Publication Number Publication Date
JPH08179414A JPH08179414A (en) 1996-07-12
JP3276794B2 true JP3276794B2 (en) 2002-04-22

Family

ID=18287074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33530894A Expired - Fee Related JP3276794B2 (en) 1994-12-22 1994-12-22 Conversion adapter

Country Status (1)

Country Link
JP (1) JP3276794B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102016680B (en) 2008-04-21 2013-12-11 松下电器产业株式会社 Interchangeable lens, camera body, and camera system
JP4924755B2 (en) * 2010-09-09 2012-04-25 株式会社ニコン Interchangeable lenses, camera bodies and electronic equipment
CN202102219U (en) 2010-09-09 2012-01-04 株式会社尼康 Replaceable lens, camera main body and electronic device
JP5923905B2 (en) * 2011-09-20 2016-05-25 株式会社ニコン Adapter, camera system, and adapter control program

Also Published As

Publication number Publication date
JPH08179414A (en) 1996-07-12

Similar Documents

Publication Publication Date Title
KR100231354B1 (en) Converting adapter for interchangeable lens assembly
JP2714039B2 (en) Camera device
US6654554B2 (en) Power controller of a camera having an interchangeable lens
US6766111B2 (en) Camera system having a communication system between a camera body and a photographing lens
US6707992B2 (en) Camera system having a communication system between a camera body and a photographing lens
US7796350B2 (en) Interchangeable lens barrel, program rewriting system for interchangeable lens barrel
JPH03237413A (en) Electric focal distance changing device
CN110351457B (en) Control device, optical device, imaging device, and control method for optical device
JP3276794B2 (en) Conversion adapter
US5682556A (en) Camera with vibration correcting function
US5243372A (en) Motor driven zooming apparatus
JP4660859B2 (en) Lens device
JP2941966B2 (en) Camera system and interchangeable lens device
US7883281B2 (en) Camera body, interchangeable lens, and camera system including camera body and interchangeable lens
US5966550A (en) Automatic focusing apparatus in a camera
US5170203A (en) Camera system
JP3176243B2 (en) Conversion adapter
JP7362299B2 (en) Lens device, camera, camera system, control method
JP3176244B2 (en) Conversion adapter
US6741808B2 (en) Camera system having a communication system between a camera body and a photographing lens
JPS63172231A (en) Auto-focusing device
JP6816787B2 (en) interchangeable lens
JP7475872B2 (en) Lens device and imaging device having the same
JP2000075385A (en) Interchangeable photographing lens, camera body and camera system using them
JP2003121722A (en) Camera system and camera

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080208

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090208

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100208

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100208

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees