JPS60147711A - Auto-focus device - Google Patents

Auto-focus device

Info

Publication number
JPS60147711A
JPS60147711A JP399884A JP399884A JPS60147711A JP S60147711 A JPS60147711 A JP S60147711A JP 399884 A JP399884 A JP 399884A JP 399884 A JP399884 A JP 399884A JP S60147711 A JPS60147711 A JP S60147711A
Authority
JP
Japan
Prior art keywords
lens
lens driving
signal
terminal
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP399884A
Other languages
Japanese (ja)
Other versions
JPH0123762B2 (en
Inventor
Yoshihito Harada
義仁 原田
Akira Ishizaki
明 石崎
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 JP399884A priority Critical patent/JPS60147711A/en
Priority to US06/688,355 priority patent/US4790649A/en
Publication of JPS60147711A publication Critical patent/JPS60147711A/en
Publication of JPH0123762B2 publication Critical patent/JPH0123762B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals

Abstract

PURPOSE:To use a clock signal line as a transfer line of a lens driving indication signal by applying the lens driving indication signal to a clock terminal when it is detected that a digital value of a lens driving quantity operated on a basis of a distance measured output is transferred through a data terminal. CONSTITUTION:Distance measured data from a light receiving part is outputted in time series and is inputted to a CPU through an AD converter. The CPU operates the lens driving quantity as a digital value, and the operated driving quantity is outputted to a signal transmitting circuit CMC from output ports PA0-PA3 and is transferred to a lens driving circuit LP in serial by clocks of a clock generator CG2. The end of this data transfer is detected by a counter CNT2, and the lens driving indication signal is applied to an input port PB7 of the CPU through a clock signal line CLOCK to inhibit the distance measuring operation. When lens driving is terminated, the counter CNT2 is reset, and the lens driving indication signal disappears. Thus, the signal line CLOCK is used for transfer of the lens driving indication signal.

Description

【発明の詳細な説明】 本発明はTTL光学系を介した測距機能を有するカメラ
と、該カメラからのレンズ駆動量情報に基づいてレンズ
駆動を行なうレンズ駆動回路を備えたレンズとから成る
オートフォーカス装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is an automatic camera comprising a camera having a distance measurement function via a TTL optical system, and a lens equipped with a lens drive circuit that drives the lens based on lens drive amount information from the camera. This invention relates to a focus device.

上記型式のシステムにおいては、レンズが駆動中におけ
る測距情報は正確な測距値を表わしていないため、レン
ズ駆動中にあっては測距動作を禁止する必要がある。こ
のため、上記型式のシステムにおけるカメラとレンズと
の接続端子としては、レンズ駆動量をレンズ側へ転送す
るためのデーターラインと、上記レンズ駆動中を表わす
信号をカメラへ転送するためのラインとを必要とする。
In the above type of system, since the distance measurement information while the lens is being driven does not represent an accurate distance measurement value, it is necessary to prohibit the distance measurement operation while the lens is being driven. Therefore, the connection terminal between the camera and lens in the above type of system includes a data line for transmitting the amount of lens drive to the lens side, and a line for transmitting the signal indicating that the lens is being driven to the camera. I need.

又、更に上記レンズ駆動量データーをデジタル値として
転送する場合にあっては、データーラインが多ピットと
なるため、シリアル転送方法が取られるが、この場合、
シリアル転送のためあ同期用りpツクをデーターの他に
カメラからレンズに送る必要が生じ、最低上記の3ライ
ンが必要となりレンズとカメラとの接続接点数が増大す
る欠点がある。本発明は、この点に鑑みなされたもので
、上記レンズ駆動中を表わす信号を上記クロックを送出
するラインを介してカメラ側に転送することにて、ライ
ンの兼用化を行ない上述の問題を解消したものである。
Furthermore, in the case where the lens driving amount data is transferred as a digital value, the data line has many pits, so a serial transfer method is used, but in this case,
Because of serial transfer, it is necessary to send a synchronization PC in addition to data from the camera to the lens, which requires at least the three lines mentioned above, which has the disadvantage of increasing the number of connection points between the lens and camera. The present invention has been made in view of this point, and solves the above problem by transmitting the signal indicating that the lens is being driven to the camera side via the line that sends out the clock, thereby making the line dual-purpose. This is what I did.

本発明は上、記目的を達成する構成として特に測距動作
にてレンズ駆動量を算出し、該レンズ駆動量を表わす信
号をレンズに送出してレンズ駆動を行なうと共にレンズ
駆動中にあってはレンズ駆動中信号をカメラに伝え、レ
ンズ駆動中における測距動作を禁止するオートフォーカ
ス装置において、測距回路出力に基づいてレンズ駆動量
をデジタル値として演算する演算回路と、該演算回路か
らの・デジタル値をシリアルに送出するためのデータ一
端子と、上記デジタル値のシリアル転送を行なわせるた
めのクリックパルスを送出するクロック端子をガメラに
設けると共に上記デジタル値に基づいてレンズ駆動を行
なうレンズ駆動回路と、上記データ一端子を介して入力
するデジタル値の転送終了を検知して上記クロック端子
にレンズ駆動中信号を印加すると共に上記デジタル値に
基づくレンズ駆動の終了を検知して上記レンズ駆動中信
号を消滅させる信号形成回路とをレンズ側に設けたもの
である。
The present invention has a configuration to achieve the above-mentioned object, in particular, calculates a lens driving amount in a distance measuring operation, sends a signal representing the lens driving amount to the lens to drive the lens, and also performs lens driving while driving the lens. An autofocus device that transmits a lens drive signal to the camera and prohibits distance measurement operation while the lens is driving includes an arithmetic circuit that calculates the lens drive amount as a digital value based on the distance measurement circuit output, and a A lens drive circuit that provides a data terminal for serially transmitting a digital value and a clock terminal for transmitting a click pulse for serially transmitting the digital value, and drives the lens based on the digital value. Then, it detects the end of transfer of the digital value input through the data terminal and applies a lens driving signal to the clock terminal, and also detects the end of lens driving based on the digital value and outputs the lens driving signal. A signal forming circuit for eliminating the light is provided on the lens side.

次いで本発明に係るオートフォーカス装置について説明
する。
Next, an autofocus device according to the present invention will be explained.

第1目は本発明に係る伝達装置を適用したカメラに採用
される距離検知方式の一例を示す原理図である。
The first is a principle diagram showing an example of a distance detection method employed in a camera to which a transmission device according to the present invention is applied.

図において1は被写体で、該被写体からの像は撮影レン
ズ2を介してフィルム面3に結像される。該結像は2次
光学系4を介してCOD等にて構成される2つのライン
センサーCR及びCF上に2次結像する。
In the figure, reference numeral 1 denotes a subject, and an image from the subject is formed on a film surface 3 via a photographing lens 2. The image is formed as a secondary image via a secondary optical system 4 on two line sensors CR and CF formed of COD or the like.

上記七ンサーC几は基準上ンザ一部で第1図(b)の如
くA。−A、04つのセンス部から成り、CFはB O
NB 1G及びB−1〜B、までの18個のセンス部か
ら成っている。上記(d成にて結像状態に応じた毎ンサ
ーCF上の所定の位置に被写体像が2次結像される。例
えば合焦に対して所N1ff前ピン状態にある時には5
(第1図(b) (C)参照)の如くセンス部B2〜E
Sta側に結像され、逆に所謂後ビン状態にある時には
7(第1図(b) (C)参照)の如くセンス部B、〜
馬側に結像され、又合焦状態にある時には6(第1図(
b) (C)参照)の如くセンス部B。ps−B、上に
結像される。よってセン位置までのスレ状態(距離値)
を検知し付ることとなる。
The above-mentioned seven circuits C is a part of the standard A as shown in Fig. 1(b). -A, consists of 04 sense parts, CF is B O
It consists of 18 sense sections, NB 1G and B-1 to B. In the above (d-format), the subject image is secondaryly formed at a predetermined position on each sensor CF according to the image formation state.For example, when the subject is in focus state N1ff in front of the focus, 5
(See Figure 1(b)(C)) Sense parts B2 to E
When the image is focused on the Sta side, and conversely in the so-called rear bin state, the sense parts B, ~, as shown in 7 (see Fig. 1 (b) (C)).
When the image is focused on the horse side and in focus, it is 6 (Fig. 1 (
b) Sense part B as shown in (C)). ps-B, imaged on. Therefore, the thread condition (distance value) to the sensor position
will be detected and attached.

上記距離検知方式は公知であると共に本発明は距離検知
動作自体を対象とするものではなく、どの型式のものを
用いても良いので、距離検知方式に対する説明は上記の
程度で留める。
The distance detection method described above is well known, and the present invention is not directed to the distance detection operation itself, and any type may be used, so the description of the distance detection method will be limited to the above.

第2図は本発明に係る伝達装置が適用されるカメラ及び
レンズの一実施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of a camera and lens to which a transmission device according to the present invention is applied.

図において!はカメラ側、Iはレンズ側を示している。In the figure! indicates the camera side, and I indicates the lens side.

カメラ側■におけるCCDPは上述のセンサーCB、C
F並びに各センサー部に入射する光量の平均的光鼠を測
定するための輝度検知用のセンサーACが設けられる受
光部である。
The CCDP on the camera side ■ is the above-mentioned sensors CB and C.
This is a light receiving section provided with a sensor AC for detecting brightness for measuring the average amount of light incident on F and each sensor section.

該受光部はりpツクジェネレーターCG1からのクロ゛
ツクを基準としてjl、 、 Jil+、の2相クロツ
ク及びリセットク誼ツクpRを形成するクレツクドテイ
バー〇DRにて公知の如くドライブされる。C1は前記
センサーACの出力にて充電されるコンデンサー、CP
、は該コンデンサーの充電量と基準電圧Mopとを比較
しコンデンサーCP、の出力が上記電圧Vatに達した
時比較出力(ハイレベル)を発生する比較回路、ON、
は上記比較出力にて転送パルスメTを出力するワンショ
ット回路で、該パルスjlLrrにより受光部CCDP
の苺ンサーC几、CPの各センス部に蓄積された光電荷
がセンサーのアナログシフトレジスターに転送され蓄積
動作を終了すると共に上記アナログシフトレジスターに
転送された光電荷が上記パルス911 、0.にて時系
列で出力される。
The light receiving section is driven in a known manner by a clocked taber DR that forms two-phase clocks jl, , Jil+ and a reset clock pR based on the clock from the p-clock generator CG1. C1 is a capacitor charged by the output of the sensor AC, CP
, is a comparison circuit that compares the charge amount of the capacitor with the reference voltage Mop and generates a comparison output (high level) when the output of the capacitor CP reaches the voltage Vat, ON,
is a one-shot circuit that outputs the transfer pulse T with the above comparison output, and the pulse jlLrr causes the light receiving unit CCDP
The photocharges accumulated in each sensing portion of the strawberry sensor C and CP are transferred to the analog shift register of the sensor to complete the accumulation operation, and the photocharges transferred to the analog shift register are transferred to the pulses 911, 0. is output in chronological order.

ADは上記受光部CCDPから時系列で出力される各セ
ンス部の蓄積電荷を順次4ビツトのデジタル値に変換す
るためのA−D変換回路である。
AD is an A-D conversion circuit for sequentially converting the accumulated charge of each sense section output in time series from the light receiving section CCDP into a 4-bit digital value.

CPUは後述の演算処理並びに各動作のシーケンス制御
を行なうためのセントラルブロセツシングユニットであ
る。該CPUのリセット端子RESはレリーズ操作部材
の第1段操作にてオンとなるスイッチSW、に接続して
いる。上記リセット端子1(,18には通常ハイレベル
(以下l(レベルと称す。)が印加されCP Uのプロ
グラムカウンターがゼ四にセットされ、後述゛のスター
トステップを指定する。又リセット端子にロウレベル(
以下Lレベルと称す。)が入力すると上記スタートステ
ップから後述のプ四グラムを実行する。
The CPU is a central processing unit for performing arithmetic processing and sequence control of each operation, which will be described later. A reset terminal RES of the CPU is connected to a switch SW that is turned on by the first step operation of the release operation member. A normal high level (hereinafter referred to as level) is applied to the reset terminals 1 (18), and the program counter of the CPU is set to zero, specifying the start step described later.Also, a low level is applied to the reset terminal. (
Hereinafter referred to as L level. ) is input, the program (described later) is executed from the start step.

NoはHレベル信号にて前記受光部のセンサーのインテ
グレーションクリアゲートを開となし蓄積電荷をクリア
ーすると共にトランジスター’IBをオンとなし、上記
コンデンサー〇、をリセットし、更にLレベル信号にて
上記トランジスターTrをオフとなし、コンデンサーC
0の充電を開始させると共に各センツーによる光電荷蓄
積動作を開始させる蓄積動作制御のための信号を出力す
る端子である。
For No, an H level signal opens the integration clear gate of the sensor of the light receiving section to clear the accumulated charge, turns on the transistor 'IB, resets the capacitor 〇, and furthermore, an L level signal opens the above transistor Tr is turned off and capacitor C
This is a terminal that outputs a signal for controlling the storage operation to start the charging of 0 and also to start the photocharge storage operation by each centuary.

D0〜D、は上記A−D変換回路ADの出力端に接続し
A−D変換された各センス部の蓄積電荷に応じたデジタ
ル値を入力する入力端子である。PAo−PA、は後述
の演算値等を出力する出力ボート、PBoNPB、は後
述の名種データーを入力する入力ポート、PCは表示W
DISPにレンズの駆動方向等の焦点状態情報を伝える
ための端子である。
D0 to D are input terminals connected to the output end of the A/D conversion circuit AD and inputting a digital value corresponding to the A/D converted charge accumulated in each sense section. PAo-PA is an output port that outputs calculated values, etc., which will be described later, PBoNPB is an input port that inputs name data, which will be described later, and PC is a display W.
This is a terminal for transmitting focal state information such as the driving direction of the lens to the DISP.

CMCは前記CPUの人出カポ−) PAoNPA、。CMC is the output capo of the CPU) PAoNPA.

PB0〜PBγと後述のレンズ側に設けられたレンズ駆
動回路LPとを接続するための信号伝達回路である。
This is a signal transmission circuit for connecting PB0 to PBγ and a lens drive circuit LP provided on the lens side, which will be described later.

レンズ側■には上記カメ2側から送出される距離値及び
方向信号によりモーターMを駆動する上記レンズ駆動回
路LPが設けられ、モーターMに連動してレンズの距離
値が駆動され上記距離値に基づいて自動距離合わせが実
行される。
The lens drive circuit LP is provided on the lens side (2) to drive the motor M based on the distance value and direction signal sent from the camera 2 side, and the distance value of the lens is driven in conjunction with the motor M to reach the distance value. Automatic distance adjustment is performed based on this.

第3図は上記信号伝達回路CMC及びレンズ駆動回路L
Pの一実施例を示す回路図である。
Figure 3 shows the signal transmission circuit CMC and lens drive circuit L.
FIG. 2 is a circuit diagram showing an example of P.

第3図の信号伝達回路CMCにおいて、CG。In the signal transmission circuit CMC of FIG. 3, CG.

はクロックジェネレーター、CN’r、は上記CG。is the clock generator, and CN'r is the above CG.

からのり四ツクパルスの立上り信号をカウントするバイ
ナリ−カウンターで、その出力端(4,はオアゲートG
、の一方の入力端に接続すると共にイナープル端子18
NABLFJに接続している。上記オアゲートG3の他
方の入力端は上記ジェネレーターCG、に接続されてい
る。上記構成にてオアゲートG、からは、カウンターQ
、からHレベルが送出されるまでジェネレーターCG、
のクロックパルスが送出され以後Hレベル信号が送出さ
れる。該ゲートG、からのパルスはオープンコレクター
バッファーG4及びレンズ側とカメラ側とを接続する端
子を介してレンズ駆動回路に伝わるO D8.はデーターセレクターで、該データーセレクター
はコントロール端子A″、Bを前記カウンターの出力端
Q+ 、 Q2 h接続し、上記コントロール端子の入
力がA、B共にLレベルの時に入力端り。のデーターを
、A=Hレベル、B=Lレベルの時に入力端り、のデー
ターを、A−=Lレベル、B==i(レベルの時に入力
端D2のデーターを又、A、B共にHレベルの時に入力
端D3のデーターをそれぞれ出力端Yから送出する。上
述の如くカウンターCNT、はバイナリ−カウンターで
あるため、上記の構成にてCPUの出カポ−) PAo
 NPAsからのデーターがPAoからFA、の順に上
記クロックに同期して出力される。出カポ−) PA0
〜PA、は合焦点までのレンズ駆動量を表わす信号を出
力する出力ボートであり、FA。
It is a binary counter that counts the rising signal of the four clock pulses, and its output terminal (4, is the OR gate G
, and the inner pull terminal 18.
Connected to NABLFJ. The other input terminal of the OR gate G3 is connected to the generator CG. In the above configuration, from or gate G, counter Q
, until the H level is sent out, the generator CG,
A clock pulse is sent out, and thereafter an H level signal is sent out. The pulse from the gate G is transmitted to the lens drive circuit via the open collector buffer G4 and the terminal connecting the lens side and the camera side. is a data selector, which connects the control terminals A'' and B to the output terminals Q+ and Q2h of the counter, and when the inputs of the control terminals A and B are both at L level, the data at the input terminal is When A=H level and B=L level, input the data at the input terminal, when A-=L level, B==i (level), input the data at input terminal D2, and when both A and B are at H level, input the data at the input terminal. The data at the end D3 is sent out from the output end Y.As mentioned above, the counter CNT is a binary counter, so with the above configuration, the CPU output counter PAo
Data from the NPAs is output from PAo to FA in the order of synchronization with the clock. Output capo) PA0
~PA is an output port that outputs a signal representing the amount of lens drive to the in-focus point, and FA.

は駆動方向を表わす信号を出力する出力ボートである。is an output port that outputs a signal representing the driving direction.

G、はその入力を上記カウンターCN、の出力Q。G is the output Q of the counter CN, whose input is the above-mentioned counter CN.

及びインバーターG6を介してバッファー(14に接続
するアンドゲートで、該ゲートの出力はCPUの人カポ
−)PI37に接続している。It(EゲートG。
and a buffer (an AND gate connected to 14, the output of which is connected to the CPU's capacitor) PI37 via an inverter G6. It(E gate G.

は後述の如くレンズ駆動中信号(以下口J S Y f
t4号と称す。)を上記入カポ−) PI3.に伝える
ためのものである。
is the lens driving signal (hereinafter referred to as JSY f) as described later.
It is called t4. ) above) PI3. It is intended to convey to the

SHlは前記ゲートG3からのノ々ルスの立下り信号に
同期して後述の如く端子r>h’rhlNからのシリア
ルデータ−(ズーム比情報及びレンズの種類情報)を入
力しシフトするシフトレジスターである。該レジスター
Sll、の出力Q。〜Q、は上記ズーム比情報を入力す
るためのC、L’ Uの入カポ−) PB0〜PB3に
接続されている。
SH1 is a shift register that inputs and shifts serial data (zoom ratio information and lens type information) from terminal r>h'rhlN as described later in synchronization with the falling signal of the nose signal from the gate G3. be. The output Q of the register Sll. -Q, are connected to C, L'U input ports (PB0 to PB3) for inputting the zoom ratio information.

