JPH0464006A - Discriminating apparatus for diameter of circular object - Google Patents

Discriminating apparatus for diameter of circular object

Info

Publication number
JPH0464006A
JPH0464006A JP17592990A JP17592990A JPH0464006A JP H0464006 A JPH0464006 A JP H0464006A JP 17592990 A JP17592990 A JP 17592990A JP 17592990 A JP17592990 A JP 17592990A JP H0464006 A JPH0464006 A JP H0464006A
Authority
JP
Japan
Prior art keywords
circular object
diameter
detecting
moving
counting
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
JP17592990A
Other languages
Japanese (ja)
Inventor
Mikito Imai
幹人 今井
Yasushi Kakimoto
裕史 柿本
Takuya Taniguchi
卓也 谷口
Shinichiro Yoshikawa
慎一郎 吉川
Mariko Miyake
三宅 万里子
Tetsuya Nakamura
哲也 中村
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.)
Glory Ltd
Original Assignee
Glory 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 Glory Ltd filed Critical Glory Ltd
Priority to JP17592990A priority Critical patent/JPH0464006A/en
Publication of JPH0464006A publication Critical patent/JPH0464006A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Testing Of Coins (AREA)

Abstract

PURPOSE:To correctly detect the diameter of a circular object in a simple constitution by providing two detecting means in a direction intersecting the moving direction of the object on the road, and detecting the diameter of the object on the basis of the detecting states of the two detecting means. CONSTITUTION:A circular object 11 moving on a road 12 is detected by a first and a second detecting means 14, 15 provided in a direction intersecting the moving direction of the object. The time while the object 11 is detected by the means 14, 15 is counted by a first and a second timer means 51, 52. The diameter of the object 11 is determined by an operating/controlling means 21 on the basis of the counted values alpha0, beta0 by the means 51, 52.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、例えば硬貨などの円形物体の径を判別する径
判別装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a diameter determining device for determining the diameter of a circular object such as a coin.

(従来の技術) 従来、硬貨等の円形物体の径を判別する装置としては、
例えば本出願人が先に提案した特開昭58−13288
4号公報に記載された発明がある。この提案は、第8図
に示すように、光電変換素子を横一列に配列したイメー
ジセンサ1を円形物体2が通る通路3の両側に搬送方向
に対し直交する状態で配置し、そして、円形物体2が遮
光するイメージセンサ1の光電変換素子の個数の総和を
加算回路で求めるようにしており、さらに、加算回路の
出力の最大値を記憶する最大値記憶回路が設けられ、1
個の円形物体2がイメージセンサ1を通過している間、
加算回路の出力値と最大値記憶回路の値とを比較し、大
きい方を再度最大値記憶回路に記憶し直す動作を繰り返
す。よって、円形物体2が通過終了後、最大値記憶回路
に記憶されている値と一対のイメージセンサ1の間隔の
距離に基づいて円形物体2の径を判別することができる
(Prior Art) Conventionally, as a device for determining the diameter of a circular object such as a coin,
For example, Japanese Patent Application Laid-Open No. 58-13288, which was previously proposed by the present applicant.
There is an invention described in Publication No. 4. In this proposal, as shown in FIG. 8, an image sensor 1 in which photoelectric conversion elements are arranged horizontally in a row is arranged on both sides of a passage 3 through which a circular object 2 passes, in a state perpendicular to the transport direction. The sum of the numbers of photoelectric conversion elements of the image sensor 1 that are shielded by 2 is determined by an adding circuit, and a maximum value storage circuit for storing the maximum value of the output of the adding circuit is provided.
While the circular objects 2 are passing through the image sensor 1,
The operation of comparing the output value of the adder circuit with the value of the maximum value storage circuit and storing the larger one in the maximum value storage circuit is repeated. Therefore, after the circular object 2 finishes passing, the diameter of the circular object 2 can be determined based on the value stored in the maximum value storage circuit and the distance between the pair of image sensors 1.

このように、従来の円形物体の径判別装置として、円形
物体2を通路3の一方側へ規制する必要もなく、また、
円形物体2が通路3を移動している際、イメージセンサ
1の読取りのタイミングを取る必要もなく、しかも、正
確な径判別を行うことができる装置が知られている。
In this way, as the conventional device for determining the diameter of a circular object, there is no need to restrict the circular object 2 to one side of the passage 3, and
There is known an apparatus that does not require timing for reading the image sensor 1 while the circular object 2 is moving through the passage 3, and can accurately determine the diameter.

(発明が解決しようとする課題) しかし、上記のような円形物体の径判別装置が知られて
いるものの、従来の装置では、センサとして光電変換素
子を一列に配列した光電変換器を用いなければならず、
また、すでに述べたように円形物体を検出中、何度も光
電変換器を走査して検出した値の中から最大値を抽出し
なければならない。よって、径判別に用いるセンサは大
掛かりなものを用いなければならず、しかも、その光電
変換器の走査動作および走査動作による検出値の中から
最大値の抽出動作等、信号処理、データ処理も複雑にな
ってしまうという問題があった。
(Problem to be Solved by the Invention) However, although a device for determining the diameter of a circular object as described above is known, the conventional device requires the use of a photoelectric converter in which photoelectric conversion elements are arranged in a row as a sensor. Not,
Furthermore, as already mentioned, while detecting a circular object, the photoelectric converter must be scanned many times to extract the maximum value from the detected values. Therefore, the sensor used to determine the diameter must be large-scale, and the signal processing and data processing, such as the scanning operation of the photoelectric converter and the operation of extracting the maximum value from the values detected by the scanning operation, are complicated. The problem was that it became

