JPS58196405A - Method and device for aligning fixed focal point - Google Patents

Method and device for aligning fixed focal point

Info

Publication number
JPS58196405A
JPS58196405A JP7832482A JP7832482A JPS58196405A JP S58196405 A JPS58196405 A JP S58196405A JP 7832482 A JP7832482 A JP 7832482A JP 7832482 A JP7832482 A JP 7832482A JP S58196405 A JPS58196405 A JP S58196405A
Authority
JP
Japan
Prior art keywords
coil
lamp
image
fixed
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.)
Granted
Application number
JP7832482A
Other languages
Japanese (ja)
Other versions
JPH0541923B2 (en
Inventor
Eiji Sawa
沢 英二
Akio Miyoshi
三好 昭夫
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP7832482A priority Critical patent/JPS58196405A/en
Publication of JPS58196405A publication Critical patent/JPS58196405A/en
Publication of JPH0541923B2 publication Critical patent/JPH0541923B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Fastening Of Light Sources Or Lamp Holders (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)

Abstract

PURPOSE:To perform the alignment of a focal point automatically and efficiently, by photographing the filament of a lamp at the front and side by ITV cameras, computing the center of gravity and the slant amount of a coil, and driving a positioning driving part. CONSTITUTION:The front image, which is photographed by an ITV camera 13 is outputted to an image unit 36. The coordinates of the center of gravity of the front image is computed. An X stepping motor 27 and a Z stepping motor 22 are driven so that said coordinates are aligned with reference coordinates, and a lamp 4 is moved in the X direction and Y direction. A slant angle theta of the axial line of the front image is obtained, and a coil 3 is rotated by a stepping motor 24 by the angle theta. The coordinates of the center of gravity of the side image are computed by an image signal SB indicating the side of the coil 3, which is photographed by an ITV camera 14, and a rotary angle alpha of the coil 3 is obtained. The coil is moved and rotated by a Y stepping motor 29, the Z stepping motor and an alpha stepping motor 31, and the fixed focal point alignment of the coil 3 is completed.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、フィラメントにエリ発光するランプの定焦点
位置合わせを自動的に行う定焦点合わせ方法及びその装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a method and apparatus for automatically adjusting the focal point of a lamp that emits light onto a filament.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

自動車用小型ハロゲン電球の組立工程において、第1図
に示すLうな7ランジ(1)とランプペース(2)のは
んだ付は工程がある。この工程では、7ランジ(1)と
ランプペース(2)をはんだ付けする際に、7ランジ(
1)の基準面に対し、軸線tVする螺旋状コイル(3)
の位置決め(傾き、上下−左右)t−行う必要がある。
In the assembly process of small halogen light bulbs for automobiles, there is a step in soldering the L-shaped 7-lunge (1) and the lamp base (2) shown in FIG. In this process, when soldering the 7 lunge (1) and the ramp paste (2), the 7 lunge (
Helical coil (3) with axis tV relative to the reference plane of 1)
It is necessary to perform positioning (tilt, up and down - left and right).

そこで、従来においては第2図に示す工うに、自己点燈
させたランプ(4)ヲはさんで左右両側にレンズ(5)
 、 (5) ’e介してフォトセル(6) 、 (6
) =Th配置し、増幅器(7) 、 (力を介して差
動増幅器(8) K入力した両者の検出信号の差がゼロ
になるように電流計(9)ヲ見ながら、固定されたフラ
ンジ(1) K対してランプペース(2)を微動するこ
とに工り定焦点合わせを手動に工り行っていた。しかる
に、このような方法は、コイル(3)を7オトセル(6
) 、 (6)に、工す受光された平均光量にエフ間接
的に位置認識するもので、コイル(3)そのものの直接
的位置g繊によるものでない、したがって、位置決め精
度が悪く、自動化が困難である。
Therefore, in the past, as shown in Figure 2, a self-lit lamp (4) was sandwiched between lenses (5) on both the left and right sides.
, (5) 'e through the photocell (6) , (6
)=Th, and the amplifier (7), (differential amplifier (8) via the force). (1) Fixed focusing was manually performed by slightly moving the lamp pace (2) with respect to K. However, in this method, the coil (3) was
), In (6), the position is recognized indirectly based on the average amount of light received, and is not based on the direct position of the coil (3) itself. Therefore, the positioning accuracy is poor and automation is difficult. It is.

〔発明の目的〕[Purpose of the invention]

本発明は、上記事情を参酌してなされtもので、フィラ
メントにエリ発光するランプの定焦点位置合わせを人手
を介することなく自動的かつ能率的に行うことのできる
定焦点合わせ方法及びその装置を提供するにある。
The present invention has been made in consideration of the above-mentioned circumstances, and provides a fixed focus adjustment method and apparatus for automatically and efficiently adjusting the fixed focus position of a lamp that emits light onto a filament without human intervention. It is on offer.

〔発明の概要〕[Summary of the invention]

