JPS5962994A - Counter - Google Patents

Counter

Info

Publication number
JPS5962994A
JPS5962994A JP17352482A JP17352482A JPS5962994A JP S5962994 A JPS5962994 A JP S5962994A JP 17352482 A JP17352482 A JP 17352482A JP 17352482 A JP17352482 A JP 17352482A JP S5962994 A JPS5962994 A JP S5962994A
Authority
JP
Japan
Prior art keywords
signal
circuit
binary
counter
scanning
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.)
Pending
Application number
JP17352482A
Other languages
Japanese (ja)
Inventor
Yoshimasa Fujiwara
祥雅 藤原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP17352482A priority Critical patent/JPS5962994A/en
Publication of JPS5962994A publication Critical patent/JPS5962994A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M7/00Counting of objects carried by a conveyor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To count object materials accurately even if they are moved irregularly by binorizing the scanning signal of the object material and counting the binary signal in every scanning to attain a signal and to count an AND signal between this signal and a binary signal attained a prescribed time before said signal and adding a differential value between both counted values. CONSTITUTION:Optical sensors 2 and 3 are provided in the direction crossing the movement direction of many object materials 5 flowing continuously to detect the object material 5. The outputs of these sensors are binarized in a binary circuit part 7, and the binary signals are counted in a counter 8 for every one scanning of sensor. The AND between these binary signals and the binary signal attained in the binary circuit part 7 a prescribed time before is ANDed 9 and the resultant value is counted in counter 10 for every one scanning. Thereafter, the difference between both counted values is calculated to add the arithmetic result.

Description

【発明の詳細な説明】 この発明はたとえばベルトコンベヤ上全移動する多数の
物体を計数する計数装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a counting device for counting a large number of objects moving on a belt conveyor, for example.

従来のこの種の計数装置を第1図および第2図へ示す。A conventional counting device of this type is shown in FIGS. 1 and 2.

すなわち、ベルトコンベヤAの送シ方向Bと直角なコン
ベヤAの両側に対向型の充電スイッチcl設置し、その
投光ユニッ)Dからの光が移動対象物Eに遮えぎられて
受光ユニッ)Fに達しないときの受光ユニッ)Fの出力
信号(第2図(a) ) f: 2値化回路Gで2値化
しく第2図(b) ) 、これを個数カウンタでカウン
トする。
That is, opposing charging switches CL are installed on both sides of the conveyor A perpendicular to the conveying direction B of the belt conveyor A, and the light from the light emitting unit) D is blocked by the moving object E and the light receiving unit) The output signal of the light-receiving unit F (FIG. 2(a)) when the signal F does not reach F is binarized by the binarization circuit G (FIG. 2(b)), and is counted by a number counter.

ところが、この計数装置は、対象物が光電スイッチCか
ら見て重なっている場合には計数ミスを発生させるとい
う欠点があった。
However, this counting device has a drawback that if the objects overlap when viewed from the photoelectric switch C, a counting error occurs.

したがって、この発明の目的は、ベルトコンベヤ等に乗
って流れてくる対象物が不規則に配列されていてもその
個数を正確に計測できる計数装置を提供することである
Therefore, an object of the present invention is to provide a counting device that can accurately count the number of objects flowing on a belt conveyor or the like even if they are irregularly arranged.

この発明は、対象物の移動方向に対し横切る方向に走査
するようにラインイメージセンサを対象物の上方に配置
し、その信号を2値化して一走査毎にカウントするとと
もに、その2値化信号とそれより所定時間以前のセンサ
による2値化信号とを論理積した論理積信号全カウント
し、前記両カウント数の差をとった値を加算して個数を
求めるようにしたものである。
This invention places a line image sensor above an object so as to scan in a direction transverse to the moving direction of the object, binarizes the signal, counts each scan, and outputs the binarized signal. and the binary signal from the sensor at a predetermined time earlier than that, the total number of AND signals is counted, and the difference between the two counts is added to obtain the number.

