JPS6383621A - Deviation detector - Google Patents

Deviation detector

Info

Publication number
JPS6383621A
JPS6383621A JP23075986A JP23075986A JPS6383621A JP S6383621 A JPS6383621 A JP S6383621A JP 23075986 A JP23075986 A JP 23075986A JP 23075986 A JP23075986 A JP 23075986A JP S6383621 A JPS6383621 A JP S6383621A
Authority
JP
Japan
Prior art keywords
phase difference
blur
correlation
difference
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP23075986A
Other languages
Japanese (ja)
Inventor
Hiroshi Sumio
弘 角尾
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 JP23075986A priority Critical patent/JPS6383621A/en
Publication of JPS6383621A publication Critical patent/JPS6383621A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

PURPOSE:To obtain a detector capable of warning or removing a wrong deviation measurement by deciding whether or not a calculated phase difference accurately indicates a deviation quantity. CONSTITUTION:The signal of the sensor device 12 consisting of sensor arrays 12a and 12b and a CCD is inputted to a processor 11 through an A/D converter 13. Further, a deviation quantity display device 17 and an error display device 12 operate with the control output of the device 11. The sensor device 12 is operated by a CCD driving device 15 and further a clock pulse signal is sent from a clock generator 16 to the devices 15 and 16. Then the correlation between the output signal pattern A of the device 12 which photodetects part of luminous flux passing a photographic lens at a certain point of time and the corresponding output signal pattern which is obtained a certain time later is checked, and sampling operation for each pixel is performed based on the correlation quantity; and the correlation quantity of the sampled signal is found to calculate the deviation quantity, which is compared with that which is found by the last correlation, thereby judging and error in the detected deviation quantity.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、焦点検出用の光学系及び処理系を用いてぶ
れ検知を行うカメラのぶれ検知装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a camera shake detection device that detects shake using a focus detection optical system and a processing system.

(従来の技術) カメラに装備された位相差による合焦検知装置を利用し
て、カメラのぶれを検知する原理は、例えば特開昭fi
g−166910号公報により公知である。
(Prior art) The principle of detecting camera shake using a focus detection device based on a phase difference installed in a camera is, for example, disclosed in Japanese Patent Application Laid-open No. Shofi.
It is known from Japanese Patent No. g-166910.

第1図〜第3図は、かかる公知のぶれ検知方法に利用さ
れ得る公知の位相差による合焦検知の原理を示す。第1
図は合焦状態、第2図は前ピント状態、第3図は後ピン
ト状態を示している。第1図〜第3図の(A)に示すよ
うに、対物レンズ1の各々異なる2つの領域を通過した
光束による光学像を二次結像レンズ2a、2bを介して
2つのセンサアレイ3a、3bで検出し、出力信号Sa
1 to 3 show the principle of focus detection using a known phase difference that can be utilized in such a known blur detection method. 1st
The figure shows the in-focus state, FIG. 2 shows the front focus state, and FIG. 3 shows the rear focus state. As shown in FIGS. 1 to 3 (A), an optical image formed by a light beam passing through two different areas of the objective lens 1 is transmitted to two sensor arrays 3a, 3b and output signal Sa.
.

sbを得て、Sa、Sbの位相差から撮影レンズのピン
ト状態を知ることができる。前記公開公報により公知の
ぶれ検知の方法は、どちらか一方の出力信号Sa(又は
sb)を一定の時間差をおいて2度検出し、両者の位相
差からぶれを検知するものである。
sb is obtained, and the focus state of the photographic lens can be determined from the phase difference between Sa and Sb. The blur detection method known from the above publication detects one of the output signals Sa (or sb) twice with a fixed time difference, and detects blur from the phase difference between the two.

その際、位相差dを求めるアルゴリズムには、以下のよ
うなものか知られている。ある時点におけるセンサ3a
からの信号Saと一定時間経過後の同一のセンサ3aの
信号Sa’をそれぞれA像(a(+1 + af21 
、”” a+n+ ) 、A′像(a’ Nl 、 a
′+2+ 、 ”   ’ +Nl )のN個の◆  
a 像信号とし、A像、A′像の相関量PKを(K<0) (K2O) (但しn=N−IKI。
At this time, the following algorithm is known for determining the phase difference d. Sensor 3a at a certain point in time
The signal Sa from the sensor 3a and the signal Sa' from the same sensor 3a after a certain period of time are respectively converted into A image (a(+1 + af21
, "" a+n+ ), A' image (a' Nl , a
′+2+ , ” ' +Nl ) N ◆
Let the a image signal be the correlation amount PK of the A image and A' image (K<0) (K2O) (where n=N-IKI.

−N/2≦に≦N/2) と定義する。(1) 、(+)’によれば、相関ffi
 P KはA像とA′像の一致性を位相を変えながら演
