JPH04151791A - Parts counting device - Google Patents

Parts counting device

Info

Publication number
JPH04151791A
JPH04151791A JP2277283A JP27728390A JPH04151791A JP H04151791 A JPH04151791 A JP H04151791A JP 2277283 A JP2277283 A JP 2277283A JP 27728390 A JP27728390 A JP 27728390A JP H04151791 A JPH04151791 A JP H04151791A
Authority
JP
Japan
Prior art keywords
silhouette
parts
absence
image sensor
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2277283A
Other languages
Japanese (ja)
Other versions
JP2670639B2 (en
Inventor
Mitsuhide Shirakawa
白川 光英
Nobuyasu Shioda
塩田 展康
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.)
KOUSHINSHIYA KK
Nitto Seiko Co Ltd
Original Assignee
KOUSHINSHIYA KK
Nitto Seiko Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KOUSHINSHIYA KK, Nitto Seiko Co Ltd filed Critical KOUSHINSHIYA KK
Priority to JP2277283A priority Critical patent/JP2670639B2/en
Publication of JPH04151791A publication Critical patent/JPH04151791A/en
Application granted granted Critical
Publication of JP2670639B2 publication Critical patent/JP2670639B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To more accurately count small particles in a short time independently of the form of small parts supplied at random by detecting the presence or the absence of the silhouette on image pickup elements and outputting a parts passage signal at the time of cutting off a transverse-direction detection signal and a longitudinal- direction detection signal of the silhouette. CONSTITUTION:Image pickup elements 5 are arranged in a line to face a parts movement path, and the presence or the absence of the silhouette of parts 3 from adjacent image pickup elements 5 is detected and is stored together with the presence or the absence of the silhouette for preceding detection, and continuity and a break in the transverse direction of the silhouette are detected in accordance with detection or non-detection of the silhouette on adjacent image pickup elements 5. Continuity and a break in the longitudinal direction of the silhouette are detected in accordance with the presence or the absence for preceding detection; and when a break is detected in the transverse direction and the longitudinal direction of the silhouette, parts passage signal is outputted. Thus, parts 3 are surely counted one by one though being supplied at random, and not only many parts 3 can be completely counted in a short time but also passage of one parts 3 is surely detected regardless of the complicated form of parts.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、部品供給装置の供給シュートから自然落下に
よりあるいは透過性の高い材質の供給ベルトによりラン
ダムに供給されるねじ、ワッシャ等の小物部品の個数を
正確に計測する部品計数装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is applicable to small parts such as screws and washers that are supplied by natural falling from a supply chute of a parts supply device or randomly supplied by a supply belt made of a highly permeable material. The present invention relates to a parts counting device that accurately measures the number of parts.

[従来技術]および[発明が解決しようとする課題]従
来、ねじ、ワッシャ等の小物部品の個数を計数する場合
には、小物部品を1個ごとに分離して整列供給しておき
、これら小物部品の通路に接近して光センサ、超音波セ
ンサ等の検出部を配置した装置が一般的である。この装
置では、部品の通過が検出される度に検出信号が出力さ
れ、小物部品の個数が計数されているが、1個のセンサ
について部品を一列に整列して供給しなければならず、
小物部品の個数が多いと小物部品の計数に長時間を要す
ばかりか、小物部品の形状が複雑になると小物部品が1
回検出部を通過するたびに、複数個の検出信号が出力さ
れ、この種の小物部品の計数を正確に行えない等の欠点
が生じている。また、この欠点を除去して短時間でしか
も小物部品の形状が複雑であっても比較的正確に計数で
きるようにした装置が開発されている。この装置は、小
物部品個々の重量をあらかじめ算出しておき、小物部品
の総重量から小物部品の総数を推測するように構成され
ているが、この装置では、小物部品個々の重量にバラツ
キがある場合あるいは1個の小物部品の重量が軽い場合
には、測定誤差が大きくなり、真に正確な計数ができな
い等の欠点が生じている。
[Prior Art] and [Problem to be Solved by the Invention] Conventionally, when counting the number of small parts such as screws and washers, the small parts are separated one by one and arranged and supplied. Devices in which a detection unit such as an optical sensor or an ultrasonic sensor is placed close to the passage of the component are common. In this device, a detection signal is output every time the passage of a part is detected, and the number of small parts is counted, but the parts must be aligned and fed in a line for each sensor.
Not only does it take a long time to count small parts when the number of small parts is large, but also it takes a long time to count the small parts.
A plurality of detection signals are output each time the device passes through the detection section, resulting in drawbacks such as the inability to accurately count small parts of this type. Further, an apparatus has been developed which eliminates this drawback and enables relatively accurate counting of small parts even in a short time even if the shape of the small parts is complicated. This device is configured to calculate the weight of each small part in advance and estimate the total number of small parts from the total weight of the small parts. However, with this device, the weight of each small part varies. If the weight of one small part is small or the weight of one small part is light, the measurement error becomes large, resulting in drawbacks such as the impossibility of truly accurate counting.