ランプのフィラメント、2ITV力メラVcニジ正面及
び側面から撮像したのち、その映像信号′t2値化し、
2値化された画像データに基づいて各面から見たコイル
の重心位置及び傾、含量を算出し、これら演算結果に基
づいて位置決め駆動部に工り定焦点合わせを行う工うに
したものである。
After imaging the lamp filament and the 2ITV power camera Vc from the front and side, the video signal is converted into a binary value.
The center of gravity position, inclination, and content of the coil as seen from each side are calculated based on the binarized image data, and the positioning drive unit is designed to perform fixed focusing based on these calculation results. .

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図面を参照して実施例に基づいて詳述す
る。なお、以下の説明において背景技術の説明に用いた
部分と同一部分には同一記号を符しである。
Hereinafter, the present invention will be described in detail based on embodiments with reference to the drawings. In the following description, the same parts as those used in the description of the background art are given the same symbols.

第3図は、本実施例の定焦点合わせ装置の全体構成?示
している。この定焦点合わせ装置は、コイル(3)の正
面及び側面を撮像する撮像部翰、この撮像部αQから出
力された画像信号を2値化し、2値化され友データに基
づいて各種の演算処理を行う演算制御部Qυ、この演算
制御部〔υからの制御信号にエフランプベース(2)の
定焦点位置決めを行う位置決め駆動部(1り、フランジ
(1)を定位置に固定するフランジ保持部(図示せず)
及びA7ランジ保持(3)に通電する通電部(図示せず
)からなっている。
FIG. 3 shows the overall configuration of the fixed focusing device of this embodiment. It shows. This fixed focusing device binarizes the image signal output from the imaging unit αQ that images the front and side faces of the coil (3), and performs various arithmetic processing based on the binarized data. A calculation control unit Qυ that performs (not shown)
and an energizing section (not shown) that energizes the A7 lunge retainer (3).

上記撮像部Qlは、第1のITVカメラ崗、第2のIT
VカメラI及びこれらに各別に接続されたカメラコント
ローラa鴎、αeから構成されている。上記第1のIT
Vカメラ(2)は、上記フランジ保持部に保持された7
ランジ(1)に挿入されたランプ(4)のコイル(3)
の正面t−撮像する位置に配設されている。
The imaging unit Ql includes a first ITV camera, a second IT
It consists of a V camera I and camera controllers a and αe connected to these separately. The above first IT
The V camera (2) is held by the flange holding part.
Coil (3) of lamp (4) inserted into lunge (1)
It is arranged at the front t-image capturing position.

一方、第2のITVカメラα4は、同じくランプ(4)
のコイル(3)の側面を撮像する位置に配設されている
。し友がって、第1.第2のITVカメラ(1罎。
On the other hand, the second ITV camera α4 also has a lamp (4).
It is arranged at a position to image the side surface of the coil (3). Be friends, number 1. Second ITV camera (1 bottle).

Iは、互に直交する方向に設置される。第4図は、上記
位置決め駆動部0の構成を示している。なお、この図に
示す工うに、フランジ(1)は、上記7ランプ保持部に
ランプ(4)管下向きに挿入する工うに固定されている
。このとき、第1図に示すフランジ(1)O突片(17
) 、 (I’l) 、 (17)ノ上面を含む面が「
基準面」となっている。このフランジ(1)に挿入され
るランプヘ−x (2)は、その電極部(2a)、(2
b)tチャックα樽に19保持される。このチャック(
IIは、本本ill及びこの本体〔匈に一方が位置調節
自在に突設され電極部(2a) 、(2b) Vi−固
定する一対の挟持片(至)、CAからなっていて、前記
通電部から、これら挾持片翰、翰ヲ介してコイル(3)
に通電する工うになっている。このチャック賭け、Zテ
ーブル(ロ)に固足されている。このZテーブル(2)
は、2ステツピングモータ@にエフ第4図Z方向(前記
「基準面」に直交する方向)に進退自在に、Zテーブル
支持体に)にエリ支持されている。さらに、Zテーブル
支持体−は、θステッピングモータ(ハ)の回転軸に固
足されている。このθステッピングモータ(財)の回転
軸線(ハ)は、前記Z方向と直角な第4図Y方向(定焦
点位置合わぜされたコイル(3)の軸線方向に直角な方
向)と平行になるように設定されている。したがって、
Zテーブル(ハ)は、軸線(2)の1わりに回動自在(
第4図θ方回)となっている。
I are placed in mutually orthogonal directions. FIG. 4 shows the configuration of the positioning drive section 0. As shown in FIG. In addition, as shown in this figure, the flange (1) is fixed to the lamp (4) tube which is inserted downward into the seven lamp holding parts. At this time, the flange (1) O projection piece (17
) , (I'l) , (17) The surface including the top surface is "
"Reference surface". The lamp head (2) inserted into this flange (1) has its electrode parts (2a), (2
b) 19 is held in the t chuck α barrel. This chuck (
II consists of a main body and a pair of clamping pieces (CA), one of which protrudes from the main body so that the position can be adjusted freely, and fixes the electrode parts (2a) and (2b), and CA. From these clamping pieces, coils (3) are passed through the wires.
It is supposed to be energized. This chuck bet is fixed on the Z table (b). This Z table (2)
is supported on the Z table support by two stepping motors so that it can move forward and backward in the Z direction (direction perpendicular to the reference plane) in FIG. 4. Furthermore, the Z table support is fixed to the rotating shaft of the θ stepping motor (c). The rotational axis (c) of this θ stepping motor (c) is parallel to the Y direction in FIG. It is set as follows. therefore,
The Z table (c) is rotatable about one axis (2) (
(Fig. 4).

上記Zテーブル支持体@の下端部、は、Xテーブル@V
C固定されている。このXテーブルに)は、バス。
The lower end of the above Z table support @ is the X table @V
C is fixed. This X table) is a bus.

チッピング〃モータ@にエリ第4図X方向(Y方向に直
角な方向)に進退自在にYテーブル(ハ)に支持されて
いる。このYテーブルに)は、Yステッピングモータ@
に工pY方向に進退自在にYテーブル支持体に)に支持
されている。このYテーブル支持体員は、αステッピン
グモータ(ロ)にニジ第4図α方向に回動自在なαテー
ブル(至)上に固定されている。このαテーブル(2)
の回転軸の軸線(至)は、第4図Z方向と平行になる工
うに設定されている。
The chipping motor is supported by a Y table (c) so as to be able to move forward and backward in the X direction (direction perpendicular to the Y direction) in FIG. 4. This Y table) is a Y stepping motor @
It is supported by the Y table support body so that it can move forward and backward in the Y direction. This Y table support member is fixed on an α table (to) which is rotatable in the α direction in FIG. 4 by an α stepping motor (b). This α table (2)
The axis of the rotating shaft is set to be parallel to the Z direction in FIG. 4.