G2は上記レジスター8H,の出力端Q。〜Q3にその
入力端を接続するアンドゲートで、このゲートはカメラ
に装着されたレンズが通常のマニュアルレンズであるか
否かの検知を行なう。
G2 is the output terminal Q of the register 8H. This is an AND gate whose input terminal is connected to ~Q3, and this gate detects whether or not the lens attached to the camera is a normal manual lens.

G1は上記レジスターSH,の出力Q1:5 Qo〜Q
、にその入力端を接続するノアゲートで、このゲートは
カメラに装着されたレンズが測距回路を含みレンズ単体
に自動距離合わせ動作を行なう機能を有するレンズであ
るか否かの検知を行なう。
G1 is the output of the register SH, Q1:5 Qo~Q
, the input end of which is connected to the Noah gate, which detects whether the lens attached to the camera is a lens that includes a distance measuring circuit and has a function of automatically adjusting the distance to the lens itself.

レンズ駆動回路LPにおいて、CN’l’、は上記バッ
ファーG4を介して送出されるクロックの立上り信号と
同期してカウントするバイナリ−カウンターである。該
カウンターCNT2の出力端Q、 、 Q、データーセ
レクターDS2の入力端ABに接続しており、該セレク
ターDS2は上記セレクターDS1と同様に、上記カウ
ンターのカウント動作に同期して入力端り。−D3に入
力する信号をり。−D3の順で順次出力端Yから送出す
る。
In the lens drive circuit LP, CN'l' is a binary counter that counts in synchronization with the rising edge signal of the clock sent via the buffer G4. The output terminals Q, , Q of the counter CNT2 are connected to the input terminal AB of the data selector DS2, and the selector DS2, like the selector DS1, is connected to the input terminal in synchronization with the counting operation of the counter. - Signal input to D3. -D3 are sequentially sent out from the output terminal Y.