本発明は、上記欠点の除去を目的とするもので、ランダ
ムに供給される小物部品の形状に拘わらず計数を短時間
でかつより正確に行うように構成した部品計数装置を提
供しようとするものである。
The present invention aims to eliminate the above-mentioned drawbacks, and aims to provide a parts counting device configured to perform counting in a short time and more accurately regardless of the shape of small parts supplied at random. It is.

[課題を解決するための手段] 上記課題を達成するため、部品の移動路に対して光を照
射する光源および部品の移動路に面して一列に配置され
た複数個の撮像素子からなる撮像装置と、所定微小時間
ごとに各撮像素子のアナログ出力の変化量から各撮像素
子に対応して部品のシルエットの有無を検出してこれを
撮像素子ごとに記憶するとともに前回検出時の各撮像素
子のシルエットの有無を記憶する画像記憶部とが配置さ
れている。前記画像記憶部には部品認識部が接続されて
おり、この部品認識部は画像記憶部からの各撮像素子の
アナログ出力の変化量から部品のシルエットの有無を検
出してシルエットの横方向の切れ目とつながりとを検出
し、シルエットのつながりの検出により横方向検出信号
を出力してシルエットの切れ目の検出によりこれを遮断
するように構成されている。
[Means for Solving the Problems] In order to achieve the above-mentioned problems, an image sensor is provided that includes a light source that irradiates light onto the movement path of the parts and a plurality of image sensors arranged in a line facing the movement path of the parts. The apparatus detects the presence or absence of a silhouette of a part corresponding to each image sensor based on the amount of change in the analog output of each image sensor at predetermined minute intervals, and stores this information for each image sensor, and also stores the information for each image sensor at the time of previous detection. An image storage unit that stores the presence or absence of a silhouette is arranged. A component recognition section is connected to the image storage section, and this component recognition section detects the presence or absence of a silhouette of the component from the amount of change in the analog output of each image sensor from the image storage section, and detects horizontal cuts in the silhouette. It is configured to detect a connection between silhouettes, output a lateral direction detection signal by detecting a connection between silhouettes, and block this by detecting a break in the silhouettes.

また、前記部品認識部は各撮像素子のシルエットの有無
と前回検出時のシルエットの有無とから各撮像素子のシ
ルエットの前後方向の切れ目とつながりとを検出してこ
のシルエットのつながりの検出によりシルエットの前後
方向検出信号を出力してシルエットの切れ目の検出によ
りこれを遮断するように構成されている。
Further, the component recognition unit detects cuts and connections in the front-rear direction of the silhouette of each image sensor based on the presence or absence of the silhouette of each image sensor and the presence or absence of the silhouette at the time of previous detection, and detects the connection between the silhouettes to recognize the silhouette. It is configured to output a front-rear direction detection signal and detect a break in the silhouette to shut it off.

さらに、前記部品認識部は撮像素子のシルエットの有無
から順次前記検出を行ってシルエットの横方向検出信号
および前後方向検出信号が遮断される時、部品通過信号
を出力するように構成されている。
Further, the component recognition section is configured to sequentially perform the detection based on the presence or absence of a silhouette of the image pickup device, and output a component passing signal when the silhouette lateral direction detection signal and front and rear direction detection signal are interrupted.

[作用] 上記部品計数装置では、部品供給装置の供給ホッパ等か
ら光源と一列に配置された複数個の撮像素子との間に部
品が供給されると、部品が撮像素子の前方を通過するた
びに撮像素子のアナログ出力が変化し、その変化量によ
り部品のシルエットが検出される。また、部品が通過し
ない撮像素子ではそのアナログ出力が変化せず、部品の
シルエットは検出されない。
[Function] In the above-mentioned parts counting device, when parts are supplied from the supply hopper of the parts supply device between the light source and the plurality of image sensors arranged in a row, each time the parts pass in front of the image sensors. The analog output of the image sensor changes, and the silhouette of the part is detected based on the amount of change. Further, in the case of an image sensor through which the part does not pass, its analog output does not change, and the silhouette of the part is not detected.