上記位置決め駆動部a4t−構成するx、y、z、θう
αステッピングモータ@、翰、@、(ハ)、al)は、
各別にドライバインターフェイス■に接続されている。
The above positioning drive unit a4t-constituting x, y, z, θ, α stepping motor @, 翰, @, (c), al) are as follows:
■Each is connected to the driver interface separately.

一方、Ml 、第2のITVカメラQ3.Q4)!’j
:、切換スイッチe!je介して、映像信号を2値化し
、各画素に対応し友所定番地に論理「1」かrOJかの
データを記憶する機能TheするI画像ユニットに)に
接続されている。これらドライバインターフェイス■及
ヒ画像ユニットに)は、システムバス@を介L テCP
 U (Central Processing Un
口;中央処理装置1t)c4VC接続されている。この
CPU輪には、定焦点位置合わせのために演算制御部プ
ログラムが格絡されfcROM (Read 0nly
 Memory)翰及び各種可変データが格納され7p
 ELA M (Ran−dom Access Me
mory ) %が、システムバス@を介して接続され
ている。また、システムバス(ロ)には、切換スイッチ
(至)への切換制御信号を出力する制御インターフェイ
ス(ロ)が接続されている。しかしてドライバインター
フェイス(財)、切換スイッチ(至)。
Meanwhile, Ml, the second ITV camera Q3. Q4)! 'j
:, selector switch e! It is connected to the image unit (the I image unit) which has the function of binarizing the video signal and storing data of logic "1" or rOJ in a fixed location corresponding to each pixel. These driver interfaces (to the image unit) are connected via the system bus@LTECP
U (Central Processing Un)
口; Central processing unit 1t) c4VC connected. This CPU wheel contains an arithmetic control program for fixed focus positioning, and an fcROM (Read Only
Memory) 7p where the wire and various variable data are stored.
ELA M (Ran-dom Access Me
% are connected via the system bus @. Further, a control interface (b) that outputs a switching control signal to the changeover switch (to) is connected to the system bus (b). However, there is a driver interface (goods) and a changeover switch (to).

画像ユニットc4.システムバス@、CPU(至)、R
OJl、RAMに)、制御インターフェイス(ロ)は、
たとえばマイクロコンビーータなどの演算制御部01)
全構成している。なお、図示せぬが、画像ユニ・1ツト
(至)における2値化画像は、モニタTVVCニジ映像
表示される工うになっている。
Image unit c4. System bus @, CPU (to), R
OJl, RAM), control interface (b),
For example, arithmetic control unit 01) such as a microconbeater
It is fully configured. Although not shown, the binarized image in the image unit 1 is displayed on the TVVC monitor.

つぎに、上記定焦点合わせ装置の作動の説明とと%に、
本実施例の定焦点合わせ方法について説明する。
Next, an explanation of the operation of the above-mentioned fixed focusing device and %,
The fixed focusing method of this embodiment will be explained.

まず、フランジ(1)會フランジ保持部の所定位置に固
定する。つぎに、ランプ(4)のランプベース(2)全
フランジ(1)に挿通させ、挿通してフランジの他端部
から突出したチャック賭の挾持片(至)、12Ivr:
、工υ把持する。このときコイル(3)の軸線とθステ
ッピングモータ(ハ)の回転軸に)とが互VC直角にな
るように設定する。しかして、通電部から挾持片c!I
First, the flange (1) is fixed at a predetermined position on the flange holding section. Next, insert the lamp base (2) of the lamp (4) into the entire flange (1), and insert the clamping piece (to) of the chuck that protrudes from the other end of the flange, 12Ivr:
, grip the engineering υ. At this time, the axis of the coil (3) and the rotation axis of the θ stepping motor (c) are set to be perpendicular to VC. However, the clamping piece c! I
.