本発明は、このような点に鑑みてなされたもので、通路
上に移動方向に対して交差する方向に2つの検知手段を
設け、この2つの検知手段の検知状況に基づいて円形物
体の径を判別することにより、円形物体を通路の片側に
規制する必要がないとともに検知手段の読取りのタイミ
ングを取る必要もなく、簡単な構成および処理で正確に
径を判別可能とする円形物体の径判別装置を提供するこ
とを目的とするものである。
The present invention has been made in view of these points, and includes two detecting means provided on the path in a direction crossing the direction of movement, and based on the detection status of these two detecting means, the diameter of a circular object is determined. By determining the diameter of a circular object, there is no need to limit the circular object to one side of the passage, there is no need to time the reading of the detection means, and the diameter can be accurately determined with a simple configuration and processing. The purpose is to provide a device.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 請求項1の発明は、円形物体11が移動する通路12と
、この通路12上に移動方向に対して交差する方向に一
対設けられ、通路I2上を移動する円形物体11を検知
する第1の検知手段14および第2の検知手段15と、
この第1の検知手段14が移動する円形物体11を検知
している期間を計時する第1の計時手段51と、前記第
2の検知手段15が移動する円形物体11を検知してい
る期間を計時する第2の計時手段52と、前記第1の計
時手段5Iによる第1の計時値と第2の計時手段52に
よる第2の計時値とに基づいて円形物体11の径を判別
する演算制御手段21とを備えた円形物体の径判別装置
である。
(Means for Solving the Problems) The invention according to claim 1 provides a path 12 in which the circular object 11 moves, and a pair of paths 12 provided in a direction intersecting the direction of movement of the circular object 11, so that the circular object 11 moves on the path I2. A first detection means 14 and a second detection means 15 that detect a circular object 11;
A first clock means 51 measures the period during which the first detecting means 14 detects the moving circular object 11, and a first clock means 51 measures the period during which the second detecting means 15 detects the moving circular object 11. A calculation control that determines the diameter of the circular object 11 based on a second time measurement means 52 that measures time, a first time value measured by the first time measurement means 5I, and a second time value measured by the second time measurement means 52. This is an apparatus for determining the diameter of a circular object, comprising means 21.

請求項2の発明は、円形物体11が移動する通路12と
、この通路12上に移動方向に対して交差する方向に一
対設けられ、通路12上を移動する円形物体11を検知
する第1の検知手段14および第2の検知手段15と、
前記円形物体11が通路12上を所定距離移動するのに
対応して信号を発生する信号発生手段27と、前記第1
の検知手段14が移動する円形物体11を検知している
間の前記信号発生手段27が発生する信号数を計数する
第1の計数手段32と、前記第2の検知手段15が移動
する円形物体IIを検知している間の前記信号発生手段
27が発生する信号数を計数する第2の計数手段33と
、前記第1の計数手段32による計数値と第2の計数手
段33による計数値とに基づいて円形物体11の径を判
別する演算制御手段21とを備えた円形物体の径判別装
置である。
The invention of claim 2 provides a passage 12 through which the circular object 11 moves, and a pair of first passages provided on the passage 12 in a direction intersecting the direction of movement to detect the circular object 11 moving on the passage 12. a detection means 14 and a second detection means 15;
a signal generating means 27 for generating a signal in response to the circular object 11 moving a predetermined distance on the passage 12;
a first counting means 32 for counting the number of signals generated by the signal generating means 27 while the detecting means 14 detects the moving circular object 11; a second counting means 33 for counting the number of signals generated by the signal generating means 27 while detecting II; and a count value by the first counting means 32 and a count value by the second counting means 33. This is an apparatus for determining the diameter of a circular object, comprising arithmetic control means 21 for determining the diameter of the circular object 11 based on the following.

(作用) 請求項1の発明では、通路12上を移動する円形物体1
1をその移動方向に対して交差する方向に一対設けた第
1の検知手段14および第2の検知手段15で検知し、
この第1の検知手段14および第2の検知手段15が円
形物体11を検知している期間を第1の計時手段51お
よび第2の計時手段52でそれぞれ計時し、この第1の
計時手段5Iによる第1の計時値と第2の計時手段52
による第2の計時値とに基づいて演算制御手段21は円
形物体11の径を特徴する 請求項2の発明では、通路12上を移動する円形物体1
1をその移動方向に対して交差する方向に一対設けた第
1の検知手段14および第2の検知手段I5で検知し、
このとき、円形物体11が通路12上を所定距離移動す
るのに対応して信号発生手段27から信号を発生し、そ
して、第1の検知手段14および第2の検知手段15が
円形物体11を検知している間の信号発生手段27が発
生する信号数を第1の計数手段32および第2の計数手
段33でそれぞれ計数し、この第1の計数手段32によ
る計数値と第2の計数手段33による計数値とに基づい
て演算制御手段21は円形物体11の径を判別する。
(Function) In the invention of claim 1, the circular object 1 moving on the passage 12
1 by a pair of first detection means 14 and second detection means 15 provided in a direction intersecting the direction of movement thereof,
The period during which the first detection means 14 and the second detection means 15 are detecting the circular object 11 is measured by the first time measurement means 51 and the second time measurement means 52, respectively, and the first time measurement means 5I The first time measurement value and the second time measurement means 52
In the invention of claim 2, the arithmetic control means 21 characterizes the diameter of the circular object 11 based on the second time value measured by
1 by a pair of first detection means 14 and second detection means I5 provided in a direction intersecting the direction of movement thereof,
At this time, the signal generating means 27 generates a signal in response to the circular object 11 moving a predetermined distance on the passage 12, and the first detecting means 14 and the second detecting means 15 detect the circular object 11. The number of signals generated by the signal generating means 27 during detection is counted by the first counting means 32 and the second counting means 33, and the counted value by the first counting means 32 and the second counting means are calculated. 33, the arithmetic control means 21 determines the diameter of the circular object 11.

