JPS63174476A - Automatic focusing device - Google Patents

Automatic focusing device

Info

Publication number
JPS63174476A
JPS63174476A JP62006644A JP664487A JPS63174476A JP S63174476 A JPS63174476 A JP S63174476A JP 62006644 A JP62006644 A JP 62006644A JP 664487 A JP664487 A JP 664487A JP S63174476 A JPS63174476 A JP S63174476A
Authority
JP
Japan
Prior art keywords
lens
high frequency
frequency component
screen
focusing
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
JP62006644A
Other languages
Japanese (ja)
Inventor
Daisuke Ogawara
大河原 大輔
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62006644A priority Critical patent/JPS63174476A/en
Publication of JPS63174476A publication Critical patent/JPS63174476A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/673Focus control based on electronic image sensor signals based on contrast or high frequency components of image signals, e.g. hill climbing method

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

PURPOSE:To reduce time of focusing by detecting high frequency component from a video signal which scans a local area in a screen and executing actions for focusing so as to make the high frequency component the maximum. CONSTITUTION:A picture signal, picked up by a solid-state image pickup element 7 and converted into an electrical signal, is transmitted to a signal process part 4 through an amplifier 3. The high frequency component of the picture in a present location of a lens in the partial area mXn elements in the screen is computed in the signal process part 4. With sequentially altering the location of the lens 1, the high frequency component of the partial area of the picture is computed every time and the lens 1 is made to be moved to a spot where the maximum value of the high frequency component is obtained. thus, focusing can be executed in a short time by using a TV camera. It will do to move the image pickup element instead of moving the lens.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は工業用視覚装置のTVカメラの映像信号を用い
た自動焦点装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an automatic focusing device using a video signal from a TV camera of an industrial visual device.

従来の技術 従来の標準TV方式のエリヤ型撮像素子を用いた視覚装
置で、映像信号を用いて自動焦点装置を構成する場合を
第7図で説明する。
2. Description of the Related Art A case will be described with reference to FIG. 7 in which an automatic focusing device is configured using a video signal in a visual device using a conventional standard TV type area type image pickup device.

レンズ1で投影された光学像は、撮像素子2で映像信号
に変換され、増幅器3で増幅し、この映像信号を信号処
理部4へ入力する。信号処理部4ば、画面の映像信号よ
り高周波成分を検出する。
The optical image projected by the lens 1 is converted into a video signal by the image sensor 2, amplified by the amplifier 3, and this video signal is input to the signal processing section 4. The signal processing unit 4 detects high frequency components from the video signal on the screen.

制御部5はアクチュエータ6を制御しレンズ1を光軸方
向に移動させるとともに、信号処理部4で検出した高周
波成分の量を判定する。レンズ1の位置とその位置に対
応し得られる画面の高周波成分の量の関係を第8図に示
す。焦点が合っている画面は、画像の輪郭部も一番鮮明
になり、その画面の映像信号中の高周波成分も一番多く
なる。第8図ではレンズがPfの位置にある場合合焦点
であり最大値を得ている。
The control unit 5 controls the actuator 6 to move the lens 1 in the optical axis direction, and determines the amount of high frequency components detected by the signal processing unit 4. FIG. 8 shows the relationship between the position of the lens 1 and the amount of high frequency components on the screen obtained corresponding to the position. On a screen that is in focus, the outline of the image will be the clearest, and the high-frequency components in the video signal for that screen will also be the largest. In FIG. 8, when the lens is at position Pf, it is a focused point and the maximum value is obtained.

第7図の構成による自動焦点装置の動作を第8図、第9
図で説明する。第9図は制御部5の制御の内容である。
Figures 8 and 9 show the operation of the automatic focusing device with the configuration shown in Figure 7.
This will be explained with a diagram. FIG. 9 shows the details of control by the control section 5.