この発明の動作原理を第3図に示す。同図(a)のよう
に移動対象物に所定間隔で移動方向と直角に多数の走査
を行った状態を考える。同図(b)はこの走査による2
値化信号を像的に表示している。この実線の数Nbは3
7である。この信号に対して同図(C)はその2値化信
号全移動方向に一走査分ずらした状態である。同図(d
)は同図(b)と(c)の論理積された信号を像的に表
示している。その実線の数NeLは33となる。そして
移動した対象物の数Nは、画数の差より求められ、N=
Nb−Nd=4となる。
The operating principle of this invention is shown in FIG. Consider a situation in which a moving object is scanned a number of times perpendicular to the moving direction at predetermined intervals, as shown in FIG. 2(a). Figure (b) shows 2
The digitized signal is displayed visually. The number Nb of this solid line is 3
It is 7. With respect to this signal, FIG. 5C shows a state in which the binary signal is shifted by one scan in the entire movement direction. The same figure (d
) graphically displays the ANDed signals of (b) and (c) in the figure. The number of solid lines NeL is 33. The number N of objects that have moved is determined from the difference in the number of strokes, N=
Nb-Nd=4.

このような結果は各対象物について論理績により1回だ
け「1」の部分が出ない走査線が発生することに基づい
ている。この結果、対象物が不規則に並んで移動しても
正確に計測できることとなる。
This result is based on the fact that for each object, a scanning line in which the "1" portion does not appear occurs only once by logical performance. As a result, accurate measurements can be made even if the objects move irregularly.

この発明の第1の突施例全第4図ないし第6図に示す。A first embodiment of the invention is shown in FIGS. 4 to 6.