この間に所定微小時間ごとに各撮像素子が部品のシルエ
ットを検出したか否かが検出され、各撮像素子ごとに部
品のシルエットの検出の有無および各撮像素子の前回検
出時のシルエットの有無が画像記憶部で記憶される。同
時に、撮像素子のシルエットの検出の有無および前回検
出時のシルエットの有無が部品認識部に送られる。
During this time, it is detected whether or not each image sensor detects the silhouette of the part at every predetermined minute time, and the presence or absence of the silhouette of the part detected by each image sensor and the presence or absence of the silhouette at the time of the previous detection of each image sensor are detected in the image. It is stored in the storage unit. At the same time, the presence or absence of detection of a silhouette of the image sensor and the presence or absence of a silhouette at the time of previous detection are sent to the component recognition unit.

前記隣接する撮像素子のシルエットの有無から、シルエ
ットの横方向の切れ目およびつながりが検出され、シル
エットのつながりが検出されるとシルエットの横方向検
出信号が出力される。また、別の撮像素子がシルエット
の横方向の切れ目を検出する時、前記シルエットの横方
向検出信号が遮断される。
From the presence or absence of the silhouettes of the adjacent image sensors, horizontal breaks and connections between the silhouettes are detected, and when the connections between the silhouettes are detected, a horizontal direction detection signal of the silhouettes is output. Furthermore, when another image sensor detects a lateral cut in the silhouette, the lateral detection signal of the silhouette is interrupted.

同時に、前記撮像素子のシルエットの有無からシルエッ
トの横方向の切れ目およびつながりを検出する度に、そ
の撮像素子の前回検出時のシルエットの有無がらシルエ
ットの前後方向のつながりおよび切れ目が検出される。
At the same time, each time a horizontal break and connection of the silhouette is detected from the presence or absence of the silhouette of the image sensor, a longitudinal connection and break of the silhouette are detected based on the presence or absence of the silhouette at the time of previous detection of the image sensor.

前記シルエットの前後方向のつながりが検出されるとシ
ルエットの前後方向検出信号が出力され、シルエットの
前後方向の切れ目が検出される時、これが遮断される。
When a connection in the front and back direction of the silhouette is detected, a silhouette front and back direction detection signal is output, and when a break in the silhouette in the front and back direction is detected, this signal is interrupted.

各撮像素子のシルエットの有無から前記検出か順次行わ
れ、前記シルエットの横方向検出信号および前後方向検
出信号がともに遮断される時、部品の通過を検出して部
品通過信号を出力することができる。
The detection is performed sequentially based on the presence or absence of a silhouette of each image sensor, and when both the horizontal direction detection signal and the front and back direction detection signal of the silhouette are blocked, the passage of a component can be detected and a component passage signal can be output. .

[実施例] 以下、実施例を部品の一例の板状部品を計数する部品計
数装置について説明する。第1図において、 1は部品
計数装置であり、部品供給装置(図示せず)の−部を構
成する供給ホッパ2からランダムに自然落下する板状部
品3(以下、部品という)の個数を計数するように配置
されている。この部品計数装置lは、前記部品3の移動
路と交叉する方向に光を投射する光源4と、光源4から
の光を受けるようにかつ前記部品3の移動路に面してそ
の移動方向と交叉する方向に一列に配置された複数個の
撮像素子5とからなる撮像装置6を有している。
[Example] Hereinafter, an example will be described regarding a parts counting device that counts plate-shaped parts as an example of parts. In Fig. 1, 1 is a parts counting device, which counts the number of plate-shaped parts 3 (hereinafter referred to as parts) that randomly fall naturally from a supply hopper 2 that constitutes a part of a parts supply device (not shown). It is arranged so that This component counting device 1 includes a light source 4 that projects light in a direction intersecting the moving path of the component 3, and a light source 4 that projects light in a direction that intersects the moving path of the component 3, and a light source that faces the moving path of the component 3 so as to receive the light from the light source 4 so as to face the moving direction of the component 3. It has an imaging device 6 including a plurality of imaging elements 5 arranged in a line in intersecting directions.

前記撮像素子5は部品3が前方を通過するとその受光量
が変化してそのアナログ出力を変化させ、この変化量を
検出することにより部品3のシルエットが検出されるよ
うに構成されている。前記撮像素子5のアナログ出力は
それぞれ後記する制御装置7内のA−D変換部9に出力
されるように構成されている。
The image sensor 5 is configured so that when the component 3 passes in front of it, the amount of light it receives changes and its analog output changes, and by detecting this amount of change, the silhouette of the component 3 is detected. The analog outputs of the image sensor 5 are configured to be output to an A-D converter 9 in a control device 7, which will be described later.

