JPH0546144B2 - - Google Patents

Info

Publication number
JPH0546144B2
JPH0546144B2 JP56197478A JP19747881A JPH0546144B2 JP H0546144 B2 JPH0546144 B2 JP H0546144B2 JP 56197478 A JP56197478 A JP 56197478A JP 19747881 A JP19747881 A JP 19747881A JP H0546144 B2 JPH0546144 B2 JP H0546144B2
Authority
JP
Japan
Prior art keywords
video output
slice
level
low
rising
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP56197478A
Other languages
Japanese (ja)
Other versions
JPS5899069A (en
Inventor
Yasuo Tanaka
Tadashi Furuta
Mikinori Musasa
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 Industrial Devices SUNX Co Ltd
Original Assignee
Sunx 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 Sunx Ltd filed Critical Sunx Ltd
Priority to JP56197478A priority Critical patent/JPS5899069A/en
Publication of JPS5899069A publication Critical patent/JPS5899069A/en
Publication of JPH0546144B2 publication Critical patent/JPH0546144B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は被検出体を光学的に検出するイメージ
センサのピント調整装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a focus adjustment device for an image sensor that optically detects an object to be detected.

(従来の技術) イメージセンサは、自動化ライン等において被
検出体の位置、形状、径、長さ、厚み等の検出情
報を光学的に検出するもので、被検出体からの検
出光を多数の受光素子たるフオトダイオードから
なる検出部に光学レンズを介して受光させるとと
もに、その多数のフオトダイオードの各々から時
系列的に信号を取出すことによつて該フオトダイ
オードから順次ビデオ出力を発生させ、そのビデ
オ出力を比較部に与えてその比較部の基準スライ
スレベルと比較してスライスビデオ出力を発生さ
せ、このスライスビデオ出力から前記検出情報を
得るものである。
(Prior art) An image sensor optically detects detection information such as the position, shape, diameter, length, and thickness of an object to be detected in an automated line, etc. A detection unit consisting of a photodiode serving as a light receiving element receives light through an optical lens, and by extracting signals from each of the many photodiodes in time series, video output is generated sequentially from the photodiode. The video output is supplied to a comparator and compared with a reference slice level of the comparator to generate a slice video output, and the detection information is obtained from the slice video output.

而して、この種のイメージセンサにおいては、
光学レンズのピント調整を行なう必要があり、従
来では、特開昭55−137784号公報のような技術が
開示されている。
Therefore, in this type of image sensor,
It is necessary to adjust the focus of the optical lens, and a technique such as that disclosed in Japanese Patent Application Laid-Open No. 137784/1984 has been disclosed.

即ち、この従来例は、撮像装置のイメージセン
サ上に被検出体と背景との境界若しくは被検出体
上における明部と暗部との明瞭な境界が写し出さ
れるような配置において、上記撮像装置のピント
を漸次変化させ、一方上記境界を境とする明部に
対応して上記イメージセンサから得られる画素出
力レベルよりも若干明るい値となるよう明部弁別
レベルを設定するとともに、暗部に対応して上記
イメージセンサから得られる画素出力レベルより
も若干明るい値となるよう暗部弁別レベルを設定
し、被検出体の明部及び暗部に対応する画素出力
をゲート信号に同期してサンプリングすることに
より上、下限レベルを得て、これらと前記画素出
力レベルとを比較して、これらの上、下限レベル
の中間に位置するレベルの画素数をカウントし、
そのカウント値を表示装置に表示させて、カウン
ト値が最小となるように手動操作によりピント調
整を行なう構成である。
That is, in this conventional example, the focus of the imaging device is adjusted so that the boundary between the object to be detected and the background or the clear boundary between the bright and dark areas on the object is displayed on the image sensor of the imaging device. The bright area discrimination level is set to a value slightly brighter than the pixel output level obtained from the image sensor corresponding to the bright area bordering the above-mentioned boundary, and the above-mentioned level is set corresponding to the dark area. The dark area discrimination level is set to a value slightly brighter than the pixel output level obtained from the image sensor, and the upper and lower limits are set by sampling the pixel outputs corresponding to the bright and dark areas of the detected object in synchronization with the gate signal. obtain the levels, compare these with the pixel output level, count the number of pixels at a level located between these upper and lower limit levels,
The configuration is such that the count value is displayed on a display device, and the focus is manually adjusted so that the count value becomes the minimum value.

(発明が解決しようとする課題) 従来の構成では、光学レンズのピント調整を表
示装置を見ながら人為的に行なわなければならな
いので不便であつた。しかも、ゲート信号に同期
して被検出体の明部及び暗部に対応す画素出力を
サンプリングするので、被検出体の明部及び暗部
はゲート信号に対応する特定箇所に必ず存在する
必要があり、従つて、被検出体としてはメーカ側
で制作した特定のものを用いないと、正確なピン
ト調整を行なうことができない。
(Problems to be Solved by the Invention) In the conventional configuration, the focus adjustment of the optical lens had to be manually performed while looking at the display device, which was inconvenient. Moreover, since the pixel outputs corresponding to the bright and dark areas of the detected object are sampled in synchronization with the gate signal, the bright and dark areas of the detected object must always exist at specific locations corresponding to the gate signal. Therefore, accurate focus adjustment cannot be performed unless a specific object manufactured by the manufacturer is used as the object to be detected.

本発明は上記事情に鑑みてなされたものであ
り、その目的はイメージセンサにおける光学レン
ズのピント調整を自動的且つ正確に行なうことが
できるイメージンセンサのピント調整装置を提供
するにある。
The present invention has been made in view of the above circumstances, and its object is to provide a focus adjustment device for an image sensor that can automatically and accurately adjust the focus of an optical lens in an image sensor.

[発明の構成] (課題を解決するための手段) 本発明のイメージセンサのピント調整装置は、
被検出体からの検出光を光学レンズを介して受光
するように設けられた多数の受光素子から構成さ
れ、その多数の受光素子の受光光量に比例した電
圧が時系列的に現われるビデオ出力を発生する検
出部と、この検出部からのビデオ出力を、値が順
次下降される高位用スライスレベル及び値が順次
上昇される低位用スライスレベルと夫々比較し
て、スライスビデオ出力を発生する比較部と、前
記検出部からの時系列的なビデオ出力に対応して
順次カウント動作を行なうカウンタと、前記高位
用スライスレベルが前記ビデオ出力の極大値より
小となつたときの前記比較部からの高位用スライ
スビデオ出力の立上り及び立下り時点における前
記カウンタのカウント値と、前記低位用スライス
レベルが前記ビデオ出力の極小値より大となつた
ときの前記比較部からの低位用スライスビデオ出
力の立上り及び立下り時点における前記カウンタ
のカウント値とを記憶し、その高位用スライスビ
デオ出力の立上り及び立下り時点のカウント値と
低位用スライスビデオ出力の立上り及び立下り時
点のカウント値との偏差値が小となるように前記
光学レンズのピント調整機構を制御する制御部と
を具備してなる構成に特徴を有する。
[Structure of the Invention] (Means for Solving the Problems) The image sensor focus adjustment device of the present invention has the following features:
Consists of a large number of light-receiving elements installed to receive the detected light from the object to be detected via an optical lens, and generates a video output in which a voltage proportional to the amount of light received by the large number of light-receiving elements appears in time series. a detecting section that compares the video output from the detecting section with a high-order slice level whose value is sequentially decreased and a low-order slice level whose value is sequentially increased, and generates a slice video output; , a counter that sequentially performs a counting operation corresponding to the time-series video output from the detection section; and a counter for performing a count operation sequentially in response to the time-series video output from the detection section; The count value of the counter at the rising and falling points of the slice video output, and the rising and falling edges of the low slice video output from the comparator when the low slice level becomes larger than the minimum value of the video output. The count value of the counter at the falling point is stored, and the deviation value between the count value at the rising and falling points of the high-order slice video output and the count value at the rising and falling points of the low-order slice video output is small. The present invention is characterized by a configuration including a control section that controls the focus adjustment mechanism of the optical lens.

(作用) 本発明のイメージセンサのピント調整装置によ
れば、制御部が高位用スライスビデオ出力の立上
り及び立下り時点のカウント値と低位用スライス
ビデオ出力の立上り及び立下り時点のカウント値
との偏差値が小となるように光学レンズのピント
調整機構を制御するので、自動的にピント調整を
行なうことができ、更に、被検出体としては、反
射部(明部)と非反射部(暗部)とが存在するも
のであればいかなるものを用いることができ、従
つて、メーカ側で制作した特定のものを用いなく
ても正確にピント調整を行なうことができる。
(Function) According to the focus adjustment device for an image sensor of the present invention, the control unit can adjust the count value at the rising and falling points of the high-order slice video output and the count value at the rising and falling points of the low-order slice video output. The focus adjustment mechanism of the optical lens is controlled so that the deviation value is small, so the focus adjustment can be performed automatically. ) can be used as long as it exists, and therefore, accurate focus adjustment can be performed without using a specific device manufactured by the manufacturer.

