Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0249016B2 - - Google Patents
[go: Go Back, main page]

JPH0249016B2 - - Google Patents

Info

Publication number
JPH0249016B2
JPH0249016B2 JP58184982A JP18498283A JPH0249016B2 JP H0249016 B2 JPH0249016 B2 JP H0249016B2 JP 58184982 A JP58184982 A JP 58184982A JP 18498283 A JP18498283 A JP 18498283A JP H0249016 B2 JPH0249016 B2 JP H0249016B2
Authority
JP
Japan
Prior art keywords
joint
data
circuit
inspection device
row
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
JP58184982A
Other languages
Japanese (ja)
Other versions
JPS6078306A (en
Inventor
Shuzo Kato
Tsutomu Takahashi
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58184982A priority Critical patent/JPS6078306A/en
Publication of JPS6078306A publication Critical patent/JPS6078306A/en
Publication of JPH0249016B2 publication Critical patent/JPH0249016B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10WGENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
    • H10W72/00Interconnections or connectors in packages
    • H10W72/50Bond wires
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10WGENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
    • H10W72/00Interconnections or connectors in packages
    • H10W72/071Connecting or disconnecting
    • H10W72/075Connecting or disconnecting of bond wires
    • H10W72/07531Techniques
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10WGENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
    • H10W72/00Interconnections or connectors in packages
    • H10W72/071Connecting or disconnecting
    • H10W72/075Connecting or disconnecting of bond wires
    • H10W72/07551Connecting or disconnecting of bond wires characterised by changes in properties of the bond wires during the connecting
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10WGENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
    • H10W72/00Interconnections or connectors in packages
    • H10W72/50Bond wires
    • H10W72/531Shapes of wire connectors
    • H10W72/5363Shapes of wire connectors the connected ends being wedge-shaped
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10WGENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
    • H10W72/00Interconnections or connectors in packages
    • H10W72/50Bond wires
    • H10W72/551Materials of bond wires
    • H10W72/552Materials of bond wires comprising metals or metalloids, e.g. silver
    • H10W72/5524Materials of bond wires comprising metals or metalloids, e.g. silver comprising aluminium [Al]
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10WGENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
    • H10W72/00Interconnections or connectors in packages
    • H10W72/50Bond wires
    • H10W72/59Bond pads specially adapted therefor

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Wire Bonding (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は接合手段により接合した接合部の強度
等を検査する接合部の検査方法および装置に関す
るものであり、特に半導体集積回路の素子間、あ
るいは当該素子とポスト間を、各種のワイヤ・ボ
ンデイング装置を利用して、リード線で接続する
場合における、前記素子と前記リード線、あるい
は前記ポストと前記リード線との接合部の検査に
利用して好適なものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a joint inspection method and apparatus for inspecting the strength, etc. of a joint joined by a joining means. It can be used to inspect the joint between the element and the lead wire, or the post and the lead wire when connecting the element and the post with a lead wire using various wire bonding devices. It is suitable.

〔発明の背景〕[Background of the invention]

基板上に塔載した半導体集積回路素子間、ある
いは当該半導体集積回路素子と前記基板上に形成
したポストとの接続は、アルミニユーム線より成
るリード線を使用し、これを半導体集積回路ある
いはポストに超音波接合を利用して行なうのが広
く利用されている。第1図は基板上に塔載した半
導体素子回路素子とポストを接続した状態を示し
たものであり、1は基板、2は基板1に塔載した
半導体集積回路素子、3はポスト、4は半導体集
積回路素子2とポスト3とを電気的に接続するリ
ード線である。一般に、リード線4としてはアル
ミニユーム線が使用される。このように構成した
ものにおいて、半導体集積回路素子2あるいはポ
スト2とリード線4との接合部5の検査は、リー
ド線4を引張り具6により予め定めた力で引張
り、この状態でリード線4が接続状態を維持する
か否かによつて行なわれる。すなわち、予め定め
た力で引張ることによつて、接合部5の接合が外
れれば不良、接合状態を維持していれば合格とな
るものである。なお、この引張り力の大きさは実
験等によつて決定される。
For connections between semiconductor integrated circuit elements mounted on a substrate, or between the semiconductor integrated circuit elements and posts formed on the substrate, lead wires made of aluminum wire are used, and these are connected to the semiconductor integrated circuit or posts. It is widely used to perform sonic bonding. Figure 1 shows a state in which a semiconductor element circuit element mounted on a substrate is connected to a post, where 1 is a substrate, 2 is a semiconductor integrated circuit element mounted on the substrate 1, 3 is a post, and 4 is a post. This is a lead wire that electrically connects the semiconductor integrated circuit element 2 and the post 3. Generally, an aluminum wire is used as the lead wire 4. In this structure, the joint 5 between the semiconductor integrated circuit element 2 or the post 2 and the lead wire 4 is inspected by pulling the lead wire 4 with a predetermined force using a tensioner 6, and in this state, the lead wire 4 is This is done depending on whether or not the connection status is maintained. That is, by pulling with a predetermined force, if the joint of the joint portion 5 is separated, the test piece is judged as defective, and if the joint state is maintained, the test piece is passed. Note that the magnitude of this tensile force is determined through experiments and the like.

このようにして、接合部5の検査を行なうよう
にしたものは、リード線4に外力を与え、これを
物理的に変化させることによつて、結果的に接合
部に力を加えるものであるため、リード線4の変
形、これによる損傷等、あるいは接合部への悪影
響等があり、最終的に歩留りの低下という結果を
招いていた。
In this way, the joint 5 is inspected by applying an external force to the lead wire 4 and physically changing it, thereby applying force to the joint. As a result, the lead wire 4 may be deformed, this may cause damage, or there may be an adverse effect on the joint, which ultimately results in a decrease in yield.

第2図、第3図は超音波ワイヤ・ボンデイング
装置によるリード線4の接合部の平面図、側面図
である。これらの図に示すように超音波法により
接合を行なうとリード線4は塑性変形を生ずる。
この塑性変形部が、すなわち接合部5である。こ
の接合部5の形状は接合作業ごとに変化する。こ
こで、従来、接合部5の最大変形幅Wと引張り強
さ値とは相関関係を有することが知られている。
また、接合部5の面積と引張り強さ値とが相関関
係を有することが、本発明者等によつて提案され
ている。そこで、従来、接合部5の最大変形幅W
あるいは面積を測定し、これが所定の値を有する
か否かによつて、間接的に接合部5の強度を判定
するようにすれば、非接触でリード線4に全く外
力を加えることなく、接合部5の検査ができるこ
とが考えられる。これによれば前記した従来のも
のの欠点は解消可能である。ところが、第2図、
第3図に示した接合部5は理想的な接合状態を示
したものであり、実際の接合部5は種々の形状を
成す。例えば、第4図に示すように、接合部5が
その中央部で突出部7を有した形状である場合、
最大変形幅Wあるいは面積が所定の値を有してい
たとしても、引張り検査をしてみると、所定の引
張り強度を有せず、接合が外れてしまう。
FIGS. 2 and 3 are a plan view and a side view of the bonded portion of the lead wire 4 by the ultrasonic wire bonding device. As shown in these figures, when joining is performed by the ultrasonic method, the lead wire 4 undergoes plastic deformation.
This plastically deformed portion is the joint portion 5. The shape of this joining portion 5 changes for each joining operation. Here, it is conventionally known that the maximum deformation width W of the joint portion 5 and the tensile strength value have a correlation.
Furthermore, the present inventors have proposed that the area of the joint portion 5 and the tensile strength value have a correlation. Therefore, conventionally, the maximum deformation width W of the joint portion 5
Alternatively, if the area is measured and the strength of the joint 5 is determined indirectly depending on whether or not it has a predetermined value, the joint can be joined without contact and without applying any external force to the lead wire 4. It is conceivable that part 5 can be inspected. According to this, the drawbacks of the conventional ones described above can be overcome. However, in Figure 2,
The joint 5 shown in FIG. 3 shows an ideal joint state, and the actual joint 5 has various shapes. For example, as shown in FIG. 4, when the joint 5 has a shape with a protrusion 7 at its center,
Even if the maximum deformation width W or area has a predetermined value, when a tensile test is carried out, it does not have the predetermined tensile strength and the bond comes off.

〔発明の目的〕 本発明は上記の点に鑑みて成されたものであ
り、その目的とするところは、接合部に外力を作
用させることなく、非接触で当該接合部の検査が
可能であり、しかも検査精度を向上することので
きる接合部の検査装置を得ることにある。
[Object of the Invention] The present invention has been made in view of the above points, and its purpose is to enable non-contact inspection of the joint without applying external force to the joint. The object of the present invention is to provide a joint inspection device that can improve inspection accuracy.

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

本発明者等は接合部の数多くのサンプルを作成
し、それらの各々を引張り試験し、データを収集
した。これによれば、接合部が第2図に示すよう
な形状のものについては、その最大変形幅Wと引
張り強度とは相関関係を有する。しかし、他の特
異な形状、例えば第4図に代表されるような形状
のものにおいては、前記した相関関係が極端に弱
まるか、あるいは全くなくなつてしまうことが明
らかとなつた。このことから、本発明者等は、例
えば第4図のものにおいて、接合部5のうち極端
に突出する突出部7は、その接合力すなわち引張
り強度の向上にはほとんど寄与しないものである
その結論を得た。
The inventors made numerous samples of joints, tensile tested each of them, and collected data. According to this, for a joint having a shape as shown in FIG. 2, there is a correlation between the maximum deformation width W and the tensile strength. However, it has become clear that for other unique shapes, such as the shape represented by FIG. 4, the above-mentioned correlation becomes extremely weak or disappears altogether. From this, the present inventors concluded that, for example, in the one shown in FIG. 4, the extremely protruding protrusion 7 of the joint 5 hardly contributes to improving the joint force, that is, the tensile strength. I got it.

そこで、本発明は上記の目的を達成するため、
撮像手段と処理手段とを備える。撮像手段は接合
部材の接合部分を撮像し撮像面に結像した映像を
複数行に分け、各行を順次 走査し前記映像を電気信号に変換して出力する。
処理手段は前記撮像手段からの映像信号を入力
し、前記各行における前記接合部分の幅のデータ
を他の行の幅データとの関連によりその補正の要
否を判定するとともに当該判定結果に応じて決定
された各幅データに基づいて前記接合部の良否を
判定する。
Therefore, in order to achieve the above object, the present invention
It includes an imaging means and a processing means. The imaging means images the joint portion of the joining member, divides the image formed on the imaging surface into a plurality of lines, sequentially scans each row, converts the image into an electrical signal, and outputs the image.
The processing means inputs the video signal from the imaging means, and determines whether or not correction is necessary for the width data of the joint portion in each row in relation to the width data of other rows, and according to the determination result. The quality of the joint portion is determined based on each determined width data.

接合部分を撮像手段により撮像するに当つて
は、レンズ等の拡大手段を通して行なうようにす
るのが精度の向上等の点で望ましい。なお、拡大
手段は撮像手段と別のものであつてもよく、望ま
しくは拡大手段を備えた撮像手段を使用するのが
装置の構成上有利となる。撮像手段としては、例
えば撮像面に結像された映像を、電子銃より放出
された電子ビームをコイルにより偏向、集束して
映像を電気信号として取り出す撮像管を使用した
テレビジヨン・カメラ、あるいは当該撮像管を固
体撮像管素子に置き換えた、いわゆる固体テレビ
ジヨン・カメラ等が使用可能である。この種のも
のは、撮像面を多数の行に分け、各行を順次走査
することにより映像を電気信号に変換して出力す
る。
When taking an image of the bonded portion using an imaging means, it is desirable to take an image through a magnifying means such as a lens in order to improve accuracy. Note that the enlarging means may be separate from the imaging means, and preferably, it is advantageous in terms of the configuration of the apparatus to use an imaging means equipped with an enlarging means. As an imaging means, for example, a television camera using an image pickup tube that takes out an image as an electrical signal by deflecting and focusing an electron beam emitted from an electron gun using a coil to capture an image formed on an imaging surface, or A so-called solid-state television camera or the like in which the image pickup tube is replaced with a solid-state image pickup tube element can be used. This type of device divides the imaging surface into a large number of rows and sequentially scans each row to convert the image into an electrical signal and output it.

処理手段はその機能上からデジタル処理方式を
採用するのが便利である。そのためには、撮像手
段からの映像情報を2値化するため、2値化手段
を備え、以後はこの2値化手段の出力に基づいて
処理するのがよい。処理に当つては、2値化手段
の出力を直接処理するようにしても良いが、記憶
手段を設け、2値化した映像情報を当該記憶手段
に一時格納し、以後の処理は当該記憶手段の内容
に基づいて行なうのが装置の構成上有利である。
処理手段の特に判定を行なう主要部は、いわゆる
マイクロ・コンピユータがその機能上うまく適合
する。しかし、他の同様な機能を有する演算処理
手段の使用も可能である。判定の処理に当つて
は、前記の映像情報を一時記憶した記憶手段、す
なわち映像記憶手段から前記演算処理手段が順次
その記憶内容を読み出して行なうようにしてもよ
いが、映像記憶手段から判定に必要な情報を作成
する処理データ作成手段を設け、当該手段からの
情報により演算処理手段が判定を実行するように
すれば処理速度を向上できる意味において望まし
い。
It is convenient for the processing means to adopt a digital processing method from the viewpoint of its functionality. To this end, it is preferable to provide a binarizing means to binarize the video information from the imaging means, and to perform subsequent processing based on the output of this binarizing means. In processing, the output of the binarization means may be directly processed, but a storage means is provided, the binarized video information is temporarily stored in the storage means, and subsequent processing is carried out by the storage means. It is advantageous in terms of the configuration of the device to perform the process based on the contents of .
A so-called microcomputer is well suited for the main part of the processing means, especially for making decisions. However, it is also possible to use other arithmetic processing means with similar functionality. In the determination processing, the arithmetic processing means may sequentially read out the stored contents from the storage means that temporarily stores the video information, that is, the video storage means. It is desirable to provide a processing data creation means for creating necessary information, and to have the arithmetic processing means execute the determination based on the information from the means, in the sense that processing speed can be improved.

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

以下、第5図に示す本発明の一実施例について
説明する。この実施例は前記した接合部の面積増
加率により、接合部5の良否検査を行なう場合に
ついて示してある。この面積増加率は一例として
次のように算定することとした。すなわち第6図
において、リード線4の線径をlmini、接合部5
のうち、その幅がリード線4の線径lminiの1.2倍
以上となる部分の長さをlt、その面積、すなわち
図の斜線部の面積をΣlxとした場合、面積増加率
Waは次の式によつて算出する。
An embodiment of the present invention shown in FIG. 5 will be described below. This embodiment shows a case where the quality of the joint 5 is inspected based on the area increase rate of the joint described above. As an example, this area increase rate was calculated as follows. That is, in FIG. 6, the wire diameter of the lead wire 4 is lmini, and the joint part 5 is
If the length of the part whose width is more than 1.2 times the wire diameter lmini of lead wire 4 is lt, and its area, that is, the area of the shaded part in the figure, is Σlx, then the area increase rate is
Wa is calculated using the following formula.

Wa=Σlx−lmini・lt/lmini×lt×100〔%〕……(1) この(1)式において、lmini×ltは長さlt当りのリ
ード線4の面積であり、要するに面積増加率Wa
はリード線4の長さlt部分における接合後の面積
増加の度合を示すものである。長さltを1.2lmini
としたのは、接合部5の特徴がその中央部に集中
するものと前提に基づいたものである。
Wa=Σlx−lmini・lt/lmini×lt×100[%]……(1) In this equation (1), lmini×lt is the area of the lead wire 4 per length lt, and in short, the area increase rate Wa
represents the degree of area increase after bonding in the length lt portion of the lead wire 4. length lt 1.2lmini
This is based on the premise that the characteristics of the joint 5 are concentrated in the center.

第7図は数多くのサンプルの各々につき、接合
部の面積と引張強度を測定した。これらの測定結
果を整理したのが第5図である。サンプルは超音
波接合法により作成したものであり、条件等は次
の通りである。すなわち、使用したワイヤ・ボン
デイング装置は超音波式で、発振最大出力20
〔W〕、米国のオーソダイン・エレクトロニクス
(ORTHODYNE ELECTRONICS)社製、太線
用で、ウエツヂは超硬合金製、みぞありのもので
ある。接合面はアルミニユーム蒸着膜、リード線
にはアルミニユーム99.99〔%〕、太さ300〔um〕、
引張強度350〔g〕のアルミニユーム線を用いた。
第7図において、縦軸は基板1に対し、垂直方向
にリード線4を引張つた場合の引張強度〔g〕を
示し、横軸は面積増加率〔%〕を示す。
FIG. 7 shows the joint area and tensile strength measured for each of a number of samples. Figure 5 summarizes these measurement results. The samples were prepared by ultrasonic bonding, and the conditions were as follows. In other words, the wire bonding device used was an ultrasonic type, with a maximum oscillation output of 20
[W], made by ORTHODYNE ELECTRONICS in the United States, is for thick wire, and the wedge is made of cemented carbide and has grooves. The bonding surface is aluminum vapor-deposited film, the lead wire is aluminum 99.99 [%], thickness 300 [um],
An aluminum wire with a tensile strength of 350 [g] was used.
In FIG. 7, the vertical axis shows the tensile strength [g] when the lead wire 4 is pulled perpendicularly to the substrate 1, and the horizontal axis shows the area increase rate [%].

測定結果を整理した第7図から明らかなよう
に、引張強度と面積増加率Waとは相関関係があ
る。そして、測定結果によれば、面積増加率Wa
が30〔%〕未満のものに、接合部5がはく離する
るものが多い。また、面積増加率Waが30〔%〕
以上のものでは、ほとんどが切断される。この切
断域におおいて、引張強度は接合部5の強さでは
なく、塑性変形したリード線4自体の強さに依存
する。更に面積脱加率Waの大きい領域において
は、面積増加率Waの増加に従つて、引張強度は
ゆるやかに低下していく。
As is clear from FIG. 7, which summarizes the measurement results, there is a correlation between the tensile strength and the area increase rate Wa. According to the measurement results, the area increase rate Wa
In many cases, the bonded portion 5 peels off when the bonding area is less than 30%. In addition, the area increase rate Wa is 30 [%]
Most of the above will be cut off. In this cutting region, the tensile strength depends not on the strength of the joint 5 but on the strength of the plastically deformed lead wire 4 itself. Further, in a region where the area addition rate Wa is large, the tensile strength gradually decreases as the area increase rate Wa increases.

そこで、例えば前記と同条件にて接合された接
合部5の検査合格範囲を、接合部5の面積増加率
Waが30〔%〕〜55〔%〕とした。この範囲は、接
合部5の引張強度をいくつにするか、歩留りを何
〔%〕にするかによつて異なり、それぞれによつ
て種々変えることができる。
Therefore, for example, the area increase rate of the joint 5 is defined as the inspection passing range of the joint 5 joined under the same conditions as above.
Wa was set at 30 [%] to 55 [%]. This range differs depending on the tensile strength of the joint 5 and the yield [%], and can be varied depending on each.

更に、本実施はより一層の精度の向上を図るた
め、接合部の形状を判定するようにした場合につ
いて示してある。すなわち、第7図によれば、面
積増加率Waが所定の範囲に入つているにもかか
わらず、垂直引張強度が160〔g〕程度という特異
な現象が生じている。第7図において、Sはこれ
を示す。第8図はこのものの接合部5の形状の一
例を示したものである。この図から明らかなよう
に、この接合部5はリード線4の中心線Cに対
し、その左右が極端にアンバランスになつてい
る。すなわち、中心線Cに対し、その左側はほと
んど塑性変形しておらず、右側が大きく塑性変形
している。このような形状はリード線4の接合
時、リード線4と、このリード線4を被接合面へ
押し付けるツールとの接触具合により実際に起り
得るものである。接合部5がこのような形状にな
つてしまうと、その引張強度は低下してしまう。
Furthermore, this embodiment shows a case where the shape of the joint is determined in order to further improve accuracy. That is, according to FIG. 7, a peculiar phenomenon occurs in which the vertical tensile strength is about 160 [g] even though the area increase rate Wa is within a predetermined range. In FIG. 7, S indicates this. FIG. 8 shows an example of the shape of the joint portion 5 of this product. As is clear from this figure, the left and right sides of the joint 5 are extremely unbalanced with respect to the center line C of the lead wire 4. That is, with respect to the center line C, the left side is hardly plastically deformed, and the right side is largely plastically deformed. Such a shape may actually occur when the lead wires 4 are joined, depending on the contact between the lead wires 4 and the tool that presses the lead wires 4 against the surface to be joined. If the joint portion 5 takes on such a shape, its tensile strength will decrease.

そこで、前記した接合部5の面積増加率に加
え、接合部5の形状、すなわちリード線4の中心
線Cに対する左右の不均衝率(以下、これを歪率
という。)をも判定項目とするようにする。第9
図はリード線4の中心線Cに対し、意識的に左右
が不均衡となるよう作成したサンプルにつき、引
張強度〔g〕を測定し、これを整理したものであ
る。尚、サンプルの作成に当つて、他の条件は第
5図のものと同様であり、面積増加率は合格の範
囲のものとした。第9図において、縦軸は第5図
のそれと同様であり、横軸は歪曲Wc〔%〕であ
る。歪率Wcの算定は次のようにして行なつた。
すなわち、第8図において、接合部5のうち、そ
の幅がリード線4の幅lminiの1.2倍以上である部
分(斜視で示す部分)で、リード線4の中心線C
より左側の面積をΣA、右側をΣBとし、次の式よ
り算出する。(ΣA<ΣBとする。) Wc=|(1−ΣA/ΣB)|×100〔%〕………(2) 第9図から明らかなように、面積増加率が合格
の範囲のものであつても、歪率が25〔%〕を越え
るようになると、その引張強度は徐々に低下す
る。そこで、この関係を利用し、接合部5の歪率
が20〔%〕以内のものを合格とすることとした。
この範囲も、面積増加率と同様、その引張強度を
いくつにするか、歩留りを何〔%〕にするか等に
よつて異なり、またそれぞれによつて種々の範囲
に変えることができる。そして、リード線4の接
合完了後、接合部5の前記ΣA、ΣBを測定、ある
いは算出し、(2)式により歪率Wcを算出する。そ
の結果、この歪率Wcが20〔%〕内に収まつていれ
ば、これを合格をし、その他の場合はこれを不合
格とする。なお、この歪率による判定は、面積増
加率の判定後に行なうようにしてもよく、またそ
の前段階で行なうようにしてもよい。
Therefore, in addition to the above-mentioned area increase rate of the joint 5, the shape of the joint 5, that is, the left and right unbalance rate (hereinafter referred to as the distortion rate) with respect to the center line C of the lead wire 4 is also a criterion. I'll do what I do. 9th
The figure shows the measured tensile strength [g] of samples that were intentionally made to be unbalanced left and right with respect to the center line C of the lead wire 4, and the results are summarized. In preparing the sample, other conditions were the same as those in FIG. 5, and the area increase rate was within the acceptable range. In FIG. 9, the vertical axis is the same as that in FIG. 5, and the horizontal axis is distortion Wc [%]. The distortion factor Wc was calculated as follows.
That is, in FIG. 8, the center line C of the lead wire 4 is located at a portion of the joint portion 5 whose width is 1.2 times or more the width lmini of the lead wire 4 (portion shown in perspective).
Let the area on the left side be ΣA, and the area on the right side be ΣB, and calculate it using the following formula. (ΣA<ΣB.) Wc=|(1−ΣA/ΣB)|×100[%]……(2) As is clear from Figure 9, the area increase rate is within the acceptable range. However, when the strain rate exceeds 25%, the tensile strength gradually decreases. Therefore, by utilizing this relationship, it was decided that the strain rate of the joint portion 5 was within 20% to pass.
Like the area increase rate, this range also varies depending on the tensile strength, yield, etc., and can be changed to various ranges depending on each. After the lead wires 4 are joined, the ΣA and ΣB of the joint portion 5 are measured or calculated, and the distortion factor Wc is calculated using equation (2). As a result, if the distortion rate Wc is within 20%, the test is passed; otherwise, the test is rejected. Note that this determination based on the distortion rate may be performed after the determination of the area increase rate, or may be performed at a prior stage.

このように、歪率を判定条件に加えれば、より
一層の検査精度の向上が図れる。
In this way, by adding the distortion rate to the determination conditions, inspection accuracy can be further improved.

また、実施例において、接合部分の各行の幅デ
ータの補正の要否は、次のようにして行なう場合
について示してある。すなわち、第10図、第1
1図に示すように、接合部5の任意の位置におけ
る幅lxを縦軸に、そしてリード線4の中心軸方向
の接合部5の長さをリード線4と接合部5の境界
dより横軸にxとしてとると、第11図に示すよ
うな曲線となる。そして、この曲線は変曲点を持
たない次のような2次多項式に近似可能である。
(a、b、cは定数である。) lx=ax2+bx+c ………(3) この(3)式を一階微分すると、 dlx/dx=2ax+b ………(4) となり、(3)式を二階微分すると、 d2lx/dx2=2a ………(5) となる。実施例はこの二階微分した値が定数にな
ることに着目し、二階微分値をxの一定間隔ごと
に二階差分値より求め、その値が大きく変化した
所を異常と判定し、更に補正を行なうものであ
る。
Furthermore, in the embodiment, the necessity of correcting the width data of each row of the joint portion is shown in the following manner. That is, Fig. 10, 1st
As shown in Figure 1, the width lx at any position of the joint 5 is taken as the vertical axis, and the length of the joint 5 in the central axis direction of the lead wire 4 is determined laterally from the boundary d between the lead wire 4 and the joint 5. If x is taken as the axis, a curve as shown in FIG. 11 will be obtained. This curve can be approximated to the following quadratic polynomial without an inflection point.
(a, b, and c are constants.) lx=ax 2 +bx+c ……(3) When this formula (3) is first differentiated, dlx/dx=2ax+b ……(4) and (3) When we differentiate the formula to the second order, we get d 2 lx/dx 2 = 2a (5). The embodiment focuses on the fact that this second-order differentiated value becomes a constant, and calculates the second-order differential value from the second-order difference value at regular intervals of x, and determines that the value changes significantly as an abnormality, and further corrects it. It is something.

すなわち、第10図の様にlx(x=1〜n)を
求め、このlxに対する一階差分値を次式により求
める。(但し、x=1〜n−1) Δlx=lx+1−lx ………(6) 更にlxによる二階差分値Δ2lxを次式により求
める。(但し、x=1〜n−2) Δ2lx=Δlx+1−Δlx ………(7) このΔ2lxが二階微分値となるための定数とな
る。実際には、バラツキが予想されるため、定数
の標準値はデータより二次多項式に近似して2a
を求めてもよいし、データよりヒストグラム等を
作成し、最も頻度の高い値としてもよい。第12
図はそのヒストグラムの一例を示したものであ
り、ここでは最頻度値Δ2lcを標準値とする。第1
2図のヒストグラムは第10図のような正常な形
状の接合部5である場合であり、これが例えば第
4図のように極端に突出する突出部7を持つた形
状の場合、lxの曲線及び、ヒストグラムは第13
図および第14図に示すようになる。すなわち、
突出部7により最頻度値より大きくはずれた、
Δ2f、Δ2lg、Δ2lhが現われるようになる。よつ
て、このΔ2lf、Δ2lg、Δ2lhを異常として判断する
のである。そして、更に、Δ2lf、Δ2lg、Δ2lhを標
準値Δ2lcにすることにより、それに伴なうΔlx、
lxの値を変え、補正を行なうものである。
That is, lx (x=1 to n) is determined as shown in FIG. 10, and the first-order difference value for this lx is determined using the following equation. (However, x=1 to n-1) Δlx=l x+1 −l x (6) Furthermore, the second-order difference value Δ 2 lx due to lx is determined by the following equation. (However, x=1 to n-2) Δ 2 l x = Δl x+1 −Δl x (7) This Δ 2 lx becomes a constant for becoming a second-order differential value. In reality, since variations are expected, the standard value of the constant is approximated to a quadratic polynomial from the data and is 2a
Alternatively, a histogram or the like may be created from the data and the most frequent value may be determined. 12th
The figure shows an example of the histogram, and here, the most frequent value Δ 2 lc is taken as the standard value. 1st
The histogram in Fig. 2 is for a normal-shaped joint 5 as shown in Fig. 10. For example, if this is a shape with an extremely protruding protrusion 7 as shown in Fig. 4, the lx curve and , the histogram is the 13th
As shown in FIG. 14 and FIG. That is,
Due to the protrusion 7, the value deviated from the most frequent value,
Δ 2 f, Δ 2 lg, and Δ 2 lh begin to appear. Therefore, these Δ 2 lf, Δ 2 lg, and Δ 2 lh are determined to be abnormal. Furthermore, by setting Δ 2 lf, Δ 2 lg, and Δ 2 lh to the standard value Δ 2 lc, the accompanying Δlx,
This is done by changing the value of lx.

第5図において、IPは撮像手段、PCは処理手
段である。撮像手段IPの主要部はテレビジヨ
ン・カメラ(以下、TVカメラという。)20で
構成する。実施例においては、TVカメラ20と
して固体撮像素子を使用した、いわゆる固体テレ
ビジヨン・カメラを使用している。この動作原理
の一例を示したのが第15図である。固体撮像素
子は縦横に配合した多数、例えば縦244個、横320
個のフオトセンサPSと、スイツチング回路SWと
からなる高集積回路素子であり、撮像面に結像さ
れた映像をスイツチング走査で電気信号として取
り出す。すなわち、撮像面は(244×320)個の画
素に分割されることになる。そして、この信号は
映像増幅器IAを介して、TVカメラ20の信号と
して出力される。超音波を採用してワイヤ・ボン
デイング装置に使用されている、例えば第16図
に示すようなグループ形のツール8でリード線4
を接合すると、接合後の塑性変形した接合部の断
面形状は第17図に示すようになる。撮像手段
IPは他に、照明源21、この照明源21からの
光を被撮像部に集める集光レンズ22、対物レン
ズ23、および反射鏡24を備える。第17図に
示すような断面形状の接合部5に、照明源21か
らの光を反射鏡24によりその垂直上方より投射
すると、接合部5に当つた光は散乱し対物レンズ
23に入射しないため、TVカメラ20には入射
しない。被接合体である半導体集積回路素子2あ
るいはポスト3の表面は平面であるため、光は投
射方向に反射し、対物レンズ23を通つてTVカ
メラ20に入射する。このため、TVカメラ20
の映像をモニタすると、第18図のようになる。
この図は被接合体が半導体集積回路素子2である
場合について示してあり、斜線部の接合部5、お
よびリード線4は黒く、半導体集積回路素子2は
白くなる。半導体集積回路素子でも黒く映る箇所
であるが、これは表面の凹凸、傷、あるいは配線
パターン2Pである。
In FIG. 5, IP is an imaging means and PC is a processing means. The main part of the imaging means IP consists of a television camera (hereinafter referred to as TV camera) 20. In the embodiment, a so-called solid-state television camera using a solid-state image sensor is used as the TV camera 20. FIG. 15 shows an example of this operating principle. A large number of solid-state image sensors are arranged vertically and horizontally, for example, 244 in the vertical direction and 320 in the horizontal direction.
It is a highly integrated circuit element consisting of two photo sensors PS and a switching circuit SW, and extracts the image formed on the imaging surface as an electrical signal by switching scan. That is, the imaging plane is divided into (244×320) pixels. This signal is then output as a signal to the TV camera 20 via the video amplifier IA. For example, a group-shaped tool 8 as shown in FIG. 16 is used in a wire bonding device employing ultrasonic waves to
When these are joined, the cross-sectional shape of the plastically deformed joint after joining becomes as shown in FIG. Imaging means
The IP also includes an illumination source 21, a condenser lens 22 that collects light from the illumination source 21 onto an imaged area, an objective lens 23, and a reflecting mirror 24. When light from the illumination source 21 is projected from vertically above the joint 5 having a cross-sectional shape as shown in FIG. , does not enter the TV camera 20. Since the surface of the semiconductor integrated circuit element 2 or the post 3, which is the object to be bonded, is flat, the light is reflected in the projection direction and enters the TV camera 20 through the objective lens 23. For this reason, the TV camera 20
When the image is monitored, it becomes as shown in Fig. 18.
This figure shows the case where the object to be bonded is a semiconductor integrated circuit element 2, in which the bonding portion 5 and the lead wire 4 in the shaded area are black, and the semiconductor integrated circuit element 2 is white. Even semiconductor integrated circuit elements appear black, but these are surface irregularities, scratches, or wiring patterns 2P.

処理手段PCは2値化回路BC、映像記憶部
IPM、読出回路R、処理データ作成回路LC、お
よび演算処理部CPUとから成る。TVカメラ20
から出力信号はアナログ量であるため、2値化回
路BCはこれを2値化、すなわち“1”、“0”の
信号に変換する。第19図は2値化回路BCの一
具体例を示したものであり、演算増幅器OPを使
用した比較回路で構成した場合について示してあ
る。R1,R2は分圧抵抗であり、電流Vの電圧を
この抵抗R1,R2で分圧することにより、TVカメ
ラ20からの入力電圧のうちどの電位を境として
“1”、“0”に変換するかという基準電圧を作成
する。したがつて、TVカメラ20からの入力電
圧がこの基準電圧以上であれば演算増幅器OPの
出力、すなわち2値化回路BCの出力は“1”、基
準電圧未満であれば、“0”となる。
The processing means PC includes a binarization circuit BC and a video storage unit.
It consists of an IPM, a readout circuit R, a processing data creation circuit LC, and an arithmetic processing unit CPU. TV camera 20
Since the output signal from is an analog quantity, the binarization circuit BC binarizes it, that is, converts it into a signal of "1" and "0". FIG. 19 shows a specific example of the binarization circuit BC, and shows a case where it is constructed of a comparison circuit using an operational amplifier OP. R 1 and R 2 are voltage dividing resistors, and by dividing the voltage of the current V by these resistors R 1 and R 2 , at which potential of the input voltage from the TV camera 20 is the boundary, it becomes "1" or "0". Create a reference voltage for converting to ``. Therefore, if the input voltage from the TV camera 20 is equal to or higher than this reference voltage, the output of the operational amplifier OP, that is, the output of the binarization circuit BC, will be "1", and if it is less than the reference voltage, it will be "0". .

映像記憶部IPMはTVカメラ20に備えた固体
撮像素子の各々のフオトセンサPSに対応して1
ビツトの記憶部を備えている。すなわち、固体撮
像素子が縦224個、横320個と仮定すると、この素
子は総計78.080個のフオトセンサPSを有するこ
とになる。そこで映像記憶部IPMは少なくとも
78.080ビツトの記憶容量を有する記憶装置を用意
する。ただし、これはより精度を高めようとした
場合であり、時によつては適当に間引くことによ
つて、映像記憶部IPMの容量を低下するように
してもよい。なお、図示しないが、映像記憶部
IPMは書き込み回路を備えており、TVカメラ2
0がスイツチング回路SWの作用によりある位置
のフオトセンサPSの出力を発生すると、この時
点では当該フオトセンサPSと対応させた記憶部
がアドレス指定される。そして、TVカメラ20
の出力に応じ、指定されたアドレスの記憶部に2
値化回路BCからの“1”又は“0”が書き込ま
れる。このようにして、TVカメラ20が映像の
すべてを電気信号として出力すると、映像記憶部
IPMには2値化された映像が一時記憶される。
第20図はこの映像を記憶した映像記憶部IPM
の一部概念図であり、第18図のものと対応す
る。第20図において、1つの升目は1つの記憶
部を示す。TVカメラ20は、第18図において
白く映る部分は比較的高い電圧を発生するため、
この部分の2値化回路BCの出力は“1”、逆に黒
く映る部分は比較的低い電圧となるため、この部
分は2値化回路BCの出力は“0”となり、結果
的に映像記憶部IPMの各々の記憶部には第20
図に示すように“1”、“0”が記憶される。ここ
で、中央部分で“0”が集中している部分が接合
部5である。なお、映像記憶部IPMは第20図
との対応において、(m×n)ビツトの記憶装置
を使用した場合について示してあり、アドレスは
最上位行の左から順次右側に連続して付され、以
後順次その下の行に移るように付される。
The image storage unit IPM has one image storage unit corresponding to each photo sensor PS of the solid-state image sensor provided in the TV camera 20.
It is equipped with a bit storage section. That is, assuming that there are 224 solid-state image sensors in the vertical direction and 320 in the horizontal direction, this device will have a total of 78,080 photo sensors PS. Therefore, the video storage unit IPM is at least
Prepare a storage device with a storage capacity of 78.080 bits. However, this is a case where the accuracy is to be further increased, and the capacity of the video storage unit IPM may be reduced by appropriately thinning out the data from time to time. Although not shown, the video storage unit
The IPM is equipped with a writing circuit, and the TV camera 2
0 generates an output from the photo sensor PS at a certain position by the action of the switching circuit SW, at this point the storage unit associated with the photo sensor PS is addressed. And TV camera 20
In response to the output of
“1” or “0” from the value conversion circuit BC is written. In this way, when the TV camera 20 outputs all images as electrical signals, the image storage section
Binarized video is temporarily stored in IPM.
Figure 20 shows the video storage unit IPM that stores this video.
This is a partial conceptual diagram of , and corresponds to that of FIG. 18. In FIG. 20, one square represents one storage section. The TV camera 20 generates a relatively high voltage in the white part in FIG.
The output of the binarization circuit BC in this part is "1", and on the other hand, the black part has a relatively low voltage, so the output of the binarization circuit BC in this part is "0", and as a result, the video memory is stored. The memory section of each IPM contains the 20th memory section.
As shown in the figure, "1" and "0" are stored. Here, the central portion where "0"s are concentrated is the joint portion 5. In addition, in correspondence with FIG. 20, the video storage unit IPM is shown for the case where an (m×n) bit storage device is used, and the addresses are sequentially assigned from the left to the right of the top row, Thereafter, they are added sequentially to the rows below.

読出回路Rは映像記憶部IPMの記憶内容を順
次読み出すものであり、この読み出しに当つては
後述する演算処理部CPUからのクロツク発生指
令信号CLIに基づき、第20図との対応において
1行単位に読み出す。このため、この読出回路R
は、1行分クロツク発生回路30と読出アドレス
発生回路31とから構成さてある。1行分クロツ
ク発生回路30はクロツク発生指令信号CLIが入
力されると、映像記憶部IPMの映像の1行に相
当するm個のパルスを発生する。第21図は、1
行分クロツク発生回路30の具体例を示したもの
であり、クロツク信号発生器32、RSフリツプ
フロツプ回路33、アンドゲート34、およびカ
ウンタ35とで構成した場合について示してあ
る。クロツク信号発生器32は常に一定周期の連
続パルスを発生する。このクロツク信号発生器3
2の出力であるパルスはアンドゲート34を介し
てカウンタ35のカウント端子CKに入力するよ
うにする。RSフリツプフロツプ回路33のセツ
ト端子Sには演算処理部CPUからのクロツク発
生指令信号CLIを入力し、当該信号CLIによりRS
フリツプフロツプ回路33をセツトするようにす
る。そして、当該フリツプフロツプ回路33の出
力端子Qからの出力をアンドゲート34の制御入
力とし、フリツプフロツプ回路33がセツトされ
ている場合にはアンドゲート34を開くようにす
る。カウンタ35は映像記憶部IPMを1行mビ
ツト構成としてある関係上、(m−1)進のカウ
ンタで構成し、そのオーバーフロー端子OFLか
らの出力をRSフリツプフロツプ回路33のリセ
ツト端子Rに入力するようにする。なお、アンド
ゲート34の出力はカウンタ35のカウント端子
CKに入力すると共に読出クロツクパルスRCLと
して読出アドレス発生回路31に入力するように
する。このようにすれば、演算処理部CPUから
クロツク発生指令信号CLIが入力されると、RS
フリツプフロツプ回路33がセツトされ、出力端
子Qからの“1”の出力によりアンドゲート34
が開かれる。したがつて、クロツク発生器32か
らのクロツクパルスはアンドゲート34を通り、
カウンタ35に加わると共に読出アドレス発生回
路31に加わる。このクロツクパルスによりカウ
ンタ35は順次カウントアツプされる。そして、
m個目の信号が加わるとオーバフロー端子OFL
から信号が出力され、RSフリツプフロツプ回路
33をリセツトする。これにより、RSフリツプ
フロツプ回路33の出力端子Qからの信号は
“0”となり、これはアンドゲート34を閉じる。
これにより、以後のクロツク発生器32からのク
ロツクパルスはアンドゲート34から出力される
ことはない。すなわち、この回路30は演算処理
部CPUからのクロツク発生指令信号CLIを受ける
ごとにm個のクロツクパルス、すなわち読出クロ
ツクパルスRCLを出力し、その後、読出クロツ
クパルスRCLの発生を停止する。
The readout circuit R sequentially reads out the stored contents of the video memory unit IPM, and in this readout, the clock generation command signal CLI from the arithmetic processing unit CPU, which will be described later, is performed in units of one line in correspondence with FIG. 20. Read out. Therefore, this readout circuit R
is composed of a one-row clock generation circuit 30 and a read address generation circuit 31. When the clock generation command signal CLI is input, the one-line clock generation circuit 30 generates m pulses corresponding to one line of the image in the image storage unit IPM. Figure 21 shows 1
A specific example of the row clock generation circuit 30 is shown in which it is constructed from a clock signal generator 32, an RS flip-flop circuit 33, an AND gate 34, and a counter 35. The clock signal generator 32 always generates continuous pulses with a constant period. This clock signal generator 3
The pulse which is the output of 2 is inputted to the count terminal CK of the counter 35 via the AND gate 34. A clock generation command signal CLI from the arithmetic processing unit CPU is input to the set terminal S of the RS flip-flop circuit 33, and the RS
The flip-flop circuit 33 is set. The output from the output terminal Q of the flip-flop circuit 33 is used as a control input of the AND gate 34, and the AND gate 34 is opened when the flip-flop circuit 33 is set. The counter 35 is constituted by a (m-1) base counter because the video storage unit IPM is configured with m bits per line, and the output from the overflow terminal OFL is input to the reset terminal R of the RS flip-flop circuit 33. Make it. Note that the output of the AND gate 34 is the count terminal of the counter 35.
It is input to the read address generation circuit 31 as the read clock pulse RCL as well as to the read clock pulse RCL. By doing this, when the clock generation command signal CLI is input from the arithmetic processing unit CPU, the RS
The flip-flop circuit 33 is set, and the AND gate 34 is set by the output of "1" from the output terminal Q.
will be held. Therefore, the clock pulse from clock generator 32 passes through AND gate 34;
It is added to the counter 35 and also to the read address generation circuit 31. The counter 35 is sequentially counted up by this clock pulse. and,
When m-th signal is added, overflow terminal OFL
A signal is output from the RS flip-flop circuit 33 to reset it. As a result, the signal from the output terminal Q of the RS flip-flop circuit 33 becomes "0", which closes the AND gate 34.
As a result, subsequent clock pulses from clock generator 32 will not be output from AND gate 34. That is, this circuit 30 outputs m clock pulses, ie, read clock pulse RCL, every time it receives the clock generation command signal CLI from the arithmetic processing unit CPU, and then stops generating the read clock pulse RCL.

読出アドレス発生回路31は1行分クロツク発
生回路30からの読出クロツクパルスRCLを入
力し、このパルスRCLに基づいて映像記憶部
IPMのアドレスを順次走査指定し、その記憶内
容を順次読み出す。これはアドレスカウンタ等で
構成する。すなわち、この回路31は読出クロツ
クパルスRCLを1つ入力するたびに、そのアド
レス内容を1だけ増加することにより、上記機能
を実現する。ここで、1行分クロツク発生回路3
0は演算処理部CPUからクロツク発生指令信号
CLIを受ける渡に、m個のパルスを発生するた
め、まず最初に1行分クロツク発生回路30が信
号CLIを受けると、読出アドレス発生器31は第
20図において、1行目のmビツトのそれぞれを
アドレス指定し、それぞれの記憶内容を読み出
す。次に、信号CLIが回路30に加わると、読出
アドレス回路31は2行目のmビツトのそれぞれ
をアドレス指定し、当該行のそれぞれの記憶内容
を読み出す。以下、同様にして、演算処理部
CPUからクロツク発生指令信号CLIが入力される
度に、各行の記憶内容が読み出され、最終行、す
なわちn行目が読み出されると、その読み出しの
終了により、次には1行目を読み出し得るよう設
定される。
The read address generation circuit 31 inputs the read clock pulse RCL from the clock generation circuit 30 for one row, and based on this pulse RCL, the image storage section
Sequentially scan and designate IPM addresses and sequentially read out the stored contents. This consists of an address counter, etc. That is, this circuit 31 realizes the above function by incrementing the address contents by 1 each time one read clock pulse RCL is input. Here, the clock generation circuit 3 for one row is
0 is a clock generation command signal from the arithmetic processing unit CPU
In order to generate m pulses while receiving CLI, when the clock generation circuit 30 for one row first receives the signal CLI, the read address generator 31 generates m bits of the first row as shown in FIG. Address each and read the memory contents of each. Next, when signal CLI is applied to circuit 30, read address circuit 31 addresses each of the m bits of the second row and reads the respective stored contents of that row. Below, in the same way, the arithmetic processing section
Every time the clock generation command signal CLI is input from the CPU, the memory contents of each row are read out, and when the last row, that is, the nth row, is read out, the first row can be read out next. It is set as follows.

処理データ作成回路LCは、映像記憶部IPMか
らの出力に基づき、接合部5の面積、および良否
判定に必要なデータを、映像記憶部IPMの第2
0図との対応において、各行ごとに作成出力する
ものである。第22図aは第20図の任意のk行
の記憶内容を抜き取つて示したものであり、処理
データ作成回路路LCはこの図において、接合部
5に対応するビツト数よりなる接合部データlx
と、最先桁から接合部5の終了までのビツト数よ
り成る接合部端データAxを検出し、これを後述
する演算処理部CPUに出力するものである。こ
の図からも明らかなように、この図はビツト数、
すなわち画素数を面積と対応させている。処理デ
ータ作成回路LCは接合部データlxを検出する接
合部検出回路LXと、接合部端データAxを検出す
る接合部端検出回路AXを主要部とし、これら回
路LX、AXにタイミング信号を与える立下り検
出回路40を備える。
Based on the output from the image storage unit IPM, the processing data creation circuit LC generates the area of the joint 5 and the data necessary for pass/fail judgment in the second part of the image storage unit IPM.
In correspondence with Figure 0, it is created and output for each row. FIG. 22a shows the memory contents of an arbitrary k row in FIG. lx
Then, the junction end data Ax consisting of the number of bits from the first digit to the end of the junction 5 is detected and outputted to the arithmetic processing unit CPU, which will be described later. As is clear from this figure, the number of bits,
In other words, the number of pixels is made to correspond to the area. The main parts of the processing data creation circuit LC are a junction detection circuit LX that detects junction data lx and a junction edge detection circuit AX that detects junction edge data Ax. A downlink detection circuit 40 is provided.

映像記憶部IPMには第20図に示すように、
映像において白い部分には“1”が、そして黒い
部分においては“0”が記憶される。処理データ
作成回路LCは回路構成の都合上、映像記憶部
IPMから読み出された信号を否定して取り込む
ようにするため、否定回路NOTを備えている。
このようにすれば、映像において白い部分は
“0”、黒い部分は“1”として取り込むことがで
きる。第22図bは第22図aに対する否定回路
NOTの出力を示す。
As shown in Figure 20, the video storage unit IPM has the following information:
"1" is stored in white parts of the video, and "0" is stored in black parts. Due to the circuit configuration, the processing data creation circuit LC is a video storage section.
In order to negate the signal read from the IPM before taking it in, it is equipped with a negate circuit NOT.
In this way, white parts of the video can be taken in as "0" and black parts as "1". Figure 22b is a negative circuit for Figure 22a.
Shows the output of NOT.

立下り検出回路40は映像が黒から白、すなわ
ち第22図aにおいて“0”から“1”への変化
時点を検出して、信号を出力するものである。た
だし、当該回路40へは、後述する否定回路
NOTを介して、映像記憶部IPMからの信号が入
力されているため、当該回路40は“1”から
“0”への立下りを検出する。(第22図b参照)
第23図は当該立下り検出回路40の具体例を示
したものであり、この主要部はD形フリツプフロ
ツプ回路41とJKフリツプフロツプ回路42と
から成り、読出クロツクパルスRCLと否定回路
NOTからの出力を入力することにより、この両
信号から立下り時点を検出し、立下り信号40S
を作成出力する。否定回路NOTの出力はD形フ
リツプフロツプ回路41の入力端子Dに入力する
ようにする。すなわち、この端子Dには読出回路
Rの作用により映像記憶部IPMの各行の内容が
否定された後、順次入力される。すなわち、第2
2図aを参照すれば、その左側からこれが否定さ
れた信号、要するに“0”ならば“1”が、“1”
ならば“0”が順次入力される。読出クロツクパ
ルスRCLは遅延回路43、ワンシヨツトパルス
発生回路44を介して、D形フリツプフロツプ回
路41のクロツク端子CKに印加するようにする。
D形フリツプフロツプ回路41はクロツク端子
CKへのクロツク信号入力時、この時点に入力端
子Dに入力されている信号を一時記憶し、これを
出力端子Qから出力する。ところで、映像記憶部
IPMはアドレス指定し、当記アドレスの記憶内
容が読み出されるまでに多少の遅れ時間を要す
る。したがつて、読出クロツクパルスRCLをク
ロツク端子CKに直接入力しても当該読出クロツ
クパルスRCLによつて読み出されるべきアドレ
スの記憶内容はD形フリツプフロツプ回路41に
は記憶できない。そこで、遅延回路43によつて
読出クロツクパルスRCLをこの分だけ遅らせ、
遅延後の出力の立上りをワンシヨツトパルス発生
回路14で検出し、クロツク信号を作成する。D
形フリツプフロツプ回路41の出力は、入力端子
Jが電源V、すなわち“1”に、入力端子Kが接
地、すなわち“0”に設定されたJKフリツプフ
ロツプ回路42のクロツク端子CKに入力するよ
うにする。そして、この回路42の出力はワンシ
ヨツトパルス発生回路45を介し、立下り検出回
路40の出力として出力する。同時に、ワンシヨ
ツトパルス発生回路45の出力は否定回路46を
介してJKフリツプフロツプ回路42のクリア端
子CLRに入力し、これをクリアする。第24図
は、第23図の各部の動作状態を示したタイムチ
ヤートであり、RCLは読出クロツクパルスRCL、
NOTSは否定回路NOTの出力、44Sはワンシ
ヨツトパルス発生回路44の出力、41SはD形
フリツプフロツプ回路41の出力、42SはJK
フリツプフロツプ回路42の出力を示す。40S
はワンシヨツトパルス発生回路45の出力であ
り、これはすなわち立下り検出回路40の出力、
すなわち立下り信号となる。この図から明らかな
ように、読出クロツクパルスRCLが一定周期で
出力され、これについて映像記憶部IPMから順
次記憶内容が読み出され、この読み出された内容
が“1”から“0”に変化した時点で、立下信号
40Sが出力される。
The fall detection circuit 40 detects the time when the image changes from black to white, that is, from "0" to "1" in FIG. 22a, and outputs a signal. However, the circuit 40 is connected to a negative circuit, which will be described later.
Since the signal from the video storage unit IPM is input via NOT, the circuit 40 detects a fall from "1" to "0". (See Figure 22b)
FIG. 23 shows a specific example of the fall detection circuit 40, the main part of which consists of a D-type flip-flop circuit 41 and a JK flip-flop circuit 42, and a read clock pulse RCL and an inverting circuit.
By inputting the output from NOT, the falling point is detected from both signals, and the falling signal 40S is detected.
Create and output. The output of the NOT circuit NOT is input to the input terminal D of the D-type flip-flop circuit 41. That is, the contents of each row of the video storage unit IPM are negated by the action of the readout circuit R and then sequentially inputted to this terminal D. That is, the second
Referring to Figure 2a, from the left side, the signal that is negated, in short, if it is “0”, it becomes “1”, and “1”
If so, "0" is input sequentially. The read clock pulse RCL is applied to the clock terminal CK of the D-type flip-flop circuit 41 via a delay circuit 43 and a one-shot pulse generation circuit 44.
The D-type flip-flop circuit 41 is a clock terminal.
When a clock signal is input to CK, the signal currently being input to input terminal D is temporarily stored and output from output terminal Q. By the way, the video storage unit
IPM specifies an address and requires some delay time until the stored contents of the specified address are read. Therefore, even if the read clock pulse RCL is directly input to the clock terminal CK, the contents of the address to be read by the read clock pulse RCL cannot be stored in the D-type flip-flop circuit 41. Therefore, the read clock pulse RCL is delayed by this amount by the delay circuit 43.
The one-shot pulse generation circuit 14 detects the rise of the output after the delay and generates a clock signal. D
The output of the flip-flop circuit 41 is inputted to the clock terminal CK of a JK flip-flop circuit 42 whose input terminal J is set to the power supply V, ie, "1", and whose input terminal K is set to ground, ie, "0". The output of this circuit 42 is outputted as the output of the fall detection circuit 40 via a one-shot pulse generation circuit 45. At the same time, the output of the one-shot pulse generating circuit 45 is input to the clear terminal CLR of the JK flip-flop circuit 42 via the NOT circuit 46, and is cleared. FIG. 24 is a time chart showing the operating status of each part in FIG. 23, where RCL is the read clock pulse RCL,
NOTS is the output of the NOT circuit NOT, 44S is the output of the one-shot pulse generation circuit 44, 41S is the output of the D-type flip-flop circuit 41, 42S is JK
The output of flip-flop circuit 42 is shown. 40S
is the output of the one-shot pulse generation circuit 45, which means the output of the falling edge detection circuit 40,
In other words, it becomes a falling signal. As is clear from this figure, the read clock pulse RCL is output at regular intervals, and the stored contents are sequentially read from the video storage unit IPM, and the read contents change from "1" to "0". At this point, a falling signal 40S is output.

接合部検出回路LXはカウンタ51,52、デ
ータセレクタ53、コンパレータ54、アンドゲ
ート55,56,57、およびフリツプフロツプ
回路58,59を主な構成とする。カウンタ5
1,52はカウント入力端子CKへ入力されるパ
ルス信号の数を計数し、この計数値を出力データ
として出力する。データセレクタ53はカウンタ
51,52からのそれぞれのデータを入力し、セ
レクト端子SLTへの信号に応じ、その一方を選
択出力する。すなわち、この場合、セレクト端子
SLTへ“1”の信号が入力されていれば、入力
端子A側に入力されているデータ、すなわちカウ
ンタ51の計数値を選択出力し、逆にセレクト端
子SLTへ“0”の信号が入力されていれば、入
力端子B側に入力されているデータ、すなわちカ
ウンタ52の計数値を選択出力する。コンパレー
タ54は、入力端子A側に入力したデータ、すな
わちカウンタ51の計数値と、入力端子B側に入
力されたデータ、すなわちカウンタ52の計数値
とを比較し、これが同一であれば出力端子A=B
から、入力端子A側の値が大きければ出力端子A
>Bから、また入力端子B側の値が大きければ出
力端子A<Bからそれぞれ“1”の信号を出力す
る。コンパレータ54の各出力端子A=B、A>
B、A<Bの出力は対応するアンドゲート55,
56,57に入力し、各アンドゲート55,5
6,57のそれぞれには、立下り検出回路40か
らの立下り信号40Sをそれぞれ入力する。した
がつて、アンドゲート55,56,57は立下り
信号40Sが入力された時点において、コンパレ
ータ54から“1”の信号が入力されているもの
のみが“1”の信号を出力する。フリツプフロツ
プ回路58のセツト端子Sにはアンドゲート56
の出力を、またリセツト端子Rにはアンドゲート
57の出力を入力するようにする。そして、フリ
ツプフロツプ回路58の出力端子Qからの出力は
コンパレータ53のセレクト端子SLTに入力す
るようにする。このようにすれば、立下り検出信
号40Sが出力された時点において、カウンタ5
1の計数値がカウンタ52のそれよりも大きけれ
ばフリツプフロツプ回路58がセツトされ、デー
タセレクタ53のセレクト端子SLTに“1”が
印加されることから、データセレクタ53は入力
端子Aに入力されたカウンタ51の計数値を出力
する。逆に、立上り検出信号40Sが出力された
時点において、カウンタ52の計数値がカウンタ
51のそれよりも大きければフリツプフロツプ回
路58がリセツトされ、データセレクタ53のセ
レクト端子SLTに“0”が印加されることから、
データセレクタ53は入力端子Bに入力されたカ
ウンタ52の計数値を出力する。なお、カウンタ
51,52の計数値が同一である場合、フリツプ
フロツプ回路58の出力に変化はなく、データセ
レクタ53は前回選択された側のカウンタ51,
52のいずれか一方の計数値を出力する。
The junction detection circuit LX mainly includes counters 51, 52, a data selector 53, a comparator 54, AND gates 55, 56, 57, and flip-flop circuits 58, 59. counter 5
1 and 52 count the number of pulse signals input to the count input terminal CK, and output this counted value as output data. The data selector 53 inputs respective data from the counters 51 and 52, and selectively outputs one of them in response to a signal to the select terminal SLT. That is, in this case, the select terminal
If a “1” signal is input to the SLT, the data input to the input terminal A side, that is, the count value of the counter 51, is selected and output, and conversely, a “0” signal is input to the select terminal SLT. If so, the data input to the input terminal B side, that is, the count value of the counter 52 is selectively output. The comparator 54 compares the data input to the input terminal A side, that is, the count value of the counter 51, and the data input to the input terminal B side, that is, the count value of the counter 52, and if they are the same, the output terminal A =B
Therefore, if the value on the input terminal A side is large, the output terminal A
>B, and if the value on the input terminal B side is large, a signal of "1" is output from the output terminal A<B. Each output terminal A=B, A> of the comparator 54
B, the output of A<B is the corresponding AND gate 55,
56, 57, and each AND gate 55, 5
The falling signal 40S from the falling detection circuit 40 is input to each of 6 and 57, respectively. Therefore, at the time when the falling signal 40S is input to the AND gates 55, 56, and 57, only those to which the "1" signal is input from the comparator 54 output a "1" signal. An AND gate 56 is connected to the set terminal S of the flip-flop circuit 58.
The output of the AND gate 57 is input to the reset terminal R. The output from the output terminal Q of the flip-flop circuit 58 is input to the select terminal SLT of the comparator 53. By doing this, at the time when the falling detection signal 40S is output, the counter 5
If the count value of 1 is larger than that of the counter 52, the flip-flop circuit 58 is set and "1" is applied to the select terminal SLT of the data selector 53. Output the count value of 51. Conversely, if the count value of the counter 52 is larger than that of the counter 51 at the time when the rising edge detection signal 40S is output, the flip-flop circuit 58 is reset and "0" is applied to the select terminal SLT of the data selector 53. Therefore,
The data selector 53 outputs the count value of the counter 52 input to the input terminal B. Note that if the count values of the counters 51 and 52 are the same, there is no change in the output of the flip-flop circuit 58, and the data selector 53 selects the previously selected counter 51,
The count value of one of 52 is output.

フリツプフロツプ回路59はアンドゲート5
5,56の出力をオアゲート60を介しセツト端
子Sに入力し、アンドゲート57の出力をリセツ
ト端子Rに入力する。そして、出力端子Qの出力
はアンドゲートAND2を介してワンシヨツトパ
ルス発生回路61に入力され、更にこの回路61
によつて作成されたパルス信号はオアゲート62
を介してカウンタ52のクリア端子CLRに印加
するようにする。フリツプフロツプ回路59の否
定出力端子の出力はアンドゲートAND1を介
してワンシヨツトパルス発生回路63に入力さ
れ、更にこの回路63によつて作成されたパルス
信号はオアゲート64を介してカウンタ51のク
リア端子CLRに印加するようにする。そして、
アンドゲートAND1,AND2には立下り信号4
0Sを入力するようにする。否定回路NOTの出
力はアンドゲート65,66を介して、それぞれ
カウンタ51,52のカウント入力端子CKに入
力するようにする。そして、フリツプフロツプ回
路59の出力端子Qからの出力は遅延回路67を
介してアンドゲート66へ、出力端子の出力は
遅延回路68を介してアンドゲート65へ入力す
るようにする。このようにすれば、アンドゲート
55,56のいずれか一方、あるいはその両方が
信号を出力すれば、すなわちカウンタ51の計数
値がカウンタ52の計数値よりも大きいか、又は
同一ならば、フリツプフロツプ回路59がセツト
され、出力端子Qの出力によつてカウンタ52が
クリアされる。逆に、カウンタ52の計数値がカ
ウンタ51の計数値より大きければ、アンドゲー
ト57の出力によりフリツププフロツプ回路59
リセツトされ、出力端子の出力により、カウン
タ51がクリアされる。すなわち、カウンタ5
1,52のいずれか一方には現在までの最大値が
格納され、他方のこれよりも小さい計数値はクリ
アされる。更に、フリツプフロツプ回路59がセ
ツトされることにより、遅延回路67,68によ
る時間の経過後、アンドゲート66が開かれ、ア
ンドゲート65が閉じる。逆に、フリツプフロツ
プ回路59がリセツトされると、遅延回路67,
68による時間の経過後、アンドゲート66が閉
じられ、アンドゲート65が開く。なお、遅延回
路67,68はカウンタ51,52のクリアの
間、当該クリアしているカウンタ信号が入力され
ないようにするために設けてある。要するに、こ
のような構成により、ある時点においては、アン
ドゲート65,66のうち、そのいずれか一方が
開いていて、これと対応したカウンタ51,52
の一方が否定回路NOTからの信号を計数する。
そして、立下り信号40Sの発生時点において比
較結果で、小さな計数値を有する側のカウンタ5
1,52の内容がクリアされ、ほぼ同時に当該カ
ウンタ51,52と対応する側のアンドゲート6
5,66が開かれ、次にはクリアされた側のカウ
ンタ51,52が計数を開始する。
The flip-flop circuit 59 is an AND gate 5
The outputs of the AND gates 5 and 56 are input to the set terminal S via the OR gate 60, and the output of the AND gate 57 is input to the reset terminal R. Then, the output of the output terminal Q is inputted to the one shot pulse generation circuit 61 via the AND gate AND2, and further this circuit 61
The pulse signal created by the OR gate 62
The signal is applied to the clear terminal CLR of the counter 52 via the counter 52. The output of the negative output terminal of the flip-flop circuit 59 is input to the one-shot pulse generation circuit 63 via the AND gate AND1, and the pulse signal generated by this circuit 63 is input to the clear terminal CLR of the counter 51 via the OR gate 64. so that it is applied to and,
Falling signal 4 for AND gates AND1 and AND2
Make sure to input 0S. The output of the NOT circuit NOT is input to the count input terminals CK of the counters 51 and 52 via AND gates 65 and 66, respectively. The output from the output terminal Q of the flip-flop circuit 59 is input to the AND gate 66 via the delay circuit 67, and the output from the output terminal is input to the AND gate 65 via the delay circuit 68. In this way, if one or both of the AND gates 55 and 56 outputs a signal, that is, if the count value of the counter 51 is greater than or equal to the count value of the counter 52, the flip-flop circuit 59 is set, and the counter 52 is cleared by the output from the output terminal Q. Conversely, if the count value of the counter 52 is larger than the count value of the counter 51, the flip-flop circuit 59 is activated by the output of the AND gate 57.
The counter 51 is reset and cleared by the output from the output terminal. That is, counter 5
The maximum value up to now is stored in either one of 1 and 52, and the other count value smaller than this is cleared. Further, by setting the flip-flop circuit 59, the AND gate 66 is opened and the AND gate 65 is closed after the time set by the delay circuits 67 and 68 has elapsed. Conversely, when the flip-flop circuit 59 is reset, the delay circuits 67,
After the time period 68 has elapsed, AND gate 66 is closed and AND gate 65 is opened. Note that the delay circuits 67 and 68 are provided to prevent the cleared counter signals from being input while the counters 51 and 52 are being cleared. In short, with this configuration, at a certain point in time, one of the AND gates 65 and 66 is open, and the corresponding counters 51 and 52 are open.
One of them counts the signal from the NOT circuit NOT.
Then, at the time of generation of the falling signal 40S, the counter 5 on the side having a smaller count value as a result of the comparison
The contents of counters 1 and 52 are cleared, and almost at the same time, the AND gate 6 on the side corresponding to the counters 51 and 52 is cleared.
5 and 66 are opened, and then the counters 51 and 52 on the cleared side start counting.

接合部端検出回路AXはカウンタ71、レジス
タ72およびレジスタ制御回路70とから成る。
カウンタ71はそのカウント入力端子CKへの入
力パルス数をカウントし、その値をレジスタ72
に入力する。レジスタ72はそのロード端子Lへ
の信号の立下りでカウンタ71からの入力を一時
記憶し、その記憶内容を出力する。レジスタ72
へのロード端子Lへの信号の立下りは、コンパレ
ータ54の比較結果が、出力端子A>Bから出力
端子A<Bへ、又は出力端子A<Bから出力端子
A>Bへ移つた時点で発生するようにする。但
し、初期状態での出力端子A=Bから出力端子A
>Bへ移つた場合も同様とする。これらは、レジ
スタ制御回路70によつて行なわれる。第25図
は当該レジスタ制御回路70の具体例を示したも
のであり、当該回路70はコンパレータ54の出
力端子A>Bに対応するアンドゲート56の出力
と、出力端子A<Bに対応するアンドゲート57
の出力とを入力することによつて当該機能を実現
する。このため、RSフリツプフロツプ回路73,
74、D形フリツプフロツプ回路75,76、オ
アゲート77、およびワンシヨツトパルス発生回
路78とを備えている。アンドゲート56からの
出力はフリツプフロツプ回路73のセツト端子
S、およびフリツプフロツプ回路74のリセツト
端子Rに入力するようにする。アンドゲート57
からの出力はフリツプフロツプ回路73のリセツ
ト端子R、およびフリツプフロツプ回路74のセ
ツト端子Sに入力するようにする。フリツプフロ
ツプ回路75,76の入力端子Dは電源Vに接
続、すなわち当該端子Dには常に“1”の信号を
入力するようにする。そして、フリツプフロツプ
回路75のクロツク端子CKにはフリツプフロツ
プ回路73の出力を入力し、フリツプフロツプ回
路76のクロツク端子CKにはフリツプフロツプ
回路74の出力を入力するようにする。フリツプ
フロツプ回路75,76の出力はオアゲート77
を介し、更にこのオアゲート77の出力はワンシ
ヨツトパルス発生回路78を介して、レジスタ制
御信号RCSとしてレジスタ72のロード端子L
に入力するようにする。なお、ワンシヨツトパル
ス発生回路78の出力は同時にフリツプフロツプ
回路75,76のクリア端子CLRに印加する。
このようにすれば、アンドゲート56,57のい
ずれか一方が信号を出力すると、フリツプフロツ
プ回路73,74のうち当該信号がセツト端子S
に入力されている側がセツトされ、他の一方はリ
セツトされる。これにより、セツトされた側のフ
リツプフロツプ回路75,76の一方が“1”に
セツトされ、これに従つてオアゲート77の出力
でワンシヨツトパルス発生回路75がレジスタ制
御信号RCSを作成する。更に、この信号RCSに
よつてフリツプフロツプ回路75,76は共にク
リアされ、初期状態に戻る。
The junction end detection circuit AX includes a counter 71, a register 72, and a register control circuit 70.
The counter 71 counts the number of input pulses to its count input terminal CK, and stores the value in the register 72.
Enter. The register 72 temporarily stores the input from the counter 71 at the fall of the signal to the load terminal L, and outputs the stored contents. register 72
The fall of the signal to the load terminal L occurs when the comparison result of the comparator 54 moves from the output terminal A>B to the output terminal A<B, or from the output terminal A<B to the output terminal A>B. Let it happen. However, in the initial state, output terminal A = B to output terminal A.
The same applies when moving to >B. These are performed by the register control circuit 70. FIG. 25 shows a specific example of the register control circuit 70, and the circuit 70 outputs the output of the AND gate 56 corresponding to the output terminal A>B of the comparator 54 and the AND gate corresponding to the output terminal A<B. gate 57
The function is realized by inputting the output of Therefore, the RS flip-flop circuit 73,
74, D-type flip-flop circuits 75 and 76, an OR gate 77, and a one-shot pulse generation circuit 78. The output from the AND gate 56 is input to the set terminal S of the flip-flop circuit 73 and the reset terminal R of the flip-flop circuit 74. and gate 57
The output from the flip-flop circuit 73 is input to the reset terminal R of the flip-flop circuit 73 and the set terminal S of the flip-flop circuit 74. Input terminals D of the flip-flop circuits 75 and 76 are connected to the power supply V, that is, a signal of "1" is always input to the terminal D. The output of the flip-flop circuit 73 is input to the clock terminal CK of the flip-flop circuit 75, and the output of the flip-flop circuit 74 is input to the clock terminal CK of the flip-flop circuit 76. The outputs of the flip-flop circuits 75 and 76 are connected to an OR gate 77.
Further, the output of this OR gate 77 is sent to the load terminal L of the register 72 as a register control signal RCS via a one-shot pulse generation circuit 78.
. Note that the output of the one-shot pulse generating circuit 78 is simultaneously applied to the clear terminals CLR of the flip-flop circuits 75 and 76.
With this arrangement, when either one of the AND gates 56, 57 outputs a signal, the signal is sent to the set terminal S of the flip-flop circuits 73, 74.
The side that is input to is set, and the other side is reset. As a result, one of the flip-flop circuits 75 and 76 on the set side is set to "1", and accordingly, the one-shot pulse generating circuit 75 generates the register control signal RCS based on the output of the OR gate 77. Furthermore, both flip-flop circuits 75 and 76 are cleared by this signal RCS and return to their initial states.

演算処理部CPUは読出回路Rを経由し、更に
処理データ作成回路LCを経由して、映像記憶部
IPMから判定に必要な各種データを取み込み、
接合部5の良否判定を行なうものであり、マイク
ロ・コンピユータを使用した場合について示して
ある。マイクロ・コンピユータはプログラム記憶
装置に予め記憶されたプログラムに従つて、処
理、演算等を実行する。第26図はそのプログラ
ムの概略を示したフローチヤートである。この図
において、演算処理部CPUはまずステツプAに
おいて、各部の初期設定を行なう。例えば、処理
データ作成回路LCから取り込むデータを一時格
納するデータ記憶部のクリア、あるいは演算等の
途中結果を記憶するデータ記憶部のクリア等であ
る。次のステツプBにおいて、映像記憶部IPM
の各行における第22図で示した接合部データ
lx、接合部端データAxを読出回路Rおよび処理
データ作成回路LCを経由して読み取り、それを
データ記憶部の所定領域に格納する。次のステツ
プCにおいて、接合部5の良否判定に必要な各種
のデータを、データ記憶部に記憶した各行の接合
部データlx、接合部端データAxとから算出する。
以後の説明において、各データは次のような定義
する。すなわち、第27図に示すように、第20
図との対応において、接合部データlxは任意の行
における接合部5の長さ、すなわちビツト数を示
し、接合端データAxは当該行における左端から
接合部5の右端までの長さ、すなわちビツト数を
示す。Aminiは接合部端データAxのうち最小の
数値、lminiは接合部データlxのうち最小の数値
を示す。なお、lminiは結果的にリード線4の径
と一致する。lcは行の左端からリード線4の中心
Cまでの長さ、すなわちビツト数を示す。ltは接
合部5の長さが1.2lmini以上となる部分の長さ、
すなわちビツト数を示す。更に、ltの範囲内にお
いて、接合部5のリード線4の中心より左側の面
積、すなわちビツト数の合計をΣA、同様に右側
をΣBとし、ltの範囲内における接合部5の面積、
すなわちビツト数をΣlxとする。なお、この図か
らも明らかなように、ΣlxはΣAとΣBとの合計と
なる。このことより、前記したステツプCにおい
ては、Amini、lmini、Σlxを算出する。そして、
引き続き、これらのデータを基に、ステツプDに
おいて、接合部5の良否を判定する。
The arithmetic processing unit CPU is connected to the video storage unit via the reading circuit R and further via the processing data creation circuit LC.
Import various data necessary for judgment from IPM,
This is for determining the quality of the joint 5, and the case where a microcomputer is used is shown. A microcomputer executes processing, calculations, etc. according to a program stored in advance in a program storage device. FIG. 26 is a flowchart showing an outline of the program. In this figure, the arithmetic processing section CPU first performs initial settings of each section in step A. For example, this may be to clear a data storage section that temporarily stores data taken in from the processing data creation circuit LC, or to clear a data storage section that stores intermediate results of calculations or the like. In the next step B, the video storage unit IPM
The joint data shown in Fig. 22 in each row of
lx and junction end data Ax are read via the reading circuit R and the processing data creation circuit LC, and stored in a predetermined area of the data storage section. In the next step C, various data necessary for determining the quality of the joint 5 are calculated from the joint data lx and joint end data Ax of each row stored in the data storage section.
In the following explanation, each data will be defined as follows. That is, as shown in FIG.
In correspondence with the figure, the junction data lx indicates the length of the junction 5 in a given row, that is, the number of bits, and the junction data Ax indicates the length from the left end of the row to the right end of the junction 5, that is, the number of bits. Show the number. Amini indicates the smallest numerical value among the joint end data Ax, and lmini indicates the smallest numerical value among the joint data lx. Note that lmini eventually matches the diameter of the lead wire 4. lc indicates the length from the left end of the row to the center C of the lead wire 4, that is, the number of bits. lt is the length of the part where the length of the joint part 5 is 1.2lmini or more,
In other words, it indicates the number of bits. Further, within the range of lt, the area to the left of the center of the lead wire 4 of the joint 5, that is, the total number of bits, is ΣA, and similarly, the right side is ΣB, and the area of the joint 5 within the range of lt,
That is, let the number of bits be Σlx. Note that, as is clear from this figure, Σlx is the sum of ΣA and ΣB. From this, in step C described above, Amini, lmini, and Σlx are calculated. and,
Subsequently, based on these data, in step D, the quality of the joint portion 5 is determined.

演算処理部CPUは以下に示す適当なタイミン
グで初期クリア信号ICL、クロツク発生指令信号
CLIを出力し、更に以下に示す適当なタイミング
で一行分クロツク発生回路30のオーバフロー端
子OFLからの信号、および処理データ作成回路
LCからの接合部データlx、接合部端データAxを
入力することによつて、前記演算、処理等を実行
する。なお、演算処理部CPUからの初期クリア
信号ICLは、処理データ作成回路LCのオアゲー
ト62,64およびカウンタ71のクリア端子
CLRに入力する。
The arithmetic processing unit CPU outputs the initial clear signal ICL and clock generation command signal at the appropriate timing shown below.
CLI is output, and a signal from the overflow terminal OFL of the clock generation circuit 30 for one line and the processing data creation circuit are output at appropriate timings shown below.
By inputting the junction data lx and the junction end data Ax from the LC, the above calculations, processes, etc. are executed. Note that the initial clear signal ICL from the arithmetic processing unit CPU is the clear terminal of the OR gates 62 and 64 and the counter 71 of the processing data creation circuit LC.
Input to CLR.

第28図、第29図、第30図、第31図、第
32図、第33図、第34図、第35図は第26
図におけるステツプB、ステツプC、ステツプD
の詳細フローチヤートであり、以下この図を参照
して全体の動作を説明する。第28図において、
ステツプBにおいては、まず、ステツプB1にお
いてカウンタCNTを0にする。このカウンタ
CNTはソフトウエア上作成したものであり、デ
ータ記憶部の予め定めたアドレスを対応させる。
このカウンタCNTは映像記憶部IPMの各行を計
数する行カウンタである。次にステツプB2にお
いて、処理データ作成回路LCを初期設定する。
すなわち、これは初期クリア信号ICLを、当該回
路LCのオアゲート62,64およびカウンタ7
1のクリア端子CLRに印加する。これにより、
カウンタ51,52,71はクリアされることに
よりなる。続いてステツプB3で、読出回路Rに
クロツク発生指令信号CLIを印加し、次のステツ
プB4でカウンタCNTに1を加える。ステツプ
B3において、読出回路6にクロツク発生指令信
号CL1を印加すると、当該回路Rは映像記憶部
IPMの1行目の記憶内容を順次読み出す。そし
て、ステツプB5においてカウンタ35のオーバ
フロー端子OFLの出力読み取り、ステツプB6
において、オーバフロー端子OFLの出力が
“1”、すなわち読出回路Rが映像記憶部IPMの
1行分のクロツクパルスを発生終了したか否かを
判定する。ここで、オーバフロー端子OFLから
オーバフロー信号が出力されるまで、ステツプB
5,B6が繰り返される。ステツププB6でオー
バフロー信号が確認されると、ステツプB7で処
理データ作成回路LCからの接合部データlx、接
合部端データAxを読み取り、それぞれをデータ
記憶部に記憶する。次にステツプB8において、
カウンタCNTがn、すなわち映像記憶部IPMを
最終行まで走査したか否かを判定し、この条件が
成立するまで以後ステツプB2からステツプB8
まで繰り返され、最終行まで走査し、カウンタ
CNTの内容がnになると、ステツプCに進む。
Figures 28, 29, 30, 31, 32, 33, 34, and 35 are 26
Step B, Step C, Step D in the diagram
This is a detailed flowchart, and the overall operation will be explained below with reference to this figure. In Figure 28,
In step B, first, the counter CNT is set to 0 in step B1. This counter
The CNT is created in software and is associated with a predetermined address in the data storage unit.
This counter CNT is a row counter that counts each row of the video storage unit IPM. Next, in step B2, the processing data creation circuit LC is initialized.
That is, this applies the initial clear signal ICL to the OR gates 62, 64 and counter 7 of the circuit LC.
1 clear terminal CLR. This results in
This is done by clearing the counters 51, 52, and 71. Subsequently, in step B3, a clock generation command signal CLI is applied to the readout circuit R, and in the next step B4, 1 is added to the counter CNT. In step B3, when the clock generation command signal CL1 is applied to the readout circuit 6, the circuit R is activated to the video storage section.
Read out the memory contents of the first line of IPM sequentially. Then, in step B5, the output of the overflow terminal OFL of the counter 35 is read, and in step B6
At this point, it is determined whether the output of the overflow terminal OFL is "1", that is, whether the readout circuit R has finished generating clock pulses for one row of the video storage unit IPM. Here, step B continues until the overflow signal is output from the overflow terminal OFL.
5 and B6 are repeated. When an overflow signal is confirmed in step B6, the joint data lx and joint end data Ax are read from the processing data creation circuit LC and stored in the data storage section, respectively, in step B7. Next, in step B8,
It is determined whether the counter CNT has scanned n, that is, the image storage unit IPM has been scanned to the last line, and the process continues from step B2 to step B8 until this condition is satisfied.
It is repeated until the last line is scanned, and the counter is
When the content of CNT reaches n, proceed to step C.

ステツプB3において、クロツク発生指令信号
CLIが読出回路Rに入力されると、当該読出回路
Rは映像記憶部IPMの1行分を左から順次読み
出し、これを処理データ作成回路LCに入力する、
当該回路LCのフリツプフロツプ回路59は電源
の投入時、セツトあるいはリセツトのいずれかの
状態となる。いま、ここで、フリツプフロツプ回
路59がセツト状態にあり、映像記憶部IPMか
ら第22図に示す一連のデータが左から順次、1
行分クロツク発生回路30のクロツクに従つて読
み出されたとする。フリツプフロツプ回路59が
セツト状態にあるため、アンドゲート65が開
き、アンドゲート66は閉じる。したがつて、カ
ウンタ51は否定回路NOTを通つて入力される
“1”の数を順次計数する。(第22図b参照)同
時に、カウンタ71は1行分クロツク発生回路3
0からの読み出しクロツクパルスRCLを順次計
数する。5ビツト目から6ビツト目で、データは
“1”から“0”に立下る。そうすると、立下り
検出回路40がこれを検出し、立下り信号40S
を出力する。この時点で、カウンタ51の計数値
は「2」、カウンタ52の計数値は「0」、カウン
タ71の計数値は「5」となつている。したがつ
て、アンドゲート56が信号を出力し、セレクタ
53はカウンタ51の計数値「2」を出力する。
そして、フリツプフロツプ回路59がセツトされ
ることにより、アンドゲート65が閉じ、アンド
ゲート66が閉じる。また、レジスタ制御回路7
8がレジスタ制御信号RCSを出力し、レジスタ
72にはカウンタ71の計数値「5」がセツトさ
れる。更に、映像記憶部IPMからは連続して信
号が出力されているため、以後の“1”はカウン
タ52が計数する。そして、Pビツト目でデータ
が“1”から“0”に立下がると、立下に検出回
路40がこれを検出し、立下り信号40Sを出力
する。この時点で、カウンタ51の計数値は
「2」、カウンタ52の計数値は「lx」、カウンタ
71の計数値は「Ax」となる。そして、立下り
信号40Sの発生により、カウンタ52の計数値
「lx」がカウンタ51の計数値「2」よりも大で
あることから、フリツプフロツプ回路58がリセ
ツトされ、セレクタ53はカウンタ52の計数値
「lx」を出力し、更にフリツプフロツプ回路59
がリセツトされることからアンドゲート66が閉
じ、アンドゲート65が開き、カウンタ51はク
リアされる。また、レジスタ制御信号RCSが発
生し、レジスタ72にはカウンタ71の計数値
「Ax」がセツトされる。更に引き続き、今度はカ
ウンタ51が否定回路NOTからの“1”の数を
計数する。その後、gビツト目で再びデータが
“1”から“0”に立下ると、立下り検出回路4
0がこれを検出し、立下り信号40Sを出力す
る。この時点で、カウンタ51の計数値は「3」、
カウンタ52の計数値は「lx」、カウンタ71の
計数値は「g」となる。そして、立下り信号40
Sの発生により、カウンタ52の計数値「lx」が
カウンタ51の計数値「3」よりも大であること
からフリツプフロツプ回路58は再びリセツトさ
れ、セレクタ53はカウンタ52の計数値「lx」
を引き続き出力する。更に、フリツプフロツプ回
路59も再びリセツトされることから、アンドゲ
ート66が閉じ、アンドゲート65が開き、カウ
ンタ51はクリアされる。しかし、この状態にお
いて、レジスタ制御回路73からはレジスタ制御
信号RCSは発生されず、レジスタ72は「Ax」
を保持し続ける。以後、mビツト目まで、読出回
路Rの作用によつて1行分のデータが読み出され
るが、セレクタ53から出力される「lx」、レジ
スタ72から出力される「Ax」に変化はない。
したがつて、ステツプB7によつて、演算処理部
CPUは正確に接合部データlx、接合部端データ
Axを読み取ることができる。
In step B3, the clock generation command signal is
When CLI is input to the readout circuit R, the readout circuit R sequentially reads one line of the video storage unit IPM from the left and inputs it to the processing data creation circuit LC.
The flip-flop circuit 59 of the circuit LC is in either the set or reset state when the power is turned on. Now, the flip-flop circuit 59 is in the set state, and the series of data shown in FIG.
It is assumed that the data is read out according to the clock of the row clock generation circuit 30. Since flip-flop circuit 59 is in the set state, AND gate 65 is open and AND gate 66 is closed. Therefore, the counter 51 sequentially counts the number of "1"s input through the NOT circuit NOT. (See FIG. 22b) At the same time, the counter 71 clocks the clock generator 3 for one row.
The read clock pulses RCL from 0 are sequentially counted. From the 5th bit to the 6th bit, the data falls from "1" to "0". Then, the falling detection circuit 40 detects this and the falling signal 40S
Output. At this point, the count value of the counter 51 is "2", the count value of the counter 52 is "0", and the count value of the counter 71 is "5". Therefore, the AND gate 56 outputs a signal, and the selector 53 outputs the count value of the counter 51 "2".
Then, by setting the flip-flop circuit 59, the AND gate 65 is closed and the AND gate 66 is closed. In addition, the register control circuit 7
8 outputs a register control signal RCS, and the count value "5" of the counter 71 is set in the register 72. Furthermore, since signals are continuously output from the video storage unit IPM, the counter 52 counts subsequent "1"s. Then, when the data falls from "1" to "0" at the Pth bit, the detection circuit 40 detects this and outputs a falling signal 40S. At this point, the count value of the counter 51 becomes "2," the count value of the counter 52 becomes "lx," and the count value of the counter 71 becomes "Ax." Then, due to the generation of the falling signal 40S, the count value "lx" of the counter 52 is larger than the count value "2" of the counter 51, so the flip-flop circuit 58 is reset, and the selector 53 resets the count value of the counter 52. "lx" is output, and the flip-flop circuit 59
is reset, AND gate 66 is closed, AND gate 65 is opened, and counter 51 is cleared. Further, a register control signal RCS is generated, and the count value "Ax" of the counter 71 is set in the register 72. Subsequently, the counter 51 counts the number of "1"s from the NOT circuit NOT. After that, when the data falls from "1" to "0" again at the g-th bit, the falling detection circuit 4
0 detects this and outputs a falling signal 40S. At this point, the count value of the counter 51 is "3",
The count value of the counter 52 is "lx", and the count value of the counter 71 is "g". Then, the falling signal 40
Due to the occurrence of S, the count value "lx" of the counter 52 is larger than the count value "3" of the counter 51, so the flip-flop circuit 58 is reset again, and the selector 53 selects the count value "lx" of the counter 52.
will continue to be output. Furthermore, since the flip-flop circuit 59 is reset again, the AND gate 66 is closed, the AND gate 65 is opened, and the counter 51 is cleared. However, in this state, the register control signal RCS is not generated from the register control circuit 73, and the register 72 is set to "Ax".
continue to hold. Thereafter, one row of data is read out by the action of the readout circuit R up to the m-th bit, but there is no change in "lx" output from the selector 53 and "Ax" output from the register 72.
Therefore, in step B7, the arithmetic processing section
CPU accurately displays junction data lx, junction end data
Ax can be read.

この説明から明らかなように、処理データ作成
回路LCは第5図のように構成してあることによ
り、TVカメラ20により撮像した映像に接合部
5以上の半導体集積回路素子2のパターン、ある
いは傷等が黒く映し出された場合にも、これを誤
計数することなく、接合部5のみを有効に計数す
る、これは、接合部5の幅が他のパターン、傷等
のそれに比べ大きいものであるという思想に基づ
く。
As is clear from this explanation, since the processing data creation circuit LC is configured as shown in FIG. Even if the pattern appears black, only the joint 5 can be counted effectively without miscounting.This is because the width of the joint 5 is larger than that of other patterns, scratches, etc. Based on this idea.

以下、ステツプB2からステツプB8までの繰
り返しにより、映像記憶部IPMのn行目までの
各行についての接合部データlx、接合部端データ
Axが演算処理部CPU内のデータ記憶部に記憶さ
れる。
Thereafter, by repeating steps B2 to B8, the joint data lx and joint end data for each row up to the nth row of the video storage unit IPM are
Ax is stored in the data storage unit in the arithmetic processing unit CPU.

以上の処理が終了すると、データ記憶部内の記
憶内容に基づき、演算処理部CPUは接合部5の
良否判定に必要な種々のデータの算出処理を行な
う。すなわち、第29図に示すように、ステツプ
C1において、lminiとAminiの検索を行なう。
これは、データ記憶部から、各行のlxを順次読み
出して、これら相互を順次比較し、それらのうち
最も小さい値をxminiし、これと対応するAxを
Aminiとしてこの値をデータ記憶部の所定のアド
レスに格納する。続く、ステツプC2において
は、リード線4の中心Cまでの長さlcを算出す
る。これは第27図からも明らかなように、
Aminiからlminiを減算することによつて行なう。
ステツプC3においては、接合データlxを順次全
行読み出すためのカウンタxの初期設定、および
lminiより大きい接合部データlxの数をカウント
するためのカウンタyの初期設定を行なう。次の
ステツプC4では接合部5の接合部データlxかど
うかlminiと比較する。これは2次多項式に近似
できる接合部5の接合部データlxを抽出するため
のステツプである。そして、接合部データlxが
lminiより大きくなければステツプC7へ進み、
大きければステツプC5へ進み、カウンタyを1
だけカウントアツプし、更にカウンタyの値をデ
ータ記憶部のアドレスn1に記憶する。次のステ
ツプC6ではlxを中心線lcより左右に分割し、中
心線lcより左側をl1y、右側をl2yとし、計算後、
l1y、l2yはデータ記憶部に記憶する。これは、歪
率を求める際、接合部データlxだけの補正を行な
うと正確な値が求められないため、l1y、l2yの
各々を補正するようにしている。次のステツプC
7では全行につき接合部データlxを読み出したか
否をチエツクするためカウンタxをnを比較して
いる。全行の読み出しを終了していなければステ
ツプ8でカウンタxを1だけカウントアツプし、
再びステツプC4で戻る。終了していれば、実際
にデータを補正する処理を実行する。まず、ステ
ツプC9では一階差分値Δl1yを順次計算するた
めカウンタyの初期設定を行なう。次にステツプ
C10では一階差分値Δl1yの計算をし、ステツ
プC11では全ての一階差分値Δl1yの計算が終
了したか否かを比較している。ここで、n1は
lminiより長い、つまり接合部5の接合部データ
lxの数である。ステツプC11で全ての一階差分
値Δl1yの計算が終了していなければステツプC
12でカウンタyの1カウントアツプを行ない、
再びステツプC10へ戻る。終了すれば次に二階
差分値Δ2l1yを計算するステツプに移る。まず、
ステツプC13においては、二階差分値Δ2l1yを
順次計算してゆくための初期設定を行なう。次に
ステツプC14では二階差分値Δ2l1yの計算を実
行し、ステツプC15では全ての二階差分値
Δ2l1yの計算が終了したか否かを比較してチエツ
クする。一階差分値Δl1yの全数は(n1−1)個
なのでカウンタyの値を(n1−2)と比較し終
了したか否かを判断する。終了していなければス
テツプC16でカウンタyのカウントアツプを行
ない、ステツプC14へ戻る。終了すれば、二階
差分値Δ2l1yの許容範囲を決定するステツプへ移
る。これは例えば、第14図のヒストグラムにお
いて、正常と予想される二階差分値Δ2la、Δ2lb、
Δ2lc、Δld、Δ2leのグループAと、異常と予想さ
れる二階差分値Δ2lf、Δ2lg、Δ2lhのグループBと
を区別するための二階差分値Δ2l1yの許容範囲を
決定する処理である。このヒストクラムの特徴と
してはグループAはグループBに比べて頻度が高
く、グループAはある確率分布を示している。本
実施例においては、グループAの確率分布を正規
分布とし、許容範囲を第36図の分布の中心値
Δ2lsより分布の標準偏差6の3倍とすることにし
た。つまり、許容範囲の下限を(Δ2ls−36)と
し、上限を(Δ2ls+36)としている。これで分布
のほとんどである約99.7〔%〕は許容範囲とする
ことができる。なお、これは理想的な正期分布に
ついてである。本実施例においては、中心値
Δ2ls、標準偏差6を求めるデータのサンプリング
を次の様に行なう。例えば、第14図のヒストグ
ラムにおいて、まず最も高い頻度を示す二階差分
値Δ2lcを検索し、その頻度をデータ記憶部に記憶
しておく。次に、二階差分値Δ2lcを除いて最も高
い頻度を示す二階差分値Δ2lbを検索し、その頻
度を前の二階差分値Δ2lcの頻度に加算する。以
下、同様にして求めて行き、加算した頻度の全頻
度に占める割り合いがある一定値以上となつたと
ころで停止する。そして一定値以上とするまで検
索した二階差分値と対応する頻度とによりグルー
プAの平均値Δ2lsと標準偏差6を近似的に求める
のである。以下再び第30図のフローチヤートで
説明する。まず、ステツプC17では頻度の加算
のためf1及び最標度値Δ2l′m及びその頻度fmの
記憶のためmの初期設定を行なう。次にステツプ
C18では二階差分値Δ2l1yの中の最頻度値
Δ2l′m′と頻度fmの検索を行ない、更にデータ記
憶部に記憶する。ステツプC19では頻度fmの
積算を行ない、次のステツプC20で積算値の全
数に占める割合がある一定値以上となつたか否か
を判断している。本実施例においては一定値を90
〔%〕としている。もし、全数の90〔%〕を占めて
いなければステツプC21へ行き二階差分値
Δ2l1yの中より先の最頻度値Δ2lm′を取り除き、
ステツプC22においてmのカウントアツプを行
ない再びステツプC18へ戻る。もし、全数の90
〔%〕以上を占めていれば、第31図におけるス
テツプC23でΔ2lm′の平均値Δ2lsの計算を行な
い、次のステツプC24でΔ2lm′の標準偏差6の
計算を行なう。次のステツプC25で許容値の下
限Δ2ld、上限値Δ2luの計算を行ない、次に実際
にl1yの補正を行なうステツプに移る。二階差分
値Δ2l1yは第37図の差分の様子を示す図を見れ
ば明らかな様に、l1y+2、l1y+1の3点のデータによ
り影響を受ける。よつて、異常と発見できても3
点のうちどれが異常の根本原因かわからない。そ
こで、本実施例では、二階差分値Δ2l1yについて
yを最終番目(n1-2)に向つて調べるときは、
l1y+2が根本異常と判断し、yを第1番目に向つて
調べるときは、l1yが根本異常と判断するように
した。つまり、他の2点は正常であると判断する
のである。よつて、基準となるl1yを最低、連続
した2点を選定する必要がある。
When the above processing is completed, the arithmetic processing unit CPU calculates various data necessary for determining the quality of the joint 5 based on the contents stored in the data storage unit. That is, as shown in FIG. 29, in step C1, lmini and Amini are searched.
This sequentially reads lx of each row from the data storage unit, compares them sequentially, xminiizes the smallest value among them, and calculates the corresponding Ax.
This value is stored as Amini at a predetermined address in the data storage section. In the following step C2, the length lc of the lead wire 4 to the center C is calculated. This is clear from Figure 27,
This is done by subtracting lmini from Amini.
In step C3, initial setting of counter x for sequentially reading all rows of junction data lx, and
A counter y for counting the number of junction data lx larger than lmini is initialized. In the next step C4, the joint part data lx of the joint part 5 is compared with lmini. This is a step for extracting the junction data lx of the junction 5 that can be approximated by a quadratic polynomial. And the junction data lx is
If it is not larger than lmini, proceed to step C7.
If it is larger, proceed to step C5 and set the counter y to 1.
The value of the counter y is further stored in the address n1 of the data storage unit. In the next step C6, lx is divided into left and right sides from the center line lc, the left side from the center line lc is set as l1y, the right side is set as l2y, and after calculation,
l1y and l2y are stored in the data storage section. This is because when calculating the distortion factor, if only the joint data lx is corrected, an accurate value cannot be obtained, so each of l1y and l2y is corrected. Next step C
7, the counter x is compared with n in order to check whether the junction data lx has been read out for all rows. If all rows have not been read out, the counter x is incremented by 1 in step 8.
Return again to step C4. If completed, the process of actually correcting the data is executed. First, in step C9, the counter y is initialized in order to sequentially calculate the first-order difference value Δl1y. Next, in step C10, a first-order difference value Δl1y is calculated, and in step C11, a comparison is made to see if all the first-order difference values Δl1y have been calculated. Here, n1 is
Longer than lmini, that is, junction data of junction 5
is the number of lx. If all first-order difference values Δl1y have not been calculated in step C11, step C
At 12, count up the counter y by 1,
The process returns to step C10 again. Once completed, the next step is to calculate the second-order difference value Δ 2 l1y. first,
In step C13, initial settings are made to sequentially calculate the second-order difference values Δ 2 l1y. Next, in step C14, the calculation of the second-order difference value Δ 2 l1y is executed, and in step C15, it is compared and checked to see if the calculation of all the second-order difference values Δ 2 l1y has been completed. Since the total number of first-order difference values Δl1y is (n1-1), the value of the counter y is compared with (n1-2) to determine whether or not the process has ended. If the process has not been completed, the counter y is counted up in step C16, and the process returns to step C14. When the process is completed, the process moves to the step of determining the allowable range of the second-order difference value Δ 2 l1y. For example, in the histogram of FIG. 14, the second-order difference values Δ 2 la, Δ 2 lb, which are expected to be normal,
Tolerance of second-order difference value Δ 2 l1y to distinguish between group A of Δ 2 lc, Δld, and Δ 2 le and group B of second-order difference values Δ 2 lf, Δ 2 lg, and Δ 2 lh that are expected to be abnormal . This is the process of determining the range. The characteristics of this histogram are that group A has a higher frequency than group B, and group A shows a certain probability distribution. In this example, the probability distribution of group A is a normal distribution, and the allowable range is set to three times the standard deviation 6 of the distribution from the center value Δ 2 ls of the distribution in FIG. In other words, the lower limit of the allowable range is (Δ 2 ls−36) and the upper limit is (Δ 2 ls+36). This allows most of the distribution, approximately 99.7%, to be within the acceptable range. Note that this is about an ideal regular distribution. In this embodiment, sampling of data for determining the center value Δ 2 ls and standard deviation 6 is performed as follows. For example, in the histogram of FIG. 14, first, the second-order difference value Δ 2 lc indicating the highest frequency is searched, and the frequency is stored in the data storage unit. Next, the second-order difference value Δ 2 lb having the highest frequency other than the second-order difference value Δ 2 lc is searched for, and that frequency is added to the frequency of the previous second-order difference value Δ 2 lc. Thereafter, the calculations are performed in the same manner, and the calculation is stopped when the ratio of the added frequencies to the total frequency exceeds a certain value. Then, the average value Δ 2 ls and standard deviation 6 of group A are approximately determined based on the second-order difference value searched until it exceeds a certain value and the corresponding frequency. The process will be explained below with reference to the flowchart of FIG. 30 again. First, in step C17, f1 is initialized for frequency addition, m is initialized for storing the maximum standard value Δ 2 l'm, and its frequency fm. Next, in step C18, the most frequent value Δ 2 l'm' of the second order difference value Δ 2 l1y and the frequency fm are searched and further stored in the data storage section. In step C19, the frequency fm is integrated, and in the next step C20, it is determined whether the ratio of the integrated value to the total number has exceeded a certain value. In this example, the constant value is 90
It is expressed as [%]. If it does not account for 90% of the total number, go to step C21 and remove the most frequent value Δ 2 lm' from among the second-order difference values Δ 2 l1y.
In step C22, m is counted up and the process returns to step C18. If the total number is 90
[%] or more, the average value Δ 2 ls of Δ 2 lm' is calculated in step C23 in FIG . 31, and the standard deviation 6 of Δ 2 lm ' is calculated in the next step C24. In the next step C25, the lower limit Δ 2 ld and upper limit Δ 2 lu of the allowable values are calculated, and then the process moves to the step of actually correcting l1y. The second-order difference value Δ 2 l1y is influenced by the data at the three points l 1y+2 and l 1y+1 , as is clear from the diagram showing the difference in FIG. 37. Therefore, even if an abnormality is discovered, 3
I don't know which of the points is the root cause of the abnormality. Therefore, in this embodiment, when examining y toward the final value (n 1-2 ) for the second-order difference value Δ 2 l1y,
l 1y+2 was determined to be the fundamental abnormality, and when examining y toward the first, l 1 y was determined to be the fundamental abnormality. In other words, the other two points are determined to be normal. Therefore, it is necessary to select at least two consecutive points as the reference l 1 y.

本実施例では、まず第1番目より二階差分値
Δ2l1yを調べ、二階差分値Δ2l1yが連続してJ個、
許容限界に入つていれば、そのJ個の二階差分値
Δ2l1yの計算の元であるl1yは正常であると判断す
ることにした。
In this embodiment, first, the second-order difference values Δ 2 l 1 y are checked, and J second-order difference values Δ 2 l 1 y are consecutively determined.
If it is within the allowable limit, it is determined that l 1 y, which is the basis for calculating the J second-order difference values Δ 2 l 1 y, is normal.

今、二階差分値Δ2lpよりΔ2l(p+J−1)まで
連続して許容限界に入つていた場合、まずyを
(p−1)より第1番目に向つて調べていく。そし
て許容範囲外となる二階差分値Δ2l1yが出現した
らl1yが根本異常と判断し、次の様にl1yの補正及
びそれに伴なう修正を行なう。
Now, if the second-order difference value Δ 2 lp to Δ 2 l (p+J− 1 ) is continuously within the allowable limit, first y is investigated starting from (p− 1 ) toward the first one. If a second-order difference value Δ 2 l 1 y that is outside the allowable range appears, l 1 y is determined to be fundamentally abnormal, and l 1 y is corrected and corrections made accordingly as follows.

まず、二階差分値Δ2l1yを平均値Δ2lsにし、そ
れによりΔl1yを(8)式の様に修正する。
First, the second-order difference value Δ 2 l 1 y is set to the average value Δ 2 ls, and Δl 1 y is thereby corrected as shown in equation (8).

Δl1y=Δl1y+1−Δ2ls ………(8) そして、根本異常であるl1yを(9)式の様に補正
する。
Δl 1y = Δl 1y+1 −Δ 2 ls (8) Then, the fundamental abnormality l 1 y is corrected as shown in equation (9).

l1y=l1y+1−Δl1y ………(9) 更に、l1yを補正したことによりΔ1y-1も(10)式の
様に修正する。
l 1y = l 1y+1 −Δl 1y (9) Furthermore, by correcting l 1 y, Δ 1y-1 is also corrected as shown in equation (10).

Δl1y-1=l1y−l1y-1 ………(10) (y≧2) そして、Δl1yとΔl1y-1を修正したことにより
Δ2l1y-1を(11)式の様に修正する。
Δl 1y-1 = l 1y −l 1y-1 ………(10) (y≧2) Then, by correcting Δl 1y and Δl 1y-1 , Δ 2 l 1y-1 can be changed as shown in equation (11). Correct it to

Δ2l1y-1=Δl1y−Δl1y-1 ………(11) (y≧2) 最後に、Δl1y-1を修正したことによりΔ2l1y-2
(12)式の様に修正する。
Δ 2 l 1y-1 = Δl 1y − Δl 1y-1 ………(11) (y≧2) Finally, by correcting Δl 1y-1 , Δ 2 l 1y-2 becomes
Correct as shown in equation (12).

Δ2l1y-2=Δ1y-1−Δl1y-2 ………(12) (y≧3) 二階差分値Δ2l11まで調べ終つたら、次はyが
(P+J)より最終番目(n1−2)に向つてΔ2l1y
を調べていく。そして許容範囲外となるΔ2l1y
出現したらl1y+2が根本異常と判断し、次の様に
l1y+2の補正及びそれに供なう修正を行なう。
Δ 2 l 1y-2 = Δ 1y-1 −Δl 1y-2 ………(12) (y≧3) After checking up to the second-order difference value Δ 2 l 11 , next y is the final one from (P+J). Δ 2 l 1 y toward (n 1 −2)
I will investigate. Then, when Δ 2 l 1y that is outside the allowable range appears, l 1y+2 is determined to be a fundamental abnormality, and the following is done.
l Make the correction for 1y+2 and the corresponding corrections.

まず、Δ2l1yを平均値Δ2lsにし、それにより
Δl1y+1を(13)式の様に修正する。
First, Δ 2 l 1y is set to the average value Δ 2 ls, and Δl 1y+1 is thereby corrected as shown in equation (13).

Δl1y+1=Δl1y+Δ2ls ………(13) そして、根本異常であるl1y+2を(14)式の様に
補正する。
Δl 1y+1 = Δl 1y + Δ 2 ls (13) Then, the fundamental abnormality l 1y+2 is corrected as shown in equation (14).

l1y+2=l1y+1+Δl1y+1 ………(14) 更に、l1y+2を補正したことによりΔ1y+2を(15)
式の様に修正する。
l 1y+2 = l 1y+1 + Δl 1y+1 ………(14) Furthermore, by correcting l 1y+2 , Δ 1y+2 becomes (15)
Modify it as shown in the formula.

Δl1y+2=l1y+3−l1y-2 ………(15) (y≦n1−3) そして、Δl1y+1とΔl1y+2を修正したことにより
Δ2l1y+1を(16)式の様に修正する。
Δl 1y+2 = l 1y+3 −l 1y-2 ………(15) (y≦n 1 −3) And by correcting Δl 1y+1 and Δl 1y+2 , Δ 2 l 1y+1 Correct as shown in equation (16).

Δ2l1y+1=Δl1y+2−Δl1y+1 ………(16) (y≦n1−3) 最後に、Δl1y+2を修正したことによりΔ2l1y+2
(17)式の様に修正する。
Δ 2 l 1y+1 = Δl 1y+2 − Δl 1y+1 ………(16) (y≦n 1 −3) Finally, by correcting Δl 1y+2 , Δ 2 l 1y+2 becomes ( 17) Correct as shown in the formula.

Δ2l1y+2=Δl1y+3−Δl1y+2 ………(17) (y≦n1−4) 以上、再び第31図のフローチヤートで説明す
る。まず、二階差分値Δ2l1yが連続してJ個、許
容範囲内に入る部分をyを1より探策する処理を
行なう。ステツププC26ではyの初期設定を行
ない、ステツプC27では許容範囲内に入る
Δ2l1yの個数をカウントするためのカウンタZの
初期設定を行なう。次のステツプC28ではyの
カウントアツプを行ない、ステツプC29におい
てΔ2l1yが許容範囲内に入つているか否かを判し、
入つていなければステツプC27へ戻り、入つて
いればステツプC30へ進みZのカウントアツプ
を行ないステツプC31へ進む。ここでは、二階
差分値Δ2l1yが全数読出されたか判断している。
全数読出された場合、基準となるl1yが発見でき
なかつたとしてステツプC32へ進み、補正不能
であることを外部へ知らせる処理を実行する。全
数読出されない場合ステツプC33へ進みZが規
定数に達したかどうか調べる。本実施例では規定
数Jを5個としている。ステツプC33でZが5
に達していなかつたら、再びC28へ戻り、達す
れば第32図におけるステツプC34へ進む。ス
テツプC34では許容範囲内に入つたΔ2l1yの最
終のyをデータ記憶部のアドレスn2へ記憶してお
く。次のステツプC35ではyを許容範囲内に最
初に入つた1つの手前の位置にもつてくるため現
在のyより5だけ差引いている。次のステツプC
36では、二階差分値Δ2l1yを第1番目(y=1)
に向つて補正する必要があるか否かを判断してい
る。ここで、yが0でなければ、補正する必要が
あると判断し、補正の処理へ移る。まず、第33
図のステツプC44では、Δ2l1yが許容範囲に入
つているか否かを調べ、入つていればステツプC
50へ移り、入つていなければ補正の処理を行な
う。まずステツプC45ではΔ2l1yを平均値Δ2ls
とすることによりΔl1y、更にl1yの補正を行なう。
次にステツプC46でyが2以上であれば、更に
ステツプC47でΔl1y-1、Δ2l1y-1の修正を行な
い、2以上でなければyが1であると判断し、ス
テツプC37へ移る。ステツプC47で修正後、
ステツプC48へ移り、yが3以上であれば、更
にステツプC49でΔ2l1y-2の修正を行なう。3
以上でなければステツプC50へ進み、yのカウ
ントダウンを行なう。またステツプC49で修正
後、同じくステツプC50へ進む。次のステツプ
C51ではyが第1番目まで調べ終つたかどうか
判断している。終了していなければステツプC4
4へ再び戻る。終了していれば第32図における
次のステツプC37へ移る。ステツプC36にお
いてyが0、つまりyが第1番目より5個、許容
範囲内に入つていた場合もステツプC37へ進
む。次のステツプC37では、アドレスn2の内容
に1加えたものをyとし、次のステツプC38で
Δ2l1yが許容範囲内に入つているかどうか調べ。
入つていればステツプC42へ進み、入つていな
ければ補正の処理を行なう。まず、ステツプC3
9でΔ2l1yを平均値Δ2lsにすることによりΔl1y+1
l1y+2の修正を行ない、次のステツプC40でyが
(n1−3)以下でなければΔ2l1yを全数読出したと
班断し、ステツプC54へ進み、以下であればス
テツププC41へ進み、Δl1y+2、Δ2l1y+1の修正を
行なう。更にステツプC52でyが(n1−4)以
下であればステツプC53へ進みΔ2l1y+2の修正
を行なう。(n1−4)以下でなければステツプC
43へ進む。尚、ステツプC38で許容範囲内に
入つていればステツプC42でΔ2l1yが全数読出
しが終了したか否かを判断し、終了していればス
テツプC54へ進み、終了していなければC43
へ進みyの1カウントアツプを行ない、再びステ
ツプC38へ戻る。
Δ 2 l 1y+2 = Δl 1y+3 −Δl 1y+2 (17) (y≦n 1 −4) The above will be explained again using the flowchart of FIG. 31. First, a process is performed in which a portion where J second-order difference values Δ 2 l 1 y consecutively fall within the allowable range is searched for when y is set to 1. In step C26, y is initialized, and in step C27, a counter Z for counting the number of Δ 2 l 1 y that falls within the allowable range is initialized. In the next step C28, y is counted up, and in step C29 it is determined whether Δ 2 l 1 y is within the allowable range.
If not, the process returns to step C27; if it is, the process proceeds to step C30, where Z is counted up, and the process proceeds to step C31. Here, it is determined whether all second-order difference values Δ 2 l 1 y have been read out.
If all the numbers have been read out, it is assumed that the reference l 1 y has not been found, and the process proceeds to step C32, where a process is executed to notify the outside that correction is impossible. If all the numbers have not been read out, the process advances to step C33 to check whether Z has reached the specified number. In this embodiment, the specified number J is five. Z is 5 at step C33
If this has not been reached, the process returns to step C28, and if it has been reached, the process proceeds to step C34 in FIG. In step C34, the final y of Δ 2 l 1 y that falls within the allowable range is stored at address n 2 of the data storage section. In the next step C35, 5 is subtracted from the current y in order to bring y to the position before the first one within the tolerance range. Next step C
36, the second-order difference value Δ 2 l 1 y is the first (y=1)
It is determined whether or not it is necessary to make corrections toward the future. Here, if y is not 0, it is determined that correction is necessary, and the process moves to correction processing. First, the 33rd
In step C44 of the figure, it is checked whether Δ 2 l 1 y is within the allowable range, and if it is, step C44 is performed.
The process moves to step 50, and if it is not included, correction processing is performed. First, in step C45, Δ 2 l 1 y is set to the average value Δ 2 ls
By doing so, Δl 1 y and further l 1 y are corrected.
Next, if y is 2 or more in step C46, Δl 1y-1 and Δ 2 l 1y-1 are further corrected in step C47, and if y is not 2 or more, it is determined that y is 1, and the process goes to step C37. Move. After modifying in step C47,
The process moves to step C48, and if y is 3 or more, further correction of Δ 2 l 1y-2 is performed in step C49. 3
If not, the process proceeds to step C50 and counts down y. After correction in step C49, the process also proceeds to step C50. In the next step C51, it is determined whether y has been checked up to the first position. If not completed, step C4
Return to 4 again. If the process has been completed, the process moves to the next step C37 in FIG. If y is found to be 0 in step C36, that is, five y's from the first value are within the allowable range, the process also proceeds to step C37. In the next step C37, 1 is added to the content of the address n2 , which is set as y, and in the next step C38, it is checked whether Δ2l1y is within the allowable range.
If it is found, the process advances to step C42; if it is not found, correction processing is performed. First, step C3
By setting Δ 2 l 1y to the average value Δ 2 ls in step 9, Δl 1y+1 ,
l 1y+2 is corrected, and if y is less than or equal to (n 1 -3) in the next step C40, it is determined that all Δ 2 l 1y have been read out, and the process proceeds to step C54, and if it is less than or equal to that, the process proceeds to step C41. Proceed and correct Δl 1y+2 and Δ 2 l 1y+1 . Furthermore, if y is less than (n 1 -4) at step C52, the process proceeds to step C53, where Δ 2 l 1y+2 is corrected. If it is less than (n 1 - 4), step C
Proceed to 43. If it is within the allowable range in step C38, it is determined in step C42 whether or not all readings of Δ 2 l 1y have been completed, and if so, the process advances to step C54, and if not, the process advances to step C43.
The process advances to step C38, increments y by 1, and returns to step C38.

二階差分値Δ2l1y全数読出し終了すればステツ
プC54へ進む。このステツプではl1yについて
行つた補正と同じ内容をl2yについても行なう。
When the reading of all second-order difference values Δ 2 l 1y is completed, the process advances to step C54. In this step, the same corrections made for l 1 y are made for l 2 y.

以上の処理が終了すると、データ記憶部内の記
憶内容に基づき、演算処理部CPUは接合部5の
良否判定に必要な種々のデータの算出処理を行な
う。まず、ステツプC55においては、以下のス
テツプ実行のため、接合部面積Σlx、接合部有効
長さlt、面積ΣBを格納するデータ記憶部の各々
のアドレスをクリアする。次のステツプC56に
おいては、各行の1つひつきそのl1y、l2yを読み
出す。続くステツプC57においては、このl1y、
l2yを加算し、これを接合部データlxとする。そ
して、ステツプC58において、当該lxが1.2・
lminiよりも大きいか否かを判定し、大きければ
ステツプC59においてこのlxの値をΣlxとして
設定されたアドレスに加算する。そして、更に
(l2y+ΣB)の値をΣBとして設定されたアドレス
に加算し、接合部5の長さの格納アドレスとして
設定されたltに1を加算する。ステツプC58に
おいて、lxが1.2・lmini以上でない場合、この行
の値は無視されステツプC60に至る。ステツプ
C60では、各行につきステツプC56,C5
7,C58,C59が実行されたか否かを判定
し、否であれば次の行につきステツプC56,C
57,C58,C59を実行する。すなわち、こ
のステツプC56,C57,C58,C59は各
行、すなわち第20図からも明らかなようにn回
繰り返されることになる。ステツプC60におい
て、各行の処理が完了したことが確認されると、
ステツプDの処理に進む。この時点において、接
合部面積が格納されるアドレスΣlxには接合部lx
に対応するビツト数、すなわち記憶部の数値が格
納される。同様に、lt、ΣBにもこれに対応する
ビツト数値が格納される。
When the above processing is completed, the arithmetic processing unit CPU calculates various data necessary for determining the quality of the joint 5 based on the contents stored in the data storage unit. First, in step C55, each address of the data storage unit storing the joint area Σlx, the joint effective length lt, and the area ΣB is cleared in order to execute the following steps. In the next step C56, l 1 y and l 2 y of each row are read out one by one. In the following step C57, this l 1 y,
Add l 2 y and use this as junction data lx. Then, in step C58, the lx is 1.2.
It is determined whether or not it is larger than lmini, and if it is larger, the value of lx is added to the address set as Σlx in step C59. Then, the value of (l 2 y+ΣB) is further added to the address set as ΣB, and 1 is added to lt set as the storage address for the length of the joint portion 5. In step C58, if lx is not greater than 1.2·lmini, the value in this row is ignored and the process proceeds to step C60. In step C60, steps C56 and C5 are performed for each row.
7, C58, C59 are executed or not, and if not, steps C56, C59 are executed for the next line.
57, C58, and C59. That is, steps C56, C57, C58, and C59 are repeated n times in each row, as is clear from FIG. 20. In step C60, when it is confirmed that the processing of each row has been completed,
Proceed to step D. At this point, the address Σlx where the junction area is stored is the junction lx.
The number of bits corresponding to , that is, the numerical value in the storage section is stored. Similarly, the corresponding bit values are stored in lt and ΣB.

ステツプDにおいては、以上にて算出した各種
のデータに基づき、判定処理を実行する。すなわ
ち、第35図において、ステツプD1で面積増加
率Waを算出する。これは(1)式に基づいて行な
う。そして、結果はデータ記憶部のWaとして予
め設定したアドレスに格納しておく。ステツプ
D2において、前記ステツプCで算出したΣlx、
ΣBとからΣAを算出し、これをデータ記憶部に格
納する。以上の算出結果を基に、次に歪率Wcを
算出する。この算出に当つては、まずステツプ
D3でΣAとΣBの大小の比較を行ない、その大小
に対し、ステツプD4かステツプD4′のいずれか一
方のステツプで歪率Wcを算出し、この値をデー
タ記憶部に格納する。以下は実際の判定を行なう
ステツプであり、ステツプD5においてはデータ
記憶部に格納した面積増加率Waを取り出し、当
該面積増加率Waと、許容最小面積増加率w1、お
よび許容最大面積増加率2とをそれぞれ比較し、
当該面積増加率Waがこの範囲にあればステツプ
D6に進み、この範囲外であれば、ステツプD7′に
進み不良品であると判定する。許容最小、許容最
大面積増加率w1,w2は例えば第7図について見
れば、30〔%〕、55〔%〕等がこれに当る。ステツ
プD6においては、歪率Wcの判定を行なう。すな
わち、データ記憶部に格納した歪率Wcを取り出
し、これを許容最大歪wcとを比較し、歪率がこ
の範囲内であれば、ステップD7において良品、
またこの範囲外であればステツプD7′において不
良品と判定する。許容最大歪率wcとは、例えば
第9図において、20〔%〕等がこれに当る。ステ
ツプD7,D7′において、演算処理装置CPUはその
判定結果に対応する信号を外部出力し、例えばス
テツプD7′の処理においてはその信号で警報等を
発するか、あるいは当該製品を不良としてライン
から外すか等の制御上の処理が成される等、有効
に利用される。また、ステツプD7による信号で、
当該製品が次段に送られ、更に次の製品の接合部
の検査が実行される。以上のようにして一連の検
査が終了する。
In step D, a determination process is executed based on the various data calculated above. That is, in FIG. 35, the area increase rate Wa is calculated in step D1 . This is done based on equation (1). The result is then stored at a preset address as Wa in the data storage section. step
In D 2 , Σlx calculated in step C above,
ΣA is calculated from ΣB and stored in the data storage unit. Based on the above calculation results, the distortion factor Wc is then calculated. For this calculation, first
At D3 , the magnitudes of ΣA and ΣB are compared, and based on the magnitude, a distortion factor Wc is calculated at either step D4 or step D4 ', and this value is stored in the data storage section. The following are the steps for making the actual determination. In Step D5 , the area increase rate Wa stored in the data storage unit is retrieved, and the area increase rate Wa, the allowable minimum area increase rate w 1 , and the allowable maximum area increase rate Compare each with 2 ,
If the area increase rate Wa is within this range, step
The process proceeds to step D6 , and if it is outside this range, the process proceeds to step D7 ', where it is determined that the product is defective. For example, in FIG. 7, the allowable minimum and allowable maximum area increase rates w 1 and w 2 are 30 [%], 55 [%], etc. In step D6 , the distortion factor Wc is determined. That is, the distortion factor Wc stored in the data storage section is extracted and compared with the allowable maximum distortion wc, and if the distortion factor is within this range, the product is determined to be non-defective in step D7 .
If the product is outside this range, it is determined to be defective at step D7 '. The maximum allowable distortion factor wc is, for example, 20% in FIG. 9. In steps D 7 and D 7 ′, the arithmetic processing unit CPU outputs a signal corresponding to the judgment result to the outside, and for example, in the process of step D 7 ′, the signal is used to issue an alarm, or to mark the product as defective. It is used effectively, such as by performing control processing such as removing it from the line. Also, with the signal from step D7 ,
The product is sent to the next stage, and the joints of the next product are inspected. The series of tests is completed in the above manner.

以上、実施例においては、検査速度を向上する
ため、演算処理部CPUの周辺に読出回路R、映
像記憶部IPM、処理データ作成回路LCを配置し
た場合について説明したが、これは検査装置とし
ての仕様が許されるものであれば、省略すること
ができる。すなわち、TVカメラ20からの信号
を2値化回路BCにより2値化し、これを演算処
理部CPUが直接取り込み、これにより各処理を
実行するようにしてもよい。更に、これに映像記
憶部IPMを追加し、映像記憶部IPMと演算処理
装置CPUとの対応で各処理を実行するようにし
てもよい。
In the above embodiments, the case where the readout circuit R, the image storage unit IPM, and the processed data creation circuit LC are arranged around the arithmetic processing unit CPU in order to improve the inspection speed has been described. It can be omitted if the specifications allow it. That is, the signal from the TV camera 20 may be binarized by the binarization circuit BC, and this may be directly taken in by the arithmetic processing unit CPU, thereby executing each process. Furthermore, a video storage unit IPM may be added to this, and each process may be executed in correspondence with the video storage unit IPM and the arithmetic processing unit CPU.

また、TVカメラ20の設置位置について特に
説明を行なわなかつたが、これは接合部5が撮像
できる位置であればよく、例えばホンデイング装
置のアーム等への取り付けが考えられる。また、
以上の実施例においては、接合部5が削像面の端
と平行、すなわち、リード線4の中心線が撮像の
端と平行になるよう接合部5の位置に対しTVカ
メラ20を配置する場合について説明したが、本
発明はこれに限定されるものではない。すなわち
接合部5が撮像面の端に対し傾いても、これの検
出は可能であり、従つてその補正も可能である。
Although the installation position of the TV camera 20 has not been specifically explained, it may be any position where the joint portion 5 can be imaged, and for example, it may be installed on the arm of a Honging device. Also,
In the above embodiment, when the TV camera 20 is arranged at the position of the joint 5 so that the joint 5 is parallel to the edge of the image plane, that is, the center line of the lead wire 4 is parallel to the imaging end. However, the present invention is not limited thereto. That is, even if the joint portion 5 is tilted with respect to the edge of the imaging plane, this can be detected and therefore corrected.

また、以上の実施例においては、超音波法を採
用したワイヤ・ボンデイング装置により接合され
た接合部をその検査の対象とした場合について説
明したが、本発明はこれに限らず、ボール法、ス
テツク法等によつて代表される熱圧着法等を採用
したワイヤ・ボンデイング装置によつて形成され
る接合部の検査にもその応用は可能である。更
に、本発明は上記の超音波接合、あるいは熱圧着
法に代表される拡散接合等の圧接により形成され
る接合部に限るものではない。すなわち、融接、
圧接、ろう付等の溶接、あるいは他の接合手段に
よつて形成される接合部の検査に広く利用可能な
ものである。また、実施例においては、リード線
4と半導体集積回路素子あるいはポスト3との接
合部につき説明したが、本発明においては、部材
はこれらのものに限定されるものではなく、更に
はそれらの部材の数にも限定はない。
Furthermore, in the above embodiments, a case has been described in which a bonded portion bonded by a wire bonding device employing an ultrasonic method is inspected, but the present invention is not limited to this, and the present invention is not limited to this. The present invention can also be applied to the inspection of joints formed by wire bonding equipment employing thermocompression bonding methods such as those typified by the method. Furthermore, the present invention is not limited to the bonded portion formed by pressure bonding such as the above-mentioned ultrasonic bonding or diffusion bonding typified by thermocompression bonding. i.e. fusion welding,
It can be widely used to inspect joints formed by pressure welding, welding such as brazing, or other joining means. Further, in the embodiment, the joint portion between the lead wire 4 and the semiconductor integrated circuit element or the post 3 has been described, but in the present invention, the members are not limited to these, and furthermore, the members are not limited to these. There is no limit to the number of

又、更に、実施例においては、接合部分の幅デ
ータの補正を、当該接合部5の各行の幅データが
2次多項式に近似可能であり、この2次多項式の
二階微分した値が定数に着目し、二階微分値が大
きく変化した所を異常と判定し、これによつてそ
の補正を行なうようにした場合について説明し
た。しかし、本発明はこれに限定されるものでは
なく、2次多項式を最小二乗法により求め、これ
に基づいて補正を行なうようにしてもよい。ま
た、他の数学的な手法を用いてもよい。
Furthermore, in the embodiment, the width data of the joint part 5 can be approximated to a second-order polynomial, and the second-order differentiated value of this second-order polynomial is used to correct the width data of the joint part 5 by focusing on a constant. However, a case has been described in which a location where the second-order differential value changes significantly is determined to be abnormal, and correction is performed based on this. However, the present invention is not limited to this, and a second-order polynomial may be obtained by the least squares method, and correction may be performed based on this. Also, other mathematical methods may be used.

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

以上の説明から明らかなように、本発明によれ
ば接合部に外力を作用させることなく、非接触で
当該接合部の検査が可能であり、しかも検査精度
を向上することのできる接合部の検査装置を得る
ことができる。
As is clear from the above description, according to the present invention, it is possible to inspect a joint in a non-contact manner without applying external force to the joint, and the inspection accuracy can be improved. You can get the equipment.

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

第1図は従来の検査装置を説明するための図、
第2図は接合部の一例を示す平面図、第3図は同
側面図、第4図は接合部の他の例を示す平面図、
第5図は本発明装置の一実施例を示すブロツク
図、第6図は本発明を説明するための接合部の平
面図、第7図は本発明を説明するための図、第8
図は本発明を説明するための接合部の平面図、第
9図は本発明を説明するための図、第10図は本
発明を説明するための接合部の平面図、第11
図、第12図、第13図、第14図は本発明を説
明するための図、第15図はテレビジヨン・カメ
ラの原理を示す説明図、第16図はボンデイング
装置のグループ形状を示す図、第17図は接合部
の断面図、第18図は撮像の壱例を示す図、第1
9図は2値化回路の一例を示す回路図、第20図
は2値化された撮像の一例を示す図、第21図は
一行分クロツク発生回路の一例を示すブロツク
図、第22図は映像記憶部からの出力の一例を示
す図、第23図は立下り検出回路の一例を示すブ
ロツク図、第24図は第23図の各部の動作波形
を示すタイムチヤート、第25図はレジスタ制御
回路の一例を示すブロツク図、第26図は演算処
理部の制御手順の一例を示すフローチヤート、第
27図は演算処理部の動作を説明するための説明
図、第28図、第29図、第30図、第31図、
第32図、第33図、第34図、第35図は第2
6図における処理を詳細に示すフローチヤート、
第36図、第37図は演算処理部の動作を説明す
るための説明図である。 5:接合部、IP:撮像手段、20:テレビジ
ヨン・カメラ、PC:処理手段、BC:2値化手
段、IPM:映像記憶手段、R:読出手段、LC:
処理データ作成回路、LX:接合部検出手段、
AX:接合部端検出回路、40:立下り検出回
路、CPU:演算処理部、BC,IPM,R,LC,
ステツプB1〜B8:抽出手段、ステツプC1〜
C38:判定手段、ステツプC39〜C54:補
正手段、ステツプC55〜C60、ステツプD:
良否判定手段。
FIG. 1 is a diagram for explaining a conventional inspection device.
FIG. 2 is a plan view showing an example of the joint, FIG. 3 is a side view of the same, and FIG. 4 is a plan view showing another example of the joint.
FIG. 5 is a block diagram showing one embodiment of the device of the present invention, FIG. 6 is a plan view of a joint portion for explaining the present invention, FIG. 7 is a diagram for explaining the present invention, and FIG. 8 is a diagram for explaining the present invention.
The figures are a plan view of a joint for explaining the present invention, FIG. 9 is a diagram for explaining the present invention, FIG. 10 is a plan view of a joint for explaining the present invention, and FIG.
Figures 12, 13, and 14 are diagrams for explaining the present invention, Figure 15 is an explanatory diagram showing the principle of a television camera, and Figure 16 is a diagram showing the group shape of the bonding device. , FIG. 17 is a cross-sectional view of the joint, FIG. 18 is a diagram showing one example of imaging, and FIG.
FIG. 9 is a circuit diagram showing an example of a binarization circuit, FIG. 20 is a diagram showing an example of binarized imaging, FIG. 21 is a block diagram showing an example of a one-line clock generation circuit, and FIG. FIG. 23 is a block diagram showing an example of the falling detection circuit; FIG. 24 is a time chart showing the operating waveforms of each part in FIG. 23; FIG. 25 is register control. A block diagram showing an example of the circuit, FIG. 26 is a flowchart showing an example of the control procedure of the arithmetic processing section, FIG. 27 is an explanatory diagram for explaining the operation of the arithmetic processing section, FIGS. 28, 29, Figure 30, Figure 31,
Figures 32, 33, 34, and 35 are
A flowchart showing details of the processing in FIG. 6,
FIGS. 36 and 37 are explanatory diagrams for explaining the operation of the arithmetic processing section. 5: Joint part, IP: Imaging means, 20: Television camera, PC: Processing means, BC: Binarization means, IPM: Image storage means, R: Reading means, LC:
Processing data creation circuit, LX: joint detection means,
AX: Junction end detection circuit, 40: Fall detection circuit, CPU: Arithmetic processing unit, BC, IPM, R, LC,
Steps B1-B8: Extraction means, Steps C1-
C38: Determination means, Steps C39-C54: Correction means, Steps C55-C60, Step D:
Good/failure judgment means.

Claims (1)

【特許請求の範囲】 1 接合部材の接合部分を撮像し撮像面に結像し
た映像を複数行に分け、各行を順次操作し前記映
像を電気信号に変換して出力する撮像手段と、当
該撮像手段からの映像信号より各行における接合
部分の幅データを抽出する抽出手段と、当該抽出
手段により抽出された各行における幅データを他
の行の幅データとの関連により補正の要否を判定
する判定手段と、当該判定手段により補正要と判
定された場合に当該行の幅データを補正する補正
手段と、前記判定手段と前記補正手段とにより決
定された各行の幅データに基づいて前記接合部の
良否を判定する良否判定手段とを具備して成る接
合部の検査装置。 2 接合部材はリード線であることを特徴とする
特許請求の範囲第1項記載の接合部の検査装置。 3 接合部は、相手部材に対し接合部材が接合手
段により塑性変形された部分であることを特徴と
する特許請求の範囲第1項記載の接合部の検査装
置。 4 接合部は、接合部材を溶接によつて接合した
部分に形成されたものであることを特徴とする特
許請求の範囲第1項記載の接合部の検査装置。 5 接合部は、リード線を相手部材にワイア・ボ
ンデイング装置によつて接合した部分に形成され
たものであることを特徴とする特許請求の範囲第
1項記載の接合部の検査装置。 6 撮像手段は固体撮像素子を備えたものである
ことを特徴とする特許請求の範囲第1項記載の接
合部の検査装置。 7 抽出手段は撮像手段からの映像信号を画素ご
とに2値化して出力する2値化手段を具備して成
る特許請求の範囲第1項記載の接合部の検査装
置。 8 抽出手段は、2値化手段の出力を画素ごとに
一時記憶し、結果的に撮像手段の撮像面に結像し
た映像を2値化して記憶する映像記憶手段を備え
て成る特許請求の範囲第7項記載の接合部の検査
装置。 9 抽出手段は、映像記憶手段の記憶内容に基づ
いて接合部分の各行の幅データを抽出し、判定手
段と補正手段はこの各行の幅データに基づいて接
合部材の幅データを決定することを特徴とする特
許請求の範囲第8項記載の接合部の検査装置。 10 抽出手段は、映像記憶手段の記憶内容から
接合部材の幅の抽出に必要なデータを作成する処
理データ作成手段を備え、当該処理データ作成手
段からの出力データに基づいて各行における接合
部分の幅データを抽出することを特徴とする特許
請求の範囲第8項記載の接合部の検査装置。 11 抽出手段は、映像記憶手段の記憶内容を順
次読み出す読出手段を備えて成る特許請求の範囲
第10項記載の接合部の検査装置。 12 映像記憶手段に記憶された映像を複数の画
素で構成した複数の行に区分けし、処理データ作
成手段は当該行単位に処理に必要なデータを作成
することを特徴とする特許請求の範囲第10項記
載の接合部の検査装置。 13 映像記憶手段に記憶された映像を複数の画
素で構成した複数の行に区分けし、読出手段は当
該行単位に記憶内容を読み出すことを特徴とする
特許請求の範囲第11項記載の接合部の検査装
置。 14 処理データ作成手段は行単位に接合部デー
タを出力することを特徴とする特許請求の範囲第
12項記載の接合部の検査装置。 15 処理データ作成手段は行単位に接合部分の
幅データと、接合部分の端データを出力すること
を特徴とする特許請求の範囲第12項記載の接合
部の検査装置。
[Scope of Claims] 1. Imaging means that images the joint portion of the joining member and divides the image formed on the imaging surface into a plurality of lines, sequentially operates each row, converts the image into an electrical signal, and outputs the image; Extraction means for extracting width data of a joint portion in each row from a video signal from the means, and a determination for determining whether or not correction is necessary for the width data in each row extracted by the extraction means in relation to the width data of other rows. correction means for correcting the width data of the row when the judgment means determines that correction is necessary; A joint inspection device comprising a quality determining means for determining quality. 2. The joint inspection device according to claim 1, wherein the joint member is a lead wire. 3. The joint part inspection device according to claim 1, wherein the joint part is a part where the joint member is plastically deformed by the joining means with respect to the mating member. 4. The joint part inspection device according to claim 1, wherein the joint part is formed at a portion where joining members are joined by welding. 5. The joint inspection device according to claim 1, wherein the joint is formed at a portion where the lead wire is joined to a mating member by a wire bonding device. 6. The joint inspection device according to claim 1, wherein the imaging means includes a solid-state imaging device. 7. The joint inspection device according to claim 1, wherein the extraction means includes binarization means for binarizing and outputting the video signal from the imaging means for each pixel. 8. Claims in which the extraction means comprises an image storage means that temporarily stores the output of the binarization means pixel by pixel, and binarizes and stores the resulting image formed on the imaging surface of the imaging means. 8. The joint inspection device according to item 7. 9. The extracting means extracts the width data of each line of the joint part based on the stored content of the video storage means, and the determining means and the correction means determine the width data of the joint member based on the width data of each row. A joint inspection device according to claim 8. 10 The extraction means includes processing data creation means for creating data necessary for extracting the width of the joint member from the memory content of the video storage means, and calculates the width of the joint part in each row based on the output data from the processing data creation means. 9. The joint inspection device according to claim 8, which extracts data. 11. The joint inspection device according to claim 10, wherein the extracting means includes reading means for sequentially reading out the stored contents of the video storage means. 12. Claim No. 1 characterized in that the video stored in the video storage means is divided into a plurality of lines each composed of a plurality of pixels, and the processing data creation means creates data necessary for processing for each row. The joint inspection device according to item 10. 13. The joint according to claim 11, wherein the video stored in the video storage means is divided into a plurality of rows each composed of a plurality of pixels, and the reading means reads out the stored content in units of rows. inspection equipment. 14. The joint inspection device according to claim 12, wherein the processing data creation means outputs the joint data on a line-by-row basis. 15. The joint inspection device according to claim 12, wherein the processing data creation means outputs width data of the joint and end data of the joint on a line-by-row basis.
JP58184982A 1983-10-05 1983-10-05 Device for inspecting joint part Granted JPS6078306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58184982A JPS6078306A (en) 1983-10-05 1983-10-05 Device for inspecting joint part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58184982A JPS6078306A (en) 1983-10-05 1983-10-05 Device for inspecting joint part

Publications (2)

Publication Number Publication Date
JPS6078306A JPS6078306A (en) 1985-05-04
JPH0249016B2 true JPH0249016B2 (en) 1990-10-26

Family

ID=16162725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58184982A Granted JPS6078306A (en) 1983-10-05 1983-10-05 Device for inspecting joint part

Country Status (1)

Country Link
JP (1) JPS6078306A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001116522A (en) * 1999-10-15 2001-04-27 Sharp Corp Inspection method and inspection device for interconnector welds

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01142407A (en) * 1987-11-30 1989-06-05 Toshiba Corp Checking apparatus for wire bonding

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001116522A (en) * 1999-10-15 2001-04-27 Sharp Corp Inspection method and inspection device for interconnector welds

Also Published As

Publication number Publication date
JPS6078306A (en) 1985-05-04

Similar Documents

Publication Publication Date Title
US6347150B1 (en) Method and system for inspecting a pattern
CN1331206C (en) Method for inspecting defect
JP2003057019A (en) Pattern inspection device and inspection method using the same
JPH0249016B2 (en)
US4581706A (en) Method and apparatus for testing a joint
JPH08204096A (en) Method of lead visual inspection of semiconductor device and inspector
JPH0145744B2 (en)
JP3187252B2 (en) Pattern outline inspection device
JP3218875B2 (en) Three-dimensional object shape inspection device
JP3919505B2 (en) Pattern inspection apparatus and method
RU2404440C1 (en) Method of automatic checking of pointer-type instruments and device for its implementation
JP2715897B2 (en) IC foreign matter inspection apparatus and method
JPH0723845B2 (en) Defect detection method
JPH063541B2 (en) Pattern inspection equipment
JP2503940B2 (en) IC foreign matter inspection device
JP2973982B2 (en) Image inspection method of molded terminal of electronic component and chip type electronic component
JPH04194738A (en) Method for determining haze and continuous foreign object group
JPS58744A (en) Inspecting method of bottle or the like
JPS5966134A (en) Inspecting method and device for bonding part
JPS5966133A (en) Inspecting device for bonding part
JPS5945108B2 (en) Two-dimensional characteristic inspection method
JPH05107043A (en) Visual inspecting apparatus
JPH0551944B2 (en)
CN120833617A (en) Collinear detection method, system and medium for IGBT devices
JPH05203581A (en) Pattern inspection device and method