前記制御装置7は、制御部8、前記撮像素子5のアナロ
グ出力を二値化データに変更するA−D変換部9、二値
化データを部品3のシルエットの有無として記憶する画
像記憶部10、画像記憶部10の二値化データにより部
品3の通過を検出して検出信号を出力する部品認識部1
1゜この検出信号を計数するカウンタ部12、検査スタ
ート信号を出力する検査スタート部13および部品供給
装置駆動部14を有している。前記制御部8は、第2図
に示すように電源が投入されて後、検査スタート信号を
受けると、部品供給装置駆動部14に作動指令信号を出
力するとともに、所定微小時間ごとにA−D変換部9に
変換指令信号を出力する一方、カウンタ部12の計数値
が所定値に達すると、部品供給装置駆動部14に部品供
給停止指令信号を出力し、リセット信号を待って部品供
給装置駆動部14を再駆動するように構成されている。
The control device 7 includes a control unit 8, an A-D conversion unit 9 that converts the analog output of the image sensor 5 into binary data, and an image storage unit 10 that stores the binary data as the presence or absence of a silhouette of the component 3. , a component recognition unit 1 that detects passage of the component 3 based on the binarized data of the image storage unit 10 and outputs a detection signal.
1. It has a counter section 12 that counts this detection signal, an inspection start section 13 that outputs an inspection start signal, and a component supply device drive section 14. As shown in FIG. 2, when the control section 8 receives an inspection start signal after the power is turned on, it outputs an operation command signal to the component supply device drive section 14, and also outputs an operation command signal from A to D at predetermined minute intervals. While outputting a conversion command signal to the converting section 9, when the count value of the counter section 12 reaches a predetermined value, a component supply stop command signal is output to the component supply device drive section 14, and after waiting for a reset signal, the component supply device is driven. It is configured to re-drive the section 14.

前記A−D変換部9は変換指令信号を受ける時各撮像素
子5のアナログ出力が所定値以下に達するか否かを判定
し、その結果により二値化データrlJあるいは「0」
を出力するように構成されている。前記画像記憶部10
は一列に配置された撮像素子5に対応してA−D変換部
9からの二値化データを一時記憶するように構成されて
いる。
When receiving the conversion command signal, the A-D converter 9 determines whether the analog output of each image sensor 5 reaches a predetermined value or less, and converts the binary data rlJ or "0" depending on the result.
is configured to output. The image storage section 10
is configured to temporarily store the binarized data from the A-D converter 9 corresponding to the image sensors 5 arranged in a row.