(実施例) 以下、本発明の一実施例につき、図面を参照し
ながら説明する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

先ず、第1図に従つてイメージセンサの概略的
構成について述べる。1は検出部であり、これは
多数例えば2048個(2048ビツト)の受光素子たる
フオトダイオード2を一直線上に配列して構成さ
れており、該2048個のフオトダイオード2は光に
対して各々時系列的に信号を取出せるように設定
されている。3は被検出体4からの検出光5を前
記検出部1に受光させる光学レンズであり、これ
はカメラと同様に周知のしぼり調整機構6及びピ
ント調整機構(図示せず)を備えている。
First, the schematic configuration of the image sensor will be described with reference to FIG. Reference numeral 1 denotes a detection section, which is constructed by arranging a large number of photodiodes 2, for example, 2048 (2048 bits) photodiodes 2 as light receiving elements in a straight line, and the 2048 photodiodes 2 are arranged at different times with respect to light. It is set so that signals can be taken out in series. Reference numeral 3 denotes an optical lens that causes the detection section 1 to receive detection light 5 from the object to be detected 4, and this lens is equipped with a well-known aperture adjustment mechanism 6 and a focus adjustment mechanism (not shown) like a camera.

さて、第2図に従つて電気的構成について述べ
る。7は前記検出部1の各2048個のフオトダイオ
ード2から受光光量に比例した電圧として順次出
力されるビデオ出力信号VSが与えられる入力端
子であり、これは比較部8の複数個例えば三個の
比較回路9,10及び11の各一方の入力端子に
接続されており、該比較回路9,10及び11の
他方の入力端子は基準端子12,13及び14に
夫々接続されている。この場合、前記比較回路
9,10及び11は、各一方の入力端子に入力端
子7から与えられるビデオ出力信号VSと各他方
の入力端子に後述するように基準端子12,13
及び14から与えられるスライスレベル信号
VH、VM及びVLとを比較するもので、ビデオ
出力信号VSのレベルがスライスレベル信号VH,
VM及びVLのレベルより大の時にその大なる間
だけハイレベルのスライスビデオ出力信号
SLVH,SLVM,及びSLVLを夫々出力するよう
になつている。そして、前記比較回路9,10及
び11の出力端子はバツフア回路17,18及び
19を各別に介して出力端子20,21及び22
に接続されている。又、前記比較回路9,10及
び11の出力端子はゲート回路23の各入力端子
に接続されており、該ゲート回路23の出力端子
はラツチ回路24及び25の各制御端子に接続さ
れている。そして、ラツチ回路25の各入力端子
には前記比較回路9,10及び11の出力端子が
接続されている。26はカウンタであり、そのク
ロツク端子CKはクロツク入力端子27に接続さ
れ、クリア端子CLはスタート入力端子28に接
続されており、各出力端子はラツチ回路24の各
入力端子に接続されている。このカウンタ26
は、前記フオトダイオード2の数たる2048個に対
応するカウント容量を有するものである。又、ク
ロツク入力端子27には図示しないクロツクパル
ス発生回路からのクロツクパルスCPが与えられ
るようになつており、スタート入力端子28には
前記クロツクパルス発生回路からのスタートパル
スSPが与えられるようになつている。この場合、
前記検出部1の2048個のフオトダイオード2はこ
のクロツクパルスCPに同期して順次各々から時
系列的に信号を取出せるように設定されており、
スタートパルスSPはクロツクパルス発生回路か
らクロツクパルスCPが2048個出力された後即ち
1番目(1ビツト目)のフオトダイオード2から
信号を取出せるようになつてから2048番目(2048
ビツト目)のフオトダイオード2から信号を取出
せるようになつた後に出力されるようになつてい
る。従つて、クロツク端子CKにクロツクパルス
CPが与えられクリア端子CLにスタートパルス
SPが与えられるカウンタ26は、2048ビツトの
フオトダイオード2が各々順次信号を取出せるよ
うになる毎にこれに対応してカウント動作を行な
い、カウント値が「2048」となつた後に「0」に
クリアされるようになり、結果としてカウンタ2
6のカウント値は何ビツト目のフオトダイオード
2が信号を取出せるようになつているかを示すこ
とになる。一方、前記ラツチ回路24,25の各
出力端子はゲート回路29の各入力端子に接続さ
れており、そのゲート回路29の各出力端子はメ
モリ回路30の各入力端子に接続されている。そ
して、メモリ回路30の各入力端子はバスライン
31,32に接続されているとともに後述するよ
うに作用する制御部たるCPU部33の各入力端
子に接続されている。34はDMAコントローラ
であり、その各入力端子は前記比較回路9,10
及び11の出力端子に接続されており、各出力端
子は前記ゲート回路29の制御端子に接続されて
いるとともにI/Oインターフエイス35を介し
てバスライン31,32に接続されている。そし
て、該バスライン31,32はデジタル−アナロ
グ(D/A)変換回路36を介して前記基準端子
12,13及び14に接続されているとともに
I/Oインターフエイス37を介して拡張バスラ
イン38に接続されている。
Now, the electrical configuration will be described according to FIG. Reference numeral 7 designates an input terminal to which a video output signal VS is supplied which is sequentially outputted as a voltage proportional to the amount of light received from each of the 2048 photodiodes 2 of the detection section 1; It is connected to one input terminal of each of comparison circuits 9, 10 and 11, and the other input terminal of comparison circuits 9, 10 and 11 is connected to reference terminals 12, 13 and 14, respectively. In this case, the comparator circuits 9, 10 and 11 each have a video output signal VS applied from the input terminal 7 to one input terminal and a reference terminal 12, 13 applied to the other input terminal as described later.
and the slice level signal given from 14.
It compares VH, VM and VL, and the level of the video output signal VS is the slice level signal VH,
Slice video output signal that is high level only when it is greater than the VM and VL levels.
SLVH, SLVM, and SLVL are output respectively. The output terminals of the comparison circuits 9, 10 and 11 are connected to the output terminals 20, 21 and 22 through buffer circuits 17, 18 and 19, respectively.
It is connected to the. Further, the output terminals of the comparison circuits 9, 10 and 11 are connected to respective input terminals of a gate circuit 23, and the output terminals of the gate circuit 23 are connected to respective control terminals of latch circuits 24 and 25. The output terminals of the comparison circuits 9, 10 and 11 are connected to each input terminal of the latch circuit 25. A counter 26 has a clock terminal CK connected to a clock input terminal 27, a clear terminal CL connected to a start input terminal 28, and each output terminal connected to each input terminal of a latch circuit 24. This counter 26
has a count capacity corresponding to 2048 photodiodes 2. The clock input terminal 27 is supplied with a clock pulse CP from a clock pulse generation circuit (not shown), and the start input terminal 28 is supplied with a start pulse SP from the clock pulse generation circuit. in this case,
The 2048 photodiodes 2 of the detection unit 1 are set so that signals can be extracted from each one in time series in synchronization with this clock pulse CP.
The start pulse SP is generated after 2048 clock pulses CP are output from the clock pulse generation circuit, that is, after the signal can be taken out from the 1st (1st bit) photodiode 2.
The signal is output after the signal can be taken out from the photodiode 2 (bit 1). Therefore, the clock pulse is applied to the clock terminal CK.
CP is given and start pulse is applied to clear terminal CL
The counter 26 to which SP is applied performs a counting operation corresponding to each 2048-bit photodiode 2 that can sequentially take out a signal, and after the count value reaches "2048", it becomes "0". Now cleared, resulting in counter 2
The count value of 6 indicates which bit of the photodiode 2 is ready to take out the signal. On the other hand, each output terminal of the latch circuits 24 and 25 is connected to each input terminal of a gate circuit 29, and each output terminal of the gate circuit 29 is connected to each input terminal of a memory circuit 30. Each input terminal of the memory circuit 30 is connected to bus lines 31 and 32, and is also connected to each input terminal of a CPU section 33, which is a control section that operates as will be described later. 34 is a DMA controller, each input terminal of which is connected to the comparison circuits 9 and 10.
and 11, and each output terminal is connected to a control terminal of the gate circuit 29 and to bus lines 31 and 32 via an I/O interface 35. The bus lines 31 and 32 are connected to the reference terminals 12, 13 and 14 via a digital-to-analog (D/A) conversion circuit 36, and are connected to an expansion bus line 38 via an I/O interface 37. It is connected to the.