(至)、電極部(2a)、(2b)全弁して、コイル(
3)に通電し、自己点燈させる。さらに、第1のITV
カメラQ3’Th軸線方向が回転軸線(ハ)と直角にな
っているコイル(3)の正面を撮像できる位置(コイル
(3)の軸線に直交する方向から撮像)に設置するとと
%に、一方の第2のITVカメラα4)t−上記コイル
(3)の側面を撮像できる位fill(コイル(3)の
軸線方向)に設置する。このときあらかじめ上述し友と
同一条件で第1のITvカメラ(i3Vczり撮像され
た足焦点位置にあるコイル(3)の正面画像における重
心石1の基準座標(X10.ZF。)として演算制御部
a1)のRAMに)に記憶させる。筐た、第2のITV
カメラQ4)にエフ撮像された足焦点位置にあるコイル
(3)の側面画f#における重心全第2の基準座標(Y
BO,Zllo )として演算制御部IのRAM−に記
憶させる。つぎに、画像処理に移るが、まず、CPU(
至)からの指示で制御インターフェイス(2)から切換
信号SAが切換スイッチ(至)に出力され、第1のIT
Vカメラa騰にエフ撮像された正面画像(6)(第5図
参照)が、カメラコントローラQ!9’!r介して映像
信号8Bとして画像ユニット(至)に出力される。
(to), electrode parts (2a), (2b) are fully valved, and the coil (
3) energizes and lights up by itself. Furthermore, the first ITV
If the camera Q3'Th is installed at a position where it can image the front of the coil (3) whose axis direction is perpendicular to the rotation axis (c) (imaging from the direction perpendicular to the axis of the coil (3)), The second ITV camera α4) t- is installed at the fill (in the axial direction of the coil (3)) so as to be able to image the side surface of the coil (3). At this time, the arithmetic control unit uses the first ITv camera (i3Vcz) under the same conditions as the above-mentioned friend as the reference coordinates (X10.ZF.) of the center of gravity stone 1 in the front image of the coil (3) located at the imaged foot focal position. a1) in the RAM). Keita, second ITV
The center of gravity in the side image f# of the coil (3) located at the foot focal position captured by the camera Q4) All second reference coordinates (Y
BO, Zllo) in the RAM- of the arithmetic control unit I. Next, we move on to image processing, but first, the CPU (
The switching signal SA is output from the control interface (2) to the changeover switch (to) in response to an instruction from the first IT
The frontal image (6) (see Figure 5) captured by the V camera a is captured by the camera controller Q! 9'! It is output to the image unit (to) as a video signal 8B via r.

この画像ユニット(至)にては、映像信号5Bf2値1
士 化恋換し友のち、各画素ごとに設けられた所定番地に論
理「1」又は論理「0」が格納される。この画像ユニッ
ト(至)の格納データに基づいてCPU(至)にては、
正面画像□□□の重心座標(X、Zア)が算出され、几
AM(至)にいったん格納される。つぎに、CPU(ハ
)にては、座標(x、z、)が前記第1の基準座標(X
、。、ZFO)と一致するように、Xステッピングモー
タに)及びZステッピングモータ@に駆動信号8C,8
D=i出力して第4図X方向及びZ方向にランプ(41
1に移動させる(第7図ブロック−)。しかして、第5
図の画像エリア−内にて第1の基準座標(X70. ”
PG)と重心座標(X、 Z、)とが一致すると、画像
エリア■内にて正面画像四を囲繞する外枠に)全設定す
る(ブロックに))。しかして、外枠に)にて再度重心
座標<X;、Z−>*求め、この重心座標()(1,Z
l、 )が第1の基準座標(XyO。
In this image unit (to), the video signal 5Bf2 value 1
After exchanging love, a logic "1" or a logic "0" is stored in a predetermined location provided for each pixel. Based on the data stored in this image unit (to), the CPU (to)
The center of gravity coordinates (X, ZA) of the front image □□□ are calculated and temporarily stored in 几AM (to). Next, in the CPU (c), the coordinates (x, z,) are the first reference coordinates (X
,. , ZFO) to the X stepper motor) and Z stepper motor @ to match the drive signal 8C, 8
Output D=i and ramp (41) in the X and Z directions in Figure 4.
1 (block - in Figure 7). However, the fifth
The first reference coordinate (X70.”
When the center of gravity coordinates (X, Z, Then, the barycenter coordinates <X;, Z->* are determined again at
l, ) is the first reference coordinate (XyO.

Z、。LIC一致するように、前と同様にして、ランプ
(4)?移動させる(ブロックθ″7))。この操作は
、外枠に)外周領域による外乱を除去するために行うも
のである。つぎに、画像エリア(ロ)内にてコイル(3
)の正面画像O埠に外接する内枠(財)を求める(ブロ
ック■)。つぎに、正面画像に)の両端部分の輝度のム
ラ及び発光ムラを除外するために、次式■に工り縦線L
−X4に求める(ブロックII)。
Z. Lamp (4) as before to match the LIC? (block θ''7)). This operation is performed to remove the disturbance caused by the outer peripheral area (to the outer frame).Next, move the coil (3) in the image area (b).
) Find the inner frame (goods) circumscribing the front image O-bu (block ■). Next, in order to eliminate unevenness in brightness and unevenness in light emission at both ends of () in the front image, create a vertical line
−X4 (block II).

