JPH0799548B2 - Parts counter - Google Patents
Parts counterInfo
- Publication number
- JPH0799548B2 JPH0799548B2 JP2211084A JP21108490A JPH0799548B2 JP H0799548 B2 JPH0799548 B2 JP H0799548B2 JP 2211084 A JP2211084 A JP 2211084A JP 21108490 A JP21108490 A JP 21108490A JP H0799548 B2 JPH0799548 B2 JP H0799548B2
- Authority
- JP
- Japan
- Prior art keywords
- component
- silhouette
- unit
- image pickup
- detected
- 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
Links
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、部品供給装置の供給シュートから自然落下に
よりあるいは透過性の高い材質の供給ベルトによりラン
ダムに供給されるねじ、ワッシャ等の小物部品の個数を
正確に計測する部品計数装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention relates to small parts such as screws, washers, etc. which are randomly supplied from a supply chute of a component supply device or randomly by a supply belt made of a highly permeable material. The present invention relates to a component counting device that accurately measures the number of components.
[従来技術]および[発明が解決しようとする課題] 従来、ねじ、ワッシャ等の小物部品の個数を計数する場
合には、小物部品を1個ごとに分離して整列供給してお
き、これら小物部品の通路に接近して光センサ、超音波
センサ等の検出部が配置された装置が一般的である。こ
の装置では、部品の通過が検出される度に検出パルスが
出力され、小物部品の個数が計数されているが、1個の
センサについて部品を一列に整列して供給しなければな
らず、小物部品の個数が多いと小物部品の計数に長時間
を要すばかりか、小物部品の形状が複雑になると小物部
品が1回検出部を通過するたびに、複数個の検出パルス
が出力され、この種の小物部品の計数を正確に行えない
等の欠点が生じている。また、この欠点を除去して短時
間でしかも小物部品の形状が複雑であっても比較的正確
に計数できるようにした装置が開発されている。この装
置は、小物部品個々の重量をあらかじめ算出しておき、
小物部品の総重量から小物部品の総数を推測するように
構成されているが、この装置では、小物部品個々の重量
にバラツキがある場合あるいは1個の小物部品の重量が
軽い場合には、測定誤差が大きくなり、真に正確な計数
ができない等の欠点が生じている。[Prior Art] and [Problems to be Solved by the Invention] Conventionally, in the case of counting the number of small parts such as screws and washers, the small parts are individually separated and aligned and supplied, and these small parts are provided. A device in which a detection unit such as an optical sensor or an ultrasonic sensor is arranged close to a passage of a component is common. In this device, a detection pulse is output each time passage of a part is detected, and the number of small parts is counted. However, it is necessary to align and supply the parts in a line for one sensor. If the number of parts is large, it takes a long time to count the small parts, and if the shape of the small parts is complicated, a plurality of detection pulses are output each time the small parts pass through the detection unit. There are drawbacks such as not being able to accurately count various small parts. In addition, an apparatus has been developed which eliminates this defect and enables relatively accurate counting in a short time even when the shape of small parts is complicated. This device calculates the weight of each small item in advance,
Although it is configured to estimate the total number of small parts from the total weight of small parts, this device measures when the weight of each small part varies or when the weight of one small part is light. The error becomes large, and there are drawbacks such as not being able to count truly accurately.
さらに、上記欠点を除去する装置として、特開平1-2969
74号公報に記載の計数装置が開発されている。この装置
は1回目の走査によるシルエットの有無を二値化データ
として一列に配置された視覚センサごとに記憶する手段
を持ち、2回目の走査によるシルエットの有無を二値化
データとして検出する視覚センサごとにその視覚センサ
のシルエット検出の有無およびこれと隣接の視覚センサ
のシルエット検出の有無を判別するように構成されてい
る。また、この装置は2回目の走査によるシルエットの
有無を二値化データとして検出する視覚センサごとに、
記憶手段に記憶された前記視覚センサのシルエット検出
の有無およびこれと隣接する視覚センサの記憶手段に記
憶されたシルエット検出の有無を判別するように構成さ
れている。そのため、この装置では、視覚センサがシル
エットの有無を二値化データとして検出する度に隣接す
る一方側の視覚センサのシルエットの検出の有無および
前回のシルエットの有無ならびに前回の隣接する視覚セ
ンサのシルエット検出の有無を、ロジック回路に出力し
て、部品の通過検出を視覚センサごとに順に行ってい
る。Further, as an apparatus for removing the above-mentioned defects, Japanese Patent Laid-Open No. 1-2969
The counting device described in Japanese Patent Publication No. 74 has been developed. This device has a means for storing the presence / absence of a silhouette by the first scanning as binarized data for each visual sensor arranged in a row, and a visual sensor for detecting the presence / absence of a silhouette by the second scanning as binary data. For each of them, the presence / absence of silhouette detection of the visual sensor and the presence / absence of silhouette detection of the adjacent visual sensor are configured to be determined. In addition, this device, for each visual sensor that detects the presence or absence of the silhouette by the second scan as binary data,
The presence / absence of silhouette detection of the visual sensor stored in the storage unit and the presence / absence of silhouette detection stored in the storage unit of the visual sensor adjacent thereto are configured to be determined. Therefore, in this device, every time the visual sensor detects the presence or absence of a silhouette as binarized data, the presence or absence of the silhouette of the adjacent visual sensor on the one side, the presence or absence of the previous silhouette, and the previous silhouette of the adjacent visual sensor. The presence / absence of detection is output to a logic circuit, and the passage of parts is sequentially detected for each visual sensor.
しかしながら、この装置では、ロジック回路が非常に複
雑で、装置のコスト高を招くばかりか、部品がくし状部
品であってそのくし部が後方となって移動すると、1個
の部品がくし部の数だけの個数と誤計数される等の欠点
が生じている。However, in this device, the logic circuit is very complicated, which not only increases the cost of the device, but also when the part is a comb-shaped part and the comb part moves backward, one part is equal to the number of comb parts. However, there is a defect that the number is wrongly counted.
本発明は、上記欠点の除去を目的とするもので、ランダ
ムにかつ隣接のものと離れて一列に落下する小物部品を
短時間でかつより正確に計数するように構成した部品計
数装置を提供しようとするものである。SUMMARY OF THE INVENTION The present invention aims to eliminate the above-mentioned drawbacks, and provides a component counting device configured to count small components that fall randomly and in a line apart from adjacent ones in a short time and more accurately. It is what
[課題を解決するための手段] 上記課題を達成するため、部品の移動路に対して光を照
射する光源および部品の移動路に面して一列に配置され
た複数個の撮像素子を有する撮像装置と、所定微小時間
ごとの各撮像素子のアナログ変化量から部品のシルエッ
トの有無を検出して部品のシルエット検出時これを撮像
素子ごとに二値化データとしてホールドするシルエット
ホールド部を持つ画像記憶部と、各撮像素子のアナログ
変化量から部品のシルエットの有無を二値化データとし
て検出する度にシルエットホールド部の記憶値から部品
のシルエットを検出する撮像素子のうち連続して位置す
る撮像素子が部品のシルエットを検出しているか否かを
判定してこれら撮像素子が部品のシルエットを検出しな
い時、部品が通過したものとして検出パルスを出力する
部品認識部とからなる計数装置において、 部品を供給ホッパの先端まで後続の部品と離れてしかも
横一列に供給する部品供給装置を設ける一方、 シルエットホールド部を部品の検出パルスが出力される
まで、部品のシルエットの検出を撮像素子ごとに記憶す
るように構成されている。[Means for Solving the Problems] In order to achieve the above-mentioned object, an image pickup having a light source that irradiates a moving path of a component and a plurality of imaging elements arranged in a line facing the moving path of the component Image storage that has a device and a silhouette hold unit that detects the presence / absence of a silhouette of a component from the analog change amount of each image sensor for each predetermined minute time, and holds this as binary data for each image sensor when detecting the silhouette of the component And the image sensor that continuously detects the silhouette of the component from the stored value of the silhouette hold unit each time the presence or absence of the silhouette of the component is detected as binary data from the analog change amount of each image sensor. When these image sensors do not detect the silhouette of the component by determining whether or not the silhouette of the component is detected, the detection pulse is detected as that the component has passed. In the counting device consisting of a component recognition unit that outputs the components, a component supply device that supplies the component to the tip of the supply hopper apart from the following component and in a single horizontal line is provided, while the silhouette hold unit outputs the component detection pulse. Until then, the detection of the silhouette of the part is stored for each image pickup device.
[作用] 上記部品計数装置では、部品供給装置の供給ホッパ等か
ら光源と一列に配置された複数個の撮像素子との間に部
品が後続の部品から離れてかつ横方向に一列に供給され
ると、部品が撮像素子の前方を通過するたびに撮像素子
のアナログ出力が変化し、その変化量により部品のシル
エットが検出される。また、部品が通過しない撮像素子
ではそのアナログ出力が変化せず、部品のシルエットは
検出されない。[Operation] In the above component counting device, the component is supplied from the supply hopper or the like of the component supply device between the light source and the plurality of image pickup elements arranged in a line apart from the subsequent component and in a horizontal direction in a line. Whenever the component passes in front of the image sensor, the analog output of the image sensor changes, and the silhouette of the component is detected based on the amount of change. Further, the analog output of the image pickup device through which the component does not pass does not change, and the silhouette of the component is not detected.
この間に所定微小時間ごとに各撮像素子が部品のシルエ
ットを検出したか否かが二値化データとして検出され、
部品の検出パルスが出力されるまで各撮像素子ごとに複
数回の部品のシルエットの検出結果が順次シルエットホ
ールド部に記憶される。また、各撮像素子に対応して部
品のシルエットの有無が検出される度に、シルエットホ
ールド部の記憶値から部品のシルエットを検出した撮像
素子のうち連続して位置する撮像素子が検出されるとと
もに、これら連続して位置する撮像素子が部品のシルエ
ットを検出しているか否かが判定され、これら撮像素子
が部品のシルエットを検出してない時、1個の部品が通
過したものとして、1個の検出パルスが出力される。同
様に、部品のシルエットを検出する他の連続して位置す
る撮像素子についても、部品の通過が検出され、ランダ
ムに供給される部品の個数を部品の形状に拘わらず正確
にかつ短時間で計数することができる。During this time, it is detected as binary data whether or not each image sensor has detected the silhouette of the component at every predetermined minute time,
Until the detection pulse of the component is output, a plurality of detection results of the silhouette of the component for each image sensor are sequentially stored in the silhouette hold unit. Further, every time the presence / absence of a silhouette of a component is detected corresponding to each image sensor, an image sensor that is continuously located among the image sensors that have detected the silhouette of the component from the stored value of the silhouette hold unit is detected. , It is determined whether or not these consecutively located image pickup devices detect the silhouette of the component, and when these image pickup devices do not detect the silhouette of the component, it is determined that one component has passed. The detection pulse of is output. Similarly, for other image sensors that are located in series and that detect the silhouette of a part, the passage of the part is detected and the number of randomly supplied parts is accurately and quickly counted regardless of the shape of the part. can do.
[実施例] 以下、実施例を部品の一例の板状部品を計数する部品計
数装置について説明する。第1図において、1は部品計
数装置であり、部品供給装置(図示せず)の一部を構成
する供給ホッパ2から後続のものと離れてかつ横一列に
ランダムに自然落下する板状部品3(以下、部品とい
う)の個数を計数するように配置されている。この部品
計数装置1は、前記部品3の移動路と交叉する方向に光
を投射する光源4と、光源4からの光を受けるようにか
つ前記部品3の移動路に面してその移動方向と交叉する
方向に一列に配置された複数個の撮像素子5とからなる
撮像装置6を有している。前記撮像素子5は部品3が前
方を通過するとその受光量が変化してそのアナログ出力
を変化させ、この変化量を検出することにより部品3の
シルエットが検出されるように構成されている。前記撮
像素子5のアナログ出力はそれぞれ後記する制御装置7
内のA−D変換部9に出力されるように構成されてい
る。[Example] Hereinafter, an example will be described for a component counting device that counts plate-shaped components as an example of components. In FIG. 1, reference numeral 1 denotes a component counting device, which is a plate-shaped component 3 that separates from a supply hopper 2 forming a part of a component supply device (not shown) and separates from a succeeding one and randomly in a horizontal row. It is arranged so as to count the number of (hereinafter, referred to as parts). This component counting device 1 has a light source 4 for projecting light in a direction intersecting the movement path of the component 3, and a movement direction of the light source 4 for receiving light from the light source 4 and facing the movement path of the component 3. The imaging device 6 includes a plurality of imaging elements 5 arranged in a line in the intersecting direction. The image pickup device 5 is configured such that when the component 3 passes in front, the amount of received light changes, the analog output changes, and the silhouette of the component 3 is detected by detecting the amount of change. The analog output of the image pickup device 5 is the control device 7 described later.
It is configured so as to be output to the A-D conversion unit 9 therein.
前記制御装置7は、制御部8、前記撮像素子5のアナロ
グ出力を二値化データに変更するA−D変換部9、二値
化データを部品3のシルエットの有無として記憶する画
像記憶部10、画像記憶部10の記憶値により部品3の通過
を検出して検出パルスを出力する部品認識部11、この検
出パルスを計数するカウンタ部12、検査スタート信号を
出力する検査スタート部13および部品供給装置駆動部14
を有している。前記制御部8は、第2図に示すように電
源が投入されて後、検査スタート信号を受けると、部品
供給装置駆動部14に作動指令信号を出力するとともに、
所定微小時間ごとにA−D変換部9に変換指令信号を出
力する一方、カウンタ部12の計数値が所定値に達する
と、部品供給装置駆動部14に部品供給停止指令信号を出
力し、リセット信号を待って部品供給装置駆動部14を再
駆動するように構成されている。前記A−D変換部9は
変換指令信号を受ける時各撮像素子5のアナログ出力が
所定値以下に達するか否かを判定し、その結果により二
値化データ「1」あるいは「0」を出力するように構成
されている。また、前記画像記憶部10は各撮像素子5に
対応してA−D変換部9からの二値化データを一時記憶
するように設けられたレジスタで構成される一時記憶部
10aと、各撮像素子5に対応して設けられた別のレジス
タで構成されるシルエットホールド部10bとから構成さ
れている。前記一時記憶部10aは、A−D変換部9から
二値化データが入力する度にレジスタ内の記憶値を入替
えるように構成されている。また、前記シルエットホー
ルド部10bは、一時記憶部10aにA−D変換部9からの二
値化データが記憶されると同時に、部品3のシルエット
を検出した撮像素子5に対応するレジスタに二値化デー
タ「1」を記憶し、次回にA−D変換部9から二値化デ
ータ「0」が入力しても、前回部品3のシルエットを検
出した時の二値化データ「1」を後記する検出パルスが
出力されるまでホールドするように構成されている。さ
らに、前記画像記憶部10の一時記憶部10aおよびシルエ
ットホールド部10bの出力信号は物品認識部11に送られ
るように構成されており、この物品認識部11はA−D変
換部9からの二値化データが一時記憶部10aのレジスタ
に記憶される度に、シルエットホールド部10bの記憶値
から部品3のシルエットを検出している撮像素子5を検
出するように構成されている。また、前記部品認識部11
は部品3のシルエットを検出している撮像素子5のう
ち、連続して位置している撮像素子5を検出するととも
に、これら連続して位置している撮像素子5に対応する
一時記憶部10aのレジスタの記憶値からこれら撮像素子
5が部品3のシルエットを検出しているか否かを判定
し、これら撮像素子5に対応するレジスタ内の記憶値が
「0」で部品3のシルエットが検出されてない時、部品
3が通過したものとして1個の検出パルスを出力するよ
うに構成されている。また、この部品認識部11は一列に
配置された撮像素子5すべてで同様に部品3の通過を検
出するように構成されており、同時に、2個以上の検出
パルスが出力可能に構成されている。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 binarized data, and an image storage unit 10 that stores the binarized data as the presence or absence of the silhouette of the component 3. A component recognition unit 11 that detects passage of the component 3 based on the value stored in the image storage unit 10 and outputs a detection pulse; a counter unit 12 that counts the detection pulse; an inspection start unit 13 that outputs an inspection start signal; Device drive unit 14
have. When the control unit 8 receives an inspection start signal after the power is turned on as shown in FIG. 2, the control unit 8 outputs an operation command signal to the component supply device drive unit 14, and
While outputting a conversion command signal to the A / D conversion unit 9 every predetermined minute time, when the count value of the counter unit 12 reaches a predetermined value, a component supply stop command signal is output to the component supply device drive unit 14 and reset. It is configured to wait for a signal to re-drive the component supply device driving unit 14. When the A / D converter 9 receives the conversion command signal, the A / D converter 9 determines whether or not the analog output of each image sensor 5 reaches a predetermined value or less, and outputs binary data "1" or "0" depending on the result. Is configured to. The image storage unit 10 is a temporary storage unit composed of a register provided to temporarily store the binarized data from the A / D conversion unit 9 corresponding to each image sensor 5.
10a and a silhouette hold unit 10b that is formed of another register provided corresponding to each image sensor 5. The temporary storage unit 10a is configured to replace the storage value in the register each time the binarized data is input from the AD conversion unit 9. Further, the silhouette hold unit 10b stores the binarized data from the AD converter 9 in the temporary storage unit 10a, and at the same time, stores the binary data in the register corresponding to the image sensor 5 which detects the silhouette of the component 3. Even if the binarized data “1” is stored and the binarized data “0” is input from the A / D converter 9 next time, the binarized data “1” when the silhouette of the component 3 was detected last time will be described later. It is configured to hold until a detection pulse that outputs is output. Further, the output signals of the temporary storage section 10a and the silhouette hold section 10b of the image storage section 10 are configured to be sent to the article recognition section 11, and the article recognition section 11 receives two signals from the A / D conversion section 9. Each time the digitized data is stored in the register of the temporary storage unit 10a, the image sensor 5 detecting the silhouette of the component 3 is detected from the stored value of the silhouette hold unit 10b. In addition, the component recognition unit 11
Among the image pickup devices 5 that detect the silhouette of the component 3, the image pickup devices 5 that are continuously positioned are detected, and the temporary storage unit 10a corresponding to these consecutively positioned image pickup devices 5 is stored. It is determined whether or not the image sensor 5 detects the silhouette of the component 3 from the stored value of the register, and the stored value in the register corresponding to the image sensor 5 is "0", and the silhouette of the component 3 is detected. When it is not present, one detection pulse is output as if the component 3 passed. The component recognition unit 11 is also configured to detect the passage of the component 3 in all of the image pickup devices 5 arranged in a line, and is capable of outputting two or more detection pulses at the same time. .
さらに、前記部品認識部11の検出パルスはカウンタ部12
に送られており、カウンタ部12で部品3の個数が記憶さ
れるように構成されている。Further, the detection pulse of the component recognition unit 11 is the counter unit 12
The counter 12 stores the number of parts 3 stored therein.
上記部品計数装置では、装置の電源がオンになると、撮
像素子5はその全面に光源からの光を受け、そのアナロ
グ出力がA−D変換部9に送られる。この状態で、部品
供給装置の供給ホッパ2から部品3が自然落下により横
一列にランダムに供給されると、部品3が通過して光が
遮られた撮像素子5のアナログ出力が変化し、部品3が
通過せずに光を継続して受ける撮像素子5のアナログ出
力は変化しない。In the above component counting device, when the power of the device is turned on, the image pickup device 5 receives light from the light source on its entire surface, and its analog output is sent to the A / D converter 9. In this state, when the components 3 are randomly supplied in a horizontal row from the supply hopper 2 of the component supply device due to a natural fall, the analog output of the image pickup device 5 where the components 3 pass and the light is blocked changes, The analog output of the image sensor 5 that does not pass through the light receiving unit 3 and continues to receive light does not change.
一方、検査スタート部13から検査スタート信号が出力さ
れ、制御部8から所定微小時間間隔でA−D変換部9に
変換指令信号が出力されると部品3のシルエットが順次
読込まれ、各撮像素子5のアナログ出力が所定設定値以
下に変化している時には二値化データ「1」が、また所
定設定値になるまで変化してない時には二値化データ
「0」が出力される。このA−D変換部9から各撮像素
子5ごとに二値化データ「0」または「1」は、第3図
a),b),c),d),e)に示すように画像記憶部10の一時
記憶部10a内のレジスタに、また二値化データ「1」は
これを持つ撮像素子5に対応したシルエットホールド部
10b内のレジスタに記憶される。前記A−D変換部9か
ら各撮像素子5の二値化データが画像記憶部10に出力さ
れる度に、一時記憶部10aのレジスタの記憶値はすべて
新たな二値化データに入替えられる。一方、前記シルエ
ットホールド部10bの各撮像素子5に対応して設けられ
たレジスタの記憶値は一旦二値化データ「1」を持つと
部品3の通過が検出されて検出パルスが出力されるまで
ホールドされる。On the other hand, when the inspection start signal is output from the inspection start unit 13 and the conversion instruction signal is output from the control unit 8 to the A / D conversion unit 9 at a predetermined minute time interval, the silhouette of the component 3 is sequentially read, and each image pickup element is read. Binarized data "1" is output when the analog output of 5 has changed below a predetermined set value, and binary data "0" is output when it has not changed until it reaches a predetermined set value. Binarized data "0" or "1" for each image pickup device 5 from the A / D converter 9 is stored in an image as shown in a), b), c), d), e) of FIG. Silhouette hold unit corresponding to the image sensor 5 having the binary data "1" in the register in the temporary storage unit 10a of the unit 10.
It is stored in the register in 10b. Every time the binarized data of each image sensor 5 is output from the A / D converter 9 to the image storage unit 10, all the stored values in the register of the temporary storage unit 10a are replaced with new binarized data. On the other hand, once the stored value of the register provided corresponding to each image pickup element 5 of the silhouette hold unit 10b has the binary data "1", the passage of the component 3 is detected and the detection pulse is output. To be held.
また、前記一時記憶部10aおよびシルエットホールド部1
0bのレジスタの記憶値は部品認識部11に送られており、
シルエットホールド部10bのレジスタの記憶値から二値
化データ「1」を持ち部品3のシルエットを検出した撮
像素子5を検出し、これら撮像素子5のうち連続して位
置する撮像素子5が検出される。さらに、これら撮像素
子5に対応する一時記憶部10aのレジスタの記憶値が
「0」となって部品3のシルエットを検出してないかが
判定される。これら撮像素子5に対応する一時記憶部10
aのレジスタのうちいずれかが部品3のシルエットを検
出していて二値化データ「1」を記憶している時、部品
3のシルエットが連続しているものとして、次回の判定
を待つ。In addition, the temporary storage unit 10a and the silhouette hold unit 1
The stored value of the register of 0b is sent to the component recognition unit 11,
The image sensor 5 having the binary data “1” and detecting the silhouette of the component 3 is detected from the value stored in the register of the silhouette hold unit 10b, and the image sensor 5 that is positioned continuously among these image sensors 5 is detected. It Further, it is determined whether the stored value of the register of the temporary storage unit 10a corresponding to the image pickup device 5 is "0" and the silhouette of the component 3 is not detected. Temporary storage unit 10 corresponding to these image pickup devices 5
When any of the registers of a detects the silhouette of the component 3 and stores the binarized data “1”, it is determined that the silhouette of the component 3 is continuous, and the next determination is awaited.
一方、前記撮像素子5に対応する一時記憶部10aのレジ
スタの記憶値が「0」である時には部品3が通過したも
のとして1個の検出パルスが出力される。同時に、シル
エットホールド部の記憶値のうち、前記連続して位置し
ている撮像素子に対応する記憶値が第3図fに示すよう
にリセットされ、次の部品のシルエットの読込みに備え
る。On the other hand, when the stored value of the register of the temporary storage unit 10a corresponding to the image pickup device 5 is "0", one detection pulse is output as if the component 3 passed. At the same time, among the stored values of the silhouette hold unit, the stored values corresponding to the image pickup elements positioned in succession are reset as shown in FIG. 3f, in preparation for reading the silhouette of the next component.
前記部品認識部11で部品3のシルエットを検出した撮像
素子5のうち、連続して位置する撮像素子5が複数群あ
る時は各群について同様の判定が行われ、時には複数個
の検出パルスが部品認識部11から出力される。Among the image pickup devices 5 whose silhouettes of the component 3 are detected by the component recognition unit 11, when there are a plurality of image pickup devices 5 that are continuously positioned, the same determination is performed for each group, and sometimes a plurality of detection pulses are detected. It is output from the component recognition unit 11.
また、カウンタ部12は前記検出パルスが送られるごとに
これを計数し、その計数値を制御部8に送る。この計数
値が所定設定値に達すると、部品供給装置駆動部14に停
止指令信号が出力され、部品3の所定個の計数を完了
し、リセット信号を待って次回の作業に備える。Further, the counter unit 12 counts each time the detection pulse is sent, and sends the count value to the control unit 8. When this count value reaches a predetermined set value, a stop command signal is output to the component supply device driving unit 14, the count of a predetermined number of components 3 is completed, and a reset signal is waited for the next work.
なお、実施例では部品3のシルエットの有無が検出され
る度にこれが一時記憶部10aで記憶され、部品3の通過
が検出されるように構成されているが、部品認識部11を
ロジック回路で構成すれば、部品3のシルエットの有無
が検出される度に部品3の通過を検出するようにも構成
できる。また、前記部品認識部11は高速処理ができるマ
イクロコンピュータで構成してもよい。さらに、A−D
変換部9内の設定値を制御部からの信号により切換える
ように構成しておけば、部品の外周に付着したゴミ等の
影響を排除することができる。In the embodiment, each time the presence or absence of the silhouette of the component 3 is detected, it is stored in the temporary storage unit 10a and the passage of the component 3 is detected. With this configuration, the passage of the component 3 can be detected every time the presence or absence of the silhouette of the component 3 is detected. The component recognition unit 11 may be composed of a microcomputer capable of high speed processing. Furthermore, A-D
If the set value in the conversion unit 9 is switched by a signal from the control unit, it is possible to eliminate the influence of dust or the like attached to the outer periphery of the component.
[発明の効果] 以上説明したように、本発明は部品を供給ホッパの先端
まで後続の部品と離れてしかも横一列に供給する部品供
給装置を設ける一方、所定微小時間ごとの各撮像素子の
アナログ変化量から部品のシルエットの有無を検出して
部品のシルエット検出の有無を二値化データとして部品
の検出パルスが出力されるまで撮像素子ごとに順次記憶
するとともに、各撮像素子が部品のシルエットの有無を
二値化データとして検出する度にシルエットホールド部
の記憶値から部品のシルエットを検出する撮像素子のう
ち連続して位置する撮像素子が部品のシルエットを検出
しているか否かを判定してこれら撮像素子が部品のシル
エットを検出しない時、部品が通過したものとして検出
パルスを出力するように構成しているため、連続してシ
ルエットを検出する撮像素子がすべてシルエットを検出
してないかを検出するだけでよく、極めて簡単なロジッ
ク構成で部品の通過を検出することができ、安価な装置
を提供することができるばかりか、部品がくし状部品で
そのくし部が後方になって落下する時があっても、これ
を確実に1個と計数することができる。[Effect of the Invention] As described above, according to the present invention, a component supply device that supplies the component to the tip of the supply hopper apart from the following component and in a single horizontal line is provided. The presence / absence of the silhouette of the component is detected from the amount of change and the presence / absence of the silhouette of the component is stored as binary data sequentially for each image sensor until the detection pulse of the component is output. Every time the presence / absence is detected as binary data, it is determined from the stored values of the silhouette hold unit whether or not the image pickup elements that are positioned consecutively among the image pickup elements that detect the silhouette of the component detect the silhouette of the component. When these image sensors do not detect the silhouette of the part, the detection pulse is output as if the part has passed, so the It is only necessary to detect whether or not all image pickup elements that detect et have detected silhouettes, and it is possible to detect passage of parts with an extremely simple logic configuration, and it is possible to provide an inexpensive device, Even if the part is a comb-shaped part and the comb part falls rearward, it can be counted as one piece with certainty.
第1図は本発明の構成を示す要部ブロック図、第2図は
本発明に係る制御部の要部動作を示すフローチャート、
第3図は本発明に係るシルエット検出パターンの説明図
である。 1……部品計数装置、2……供給ホッパ、3……板状部
品、4……光源、5……撮像素子、6……撮像装置、7
……制御装置、8……制御部、9……A−D変換部、10
……画像記憶部、10a……一時記憶部、10b……シルエッ
トホールド部、11……部品認識部、12……カウンタ部、
13……検査スタート部、14……部品供給装置駆動部、FIG. 1 is a block diagram of a main part showing a configuration of the present invention, and FIG. 2 is a flowchart showing an operation of a main part of a control unit according to the present invention.
FIG. 3 is an explanatory diagram of a silhouette detection pattern according to the present invention. DESCRIPTION OF SYMBOLS 1 ... Component counting device, 2 ... Supply hopper, 3 ... Plate-shaped component, 4 ... Light source, 5 ... Imaging element, 6 ... Imaging device, 7
...... Control device, 8 ...... Control unit, 9 ...... AD conversion unit, 10
...... Image storage unit, 10a …… Temporary storage unit, 10b …… Silhouette hold unit, 11 …… Part recognition unit, 12 …… Counter unit,
13 …… Inspection start section, 14 …… Parts supply device drive section,
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−296974(JP,A) 特開 昭54−161246(JP,A) 特開 昭58−58399(JP,A) 特開 昭61−60178(JP,A) 実開 昭58−156381(JP,U) ─────────────────────────────────────────────────── ─── Continuation of front page (56) Reference JP-A-1-296974 (JP, A) JP-A-54-161246 (JP, A) JP-A-58-58399 (JP, A) JP-A-61- 60178 (JP, A) Actual development Sho 58-156381 (JP, U)
Claims (1)
よび部品の移動路に面して一列に配置された複数個の撮
像素子を有する撮像装置と、所定微小時間ごとの各撮像
素子のアナログ変化量から部品のシルエットの有無を検
出して部品のシルエット検出時これを撮像素子ごとに二
値化データとしてホールドするシルエットホールド部を
持つ画像記憶部と、各撮像素子のアナログ変化量から部
品のシルエットの有無を二値化データとして検出する度
にシルエットホールド部の記憶値から部品のシルエット
を検出する撮像素子のうち連続して位置する撮像素子が
部品のシルエットを検出しているか否かを判定してこれ
ら撮像素子が部品のシルエットを検出しない時、部品が
通過したものとして検出パルスを出力する部品認識部と
からなる部品計数装置において、 部品を供給ホッパの先端まで後続の部品と離れてしかも
横一列に供給する部品供給装置を設ける一方、 シルエットホールド部を部品の検出パルスが出力される
まで、部品のシルエットの検出を撮像素子ごとに記憶す
る構成としたことを特徴とする部品計数装置。1. A light source for irradiating a moving path of a component, and an image pickup device having a plurality of image pickup elements arranged in a line facing the moving path of the component, and each image pickup element for every predetermined minute time. From the analog change amount of each image sensor, there is an image storage section that has a silhouette hold section that detects the presence or absence of a part silhouette from the analog change amount and holds this as binary data for each image sensor. Each time the presence / absence of a silhouette of a component is detected as binary data, the silhouette of the component is detected from the stored value in the silhouette hold unit. When these image pickup elements do not detect the silhouette of the component, the component counting unit that outputs the detection pulse as if the component has passed and the component counting unit In the installation, a component supply device that supplies the components to the tip of the supply hopper away from the following components and in a horizontal row is provided, while the silhouette hold unit captures the detection of the silhouette of the component until the detection pulse of the component is output. A parts counting device characterized in that it stores each element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2211084A JPH0799548B2 (en) | 1990-08-08 | 1990-08-08 | Parts counter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2211084A JPH0799548B2 (en) | 1990-08-08 | 1990-08-08 | Parts counter |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0496185A JPH0496185A (en) | 1992-03-27 |
JPH0799548B2 true JPH0799548B2 (en) | 1995-10-25 |
Family
ID=16600153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2211084A Expired - Lifetime JPH0799548B2 (en) | 1990-08-08 | 1990-08-08 | Parts counter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0799548B2 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01296974A (en) * | 1988-05-23 | 1989-11-30 | Toyo Jozo Co Ltd | colony counting device |
-
1990
- 1990-08-08 JP JP2211084A patent/JPH0799548B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH0496185A (en) | 1992-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3955179A (en) | Apparatus for automatic pattern recognition and registration of empty bottles | |
EP0383415B1 (en) | Image analysis counting system | |
US4488648A (en) | Flaw detector | |
US6661911B1 (en) | Automatic inspecting apparatus by image processing | |
EP0046058A2 (en) | Web monitoring apparatus | |
JP2018144900A (en) | Article distribution system | |
US4832181A (en) | Tracking system | |
JPH0799548B2 (en) | Parts counter | |
US5016281A (en) | Image analysis counting system | |
JP2670639B2 (en) | Parts counting device | |
JP3694590B2 (en) | Agricultural product image reading apparatus and sorting apparatus using the same | |
JPH05135235A (en) | Parts counter | |
JP4044720B2 (en) | Parts counting and sorting device | |
JPS6130636B2 (en) | ||
JP5176454B2 (en) | Inspection equipment | |
JPH0831154B2 (en) | Coin discriminating and counting device | |
JPS6191543A (en) | Method and apparatus for detecting curve of ic lead | |
CA1050166A (en) | Apparatus for automatic pattern recognition and registration of empty bottles | |
JPH0579123B2 (en) | ||
JPH0618441A (en) | Foreign material inspection device | |
JPH0612484A (en) | Parameter determining device of foreign matter inspecting device and binarization threshold value setting device for carried body | |
JPS5851868B2 (en) | Method for detecting defects on the surface of yarn rolls | |
JPH0612251B2 (en) | Screw inspection device and inspection method using the device | |
EP0213797A2 (en) | A tracking system | |
JP2535562B2 (en) | Grain removal rate measurement method |