算するもので、相関fit P Kを最小にするKが前
述の位相差dとなる。従って(+) 、(1)’式の演
算を行えば、ふれによる像の移動量に関する情報を得る
ことができる。第4図にA像及びA′像の例を示す。ぶ
れがない場合には、第4図(A)に示すように殆ど同一
の出力信号となり、PKは第5図αに示すようになる為
、位相差dは0となる。ぶれが生じた場合、センサに結
像する被写体パターンが変化する為、第4図(B) 、
 (C)に示すように波形は相当界なってくる。このと
きの波形の相関量PKは第5図β、γに示すような形に
なり、PKの最小値から位相差dを求めることができる
−N/2≦ and ≦N/2). According to (1), (+)', the correlation ffi
PK calculates the consistency between the A image and the A' image while changing the phase, and the K that minimizes the correlation fit PK becomes the above-mentioned phase difference d. Therefore, by performing the calculation of equation (+) and (1)', information regarding the amount of movement of the image due to shake can be obtained. FIG. 4 shows examples of images A and A'. If there is no blurring, the output signals will be almost the same as shown in FIG. 4(A), and the PK will be as shown in FIG. 5 α, so the phase difference d will be 0. When blur occurs, the subject pattern imaged on the sensor changes, so the image shown in Figure 4 (B),
As shown in (C), the waveform becomes substantially round. The waveform correlation amount PK at this time takes the form as shown in FIG. 5 β and γ, and the phase difference d can be determined from the minimum value of PK.

位相差dを求める別のアルゴリズムとして、A像及びA
′像のあるスレッシュホルドレベル以上の信号をサンプ
リングする方法も公知である(特開昭58−17492
8号公報参照)。
As another algorithm for determining the phase difference d, A image and A
A method of sampling a signal above a certain threshold level is also known (Japanese Patent Application Laid-Open No. 17492-1982).
(See Publication No. 8).

(発明が解決しようとする問題点) しかしながら、これらの公知の方法は、位相差の検出が
本来不可能なほどぶれた場合や、位相差の算出を誤り易
いシーン及びそれに対するぶれが生じた場合には、位相
差dを本来のぶれ量とは異った誤ったぶれ量として算出
してしまう可能性を含んでいた。
(Problems to be Solved by the Invention) However, these known methods cannot be used in cases where the phase difference is so blurred that it is essentially impossible to detect it, or when there is a scene and corresponding blur that makes it easy to miscalculate the phase difference. This included the possibility that the phase difference d would be calculated as an erroneous amount of shake different from the original amount of shake.

この発明の目的は、算出された位相差dが正確にぶれ量
を表わしているか否かを判定し、誤ったぶれ計測を警告
又は排除することか可能なぶれ検知装置を提供すること
にある。
An object of the present invention is to provide a blur detection device that can determine whether the calculated phase difference d accurately represents the amount of blur and can warn or eliminate erroneous blur measurements.

(問題点を解決する為の手段) 焦点検出用の光学系及び処理系を用いてぶれ検知を行う
カメラのぶれ検知装置において、撮影レンズの一部の光
束を受光するセンサ装置(12)のある時点の出力信号
パターンAと一定時間経過後の出力信号パターンA′に
ついて相関を調べ各画素を相関量に基づいてサンプリン
グを行い、サンプリングを行った信号について相関量を
求め、ぶれ量を求め、前記相関により求められたぶれ量
との比較により検出したぶれ量の誤りを判断する手段を
有することである。
(Means for Solving the Problem) In a camera shake detection device that detects shake using an optical system for focus detection and a processing system, there is a sensor device (12) that receives a part of the light beam of a photographing lens. The correlation between the output signal pattern A at the time and the output signal pattern A' after a certain period of time is examined, each pixel is sampled based on the correlation amount, the correlation amount is determined for the sampled signal, the blur amount is determined, and the The object of the present invention is to have means for determining whether the detected amount of blur is incorrect by comparing it with the amount of blur determined by correlation.

(実施例) 第6図に示されたこの発明の実施例にフいて詳細に説明
する。
(Embodiment) The embodiment of the present invention shown in FIG. 6 will be described in detail.

第6図は合焦検出にも利用され得るカメラの制御装置を
示す。工1はCPU (中央処理装置)。
FIG. 6 shows a camera control device that can also be used for focus detection. Engineering 1 is the CPU (central processing unit).