第8図で現在のレンズの位置がPlとすると、その位置
での画面の高周波成分を検出し、次に“レンズ1の位置
を少し動かし同じ動作を繰返してゆく。レンズ1の位置
がPNにぐると、高周波成分の量は最高値FMを超えた
事が確認できる。確認後レンズ1の位置を最大値FMを
得た位置Pfに戻す。この位置が合焦点の位置である。
In Figure 8, if the current position of the lens is Pl, detect the high frequency component of the screen at that position, then move the position of lens 1 a little and repeat the same operation. It can be confirmed that the amount of high frequency components exceeds the maximum value FM.After checking, the position of the lens 1 is returned to the position Pf where the maximum value FM was obtained.This position is the in-focus position.

3 ・ −7 発明が解決しようとする問題点 上記のような動作をさせる場合、従来の固体撮像素子を
使用すると、TVの規格に従っているため、標準的には
、1画面の映像信号を得るには33m5必要とし、画面
の局所領域の映像信号も同様に33mBのサイクルでし
か得られない。第3図゛に於いて合焦点1でのループ回
数がNとするとその時間は最低でも33m5XN要する
事になり、工業用視覚装置の焦点合わせでは、遅いとい
う問題があった。
3.-7 Problems to be solved by the invention When performing the above-mentioned operation, if a conventional solid-state image sensor is used, since it complies with the TV standard, it is standard to obtain a video signal for one screen. requires 33 m5, and the video signal of a local area of the screen can similarly only be obtained in a cycle of 33 mB. In FIG. 3, if the number of loops at the focal point 1 is N, the time required is at least 33m5XN, which is a problem in focusing in industrial visual equipment.

本発明は上記従来の欠点を解消するものであり焦点合わ
せを高速化するものである。
The present invention solves the above-mentioned conventional drawbacks and speeds up focusing.

問題点を解決するための手段 上記目的を達成するため本発明の自動焦点装置は、像を
撮像素子へ投影するレンズと、標準TV走査だけでなく
、画面内の特定の局所領域のみを繰返し走査するモード
を備え、外部よりこの動作モードを切換る事ができる漏
像素子と、この映像信号を増幅する増幅器と、映像信号
より合焦点を検出する信号処理部と、この結果によりレ
ンズを駆動するアクチュエータより構成されたものであ
る。
Means for Solving the Problems In order to achieve the above object, the automatic focusing device of the present invention includes a lens that projects an image onto an image sensor, and a system that not only performs standard TV scanning but also repeatedly scans only a specific local area within the screen. an image leakage element that can switch this operation mode externally, an amplifier that amplifies this video signal, a signal processing section that detects the in-focus point from the video signal, and a lens that drives the lens based on this result. It is composed of an actuator.

作  用 上記本発明の構成によれば高速に焦点合わせ動作を行う
モードを有し、工業用視覚装置の焦点合わせ動作を高速
に実現でき大変有用である。
Effects According to the above configuration of the present invention, there is a mode in which the focusing operation is performed at high speed, and it is very useful because it can realize the focusing operation of an industrial visual device at high speed.

実施例 以下本発明の一実施例を第1図〜第6図にもとづいて説
明する。
EXAMPLE Hereinafter, an example of the present invention will be described based on FIGS. 1 to 6.

第1図は実施例の全体構成図−である。第1図に於いて
1はレンズ、7は標準TV走査だけでなく、画面内の特
定した局所領域のみ繰返し走査するモードを備え、外部
よりこの動作モードを指定、切換える事ができる固体撮
像素子、3は増幅器、4は信号処理部、6は制御部、6
はアクチュエータでレンズ1を動かす。
FIG. 1 is an overall configuration diagram of the embodiment. In FIG. 1, 1 is a lens, 7 is a solid-state image sensor that is equipped not only with standard TV scanning but also with a mode of repeatedly scanning only a specified local area within the screen, and whose operation mode can be specified and switched from the outside. 3 is an amplifier, 4 is a signal processing section, 6 is a control section, 6
moves lens 1 using an actuator.