次に、本実施例の作用につき第3図乃至第5図
を参照して説明する。
Next, the operation of this embodiment will be explained with reference to FIGS. 3 to 5.

先ず、光学レンズ3のピント調整を行なう場合
には、実際の被検出体4に代えて、第3図に示す
ように、反射テープ等のように光沢のよい材料で
形成された基板に黒つやけし塗装等光沢の悪い材
料で塗装して反射部39aと非反射部39bとを
交互に施こしてなるピント調整用被検出体39を
用いる。而して、このピント調整用被検出体39
に周囲光或いは専用の光源からの光が照射される
と、そのピント調整用被検出体39からの反射光
たる検出光5は光学レンズ3を介して検出部1に
受光される。検出部1においては、2048ビツトの
フオトダイオード2がクロツクパルスCPに同期
して1ビツト目のものから2048ビツト目のものま
で各々順次信号を取出せるようになるので、検出
部1としては例えば矢印40方向に光走査してピ
ント調整用被検出体39を検出することになる。
そして、信号を取出せるようになつたフオトダイ
オード2がピント調整用被検出体39の反射部3
9aからの検出光5を受光すると、第4図aで示
すようにビデオ出力信号VSたるVSaを出力する
ようになり、これが入力端子7に与えられる。一
方、CPU部33は、ピント調整用信号が適宜の
操作手段によつて与えられると、先ず、D/A変
換回路36を介して基準端子12に高位用スライ
スレベル信号VHを与え、この高位用スライスレ
ベル信号VHの値を次第に下降させる。そして、
高位用スライスレベル信号VHがビデオ出力信号
VSaの最大値より小なる高位用スライスレベル信
号VHaとなると、高位用の比較回路9が第4図
bで示すようにハイレベルの高位用スライスビデ
オ出力信号SLVHたるSLVHaを出力する。この
高位用スライスビデオ出力信号SLVHaはゲート
回路23を介してラツチ回路24,25の各制御
端子に与えられるようになり、ラツチ回路25は
その高位用スライスビデオ出力信号SLVHaの存
在(有)をラツチし、ラツチ回路24はその高位
用スライスビデオ出力信号SLVHaの立上り時点
と立下り時点とにおけるカウンタ26のカウント
値をラツチする。そして、これらのラツチ回路2
4及び25にラツチされた高位用スライスビデオ
出力信号SLVHaの有及び立上り時点、立下り時
点のカウント値はDMAコントローラ34により
制御されるゲート回路29を介してメモリ回路3
0に与えられて該メモリ回路30の指定されたア
ドレスに記憶される。その後、CPU部33は、
D/A変換回路36を介して基準端子14に低位
用スライスレベル信号VLを与え、この低位用ス
ライスレベル信号VLの値を次第に上昇させる。
そして、低位用スライスレベル信号VLがビデオ
出力信号VSaの極小値より大となる低位用スライ
スレベル信号VLaとなると、低位用の比較回路
11が第4図cで示すようにハイレベルの低位用
スライスビデオ出力信号SLVLaを出力する。こ
の低位用スライスビデオ出力信号SLVLaはゲー
ト回路23を介してラツチ回路24,25の各制
御端子に与えられるようになり、ラツチ回路25
はその低位用スライスビデオ出力信号SLVLaの
有をラツチし、ラツチ回路24はその低位用スラ
イスビデオ出力信号SLVLaの立上り時点と立下
り時点におけるカウンタ26のカウント値をラツ
チするようになり、これらは前述したようにして
メモリ回路30の指定されたアドレスに記憶され
る。その後において、CPU部33は、メモリ回
路30に記憶された高位用スライスビデオ出力信
号SLVHaの立上り時点カウント値及び立下り時
点カウント値と低位用スライスビデオ出力信号
SLVLaの立上り時点カウント値及び立下り時点
カウント値との偏差値△a、△b、△c及び△d
を演算して、これらが小となるように図示しない
ピント調整機構をモータ等を駆動させることによ
り調整制御するようになり、光学レンズ3は矢印
41で示すように移動されてピント調整が行なわ
れる。そして、光学レンズ3のピント調整が完了
した時には、ビデオ出力信号VSaは第5図aで示
すように立上り及び立下りの急峻な略矩形波状と
なり、高位用スライスビデオ出力信号SLVHa及
び低位用スライスビデオ出力信号SLVLaは第5
図b及びcで示すようになり、CPU部33はそ
の立上り時点カウント値及び立下り時点カウント
値の偏差値△a、△b、△c及び△dが零若しく
は極めて小であると判定して調整を終了する。
First, when adjusting the focus of the optical lens 3, instead of the actual object to be detected 4, as shown in FIG. A detectable object 39 for focus adjustment is used, which is coated with a material with poor gloss such as a tan finish, and has reflective portions 39a and non-reflective portions 39b alternately formed thereon. Therefore, this object to be detected for focus adjustment 39
When ambient light or light from a dedicated light source is irradiated onto the sensor, detection light 5, which is reflected light from the object to be detected for focus adjustment 39, is received by the detection unit 1 via the optical lens 3. In the detection section 1, the 2048-bit photodiode 2 can sequentially extract signals from the 1st bit to the 2048th bit in synchronization with the clock pulse CP. The object to be detected 39 for focus adjustment is detected by optical scanning in the direction.
Then, the photodiode 2, which has become able to take out the signal, moves to the reflecting part 3 of the object to be detected 39 for focus adjustment.
When it receives the detection light 5 from 9a, it outputs a video output signal VS, VSa, as shown in FIG. 4a, which is applied to the input terminal 7. On the other hand, when the focus adjustment signal is given by an appropriate operating means, the CPU section 33 first gives the high level slice level signal VH to the reference terminal 12 via the D/A conversion circuit 36, and The value of slice level signal VH is gradually lowered. and,
High slice level signal VH is video output signal
When the high-level slice level signal VHa becomes smaller than the maximum value of VSa, the high-level comparison circuit 9 outputs the high-level slice video output signal SLVH, SLVHa, as shown in FIG. 4b. This high level slice video output signal SLVHa is given to each control terminal of the latch circuits 24 and 25 via the gate circuit 23, and the latch circuit 25 latches the existence of the high level slice video output signal SLVHa. However, the latch circuit 24 latches the count value of the counter 26 at the rising and falling points of the high-level slice video output signal SLVHa. And these latch circuits 2
The count values at the rising and falling points of the high-level slice video output signal SLVHa latched at 4 and 25 are sent to the memory circuit 3 via the gate circuit 29 controlled by the DMA controller 34.
0 and stored at a designated address in the memory circuit 30. After that, the CPU section 33
A low-level slice level signal VL is applied to the reference terminal 14 via the D/A conversion circuit 36, and the value of the low-level slice level signal VL is gradually increased.
When the low-level slice level signal VL becomes a low-level slice level signal VLa that is larger than the minimum value of the video output signal VSa, the low-level comparison circuit 11 converts the low-level slice level signal VL into a high-level low-level slice as shown in FIG. Outputs video output signal SLVLa. This low level slice video output signal SLVLa is given to each control terminal of the latch circuits 24 and 25 via the gate circuit 23.
latches the presence of the low-level slice video output signal SLVLa, and the latch circuit 24 latches the count value of the counter 26 at the rising and falling points of the low-level slice video output signal SLVLa, and these are as described above. In this manner, the data is stored in the designated address of the memory circuit 30. Thereafter, the CPU unit 33 uses the rising and falling point count values of the high slice video output signal SLVHa stored in the memory circuit 30 and the low slice video output signal.
Deviation values △a, △b, △c and △d from the count value at the rising point and the count value at the falling point of SLVLa
is calculated, and a focus adjustment mechanism (not shown) is adjusted and controlled by driving a motor or the like so that these become small, and the optical lens 3 is moved as shown by an arrow 41 to perform focus adjustment. . When the focus adjustment of the optical lens 3 is completed, the video output signal VSa becomes a substantially rectangular waveform with steep rises and falls as shown in FIG. The output signal SLVLa is the fifth
As shown in FIGS. b and c, the CPU unit 33 determines that the deviation values Δa, Δb, Δc, and Δd of the rising time count value and the falling time count value are zero or extremely small. Finish the adjustment.