ただし、X、、X、は、それぞれ内枠(財)の左右両端
のX座標値である。しかして、縦線X、と縦線X4との
間の正面画像に)のデータからR,OM 0Ivc格納
された最小2乗法サブルーチンにエリ正面画像(6)の
軸線を示す直線式 Z=aX+b  k求める(ブロッ
ク(51)) 、つぎに、求めた直線式と各縦線X8・
X4との父点座標(Xm 、”a ) 、(X1gZ4
)全算出し、正面画像(ロ)の軸線の傾斜角θ(第5図
参照)を次式QvC工夛求め演算制御信号SEをθステ
ッピングモータ(ハ)に出力して、コイル(3)t−角
度θだけ回転さぜる(ブロック(52))・ その結果、コイル(3)の正面画像に)の軸線は、画像
エリア■のX方向に平行となる。つぎに、CPU(至)
からの指示で、制御インターフェイスθηから切換信号
8A’i切換スイツチ(ハ)に出力し、第2の工TVカ
メラ(14)Kエフ撮像されたコイル(3)の側面を示
す映像信号8B°iカメラコントローラα(9を介して
画像ユニットに)に出力させる(ブロック(53)。
However, X, , X, are the X coordinate values of both the left and right ends of the inner frame (goods), respectively. Therefore, from the data of the front image (between the vertical line X and the vertical line Find (block (51)) Next, calculate the obtained linear equation and each vertical line
Father point coordinates with X4 (Xm,"a), (X1gZ4
), the inclination angle θ of the axis of the front image (b) (see Figure 5) is calculated using the following formula QvC, and the calculation control signal SE is output to the θ stepping motor (c), and the coil (3) t - The axis of the block (52) (resulting in the front image of the coil (3)) is parallel to the X direction of the image area (2). Next, CPU (to)
According to instructions from the control interface θη, a switching signal 8A'i is output to the switch (c), and a video signal 8B°i showing the side of the coil (3) imaged by the second factory TV camera (14) is outputted from the control interface θη. output to the camera controller α (to the image unit via 9) (block (53)).

映像信号SBIを入力した画像ユニット(至)にては、
−6X・。
In the image unit (to) that inputs the video signal SBI,
-6X・.

映像信号SB’、ll’2値化変換され、各画素ごとに
設けられた所定番地に論理「1」又は論理「0」が格納
される。この画像ユニット(至)の格納データに基づい
てCPU(至)にては、第6図に示す側面画像(54)
、(54) (左右対称的に2個表示される。)の重心
座標(Y、Zs)  が算出され、RAMに)にいっ友
ん格納される。つぎに、CPU(至)にては、重心座標
(y、 第8)が前記、8g20基準座標(Yso。
The video signals SB' and ll' are converted into binary values, and a logic "1" or logic "0" is stored in a predetermined location provided for each pixel. Based on the data stored in this image unit (to), the CPU (to) generates a side image (54) shown in FIG.
, (54) The barycentric coordinates (Y, Zs) of (two symmetrically displayed) are calculated and stored in the RAM. Next, in the CPU (to), the center of gravity coordinate (y, 8th) is the 8g20 reference coordinate (Yso).

Z110’)と一致するように、Yステッピングモータ
翰及びZステッピングモータ@に駆動信号SF。
Drive signal SF to Y stepping motor 1 and Z stepping motor 2 so as to match Z110').

SDを出力して第4図Y方向及びZ方向にランプ(4)
を移動させる(ブロック輪)。しかして、jig6図の
画像エリア(55)内にて第2の基準座標(Yso。
Output SD and ramp in the Y and Z directions in Figure 4 (4)
(block ring). Therefore, the second reference coordinates (Yso.

2、。)と重心座標(Y8. Z、 )とが一致すると
、画像エリア(55)内にて側面画像(54) = (
54)k囲繞する外枠(56)t−設定する(ブロック
に))。しかして、外枠(56)K テ再度重心座標(
Y′a、 Zl 、 )?求め、この重心座標< Yl
 a、 Zl 、 )が第2の基準座標(Yso、 ”
go )に一致するように、前と同様にして、ランプ(
4)t″移動せる(ブロック67))。
2. ) and the center of gravity coordinates (Y8.Z, ) match, the side image (54) = (
54) k enclosing outer frame (56) t - set (to block)). Therefore, the outer frame (56) K Te again has the center of gravity coordinates (
Y'a, Zl, )? Find this centroid coordinate < Yl
a, Zl, ) are the second reference coordinates (Yso, ”
go ), do the same as before to match the ramp (
4) Move t'' (block 67)).

つぎに、画像エリア(55)内にて側面画像(54)。Next, a side image (54) within the image area (55).

(54)VC外接する内枠(57)t−求める(ブロッ
クに))。
(54) Inner frame circumscribing VC (57) t-find (in block)).

つぎに内枠(57)の横線に平行な軸線Z、1F!:仄
式■にエフ求める(ブロック(58))。
Next, the axis Z parallel to the horizontal line of the inner frame (57), 1F! : Find F using the formula ■ (block (58)).

ここでZ6及び2.は、それぞれ内枠(57)の上横線
及び下横線のZ軸座標値を示している。しかして、上記
軸線Z、と側面画像(54)の外周縁との交点座標(Y
s 、z、)−(Ya −Z? )−(Ya −Zy 
) 、 (Ys  、z、 )t−求メ、軸線” y 
上1c オける側面画像(54) 、 (54)の左右
の幅W1.W、を次式〇に工り求める(ブロック(59
) )。
Here Z6 and 2. indicate the Z-axis coordinate values of the upper horizontal line and lower horizontal line of the inner frame (57), respectively. Therefore, the intersection coordinate (Y
s, z, )-(Ya-Z?)-(Ya-Zy
), (Ys, z, )t-finding, axis y
Upper 1c side image (54), left and right width W1 of (54). W, is calculated by the following formula 〇 (block (59
) ).

しかして、αステッピングモータ6つにLるコイル(3
)の回転角αf:次式■、■に工り求める(ブロック(
60))。
Therefore, L coils (3
) rotation angle αf: Calculate the following formulas ■ and ■ (block (
60)).

α=にα・      ・・・・・・■ここで、Kは、
定数であらかじめ実験的に求めておく。なお、回転方向
は、左右の側面画像(54)。
α=to α・・・・・・・■Here, K is
Determine the constant value experimentally in advance. Note that the rotation direction is the left and right side images (54).

(54)の幅W1 、W、が等しくなる方向嗟である。This is the direction in which the widths W1 and W of (54) are equal.

したがって、両者の差を求めその正負に基づいて回転方
向全決定する。しかして、駆動信号SGiαステッピ/
グモータ6めに出力し、角度αだけ回転させる(ブロッ
ク(61))と、コイル(3) ノ足焦点合わせは完了
するが、αステッピングモータ11)VCよるコイル(
3)の回転の際に、コイル(3)の正面側の位置合わせ
かわずかにくろうので、高精度の定焦点合わぜが要求さ
れる場合は、再度、正面画像に)に関してブロック輪か
らブロック(52) ’fでの操作を繰返す(ブロック
(62))。しかして、最終的に定焦点合わぜが完了す
ると、ランプベース(2)?7ランジ(1)VCはんだ
付は固足する。
Therefore, the difference between the two is determined and the direction of rotation is completely determined based on whether the difference is positive or negative. Therefore, the drive signal SGiα step/
When the output is output to the stepping motor 6 and rotated by the angle α (block (61)), the focusing of the coil (3) is completed, but the coil (
When rotating the coil (3), the front side of the coil (3) may be slightly misaligned, so if high-precision constant focusing is required, change the position from the block ring to the block (on the front image again). 52) 'Repeat the operation at f (block (62)). However, when the fixed focusing is finally completed, the lamp base (2)? 7 lunge (1) VC soldering is solid.

この工うに本冥施例の位置合わせ方法及びその位置合わ
せ装置は、7ランプ保持部に保持されたランプ(4)の
螺旋状コイル(3)の軸線方間と軸線に直交する方向か
らITVカメラa’a 、 a3)にエフ自己点燈した
コイル(3)ヲ直接撮像し、これら異なる方向からの画
glに基づいて、位置決め駆動11Qaにて位置決めを
行う工うにしたので、位置決めを迅速かつ高精度で自動
的に求めることができる。
The positioning method and the positioning device according to this embodiment of the present invention are as follows: Since the coil (3), which is self-lit (a'a, a3), is directly imaged and the positioning drive 11Qa is used to perform positioning based on the images gl from these different directions, positioning can be performed quickly and with high precision. It can be automatically determined with precision.

なお、上記実施例においては、正面画像に)の重心座標
を画像エリア(財)内及び外枠に)内の2回にわたって
求めているが、位置決め精度に問題がなければ、外枠(
ハ)内での重心座標ケ求める操作は省略してtLい、同
様に、最小2乗法にLる直線式Z= a X + b 
2求める際の縦線X、、X4vcxる切出し処理も省略
することができる。さらに、正面画像に)の軸線の傾斜
角θを直線式Z = a X + bの係数aを利用し
て、θ−tan  aにJ:り求めても工い。さらに、
第7図に示す定焦点合わせの手順に工らず、最初に側面
画像処理を行ってもよい。さらに、他の実施例として、
コイル(3)の軸線に対して直交する真下(ランプ(4
)の光軸方向)及び真横に示す矩形状のみとなるので、
第6図における工うな面倒な演算操作が不要となり、回
転角αを直接に求めることができる利点tVする。
In the above embodiment, the center of gravity coordinates of the front image (in the front image) are determined twice, once within the image area (goods) and once within the outer frame (), but if there is no problem with positioning accuracy, the coordinates of the center of gravity of the front image
The operation of determining the coordinates of the center of gravity in (c) is omitted.Similarly, the linear equation Z= a
The process of cutting out the vertical lines X, , X4vcx when calculating 2 can also be omitted. Furthermore, it is also possible to calculate the inclination angle θ of the axis of the front image to θ−tan a using the coefficient a of the linear equation Z = a X + b. moreover,
Side image processing may be performed first instead of using the fixed focusing procedure shown in FIG. 7. Furthermore, as another example,
Directly below the axis of the coil (3) (lamp (4)
) optical axis direction) and the rectangular shape shown directly to the side.
The advantage tV is that the complicated arithmetic operations shown in FIG. 6 are no longer necessary, and the rotation angle α can be directly determined.