以上の様に構成された自動焦点装置について、以下その
動作を説明する。第2図は撮像素子の構成原理図である
。撮像素子はフォトダイオード20、垂直トランジスタ
21 、水平トランジスタ5べ一 22、垂直信号線23.水平信号線24゜25とX走査
器s、Y走査器9で構成され、X走査器s、Y走査器9
がプログラマブル構造になっており、外部よりの設定で
画面内の局所領域走査の場所が決まる。第3図はX゛走
査器8の詳細構造図である。第3図に於いて一走査線に
相当するフォトダイオード20は水平トランジスタ22
を介して水平信号線24に接続している。この水平トラ
ンジスタ22は、水平クロックで駆動されてるシフトレ
ジスタ10で制御されており、順次導通する事により水
平方向へ走査する構成である。第4図はX走査器8の動
作設定レジスタの詳細を示している。外部よシ走査開始
位置レジスタ11(以下開始レジスタと略す)にX方向
走査開始する点に”1°゛を他を全て”0”を設定する
。この開始レジスタ11の内容はシフトレジスタ10へ
直接セットされる。このため1”を設定された位置より
X走査が始まる。又走査開始位置よりどこ寸で走査する
か、走査の巾を決めるレジスタが走査巾レジスタ12で
ある。この走査巾レジスタ61、−; 12の値だけ開始点より走査が行なわれ、以降自動的に
この動作を繰返す。走査開始位置レジスタ11と走査巾
レジスタ12に対し、第4図のような値を設定すると、
X方向走査はiより開始しi+5で終了する。この動作
をタイムチャートで示したのが第5図であり、画面上に
表現したのが第6図である。これ丑でX走査の動作を説
明して゛きたが、Y走査も同様の構成で実現できる。こ
のようにして画面上の任意の位置に対して局所領域13
を走査し映像信号を得る。この映像信号は信号処理部5
で3×3画素サイズのバイパスフィルタで全画面につい
て演算する。画面の高周波成分Fは下−記の式で計算し
求める。
The operation of the automatic focusing device configured as described above will be explained below. FIG. 2 is a diagram showing the principle of construction of the image sensor. The image pickup device includes a photodiode 20, a vertical transistor 21, a horizontal transistor 5 base 22, and a vertical signal line 23. Consists of a horizontal signal line 24°25, an X scanner s, a Y scanner 9, an X scanner s, a Y scanner 9
has a programmable structure, and the location of local area scanning within the screen is determined by external settings. FIG. 3 is a detailed structural diagram of the X'scanner 8. In FIG. 3, the photodiode 20 corresponding to one scanning line is a horizontal transistor 22.
It is connected to the horizontal signal line 24 via. This horizontal transistor 22 is controlled by a shift register 10 driven by a horizontal clock, and is configured to scan in the horizontal direction by sequentially turning on. FIG. 4 shows details of the operation setting register of the X scanner 8. In the external shift scan start position register 11 (hereinafter abbreviated as start register), set "1°" to the point at which scanning in the X direction starts and all other values to "0".The contents of this start register 11 are directly transferred to the shift register 10. Therefore, the X scan starts from the position where 1'' is set. A scan width register 12 is a register that determines the scan width from the scan start position. Scanning is performed from the starting point by the value of the scanning width register 61, -;12, and this operation is automatically repeated thereafter. When the values shown in FIG. 4 are set for the scan start position register 11 and the scan width register 12,
The X direction scan starts from i and ends at i+5. FIG. 5 shows this operation as a time chart, and FIG. 6 shows it on the screen. Although the X-scanning operation has been explained above, Y-scanning can also be realized with a similar configuration. In this way, the local area 13 is
to obtain a video signal. This video signal is processed by the signal processing section 5.
The calculation is performed for the entire screen using a bypass filter of 3×3 pixel size. The high frequency component F of the screen is calculated using the following formula.

SX:CPi+1.j〒1 +Pi+1.j」−”i+
1.j+1 )−CP、+p、   、4−p・   
 )1−1.1−1  1−1.1  1−1.)+l