即ち、光学レンズ3のピントが不適当な場合に
は検出部1面上の結像がぼやけるので、第4図に
示すように、ビデオ出力信号VSaの立上り及び立
下り波形がなだらかになつて、高位用及び低位用
スライスビデオ出力信号SLVHa及びSLVLaの立
上り及び立下り時点のカウント値の偏差値が大に
なるものであるが、光学レンズ3のピントが最適
な場合には、検出部1面上の結像が明確になるの
で、第5図に示すように、ビデオ出力信号VSaの
立上り及び立下り波形が急峻になつて、高位用及
び低位用スライスビデオ出力信号SLVHa及び
SLVLaの立上り及び立下り時点のカウント値の
偏差値が零若しくは極めて小になるのである。
That is, if the focus of the optical lens 3 is inappropriate, the image formed on the surface of the detection unit 1 becomes blurred, so that the rising and falling waveforms of the video output signal VSa become gentle, as shown in FIG. Although the deviation value of the count value at the rising and falling points of the high-level and low-level slice video output signals SLVHa and SLVLa becomes large, when the focus of the optical lens 3 is optimal, As shown in FIG. 5, the rising and falling waveforms of the video output signal VSa become sharp, and the high and low slice video output signals SLVHa and
The deviation value of the count value at the rising and falling points of SLVLa becomes zero or extremely small.