〔発明の効果〕〔Effect of the invention〕

本発明の定焦点合わせ方法及びその装置は、ランプの螺
旋状の点燈状態のコイルを互に直交する方向から撮像し
、撮像された画像に基づいて足焦点合わぜされたコイル
からの位置ずれt足置的に求めて迅速かつ高精度で定焦
点合わせするもので、従来人手に依存していた定焦点合
わせ作業の自動化’i*現することができ、作業員の負
担ケ大幅に軽減することができるとともに、生産能率が
同上する。
The fixed focusing method and device of the present invention capture images of a spiral coil of a lamp in a lit state from mutually orthogonal directions, and detect positional deviations from the focused coil based on the captured images. It is a device that quickly and accurately adjusts a fixed focus based on the position of the foot, making it possible to automate the fixed focusing work that previously relied on manual labor, greatly reducing the burden on workers. In addition to this, production efficiency also increases.

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

第1図はフランジに装着されたランプを示す図、第2図
は従来の定焦点合わせ方法を示す図、第3図は本発明の
一実施例の定焦点合わせ装置の電気回路系統図、第4図
は第3図の定焦点合わせ装置の位置決め駆動部の構成図
、第5図及び第6図はそれぞれ本発明の一実施例の足焦
点合わぜ装置の撮像部に工p撮像された正面画像及び側
面画像を示す図、第7図は本発明の一実施例の足焦点合
わせ方法を示すフローチャートである。 (1) : 7 ランク、(3) : ”イル、uI:
撮像部、(11):演算制御部、Qり:位置決め駆動部
、αり:第1のITvカメラ、(14) : gg 2
 (7) I T V カメラ。 代理人 弁理士 則 近 憲 佑(ほか1名)員 亨2図    $1図 13図 ¥テ図
FIG. 1 is a diagram showing a lamp attached to a flange, FIG. 2 is a diagram showing a conventional focusing method, and FIG. 3 is an electric circuit diagram of a focusing device according to an embodiment of the present invention. FIG. 4 is a block diagram of the positioning drive section of the fixed focusing device shown in FIG. FIG. 7 is a flowchart showing a foot focusing method according to an embodiment of the present invention. (1): 7 rank, (3): “Il, uI:
Imaging unit, (11): Arithmetic control unit, Qri: Positioning drive unit, αri: First ITv camera, (14): gg 2
(7) ITV camera. Agent Patent attorney Noriyuki Chika (and 1 other person) 2 figures $1 figure 13 figure ¥te figure

Claims (8)