ZPはズーム比の設定状態に応じて変位し、上記セレク
ターDS、の入力端り。、D、の端子とzM1〜ZM3
の所定位置とで接触する導体にて形成されるズームプレ
ートである。該プレートからの情報にてズーム比情報が
入力され、ズーム比情報に応じてレンズの駆動量の補正
がなされる。
ZP is displaced according to the setting state of the zoom ratio, and is the input end of the selector DS. , D, and the terminals zM1 to ZM3
This is a zoom plate made of a conductor that comes into contact with a predetermined position of the zoom plate. Zoom ratio information is input using the information from the plate, and the amount of lens drive is corrected in accordance with the zoom ratio information.

又、上記カウンターCNT、の出力端Q3はインバーテ
イングオーブンコレクタゲートG1゜に入力し、該ゲー
トG、。の出力はカウンターCNT、のクロック入力端
CI、Kに接続している。
Further, the output terminal Q3 of the counter CNT is inputted to the inverting oven collector gate G1. The output of is connected to the clock inputs CI, K of the counter CNT.

8H,は入力端S:NをデーターアウトラインDATA
OUTを介して前記セレクター1)S、の出力端Yに接
続されるシフトレジスターである。該レジスターのクロ
ック端子CLKは上記ラインCLOKを介してバッファ
ーG4に接続し、該ノくツファーを介して入力するクロ
ックの立下り信−号に同期して入力情報をシフトする。
8H, input terminal S:N is data outline DATA
This is a shift register connected to the output terminal Y of the selector 1)S through OUT. The clock terminal CLK of the register is connected to the buffer G4 via the line CLOK, and input information is shifted in synchronization with the falling signal of the clock input via the buffer.

又、G端子はHレベルが入力することにて以後のシフト
動作を禁止するための制御端子である。
Further, the G terminal is a control terminal for inhibiting subsequent shift operations when an H level is input.

LTlはD型7リツブフロツプにて構成される。LTl is composed of D-type 7 ribflops.

駆動方向信号ラッチ用ラッチ回路で、該回路のクロック
端子CKは上記カウンターCNT、のQ。
A latch circuit for latching the driving direction signal, and the clock terminal CK of this circuit is the Q of the counter CNT.

出力端と接続し、該端子からのHレベル信号により、上
記シフトレジスターの出力端Q3の出力信号をラッチす
る。OPlはラッチ回路の出力を増巾するためのオペア
ンプで、該アンプにて増巾された信号はスイッチ8Wm
を介してモーター正逆転制御回路MDに入力し、上記ラ
ッチ回路にラッチされた方向信号に基づきモーターMを
正逆回転させる。
It is connected to the output terminal, and an H level signal from the terminal latches the output signal of the output terminal Q3 of the shift register. OPl is an operational amplifier for amplifying the output of the latch circuit, and the signal amplified by the amplifier is sent to the switch 8Wm.
The direction signal is inputted to the motor forward/reverse control circuit MD via the motor forward/reverse rotation control circuit MD, and the motor M is rotated forward/reverse based on the direction signal latched by the latch circuit.