(実施例) 以下、本発明の一実施例(M求項2に対応している)の
構成を第1図ないし第4図を参照して説明する。
(Embodiment) Hereinafter, the configuration of an embodiment of the present invention (corresponding to M requirement 2) will be described with reference to FIGS. 1 to 4.

第1図および第2図は円形物体が移動する通路構造を示
し、硬貨などの円形物体11を移動させる通路12上に
搬送ベルト13を張設しており、通路12に進入する円
形物体11を搬送ベルトI3でくわえ込み、その円形物
体11を搬送ベルト13により保持した状態で通路12
上を摺動させて搬送する。この通路12には、円形物体
11の移動方向に対して交差する方向(この実施例では
直交する方向であり、斜め方向でもよい)に第1の検知
手段としての第1の検知センサ14および第2の検知手
段としての第2の検知センサI5が設けられ、この各検
知センサ14. Isは、通路12の上下に受光器16
よおよび投光器+6bを配設した投受光型検知センサか
らなり、通路12を移動する円形物体11で検知光を遮
光されることにより円形物体11を検知するようになっ
ている。
1 and 2 show a passage structure through which a circular object moves. A conveyor belt 13 is stretched over a passage 12 through which a circular object 11 such as a coin is moved. The circular object 11 is gripped by the conveyor belt I3 and is held in the passage 12 by the conveyor belt 13.
Convey by sliding on the top. In this passage 12, a first detection sensor 14 as a first detection means and a second A second detection sensor I5 is provided as a detection means for each detection sensor 14. Is has light receivers 16 above and below the passage 12.
It consists of a light emitting/receiving type detection sensor equipped with a light emitter +6b and a light emitter +6b, and detects the circular object 11 by blocking the detection light by the circular object 11 moving in the passage 12.

第3図は径判別装置のブロック構成図を示し、径判別制
御を行う演算制御手段としてのCPU21を有し、この
CPU2+に、プログラムや金種ごとの径の基準値など
を記憶したROM22およびデータを記憶続出可能とす
るRAM23が接続されているとともに、入出力ボート
24が接続され、この入出力ポート24を通じて径判別
のためのデータを得るようにしている。
FIG. 3 shows a block configuration diagram of the diameter discrimination device, which has a CPU 21 as an arithmetic control means for diameter discrimination control, and this CPU 2+ has a ROM 22 and data that stores programs, diameter reference values for each denomination, etc. A RAM 23 is connected thereto, and an input/output port 24 is connected thereto, through which data for determining the diameter can be obtained.

次に、CPU2+が入出力ボート24を通じて径判別の
ためのデータを得るための構成および動作を説明する。
Next, the configuration and operation for the CPU 2+ to obtain data for diameter determination through the input/output port 24 will be explained.

入出力ポート24からモータ制御回路25に駆動指令が
出力されると、モータ26が駆動され、前記搬送ベルト
13が回動駆動される。このモータ26の回転を信号発
生手段としてのロータリーエンコータ27で検出し、こ
のロータリーエンコーダ27からは、第4図(b)に示
すように、通路12内の円形物体11を0.11搬送す
るごとに1パルスの信号Pを発生する。
When a drive command is output from the input/output port 24 to the motor control circuit 25, the motor 26 is driven and the conveyor belt 13 is rotationally driven. The rotation of the motor 26 is detected by a rotary encoder 27 as a signal generating means, and the rotary encoder 27 conveys the circular object 11 in the passage 12 by 0.11 as shown in FIG. 4(b). A signal P of one pulse is generated every time.

また、各検知センサ14. 15からは、通路12を移
動する円形物体11を検知するごとに、各波形整形回路
28.29を通じて、第4図(b)に示すように、円形
物体11を検知幅に対応した検知信号S1゜S2をそれ
ぞれ発生する。
In addition, each detection sensor 14. 15, each time the circular object 11 moving in the passage 12 is detected, the circular object 11 is converted into a detection signal S1 corresponding to the detection width through each waveform shaping circuit 28, 29, as shown in FIG. 4(b). ° S2 is generated respectively.

そして、一対の各アンド回路30.31の一方の入力端
子に前記ロータリーエンコーダ27からパルス信号Pが
それぞれ入力されるとともに、他方の入力端子に各波形
整形回路28.29から検知信号Sl、S2がそれぞれ
入力され、この各アンド回路30.31からは、第4図
(c)に示すように、検知信号S、、S2に対応したパ
ルス信号S3.S4をそれぞれ出力する。
The pulse signal P from the rotary encoder 27 is input to one input terminal of each AND circuit 30.31 of the pair, and the detection signals Sl, S2 from each waveform shaping circuit 28.29 are input to the other input terminal. From the AND circuits 30, 31, pulse signals S3, . Output S4 respectively.