5Y=(Pi−1,j+1+Pi、j+1+Pi+1.
j+1)−(Pi−1,j−1@−Pi=1.−、、+
pi−、、、−1)この演算に必要な時間は信号処理部
5が(1)式で示す演算機能を持つハードウェアで構成
されており、第6図に於ける局所領域内の(1)式の演
算時間は全画面を5’12 X’480画素1局所領域
をm X n画素とすれば となり、短時間に今のレンズ1の位置での画像の高周波
成分を演算−できる。このようにしてレンズ1の位置を
順次動かし毎回画像の局所領域の高周波成分Fを演算し
、第8図に示すように高周波成分Fの最大値の得られた
処へレンズ1を動かすことにより、TVカメラを用い人
短時間に焦点合わせが行々える。又詳しくは説明しなか
ったがレンズを動かす代りに撮像素子の位置を動かして
も同様の焦点合わせができる。
SX:CPi+1. j〒1 +Pi+1. j”−”i+
1. j+1)-CP, +p, ,4-p・
)1-1.1-1 1-1.1 1-1. )+l
5Y=(Pi-1, j+1+Pi, j+1+Pi+1.
j+1)-(Pi-1,j-1@-Pi=1.-,,+
pi-, , -1) The time required for this calculation is determined by the signal processing unit 5, which is composed of hardware with the calculation function shown in equation (1), ) The calculation time for the equation is 5'12 x 480 pixels for the entire screen and m x n pixels for the local area, and the high frequency components of the image at the current position of the lens 1 can be calculated in a short time. In this way, by sequentially moving the position of the lens 1 and calculating the high frequency component F of the local area of the image each time, as shown in FIG. 8, by moving the lens 1 to the location where the maximum value of the high frequency component F is obtained, Focusing can be done in a short time using a TV camera. Also, although not explained in detail, similar focusing can be achieved by moving the position of the image sensor instead of moving the lens.

発明の効果 以上のように本発明によれば、画面内の局所領域を走査
する撮像素子と、走査した映像信号により、その局所領
域の有する高周波成分を検出する信号処理部と、検出し
た高周波成分が最大になるようレンズを制御する制御部
とで合焦点動作を行うため、合焦点1での時間が短縮さ
れるという特徴を有している。
Effects of the Invention As described above, according to the present invention, an image sensor that scans a local area within a screen, a signal processing unit that detects a high frequency component of the local area using the scanned video signal, and a detected high frequency component. Since the focusing operation is performed by a control section that controls the lens so that the lens is maximized, the time at the focusing point 1 is shortened.

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

第1図は本発明の一実施例による自動焦点装置の構成図
、第2図、第3図及び第4図は撮像素子の構成原理図及
び具体回路図、第5図及び第6図は同動作説明図、第7
図はTVカメラを用いた従来の自動焦点装置の構成図、
第8図及び第9図は第7図の動作原理図である。 1・・・・・・レンズ、3・・・・・・増幅器、4・・
・・・・信号処理部、5・・・・・・制御部、6・・・
・・・アクチュエータ、7・・・・・・・・・固体撮像
素子、1o・・・・・・シフトレジスタ、11・・・・
・走査開始位置レジスタ。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 ず −一−レノス゛□ り”−71’hり孜−Y゛ 21−−一寛I卜覗シスク 22−−−71<十   ′″ 第4図 赴鉦聞輸イfXvシフタ 赴任中レラスタ 第7図 第5図 5FRc−「−一     −]−]−5FRt+を−
」−シー−「]− δFR’t、+2−[]−−f−L 3FR2+3    −−f]−− jFR2を手      −一[]−−JFRiす5 
                        U
第6図 1” 第8図 レコス゛のイ’fL 寺4 第9図
FIG. 1 is a configuration diagram of an automatic focusing device according to an embodiment of the present invention, FIGS. 2, 3, and 4 are a configuration principle diagram and a specific circuit diagram of an image sensor, and FIGS. 5 and 6 are the same. Operation explanatory diagram, 7th
The figure shows a configuration diagram of a conventional autofocus device using a TV camera.
8 and 9 are diagrams of the operating principle of FIG. 7. 1...Lens, 3...Amplifier, 4...
...Signal processing unit, 5...Control unit, 6...
...Actuator, 7...Solid-state image sensor, 1o...Shift register, 11...
- Scan start position register. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
-1-Renos □ri"-71'h Rie-Y21--Ichikan I-Peek Sisk 22--71<10'" 7Figure 5Figure 5 5FRc-"-1-]-]-5FRt+-
"-C-"]- δFR't, +2-[]--f-L 3FR2+3 --f]-- jFR2 in hand -1[]--JFRisu5
U
Figure 6 1" Figure 8 Recos'I'fL Temple 4 Figure 9