また、前記画像記憶部IOはA−D変換部9から二値化
データが入力する度にその二値化データを入替えるとと
もに、クロックパルスに同期して一列の撮像素子5に対
応する二値化データを順次部品認識部11に出力する一
方、前回検出時の二値化データを一時記憶して前記クロ
ックパルスに同期して一列の撮像素子5に対応する二値
化データを部品認識部11に送るように構成されている
。さらに、前記部品認識部11はロジック回路で構成さ
れており、画像記憶部10から隣接する一列の撮像素子
5に対応する二値化データが入力し、これがら部品3の
シルエットの有無を検出してシルエットの横方向の切れ
目とつながりとを検出しており、このシルエットのつな
がりの検出によりシルエットの横方向検出信号を出力し
て別の撮像素子5がシルエットの切れ目を検出すること
によりこれを遮断する一方で、前回検出時のシルエット
の横方向検出信号とのオア出力からシルエットのつなが
り検出信号を出力するように構成されている。また、前
記部品認識部11は各撮像素子5のシルエットの有無と
前回検出時のシルエットの有無とがら撮像素子5ごとに
シルエットの前後方向の切れ目とつながりとを検出し、
このシルエットのつながりの検出によりシルエットの前
後方向検出信号を出力してシルエットの切れ目の検出に
よりこれを遮断する一方で、これと隣接のシルエットの
前後方向検出信号とのオア出力からシルエットの前後方
向のつながり検出信号を出力するように構成されている
。しかも、前記部品認識部11は撮像素子5のシルエッ
トの有無から前記検出を順次行い、撮像素子5ごとに前
記シルエットの横方向および前後方向でつながり検出信
号が同時に遮断されるが否かを検出し、これらが同時に
遮断される時、撮像素子5ごとに部品3の通過を検出し
て部品通過信号を前記カウンタ部12に出力するように
構成されている。前記部品通過信号は一列の撮像素子5
の二値化データがクロックパルスに同期して部品認識部
11に送られるごとに行われ、複数個の部品3が連続し
て落下しても、正確にこれを検出できるように構成され
ている。
Further, the image storage unit IO replaces the binarized data every time the binarized data is input from the A-D converter 9, and also replaces the binarized data corresponding to one row of image sensors 5 in synchronization with the clock pulse. While sequentially outputting the binarized data to the component recognition unit 11, the binarized data from the previous detection is temporarily stored and the binarized data corresponding to one row of image sensors 5 is output to the component recognition unit 11 in synchronization with the clock pulse. It is configured to send to. Further, the component recognition section 11 is composed of a logic circuit, and receives binary data corresponding to an adjacent row of image sensors 5 from the image storage section 10, and detects the presence or absence of a silhouette of the component 3 from this. Detects horizontal breaks and connections in the silhouette, and upon detection of this connection in the silhouette, a silhouette lateral direction detection signal is output, and another image sensor 5 detects the break in the silhouette and blocks it. On the other hand, it is configured to output a silhouette connection detection signal from an OR output with the silhouette horizontal direction detection signal from the previous detection. Further, the component recognition unit 11 detects cuts and connections in the front and back direction of the silhouette for each image sensor 5 based on the presence or absence of a silhouette of each image sensor 5 and the presence or absence of a silhouette at the time of previous detection,
By detecting the connection of silhouettes, a silhouette front-rear direction detection signal is output, and this is blocked by detecting a break in the silhouette. On the other hand, from the OR output of this and the front-rear direction detection signal of the adjacent silhouette, the silhouette front-rear direction detection signal is output. It is configured to output a connection detection signal. Moreover, the component recognition unit 11 sequentially performs the detection based on the presence or absence of the silhouette of the image sensor 5, and detects for each image sensor 5 whether or not the connection detection signal is simultaneously blocked in the lateral direction and the front and back direction of the silhouette. , are configured to detect the passing of the component 3 for each image sensor 5 and output a component passing signal to the counter section 12 when these are blocked at the same time. The component passing signal is transmitted to a row of image sensors 5.
This is done every time the binarized data of is sent to the component recognition unit 11 in synchronization with a clock pulse, and even if a plurality of components 3 fall in succession, it is configured to be able to accurately detect this. .

上記部品計数装置では、装置の電源がオンになると、撮
像素子5はその全面に光源4がらの光を°受け、そのア
ナログ出力がA−D変換部9に送られる。この状態で、
部品供給装置の供給ホッパ2から部品3が自然落下によ
り横一列にランダムに供給されると、部品3が通過して
光が遮られた撮像素子5のアナログ出力が変化し、部品
3が通過せずに光を継続して受ける撮像素子5のアナロ
グ出力は変化しない。
In the parts counting device described above, when the device is powered on, the image sensor 5 receives light from the light source 4 over its entire surface, and its analog output is sent to the A/D converter 9. In this state,
When components 3 are randomly supplied in a horizontal row from the supply hopper 2 of the component supply device by gravity, the analog output of the image sensor 5 whose light is blocked by the passage of the components 3 changes. The analog output of the image sensor 5, which continuously receives light without changing, does not change.

一方、検査スタート部13から検査スタート信号が出カ
され、制御部8から所定微小時間間隔でA−D変換部9
に変換指令信号が出力されると部品3のシルエットが順
次読込まれ、各撮像素子5のアナログ出力が所定設定値
以下に変化している時には二値化データ「1」が、また
所定設定値になるまで変化してない時には二値化データ
「0」が出力されるにのA−D変換部9から各撮像素子
5ごとに二値化データ「0」またはrlJは、画像記憶
部lOに一列の画像素子に対応して記憶される。同時に
、クロックパルスに同期して、−列に配置された撮像素
子5の二値化データおよび撮像素子5の前回検出時の二
値化データが順次部品認識部11に供給される。
On the other hand, a test start signal is output from the test start section 13, and the control section 8 outputs a test start signal to the A-D converter 9 at a predetermined minute interval.
When the conversion command signal is output, the silhouettes of the parts 3 are read in sequence, and when the analog output of each image sensor 5 is changing below the predetermined setting value, the binary data "1" is changed to the predetermined setting value again. When there is no change until the change occurs, the binary data "0" is output. The binary data "0" or rlJ from the A-D converter 9 for each image sensor 5 is stored in a row in the image storage section IO. is stored corresponding to the image element. At the same time, in synchronization with the clock pulse, the binarized data of the image sensor 5 arranged in the - column and the binarized data of the previous detection of the image sensor 5 are sequentially supplied to the component recognition unit 11.