尚、実際に被検出体4の被検出部4aを検出す
る場合には、しぼり機構6によつて被検出体4に
応じた最適しぼり状態に調整されるとともに、
CPU33からそのしぼり状態に応じた基準スラ
イスレベル信号VMが比較回路10に与えられる
ようになつているが、このことは、要旨とは直接
関係がないので、詳細な説明は省略する。
In addition, when actually detecting the detected part 4a of the detected object 4, the squeezing mechanism 6 adjusts to the optimal squeeze state according to the detected object 4, and
A reference slice level signal VM corresponding to the throttling state is supplied from the CPU 33 to the comparator circuit 10, but since this is not directly related to the gist, a detailed explanation will be omitted.

このように本実施例によれば、多数のフオトダ
イオード2が各々時系列的に取出せるようになる
ことにより検出光の有無に応じて順次ビデオ出力
信号VSを発生する検出部1を設け、この検出部
1からのビデオ出力信号VSを異なる値の高位用
及び低位用スライスレベル信号VH及びVLと比
較してスライスビデオ出力信号SLVH及びSLVL
を発生する比較部8を設け、検出部1の多数のフ
オトダイオード2が時列的に信号を取出せるよう
になることに対応して順次カウント動作を行うカ
ウンタ26を設け、そして、前記比較部8からの
高位用及び低位用スライスビデオ出力信号発生時
における前記カウンタ26のカウント値を判定し
その偏差値が小となるように光学レンズ3のピン
ト調整機構を制御するCPU部33を設ける構成
としたので、光学レンズ3のピント調整を自動的
に行なうことができ、従来とは異なり、ピント調
整機構を人為的に操作する必要がない。そして、
検出部1からのビデオ出力信号を上下に変化され
る高位用及び低位用スライスレベル信号と比較し
て高位用及び低位用スライスビデオ出力信号を得
るようにしているので、被検出体によつて検出部
1からのビデオ出力信号のレベルが異なつても、
確実に高位用及び低位用スライスビデオ出力信号
を得ることができ、従つて、被検出体39として
は、反射部(明部)39aと非反射部(暗部)3
9bとが存在するものであればいかなるものを用
いることができて、従来とは異なり、メーカ側で
製作した特定のものを用いなくても正確にピント
調整を行なうことができる。
As described above, according to this embodiment, the detection section 1 is provided which sequentially generates the video output signal VS depending on the presence or absence of detected light by allowing a large number of photodiodes 2 to be taken out in time series. Comparing the video output signal VS from the detection unit 1 with high and low slice level signals VH and VL of different values, slice video output signals SLVH and SLVL are obtained.
A comparator 8 that generates a signal is provided, a counter 26 is provided that sequentially performs a counting operation in response to the fact that a large number of photodiodes 2 of the detector 1 can take out signals in time series, and a counter 26 that sequentially performs a counting operation is provided. A CPU section 33 is provided for determining the count value of the counter 26 when the high-level and low-level slice video output signals from 8 are generated and controlling the focus adjustment mechanism of the optical lens 3 so that the deviation value thereof is small. Therefore, the focus of the optical lens 3 can be automatically adjusted, and unlike the prior art, there is no need to manually operate the focus adjustment mechanism. and,
Since the video output signal from the detection unit 1 is compared with the high-level and low-level slice level signals that are changed vertically to obtain the high-level and low-level slice video output signals, it is possible to obtain high-level and low-level slice video output signals. Even if the level of the video output signal from part 1 is different,
It is possible to reliably obtain slice video output signals for high and low levels. Therefore, as the detected object 39, there are a reflective part (bright part) 39a and a non-reflective part (dark part) 3.
9b can be used, and unlike the conventional method, accurate focus adjustment can be performed without using a specific device manufactured by the manufacturer.