DEC、はその入力端D0〜D2を前記レジスターの出
力端Q。−Q、に接続するダウンカウンタ−である。該
ダウンカウンタ−は端子LOADへの立上り信号により
入力信号をp−ドし、クロック端子CLKへの入力クロ
ックをダウンカウントしてカウント値がゼロとなること
にて端子DT≦0からHレベル信号を出力する。該端子
DT≦0はインバーターG、を介して一方の入力端を上
記カウンターCNT、のQ、出力端と接続するアンドゲ
ートG0の他方の入力端に接続しており、該ゲートG、
の出力にて該出力がHレベルの時上記スイッチSWmを
オンとなす。FPはモーターMに連動して接片BRにて
摺動される接片プレートでモーターの駆動itに応じた
数のパルスが上記プレートと接片とのオンオフにて形成
されるO 次いで本発明が適用されるカメラとレンズシステムによ
るオートフォーカス動作について、第4図示のフローチ
ャート並びに第5図示の波形図を用いて説明する。
DEC has its input terminals D0 to D2 as the output terminal Q of the register. -Q, is a down counter connected to Q. The down counter inputs the input signal by a rising signal to the terminal LOAD, counts down the input clock to the clock terminal CLK, and when the count value becomes zero, outputs an H level signal from the terminal DT≦0. Output. The terminal DT≦0 is connected via an inverter G to the other input terminal of an AND gate G0, which has one input terminal connected to the output terminal Q of the counter CNT, and the gate G,
When the output is at H level, the switch SWm is turned on. FP is a contact plate that is slid by the contact piece BR in conjunction with the motor M, and a number of pulses corresponding to the motor drive it are generated by turning on and off the plate and the contact piece. The autofocus operation by the applied camera and lens system will be explained using the flowchart shown in FIG. 4 and the waveform diagram shown in FIG. 5.

今、カメラ及びレンズ内の回路への給’+ttが行なわ
れているものとしカメラのレリーズボタンの第1ストロ
ーク操作を行なう。これによりCPUは’tTARTか
らプログラムを実行する。尚CPUは端子RESへの入
力がHレベルの時にはプログラムカウンターをゼロにリ
セットしプログラムのステップを8TAB、Tに保持し
ている。
It is now assumed that power is being supplied to the circuits in the camera and lens, and the first stroke of the release button of the camera is performed. This causes the CPU to execute the program from 'tTART. Note that when the input to the terminal RES is at H level, the CPU resets the program counter to zero and holds the program steps at 8TAB,T.

上記の如くして第1ストローク操作が行なわれるとスイ
ッチSW1がオンとなり、CPUの端子Rg8への入力
がLレベルとなるため、上記5TARTステツプの保持
が解除されプログラムが次のステップPUCへ移行する
。このステップではCPUは出力ポートPA、から負パ
ルスを送出しマウントの接点のPUC端子を通して負パ
ルスをレンズ駆動回路LPに送り、レンズ駆動回路の初
期セットを行なう。これKでカウンターCNT、が初期
状態へ移行する。この後CPUは次のダミー通信データ
ーセットステップへ移行する。このステップではCP 
Uは出力ポートPA0〜PA、に全てLレベル信号を出
力する。上述の如< PA、から出力されるデーター5
IGNはレンズを駆動する方向を表わすデーターであり
、PAoNPA、 カラ出力サレルf −ター VAL
0〜VAL。
When the first stroke operation is performed as described above, switch SW1 is turned on and the input to terminal Rg8 of the CPU becomes L level, so the holding of the 5TART step is released and the program moves to the next step PUC. . In this step, the CPU sends out a negative pulse from the output port PA and sends the negative pulse to the lens drive circuit LP through the PUC terminal of the contact of the mount, thereby performing initial setting of the lens drive circuit. At this point K, the counter CNT shifts to its initial state. After this, the CPU moves to the next dummy communication data setting step. In this step, CP
U outputs all L level signals to output ports PA0 to PA. Data 5 output from PA as described above
IGN is data indicating the direction in which the lens is driven, PAoNPA, color output signal VAL
0~VAL.

は駆動量を表わすデーターである。このデーターセット
ステップが行なわれた後ステップは通信ルーチンコール
ステップへ移行する。このステップでは後述の通信ルー
チンを読み出し、上記ダミー通信データーによってレン
ズを駆動す2ることなしにレンズ側の情報を読みとる。
is data representing the driving amount. After this data setting step is performed, the step moves to a communication routine call step. In this step, a communication routine to be described later is read, and information on the lens side is read without driving the lens using the dummy communication data.

通信ルーチンにあっては、まずCP、Uの出力ポートP
A、からクリアーパルス、CL几(第5、図)が出力さ
れカウンターCNT1がリセットされる。これにてカウ
ンターCNT、のENABLE端子への入力がLレベル
となるため、該カウンターはクロックパルス発生器CG
、からのパルスをカウントし出力Q、 、 Q、 、 
Q、を第5図示の如く変化させる。上記カウンターの出
力Q、 、 Q、はデーターセレクターDS1の入力端
A、Hに入力しており、セレクタ−D8□はカウンター
の端子Q、 、 Q、の出力変化(バイナリ−変化)に
応じて時系列で順次CPUの出カポ−) PA0〜PA
、の出力を出力端Yから送出する。
In the communication routine, first, the output port P of CP and U
A clear pulse, CL (FIG. 5), is output from A, and the counter CNT1 is reset. As a result, the input to the ENABLE terminal of the counter CNT becomes L level, so that the counter is connected to the clock pulse generator CG.
, counts the pulses from , and outputs Q, , Q, ,
Q is changed as shown in the fifth diagram. The outputs Q, , Q, of the above counter are input to the input terminals A, H of the data selector DS1, and the selector D8□ changes the time according to the output change (binary change) of the terminals Q, , Q, of the counter. CPU output sequentially in series) PA0 to PA
, is sent out from the output terminal Y.

又、上記りiツクパルス発生器CG、のクロックパルス
はゲートG、を介してシフトレジスター8H□に入力す
ると共に更にオープンコレクターバッファーG4及びマ
ウント接点を介して上記タロツクパルスはカウンターC
NT、及びシフトレジスター8H,に入力する。
Further, the clock pulses from the i-clock pulse generator CG are inputted to the shift register 8H□ via the gate G, and the clock pulses are inputted to the counter C via the open collector buffer G4 and the mount contact.
NT and shift register 8H.

よって、上記セレクターDS1から時系列で送出される
CPUの出カポ−) FA、んPA、のデーターがシフ
トレジスターSH,に転送される。又、カウンターCN
T、によるカウント動作にてデーターセレクターDS2
は入力端D0〜D3のデーターを時系列で出力端Yから
送出しラインDATAINを介して、上記シフトレジス
ター81−1.に転送し、シフトレジスターS1(、に
データーセレクターの入力端に印加されていたデーター
の転送が行なわれる。
Therefore, the data of the CPU output ports FA, PA, sent in time series from the selector DS1 is transferred to the shift register SH. Also, counter CN
Data selector DS2 by counting operation by T.
The data at the input terminals D0 to D3 are transmitted in time series from the output terminal Y to the shift registers 81-1. through the transmission line DATAIN. The data applied to the input terminal of the data selector is transferred to the shift register S1 (,).

上述の如くしてデーターの転送が行なわれる過程におい
て、カウンターCN’I’、の出力端Q3からHレベル
が出力されると、カウンターの1iiNABLE端子に
該Hレベルが入力するため、上記の1転送が終了した時
(第5図の54時点)にカウンターCNT1はカウント
動作を停止する。又、上記カウンターCNT、のQ3出
力はEOC信号としてCPUの入力ボートFB、に伝わ
り、CPUは入カポ−) PB、〜PB、の入力情報を
入力する。
In the process of data transfer as described above, when an H level is output from the output terminal Q3 of the counter CN'I', the H level is input to the 1iiNABLE terminal of the counter, so that the above 1 transfer is performed. When the count ends (point 54 in FIG. 5), the counter CNT1 stops counting. Further, the Q3 output of the counter CNT is transmitted as an EOC signal to the input port FB of the CPU, and the CPU inputs the input information of the input ports PB, -PB.

更に上記の如くしてデーターの転送が終了すると、カウ
ンターCN’l’、のQ3出力も第5図の如くHレベル
となっているので、インバーテイングオープンコレクタ
ーゲートG1゜の出力もLレベルとなるため、インバー
ターG、を介してアンドゲートG、の一方の入力信号が
Hレベルとなる。
Furthermore, when the data transfer is completed as described above, the Q3 output of the counter CN'l' is also at the H level as shown in FIG. 5, so the output of the inverting open collector gate G1 is also at the L level. Therefore, one input signal of AND gate G becomes H level via inverter G.

該アンドゲートGI+の他方の入力は上記カウンタして
のHレベルを送出し、CPUの入力ボートPB、に伝え
る。 □ 又、上記カウンターCNT、のQ、出力がHレベルとな
ると、ラッチ回路LT、は、これに応答してシフトレジ
スター8H2のQ、出力の情報をラッチする。この時カ
ウンタ−11】C,のl、OA、l)端子にも上記カウ
ンターON’r2のQ3出力が伝わるため、カウンター
DEC,はロード状態となり、シフトレジスターQ。−
Qtの情報をセットする。
The other input of the AND gate GI+ sends out the H level of the counter, and transmits it to the input port PB of the CPU. □ Also, when the Q output of the counter CNT becomes H level, the latch circuit LT latches the Q output information of the shift register 8H2 in response. At this time, the Q3 output of the counter ON'r2 is also transmitted to the l, OA, l) terminals of the counter 11]C, so that the counter DEC is in a loaded state and the shift register Q is loaded. −
Set Qt information.

上述の如くダミー通信号データーセットステップにてC
PUの出カポ−) PAo−PA、から出力されるデー
ターはLレベルであるため、上記データー転送にてシフ
トレジスターSO,に転送されたデーターは全てLレベ
ルとなっている。
As mentioned above, C in the dummy communication signal data set step.
Since the data output from PU (output capo) PAo-PA is at the L level, all data transferred to the shift register SO in the data transfer described above is at the L level.

よって上記の動作にてカウンターD I(C、にも該L
レベルのデーターがロードされる。該カウンターはカウ
ント値が(≦0)の11ひには端子D T≦0からHレ
ベルを送出するので、インバーターG、の出力はLレベ
ルとなり、ゲートG、もLレベルを出力している。従っ
てスイッチSWmはオフの状態を保持し、モーター駆動
回路MDは不作動のまま保持される。又、ワンショット
回路ON、はカウンターのDT≦0端子からのHレベル
に応答してトリガーされ負パルスを発生し、この負パル
スがゲートG7を介してカウンターCNT、0CLR端
子に伝わり、カウンターcNT2はリセットされる。該
カウンターCNT、かりセットされると出力端Q3から
Lレベルが送出されCLOCK端子はHレベルとなり、
G6を介して該LレベルがアンドゲートG、に伝わる。
Therefore, in the above operation, the counter DI(C, also corresponds to L)
Level data is loaded. Since the counter sends out the H level from the terminal DT≦0 when the count value is (≦0), the output of the inverter G becomes the L level, and the gate G also outputs the L level. Therefore, the switch SWm remains off, and the motor drive circuit MD remains inactive. Also, the one-shot circuit ON is triggered in response to the H level from the DT≦0 terminal of the counter and generates a negative pulse, and this negative pulse is transmitted to the counter CNT and 0CLR terminal via the gate G7, and the counter cNT2 is will be reset. When the counter CNT is set, an L level is sent from the output terminal Q3, and the CLOCK terminal becomes an H level.
The L level is transmitted to AND gate G via G6.

よってゲ−) G、はLレベルを送出し、上記BUOY
信4号全4号する。
Therefore, G sends out the L level, and the above BUOY
All 4 signals are on.

この様にしてダミー通信データーセットステップ後の通
信号ルーチンでは入カポ−) PBo〜PB、の情報を
CPUに入力する動作のみ行ない、その後リターンステ
ップへ移行し通信ルーチンが終了してステップは次の方
向表示オフステップへ移行する。このステップではCP
UのPCボートから表示器DISPの作動を禁止するた
めの禁止信号を送出し、表示器DISPを不作動状態と
なす。
In this way, in the communication signal routine after the dummy communication data set step, only the operation of inputting the information (input capo) PBo to PB to the CPU is performed, and then the process moves to the return step, the communication routine ends, and the next step is performed. Move to direction display off step. In this step, CP
A prohibition signal for prohibiting the operation of the display device DISP is sent from the PC board of U, and the display device DISP is made inactive.

この後プログラムはBUOYステップへ移行する。この
ステップにおいては、CPUの入カポ−トPB、への入
力がHレベルが否がの検知を行ない、入カポ−) PH
1の入力がHレベルの限りその状態を保持し、ポートP
j3?の入力がLレベルへ移行した際に次のステップへ
移行させる待期ステップである。
After this, the program moves to the BUOY step. In this step, it is detected whether the input to the CPU's input port PB is at the H level or not, and the input port PB is detected as being at the H level.
As long as the input of 1 is at H level, the state is maintained and the port P
j3? This is a waiting step in which the next step is made when the input of the step shifts to the L level.

上述の如く、この時点にあってはJ3USY信号はLレ
ベルとなっているので、ステップは直ちに次の蓄積クリ
アーステップに移行する。このステップではCPUのN
Oポートから1−【レベルを出力して受光部CCDPの
インテグレーションクリアーゲートを開となし、センサ
ーCH,、CFの蓄積電荷をクリアーすると共にトラン
ジスターTrをオンとなしコンデンサー〇、の電荷をク
リアーする。この後ステップは蓄積開始ステップへ移行
する。このステップではCPUの上記NOポートからの
信号をLレベルにしてセンサーCR。
As mentioned above, the J3USY signal is at the L level at this point, so the step immediately shifts to the next accumulation clear step. In this step, the CPU N
Outputs level 1-[ from the O port to open the integration clear gate of the light receiving unit CCDP, clearing the accumulated charge in the sensors CH, CF, and turning on the transistor Tr to clear the charge in the capacitor 〇. After this, the step moves to an accumulation start step. In this step, the signal from the NO port of the CPU is set to the L level and the sensor CR is activated.

CFによる電荷蓄積動作を開始させると共にトランジス
ターをオフとする。これにより、各センサーは結像状態
に応じて像信号を蓄積すると共にコンデンサーC1は各
センサーに入射する先爪の平均的光量を測光するセンサ
ーACの出力にて充電される。
The charge storage operation by CF is started and the transistor is turned off. As a result, each sensor accumulates an image signal according to the imaging state, and the capacitor C1 is charged by the output of the sensor AC that measures the average amount of light of the front claw that enters each sensor.

この様にして像信号がセンサーにて蓄積される過程にお
いて、上記コンデンサーCIの充電レベルカ基準レベル
■OPを越えるとコンパレーターCP□からはHレベル
が送出され、このHレベルに応答してワンショット回路
ON1が作aする。
In the process in which the image signal is accumulated in the sensor in this way, when the charge level of the capacitor CI exceeds the reference level ■OP, an H level is sent from the comparator CP□, and in response to this H level, one shot The circuit ON1 creates a.

このワンシミツト回路ON、からのパルスCPUの■0
ボートに入力され、CPUは、該パルスをセンスするこ
とにて次のデーターストアステップへ移行する。又、上
記ワンショット回路ON。
This one-shot circuit is ON, and the pulse from the CPU is 0.
The CPU senses the pulse and moves to the next data store step. Also, the above one-shot circuit is ON.

からのパルスは受光部CCDPに転送パルスとして入力
し受光部は、該転送パルスにより七、ンサ−CR,CF
に蓄、積さ、れた光電荷をセンサーのアナリグシフトレ
ジスターに転送すると共に各センサーの各センス部に蓄
積された電荷をパルスX1.^にて時系列で受光部から
送出する。
The pulse from
The photo charges accumulated in the sensor are transferred to the analyzer shift register of the sensor, and the charges accumulated in each sense section of each sensor are transferred to the pulse X1. It is sent out from the light receiving unit in chronological order at ^.

上記の如くしてデーターストアステップへ移行すると、
このステップではCPUはデーターボートD0〜D、へ
の入力データーを順次内部メモリ−にストアする。上記
の如く受光部からはセンサーの各センス部(A(1〜A
3. B、。〜B−7)にそれぞれ蓄積された光電荷が
各センス部ごとに順次送出されA I)変換器A Dに
人力されるため、データストアステップにあっては、デ
ーターポー)D。−D3に各センス部の結像光信号をA
D変換したデジタル値が各センス部ごとに時系列で伝わ
り、順次内部メモリーにストアされる。
When you move to the data store step as above,
In this step, the CPU sequentially stores the input data to the data boats D0 to D in the internal memory. As mentioned above, each sense part (A (1 to A
3. B. Since the photocharges accumulated in A to B-7) are sequentially sent out to each sense unit and input to the converters A and B-7), the data storage step is performed by the data ports A and B-7). −D3 is the imaging optical signal of each sense part A
The D-converted digital values are transmitted to each sense section in chronological order and are sequentially stored in internal memory.

この様にしてデータストアステップが行なわれた後、次
の方向検出演算ステップへ移行する。
After the data storage step is performed in this manner, the process moves to the next direction detection calculation step.

このステップにあっては、上記内部メモリーにストアさ
れたセンサーの各センス部13−7〜A、の個々の情報
(結像光の電荷量に応じたデジタル値)に基づきオート
フォーカスの方向検知演算が実行される。
In this step, an autofocus direction detection calculation is performed based on the individual information (digital value according to the amount of charge of the imaging light) of each sensing section 13-7 to A of the sensor stored in the internal memory. is executed.

この演算としては実施例では上述の第1図で説明したス
レ像検知方式が取られるため(但し、センサー部A、〜
B−,の各結偉蓄積電荷のデジタル値を同記号As−B
−7とする。)なる演算が行なわれる。該式(1)の演
算値の符号は合焦点までの方向(前ビン、後ビン)を表
わしており、この演算にて合焦点までの方向検知がなさ
れる。尚、この演算自体は本発明と直接に関係がないの
で、その説明は省略する。
This calculation uses the scratch image detection method described in FIG.
The digital value of each accumulated charge of B-, is expressed by the same symbol As-B
-7. ) is performed. The sign of the calculated value in equation (1) represents the direction to the in-focus point (front bin, back bin), and the direction to the in-focus point is detected by this calculation. Note that this calculation itself is not directly related to the present invention, so its explanation will be omitted.

この後ステップはF EXTXデスプ5移行する。After this, the step moves to F EXTX desp 5.

このステップにおいては前述の通信ルーチンにてCPU
0入カポ−) PB、に入力した情報を検知してカメラ
に装着されているレンズがそれ自体測距機能を有するオ
ートフォーカス機能レンズであるかの判別が行なわれる
In this step, the CPU uses the communication routine described above.
By detecting the information input to PB, it is determined whether the lens attached to the camera is an autofocus function lens which itself has a distance measurement function.

本発明に使用される上記オートフォーカス機能レンズに
あっては第6図(a)に示される如く、カメラのコンタ
クトPUC,CLOCK、DATAOUTに対するコン
タクトはオープンとなっており、カメラのコンタクトG
ND、DATAINと接続するコンタクトは短絡状態と
なっている。よって、上記オートフォーカスレンズが装
着状態にある時には通信ルーチンにてシフトレジスター
SH。
In the autofocus function lens used in the present invention, as shown in FIG. 6(a), the contacts for the camera contacts PUC, CLOCK, and DATAOUT are open, and the camera contacts G are open.
The contacts connected to ND and DATAIN are in a short-circuited state. Therefore, when the autofocus lens is attached, the shift register SH is set in the communication routine.

に転送されたデーターは全てLレベルとなっており、こ
のため、ゲートG1からHレベル信号が送出され、この
I(レベルが人カポ−) PB4に入力される。
All the data transferred to is at L level, so an H level signal is sent from gate G1 and input to this I (level is human capo) PB4.

この通信ルーチンにてボー) PB4を介してCPUに
入力したHレベルを該ステップでは検知する。
In this communication routine, the H level input to the CPU via PB4 is detected in this step.

今、上述の如くオートフォーカス機能を有するレンズが
装着されているとすると、上記のHレベルが検知され、
ステップは上述の蓄積クリアステップへ移行し、以後蓄
積クリアステップからF EXTステップまでが繰り返
えし実行されることとなる。よって、装着レンズがオー
トフォーカス機能を有するレンズの場合にあっては、レ
ンズ自体にて測距及びオートフォーカス動作が実行され
、カメラ側ではオートフォーカス動作はおろか方向表示
等も一切行なわれないこととなる。
Now, assuming that a lens with an autofocus function is attached as described above, the above H level is detected,
The step moves to the above-mentioned accumulation clearing step, and thereafter the steps from the accumulation clearing step to the FEXT step are repeatedly executed. Therefore, if the attached lens has an autofocus function, distance measurement and autofocus operations are performed by the lens itself, and the camera side does not perform autofocus operations or display directions at all. Become.

又、装着レンズがオートフォーカス機能を有するレンズ
以外の場合は、上記F EXTステップによってHレベ
ルの検知がなされないのでステップは次の方向表示ステ
ップへ移行する。
Further, if the attached lens is other than a lens having an autofocus function, the H level is not detected in the FEXT step, and the step shifts to the next direction display step.

この方向表示ステラスにあってけ、上記方向禾 検出演算ステップにて述められた合焦点への方向を表わ
す信号を表示器DISPに伝え合焦方向を指示する。
When facing this direction display terrace, a signal representing the direction toward the in-focus point described in the direction detection calculation step is transmitted to the display DISP to indicate the in-focus direction.

この様にしてレンズがオートフォーカス機能を有するレ
ンズでない時には表示器DISPにて合焦方向の指示が
なされ、次いでステップはFMANステップへ移行する
In this way, when the lens does not have an autofocus function, the focusing direction is instructed on the display DISP, and then the step shifts to the FMAN step.

このステップは装着したレンズが通常のレンズであるか
否かの検知を行なうステップである。
This step is a step for detecting whether or not the attached lens is a normal lens.

このステップにおいては前述の通信ルーチンにてCPU
の入力ボートFB、に入力されたデーターがHレベルか
否かの検知を行ない装着されたレンズが通常のレンズか
否かの識別を行なっている。即ち、第6図(b)の如く
通常のレンズはカメラの各コンタクトと接続するコンタ
クトを有していないので、全てオープン状態となってい
る。よって、上記通信ルーチンにてシフトレジスター8
H,Ic伝わるデーターは全てHレベルとなっており、
上記通信ルーチンにてゲートG、からのHレベルがCP
UQ入カポ−)PI3.に入力している。従って、上記
F MANステップにて該l(レベルを検知することに
て装着レンズが通常レンズであることの識別がなされ、
この場合にはステップは上記蓄積クリアステップへ戻り
、以後該蓄積クリアステップからF MANステップま
での動作が繰り返えし実行され、繰り返えし合焦方向の
演算及び方向表示がなされることとなり、撮影者は合焦
方向指示に応じた方向へ撮影レンズを操作することにて
手動にて距離合わせを行なうことが出来る。
In this step, the CPU uses the communication routine described above.
It detects whether the data input to the input port FB is at H level or not, and identifies whether the attached lens is a normal lens or not. That is, as shown in FIG. 6(b), a normal lens does not have any contacts to be connected to the contacts of the camera, so all of the lenses are in an open state. Therefore, in the above communication routine, shift register 8
All data transmitted by H and Ic is at H level,
In the above communication routine, the H level from gate G is CP
UQ entry capo) PI3. is being entered. Therefore, in the above F MAN step, by detecting the level, it is determined that the attached lens is a normal lens.
In this case, the step returns to the accumulation clearing step, and thereafter the operations from the accumulation clearing step to the F MAN step are repeatedly executed, and the focusing direction is repeatedly calculated and the direction is displayed. The photographer can manually adjust the distance by operating the photographic lens in a direction according to the focusing direction instruction.

又、装着したレンズが、カメラからの信号により自動的
に合焦動作を行なう第3図示の専用レンズの場合にあっ
ては、上記のF VANステップによってはHレベル検
知は行なわれずステップは次のプレデイクト演算ステッ
プへ移行する・このステップにおいては、上述のデータ
ーストアステップにてCPUの内部メモリーにそれぞれ
ストアーされたセンス部人、〜B−7の個々の蓄積電荷
に応じたデジタル値を下記の公知のプレデイクト量演算
式にて演算し、合焦点までのシフト量を算出する。
In addition, if the attached lens is a dedicated lens shown in Figure 3 that automatically performs focusing operations based on signals from the camera, H level detection is not performed by the above F VAN step, and the step is as follows. Proceed to the predict calculation step. In this step, the digital values corresponding to the individual accumulated charges of the sense units and ~B-7 stored in the internal memory of the CPU in the data store step described above are stored in the following well-known manner. The predict amount calculation formula is used to calculate the shift amount to the in-focus point.

合焦までのシフト量は(2)式が最小となるiの値に対
応しており、この式を用いてシフ)fflを算出するの
であるが、シフト量を算出する上記方法そのものは公知
であると共に本発明に直接関係がないのでその説明は省
略する。この後ステップはZOOM補正ステップへ移行
する。
The amount of shift until focusing corresponds to the value of i that minimizes equation (2), and this equation is used to calculate the shift (shift)ffl, but the above method for calculating the amount of shift itself is not known. However, since it is not directly related to the present invention, its explanation will be omitted. After this, the step shifts to a ZOOM correction step.

このステップにおいては、レンズのズーム位置に応じて
上記プレデイクト演算ステップにて演算したシフト量を
袖正しズーム状態によらず常に正確なる焦点合わせを行
なわせるものである。
In this step, the shift amount calculated in the predict calculation step is corrected according to the zoom position of the lens, so that accurate focusing is always performed regardless of the zoom state.

一般に前玉フォーカスのズームレンズにおいてはズーム
位置に応じて敏感度が異なり、たとえ同一の駆動量レン
ズを駆動しても像面移動量を一定にすることが出来ない
。一方、上記プレデイクト演算ステップにて算出したシ
フト風は像面移動量であるため、この像面移動量に応じ
たレンズ駆動量をめるにあたっては、ズーム位置を考慮
しなければならない。
Generally, in a zoom lens with a front lens focus, the sensitivity differs depending on the zoom position, and even if the lens is driven by the same amount of drive, the amount of image plane movement cannot be made constant. On the other hand, since the shift wind calculated in the predict calculation step is the amount of movement of the image plane, the zoom position must be taken into account when determining the amount of lens drive corresponding to the amount of movement of the image plane.

このため、該ステップでは上記通信ルーチンにてCPU
の入カポ−) PIIoNPB、に入力されたデーター
に基づいて、上記プレデイクト演算ステップにて演算し
たシフト量、即ち、像面移動量の補正を行なっている。
Therefore, in this step, the CPU
Based on the data input to PIIoNPB, the shift amount calculated in the predict calculation step, that is, the image plane movement amount is corrected.

即ち、上述の通信ルーチンにてCPUの入力ボートPB
、 NPB、にはデーター七しクターDS。
That is, in the above communication routine, the input port PB of the CPU is
, NPB, has seven data DS.

の入力り。−D、への印加データーが入力されている。input. -D, the application data is input.

このセレクター Da、の入力端り。ID1にはレンズ
のズーム比に応じて入力端り、 、 D、とZM。
The input end of this selector Da. ID1 has input ends, , D, and ZM depending on the zoom ratio of the lens.

〜ZM、の所定の一位置と接続するズームプレートが設
けられており、その結果、上記通信ルーチンではレンズ
のズーム比に応じて(0,1)。
A zoom plate is provided which connects to a predetermined position of ~ZM, so that in the above communication routine (0,1) depending on the zoom ratio of the lens.

(0,0)、(1,0)のいずれかのズーム情報がCP
Uの入力端PB0〜PB1に入力されている。
Either (0,0) or (1,0) zoom information is CP
It is input to input terminals PB0 to PB1 of U.

該ステップではこのズーム1#報が(0,1)の時には
除数1、(0,0)の時には除数1.5、(1,0)の
時には除数2として上記プレディクト演算ステップにて
算出されたシフト蓋を上記除数で割り算して像1面移動
量から実際のレンズ駆動量をめる。この後ステップはプ
レディクト通信データーセットステップへ移行スる。
In this step, when this zoom 1 # information is (0, 1), the divisor is 1, when it is (0, 0), the divisor is 1.5, and when it is (1, 0), it is the divisor 2, which is calculated in the above predict calculation step. Divide the shift lid by the above divisor to calculate the actual lens drive amount from the amount of movement in one image plane. After this, the step moves to a predict communication data set step.

このステップではCPUの該、出力ポートPA。In this step, the corresponding output port PA of the CPU.

〜PA、から上記ステップにてめたレンズ駆動量を表わ
す信号を送出させると共に出力ポートPA3から合焦点
へのレンズの駆動方向を表わす ゛信号を出力させる。
A signal representing the lens driving amount determined in the above steps is sent from PA to PA, and a signal representing the driving direction of the lens toward the in-focus point is output from the output port PA3.

次いでステップは通信ルーチンコールステップへ移行し
、上述の通信ルーチンを再度実行させる。
The step then moves to a communication routine call step, where the above-described communication routine is executed again.

この通信ルーチンrCあっては上述した如< CPUの
出力ポートPAoNPA3のデーターがシフトレジスタ
ー88.を介してラッチ回路LT、及びカウンターDE
C、に転送されると共に1上記ズームプレー)、 Z 
Pのズーム比情報がCPUの入カポ−) PB0〜PB
、に入力される。
This communication routine rC is as described above. The data at the output port PAoNPA3 of the CPU is transferred to the shift register 88. latch circuit LT and counter DE
C, and the zoom play above 1), Z
P zoom ratio information is input to the CPU) PB0 to PB
, is input.

又、上記転送が終了すると、ゲートG、からBUSY信
号としてのHレベルが送出される。
Further, when the above transfer is completed, the gate G outputs an H level as a BUSY signal.

更に、上述の如く出カポ−) PAoNPA、のデータ
ーはレンズ駆動nを表わしているため、カウンターDE
C,へ該レンズ駆動組信号が転送されると出力端DT≦
0からはLレベルが送出され、インバーター08を介し
てゲートo、の一方の入力端にはHレベルが伝わる。こ
のゲートG。
Furthermore, as mentioned above, since the data of the output capo) PAoNPA represents the lens drive n, the counter DE
When the lens drive set signal is transferred to C, the output terminal DT≦
The L level is sent from the gate 0, and the H level is transmitted to one input terminal of the gate 0 via the inverter 08. This gate G.

の他方の入力端はカウンターCNT、のQ、出力端と接
続しており、上述の如く、この出力端Q、からはデータ
ー転送終了時にトIレベルが送出されているので、上記
のデーター転送が終了するとゲートG、からHレベルが
送出され、スイッチSWmをオンとなし、モーター駆動
回路M 1)は作動状態となる。
The other input terminal of the counter CNT is connected to the output terminal Q of the counter CNT, and as mentioned above, the output terminal Q sends out the level I at the end of the data transfer, so that the above data transfer is completed. When the process is completed, an H level signal is sent from the gate G, the switch SWm is turned on, and the motor drive circuit M1) is activated.

又、シフトレジスターSH2の出力端Q、には上記転送
にてCPUの出カポ−) PA、からのデーターが転送
されており、このデーターは上述の如くレンズの駆動方
向を示しているため、ラッチ回路LT、には上記のデー
ターが転送を終了した時点にはレンズ駆動方向信号がラ
ッチされており、アンプOF1を介してレンズ駆動方向
信号がモーター駆動回路M Pに伝わり、モーターは指
示される方向ヘレンkを駆動する。
In addition, data from the CPU's output port (PA) is transferred to the output end Q of the shift register SH2 in the above transfer, and since this data indicates the driving direction of the lens as described above, the latch is The lens drive direction signal is latched in the circuit LT at the time when the transfer of the above data is completed, and the lens drive direction signal is transmitted to the motor drive circuit MP via the amplifier OF1, and the motor moves in the instructed direction. Drive helen k.

レンズの駆動に連°動して接片BRが接片プレー )F
P上を摺動し、レンズ駆動量に応じた数のパルスがカウ
ンターDEC,に入力し、該カウンターはセットされた
上記レンズ駆動量信号から該入力パルスのダウンカウン
トを行ない、カウンターの内容がゼロに達した際にDT
≦0からHレベルを送出する。このHレベルにより、ゲ
ートGllからはLレベルが発生し、モーター駆動回路
MDは不作動となり、レンズ駆動が停止すると共にワン
ショット回路ON、がトリガーされ、前述の如く、カウ
ンターCNT、はリセットされ、CLOCK端子にはH
レベルが発生してゲ−) GiがLレベルを送出し、上
記BUSY信号が消滅する。
The contact piece BR moves in conjunction with the lens drive)F
P, the number of pulses corresponding to the lens drive amount is input to the counter DEC, and the counter counts down the input pulses from the set lens drive amount signal, and the content of the counter becomes zero. DT when reached
Sends H level from ≦0. Due to this H level, an L level is generated from the gate Gll, the motor drive circuit MD becomes inactive, the lens drive is stopped, and the one-shot circuit ON is triggered, and as described above, the counter CNT is reset. CLOCK terminal has H
When a level is generated, Gi sends out an L level, and the BUSY signal disappears.