部品認識部11では、隣接する各撮像素子5の二値化デ
ータからシルエットの横方向のつながりおよび切れ目が
検出される。前記隣接する撮像素子5のシルエットの有
無から、第3図aに示すように1回目のスキャン時にシ
ルエットの横方向のつながりが検出されるとシルエット
の横方向検出信号が出力され、別の撮像素子5がシルエ
ットの横方向の切れ目を検出すると、前記横方向検出信
号が遮断される。このシルエットの横方向検出信号と前
回検出時のシルエットの横方向検出信号とのオア出力と
から、第3図すに示すようにシルエットの横方向のつな
がり検出信号が出力される。この時、前記撮像素子5ご
とにその二値化データおよび前回検出時の二値化データ
とから、シルエットの前後方向のつながりおよび切れ目
が検出される。撮像素子5の前回検出時のシルエットの
有無からシルエットの前後方向のつながりが検出される
と、第4図aに示すようにシルエットの前後方向検出信
号が出力され、その撮像素子5が後続の検出時にシルエ
ットの前後方向の切れ目を検出すると、前記シルエット
の前後方向検出信号が遮断されるにのシルエットの前後
方向検出信号と前記撮像素子5に隣接する撮像素子5の
シルエットの前後方向検出信号とのオア出力とから、第
4図すに示すようにシルエットの前後方向のつながり検
出信号が出力される。また、前記隣接する撮像素子5の
シルエットの有無から前記検出(2,3,4回目のスキ
ャン)が同様に順次行われ、第3図c、d、eに示すよ
うにシルエットの横方向検出信号およびシルエットの横
方向のつながり検出信号および第4図c、d、eに示す
ようにシルエットの前後方向のつながり検出信号が検出
される。
The component recognition unit 11 detects connections and cuts in the horizontal direction of silhouettes from the binarized data of each adjacent image sensor 5. If a horizontal connection of silhouettes is detected during the first scan based on the presence or absence of silhouettes of the adjacent image sensors 5, as shown in FIG. 3a, a silhouette horizontal direction detection signal is output, and another image sensor 5 detects a lateral break in the silhouette, the lateral direction detection signal is cut off. From the OR output of this silhouette lateral detection signal and the silhouette lateral detection signal from the previous detection, a silhouette lateral connection detection signal is output as shown in FIG. At this time, connections and cuts in the front-rear direction of the silhouette are detected from the binarized data of each image sensor 5 and the binarized data from the previous detection. When the connection in the front and rear direction of the silhouette is detected from the presence or absence of the silhouette at the time of the previous detection by the image sensor 5, a silhouette front and rear direction detection signal is output as shown in FIG. When a cut in the front-rear direction of the silhouette is detected, the front-rear direction detection signal of the silhouette is interrupted. From the OR output, a connection detection signal in the front-rear direction of silhouettes is output as shown in FIG. Further, the detection (second, third, and fourth scans) is similarly performed sequentially based on the presence or absence of the silhouette of the adjacent image sensor 5, and as shown in FIG. A connection detection signal in the lateral direction of the silhouette and a connection detection signal in the front and back direction of the silhouette as shown in FIGS. 4c, d, and e are detected.

前記検出が撮像素子5ごとに行われる際、シルエットの
横方向および前後方向のつながり検出信号が同時に遮断
されるか否かが検出され、1回目のスキャン時にはシル
エットの横方向検出信号の遮断が検出される撮像素子5
Cは、前後方向検出信号の遮断を検出してないので、こ
の時点では部品通過検出信号は出力されない。
When the above-mentioned detection is performed for each image sensor 5, it is detected whether or not the connection detection signals in the lateral direction and front-back direction of the silhouette are blocked at the same time, and during the first scan, the blockage of the detection signal in the lateral direction of the silhouette is detected. image sensor 5
Since C has not detected the interruption of the longitudinal direction detection signal, no component passage detection signal is output at this point.

前記検出が順次行われ、第3図eおよび第4図dに示す
ように5回目のスキャン時に撮像素子5Dがシルエット
の横方向のつながり検出信号の遮断を検出すると、この
時には撮像素子5Dは同時にシルエットの前後方向のつ
ながり検出信号の遮断を検出して部品3の通過を検出し
、第3図fに示すように部品通過信号が出力される。
The above-described detection is performed sequentially, and when the image sensor 5D detects interruption of the horizontal connection detection signal of silhouettes during the fifth scan as shown in FIGS. 3e and 4d, at this time, the image sensor 5D simultaneously The passage of the component 3 is detected by detecting the interruption of the silhouette connection detection signal in the front and back direction, and a component passage signal is output as shown in FIG. 3f.