記憶回路1人出力ポート等を有する例えば1チツプマイ
クロプロセツサから成る像信号処理装置である。この処
理装置11には、センサ列12a。
The image signal processing device is composed of, for example, a one-chip microprocessor having a memory circuit, one output port, and the like. This processing device 11 includes a sensor array 12a.

12bとCCD (電荷結合素子)から成るセンサ装置
12の信号が、A/D変換器13を介して人力される。
12b and a CCD (charge-coupled device), a signal from the sensor device 12 is input manually via an A/D converter 13.

又制御装置11の制御出力により、ぶれ量表示装置17
及び誤り表示装置21が作動するようになっている。セ
ンサ装置12はCCD駆動装置15により作動され、更
にCCD駆動装置15及び処理装置11には、クロック
発生器16からクロックパルス信号が送られている。
In addition, the control output of the control device 11 causes the blur amount display device 17 to
and the error display device 21 is activated. The sensor device 12 is operated by a CCD drive device 15, and a clock pulse signal is sent to the CCD drive device 15 and the processing device 11 from a clock generator 16.

センサ列12a、12b上に、各々撮影レンズの異なる
領域を通過した光束による2像が形成され、CCD駆動
装置15からの制御信号Φ。。
Two images are formed on the sensor arrays 12a and 12b by the light beams that have passed through different areas of the photographic lens, and a control signal Φ from the CCD drive device 15 is generated. .

SH,ICGにより光像の蓄積、転送か行なわれる。つ
まり処理装置11か駆動装置15へ開始信号STを与え
ると、駆動装置15はクロック発生器16の信号CLK
により生成したクロックΦ。
Accumulation and transfer of optical images are performed by SH and ICG. That is, when the processing device 11 supplies the start signal ST to the drive device 15, the drive device 15 receives the signal CLK from the clock generator 16.
The clock Φ generated by

と共に、蓄積開始信号ICGをセンサ装置12へ送出す
る。センサ装置12はこの時点から2像の蓄積を開始し
、所定の蓄積レベルに達すると蓄積完了信号EOIを駆
動装置15に送る。駆動装置15は充電変換出力転送信
号SHをセンサ装置!2に送って、センサ装置12内で
蓄積された電荷なセンサ部からCCD部へ転送させ、同
時に処理装置11に終了信号ENDを送る。続いて、駆
動装置η15からのクロックΦ。に同期してセンサ装置
12は時系列的に2像のアナログ光電変換信号aSをA
/D変換器13へ出力し、A/D変換器13は駆動装置
I5からの変換指令信号ADCに同期して8ビツトのA
/D変換を行い、処理装置11にそのデジタル時系列信
号DO〜D7を送出する。処理装置11は人力した2像
信号A(a(ll  +  af21  !””  a
fnl  ) 1B(b(11+b(21+ ・・・b
い、)を−時的にメモリに格納する。公知の自動合焦検
出を行う場合には、2像A、Bの位相差か合焦状態の尺
度として利用され得る。カメラのぶれ検知を行う場合に
は、前述のとおり一定の時間間隔を置いてセンサ像蓄積
から始まる補記一連のシーケンスが縁り返される。即ち
、1シーケンス前の信号A′と次のシーケンスの信号A
か一時的にメモリに格納される。
At the same time, an accumulation start signal ICG is sent to the sensor device 12. The sensor device 12 starts accumulating two images from this point, and sends an accumulation completion signal EOI to the drive device 15 when a predetermined accumulation level is reached. The drive device 15 transmits the charge conversion output transfer signal SH to the sensor device! 2, the charge accumulated in the sensor device 12 is transferred from the sensor section to the CCD section, and at the same time, an end signal END is sent to the processing device 11. Subsequently, the clock Φ from the drive device η15. In synchronization with
The A/D converter 13 outputs the 8-bit A/D converter 13 in synchronization with the conversion command signal ADC from the drive device I5.
/D conversion is performed and the digital time series signals DO to D7 are sent to the processing device 11. The processing device 11 generates a manually generated two-image signal A (a(ll + af21 !”” a
fnl ) 1B(b(11+b(21+...b
) is stored in memory temporarily. When performing known automatic focus detection, the phase difference between the two images A and B can be used as a measure of the in-focus state. When detecting camera shake, a series of supplementary sequences starting from sensor image accumulation are repeated at regular time intervals as described above. That is, the signal A' of the previous sequence and the signal A of the next sequence
or temporarily stored in memory.

ぶれがない場合、信号A′及びAは全く同一になるはす
であるから、両信号間の位相差dは零となる。それに対
してぶれがある場合には、位相差dは零にならず、これ
をぶれ量に対する尺度として利用することか可能である
。位相差dは次に示す[I]、  [II]、  [[
II]の手順により求められ得る。
If there is no blur, the signals A' and A will be exactly the same, so the phase difference d between the two signals will be zero. On the other hand, when there is a shake, the phase difference d does not become zero, and it is possible to use this as a measure of the amount of shake. The phase difference d is shown below [I], [II], [[
II].

[1: ] A +++  = a (+1B (il
  ” A ’  N) (i=1.2.  ・・・N) (K2O) 但しn=N−IKI。
[1: ] A +++ = a (+1B (il
"A ' N) (i=1.2....N) (K2O) However, n=N-IKI.

(−N/2≦に5N/2 ) [[[]  d=K  l  m1n(P、、)(−N
/2≦に≦N/2) 式[IIr]は「PKが最小となるKをもってdとする
」の意味である。
(-N/2≦5N/2) [[[] d=K l m1n(P,,)(-N
/2≦≦N/2) Formula [IIr] means “d is K at which PK becomes minimum”.

しかしながら、これにより算出された位相差dは、撮影
されたシーンやぶれの程度により正しいぶれ量を示さな
いことがある。そこで、算出された移動差dがぶれ川と
して正しいか否かを判定する必要がある。かかる判定の
手順を以下に示す。
However, the phase difference d thus calculated may not indicate the correct amount of blur depending on the photographed scene or the degree of blur. Therefore, it is necessary to determine whether the calculated movement difference d is correct as a blurring river. The procedure for such determination is shown below.

まず、前述の方法によりA、Bに関する位相差dを求め
る。そして、位相差dにおける対応するA、Hの各要素
の差X、を次式により求める。
First, the phase difference d between A and B is determined by the method described above. Then, the difference X between the corresponding elements of A and H in the phase difference d is determined by the following equation.

[rv]  Xi  =  +  Bfiや1dll 
 −A+i+  l(d<O) X +  =  l  B ++、A +++d+  
l  (d≧0)i=1. 2.  ・・・ n。
[rv] Xi = + Bfi or 1dll
-A+i+ l(d<O) X + = l B ++, A +++d+
l (d≧0)i=1. 2. ... n.

n=N−1dl 更にXi <p□。/nを満たすA、Hの要素の組合せ
が生じたときは、タグメモリに1を書込む。
n=N-1dl Furthermore, Xi <p□. When a combination of elements A and H that satisfies /n occurs, 1 is written in the tag memory.

即ち [V] Aの要素のタグメモリ MarkA 、、) 
= 1j=i     (d<0) j=i+a(d≧0) Bの要素のタグメモリ MarkB (11= 11=
(i+Idl)(d<0) 1=i        (d≧0) (i=1.2.・・・n) X1≧P□dt/nを満たすA、Hの要素の組合せが生
じたときはタグメモリに0を書込む。即ち[■コAの要
素のタグメモリ MarkA (J) = 0j=i 
    (d<0) j = i +d  (d≧0) Bの要素のタグメモリ Mark 8口、=01=(i
+ l d l )(d<0)1=i        
(d≧0) 次に、以)のとおり4つの考えられる状態について、各
々PKを求める。
That is, [V] tag memory of element of A MarkA,,)
= 1j=i (d<0) j=i+a (d≧0) Tag memory of element of B MarkB (11= 11=
(i+Idl) (d<0) 1=i (d≧0) (i=1.2...n) When a combination of elements A and H that satisfies X1≧P□dt/n occurs, tag Write 0 to memory. That is, [■ Tag memory of element of A MarkA (J) = 0j=i
(d<0) j = i + d (d≧0) Mark 8 tag memory of element of B, =01=(i
+ l d l ) (d<0)1=i
(d≧0) Next, calculate PK for each of the four possible states as shown below.

■MarkA (J、= Oと設定したA (jl +
  B+m)の組合せとなるときのみ加算を行う。即ち
次式により計算を行う。
■MarkA (J, = A set as O (jl +
Addition is performed only when the combination B+m) is obtained. That is, calculation is performed using the following formula.

PK□=± l B +−+   A tJ、l但しj
=i、m=i+lKl  (K<0)j=(i+K)、
m=i   (K2O)n=N −l K l 、 −
N/2≦に≦N/2これより位相差d、を d、 =Kl  m1n(PK、) (−N/2≦に≦N/2) により求める。
PK□=± l B +-+ A tJ, lHowever, j
=i, m=i+lKl (K<0)j=(i+K),
m=i (K2O)n=N −l K l , −
N/2≦≦N/2 From this, the phase difference d, is determined by d, =Kl m1n(PK,) (-N/2≦≦N/2).

■同様に、MarkB +1111 = 0と設定した
Bfml+A fJ)の組合せとなるときのみ加算を行
い、PK2を求め、d2を算出する。
(2) Similarly, addition is performed only when the combination of MarkB + 1111 = 0 (Bfml + A fJ) is obtained, PK2 is obtained, and d2 is calculated.

■同様に、MarkA (、H= 1と設定したA、、
、、。
■Similarly, MarkA (, A with H=1 set,,
,,.

B+mlの組合せとなるときのみ加算を行い、PK3を
求め、d3を算出する。
Addition is performed only when the combination of B+ml is obtained, PK3 is obtained, and d3 is calculated.

■同様に、MarkB (ml = 1と設定したAL
J)。
■Similarly, MarkB (AL set as ml = 1)
J).

B(1)の組合せとなるときのみ加算を行い、PK4を
求め、d4を算出する。
Addition is performed only when the combination B(1) is obtained, PK4 is obtained, and d4 is calculated.

そして、d1〜d4の最大値d n+ax及び最小値d
□。の差をとり d max  dmin≧e、   (e、は正値)が
成立すれば、算出された位相差dは、ぶれ量を正確に表
わしていないと判定する。
Then, the maximum value d n+ax and the minimum value d of d1 to d4
□. If the difference d max dmin≧e holds true (e is a positive value), it is determined that the calculated phase difference d does not accurately represent the amount of blur.

以トのように算出されたdを確かめる為、位相差dにお
いて、差分x、の大きいAの要素、小さいAの要素、大
きいBの要素、小さいBの要素についてサンプリングを
行い、各々について位相差d、−d4を計算すると、算
出されたdが不正確な場合、又は誤差を含む可能性が高
い場合には、d、 〜d、は異なワた値となるので、(
d、、1aX−d、、、)の値でdの確度の判定が可能
である。
In order to confirm d calculated as above, sampling is performed for the large A element, the small A element, the large B element, and the small B element with the difference x in the phase difference d, and the phase difference for each is When calculating d, -d4, if the calculated d is inaccurate or is likely to contain an error, d, ~d, will have different weight values, so (
The accuracy of d can be determined by the value of d, , 1aX-d, .

処理装置11は、ぶれ量に対応する位相差dをQ4〜Q
1の端子より、H又はLのデジタルコード情報で表わし
て出力し、LED 17をコード値に応じて点灯させる
。又dが不正確と判定された場合には同時に端子ERR
にHな出力し、LED21を点灯する。
The processing device 11 calculates the phase difference d corresponding to the amount of blur from Q4 to Q.
1 terminal outputs H or L digital code information and lights up the LED 17 according to the code value. Also, if d is determined to be incorrect, the terminal ERR
It outputs H and lights up the LED21.

以上の構成による本発明の装置の動作を第7図のフロー
チャートにより説明する。処理装置11には、第7図の
フローチャートに基づくアルゴリズムか予めプログラミ
ングされている。尚[]内はステップ番号を表わすもの
とする。
The operation of the apparatus of the present invention having the above configuration will be explained with reference to the flowchart shown in FIG. The processing device 11 is preprogrammed with an algorithm based on the flowchart shown in FIG. Note that the numbers in brackets [ ] represent step numbers.

[1]処理装置11から開始信号STを発し、CCD駆
動装置15はセンサ装置12に信号ICGを送り、光像
の蓄積を開始させる。
[1] The processing device 11 issues a start signal ST, and the CCD drive device 15 sends a signal ICG to the sensor device 12 to start accumulating an optical image.

[2コ所定の蓄積レベルに達した後に、センサ装置12
からの蓄積完了信号EOIを受は取った駆動装置15は
、A/D変換器13を動作させてセンサ12a、12b
上に投影された光像の光像変換信号O8をA/D変換し
、処理装置11に2像 A、Bのデジタル信号a(11+ b+11(i=1.
2.・・・N)を人力し、メモリに順次格納する。
[After two predetermined accumulation levels are reached, the sensor device 12
The drive device 15, which has received the accumulation completion signal EOI from
The optical image conversion signal O8 of the optical image projected above is A/D converted, and the processing device 11 receives the digital signal a(11+b+11(i=1...) of the two images A and B.
2. ...N) manually and sequentially store them in memory.

[3]Bz+ にA14.の値を代入し、A、1.にa
、、、を代入する。(前記[■]) (第1回目は、B(ilの値は不定となる。) [4]dを演算する。(前記[II]、  [!IIコ
)[5] MarkA +11 、 MarkB L+
+ を生成する。
[3] A14 to Bz+. Assign the values of A, 1. ni a
Assign , , . (The above [■]) (For the first time, calculate B (the value of il is indeterminate.) [4] d. (The above [II], [!II]) [5] MarkA +11, MarkB L+
Generate +.

(前記[IV]、  [V]、  [VI])[6] 
d+ 、d2.d:+ 、d4を計算する。
(Said [IV], [V], [VI]) [6]
d+, d2. Calculate d:+, d4.

(前記の、■、■、■) [7] d+ 、ct2.ct3.64のうち最小値を
d mio、最大値をd。axとする。
(Above, ■, ■, ■) [7] d+, ct2. The minimum value of ct3.64 is d mio, and the maximum value is d. Let it be ax.

[8]処理装置11において、d ff1ax  d 
+minの値と、エラー許容値e+  (正値)との値
を比較する。
[8] In the processing device 11, d ff1ax d
The value of +min and the error tolerance value e+ (positive value) are compared.

[9] dffiax  d 1m+n < e +で
あれば、エラーは許容されると判断して、ERR端子り
を出力し、LED21を消灯し、エラー表示をOFFに
する。
[9] If dffiax d 1m+n < e +, it is determined that the error is allowed, the ERR terminal is output, the LED 21 is turned off, and the error display is turned off.

[10コd max  dmi。<e、でない場合は、
エラー許容値以−ヒとして、ERR端子にHな出力し、
LED 21を点灯し、エラー表示をONにする。
[10 d max dmi. <e, if not,
As the error tolerance is exceeded, output high to the ERR terminal,
Light up LED 21 and turn on the error display.

[11]dの値をバイナリ−コードとしてQ+〜Q4に
出力し、LED 17を点灯又は゛消灯する。
[11] The value of d is output as a binary code to Q+ to Q4, and the LED 17 is turned on or off.

上述のとおり、d、〜d4及びdの値は、電源投入後第
1回目の計算ではぶれに対応する正しい値を示さず、2
回目からの計算値が有効となる。
As mentioned above, the values of d, ~d4 and d do not show the correct values corresponding to the blur in the first calculation after the power is turned on, and 2
The calculated value from the first time is valid.

この実施例では画素の選択を、位相差dにおけるxlの
平均値PK(。/nに対するXlの大小関係で決定して
いたが、Xlの大きい順又は小さい順にいくつかの画素
を選択することも可能であり、この場合にはシーンによ
る選択される画素数の依存性がない為、安定した誤り検
知が可能である。
In this embodiment, the selection of pixels was determined by the magnitude relationship of Xl with respect to the average value PK(./n) of xl at the phase difference d, but it is also possible to select some pixels in order of increasing or decreasing Xl. In this case, there is no dependence of the number of pixels selected on the scene, so stable error detection is possible.

以上説明したように、画素全体で算出された位相差dに
おいて、対応する画素の値の差の大小によって、画素を
区別し、各々の画素について独立に位相差を計算し、こ
れを比較することで、前記なる位相差が正確であるか否
かを判定することが可能であり、誤った画像ぶれの検知
を防止する効果かある。
As explained above, in the phase difference d calculated for the entire pixel, pixels can be distinguished based on the magnitude of the difference between the values of corresponding pixels, the phase difference for each pixel can be calculated independently, and the results can be compared. Therefore, it is possible to determine whether the above-mentioned phase difference is accurate or not, which has the effect of preventing erroneous detection of image blur.

第8図はぶれが大きく位相が算出できないシーンに対し
、従来の方法で計算したPK、dと、本発明による方法
で計算したPKl、 d+ 、 PK2゜d2.PK3
.d* 、PK4.d<を図示したものである。第8図
かられかるとおり、従来の方法では本来位相差を求める
ことができないシーンに対しても位相差dが算出され、
この位相差dが画像ぶれを正しく示しているか判別する
のは困難であった。この発明による手法を用いてPK 
I * P K 2 +P K3+ P K4の計算を
行った場合、第8図に示すようにd、、d2とd3.d
4は異なり、d maN−d nainの値から、求め
られたdが正しいぶれを表示するものではないことがわ
かる。
FIG. 8 shows PK,d calculated using the conventional method and PKl, d+, PK2°d2. PK3
.. d*, PK4. This is a diagram illustrating d<. As can be seen from Fig. 8, the phase difference d can be calculated even for scenes where the phase difference cannot originally be calculated using the conventional method.
It was difficult to determine whether this phase difference d correctly indicated image blur. Using the method according to this invention, PK
When calculating I * P K 2 + P K3 + P K4, d, , d2 and d3 . as shown in FIG. d
4 is different, and it can be seen from the value of d maN-d nain that the obtained d does not represent the correct shake.

第9図は、位相差が算出できる程度のぶれに対し、第8
図と同様の計算を行った結果を表わしたものである。こ
の場合には、dかぶれ量を正しく表示しているので、d
、d+ 、d2.d3.d4は一致していることがわか
る。
Figure 9 shows that the 8th
This figure shows the results of calculations similar to those shown in the figure. In this case, the d rash amount is displayed correctly, so d
, d+ , d2. d3. It can be seen that d4 matches.

以上のようにして、例えばd□ax  dmi。の値を
所定の値と比較することにより、誤ったぶれ量の算出の
警告等を行うことが可能となり、画像の計測、ぶれ情報
のフィードバックによる防振等に有効である。
As described above, for example, d□ax dmi. By comparing the value of , with a predetermined value, it becomes possible to issue a warning of incorrect calculation of the amount of blur, etc., which is effective for image measurement, image stabilization by feedback of blur information, and the like.

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

第1〜第3図は自動合焦検出の原理図、第4図及び第5
図はぶれ検知の説明図、第6図は本発明によるカメラの
ぶれ検出装置の処理系のブロック図、第7図は処理系の
フローチャート図、第8図及び第9図はPKないしdの
値を示す図である。 11・・・・処理装置、12・・・・センサ装置、13
・・・・A/D変換器、15・・・・駆動装置、16・
・・・クロック発生器、17・・・・ぶれπ表示装置、
21・・・・誤り表示装置 特許出願人  キャノン株式会社 代  理  人     高  梨  幸  雄第  
1  図  (A)     (1晃 2 回  (A
)     (9)第 3 図  (A)      
(9)兜  ・4  [コ CA) (B) (C) 第  5  回 晃  7  ロ 晃  8   [2] (A) 一一一一上−一−−−k (B) −に □ d3(lj4 晃  9 2 (ハ・) K (e) 〜 □
Figures 1 to 3 are principle diagrams of automatic focus detection, Figures 4 and 5.
The figure is an explanatory diagram of shake detection, Figure 6 is a block diagram of the processing system of the camera shake detection device according to the present invention, Figure 7 is a flowchart of the processing system, and Figures 8 and 9 are values of PK to d. FIG. 11...processing device, 12...sensor device, 13
... A/D converter, 15... Drive device, 16.
... Clock generator, 17... Shake π display device,
21...Error display device patent applicant Canon Co., Ltd. Agent Yukihiro Takanashi
1 Figure (A) (1 Akira 2 times (A
) (9) Figure 3 (A)
(9) Helmet ・4 [koCA] (B) (C) 5th Akira 7 Roko 8 [2] (A) 11111-1---k (B) - to □ d3 (lj4 Akira 9 2 (c・) K (e) ~ □

Claims (4)

【特許請求の範囲】[Claims] (1)焦点検出用の光学系及び処理系を用いてぶれ検知
を行うカメラのぶれ検知装置において、撮影レンズの一
部の光束を受光するセンサ装置(12)のある時点の出
力信号パターンAと一定時間経過後の出力信号パターン
A′についてサンプリングを行い、サンプリングを行っ
た信号について相関量を求め、ぶれ量を求める手段を有
することを特徴とするぶれ検知装置。
(1) In a camera shake detection device that detects shake using an optical system for focus detection and a processing system, the output signal pattern A at a certain point in time of the sensor device (12) that receives a part of the light flux of the photographic lens. A blur detection device comprising means for sampling an output signal pattern A' after a predetermined period of time has elapsed, determining a correlation amount for the sampled signal, and determining an amount of blur.
(2)少なくとも2つ以上のサンプリング方法によりサ
ンプリングを行い、各々について算出されたぶれ量を比
較する装置を有し、両者が大きく異なる場合には算出さ
れたぶれ量が誤りであると判定する手段を有することを
特徴とする特許請求の範囲第1項記載の装置。
(2) A means for sampling using at least two sampling methods and comparing the amount of blur calculated for each method, and determining that the calculated amount of blur is incorrect if the two are significantly different. The device according to claim 1, characterized in that it has:
(3)サンプリング手段は、A及びA′のパターン全体
として相関のよい位相差でA及びA′の信号を逐次比較
し、A及びA′の信号のうち、A、A′の差の絶対値を
差の絶対値の平均と比較することにより、以下の処理即
ち (イ)差の絶対値が平均値より大きい部分について、A
のパターンをサンプリングする (ロ)差の絶対値が平均値より大きい部分について、A
′のパターンをサンプリングする (ハ)差の絶対値が平均値より小さい部分について、A
のパターンをサンプリングする (ニ)差の絶対値が平均値より小さい部分について、A
′のパターンをサンプリングする (ホ)画素全部をサンプリングする のうちの少なくとも1つを行うことを特徴とする特許請
求の範囲第1項記載の装置。
(3) The sampling means successively compares the signals of A and A' with a phase difference that has a good correlation with the entire pattern of A and A', and the absolute value of the difference between A and A' among the signals of A and A'. By comparing A with the average of the absolute values of the differences, the following processing is performed: (a) For the part where the absolute value of the differences is larger than the average value, A
(b) For the part where the absolute value of the difference is larger than the average value,
(c) For the part where the absolute value of the difference is smaller than the average value, sample the pattern of A
(d) For the part where the absolute value of the difference is smaller than the average value,
2. The apparatus according to claim 1, wherein the apparatus performs at least one of sampling a pattern of .
(4)対物レンズの焦点調節状態に応じて間隔の変化す
る、物体像に関するパターンを形成する段階と、前記パ
ターンの夫々を複数画素を持つセンサアレイで受光する
段階と、前記パターンの一方についての信号とこれと同
じ方のパターンの一定時間経過後のパターンに関する信
号に基づいて相関を求め、位相差を求める段階と、対応
する画素の値の差の大小によって画素を区別し、各々の
画素について独立に位相差を計算し、これを比較して前
記位相差が妥当であるか否かを判定する段階を有し、前
記位相差の大きさからぶれの検出を行うことを特徴とす
るぶれ検知方法。
(4) forming a pattern related to an object image whose spacing changes depending on the focusing state of the objective lens; receiving each of the patterns with a sensor array having a plurality of pixels; A phase difference is determined by determining the correlation based on the signal and the signal related to the same pattern after a certain period of time has elapsed, and pixels are distinguished based on the magnitude of the difference between the values of the corresponding pixels, and each pixel is A blur detection system comprising the step of independently calculating a phase difference and comparing the results to determine whether or not the phase difference is appropriate, and detecting blur based on the magnitude of the phase difference. Method.
JP23075986A 1986-09-29 1986-09-29 Deviation detector Pending JPS6383621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23075986A JPS6383621A (en) 1986-09-29 1986-09-29 Deviation detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23075986A JPS6383621A (en) 1986-09-29 1986-09-29 Deviation detector

Publications (1)

Publication Number Publication Date
JPS6383621A true JPS6383621A (en) 1988-04-14

Family

ID=16912825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23075986A Pending JPS6383621A (en) 1986-09-29 1986-09-29 Deviation detector

Country Status (1)

Country Link
JP (1) JPS6383621A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7639932B2 (en) 2005-11-16 2009-12-29 Canon Kabushiki Kaisha Imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7639932B2 (en) 2005-11-16 2009-12-29 Canon Kabushiki Kaisha Imaging apparatus

Similar Documents

Publication Publication Date Title
WO1992009000A1 (en) Device for sensing in-focus position
JP2572372B2 (en) Focus detection device
JPH0666007B2 (en) Camera focus detector
JPH10160410A (en) Range finder
JPS6383621A (en) Deviation detector
JPH06250078A (en) Detecting device for focused state or distance of object
US5093562A (en) Focus detecting apparatus with improved precision in detecting phase difference
US4762987A (en) Automatic focusing system with correlation-determined disabling
JPH11109218A (en) Automatic focus detector
JP4817552B2 (en) Phase difference detection method, phase difference detection device, distance measuring device, and imaging device
JP3230759B2 (en) Distance measuring device
JP2005062039A (en) Distance measuring device
JP2002333645A (en) Image blur correction device and camera
JPH0933248A (en) Passive triangulation-type range finder
JPH07110432A (en) Range-finder
JP2558377B2 (en) Focus detection device
JP3065699B2 (en) Focus position detection device
JP2004117296A (en) Distance measuring apparatus and camera provided therewith
JPS62163008A (en) Focus detector
JP2003244479A (en) Motion vector detector, shaking image corrector, distance detector and camera
JPS62148910A (en) Focus detector
JPH05107061A (en) Range finder for passive type auto-focusing apparatus
JPH07120668A (en) Focus detecting device
JPH0815604A (en) Focus detection device
JPH05107060A (en) Range finder for passive type auto-focusing apparatus