この様にして通信ルーチンが実行され、該ルーチンにて
CLOCK端子を介してレンズへ入力する転送用のり・
ロックパルスに同期してレンズ駆動量信号の転送が行な
われ、この転送されたデーターに基づくレンズ駆動がな
され、レンズが合焦点まで移行した後、ステップは再び
蓄積クリアーへ移行し、以後、N債りリアーステップか
ら通信ルーチンステップまでの動作が繰り返えし実行さ
れ、被写体の動きに追従したオートフォーカス動作が実
行される。
In this way, the communication routine is executed, and in this routine, the transfer glue input to the lens via the CLOCK terminal.
The lens driving amount signal is transferred in synchronization with the lock pulse, the lens is driven based on this transferred data, and after the lens moves to the in-focus point, the step shifts to accumulation clear again, and from then on, The operations from the rear step to the communication routine step are repeatedly executed, and an autofocus operation that follows the movement of the subject is executed.

以上の如く本発明ではレンズ駆動中にあってはBUSY
信号をカメラに入力し、受光部による測距動作を禁止し
ているので、レンズ駆動中における受光部の結像情報に
基づくレンズ駆動を禁止し、該情報によるレンズ駆動が
防止出来ると共に、上記BUSY信号をカメラに送出す
る端子として上記CLOCK端子を兼用させたものであ
るため、カメラとレンズとの接続端子を最小の なも4とすることが出来る。
As described above, in the present invention, when the lens is being driven, the BUSY
Since the signal is input to the camera and the distance measuring operation by the light receiving section is prohibited, lens driving based on the imaging information of the light receiving section during lens driving is prohibited, and lens driving based on this information can be prevented, and the above-mentioned BUSY Since the CLOCK terminal is also used as a terminal for sending signals to the camera, the number of connection terminals between the camera and the lens can be reduced to a minimum of four.

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

第1図(a)は本発明のオートフォーカス装置に適用さ
れる測距原理を示す原理図、第1図(1))’ 。 (C)はその説明図、第2図は本発明に係るオートフォ
ーカス装置の一実施例を示す回路図、第3図は第2図に
おける要部を示す回路図、第4図は第2図、第3図示の
回路の動作を説明するための70−を示す説明図、第5
図は第3図示の回路の動作を説明するだめの波形図、第
6図(a)。 (b)は第3図示のカメラと専用レンズ以外のレンズを
接続する場合の接続端子部を示す回路図である。 CNT、・・・・・・・・・カウンターG4・・・・・
・・・・オーブンコレクターバッファー特許出願人 キ
ャノン株式会社
FIG. 1(a) is a principle diagram showing the distance measurement principle applied to the autofocus device of the present invention, FIG. 1(1))'. (C) is an explanatory diagram thereof, FIG. 2 is a circuit diagram showing an embodiment of an autofocus device according to the present invention, FIG. 3 is a circuit diagram showing main parts in FIG. 2, and FIG. , an explanatory diagram showing 70- for explaining the operation of the circuit shown in the third diagram, and a fifth diagram.
FIG. 6(a) is a waveform diagram for explaining the operation of the circuit shown in FIG. 3. (b) is a circuit diagram showing a connection terminal section when connecting the camera shown in the third figure to a lens other than the dedicated lens. CNT,...Counter G4...
...Oven collector buffer patent applicant Canon Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 測距動作にてレンズ駆動足を算出し、該レンズ駆動量を
表わす信号をレンズに送出してレンズ駆動を行なうと共
にレンズ駆動中にあってはレンズ駆動中信号をカメラに
伝え、レンズ駆動中における測距動作を禁止するオート
フォーカス装置において、測距回路出力に基づいてレン
ズ駆動量をデジタル値として演算する演算回路と、該演
算回路からのデジタル値をシリアルに送出するためのデ
ータ一端子と、」二記デジタル値のシリアル転送を行な
わせるためのクロックパルスを送出するりpツク端子を
カメラに設けると共に上記デジタル値に基づいてレンズ
駆動を行なうレンズ駆動回路と、上記データ一端子を介
して入力するデジタル値の転送終了を検知して上記クロ
ック端子にレンズ駆動中信号を印加すると共に上記デジ
タル値に基づくレンズ駆動の終了を検知して上記レンズ
駆動中信号を消滅させる信号形成回路とをレンズ側に設
けた事を特徴とするオートフォーカス装置。
The lens driving distance is calculated during the distance measurement operation, and a signal representing the lens driving amount is sent to the lens to drive the lens. Also, when the lens is being driven, a lens driving signal is transmitted to the camera, and a signal representing the lens driving amount is transmitted to the camera. In an autofocus device that prohibits distance measurement operation, an arithmetic circuit that calculates a lens drive amount as a digital value based on an output of the distance measurement circuit, and a data terminal for serially transmitting the digital value from the arithmetic circuit; 2) A lens drive circuit that sends out clock pulses for serial transfer of the digital values and provides a p-tock terminal on the camera, drives the lens based on the digital values, and inputs the data through the 1 terminal. a signal forming circuit that detects the end of transfer of the digital value and applies a lens driving signal to the clock terminal, detects the end of lens driving based on the digital value, and eliminates the lens driving signal; An autofocus device characterized by being installed in.
JP399884A 1984-01-12 1984-01-12 Auto-focus device Granted JPS60147711A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP399884A JPS60147711A (en) 1984-01-12 1984-01-12 Auto-focus device
US06/688,355 US4790649A (en) 1984-01-12 1985-01-02 Automatic focusing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP399884A JPS60147711A (en) 1984-01-12 1984-01-12 Auto-focus device

Publications (2)

Publication Number Publication Date
JPS60147711A true JPS60147711A (en) 1985-08-03
JPH0123762B2 JPH0123762B2 (en) 1989-05-08

Family

ID=11572668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP399884A Granted JPS60147711A (en) 1984-01-12 1984-01-12 Auto-focus device

Country Status (1)

Country Link
JP (1) JPS60147711A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62249118A (en) * 1986-04-22 1987-10-30 Minolta Camera Co Ltd Driving device for solid-state image pickup element
US7678439B2 (en) 2002-09-05 2010-03-16 Ngk Insulators, Inc. Honeycomb structure and die for forming honeycomb structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62249118A (en) * 1986-04-22 1987-10-30 Minolta Camera Co Ltd Driving device for solid-state image pickup element
US7678439B2 (en) 2002-09-05 2010-03-16 Ngk Insulators, Inc. Honeycomb structure and die for forming honeycomb structure

Also Published As

Publication number Publication date
JPH0123762B2 (en) 1989-05-08

Similar Documents

Publication Publication Date Title
US10674071B2 (en) Imaging device having autofocus capability
US4831403A (en) Automatic focus detection system
US4882601A (en) Camera with an automatic focusing device
US20080170152A1 (en) Image pickup system, image pickup apparatus, and interchangeable lens
US4910548A (en) Camera with a multi-zone focus detecting device
US5218395A (en) Camera with a multi-zone focus detecting device
JPS6135684A (en) Solid-state image pickup device
US4790649A (en) Automatic focusing apparatus
JP2000196953A (en) Camera system
US5168299A (en) Camera with a multi-zone focus detecting device
US6657669B1 (en) Focus condition sensing device
US6775476B2 (en) Camera system, vibration correction unit interchangeable lens unit and camera
JPS60147711A (en) Auto-focus device
US6614476B1 (en) Arrangement of plural imaging devices
JP4279919B2 (en) Focus detection device
JP2644252B2 (en) Auto focus camera
JP3055961B2 (en) Autofocus device
JP4928236B2 (en) Imaging apparatus and imaging system
JP2707644B2 (en) Charge storage type photoelectric conversion device
JPS60151608A (en) Automatic focusing camera
WO1991002285A1 (en) Camera with flash return sensing
JPH0727608A (en) Light measuring device of camera
JP2797344B2 (en) Charge storage type photoelectric conversion device
JP2586471B2 (en) camera
JPH01510A (en) autofocus camera

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term