さらに、各アンド回路30.31からの信号S3゜S4
が第1の計数手段として第1の計数回路32および第2
の計数手段としての第2の計数回路33にそれぞれ入力
され、この各計数回路32.33でパルス数をそれぞれ
計数し、各計数値α。、β0を入出力ポート24にそれ
ぞれ出力する。なお、各計数回路32.33のCLR端
子には計数値をクリアするためのクリア信号がそれぞれ
入力される。
Furthermore, signals S3°S4 from each AND circuit 30.31
is the first counting circuit 32 and the second counting circuit 32 as the first counting means.
The pulse numbers are input to the second counting circuit 33 as a counting means, and each counting circuit 32 and 33 counts the number of pulses to obtain each counted value α. , β0 are output to the input/output port 24, respectively. Note that a clear signal for clearing the counted value is input to the CLR terminal of each counting circuit 32, 33, respectively.

このように、CPU2+には入出力ボート24を通じて
径判別のためのデータとして各計数回路32゜33から
計数値α。、β。が入力される。そして、CPU21は
、計数値α。、β。をRAM23に記憶し、αo xQ
、  1mm、βoxo、1m1uの距離換算を行って
各検知センサ14.15で検知した円形物体11の距離
値α、βを算出してRA M 23に記憶させる。
In this way, the CPU 2+ receives the count value α from each counting circuit 32 and 33 as data for determining the diameter through the input/output port 24. ,β. is input. Then, the CPU 21 calculates the count value α. ,β. is stored in the RAM 23, and αo xQ
, 1 mm, βoxo, and 1 m1u, distance values α and β of the circular object 11 detected by each detection sensor 14.15 are calculated and stored in the RAM 23.

次に、α、βの値からCPU21によって円形物体11
の径を判別する処理について説明する。この実施例では
、後述する円であるための公式(15)に入れる数値を
求める演算((1)式〜(14)式)と、直径の公式(
22)に入れる数値を求める演算(f15)〜(2+)
)とに大きく分けることができる。
Next, the circular object 11 is determined by the CPU 21 from the values of α and β.
The process of determining the diameter of the diameter will be explained. In this example, we will perform calculations (Equations (1) to (14)) to find the numerical value to be entered into the formula (15) for a circle, which will be described later, and the diameter formula (
22) Calculation to find the numerical value to be put in (f15) ~ (2+)
) can be broadly divided into

そして、第4図(a)に示すように、各検知センサ14
. 15による円形物体11の検知始点A(xo。
As shown in FIG. 4(a), each detection sensor 14
.. Detection starting point A (xo.

yo)、C(X2.  yl)と検知終点B (x+ 
yo), C(X2. yl) and detection end point B (x+
.

yo)、D(X3.yl)とを座標系で対応させると、
次の(1) (2) (3)式が成立する。
yo) and D(X3.yl) in the coordinate system,
The following equations (1), (2), and (3) hold true.

x、−Xo=α          ・・・(1)x3
−X、=β          ・・・(2)Y+  
To =γ          ・・・(3)なお、α
は第1の計数回路32の計数値α。から得られた点AB
間の距離、βは第2の計数回路33の計数値β。から得
られた点CD間の距離、γは検知センサ14. 15の
距離である。
x, -Xo=α...(1)x3
−X,=β...(2)Y+
To = γ...(3) In addition, α
is the count value α of the first counting circuit 32. Point AB obtained from
and β is the count value β of the second counting circuit 33. The distance between points CD, γ, obtained from the detection sensor 14. 15 distance.

ここで、計算の簡略のために、(xo、yo)= (0
,0)とすると、次の(4) (5) (6)式が成立
する。
Here, to simplify calculation, (xo, yo) = (0
, 0), the following equations (4), (5), and (6) hold true.

xl −α             ・・・・・・(
4)x3−X2=β          ・・・・・・
(5)V+=γ             ・・・・・
・(6)また、円であるため、次の (7)式が成立す
る。
xl −α ・・・・・・(
4) x3-X2=β ・・・・・・
(5) V+=γ・・・・・・
・(6) Also, since it is a circle, the following equation (7) holds true.

X2−X、−x3          ・・・・・(7
)この (7)式に前記 (4)式を代入する。
X2-X, -x3...(7
) Substitute the above equation (4) into this equation (7).

X 2 − α −X3 、’、x2+x3=α        ・・・・・・(
8)また、 (5)式+ (8)式の計算を行う。
X 2 − α −X3 ,', x2+x3=α ・・・・・・(
8) Also, calculate equation (5) + equation (8).

2x、=α+β 一’−X3=(α+β)/2     ・・・・・・(
9)また、 (8)式−(5)式の計算を行う。
2x, =α+β 1'-X3=(α+β)/2 ・・・・・・(
9) Also, calculate equation (8) - equation (5).

2x2=α−β 、’−X2=(α−β)/2     ・・・・・・(
10)以上をまとめると、次の(11)〜(14)式で
示すことができる。
2x2=α-β,'-X2=(α-β)/2 ・・・・・・(
10) The above can be summarized by the following formulas (11) to (14).

XI =α             ・・・・・・(
11)X2=(α−β)/2       ・・・・・
・(12)X3=(α+β)/2      ・−・・
・(13)y、=γ             ・・・
・・・(14)次に、円であるために、次の(15)式
が成立する。
XI = α ・・・・・・(
11)X2=(α-β)/2...
・(12)X3=(α+β)/2 ・−・・
・(13)y,=γ...
(14) Next, since it is a circle, the following equation (15) holds true.

(x−a)   +  Cy−b)   =c”  =
−115)なお、a、bは円の中心座標(a、b)であ
り、Cは円の半径である。
(x-a) + Cy-b) =c" =
-115) Note that a and b are the center coordinates (a, b) of the circle, and C is the radius of the circle.