すなわち、この計数装置は、ベルトコンベヤlの上方に
一対のラインイメージセンサヘッド2.3′ft:相対
向して設け、その間に反射プリズム4を配設して、ライ
ン視野P工、P、にベルトコンベヤ10幅方向に位置し
、かつベルトコンベヤ1の移動方向に一定間隔lで並べ
る。この間隔lは頂角が90度の反射プリズム4を上下
に移動調節することにより設定するが、対象物5に比べ
て十分に小さいものとする。これらのセンサヘッド2゜
3はたとえば多数のフォトトランジスタ等の受光素子金
線状に配置したもので描成し、ともに基準クロック回路
6によって同期走査される。センサヘッド2,3の各走
査による出力信号S工(第5図(a))、C2(第5図
(b)ンiJ: 2値化回路部7でそれぞれサンプルホ
ールドされた後感度補正され2値化される。その2値化
信号sヨ′(第5図(C2) + s2’ (第5図(
d))のうち対象物5の移動方向側を走査する信号82
′は第1のカウンタ8にょシー走査毎にカウント(カウ
ント数N2)される。また信号比較回路9により前記2
値化信号s1’ r 52’ 2論理積踵ぞの論理積信
号S3(第5図(e))を第2のカウンタ1゜により一
走査毎にカウント(カウントaN□)する。
That is, this counting device is provided with a pair of line image sensor heads 2.3'ft facing each other above a belt conveyor l, and a reflecting prism 4 is disposed between them, so that the line field of view P, P, They are located in the width direction of the belt conveyor 10 and arranged at regular intervals l in the moving direction of the belt conveyor 1. This interval l is set by vertically moving and adjusting the reflective prism 4 having an apex angle of 90 degrees, and is sufficiently small compared to the object 5. These sensor heads 2.degree. 3 are depicted by, for example, a large number of light receiving elements such as phototransistors arranged in the shape of a gold wire, and both are synchronously scanned by a reference clock circuit 6. Output signals S (FIG. 5(a)) and C2 (FIG. 5(b)) resulting from each scan of the sensor heads 2 and 3 are sampled and held in the binarization circuit section 7 and then subjected to sensitivity correction. The binarized signal syo' (Fig. 5 (C2) + s2' (Fig. 5 (C2)
d)) Signal 82 for scanning the moving direction side of the object 5
' is counted (count number N2) every time the first counter 8 is scanned. In addition, the signal comparison circuit 9
The logical product signal S3 (FIG. 5(e)) of each heel is counted (count aN□) by the second counter 1° for each scan.

演算回路11ではN2−Nよの演算を各走査毎に行ない
、加算回路12て加算する。この加n−回路12は中間
加算回路13でN2−N工の演算結果を中間加算し、そ
の結果の数値Npが正数判定回路14により正の数とな
ると、その数値Np′ff:個数加算器15に入力させ
、一方中間加算回路ヲリセットする。
The calculation circuit 11 performs the calculation N2-N for each scan, and the addition circuit 12 adds the results. This addition n-circuit 12 performs intermediate addition of the calculation results of N2-N operations in an intermediate addition circuit 13, and when the resulting value Np becomes a positive number by the positive number determination circuit 14, the value Np'ff: number addition 15, and on the other hand, the intermediate adder circuit is reset.

こうして、ラインイメージセンサヘッド2,3の視野を
通過した対象物5の個数が個数加算器15によシ個数出
力として得られる。
In this way, the number of objects 5 that have passed through the field of view of the line image sensor heads 2 and 3 is obtained by the number adder 15 as a number output.

いま、第6図において、ラインイメージセンサの視野の
位置(a工、C2)に対して同図の7個の対象物5が矢
印の方向へ移動通過し、その結果同図において対象物5
に対し走査#a工〜a□5の走査が行なわれたとすると
各走査毎のカウンタ8,10および演11回路11のカ
ウント数は下表のようになる。
Now, in FIG. 6, seven objects 5 in the same figure move and pass in the direction of the arrow with respect to the field of view position (a, C2) of the line image sensor, and as a result, the objects 5 in the same figure
Assuming that scans #a to #a□5 are performed, the counts of counters 8, 10 and circuit 11 for each scan are as shown in the table below.

(以 下 余 白) 曲成のlN2−Nよ」の加算回路12により合計をとる
と「7」となシ、対象物5の個数になることがわかる。
(The following is a margin) It can be seen that when the sum is taken by the adding circuit 12 of ``1N2-N of the curve formation'', it becomes ``7'', which is the number of objects 5.

この発明の第2の実施例を第7図に示す。すなわち、こ
の割数装置は、1個のラインイメージセンサ2′のライ
ン視野全ベルトコンベヤーの幅方向となるように配置し
、これを基準クロック回路6のクロック信号に同期して
走査し、2値化回路部7′で2値化信号s / を得る
。この2値化信号s 2/を読出しクロック検出回路1
6とシフトレジスター7よシなる遅延回路18で所定時
間、たとえば前記間隔l(第4図)全ベルトコンベヤー
が移動する時間遅延させ、その遅延信号S工′と遅延時
間だけ進んだ2値化回路部7′の2値化信号S、′とを
信号比較回路9で論理積するようにしており、その後の
処理回路は第1の実施例と同様である。前記遅延回路1
8はラインイメージセンサ2′の1つの走査によ勺得ら
れた2値化信号とそのつき゛の走査によシ得られた2値
化信号と全信号比較回路9で論理積するために遅延する
ものである。この遅延回路18は読出しクロック検出回
路16によシ、基準クロック回路6のクロックおよびラ
インイメージセンサ2′の走査タイミングでシフトレジ
スタ17を駆動する。シフトレジスタ17はその容量(
ビット数)をラインイメージセンサの受光素子数と咎し
くすることによシ、ラインイメージセンサ2′の出力信
号(2値化信号)を記録すると同時に前回走置時に記録
した2値化信号を遅延信号Si′とじて出力し、丁度−
走査分の信号遅延を行なっている。
A second embodiment of the invention is shown in FIG. That is, this dividing device is arranged so that the entire line field of view of one line image sensor 2' is in the width direction of the belt conveyor, scans it in synchronization with the clock signal of the reference clock circuit 6, and calculates the binary value. A binarized signal s/ is obtained in the converting circuit section 7'. Clock detection circuit 1 reads out this binary signal s2/
6 and a delay circuit 18, such as a shift register 7, delay the entire belt conveyor by a predetermined time, for example, the interval l (Fig. 4), and then convert the delayed signal S' to a binarization circuit that advances by the delay time. The binary signals S and ' of the section 7' are ANDed by the signal comparison circuit 9, and the subsequent processing circuit is the same as that of the first embodiment. The delay circuit 1
8 is delayed in order to AND the binary signal obtained by one scanning of the line image sensor 2' and the binary signal obtained by the subsequent scanning in the total signal comparison circuit 9. It is something. This delay circuit 18 drives the shift register 17 using the read clock detection circuit 16, the clock of the reference clock circuit 6, and the scanning timing of the line image sensor 2'. The shift register 17 has a capacity (
By setting the number of bits) to be the same as the number of light receiving elements of the line image sensor, the output signal (binarized signal) of the line image sensor 2' is recorded and at the same time the binary signal recorded during the previous travel is delayed. It is output as a signal Si' and is exactly -
Signal delay for scanning is performed.

なお、前記間隔lの調整に相当する走査間隔を調整する
には基準クロック回路6のクロック周波数を調整すれは
よい。
Incidentally, in order to adjust the scanning interval corresponding to the adjustment of the interval 1, the clock frequency of the reference clock circuit 6 may be adjusted.

このように構成したため、第1の実施例と同効果を有す
る。さらにMlの実施例と比較してつぎの点が優れてい
る。すなわち、第1の実施例は2台のラインイメージセ
ンサ2,3を用いているがその視野を接近させ平行に設
定するために90度の反射プリズム4全用いている。こ
のプリズム4は対象の大きさ、送9速度などを考慮して
視野間隔i!を調整できるようにするため、上下微動で
きる装置を必要とし構成を複雑化している。また2台の
イメージセンサ2,3から同期された等しいレベルの信
号を得るため、特性の同一なイメージセンサを用いねば
ならず、さらに照明系のむらを補正しなければならない
。こ社に対し、この実施例は、ラインイメージセンサi
1台としたことによυ細かいラインイメージセンサの特
性を調整したり、照明むらによる感度補正を行なう必要
がなくなり、装置の小型化が可能となる。さらに設置時
の視野ずらし量を回路にて精度よく調整できる。
With this configuration, it has the same effect as the first embodiment. Furthermore, the following points are superior compared to the Ml example. That is, in the first embodiment, two line image sensors 2 and 3 are used, but a 90-degree reflecting prism 4 is used in order to bring their fields of view closer and parallel. This prism 4 is designed to have a visual field interval i!, taking into consideration the size of the object, the feed speed, etc. In order to be able to adjust this, a device that can move vertically slightly is required, which complicates the configuration. Furthermore, in order to obtain synchronized and equal level signals from the two image sensors 2 and 3, it is necessary to use image sensors with the same characteristics, and it is also necessary to correct unevenness in the illumination system. For this company, this embodiment is a line image sensor i
By using only one device, there is no need to adjust the characteristics of the fine line image sensor or to correct the sensitivity due to uneven illumination, and the device can be made smaller. Furthermore, the amount of visual field shift during installation can be precisely adjusted using a circuit.

以上のように、この発明の計数装置は、センサを対象物
の移動方向に横切るように走査して2値化信号を得、こ
の信号をカウントするとともに、この2値化信号とその
所定時間前の2値化信号との論理積信号を別にカウント
して前記両カウント数の舟の合計より対象物を計数する
ようにしたため、対象物が不規則に移動しても正確に計
数できるという効果がある。
As described above, the counting device of the present invention scans the sensor across the moving direction of the object to obtain a binary signal, counts this signal, and counts the binary signal and its predetermined time period. The AND signal with the binary signal of be.

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

第1図は従来例の説明図、第2図はその各部のタイムチ
ャート、第3図はこの発明の詳細な説明する説明図、第
4図はこの発明の第1の実施例の説明図、第5図はその
各部のタイムチャート、第6図は対象物の走査状態を示
す説明図、第7図は第2の実施例の説明図である。 1・・・ベルトコンベヤ、2.2’、3  ・・・ライ
ンイメージセンサ、4・・・反射プリズム、5・・・対
象物、7・・・2値化信号部、8・・・第1のカウンタ
、9・・・信号比較回路(論理積回路)、10・・第2
のカウンタ、11・・・演算回路、12・・・加算回路
、18・・遅延口I回 路、Sよ、S、・・・2値化信号、S3・論理積信号、
N工。 N2・・・カウント数 第2図 膳
FIG. 1 is an explanatory diagram of the conventional example, FIG. 2 is a time chart of each part thereof, FIG. 3 is an explanatory diagram explaining the present invention in detail, FIG. 4 is an explanatory diagram of the first embodiment of the present invention, FIG. 5 is a time chart of each part, FIG. 6 is an explanatory diagram showing the scanning state of an object, and FIG. 7 is an explanatory diagram of the second embodiment. DESCRIPTION OF SYMBOLS 1... Belt conveyor, 2.2', 3... Line image sensor, 4... Reflection prism, 5... Target object, 7... Binarization signal part, 8... First counter, 9... signal comparison circuit (AND circuit), 10... second
counter, 11... arithmetic circuit, 12... addition circuit, 18... delay port I circuit, S, S,... binary signal, S3... logical product signal,
N engineering. N2... Count number 2nd table

Claims (3)

【特許請求の範囲】[Claims] (1)連続して流れる多数の対象物の移動方向に横切る
方向に走査して対象物を検出する光学センサと、このセ
ンサの出力信号を2値化する2値化回路と、この2値化
信号を前記ラインイメージセンサの一走査毎にカウント
する第1のカウンタと、前記2値化信号とその所定時間
以前に前記2値化回路で得た2値化信号と全論理積する
論理積回路と、この論理積信号を前記ラインイメージセ
ンサの一走査毎にカウントする第2のカウンタと、この
第20カウンタのカウント数から前記第1のカウンタの
カウント数の差をとる演算回路と、この演算結果を加算
する加算回路とを備えた計数装置。
(1) An optical sensor that detects objects by scanning in a direction transverse to the moving direction of a large number of continuously flowing objects, a binarization circuit that binarizes the output signal of this sensor, and this binarization. a first counter that counts a signal every scan of the line image sensor; and an AND circuit that performs a total AND operation on the binary signal and the binary signal obtained by the binary circuit before a predetermined time. a second counter that counts this AND signal every scan of the line image sensor; an arithmetic circuit that calculates the difference between the count of the 20th counter and the count of the first counter; A counting device equipped with an addition circuit that adds up the results.
(2)  前記センサはその一対を相対向してその間に
反射プリズムを移動調節自在に配設し、そのプリズムに
より設定された間隔で前記対象物全横切る平行な走査を
行い、前記論理積回路は前記一対のセンサの2値化信号
を特徴とする特許請求の範囲第(1)項記載の計数装置
(2) The sensor has a pair of sensors facing each other and a reflective prism movably arranged between them, and the prism scans in parallel across the entire object at a set interval, and the AND circuit The counting device according to claim 1, characterized in that the binary signals from the pair of sensors are used.
(3)前記2値化回路の2値化信号は遅延回路に供給さ
れ、前記論理積回路は前記2値化信号と前記遅延回路の
遅延信号とを特徴とする特許請求の範囲第(1)項記載
の計数装置。
(3) The binarized signal of the binarization circuit is supplied to a delay circuit, and the AND circuit receives the binarized signal and the delayed signal of the delay circuit. Counting device as described in section.
JP17352482A 1982-09-30 1982-09-30 Counter Pending JPS5962994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17352482A JPS5962994A (en) 1982-09-30 1982-09-30 Counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17352482A JPS5962994A (en) 1982-09-30 1982-09-30 Counter

Publications (1)

Publication Number Publication Date
JPS5962994A true JPS5962994A (en) 1984-04-10

Family

ID=15962116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17352482A Pending JPS5962994A (en) 1982-09-30 1982-09-30 Counter

Country Status (1)

Country Link
JP (1) JPS5962994A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61204790A (en) * 1985-03-07 1986-09-10 Mitsubishi Electric Corp Throughput counting device
JPS625491A (en) * 1985-07-01 1987-01-12 Hitachi Ltd Detecting device for moving body
JPS6240593A (en) * 1985-08-17 1987-02-21 Nagano Pref Gov Number of objects and holes counting system
JPS62156787A (en) * 1985-12-28 1987-07-11 Fuji Electric Co Ltd Quantity counting device
JPS63149781A (en) * 1986-12-13 1988-06-22 Nippon Steel Corp Steel bar counting device
JPH04151791A (en) * 1990-10-15 1992-05-25 Koushinshiya:Kk Parts counting device
JP2011213471A (en) * 2010-04-01 2011-10-27 Mayekawa Mfg Co Ltd Counting device of solid food, grouping device and carrying system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61204790A (en) * 1985-03-07 1986-09-10 Mitsubishi Electric Corp Throughput counting device
JPS625491A (en) * 1985-07-01 1987-01-12 Hitachi Ltd Detecting device for moving body
JPS6240593A (en) * 1985-08-17 1987-02-21 Nagano Pref Gov Number of objects and holes counting system
JPH0426514B2 (en) * 1985-08-17 1992-05-07 Nagano Prefecture
JPS62156787A (en) * 1985-12-28 1987-07-11 Fuji Electric Co Ltd Quantity counting device
JPH0514314B2 (en) * 1985-12-28 1993-02-24 Fuji Electric Co Ltd
JPS63149781A (en) * 1986-12-13 1988-06-22 Nippon Steel Corp Steel bar counting device
JPH0417552B2 (en) * 1986-12-13 1992-03-26 Nippon Steel Corp
JPH04151791A (en) * 1990-10-15 1992-05-25 Koushinshiya:Kk Parts counting device
JP2011213471A (en) * 2010-04-01 2011-10-27 Mayekawa Mfg Co Ltd Counting device of solid food, grouping device and carrying system

Similar Documents

Publication Publication Date Title
US4158507A (en) Laser measuring system for inspection
US5699161A (en) Method and apparatus for measuring dimensions of objects on a conveyor
CA2059220C (en) Method of and apparatus for inspecting end of object for defect
JPH0626821A (en) Length measuring device
US5469262A (en) Dimension-measuring apparatus
EP0372209B1 (en) Length measuring apparatus
JPS5962994A (en) Counter
JPS61200409A (en) Method and device for measuring wall thickness of transparent body
JPS6051650B2 (en) Zero point detection device for photoelectric encoder
US4209830A (en) Fine object having position and direction sensing mark and a system for detecting the position and direction of the sensing mark
GB2191649A (en) Radio direction-finding
JPS5963517A (en) Photoelectric encoder
GB1472454A (en) Method for determining the position of a focussing plane
JP3989671B2 (en) Agricultural product appearance inspection equipment
JPH0660805B2 (en) Transparent film edge detector
JPS63171304A (en) Measuring apparatus for dimension
JPH102715A (en) Position detector
JPS6312903A (en) Detector for tip position of lead
JPH08287213A (en) Line counter using visible light or infrared ray
JPH05296794A (en) Measuring device
JPH05280939A (en) Detecting apparatus of diameter of fruit
JPH03267703A (en) Position shift detecting device
JPH0231134A (en) Method for preventing detection error of fine particles by split type light detection system
JPH0146001B2 (en)
JPS6121709Y2 (en)