Claims (1)

【特許請求の範囲】[Claims] 画像を投影するレンズと、画面内の任意の局所領域をく
り返し走査する固体撮像素子と、映像信号の高周波成分
を抽出する信号処理部と、高周波成分の増減を判定する
制御部と、前記制御部の指令により前記レンズ又は固体
撮像素子を移動させるアクチュエータとを備えた自動焦
点装置。
A lens that projects an image, a solid-state image sensor that repeatedly scans an arbitrary local area within a screen, a signal processing unit that extracts a high frequency component of a video signal, a control unit that determines an increase or decrease in the high frequency component, and the control unit an actuator that moves the lens or solid-state image sensor according to a command from the autofocus device.
JP62006644A 1987-01-14 1987-01-14 Automatic focusing device Pending JPS63174476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62006644A JPS63174476A (en) 1987-01-14 1987-01-14 Automatic focusing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62006644A JPS63174476A (en) 1987-01-14 1987-01-14 Automatic focusing device

Publications (1)

Publication Number Publication Date
JPS63174476A true JPS63174476A (en) 1988-07-18

Family

ID=11644078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62006644A Pending JPS63174476A (en) 1987-01-14 1987-01-14 Automatic focusing device

Country Status (1)

Country Link
JP (1) JPS63174476A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5065246A (en) * 1989-07-24 1991-11-12 Ricoh Company, Ltd. Focusing system and image input apparatus having automatic focusing system which uses digital processing
US5105278A (en) * 1990-01-19 1992-04-14 Ricoh Company, Ltd. Automatic focus-adjusting apparatus using two-dimensional frequency component of an image
WO2000008507A3 (en) * 1998-08-05 2000-05-11 Tuhh Tech Gmbh Method and device for automatic focusing and illumination in image-recording systems
JP2001318307A (en) * 2000-05-12 2001-11-16 Canon Inc Imaging apparatus, controlling method thereof and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5065246A (en) * 1989-07-24 1991-11-12 Ricoh Company, Ltd. Focusing system and image input apparatus having automatic focusing system which uses digital processing
US5105278A (en) * 1990-01-19 1992-04-14 Ricoh Company, Ltd. Automatic focus-adjusting apparatus using two-dimensional frequency component of an image
WO2000008507A3 (en) * 1998-08-05 2000-05-11 Tuhh Tech Gmbh Method and device for automatic focusing and illumination in image-recording systems
JP2001318307A (en) * 2000-05-12 2001-11-16 Canon Inc Imaging apparatus, controlling method thereof and storage medium
JP4508357B2 (en) * 2000-05-12 2010-07-21 キヤノン株式会社 Imaging apparatus, control method therefor, and storage medium

Similar Documents

Publication Publication Date Title
US7548269B2 (en) System for autofocusing a moving object
US7561790B2 (en) Auto focus system
JP2007225777A (en) Autofocus unit and camera
JP2006267221A (en) Auto focus system
JP2932575B2 (en) Autofocus control device and control method thereof
JP2006058431A (en) Autofocusing system
JP2006184742A (en) Autofocus system
JP2004208089A (en) Projector, imaging device, and program for trapezoid correction
JP3401847B2 (en) Imaging device and autofocus circuit
JP2006267220A (en) Auto focus system
JPS63174476A (en) Automatic focusing device
JP3252001B2 (en) Automatic focusing device
JPH0465993A (en) Optical axis adjustment method for video camera
JP3271309B2 (en) Camera device
CN101867705A (en) Large-zoom ratio automatic focusing integrated camera
JPS6267971A (en) Video camera
JPS60126976A (en) Automatic focusing device
JPH0954244A (en) Automatic focusing device
JPH0437827A (en) Image pickup device
JPH0614700B2 (en) Automatic focusing device
JP2004205684A (en) Projection device and its focusing method
JPH0698235A (en) Camera
JPH06334913A (en) Automatic focusing device
JPH06178186A (en) Television camera system
JPH04114018U (en) Focus detection device