そして、(15)式に点A(0,0)、点B(x、、O
)、点C(x2.yl)をそれぞれ代入すると、次のf
16) (17) [18)式となる。
Then, in equation (15), point A(0,0), point B(x,,O
) and point C (x2.yl), the following f
16) (17) Equations [18] are obtained.

a2+b’ =c”          ・・・・・1
16)(x+−a)’ +b’ =c2  −−=(I
T)(X2−8) 2+ (yl −b)  =(2・
・・・・・(18) そして、(17)式−(16)式の計算を行う。
a2+b'=c"...1
16) (x+-a)'+b' =c2 --=(I
T) (X2-8) 2+ (yl -b) = (2・
...(18) Then, calculations of equations (17) to (16) are performed.

X H’  2 a X H= 0 、’、 a  = x 、  / 2        
      −−−−− f19)また、(18)式−
(16)式の計算を行う。
X H' 2 a X H= 0,', a = x, / 2
------- f19) Also, formula (18) -
Calculate equation (16).

X2  2ax2+’/I   2by+ =0、’、
b= I/2y+  (X2 −2ax2+y+ 2)
1/2y+  (X2   XI X2 +  + ’
 )・・・・・・(2G) また、(20)式に()1)〜(14)を代入する。
X2 2ax2+'/I 2by+ =0,',
b= I/2y+ (X2 -2ax2+y+ 2)
1/2y+ (X2 XI X2 + + '
)...(2G) Also, substitute ()1) to (14) into equation (20).

これにより、円の中心(a、b)が求まり、次の(19
) f21)式で示される。
As a result, the center of the circle (a, b) is found, and the following (19
) f21) is shown by the formula.

a=α/2            ・・・・・・(1
9)b=γ/2−(α2−β2)/8γ・・・・・・(
21)従って、円の半径Cは、 C=f1璽Tコー■7− で求めることができ、直径は次の(22)式で求めるこ
とができる。
a=α/2 (1
9) b=γ/2-(α2-β2)/8γ・・・・・・(
21) Therefore, the radius C of the circle can be found as follows: C=f1Tk7-, and the diameter can be found using the following equation (22).

D=2v’−丁7T下7       ・・・・・・(
22)以上のように、CPU2+は、α、βの値から直
径りを求め、この直径りの値をROM22に記憶されて
いる金種ごとの基準値と比較して真偽および金種を求め
ることができる。
D=2v'-7T lower 7 ・・・・・・(
22) As described above, the CPU 2+ calculates the diameter from the values of α and β, and compares this diameter value with the reference value for each denomination stored in the ROM 22 to determine the authenticity and denomination. be able to.

次に、本発明の他の実施例(請求項2に対応している)
を第5図および第6図を参照して説明する。
Next, another embodiment of the present invention (corresponding to claim 2)
will be explained with reference to FIGS. 5 and 6.

この実施例では、各波形整形回路28.29からの検知
信号S II+  312 (第6図(b))が排他的
OR回路41にそれぞれ入力され、この排他的OR回路
41からは信号513(第6図(C))が出力される。
In this embodiment, the detection signal S II+ 312 (FIG. 6(b)) from each waveform shaping circuit 28, 29 is input to the exclusive OR circuit 41, and from this exclusive OR circuit 41, the signal 513 (the 6 (C)) is output.

そして、波形整形回路28からの検知信号3+1が一方
のアンド回路30に入力され、このアンド回路30から
信号S、4(第6図(d))が第1の計数回路32に入
力され、この第1の計数回路32から計数値α。 が入
出力ボート24を通じてCPU21に入力される。
Then, the detection signal 3+1 from the waveform shaping circuit 28 is inputted to one AND circuit 30, and from this AND circuit 30, the signal S, 4 (FIG. 6(d)) is inputted to the first counting circuit 32. Count value α from the first counting circuit 32. is input to the CPU 21 through the input/output port 24.

一方、排他的OR回路41からの信号SI3が他方のア
ンド回路31に入力され、このアンド回路31から信号
S1.(第6図(d))が第2の計数回路33に入力さ
れ、この第2の計数回路33から計数値β。′が入出力
ボート24を通じてCPU2+に入力される。
On the other hand, the signal SI3 from the exclusive OR circuit 41 is input to the other AND circuit 31, and the signal S1. (FIG. 6(d)) is input to the second counting circuit 33, and from this second counting circuit 33, the count value β is input. ' is input to the CPU 2+ through the input/output port 24.

そして、CPU21は、計数値α。 、β。Then, the CPU 21 calculates the count value α. ,β.

の距離換算(α。′ ×0、l mm、β。 ×0.1
+nm)を行って各検知センサ14. 15で検知した
円形物体11の距離値α′、β′を算出する。
Distance conversion (α.' ×0, l mm, β. ×0.1
+nm) for each detection sensor 14. The distance values α' and β' of the circular object 11 detected in step 15 are calculated.

次に、α 、β′の値からCPU21によって円形物体
11の径を判別する処理について説明する。
Next, a process for determining the diameter of the circular object 11 by the CPU 21 from the values of α and β' will be described.

この実施例では、後述する円であるための公式(37)
に入れる数値が直接求めることができるのでそのための
演算(前記実施例では(1)式〜(14)式)を省略で
き、直径の公式(44)に入れる数値を求める演算((
3g)〜(43))のみを行えば、円形物体11の直径
を判別することができる。
In this example, the formula (37) for being a circle, which will be described later, is used.
Since the numerical value to be inserted into the diameter formula (44) can be directly obtained, the calculations for that purpose (formulas (1) to (14) in the above embodiment) can be omitted, and the calculation to calculate the numerical value to be inserted into the diameter formula (44) ((
The diameter of the circular object 11 can be determined by performing only steps 3g) to (43)).

そして、第6図に示すように、各検知センサ14、15
による円形物体11の検知始点A (xo 。
As shown in FIG. 6, each detection sensor 14, 15
The detection starting point A of the circular object 11 by (xo.

To)、C(X21Ml)と検知終点B(x、。To), C(X21Ml) and the detection end point B(x,.

yo)、D (X3.y+ )とを座標系で対応させる
と、次の(31) (32) (331式が成立する。
yo) and D (X3.y+) in a coordinate system, the following equations (31), (32), and (331) hold true.

xI−xo=α         ・・・・・・(31
)x2−Xo=β′         ・・・・・・(
32)VI3’o =γ         ・・・・・
・(33)なお、α′は第1の計数回路32の計数値α
。 から得られた点AB間の距離、β′は第2の計数回
路33の計数値β。 から得られた点CD間の距離、γ
は検知センサ14.  +5の距離である。
xI−xo=α (31
) x2−Xo=β′ ・・・・・・(
32) VI3'o = γ...
・(33) Note that α′ is the count value α of the first counting circuit 32
. The distance between points AB obtained from , β' is the count value β of the second counting circuit 33. The distance between points CD obtained from γ
is the detection sensor 14. The distance is +5.

ここで、計算の簡略のために、(xo、yo)= (0
,0)とすると、次の(34) (35) (36)式
が成立する。
Here, to simplify calculation, (xo, yo) = (0
, 0), the following equations (34), (35), and (36) hold true.

x、=α′            ・・・・・・(3
4)x2=β′            ・・・・・・
(35)VI=γ            ・・・・・
・(36)また、円であるため、次の(37)式が成立
する。
x, = α′ ・・・・・・(3
4) x2=β' ・・・・・・
(35)VI=γ・・・・・・
-(36) Also, since it is a circle, the following equation (37) holds true.

(x−a) 2+ (y−b)  =c2−−−−(3
7)なお、a、bは円の中心座標(a、b)であり、C
は円の半径である。
(x-a) 2+ (y-b) =c2---(3
7) Note that a, b are the center coordinates (a, b) of the circle, and C
is the radius of the circle.

そして、(37)式に点A(0,0)、点B(x、、0
)、点C(X2.y+ )をそれぞれ代入すると、次の
(38) (39) (40)式となる。
Then, in equation (37), point A(0,0), point B(x,,0
) and point C(X2.y+), the following equations (38), (39), and (40) are obtained.

a’ 十b2=c2        ・=−138)(
x、−a)  +b2=c’    −・−139)(
X2  a)  +(y+   b)  =c2・・・
・・・ (40) そして、+39) −(38)の計算を行う。
a' ten b2=c2 ・=-138)(
x, -a) +b2=c' -・-139) (
X2 a) + (y+ b) = c2...
... (40) Then, calculate +39) - (38).

x、  −2ax+ =0 パ・a = x + / 2 =α /2          ・・・(41)また、
(401−(38]の計算を行う。
x, -2ax+ = 0 pa・a = x + / 2 = α /2 ... (41) Also,
(401-(38) is calculated.

x2 −2ax2 +y+    2bY+ =0、’
、b=  l/2y+  (X2  2ax2+y l
 ” )=1/2γ(β′ −α′ β′+72)・・
・・・・(42) また、(38) (41) (42)式により、次の(
43)式が示される。
x2 −2ax2 +y+ 2bY+ =0,'
, b= l/2y+ (X2 2ax2+y l
” )=1/2γ(β′ −α′ β′+72)...
...(42) Also, by equations (38) (41) (42), the following (
43) Equation is shown.

c=f]17コー7 ・・・・・・ (43) 従って、直径は次の(44)式で求めることができる。c=f] 17 Cor 7 ・・・・・・(43) Therefore, the diameter can be determined using the following equation (44).

・・・・・・ (44) なお、前記実施例では、α≧βの場合を示したが、α〈
βの場合(32)式においてX2−Xn =−β′ と
なるため、(35)式ではX2=−β′となとなる 以上のように、CPU2+は、α 、β′の値から直径
りを求め、この直径りの値をROM22に記憶されてい
る金種ごとの基準値と比較して真偽および金種を求める
ことができる。
(44) In the above embodiment, the case of α≧β was shown, but α<<
In the case of β, X2-Xn = -β' in equation (32), so in equation (35), X2 = -β'.As described above, CPU2+ is The authenticity and denomination can be determined by comparing this diameter value with a reference value for each denomination stored in the ROM 22.

なお、前記実施例では、一対の検知センサ14゜15に
よって円形物体11の搬送距離を検知して径を判別する
ようにしているが、円形物体11を一定速度で搬送し、
検知センサ14.15が円形物体11を検知している期
間を計時して、この計時値に基づいて径を判別するよう
にしてもよい。すなわち、この場合の実施例(請求項1
に対応している)では、第7図に示すように、第1の検
知手段14および第2の検知手段15か移動する円形物
体11を検知している期間をそれぞれ計時する第1の計
時手段51および第2の計時手段51を備え、その第1
の計時手段51による第1の計時値α。と第2の計時手
段52による第2の計時値β。に基づいて円形物体11
の径を判別する演算制御手段21を備えており、この演
算制御手段21は、計時値(α。、β。)と円形物体1
1の搬送速度とから距離値(α、β)を求め、前述のよ
うに演算を行って径を判別することができる。
In the embodiment described above, the conveyance distance of the circular object 11 is detected by the pair of detection sensors 14 and 15 to determine the diameter, but the circular object 11 is conveyed at a constant speed,
The period during which the detection sensors 14 and 15 detect the circular object 11 may be counted, and the diameter may be determined based on this timed value. That is, the embodiment in this case (Claim 1
As shown in FIG. 51 and a second clocking means 51, the first
The first time value α by the time measurement means 51. and a second time value β by the second time measurement means 52. Circular object 11 based on
The calculation control means 21 determines the diameter of the circular object 1 by determining the diameter of the circular object 1.
The distance value (α, β) is obtained from the transport speed of 1, and the diameter can be determined by performing calculations as described above.

なお、前記実施例では、ただ単に信号発生手段の信号を
計数しているのみであるが、モータの正転、逆転の各々
に対して別々に信号数を計数し、正転の信号数から逆転
の信号数を減算した計数値を用いて第1及び第2の計数
手段を構成すれば、モータが一時的に逆転したような場
合でも確実に径を判別することができる。
In the above embodiment, the signals of the signal generating means are simply counted, but the number of signals is counted separately for each of the forward and reverse rotations of the motor, and the number of signals for the forward rotation is calculated from the number of signals for the reverse rotation. By configuring the first and second counting means using the count value obtained by subtracting the number of signals, the diameter can be reliably determined even when the motor is temporarily reversed.

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

請求項1の発明によれば、通路上を移動する円形物体を
その移動方向に対して交差する方向に一対設けた第1の
検知手段および第2の検知手段で検知し、この第1の検
知手段および第2の検知手段が円形物体を検知している
期間を第1の計時手段および第2の計時手段でそれぞれ
計時し、この第1の計時手段による第1の計時値と第2
の計時手段による第2の計時値とに基づいて演算制御手
段によって円形物体の径を判別することができ、円形物
体を通路の片側に規制する必要がないとともに検知手段
の読取りのタイミングを取る必要もなく、簡単な構成お
よび処理で正確に径を判別することができる。
According to the invention of claim 1, a circular object moving on a passage is detected by a pair of first detection means and second detection means provided in a direction intersecting the direction of movement of the circular object, and the first detection means The period during which the means and the second detecting means are detecting the circular object is measured by the first time measuring means and the second time measuring means, respectively, and the first time value by the first time measuring means and the second time value are
The diameter of the circular object can be determined by the arithmetic control means based on the second time value measured by the time measuring means, and there is no need to restrict the circular object to one side of the passage, and it is not necessary to time the reading of the detection means. Therefore, the diameter can be determined accurately with a simple configuration and processing.

請求項2の発明によれば、通路上を移動する円形物体を
その移動方向に対して交差する方向に一対設けた第1の
検知手段および第2の検知手段で検知し、このとき、円
形物体が通路上を所定距離移動するのに対応して信号発
生手段から信号を発生し、そして、第1の検知手段およ
び第2の検知手段が円形物体を検知している間の信号発
生手段が発生する信号数を第1の計数手段および第2の
計数手段でそれぞれ計数し、この第1の計数手段による
計数値と第2の計数手段による計数値とに基づいて演算
制御手段は円形物体の径を判別することができ、円形物
体を通路の片側に規制する必要がないとともに検知手段
の読取りのタイミングを取る必要もなく、簡単な構成お
よび処理で正確に径を判別することができる。
According to the invention of claim 2, a circular object moving on a passage is detected by a pair of first detecting means and second detecting means provided in a direction intersecting the direction of movement of the circular object, and at this time, the circular object The signal generating means generates a signal in response to the object moving a predetermined distance on the path, and the signal generating means generates a signal while the first detecting means and the second detecting means are detecting the circular object. The first counting means and the second counting means each count the number of signals to be detected, and the arithmetic control means determines the diameter of the circular object based on the counted value by the first counting means and the counted value by the second counting means. It is not necessary to restrict the circular object to one side of the passage, and there is no need to time the reading of the detection means, and the diameter can be accurately determined with a simple configuration and processing.

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

第1図は本発明の円形物体の径判別装置の一実施例(請
求項2に対応している)を示す通路の平面図、第2図は
その側面図、第3図は構成図、第4図(a)は通路上で
の円形物体の座標系を示す説明図であるとともに(b)
 (c)は波形図、第5図は本発明の他の実施例(請求
項2に対応している)を示す構成図、第6図(1)は通
路上での円形物体の座標系を示す説明図であるとともに
 (b) (c) (d)は波形図、第7図は本発明の
さらに他の実施例(請求項1に対応している)を示す構
成図、第8図は従来の装置の平面図である。 11・・円形物体、12・・通路、14・・第1の検知
手段としての検知センサ、15・・第2の検知手段とし
ての検知センサ、21・・演算制御手段としてのCPU
、27・・信号発生手段としてのロータリーエンコーダ
、32・・第1の計数手段としての計数回路、33・・
第2の計数手段としての計数回路、51・・第1の計時
手段、52・・第2の計時手段。 Σ−Jし 浚IU」 情iし娃
FIG. 1 is a plan view of a passage showing an embodiment of the device for determining the diameter of a circular object according to the present invention (corresponding to claim 2), FIG. 2 is a side view thereof, and FIG. 3 is a configuration diagram. Figure 4 (a) is an explanatory diagram showing the coordinate system of a circular object on the passage, and (b)
(c) is a waveform diagram, FIG. 5 is a configuration diagram showing another embodiment of the present invention (corresponding to claim 2), and FIG. 6 (1) is a coordinate system of a circular object on the passage. (b) (c) (d) are waveform diagrams, FIG. 7 is a configuration diagram showing still another embodiment of the present invention (corresponding to claim 1), and FIG. FIG. 2 is a plan view of a conventional device. 11...Circular object, 12...Pathway, 14...Detection sensor as first detection means, 15...Detection sensor as second detection means, 21...CPU as calculation control means
, 27... rotary encoder as signal generating means, 32... counting circuit as first counting means, 33...
A counting circuit as a second counting means, 51...first timekeeping means, 52...second timekeeping means. Σ-J IU”

Claims (2)

【特許請求の範囲】[Claims] (1)円形物体が移動する通路と、 この通路上に移動方向に対して交差する方向に一対設け
られ、通路上を移動する円形物体を検知する第1の検知
手段および第2の検知手段と、前記第1の検知手段が移
動する円形物体を検知している期間を計時する第1の計
時手段と、前記第2の検知手段が移動する円形物体を検
知している期間を計時する第2の計時手段と、前記第1
の計時手段による第1の計時値と第2の計時手段による
第2の計時値とに基づいて円形物体の径を判別する演算
制御手段と を具備したことを特徴とする円形物体の径判別装置。
(1) A path through which a circular object moves; and a pair of first and second detection means provided on this path in a direction intersecting the direction of movement, and which detect the circular object moving on the path. , a first timer for timing a period during which the first detection means is detecting a moving circular object; and a second timer for timing a period during which the second detection means is detecting a moving circular object. a clocking means; and the first clocking means.
A device for determining the diameter of a circular object, comprising: arithmetic control means for determining the diameter of the circular object based on a first time value measured by the time measurement means and a second time value measured by the second time measurement means. .
(2)円形物体が移動する通路と、 この通路上に移動方向に対して交差する方向に一対設け
られ、通路上を移動する円形物体を検知する第1の検知
手段および第2の検知手段と、前記円形物体が通路上を
所定距離移動するのに対応して信号を発生する信号発生
手段と、前記第1の検知手段が移動する円形物体を検知
している間の前記信号発生手段が発生する信号数を計数
する第1の計数手段と、 前記第2の検知手段が移動する円形物体を検知している
間の前記信号発生手段が発生する信号数を計数する第2
の計数手段と、 前記第1の計数手段による計数値と第2の計数手段によ
る計数値とに基づいて円形物体の径を判別する演算制御
手段と を具備したことを特徴とする円形物体の径判別装置。
(2) A path through which the circular object moves; and a pair of first and second detection means provided on the path in a direction intersecting the direction of movement, and which detect the circular object moving on the path. , a signal generating means for generating a signal in response to the circular object moving a predetermined distance on the path; and a signal generating means generating the signal while the first detecting means is detecting the moving circular object. a first counting means for counting the number of signals generated by the signal generating means while the second detecting means is detecting a moving circular object;
A diameter of a circular object, characterized in that it comprises a counting means, and an arithmetic control means for determining the diameter of the circular object based on the counted value by the first counting means and the counted value by the second counting means. Discrimination device.
JP17592990A 1990-07-03 1990-07-03 Discriminating apparatus for diameter of circular object Pending JPH0464006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17592990A JPH0464006A (en) 1990-07-03 1990-07-03 Discriminating apparatus for diameter of circular object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17592990A JPH0464006A (en) 1990-07-03 1990-07-03 Discriminating apparatus for diameter of circular object

Publications (1)

Publication Number Publication Date
JPH0464006A true JPH0464006A (en) 1992-02-28

Family

ID=16004722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17592990A Pending JPH0464006A (en) 1990-07-03 1990-07-03 Discriminating apparatus for diameter of circular object

Country Status (1)

Country Link
JP (1) JPH0464006A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010106622A1 (en) * 2009-03-16 2010-09-23 グローリー株式会社 Diameter detecting device and diameter detecting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010106622A1 (en) * 2009-03-16 2010-09-23 グローリー株式会社 Diameter detecting device and diameter detecting method

Similar Documents

Publication Publication Date Title
CN100473943C (en) Optical measuring device and abnormity detection method
JPH0464006A (en) Discriminating apparatus for diameter of circular object
JP2717334B2 (en) Radiation measuring instrument
JP2634110B2 (en) Coin discriminator
KR100576202B1 (en) Method for detecting medium using coordinate calculation
JPH04178895A (en) Coin discriminating/counting device
KR880000187B1 (en) Testing paper currency
JP2916280B2 (en) Coin diameter measuring device
JP3176763B2 (en) Moving object detection device
JP2875151B2 (en) Coin processing machine
SU417687A1 (en)
JPH04138370A (en) Detecting device of wheel speed
JPS6029902B2 (en) Ball speed measuring device
JPH0123829B2 (en)
JP2573078Y2 (en) Ball counter abnormality detector
SU683517A1 (en) Device for determining particle size
JPS6076608A (en) Interval detecting apparatus of material to be carried
JPH0217583A (en) Mark reader
JPH0432709A (en) Method and instrument for measuring external diameter of coin
JPS6132446Y2 (en)
JPH02254590A (en) Coin discriminator
JPS58175081A (en) Mark reader
JPH02173737A (en) Original detector
JPS60191380A (en) Surface-back discriminator for paper money
JPS59200384A (en) Detection of counting mistake of pulse counter