【特許請求の範囲】[Claims] (1)螺線状のコイルを有するランプをフランジに装着
するとともに定焦点位置決めする足焦点合わせ方法にお
いて、上記フランジ?一定位置に保持する方法と、上記
ランプを把持して上記−足位置に保持され几フランジに
挿入する方法と、上記7ランジに挿入されたランプを点
燈させる方法と、上記点燈したランプのコイルを撮像し
て2値化し2値化画像に基づいて定焦点位置からの上記
コイルの位置ずれ量會求める方法と、上記位置ずれ量に
基づいて上記点燈し九ランプのコイルの定焦点位置合わ
せを行う方法とを具備することを特徴とする足焦点合わ
せ方法。
(1) In a foot focusing method in which a lamp having a spiral coil is attached to a flange and a fixed focal point is determined, the above-mentioned flange? a method of holding the lamp in a fixed position, a method of holding the lamp in the above-mentioned -leg position and inserting it into the flange, a method of lighting the lamp inserted in the seven lunges, and a method of lighting the lamp inserted in the seven lunges. A method for capturing an image of a coil, converting it into a binary image, and determining the amount of positional deviation of the coil from the fixed focus position based on the binary image, and determining the fixed focus position of the coil of the nine lighting lamps based on the amount of positional deviation. A foot focusing method comprising:
(2)ランプのコイルを互に直交する2万回から撮像す
ることを特徴とする特許請求の範囲第1項記載の定焦点
合わせ方法。
(2) The fixed focusing method according to claim 1, characterized in that the coil of the lamp is imaged 20,000 times orthogonally to each other.
(3)一方の撮像方向はコイルの軸線方向及び他方の撮
像方向は上記コイルの軸線に垂直かつランプの元軸に垂
直な方向であることを特徴とする特許請求の範囲第2項
記載の定焦点合わせ方法。
(3) One imaging direction is the axial direction of the coil, and the other imaging direction is perpendicular to the axial line of the coil and perpendicular to the base axis of the lamp. How to focus.
(4)位置ずれ量は2値化画像の重心位置に19求める
こと全特徴とする特許請求の範囲第1項記載の定焦点合
わせ方法。
(4) The fixed focusing method according to claim 1, characterized in that the amount of positional shift is determined at the center of gravity of the binarized image.
(5)位置ずれ量は2値化画像の軸線の傾斜角vc工り
求めることを特徴とする特許請求の範囲第1項記載の定
焦点合わせ方法。
(5) The fixed focusing method according to claim 1, wherein the amount of positional shift is determined by calculating the inclination angle vc of the axis of the binarized image.
(6)軸線の傾斜角は最小2乗法に工す求めることを特
徴とする特許請求の範囲第1項記載の足焦点合わせ方法
(6) The foot focusing method according to claim 1, wherein the inclination angle of the axis is determined using the least squares method.
(7)螺線状のコイルを有するランプをフランジに装着
するとと4VC定焦点位置決めする足焦点合わせ装置に
おいて、上記フランジを一足位置に固定する7ランプ保
持部と、上記ランプを把持するチャック1kVし上記ラ
ンプを任意位’@vc移動自在に支持する位置決め駆動
部と、上記ランプのコイルに通電させて点燈さぜる通電
部と、上記点燈したコイルを撮像する撮像部と、この撮
像部から出力され几映偉信号を各画素ごとに2値化して
記憶しこれら記憶され友画偉データに基づいて上記点燈
したコイルの定焦点位置決らの位置ずれ全演算し上記位
置決め駆動部に上記位置ずれを修正する駆動信号を出力
する演算制御部とを具備することを特徴とする定焦点合
わせ製筒。
(7) A leg focusing device that positions a 4VC fixed focal point when a lamp with a spiral coil is attached to a flange includes a 7-lamp holding part that fixes the flange at one leg position, and a 1kV chuck that holds the lamp. a positioning drive unit that supports the lamp in a freely movable position; an energizing unit that energizes the coil of the lamp to turn it on; an imaging unit that takes an image of the lit coil; The output signals are binarized and stored for each pixel, and based on these stored data, the positional deviation of the fixed focus position of the illuminated coil is calculated and sent to the positioning drive section. 1. A fixed focus adjustment barrel, comprising: a calculation control unit that outputs a drive signal for correcting positional deviation.
(8)撮像部はITVカメラであること1−*徴とする
特許請求の範囲第7項記載の定焦点合わ一+!″装置。
(8) The imaging unit is an ITV camera.1-*Fixed focusing according to claim 7, wherein the feature is 1-*! "Device.
JP7832482A 1982-05-12 1982-05-12 Method and device for aligning fixed focal point Granted JPS58196405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7832482A JPS58196405A (en) 1982-05-12 1982-05-12 Method and device for aligning fixed focal point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7832482A JPS58196405A (en) 1982-05-12 1982-05-12 Method and device for aligning fixed focal point

Publications (2)

Publication Number Publication Date
JPS58196405A true JPS58196405A (en) 1983-11-15
JPH0541923B2 JPH0541923B2 (en) 1993-06-25

Family

ID=13658775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7832482A Granted JPS58196405A (en) 1982-05-12 1982-05-12 Method and device for aligning fixed focal point

Country Status (1)

Country Link
JP (1) JPS58196405A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0291938U (en) * 1988-12-28 1990-07-20

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0291938U (en) * 1988-12-28 1990-07-20

Also Published As

Publication number Publication date
JPH0541923B2 (en) 1993-06-25

Similar Documents

Publication Publication Date Title
CN213986245U (en) Chip routing three-dimensional detection equipment
JP2005074600A (en) Robot and robot moving method
CN106406020A (en) Auto-focusing test device
EP0480452B1 (en) Wire bonding inspecting method
CN115753024A (en) Automatic centering method for lens MTF test
JPS58196405A (en) Method and device for aligning fixed focal point
JP2000121902A (en) Method and device for adjusting lens system optical axis
CN107026179A (en) The automatic alignment apparatus and method of a kind of imaging sensor part
JPH0675617A (en) Camera view point change system
CN212885797U (en) Ultraviolet mark wafer cutting high accuracy guide positioning device
JP4687853B2 (en) X-ray fluoroscopic equipment
CN113900269A (en) Automatic focusing equipment
JPH0641091B2 (en) Grinding machine
JP2822314B2 (en) Laser processing equipment
JPH11264718A (en) Position grasping method of wafer, and exposing method and exposing device thereof
JP2519442B2 (en) Work line tracking method
JPH08181062A (en) Positioning device and positioning method
JPS6043663B2 (en) automatic position control device
JP2751500B2 (en) Semiconductor pellet mounting equipment
JPS63157779A (en) Laser beam machine equipped with optical type distance sensor
JPS63103932A (en) Method and device for alignment of compound lens
JPS63161637A (en) Recognizer for position of semiconductor wafer
JP2681558B2 (en) Position adjustment method of filament and shade in incandescent lamp
CN116697936A (en) Gantry type fishing rod straightness detection device and method based on machine vision
JP2005351836A (en) Instrument for measuring position of moving body