尚、本発明は上記し且つ図面に示す実施例にの
み限定されるものではなく、要旨を逸脱しない範
囲内で適宜変形して実施し得ることは勿論であ
る。
It should be noted that the present invention is not limited to the embodiments described above and shown in the drawings, but can of course be implemented with appropriate modifications within the scope of the gist.

[発明の効果] 以上説明したように本発明によれば、被検出体
からの検出光を光学レンズを介して受光するよう
に設けられた多数の受光素子から構成されその多
数の受光素子の受光光量に比例した電圧が時系列
的に現われるビデオ出力を発生する検出部を設
け、この検出部からのビデオ出力を高位用及び低
位用スライスレベルと比較して高位用及び低位用
スライスビデオ出力を発生する比較部を設け、前
記検出部からの時系列的なビデオ出力に対応して
順次カウント動作を行なうカウンタを設け、前記
比較部からの高位用及び低位用スライスビデオ出
力の立上り及び立下り時点における前記カウンタ
のカウント値を記憶しその偏差値が小となるよう
に前記光学レンズのピント調整機構を制御する制
御部を設ける構成としたので、光学レンズのピン
ト調整を自動的且つ正確に行なうことができると
いう効果を奏するものである。
[Effects of the Invention] As explained above, according to the present invention, the light receiving element is composed of a large number of light receiving elements provided to receive detection light from an object to be detected through an optical lens. A detection section that generates a video output in which a voltage proportional to the amount of light appears in time series is provided, and the video output from this detection section is compared with slice levels for high and low levels to generate slice video outputs for high and low levels. a counter that sequentially performs a counting operation corresponding to the time-series video output from the detection section, and a counter that performs a sequential counting operation in response to the time-series video output from the detection section; Since the configuration is provided with a control section that stores the count value of the counter and controls the focus adjustment mechanism of the optical lens so that the deviation value thereof becomes small, the focus adjustment of the optical lens can be performed automatically and accurately. This has the effect of making it possible.

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