また、カウンタ部12は前記部品認識部11がら部品通
過信号が出力されると、これを計数してその計数値を制
御部8に送る。この計数値が所定設定値に達すると、部
品供給装置駆動部14に停止指令信号が出力され、部品
3の所定個の計数が完了し、リセット信号を待って次回
の作業に備える。
Further, when a component passing signal is outputted from the component recognition section 11, the counter section 12 counts the signal and sends the counted value to the control section 8. When this count reaches a predetermined set value, a stop command signal is output to the component supply device drive section 14, the counting of the predetermined number of components 3 is completed, and a reset signal is awaited in preparation for the next work.

[発明の効果コ 以上説明したように、本発明は部品の移動路に面して一
列に撮像素子を配置し、隣接する各撮像素子がらの部品
のシルエットの有無を検出してこれを前回検出時のシル
エットの有無とともに記憶し、隣接する各撮像素子のシ
ルエットの検出の有無からシルエットの横方向のつなが
りおよび切れ目を検出する一方、前回検出時のシルエッ
トの有無からシルエットの前後方向のつながりおよび切
れ目を検出し、シルエットの横方向および前後方向で切
れ目が検出される時、部品通過信号を出力するように構
成しているため、部品をランダムに供給してもこれを確
実に1個ずつ計数することができ、部品が多数個であっ
ても、短時間で全部の計数が可能となるばかりか、複雑
な形状の部品であっても確実に1個の部品の通過として
検出することができる等の利点がある。
[Effects of the Invention] As explained above, the present invention arranges the image sensors in a line facing the moving path of the parts, detects the presence or absence of the silhouette of the part in each adjacent image sensor, and detects this previously. The presence or absence of a silhouette at the time of detection is memorized, and horizontal connections and breaks in silhouettes are detected based on the presence or absence of silhouettes detected by adjacent image sensors, while connections and breaks in the front and back direction of silhouettes are detected based on the presence or absence of a silhouette at the time of previous detection. , and when a cut is detected in the lateral and front-back directions of the silhouette, it outputs a part passage signal, so even if parts are supplied at random, each part will be reliably counted one by one. Even if there are many parts, it is not only possible to count them all in a short time, but even parts with complex shapes can be reliably detected as one passing part. There are advantages.

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

第1図は本発明の構成を示す要部ブロック図、第2図は
本発明に係る制御部の要部動作を示すフローチャート、
第3図a)、b)、c)、d)、e)、f)は本発明に
係る一列に配置された撮像素子の一部のシルエットの横
方向の検出パターンの説明図、第4図a)、 b)、 
c)、 d)、 e)は本発明に係る5個の撮像素子に
対応するシルエットの前後方向の検出パターンの説明図
である。 1 部品計数装置、   2 供給ホッパ、3 板状部
品、     4 光源、
FIG. 1 is a block diagram of main parts showing the configuration of the present invention, FIG. 2 is a flowchart showing the operation of main parts of the control section according to the invention,
Figures 3 a), b), c), d), e), and f) are explanatory diagrams of horizontal detection patterns of silhouettes of some of the image sensors arranged in a row according to the present invention; Figure 4; a), b),
c), d), and e) are explanatory diagrams of silhouette detection patterns in the front-rear direction corresponding to five image sensors according to the present invention. 1 parts counting device, 2 supply hopper, 3 plate-shaped parts, 4 light source,

Claims (1)

