JPS61201397A - Optical type building counter - Google Patents

Optical type building counter

Info

Publication number
JPS61201397A
JPS61201397A JP60041779A JP4177985A JPS61201397A JP S61201397 A JPS61201397 A JP S61201397A JP 60041779 A JP60041779 A JP 60041779A JP 4177985 A JP4177985 A JP 4177985A JP S61201397 A JPS61201397 A JP S61201397A
Authority
JP
Japan
Prior art keywords
minimum value
ticket
signal level
optical sensor
optical
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
JP60041779A
Other languages
Japanese (ja)
Inventor
学 亀井
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.)
TOKYO SYST CREATE KK
TOKYO SYSTEM CREATE KK
Original Assignee
TOKYO SYST CREATE KK
TOKYO SYSTEM CREATE KK
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 TOKYO SYST CREATE KK, TOKYO SYSTEM CREATE KK filed Critical TOKYO SYST CREATE KK
Priority to JP60041779A priority Critical patent/JPS61201397A/en
Publication of JPS61201397A publication Critical patent/JPS61201397A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、紙幣や小切手等の券体を光学式センサを用
いて計数する光学式ビルカウンタに係り、特に、券体の
種類が変更された際に、自動的に券体検出のための基線
を変更→Iするようにした光学式ビルカウンタに関する
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to an optical bill counter that counts bills such as banknotes and checks using an optical sensor. The present invention relates to an optical bill counter that automatically changes the base line for ticket detection when the card is detected.

(従来の技術) 銀行等で一般に利用されている光学式ビルカウンタは、
その概略の機構が第4図に示す如くになっている。
(Conventional technology) Optical bill counters commonly used in banks, etc.
The schematic mechanism is as shown in FIG.

すなわち、ボックス1内に紙幣や小切手あるいは商品券
等の券体10を載置し、始動スイッチ(図示略)を入れ
ると、ボックス1の下部に設けられている送出ギヤ2が
回転して、券体10を一枚ずつ順次通路8へ送込む。
That is, when a ticket body 10 such as a banknote, a check, or a gift certificate is placed in the box 1 and a start switch (not shown) is turned on, the delivery gear 2 provided at the bottom of the box 1 rotates to release the ticket. The bodies 10 are sequentially fed into the passage 8 one by one.

通路3の途中には、受光素子5と発光素子6を通路8を
挾んで対向配置させてなる光学式センサ4が設置されて
おり、受光素子5と発光素子6との間を券体10が通過
する際の受光素子5の出力信号に基づいて、通路8内に
送り込まれた券体10の枚数を計数する。この計数動作
は、図示しない電気回路(例えばマイクロコンピュータ
)によって行われ、所定の表示器に計数結果が表示され
る。
An optical sensor 4 is installed in the middle of the passage 3, and has a light-receiving element 5 and a light-emitting element 6 arranged facing each other with a passage 8 in between. The number of tickets 10 sent into the passage 8 is counted based on the output signal of the light receiving element 5 when passing. This counting operation is performed by an electric circuit (for example, a microcomputer) not shown, and the counting results are displayed on a predetermined display.

光学式センサ◆を通過した券体10は、ローラ7.8に
より、排出a−夕9へ送られ、排出ロータ9の外周に放
射状に設けられた翼9aによってストッカ11内へ排出
される。
The ticket 10 that has passed through the optical sensor ♦ is sent to a discharge a-y 9 by rollers 7.8, and is discharged into the stocker 11 by blades 9a provided radially around the outer periphery of the discharge rotor 9.

また、上記光学式センサ4は、通常、通路8の中心線を
挾んで対称な位置に2組(第5図の4+a+4bで示す
)設けられており、各々、独立に検出を行う構成となっ
ている。
Further, the optical sensors 4 are usually provided in two sets (indicated by 4+a+4b in FIG. 5) at symmetrical positions with the center line of the passage 8 in between, and each is configured to perform detection independently. There is.

これは、券体10の計数動作を、光学式センサ4の出力
信号レベル(すなわち、受光素子5の受光信号レベル)
が基準レベル乙□の上下所定範囲内の値になったか否か
によって行っているためである。
This means that the counting operation of the ticket body 10 is controlled by the output signal level of the optical sensor 4 (that is, the light reception signal level of the light receiving element 5).
This is because the determination is made based on whether or not the value falls within a predetermined range above and below the reference level B□.

すなわち、第6図に示すように、時間t□〜t2の間で
一枚の券体10が光学式センサ4を通過したとすると、
券体10に描かれている模様は全ての券体で同一である
から、発光素子6から発する光の遮断蓋は、模様のIM
淡により変化し、その変化パターンは全ての券体で同一
になる。
That is, as shown in FIG. 6, if one ticket 10 passes through the optical sensor 4 between time t□ and t2,
Since the pattern drawn on the ticket body 10 is the same for all ticket bodies, the lid that blocks the light emitted from the light emitting element 6 is designed to match the IM of the pattern.
It changes depending on the color, and the pattern of change is the same for all bills.

そこで、券体10が光学式センサ4を通過する間の受光
信号レベルの最低値L工を基準レベルとしておけば、光
の遮断が開始された後に、基準レベルL0付近の受光信
号レベルが出力されたことで、券体10が一枚通過した
ことが検出できる。
Therefore, if the lowest value L of the light reception signal level while the ticket body 10 passes the optical sensor 4 is set as the reference level, the light reception signal level near the reference level L0 will be output after the light interruption starts. By this, it is possible to detect that one ticket 10 has passed.

ただし、券体10は、左右で模様が異なるため、ボック
ス1に券体10を載置する際に、各券体の左右が揃って
いないときには、受光信号レベルの変化パターンが異な
ってくるため、上記のように、2組の光学式センサ4a
 、4bを設けておけば、券体10が光学式センサ4a
 * 4bを通過するときには、必ず何れか一方の光学
式センサから基準レベルL0付近の受光信号が出力され
ることになり、正確な計数が行えるのである。
However, since the left and right sides of the ticket body 10 have different patterns, if the left and right sides of each ticket body are not aligned when placing the ticket body 10 in the box 1, the change pattern of the received light signal level will be different. As mentioned above, two sets of optical sensors 4a
, 4b, the ticket body 10 can be used as an optical sensor 4a.
* When passing through 4b, a light reception signal near the reference level L0 is always output from one of the optical sensors, and accurate counting can be performed.

また、2組の光学式センサ4a 、4bを備えることに
より、第5図に示すように券体10が斜めに送られて来
た場合に、遮光開始のタイミングのずれによって、この
「斜め送り」を検出する。さらに、2枚の券体が重なっ
て送られて来たときには、受光信号レペルカを基準レベ
ルL□より大幅に低くなるため、これを判別することで
「2枚重ね」も検出するようになっている。
Furthermore, by providing two sets of optical sensors 4a and 4b, when the ticket body 10 is fed diagonally as shown in FIG. Detect. Furthermore, when two tickets are sent overlapping, the light reception signal Repelka becomes significantly lower than the standard level L□, so by distinguishing this, it is also possible to detect "two tickets stacked". There is.

なお、第4図中のボックスlに設けられている光学式セ
ンサ(発光素子1zと受光素子1B)は、ボックス1内
に券体10が存在するか否かを検出するためのものであ
る。
The optical sensor (light emitting element 1z and light receiving element 1B) provided in box l in FIG. 4 is for detecting whether or not the ticket body 10 is present in box 1.

(発明が解決しようとする問題点) しかしながら、従来の光学式ビルカウンタは、上記基部
レベルL□の設定および切換えを、アッテネータ等の手
動切換えスイッチによって、使用者が手作業にて行う構
成となっていた。
(Problems to be Solved by the Invention) However, the conventional optical bill counter has a configuration in which the user manually sets and switches the base level L□ using a manual changeover switch such as an attenuator. was.

すなわち、予め、計数対象となる券体の種類(例えば、
日本観行券のように金額により異なる場合)に対応して
、環数の基準レベルL工(1)〜L工fnlを択一的に
発生させるような回路を内蔵し、これを、アッテネータ
等の切換スイッチで切換えられろような構成としである
That is, in advance, the type of ticket to be counted (for example,
In response to the case where the amount varies depending on the amount of money (as in the case of Japanese tourist tickets), a circuit is built in that selectively generates the reference levels L(1) to L(fnl) of the ring number, and this is connected to an attenuator, etc. The configuration is such that it can be changed using a changeover switch.

このため、券体の種類が変更された場合には、その都度
、手作業にて基準レベルL□の切換えを行うことになり
、煩雑であるうえに、この作条を忘れたとぎには、誤動
作(計数値力を不正確になったり、「2枚重ね」の検出
が不能になったりする)の原因となり、不便であった。
For this reason, whenever the type of ticket body is changed, the reference level L□ must be changed manually each time, which is cumbersome, and if you forget this setting, This was inconvenient because it caused malfunctions (inaccurate counting values, inability to detect "two sheets stacked").

(問題点を解決するための手段) 上記問題点を解決するために、本発明は、第1図に示す
手段を備える。
(Means for Solving the Problems) In order to solve the above problems, the present invention includes means shown in FIG.

光学式センサ102は、券体100が順次送り込まれて
くる通路101に配置されており、発光素子108と受
光素子10牛とを備えている。
The optical sensor 102 is disposed in the passage 101 into which the ticket bodies 100 are sequentially fed, and includes a light emitting element 108 and a light receiving element 10.

券体通過検出手段105は、前記通路101に送り込ま
れた券体100が、光学式センサ102を通過する際の
通過開始と通過終了を検出する。
The ticket passage detection means 105 detects the start and end of passage when the ticket 100 fed into the passage 101 passes through the optical sensor 102 .

最小値検出手段106は、前記券体100が光学式セン
サ102を通過開始してから通過終了するまでの間にお
ける前記受光素子10手の受光信号レベルの最小値を求
める。
The minimum value detection means 106 determines the minimum value of the light reception signal level of the light receiving element 10 from when the ticket 100 starts passing through the optical sensor 102 until it ends passing through the optical sensor 102.

初券体判別手段107は、光学式センサ102を通過す
る外体100が、券体の計数動作開始後一枚目の券体か
否かを判別する。
The first ticket determining means 107 determines whether the outer body 100 passing the optical sensor 102 is the first ticket after the ticket counting operation starts.

基準レベル記憶手段108は、前記一枚目の券体が光学
式センサ102を通過した際に、最小値検出手段106
によって求められた受光信号レベルの最小値を基準レベ
ルとして記憶する。
The reference level storage means 108 stores the minimum value detection means 106 when the first ticket passes the optical sensor 102.
The minimum value of the received light signal level determined by is stored as a reference level.

受光信号レベル判別手段109は、光学式センサ102
を通過する券体100が、二枚目以降である場合に、最
小値検出手段106によって求められた受光信号レベル
の最小値が、前記基準レベルの上下所定範囲内の値であ
るか否かを判別する。
The received light signal level determination means 109 is an optical sensor 102
When the ticket 100 passing through is the second or subsequent one, it is determined whether the minimum value of the received light signal level determined by the minimum value detection means 106 is within a predetermined range above and below the reference level. Discern.

計数値歩進手段110は、受光信号レベル判別手段10
9によって、受光信号レベルの最小値が基準レベルの上
下所定範囲内の値であると判定された場合に、券体の計
数値を歩進する。
The count value incrementing means 110 includes the received light signal level determining means 10
9, when it is determined that the minimum value of the received light signal level is within a predetermined range above and below the reference level, the count value of the ticket body is incremented.

(作用) 初券体判別手段107と基準レベル記憶手段108によ
り、券体の計数動作が開始された後に最初に光学式セン
サ102を通過した券体によって得られる受光信号レベ
ルの最小値が基準レベルとして記憶される。
(Function) The initial ticket discrimination means 107 and the reference level storage means 108 determine that the minimum value of the received light signal level obtained by the ticket that passes the optical sensor 102 for the first time after the ticket counting operation is started is set as the reference level. is stored as.

以後、券体100が光学式センサ102を通過する毎に
、最小値検出手段106で求められた受光信号レベルの
最小値と上記基準レベルとが、受光信号レベル判別手段
109によって比較され、この判定に基づいて計数値の
歩進が行われる。
Thereafter, each time the ticket 100 passes the optical sensor 102, the minimum value of the received light signal level determined by the minimum value detection means 106 and the above reference level are compared by the received light signal level determination means 109, and this judgment is made. The count value is incremented based on.

従って、券体100の種類が変更されても、一枚目の券
体が光学式センサ102を通過することによって、計数
対象となる解体100に対する基準レベルが自動的に設
定されることになり、手作業で基準レベルを切換える煩
雑さが解消され、かつ、基準レベルが常に適切な値に設
定される(光学式センサ102が経時劣化を生じていて
も、この状態で基準レベルが設定される)ため、誤動作
の発生を大幅に減少させることが可能となる。
Therefore, even if the type of ticket 100 is changed, when the first ticket passes the optical sensor 102, the reference level for the demolition 100 to be counted is automatically set. The trouble of manually switching the reference level is eliminated, and the reference level is always set to an appropriate value (even if the optical sensor 102 has deteriorated over time, the reference level is set in this state). Therefore, it is possible to significantly reduce the occurrence of malfunctions.

(実捲例) 本発明の一実施例を以下に説明する。(Real example) An embodiment of the present invention will be described below.

本実施例におけろ券体の送り機構は、第4図に示した従
来例と同一であるため、同図を兼用する。
The ticket feeding mechanism in this embodiment is the same as the conventional example shown in FIG. 4, so the same figure is also used.

そして、2組の光学式センサ4a’、4bとその周辺の
制御回路は、箪2図に示すような構成になっている。
The two sets of optical sensors 4a' and 4b and their surrounding control circuits are configured as shown in FIG.

この制御回%20は、マイクロコンビエータz5を中心
に構成されており、このマイクロコンピュータz5は、
後述する計数処理の他に、光学式センサの調光処理等の
光学式ビルカウンタの動作に関する処理を行うもので、
第2図には示されていないが多種の人出力信号線が接続
されている。
This control circuit %20 is mainly composed of a micro combinator z5, and this microcomputer z5 is
In addition to the counting process described later, it performs processing related to the operation of the optical building counter, such as dimming processing of the optical sensor.
Although not shown in FIG. 2, various human output signal lines are connected.

2組の光学式センサ4a 、4bの各々において、発光
素子13a 、6bK対して、ラッチ23 a *2:
3bとドライブ回路2+a、24bが設けられ、受光素
子5a 、5bに対して、増119%1ff21a。
In each of the two sets of optical sensors 4a and 4b, a latch 23a *2:
3b and drive circuits 2+a and 24b are provided, and the light receiving elements 5a and 5b have an increase of 119% 1ff21a.

21bとコンパレータ22a、22bが設けられている
21b and comparators 22a and 22b are provided.

ラッチ28a、28bは、マイクロコンピュータ25か
ら供給される発光レベルデータLt fat 。
The latches 28a and 28b receive light emission level data Lt fat supplied from the microcomputer 25.

Ltfblをラッチする回路であり、ラッチした発光レ
ベルデータをドライブ回路24a、24bへ供給する。
This circuit latches Ltfbl and supplies the latched light emission level data to the drive circuits 24a and 24b.

ドライブ回路24a、24bは、ラッチ23a。The drive circuits 24a, 24b are the latch 23a.

28bから与えられる発光レベルデータの大小に対応し
た電流を発光素子6 a + 6 bに与える。
A current corresponding to the magnitude of the light emission level data given from 28b is given to the light emitting elements 6a + 6b.

本実施例では、マイクロコンピュータ25で発生可能な
発光レベルデータな0.1.2,4.8゜9、A、O,
D、E、Fの16進データによる11段階に分けて設定
しである。
In this embodiment, the light emission level data that can be generated by the microcomputer 25 is 0.1.2, 4.8°9, A, O,
It is set in 11 stages using hexadecimal data of D, E, and F.

そして、ドライブ回路24a、24bでは、各段階によ
って、以下のような電流を発光素子6a。
The drive circuits 24a and 24b supply the following current to the light emitting element 6a at each stage.

6bに与える。Give to 6b.

発光レベルデータ        電流0     →
    10 ;nA l     →    12 mA 2     →    14 mA 4     →    16mA 3     →    18 mA 9     →    20 mA A     →    22 mA C→    24 mA D      −26mA E     →    28 mA F     →    80 mA ただし、発光素子6a、6bの定格電流が最大50 m
A以上のものとする。この場合最大近くの電流値ではL
IDがサチレーション(′4流を変化させても光量の変
化が小さい)を起こすためリニアに光量変化が起こる電
流値を選択する必要がある。
Light emission level data Current 0 →
10 ; nA l → 12 mA 2 → 14 mA 4 → 16 mA 3 → 18 mA 9 → 20 mA A → 22 mA C → 24 mA D -26 mA E → 28 mA F → 80 mA However, the ratings of light emitting elements 6a and 6b Current up to 50 m
Must be A or higher. In this case, at a current value near the maximum, L
Since the ID causes saturation (the change in the amount of light is small even when the current '4 is changed), it is necessary to select a current value that causes a linear change in the amount of light.

ここで用いられる発光素子6a 、6bには、例えば赤
外発光ダイオード等の長波長型のものを用いる。これに
対応して、受光素子5a 、5bには、太陽電池(シリ
コンフォトセル)のような長波長応答型のものを用いる
The light emitting elements 6a and 6b used here are of a long wavelength type, such as infrared light emitting diodes. Correspondingly, the light receiving elements 5a and 5b are of a long wavelength response type, such as solar cells (silicon photocells).

これは、ビルカウンタが、オフィス内等の螢光灯光を照
明光として用いる場所で使用されることが多いため、ビ
ルカウンタ内に、照明光が侵入しても、ノイズとならな
いように配慮した構成である。
This is because building counters are often used in places where fluorescent lamp light is used as illumination light, such as in offices, so the structure is designed to prevent noise even if illumination light enters the building counter. It is.

受光素子5a、5bの出力は、増幅器21a+21bで
増幅された後、コンパレータ22a。
The outputs of the light receiving elements 5a and 5b are amplified by amplifiers 21a+21b and then sent to a comparator 22a.

22bに供給される。22b.

このコンパレータZ2a、22bは、例えば、並列比較
型のA/Dコンバータ回路で構成され、増幅afZla
、21bから出力される受光信号のレベルを0〜8の1
0進データ(これを「受光信号レベルデータ」とする)
に変換する。本実施例においては、受光信号レベル(1
it圧レベル)とコンパレータ22a、Z2bの出力デ
ータとの関係を以下のように設定しである。
The comparators Z2a and 22b are configured with, for example, a parallel comparison type A/D converter circuit, and the amplification afZla
, the level of the light reception signal output from 21b is set to 1 of 0 to 8.
Zero-decimal data (this is referred to as "received light signal level data")
Convert to In this example, the received light signal level (1
The relationship between the pressure level) and the output data of the comparators 22a and Z2b is set as follows.

受光信号レベル       出力データ0.4v以下
  →    0 0.4〜0.8V     →       10.8
〜1.2V     4       21.2 〜1
.6V     4       81.6〜2.OV
     −h       +2.0 〜2.4V 
    −e        52.4〜2.8 ■ 
   →       62.8〜3.2v  →  
   7 10 V以上  →    8 次に、第8図は、マイクロコンピュータ25において実
行される処理のうちの、計数処理の内容を示すフローチ
ャートである。
Light receiving signal level Output data 0.4v or less → 0 0.4~0.8V → 10.8
~1.2V 4 21.2 ~1
.. 6V 4 81.6~2. O.V.
-h +2.0 ~2.4V
-e 52.4~2.8 ■
→ 62.8~3.2v →
7 10 V or more → 8 Next, FIG. 8 is a flowchart showing the contents of the counting process among the processes executed in the microcomputer 25.

この計数処理は、本実施例の光学式ビルカウンタの計数
動作が開始されるのに伴って(所定のスタートボタンを
ONにする)実行される。また、計数値Mは、所定のリ
セットボタンを使用者がON操作することによってリセ
ット(M=0)される。
This counting process is executed when the counting operation of the optical bill counter of this embodiment is started (when a predetermined start button is turned on). Further, the count value M is reset (M=0) by the user turning on a predetermined reset button.

計数動作が開始されて、計数処理がスタートすると、先
ず、ステップ81の処理によって、光学式センサ4a 
+ 4bを券体lOが通過開始することを判別する処理
が行われる。
When the counting operation is started and the counting process starts, first, by the process of step 81, the optical sensor 4a is
A process is performed to determine that the ticket IO starts passing through +4b.

これは、光学式センサ+a 、4bの間に何も物体がな
い状態では、受光信号レベルL (at 、 L (b
lr         r は最高レベル「8」にあるように、光学式センサ4a 
、4bの調光がなされているので、受光信号レベルが「
8」よりも小さくなったとき、すなわち「7」以下とな
ったことで物体(すなわち券体)が光学式センサ4♂、
4bに浸入して来たと判定するのである。
This means that when there is no object between the optical sensors +a and 4b, the received light signal level L (at , L (b
As shown in the highest level "8", lr r is the optical sensor 4a.
, 4b are dimmed, so the received light signal level is
When the object (i.e. ticket body) becomes smaller than "8", that is, "7" or less, the optical sensor 4♂,
It is determined that the virus has invaded 4b.

ここで、光学式センサが2組設けられていることから、
何れか一方の受光信号レベルが「7」以下となったこと
で券体通過開始と判定する。
Here, since two sets of optical sensors are provided,
When either one of the light reception signal levels becomes "7" or lower, it is determined that the ticket has started passing.

券体通過開始が検出されると、次に、マイクロコンピュ
ータ25に読込まれた2つの受光信号レベルLr(at
 、 Lr(b)の大小比較な行って、何れか小さい方
(これをr min (Lr(a) 、 Lr(b))
」テfi’ bす)をその時点における受光信号レベル
の検出値(これを「検出レベル」とする)L8として一
時記憶する。
When the start of ticket passage is detected, the two light reception signal levels Lr(at
, Lr(b), and select the smaller one (r min (Lr(a), Lr(b)).
"tefi'b)" is temporarily stored as the detected value of the light reception signal level at that point in time (this is referred to as the "detection level") L8.

この検出レベルLsは、次のステップ38で、一旦、受
光信号レベルの最小値(これを「最小レベル」とする)
Lm工。とじて一時記憶される。
In the next step 38, this detection level Ls is temporarily set to the minimum value of the received light signal level (this is referred to as the "minimum level").
Lm engineer. It is temporarily stored.

しかる後、再度、受光信号レベルL (a)、Lr f
blの読込みを行って、読込んだ受光信号レベルL r
(a)+L 、 fblの何れか一方が「8」に達して
いるか否かを判別しくステップ84)、これによって、
券体の通過終了を検出する。
After that, the received light signal level L (a), Lr f again
bl is read and the read light reception signal level L r
(a) Determine whether either +L or fbl has reached "8" (step 84), thereby
Detects the end of passage of the ticket.

ここで、券体10が未だ光学式センサ4a+4bを通過
する途中の状態であれば、ステップ84の判定はNoと
なり、次のステップ85の処理によって、ステップ84
で読込まれた2つの受光信号レベルL (at 、Lr
 fblのうちの小さい方を検出レベルLsとする。
Here, if the ticket body 10 is still in the state of passing through the optical sensors 4a+4b, the determination in step 84 becomes No, and the process in step 85
Two received light signal levels L (at, Lr
The smaller of fbl is set as the detection level Ls.

そして、次のステップ86の処理で、前記ステップ88
で記憶された最小レベルLWinと前記ステップ85で
求めた検出レベルLsとの大小比較を行い、Ls<Lm
工。であれば、ステップ83の処理によって、最小レベ
ルLmi。の値を更新する。
Then, in the process of the next step 86, the step 88
A comparison is made between the minimum level LWin stored in step 85 and the detection level Ls obtained in step 85, and Ls<Lm
Engineering. If so, the minimum level Lmi is set by the process of step 83. Update the value of

すなわち、L8〈Loiユであれば、ステップ82で求
めた検出レベルLsよりも、ステップ85で求めた検出
レベルの方が小さいことになり、結果として、最小レベ
ルLminの値は、ここまでの間に読込まれた受光信号
レベルL (a)、 L (b)のうちr      
  r の最も小さな値になる。なお、ステップ86においてL
s≧Lminであれば、Lmi。の更新は行わない。
In other words, if L8<Loiyu, the detection level obtained in step 85 is smaller than the detection level Ls obtained in step 82, and as a result, the value of the minimum level Lmin up to this point is lower than the detection level Ls obtained in step 82. Among the received light signal levels L (a) and L (b) read in, r
It becomes the smallest value of r. Note that in step 86, L
If s≧Lmin, Lmi. will not be updated.

以後、ステップ8÷の判定がYESとなるまで、すなわ
ち、券体lOが光学式センサ4a 、4bを通過終了す
るまで、最小レベルLminの更新が行われる。
Thereafter, the minimum level Lmin is updated until the determination in step 8/8 becomes YES, that is, until the ticket 1O finishes passing through the optical sensors 4a and 4b.

ここで、−例として、WLa図に示すような受光信号レ
ベルの変化パターンが何れか一方の光学式センサにおい
て得られ、券体10の通過開始から通過終了までの間の
最も小さい受光信号レベルが「8」であったとする。
Here, as an example, a change pattern of the light reception signal level as shown in the WLa diagram is obtained in either one of the optical sensors, and the smallest light reception signal level from the start of passage of the ticket 10 to the end of passage is Assume that it is "8".

券体10の1過終了により、ステップ84の判定がYE
Sになると、ステップ87の処理によって光学式センサ
4a 、4bを通過した静体が計数動作開始後一枚目の
券体であるか否かの判別が行われる。これは、例えば、
計数値Mの値がroJであるか否かによって判別する。
When the ticket body 10 completes one pass, the determination in step 84 is YE.
When S is reached, it is determined in step 87 whether or not the static object that has passed through the optical sensors 4a and 4b is the first ticket after the start of the counting operation. This is, for example,
The determination is made based on whether the value of the count value M is roJ.

ここで、一枚目の券体であると判定されたならば、ステ
ップ40の処理によって、上記最小レベルLrn工。の
値を基焉レベルL0に置換する。しかる後、ステップ3
9の処理で、計数値Mを歩進(すなわち、M=1になる
)する。
Here, if it is determined that it is the first ticket, the above-mentioned minimum level Lrn processing is performed by the process of step 40. The value of is replaced with the base level L0. After that, step 3
In step 9, the count value M is incremented (ie, M=1).

以後、2枚目の券体が光学式センサ4a 、 4bを通
過すると、ステップ32,133.84,35゜36の
処理によって最小レベルLm工。が求められる。
Thereafter, when the second ticket passes through the optical sensors 4a and 4b, it is set to the minimum level Lm through the processes of steps 32, 133, 84, and 35°36. is required.

そして、今度は、ステップ88の処理によって、上記2
枚目の券体における最小レベル−、ユと上記ステップ4
0で記憶された基準レベルL□との差の絶対値がルベル
以内であるか否かを判別する。
Then, by the process of step 88, the above 2
Minimum level in the th ticket -, Y and step 4 above
It is determined whether the absolute value of the difference from the reference level L□ stored as 0 is within Lebel.

すなわち、基準レベルL工が「8」であるから、最小レ
ベルLm工。がrzJ〜「4」の間にあれば、判定はY
ESとなる。
That is, since the reference level L is "8", the minimum level Lm is set. is between rzJ and "4", the judgment is Y
It becomes ES.

ここで、2枚目に通過した券体が、1枚目の券体と同種
のものであれば、最小レベル−1゜は、基部しベルL工
と略等しくなるはずであるから、極めて正確な検出が行
える。そして、8枚目以降の券体についても同様の処理
が行われ、券体数Mが歩進されていく。
Here, if the second ticket passed is of the same type as the first ticket, the minimum level -1° should be approximately equal to the base and bell L, so it is extremely accurate. detection can be performed. The same process is performed for the eighth and subsequent tickets, and the number M of tickets is incremented.

ところで、もしも、何らかの原因で、通路8内に同時に
2枚以上の券体が重なって送り込まれて来たときには、
光学式センサΦa、4bQ通過する際の遮光量が一枚の
とぎよりも大となるため、求められる最小レベル”rn
i。は$醜しベルL工よりも大幅に小さくなる。
By the way, if for some reason two or more tickets are fed into the aisle 8 at the same time,
Since the amount of light shielded when passing through the optical sensors Φa and 4bQ is larger than that of a single piece of abrasion, the required minimum level "rn"
i. is $uglier and much smaller than Bell L.

従って、この場合には、ステップ88の判定がNoとな
って、エラー発生の旨を所定の表示腑に表示して(ステ
ップ+1)計数動作を停止する。
Therefore, in this case, the determination at step 88 is No, the occurrence of an error is displayed on a predetermined display (step +1), and the counting operation is stopped.

また、異種の券体が通路8に送られて来たときにも、同
じく、最小レベルLrn1nは、ステップ88の条件を
満たさないため、エラー表示および動作停止が行われる
Further, when a different type of ticket is sent to the passage 8, the minimum level Lrn1n does not satisfy the condition of step 88, so an error is displayed and the operation is stopped.

そして、−11,券体の計数が終了した後は、計数値M
のリセットボタンを押して、計数値Mのクリアな行えば
、次に異なる種類の券体の計数を行う場合でも、一枚目
の券体によって基鴎しベルL工が設定されるので、従来
のように、手作業にて基準レベルの切換えを行う必要が
なくなり、便利である。
-11, after the counting of the bills is finished, the count value M
If you press the reset button and clear the count value M, even if you count a different type of ticket next time, the base value L will be set according to the first ticket, so you can use the conventional method. This eliminates the need to manually switch the reference level, which is convenient.

(発明の効果) 以上詳細に説明したように、本発明は、券体の計数動作
力を開始した後、最初に光学式センサを通過した券体に
よる受光信号レベルの最小値を基嘔レベルとして用いる
ことにより、計数対象となる券体の種類が変+gれる毎
に、基準レベルをアッテネータ等の切換スイッチを操作
して設定するような煩雑さがなく、しから、基準レベル
の誤設定が生じることもないので、常に正確な計数が行
える。
(Effects of the Invention) As explained above in detail, the present invention sets the minimum value of the light reception signal level by the ticket body that first passes the optical sensor after starting the counting operation force of the ticket body as the base level. By using this method, there is no need to set the reference level by operating a changeover switch such as an attenuator every time the type of ticket object to be counted changes, which may result in incorrect setting of the reference level. Therefore, accurate counting can always be performed.

また、「2枚重ね」や「異種券体」の検出も正確に行え
ることになり、一層の計数精度向上を図ることができる
In addition, it is possible to accurately detect "two stacked tickets" and "different types of tickets", thereby further improving the counting accuracy.

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

第1図は本発明の構成図、 第2図は本発明の一実施例における光学式センサと周辺
の制御回路を示すブロック図、第3図は第2図中のマイ
クロコンピュータにおいて実行される処理のうちの計数
処理を示すフローチャート、 第4図は光学式ビルカウンタの券体の送り機構および光
学式センサの配置を示す模式図、第5図は券体と光学式
センサの位置関係を示す図、 第6図は券体が光学式センサを通過する際の受光信号レ
ベルの変化を示す図である・ 101・・・通路      102・・・光学式セン
サ103・・・発光素子    104・・・受光素子
105・・・券体通過検出手段 106・・・最小値検出手段 107・・・初券体判別
手段108・・・基準レベル記憶手段 109・・・受光信号レベル判別手段 110・・・計数値歩進手段 3・・・通路 4.4a、4h・・・光学式センサ 555a、5b・・・受光素子 6.6a、6b・・・
発光素子10・・・券体       20・・・制御
回路21a 、 21b ・・・増幅器 22a、22b・・・コンパレータ 25・・・ドライブ回路 L (a)、 L fb)・・・受光信号レベル(デー
タ)r       r LInエユ・・・受光信号レベルの最小値L□・・・基
準レベル M・・・計数値 第2図 第3図 ffXf−7カ 第5図 第6図
Figure 1 is a block diagram of the present invention; Figure 2 is a block diagram showing an optical sensor and peripheral control circuits in an embodiment of the present invention; Figure 3 is a process executed by the microcomputer in Figure 2. Figure 4 is a schematic diagram showing the ticket feeding mechanism of the optical bill counter and the arrangement of the optical sensor; Figure 5 is a diagram showing the positional relationship between the ticket and the optical sensor. , FIG. 6 is a diagram showing changes in the light reception signal level when the ticket passes through the optical sensor. 101... Passage 102... Optical sensor 103... Light emitting element 104... Light reception Element 105... Bill passing detection means 106... Minimum value detection means 107... Initial bill discriminating means 108... Reference level storage means 109... Light received signal level discriminating means 110... Count value Stepping means 3... Passages 4.4a, 4h... Optical sensors 555a, 5b... Light receiving elements 6.6a, 6b...
Light emitting element 10...Ticket body 20...Control circuits 21a, 21b...Amplifiers 22a, 22b...Comparator 25...Drive circuit L(a), Lfb)...Light reception signal level (data ) r r LIn... Minimum value of light-receiving signal level L□... Reference level M... Count value Figure 2 Figure 3 ffXf-7 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】 1、紙幣や小切手等の券体を、発光素子と受光素子から
なる光学式センサを配置した通路へ順次送り込み、光学
式センサの検出信号に基づいて、通路を通過した券体の
枚数を計数する光学式ビルカウンタにおいて、 前記通路へ送り込まれた券体が前記光学式 センサを通過する際の通過開始と通過終了を検出する券
体通過検出手段と、 前記券体が光学式センサを通過開始してか ら通過終了までの間における前記受光素子の受光信号レ
ベルの最小値を求める最小値検出手段と、 前記光学式センサを通過する券体が、券体 の計数動作開始後一枚目の券体か否かを判別する初券体
判別手段と、 前記一枚目の券体が光学式センサを通過し た際に、前記最小値検出手段によって求められた受光信
号レベルの最小値を基準レベルとして記憶する基準レベ
ル記憶手段と、 前記光学式センサを通過する券体が二枚目 以降であるときに、前記最小値検出手段によって求めら
れた受光信号レベルの最小値が、前記基準レベルの上下
所定範囲内の値であるか否かを判別する受光信号レベル
判別手段と、該受光信号レベル判別手段によって、受光 信号レベルの最小値が基準レベルの上下所定範囲内の値
であると判定された場合に、券体の計数値を歩進する計
数値歩進手段とを具備してなることを特徴とする光学式
ビルカウンタ。 2、前記光学式センサは、前記通路内に、該通路の中心
線を挾んで対称な位置に2組配置されており、前記最小
値検出手段は、2組の光学式センサから得られる2つの
受光信号レベルのうちの最小値を求めることを特徴とす
る特許請求の範囲第1項に記載の光学式ビルカウンタ。 3、前記受光信号レベル判別手段は、前記最小値検出手
段によって求められた受光信号レベルの最小値が、前記
基準レベルの上下所定範囲内の値ではない場合には、異
常が発生した旨を報知することを特徴とする特許請求の
範囲第1項あるいは第2項に記載の光学式ビルカウンタ
[Scope of Claims] 1. Tickets such as banknotes and checks are sequentially sent into a passageway in which an optical sensor consisting of a light-emitting element and a light-receiving element is arranged, and based on the detection signal of the optical sensor, the bills that have passed through the passageway are detected. An optical bill counter for counting the number of bills, comprising: a bill passing detection means for detecting the start and end of passage when the bill fed into the passageway passes the optical sensor; minimum value detection means for determining the minimum value of the light reception signal level of the light receiving element from the start of passing through the optical sensor until the end of passing through the optical sensor; an initial ticket identification means for determining whether or not it is a first ticket; and a minimum light reception signal level determined by the minimum value detection means when the first ticket passes an optical sensor. a reference level storage means for storing a value as a reference level; and when a second or subsequent ticket passes the optical sensor, the minimum value of the received light signal level determined by the minimum value detection means is determined to be the minimum value of the light reception signal level determined by the minimum value detection means; a received light signal level determining means for determining whether the value is within a predetermined range above and below the reference level; and a minimum value of the received light signal level is determined by the received light signal level determining means to be a value within the predetermined range above and below the reference level. 1. An optical bill counter comprising: count value incrementing means for incrementing a count value of a ticket when it is determined that 2. Two sets of the optical sensors are arranged in the passage at symmetrical positions with the center line of the passage in between, and the minimum value detection means is configured to detect two sets of optical sensors obtained from the two sets of optical sensors. The optical building counter according to claim 1, characterized in that the minimum value of the received light signal levels is determined. 3. The light reception signal level determining means notifies that an abnormality has occurred if the minimum value of the light reception signal level determined by the minimum value detection means is not within a predetermined range above and below the reference level. An optical bill counter according to claim 1 or 2, characterized in that:
JP60041779A 1985-03-05 1985-03-05 Optical type building counter Pending JPS61201397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60041779A JPS61201397A (en) 1985-03-05 1985-03-05 Optical type building counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60041779A JPS61201397A (en) 1985-03-05 1985-03-05 Optical type building counter

Publications (1)

Publication Number Publication Date
JPS61201397A true JPS61201397A (en) 1986-09-06

Family

ID=12617855

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60041779A Pending JPS61201397A (en) 1985-03-05 1985-03-05 Optical type building counter

Country Status (1)

Country Link
JP (1) JPS61201397A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63271690A (en) * 1987-04-30 1988-11-09 ロ−レルバンクマシン株式会社 Different note discriminator in banknote counter
JPS6464090A (en) * 1987-04-30 1989-03-09 Laurel Bank Machine Co Discriminator for paper money counting machine
JPH03134792A (en) * 1989-10-19 1991-06-07 Laurel Bank Mach Co Ltd Discriminating device for banknote counter

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63271690A (en) * 1987-04-30 1988-11-09 ロ−レルバンクマシン株式会社 Different note discriminator in banknote counter
JPS6464090A (en) * 1987-04-30 1989-03-09 Laurel Bank Machine Co Discriminator for paper money counting machine
JPH05755B2 (en) * 1987-04-30 1993-01-06 Laurel Bank Machine Co
JPH05756B2 (en) * 1987-04-30 1993-01-06 Laurel Bank Machine Co
JPH03134792A (en) * 1989-10-19 1991-06-07 Laurel Bank Mach Co Ltd Discriminating device for banknote counter

Similar Documents

Publication Publication Date Title
US6026175A (en) Currency discriminator and authenticator having the capability of having its sensing characteristics remotely altered
US4653647A (en) Sorting and stacking apparatus
US4334619A (en) Apparatus for processing paper sheets
KR910001269B1 (en) Apparatus for adjusting optical sensors
EP0668576A2 (en) Bill discriminating apparatus for bill handling machine
EP0072448B1 (en) Means and methods for detecting anomalies in currency bills, coupons and the like
KR0138116B1 (en) Method for discriminating authenticity of a ball and an appartus therefor
KR20020073417A (en) Bill counter
KR20070068293A (en) Sheet processing method and sheet processing apparatus
JPS61201397A (en) Optical type building counter
JP2000149086A (en) Paper money counting and discriminating device
JP2018144989A (en) Paper sheet processing unit
JPS59211184A (en) Divisional integrator
JPH0944633A (en) Paper sheet discriminating device
JPH01219989A (en) Counting and discriminating system for paper leaf
CN217543902U (en) Paper money detection device of currency count machine
JPS60188252A (en) Device for detecting two paper overlap
JPS62111376A (en) Optical identification system for paper money
US20200324989A1 (en) Sheet processing apparatus and foreign-object entry determination method
JPS61201392A (en) Optical bill counter
JPS5816058Y2 (en) Vending machine malfunction prevention device
JPS63185756A (en) Conveyed object detecting device
KR20000025174A (en) Counterfeit bill identifier using blue light emitting diode
KR20030095767A (en) Bill counting device
JPH10208102A (en) Device for discriminating counterfeit paper money