図面は本発明の一実施例を示し、第1図はイメ
ージセンサの概略的構成説明図、第2図は電気的
構成を示すブロツク線図、第3図はピント調整用
検出体の正面図、第4図及び第5図は作用説明用
の各部の波形図である。 図面中、1は検出部、2はフオトダイオード
(受光素子)、3は光学レンズ、5は検出光、8は
比較部、26はカウンタ、30はメモリ回路、3
3はCPU部(制御部)、39は被検出体を示す。
The drawings show an embodiment of the present invention, in which FIG. 1 is a schematic diagram for explaining the configuration of an image sensor, FIG. 2 is a block diagram showing the electrical configuration, and FIG. 3 is a front view of a detection object for focus adjustment. FIGS. 4 and 5 are waveform diagrams of each part for explaining the operation. In the drawing, 1 is a detection section, 2 is a photodiode (light receiving element), 3 is an optical lens, 5 is a detection light, 8 is a comparison section, 26 is a counter, 30 is a memory circuit, 3
3 is a CPU section (control section), and 39 is a detected object.

Claims (1)

【特許請求の範囲】 1 被検出体からの検出光を光学レンズを介して
受光するように設けられた多数の受光素子から構
成され、その多数の受光素子の受光光量に比例し
た電圧が時系列的に現われるビデオ出力を発生す
る検出部と、 この検出部からのビデオ出力を、値が順次下降
される高位用スライスレベル及び値が順次上昇さ
れる低位用スライスレベルと夫々比較して、スラ
イスビデオ出力を発生する比較部と、 前記検出部からの時系列的なビデオ出力に対応
して順次カウント動作を行なうカウンタと、 前記高位用スライスレベルが前記ビデオ出力の
極大値より小となつたときの前記比較部からの高
位用スライスビデオ出力の立上り及び立下り時点
における前記カウンタのカウント値と、前記低位
用スライスレベルが前記ビデオ出力の極小値より
大となつたときの前記比較部からの低位用スライ
スビデオ出力の立上り及び立下り時点における前
記カウンタのカウント値とを記憶し、その高位用
スライスビデオ出力の立上り及び立下り時点のカ
ウント値と低位用スライスビデオ出力の立上り及
び立下り時点のカウント値との偏差値が小となる
ように前記光学レンズのピント調整機構を制御す
る制御部とを具備してなるイメージセンサのピン
ト調整装置。
[Scope of Claims] 1. Consisting of a large number of light receiving elements provided to receive detection light from an object to be detected via an optical lens, voltages proportional to the amount of light received by the large number of light receiving elements are applied in a time series. A detection unit that generates a video output that appears as a slice video, and compares the video output from this detection unit with a high-order slice level whose value is sequentially decreased and a low-order slice level whose value is sequentially increased, and detects a slice video. a comparator unit that generates an output; a counter that sequentially performs a counting operation in response to the time-series video output from the detection unit; The count value of the counter at the rising and falling points of the high-order slice video output from the comparison section, and the low-order slice level from the comparison section when the low-order slice level becomes larger than the minimum value of the video output. The count values of the counter at the rising and falling points of the slice video output are stored, and the count values at the rising and falling points of the high-order slice video output and the count values at the rising and falling points of the low-order slice video output are stored. and a control unit that controls a focus adjustment mechanism of the optical lens so that a deviation value from the optical lens becomes small.
JP56197478A 1981-12-08 1981-12-08 Signal processor for image sensor Granted JPS5899069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56197478A JPS5899069A (en) 1981-12-08 1981-12-08 Signal processor for image sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56197478A JPS5899069A (en) 1981-12-08 1981-12-08 Signal processor for image sensor

Publications (2)

Publication Number Publication Date
JPS5899069A JPS5899069A (en) 1983-06-13
JPH0546144B2 true JPH0546144B2 (en) 1993-07-13

Family

ID=16375142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56197478A Granted JPS5899069A (en) 1981-12-08 1981-12-08 Signal processor for image sensor

Country Status (1)

Country Link
JP (1) JPS5899069A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4846226A (en) * 1971-10-14 1973-07-02
JPS49113624A (en) * 1973-02-26 1974-10-30
JPS5372419A (en) * 1976-12-09 1978-06-27 Matsushita Graphic Communic Binary discriminator
JPS5552034A (en) * 1978-10-09 1980-04-16 Fuji Photo Film Co Ltd Aperture control system for camera
JPS5559444A (en) * 1978-10-30 1980-05-02 Mitsubishi Rayon Co Ltd Automatic aperture adjusting method
JPS55137784A (en) * 1979-04-16 1980-10-27 Omron Tateisi Electronics Co Focus adjustment system in image pickup device using image sensor
JPS57116310A (en) * 1981-01-12 1982-07-20 Toshiba Corp Focus detecting system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4846226A (en) * 1971-10-14 1973-07-02
JPS49113624A (en) * 1973-02-26 1974-10-30
JPS5372419A (en) * 1976-12-09 1978-06-27 Matsushita Graphic Communic Binary discriminator
JPS5552034A (en) * 1978-10-09 1980-04-16 Fuji Photo Film Co Ltd Aperture control system for camera
JPS5559444A (en) * 1978-10-30 1980-05-02 Mitsubishi Rayon Co Ltd Automatic aperture adjusting method
JPS55137784A (en) * 1979-04-16 1980-10-27 Omron Tateisi Electronics Co Focus adjustment system in image pickup device using image sensor
JPS57116310A (en) * 1981-01-12 1982-07-20 Toshiba Corp Focus detecting system

Also Published As

Publication number Publication date
JPS5899069A (en) 1983-06-13

Similar Documents

Publication Publication Date Title
US4333716A (en) Focus detection system
US4284335A (en) Focus detecting apparatus
US5305391A (en) Method of and apparatus for inspecting bottle or the like
CN102158654B (en) Image capture apparatus and zooming method
US20230412937A1 (en) Information processing apparatus, information processing method, and storage medium
JPS6243590B2 (en)
JPH0546144B2 (en)
JPH02125375A (en) Position detecting device
JP2971892B2 (en) Auto focus method
JP2944674B2 (en) Image reading device
US6334002B2 (en) Image reader apparatus
KR970003036B1 (en) System against over-response of an iris
KR0151965B1 (en) Method & apparatus for automatic control of ccd camera
JP3090927B2 (en) Image reading device
JPH0477951B2 (en)
JPH0618438A (en) Inspection unit
JP3228643B2 (en) Edge position detection device
JP2893163B2 (en) Detection target extraction processing device
JPS6046446B2 (en) Video display device
JPS6225014Y2 (en)
JPH0618439A (en) Inspection unit
JPH0257754B2 (en)
JPS61156381A (en) Automatic adjusting device in measuring area
JPH01225927A (en) Metering device
JPH05306957A (en) Infrared thermal imaging device