【特許請求の範囲】  部品の移動路に対して光を照射する光源および部品の
移動路に面して一列に配置された複数個の撮像素子を有
する撮像装置を配置し、所定微小時間ごとの各撮像素子
のアナログ変化量から部品のシルエットの有無を検出し
てこれを各撮像素子ごとに記憶するとともに前回検出時
の各撮像素子のシルエットの有無を記憶する画像記憶部
を配置し、 画像記憶部からの隣接する撮像素子のアナログ出力の変
化量から部品のシルエットの有無を検出してシルエット
の横方向の切れ目とつながりとを検出してシルエットの
つながりの検出により横方向検出信号を出力してシルエ
ットの切れ目の検出によりこれを遮断する一方、各撮像
素子のシルエットの有無と前回検出時のシルエットの有
無とから各撮像素子のシルエットの前後方向の切れ目と
つながりとを検出してこのシルエットのつながりの検出
によりシルエットの前後方向検出信号を出力してシルエ
ットの切れ目の時にこれを遮断するように構成し、撮像
素子のシルエットの有無から前記検出を行ってシルエッ
トの横方向検出信号および前後方向検出信号が遮断され
る時、部品通過信号を出力する部品認識部を設けたこと
を特徴とする部品計数装置。
[Claims] An imaging device having a light source that irradiates light onto the moving path of the component and a plurality of imaging elements arranged in a line facing the moving path of the component is arranged, and An image storage unit is arranged to detect the presence or absence of a silhouette of a component from the amount of analog variation of each image sensor and store this information for each image sensor, as well as to store the presence or absence of a silhouette of each image sensor at the time of previous detection. Detects the presence or absence of a silhouette of a part from the amount of change in the analog output of an adjacent image sensor from the part, detects horizontal cuts and connections in the silhouette, and outputs a horizontal detection signal by detecting the connection between the silhouettes. This is blocked by detecting breaks in the silhouettes, and the connections between the silhouettes are detected by detecting the cuts and connections in the front-rear direction of the silhouettes of each image sensor based on the presence or absence of the silhouette of each image sensor and the presence or absence of the silhouette at the time of previous detection. The configuration is configured to output a silhouette front-rear direction detection signal based on the detection of the silhouette, and cut it off at the time of a cut in the silhouette, and perform the detection based on the presence or absence of the silhouette of the image sensor to generate a silhouette lateral direction detection signal and a front-rear direction detection signal. 1. A parts counting device comprising a parts recognition section that outputs a parts passage signal when the part is interrupted.
JP2277283A 1990-10-15 1990-10-15 Parts counting device Expired - Fee Related JP2670639B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2277283A JP2670639B2 (en) 1990-10-15 1990-10-15 Parts counting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2277283A JP2670639B2 (en) 1990-10-15 1990-10-15 Parts counting device

Publications (2)

Publication Number Publication Date
JPH04151791A true JPH04151791A (en) 1992-05-25
JP2670639B2 JP2670639B2 (en) 1997-10-29

Family

ID=17581373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2277283A Expired - Fee Related JP2670639B2 (en) 1990-10-15 1990-10-15 Parts counting device

Country Status (1)

Country Link
JP (1) JP2670639B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5962994A (en) * 1982-09-30 1984-04-10 Matsushita Electric Works Ltd Counter
JPS62156787A (en) * 1985-12-28 1987-07-11 Fuji Electric Co Ltd Quantity counting device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5962994A (en) * 1982-09-30 1984-04-10 Matsushita Electric Works Ltd Counter
JPS62156787A (en) * 1985-12-28 1987-07-11 Fuji Electric Co Ltd Quantity counting device

Also Published As

Publication number Publication date
JP2670639B2 (en) 1997-10-29

Similar Documents

Publication Publication Date Title
US3955179A (en) Apparatus for automatic pattern recognition and registration of empty bottles
US5646724A (en) Threaded parts inspection device
EP1057545B1 (en) Automatic inspecting apparatus by image processing
JPS6226836B2 (en)
JPS6326042B2 (en)
FR2487564A1 (en) APPARATUS AND METHOD FOR INSPECTING COMBUSTIBLE PELLETS FOR A NUCLEAR REACTOR
JP6721241B2 (en) Goods sorting system
RU2117276C1 (en) Apparatus and method for measuring parameters of structural members in samples of textile materials (versions)
US3882316A (en) Quality control monitor for medicinal capsule packaging apparatus
US4268746A (en) Document feed jam detector for a document reading apparatus
JPH04151791A (en) Parts counting device
JPS5995407A (en) Detector for defective bolt
GB2078949A (en) Counting circuit for coin counting apparatus
CN108745954A (en) A kind of carbon film plate resistance accuracy sorting system and its working method
US5410157A (en) Book dimension detector
JPH0496185A (en) Parts counting device
JP3240571B2 (en) Foreign matter inspection device
JP2502159B2 (en) Perimeter inspection device for nuclear fuel pellets
US3944051A (en) Automatic package selector
CN108313407A (en) A kind of material length detecting method and detection device
JPS5843688B2 (en) Inspection method for plate glass
JPH02260091A (en) Quantity measuring instrument for carried article such as egg
JPH05135235A (en) Parts counting device
JPS598163Y2 (en) Edge position detection device
CA1050166A (en) Apparatus for automatic pattern recognition and registration of empty bottles

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees