JPS59221788A - Coin processor - Google Patents

Coin processor

Info

Publication number
JPS59221788A
JPS59221788A JP58096080A JP9608083A JPS59221788A JP S59221788 A JPS59221788 A JP S59221788A JP 58096080 A JP58096080 A JP 58096080A JP 9608083 A JP9608083 A JP 9608083A JP S59221788 A JPS59221788 A JP S59221788A
Authority
JP
Japan
Prior art keywords
coin
timer
coins
accumulation
sorting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58096080A
Other languages
Japanese (ja)
Other versions
JPH0113154B2 (en
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.)
Tamura Electric Works Ltd
Original Assignee
Tamura 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 Tamura Electric Works Ltd filed Critical Tamura Electric Works Ltd
Priority to JP58096080A priority Critical patent/JPS59221788A/en
Publication of JPS59221788A publication Critical patent/JPS59221788A/en
Publication of JPH0113154B2 publication Critical patent/JPH0113154B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、公衆電話機等に用いる硬貨処理装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a coin processing device used in public telephones and the like.

「従来技術〕 一般に、公衆電話機等においては硬貨投入口からの硬貨
軌道上に投入検知センサ、硬貨選別装置および硬貨振分
は装置を順次配置し、硬貨投入口から投入された硬貨を
投入検知センサにより検知した後、この投入硬貨の拐質
、直径および厚さを硬貨選別装置で検査することにより
投入硬貨の真偽および秤類を判定し、適正硬貨であれば
硬貨振分は装置を1駆動して所定の蓄積部に蓄積する硬
貨処理ifが用いられている。
[Prior art] In general, in public telephones, etc., an insertion detection sensor, a coin sorting device, and a coin sorting device are sequentially arranged on the coin trajectory from the coin insertion slot, and the coins inserted from the coin insertion slot are detected by the insertion detection sensor. After detecting the coin, the quality, diameter, and thickness of the inserted coin are inspected by a coin sorting device to determine the authenticity and scale of the inserted coin. A coin processing if is used in which the coins are stored in a predetermined storage section.

ところで、この種の硬貨処理装置においては硬貨が連続
して投入されると硬貨選別装置の誤判定や硬貨振分は装
置の誤振分けが生じる。
By the way, in this type of coin processing device, if coins are continuously inserted, the coin sorting device may make an erroneous judgment or the device may make an erroneous sorting of the coins.

そこで、このような誤判定や誤振分けを解決するために
、特公昭57−52634号公報に示されているように
先行硬貨の投入検知によってタイマをスタートさせ、こ
のタイマの設定時間内に後続硬貨の投入を検知した場合
には常時は返却方向にある硬貨振分は機s’を返却方向
に制御したままとして先行および後続硬貨を返却するこ
とにより硬貨の個別投入を促すようにしic装置が提案
されている。
Therefore, in order to solve such misjudgment and misallocation, as shown in Japanese Patent Publication No. 57-52634, a timer is started by detecting the insertion of the preceding coin, and the subsequent coin is inserted within the set time of this timer. When detecting the insertion of coins, the IC device proposes that the coin sorting machine, which is normally in the return direction, will continue to control the machine s' in the return direction and return the preceding and following coins to prompt the individual insertion of coins. has been done.

しかし、この従来装置においては、投入検知センサまた
は硬貨選別装置から硬貨振分は装置までの軌道を長くと
れる場合には何等問題はないが、卓上型の公衆電話機の
ように軌道を長くとれない場合には連続した投入硬貨を
1つの判定信号によりそのまま連続して蓄積してしまう
という欠点がある。すなわち、上述したタイマの設定時
間は、先行硬貨と後続硬貨とをそれぞれの判定信号に従
って振分けることができるように、硬貨振分は機構の動
作および復旧のタイミングとこれらの機械的な遅れ時間
ならびに誤判定を生じる硬貨間隔を考慮して決定される
。したがって、硬貨の軌道が長くとれれば、後続硬貨が
投入されたとしてもタイマ設定時間内に先行硬貨は未だ
硬貨振分は磯購の位置まで達していないため、連続投入
検知43号によって先行硬貨が硬貨振分は機構の位置に
到るまでに充分外時間をもって硬貨振分は機構を制御で
き(例えば、蓄積側に動作していた機構を返却側に復旧
させる)、これによって先行硬貨および後続硬貨を返却
し、連続投入による誤蓄積を防止することができる。し
かし、硬貨の軌道を長くとれない場合においては、先行
硬貨はタイマ設定時間内に既に振分は機前の近く寸で達
しており、連続投入の検知によって振分は機構を返却側
に復旧する信号を発生ずると、先行硬貨の通過中に振分
は機構が復旧し、連続投入検知のタイミングによって、
先行硬貨がV積又は返却されたり、振分は機構に挾持さ
れるという問題が生じる。他方、先行硬貨の蓄積を確認
して〃・ら振分は機構を復旧させようとすると、連続投
入の状態であるため後続硬貨も続いて蓄積させてしまう
という問題があシ、いずれにしても連続投入による誤蓄
積を防止できないという欠点がある。
However, with this conventional device, there is no problem in sorting coins from the insertion detection sensor or the coin sorting device if the path to the device is long, but if the path is not long, such as in a desk-top public telephone, there is no problem. This method has a drawback in that consecutively inserted coins are continuously accumulated as they are based on one judgment signal. That is, the setting time of the above-mentioned timer is determined based on the timing of the operation and recovery of the mechanism, the mechanical delay time of these, and the timing of the mechanism's operation and recovery, so that the preceding coins and subsequent coins can be distributed according to their respective determination signals. It is determined by taking into consideration the coin interval that causes false judgments. Therefore, if the trajectory of the coin is long, even if a subsequent coin is inserted, the preceding coin has not yet reached the coin distribution position within the timer setting time, so continuous insertion detection No. 43 will cause the preceding coin to The coin sorting mechanism can be controlled (for example, by restoring the mechanism that was operating on the storage side to the return side) with sufficient outside time before the coin sorting reaches the position of the mechanism, and thereby the preceding coin and the following coin can be returned to prevent erroneous accumulation due to continuous input. However, in cases where the coin trajectory cannot be kept long, the preceding coins have already reached the front of the machine within the timer setting time, and the sorting mechanism returns to the return side when continuous insertion is detected. When the signal is generated, the sorting mechanism will recover while the preceding coin is passing, and depending on the timing of continuous insertion detection,
A problem arises in that the preceding coins are stacked or returned, or the distribution is held in the mechanism. On the other hand, if you try to restore the sorting mechanism after checking the accumulation of preceding coins, there is a problem that the subsequent coins will continue to accumulate because it is in a state of continuous input. It has the disadvantage that it cannot prevent erroneous accumulation due to continuous input.

r発明の目的および構成] 本発明は上記のような欠点を解決するためになされたも
ので、その目的は硬貨振分は機構までの軌道を長くとれ
ない場合でも硬貨が連続投入されたときはこれを確実に
返却し、連続投入による誤蓄積を確実に防止することが
できる硬貨処理装置を提供することにある。
rObject and structure of the invention] The present invention was made to solve the above-mentioned drawbacks, and its purpose is to sort coins so that even when coins cannot be distributed over a long trajectory to the mechanism, when coins are continuously inserted, To provide a coin processing device that can reliably return coins and reliably prevent erroneous accumulation due to continuous input.

このために本発明は、第1図の基本構成図に示すように
、硬貨投入口1から蓄積部2に到る硬貨の軌道3に上流
側から順に投入検知センサ4.硬貨選別装置5および蓄
積マグネット6により蓄積側(破線で図示する側)に駆
動され、復旧マグネット7により返却側(実線で図示す
る側)に駆動される蓄積レバー8を配置したうえ、投入
検知センサ4の投入検知信号によってスタートして硬貨
CNの投入間隔を監視するだめのタイマ9と、投入硬貨
の選別結果および投入状態に応じて硬貨選別装置5の選
別動作および蓄望マグネット6、東旧マグネット7の動
作を制御する制御装置10とを設け、タイマ9の計時動
作中に後続硬貨の投入を検知した場合には硬貨選別装置
5の選別動作を電気的に禁止して蓄積レバー8が蓄積側
に動作しないようKして先行硬貨および後続硬貨の両方
とも蓄積レバー8の位置から返却部11に向って分岐し
た返却軌道12a を介して返却するようにしたもので
ある。一方、硬貨選別装置5の上流側に蓄積レバー8に
連動して動作し、蓄積レバー8が蓄積側に1駆動される
ときには返却側(破線で図示する側)に、駆動されるオ
ーバフロー機構13を設け、硬貨選別装置5の出力信号
に基づき投入硬貨が適正貨か否かを制御装置10におい
て判定した結果適正貸であった場合に、この時の正貨判
定信号により蓄積レバー8が蓄積側に動作した後の後続
硬貨を蓄積レバー8に連動するオーバ70−磯構13に
よって返却軌道1211 を介して返却するようにした
ものである。。
To this end, the present invention, as shown in the basic configuration diagram of FIG. 1, has a coin insertion detection sensor 4. A storage lever 8 is arranged, which is driven by the coin sorting device 5 and the storage magnet 6 to the storage side (the side shown by the broken line), and is driven to the return side (the side shown by the solid line) by the recovery magnet 7. a timer 9 which is started by the insertion detection signal 4 and monitors the interval between coins CN, and a sorting operation of the coin sorting device 5 according to the sorting results of the inserted coins and the insertion state, and the accumulation magnet 6 and the Togaru magnet. A control device 10 is provided to control the operation of the coin sorting device 5, and when the insertion of a subsequent coin is detected during the timer 9's timing operation, the sorting operation of the coin sorting device 5 is electrically inhibited and the accumulation lever 8 is set to the accumulation side. Both the preceding coin and the succeeding coin are returned via a return track 12a branching from the position of the accumulation lever 8 toward the return section 11. On the other hand, an overflow mechanism 13 that operates in conjunction with the storage lever 8 on the upstream side of the coin sorting device 5 and is driven to the return side (the side shown by the broken line) when the storage lever 8 is driven one time to the storage side is installed. If the control device 10 determines whether or not the inserted coin is a proper coin based on the output signal of the coin sorting device 5 and the coin is a proper coin, the accumulation lever 8 is moved to the accumulation side by the genuine coin determination signal at this time. After the operation, the subsequent coins are returned via the return track 1211 by the over 70-iso structure 13 interlocked with the storage lever 8. .

さらに本発明は、先行硬貨の正貨判定信号が発生してか
ら復旧マグネット7の、駆動によυ蓄積レバー875二
返却側に彷帰するまでと、復旧マグネットTの駆動信号
が終了するまでの間は制御装置10の制御によって投入
検知センサ4による投入検知を禁止することにより、後
続硬貨に対する選別処理を行なわないようにし、後続硬
貨杖オーバフロー機[13または蓄積レバー8によって
返却部11に返却するようにしたものである。
Furthermore, the present invention provides a process from when the genuine coin determination signal of the preceding coin is generated until the recovery magnet 7 returns to the return side due to the drive of the recovery magnet 7 and until the drive signal of the recovery magnet T ends. During this period, the control device 10 prohibits the input detection sensor 4 from detecting the input, so that the subsequent coins are not sorted, and the subsequent coins are returned to the return unit 11 by the overflow machine [13 or the accumulation lever 8]. This is how it was done.

〔実施例〕〔Example〕

第2図は本発明を適用した公衆電話機における硬貨処理
機構の一実施例を示す概略栴成図でるる。
FIG. 2 is a schematic diagram showing an embodiment of a coin processing mechanism in a public telephone to which the present invention is applied.

同図において、記号20で示す2点鎖線は電話機本体の
側面の外観形状を表わしている。硬貨投入口21は図の
右上部に設けられ、局からの課金信号によって硬貨を収
納する収納部22は図の左下部に設けられている。この
硬貨投入口21と収納部22との間の硬貨軌道23には
、硬貨投入口21から順に投入検知センサ24.オーバ
フローレール25.材質選別コイル269寸法検出コイ
ル27、逆流検知センサス8.蓄積コインガイド29゜
蓄積レバー30.蓄積検知センサ31.蓄積確認センサ
32.収納レバー33.収納検知センサ34が配置され
ている。また、硬貨軌道23の下方にL返却軌道35が
設けられ、オーバ70−レール25または蓄積コインガ
イド29から蓄積を許可されなかった投入硬貨が返却部
36に返却されるように構成されている。一方、返却軌
道35の裏側には破線で示すように蓄積マグネツ)37
と復旧マグネット38とが配置され、蓄積レバー30を
図の奥行き方向および手前方向に駆動することにより、
蓄積レバー30と収納レバー33との間の軌道で構成さ
れる蓄積軌道23a の入口を開閉するようになってい
る。
In the figure, a two-dot chain line indicated by the symbol 20 represents the external appearance of the side surface of the telephone main body. A coin slot 21 is provided at the upper right side of the figure, and a storage section 22 for storing coins in response to a billing signal from the station is provided at the lower left side of the figure. In the coin track 23 between the coin slot 21 and the storage section 22, insertion detection sensors 24. Overflow rail 25. Material selection coil 269, dimension detection coil 27, backflow detection sensor 8. Accumulation coin guide 29° Accumulation lever 30. Accumulation detection sensor 31. Accumulation confirmation sensor 32. Storage lever 33. A storage detection sensor 34 is arranged. Further, an L return track 35 is provided below the coin track 23, and is configured such that inserted coins that are not allowed to be accumulated from the over 70-rail 25 or the accumulated coin guide 29 are returned to the return section 36. On the other hand, on the back side of the return track 35, there is an accumulated magnet) 37 as shown by the broken line.
and a recovery magnet 38 are arranged, and by driving the accumulation lever 30 in the depth direction and the front direction in the figure,
The entrance of the storage track 23a formed by the track between the storage lever 30 and storage lever 33 is opened and closed.

投入検知センサ24は硬貨投入口21からの硬貨の投入
を検出するもので、ここでは硬貨の投入を光学的に検知
する発光ダイオードと受光素子とによって構成されてい
る。
The insertion detection sensor 24 detects the insertion of a coin from the coin insertion slot 21, and here is constituted by a light emitting diode and a light receiving element that optically detects the insertion of a coin.

オーバフロへレール25は、蓄積レバー30が蓄積側に
駆動されるときにその上端部25a が図示しないレバ
ーによって支持軸25bを支点にして図の手前方向に押
されることにより、投入検知センサ24と寸法検出コイ
ル27との間の硬貨軌道23の連絡を断ち、投入硬貨を
返却軌道35に落下させて返却部36に返却するもので
、第1図の基本構成図で説明したように蓄積レバー30
と連動して動作する。
When the storage lever 30 is driven to the storage side, the overflow rail 25 is pushed toward the front in the figure with the support shaft 25b as a fulcrum by a lever (not shown). The coin track 23 is disconnected from the detection coil 27, and the inserted coin is dropped onto the return track 35 and returned to the return unit 36.As explained in the basic configuration diagram of FIG.
It works in conjunction with.

材質選別コイル26は投入硬貨の材質を検出するもので
、詳しくは硬貨軌道23を挾んで対向配置された発信コ
イルと受信コイルとから成シ、受信コイルから投入硬貨
の透磁率に応じた出力電圧を取り出し、一方の発信コイ
ルから投入硬貨のうず電流積に応じた出力電圧を取り出
し、これらの出力電圧に基づき鉄硬貨と真正貨であるニ
ッケル硬貨とを判別するように構成される。
The material selection coil 26 detects the material of the inserted coin. Specifically, it consists of a transmitting coil and a receiving coil that are arranged opposite to each other with the coin track 23 in between.The receiving coil outputs a voltage according to the magnetic permeability of the inserted coin. is taken out, and an output voltage corresponding to the eddy current product of the inserted coin is taken out from one transmitting coil, and based on these output voltages, iron coins and genuine nickel coins are discriminated.

寸法検出コイル2Tは投入硬貨の厚さおよび直径を硬貨
軌道23の空間に形成した高周波磁界の変化により検出
するもので、詳しくは厚さ検出用コイルと直径検出用フ
ィルとから構成されている。
The dimension detection coil 2T detects the thickness and diameter of the inserted coin by changes in a high frequency magnetic field formed in the space of the coin orbit 23, and is specifically composed of a thickness detection coil and a diameter detection filter.

逆流検知センサ28は材質選別コイル26および寸法検
出コイル2Tによって正貨と判定されて一旦蓄積された
硬貨が電話機本体を傾けるなどして故意に引出されるの
を検知するもので、発光ダイオ−ドと受光素子とによっ
て構成されている。
The backflow detection sensor 28 detects when coins that have been determined to be genuine coins by the material selection coil 26 and the size detection coil 2T and are once stored are intentionally withdrawn by tilting the telephone body or otherwise withdrawing them. and a light receiving element.

蓄積コインガイド29は、蓄積レバー30が返却側に駆
動されているときにその上端部に板付けた重りによって
支持軸29a f支点にして下端部29bが図の手前方
向に付勢されており、これにより逆流検知センサ28と
蓄積レバー30との間の硬貨軌道の側壁を開放し、投入
硬貨を返却軌道35に落下させて返却部36に返却する
もので、オーバフローレール25と同様に蓄積レバー3
0と連動して動作する。
When the accumulation lever 30 is driven to the return side, the accumulation coin guide 29 has its lower end 29b biased toward the front in the figure by a weight attached to the upper end of the accumulation coin guide 29, using the support shafts 29a-f as fulcrums. As a result, the side wall of the coin track between the backflow detection sensor 28 and the accumulation lever 30 is opened, and the inserted coins are dropped onto the return track 35 and returned to the return section 36.
Operates in conjunction with 0.

この場合、この実施例では蓄積レバー30と収納レバー
33との間のW fil軌道23aにFi最大で3枚の
硬貨しか蓄積できないため、4枚目の正貨が投入された
ときには蓄積レバー30に連動して蓄積コインガイド2
9を蓄積側に駆動したま\とし、この位置で4枚目の正
貨を蓄積することに−より、硬貨軌道23が短いことに
起因する蓄積可能枚数の低下を補完している。
In this case, in this embodiment, only a maximum of three coins Fi can be stored in the W fil track 23a between the storage lever 30 and the storage lever 33, so when the fourth specie coin is inserted, the storage lever 30 Linked coin accumulation guide 2
9 remains driven to the accumulation side, and the fourth genuine coin is accumulated at this position, thereby compensating for the decrease in the number of coins that can be accumulated due to the short coin trajectory 23.

蓄積レバー30は、投入硬貨が正貨と判定された場合に
は蓄積マグネット37によって図の奥行き方向に駆動さ
れることにより、蓄積軌道23aの入口を開くものであ
り、蓄積マグネット37によって蓄積側に駆動されると
復旧マグネット38によって解除されるまで蓄積側駆動
状態を機械的に保持するように構成されている。
The storage lever 30 opens the entrance of the storage track 23a by being driven in the depth direction in the figure by the storage magnet 37 when the inserted coin is determined to be a genuine coin. Once driven, the storage side drive state is mechanically maintained until it is released by the recovery magnet 38.

蓄積検知センサ31は、蓄積レバ〜30が蓄積側に駆動
された後蓄積すべき硬貨が蓄積軌道23aに入ったかど
うかを検知するもので、発光ダイオードと受光素子とに
よって構成されている。この蓄積検知センサ31による
硬貨の蓄積検知によって復旧マグネット38が駆動され
、蓄積レバー30は返却側に復旧される。
The accumulation detection sensor 31 detects whether coins to be accumulated have entered the accumulation track 23a after the accumulation lever 30 is driven to the accumulation side, and is composed of a light emitting diode and a light receiving element. The restoration magnet 38 is driven by the coin accumulation detection by the accumulation detection sensor 31, and the accumulation lever 30 is restored to the return side.

蓄積確認センサ32は、蓄積軌道23aに蓄積硬貨が存
在するか否かを検知するもので、収納レバー33が課金
18号の到来によって駆働されることにより蓄積硬貨が
無くなったことを検知すると、受話器から硬貨投入の偏
促音が発生される。
The accumulation confirmation sensor 32 detects whether or not there are accumulated coins in the accumulation track 23a, and when it detects that there are no accumulated coins due to the storage lever 33 being driven by the arrival of charge number 18, A coin insertion tone is emitted from the receiver.

収納検知センサ34は、収納レバー33が駆動された後
収納すべき硬貨が収納部22に収納されたか否かを検知
するものでるる。この収納検知センサ34および前記蓄
積確認センサ32はともに発光ダイオードと受光素子に
よって構成されている。
The storage detection sensor 34 detects whether a coin to be stored is stored in the storage section 22 after the storage lever 33 is driven. Both the storage detection sensor 34 and the accumulation confirmation sensor 32 are constructed of a light emitting diode and a light receiving element.

第3図(a)〜(c)は、オーバフローレール25.蓄
積レバー30および蓄積コインガイド29の連動機構を
説明するための第2図のA−A断面図でるる。
FIGS. 3(a) to 3(c) show the overflow rail 25. 2 is a sectional view taken along line A-A in FIG. 2 for explaining the interlocking mechanism of the storage lever 30 and the storage coin guide 29.

まず、硬貨が投入される前の待機状態では、オーバ70
−レール2s、’4gレバー゛30および蓄積コインガ
イド29は第3図(a)に示すような状態になっている
。すなわぢ、係止部31d を有する蓄積レバー30は
、軸31b を支点としてスプリング31c により図
示の時計方向に付勢されており、この付勢力とこれに対
抗する力とによってその先端部が硬貨軌道23に進退可
能なように構成されていると共に、その反対側にはオー
バフローレール25の突起部25cに当接するレバー3
1aが設けられている。一方、蓄積レバー30の係止部
31dに係止する2つの段部4ia、41b を一端に
有するL字状の係止レバー41は、その他端に蓄積マグ
ネット37のアーム37a の下方に突出したビン37
b’を挿入する長孔41c を有するとともにスプリン
グ42によシ軸40を中心に反時計方向に付勢されてい
る。したがって、硬貨投入待機状態では蓄桁マグネット
37および復旧マグネット38が非通電状態にるるため
、蓄積レバー30および係止レバー41がそれぞれのス
プリングの付勢力によって付勢されることに゛よシ、蓄
積レバー30の係止部31dは係止レバー41の段部4
1b で係止されてこの状態を保持する。これにより、
蓄積レバー30の先端部は硬貨軌道23に突出し、また
オーバフローレール25は図示しないスプリングによっ
て硬貨軌道23に押圧された状態となる。オーパンロー
レール25が硬貨軌道に押圧されることによシ、投入硬
貨CNは材質選別コイル26の軌道」二に到達可能にな
る。
First, in the standby state before coins are inserted, over 70
- The rail 2s, the '4g lever 30 and the accumulated coin guide 29 are in the state shown in FIG. 3(a). In other words, the storage lever 30 having the locking portion 31d is biased clockwise in the drawing by a spring 31c with the shaft 31b as a fulcrum, and this biasing force and a counterforce force cause the tip of the storage lever 30 to hold a coin. The lever 3 is configured to be able to move forward and backward on the track 23, and on the opposite side is a lever 3 that comes into contact with the protrusion 25c of the overflow rail 25.
1a is provided. On the other hand, the L-shaped locking lever 41, which has two stepped portions 4ia and 41b at one end that locks into the locking portion 31d of the storage lever 30, has a pin protruding downward from the arm 37a of the storage magnet 37 at the other end. 37
It has an elongated hole 41c into which b' is inserted, and is biased counterclockwise about the shaft 40 by a spring 42. Therefore, in the coin insertion standby state, the storage digit magnet 37 and the recovery magnet 38 are de-energized, so that the storage lever 30 and the locking lever 41 are biased by the biasing forces of their respective springs. The locking portion 31d of the lever 30 is connected to the stepped portion 4 of the locking lever 41.
1b to maintain this state. This results in
The tip of the storage lever 30 projects onto the coin track 23, and the overflow rail 25 is pressed against the coin track 23 by a spring (not shown). By pressing the open roll rail 25 against the coin track, the inserted coin CN can reach the track of the material selection coil 26.

次に、投入された硬貨が正貨でめった場合に、蓄積マグ
ネット37が通電状態になると、アーム37a が反時
計方向に回動し、ビン37b と長孔41c  との協
働によシ係止レバー41はスプリング42に抗して時計
方向に回IIする。こir−により蓄積レバー30の係
止部3idは係止レバー41の段部41b との係止仏
前が解除され、蓄状レバ−30は時計方向に回動し、第
3図(b)に示すように係止部31dr、を段部41a
によって係止され、蓄積マグネット37の通電が終了し
てもその状態を保持する。この結果、蓄積レバー30は
硬貨軌道23から退出し、丑たオーバフローレール25
はレバー31aによって突起部25c が押されること
によって硬貨軌道23から離れる。これによって投入硬
貨は蓄積軌道に導かれると共に、この蓄積動作中に投入
された後続硬貨はオーツ(フローレール25によって返
却部36に返却されるようになる。
Next, when the inserted coin hits a genuine coin and the storage magnet 37 becomes energized, the arm 37a rotates counterclockwise and is locked by the cooperation of the bin 37b and the long hole 41c. The lever 41 is rotated clockwise against the spring 42. Due to this, the locking portion 3id of the storage lever 30 is released from being locked with the stepped portion 41b of the locking lever 41, and the storage lever 30 is rotated clockwise to the position shown in FIG. 3(b). As shown, the locking portion 31dr is connected to the stepped portion 41a.
This state is maintained even after the storage magnet 37 is de-energized. As a result, the storage lever 30 exits the coin track 23 and the overflow rail 25
is separated from the coin track 23 by pushing the protrusion 25c by the lever 31a. As a result, the inserted coins are guided to the accumulation track, and subsequent coins inserted during this accumulation operation are returned to the return section 36 by the flow rail 25.

次に、硬貨が蓄積軌道23a に達した後復旧マグネッ
ト38が通電状態になると、第3図(C)に示すように
蓄積マグネット38のアーム38a Kよって蓄積レバ
ー30が硬貨軌道23の方向へ押され、段部41aに係
止されていた係止部31dは段部411) との係止状
態に移り、蓄積レノ<−30は硬貨軌道23に突出した
状態で機械的に保持される。同時に、オーバフローレー
ル25は硬貨軌道23の方向へ復帰する。この後、復旧
マグネット38に対する通電が停止されると、第3図(
a)に示す状態に戻る。
Next, when the recovery magnet 38 becomes energized after the coin reaches the storage track 23a, the storage lever 30 is pushed in the direction of the coin track 23 by the arm 38aK of the storage magnet 38, as shown in FIG. 3(C). Then, the locking portion 31d that was locked to the step portion 41a changes to a locked state with the step portion 411), and the storage coin <-30 is mechanically held in a state protruding from the coin track 23. At the same time, the overflow rail 25 returns to the direction of the coin track 23. After that, when the power supply to the recovery magnet 38 is stopped, as shown in FIG.
Return to the state shown in a).

第4図(a) 、 (b)は蓄積コインガイド29の動
作を説明するだめの第2図のB−B断面図であって、蓄
積レバー30が返却側に駆動されているときけ重り29
c によって第4図(a)に示すように硬貨軌道23の
側壁を開放している。しかし、重り29Cを押上げるレ
バー44が設けられ、このレノ<−44が係止レバー4
1に立設された突起部43によって図の反時計方向に回
動するように構成されている。このため、蓄積マグネッ
ト37が通電状態になると、レバー44が突起部43に
よって図の反時計方向へ回動し、これに伴いレノ<−4
4によって重り29c に対抗する力が働き、蓄積コイ
ンガイド29は、第4図(b)に示すように硬貨軌道2
3の側壁を閉じ、この状態を係止し、<−41のロック
によって保持する。これによって、投入硬貨は蓄積レバ
ー30の方向へ導かれ、ついには蓄積軌道23aに到達
するようになる。
FIGS. 4(a) and 4(b) are cross-sectional views taken along line BB in FIG. 2 for explaining the operation of the accumulated coin guide 29, and when the accumulating lever 30 is driven to the return side, the weight 29
c, the side wall of the coin track 23 is opened as shown in FIG. 4(a). However, a lever 44 that pushes up the weight 29C is provided, and this lever 44 pushes up the locking lever 44.
It is configured to rotate counterclockwise in the figure by means of a protrusion 43 erected at 1. Therefore, when the storage magnet 37 is energized, the lever 44 is rotated counterclockwise in the figure by the protrusion 43, and accordingly
4 acts against the weight 29c, and the accumulated coin guide 29 moves along the coin trajectory 2 as shown in FIG. 4(b).
Close the side wall of No. 3, lock this state, and hold by locking <-41. As a result, the inserted coins are guided toward the accumulation lever 30 and finally reach the accumulation track 23a.

なお、第3図および第4図において、動作説明上関係の
無い部分は省略している。
In addition, in FIGS. 3 and 4, parts that are not relevant to the explanation of the operation are omitted.

第5図は、通話処理および硬貨処理を行う電気回路部の
一実施例を示すブロック図でる91大別すると、電話機
回路部50、この電話機回路部50を通じて局側力1ら
送られてくる課金信号を受けて硬貨の収納等を制御する
制御部60、制御部60からの指令に基づき投入硬貨を
選別して収納部22(第2図)へ収納し、また返却部3
6(第2図)に返却する硬貨処理部TOとη道構成され
ている。
FIG. 5 is a block diagram showing an embodiment of an electric circuit unit that processes calls and coins. Roughly divided into 91, there is a telephone circuit unit 50, and a billing charge sent from the central office side power 1 through this telephone circuit unit 50. A control unit 60 receives a signal and controls storage of coins, etc. Based on commands from the control unit 60, the input coins are sorted and stored in the storage unit 22 (FIG. 2), and the return unit 3
6 (Fig. 2) is composed of a coin handling section TO and a coin processing section TO.

電話機回路部50は、局線端子L1.Lxによって局側
に接続されており、この局線端子Ll  。
The telephone circuit unit 50 has central office line terminals L1. It is connected to the office side by Lx, and this office line terminal Ll.

Lg間にはフックスイッチ接点H8+に介して着信がめ
ることを報知する着信表示回路500.  !I!金信
分信号出する線分信号受信回路501.ダイオードブリ
ッジ回路502.電源回路503.ダイヤルパルス送出
回路504.および通話回路505が接続され、オフフ
ックに連動してフックスイッチ接点H8+  が図示す
る側と反対側に切換わると、局線端子Ll、L2に対し
て通話回路505を含む直流ループが形成される。
Between Lg and Lg, there is an incoming call display circuit 500 for notifying the incoming call via the hook switch contact H8+. ! I! A line signal receiving circuit 501 that outputs a gold signal. Diode bridge circuit 502. Power supply circuit 503. Dial pulse sending circuit 504. When the telephone call circuit 505 is connected and the hook switch contact H8+ is switched to the side opposite to the illustrated side in conjunction with off-hook, a DC loop including the telephone call circuit 505 is formed for the office line terminals Ll and L2.

ダイオードブリッジ回路502は、局線端子Ll  +
 Ij1間に印加される局からの直流電圧の極性にか\
わらず、電源回路503およびダイヤルパルス送出回路
504に一定極性の直流電圧を供給するものであり、ま
た電源回路503はダイオードブリッジ回路502から
の局亀流をコンデンサに充電して後述する演算処理% 
置(CPU )などの動作用電源電圧を形成するもので
ある。この場合、電源回路503は高抵抗Rを介して局
線端子L1に接続され、オンフック後も内蔵のコンデン
サを充電してランダムアクセスメモリ(、RAM)の記
憶内容を保護するグとめのノ(ツクアップ用電源電圧B
UP を発生している。
The diode bridge circuit 502 connects the station line terminal Ll +
Is it the polarity of the DC voltage from the station that is applied between Ij1?
The power supply circuit 503 supplies a DC voltage of constant polarity to the power supply circuit 503 and the dial pulse sending circuit 504, and the power supply circuit 503 charges a capacitor with the local current from the diode bridge circuit 502 and performs the calculation processing described later.
It forms the power supply voltage for operation of the CPU and other devices. In this case, the power supply circuit 503 is connected to the office line terminal L1 via a high resistance R, and is used as a terminal to charge the built-in capacitor and protect the contents of the random access memory (RAM) even after on-hook. Power supply voltage B
UP is occurring.

ダイヤルパルス送出回路504はダイヤルノくルス信号
Di を受けて局線に送出するもので、ここでのダイヤ
ルパルス信号Diはキーボード(図、示せず)からの信
号を受けてCPU600 が発生し、入出力インタフェ
ース回路603を介してこのダイヤルパルス送出回路5
04に入力される。この場合、ダイヤルパルス信号Di
の送出中は、人出カインタフェース回路603 を介し
てダイヤルシャント信号DSが与えられ、これによって
通話回路505が短絡されてダイヤルパルス信号Diに
よる発呼者へのパルス雑音を与えないように構成されて
いる。また、このダイヤルパルス送出回路504には蓄
積硬貨が不足したなどの場合に強制切断信号が入出力イ
ンタフェース回路603を介して与えられ、通話を強制
的に切断できるように構成されている。
The dial pulse sending circuit 504 receives the dial pulse signal Di and sends it to the central office line.The dial pulse signal Di here is generated by the CPU 600 in response to a signal from the keyboard (not shown), and is input. This dial pulse sending circuit 5 via the output interface circuit 603
04 is input. In this case, the dial pulse signal Di
During transmission, a dial shunt signal DS is applied via the turnout interface circuit 603, thereby short-circuiting the telephone call circuit 505, so that the dial pulse signal Di does not cause pulse noise to the caller. ing. Further, this dial pulse sending circuit 504 is configured to be able to forcibly disconnect a call by giving a forced disconnection signal via an input/output interface circuit 603 in the event that there is a shortage of accumulated coins.

制御部60は、CPU600 を中心としてランダムア
クセスメモリ(RAM)601、硬貨処理るるいは通話
処理に必要なプログラムおよび定数等を記憶したリード
オンリメモリ(ROM)602、各種センサ等との信号
送受を行うための入出力インタフェース回路603およ
び604 とを備えている。
The control unit 60 is centered around the CPU 600 and sends and receives signals to and from a random access memory (RAM) 601, a read-only memory (ROM) 602 that stores programs and constants necessary for processing coins and phone calls, and various sensors. It is equipped with input/output interface circuits 603 and 604 for performing the following operations.

さらに、硬貨の蓄積残額や故障時の表示を行う表示器6
05、電話機本体が所定角度以上傾けられたことを検知
する姿勢センサ606、オンフックおよびオフフックに
連動して開閉するフックスイッチ接点H8++を備えて
いる。
Furthermore, a display 6 that displays the remaining amount of accumulated coins and in the event of a malfunction is also provided.
05, a posture sensor 606 that detects when the phone main body is tilted by a predetermined angle or more, and a hook switch contact H8++ that opens and closes in conjunction with on-hook and off-hook.

姿勢センサ606は、電話機本体を傾けての不正を防止
するために設けられたものであり、電話機本体が所定角
度以上傾けられると強制切断信号が発せられ、通話が強
制的に切断される。
The posture sensor 606 is provided to prevent fraud by tilting the telephone body, and when the telephone body is tilted by a predetermined angle or more, a forced disconnection signal is issued and the call is forcibly disconnected.

この制御部60においては、オフフックに伴い電源回路
503に内蔵のコンデンサの充′F7Lvt圧が所定値
に達すると通話処理および硬貨処理のためのプログラム
が起動する。そして、プログラムの起動俊において硬貨
投入とダイヤル操作がろれげダイヤルパルス信号Diお
よびダイヤルシャント信号D6が発生され、また通話中
に課金信号受信回路501 かも課金信号検知信号を受
けた場合には後述する収納マグネツ)706 に対する
駆動信号が発生される。さらに、蓄積硬貨の不足時ある
いは電話機本体の異常な傾斜時においては通話の強制切
FFr信号が発生される。
In this control section 60, when the charging voltage of the capacitor built into the power supply circuit 503 reaches a predetermined value due to off-hook, a program for processing calls and coins is activated. Then, when the program is started, coin insertion and dial operation cause a slow dial pulse signal Di and a dial shunt signal D6 to be generated, and when the billing signal receiving circuit 501 receives a billing signal detection signal during a call, it will be described later. A drive signal is generated for the housing magnet (706). Furthermore, when there is a shortage of accumulated coins or when the telephone body is abnormally tilted, a forced call cut-off FFr signal is generated.

次に1硬貨処理部70は硬貨投入検知センサ24′など
の光学的々センサ回路701、材質選別コイル26を含
む材質選別回路102、厚さ検出用コイルを含む厚さ選
別回路703、 直径検出用コイルを含む直径選別回路
704、これら選別回路702〜704のアナログ出力
信号を選択的にディジタル信号に変換するAD変換器(
ADC))705、蓄積レバー30とともに硬貨振分は
機構を構成する蓄積マグネット37および復旧マグネッ
ト3Bを有し、さらに課金信号に応じて収紘レバー22
(第2図)を駆動する1■納マグネツト706を有して
いる。
Next, the one coin processing section 70 includes an optical sensor circuit 701 such as a coin insertion detection sensor 24', a material selection circuit 102 including a material selection coil 26, a thickness selection circuit 703 including a thickness detection coil, and a diameter detection circuit. A diameter selection circuit 704 including a coil, and an AD converter (AD converter) that selectively converts the analog output signals of these selection circuits 702 to 704 into digital signals.
ADC)) 705 has an accumulation magnet 37 and a recovery magnet 3B that constitute a coin sorting mechanism together with the accumulation lever 30, and furthermore, the accumulation lever 22 according to the charge signal.
(Fig. 2).

次に以上のような構成に係る動作について説明する。な
お、電話機回路部50の動作については本発明の・要旨
と直接関係がないためにその説明は省略する。
Next, the operation related to the above configuration will be explained. Note that the operation of the telephone circuit section 50 is not directly related to the gist of the present invention, so a description thereof will be omitted.

はじめに、この実施例の硬貨処理においては、例えば4
ms周期でCPU600に対する全ての入力信号を読込
んでその内容あるいは状態を判別した結果、実行すべき
処理があればその処理の実行要求を表わすタスクレディ
フラグをセットしておき、この後タスクレディフラグの
状態を判別してセットされているタスクレディフラグが
1つであればこのフラグに対応する処理を4msの中の
残りの時間内で実行し、セットされているタスクレディ
フラグが複数個の場合には個別に分解した硬貨検知処理
や表示処理などの個別処理のうち最も優先度の高い1つ
の処理を選択して4rnsの中の残りの時間内で実行し
、優先度の低い残りの処理については次の新たな4rn
sの処理サイクルにおいて上位の優先度の処理要求が無
いことを条件に順次実行するようにしている。従って、
4mBの処理サイクル内においては硬貨検知処理などの
個別に分解された個別処理のうち1つのみが実行される
。そして、この個別処理が終了した場合、CPTJ60
0は内部の基準タイマによって次の処理サイクルが到来
したことの割込み(INT)  がめる1でアイドル状
態とされる。
First, in the coin processing of this embodiment, for example, 4
As a result of reading all input signals to the CPU 600 at ms intervals and determining their contents or states, if there is a process to be executed, a task ready flag indicating a request to execute that process is set, and then the task ready flag is set. If the status is determined and there is only one task ready flag set, the process corresponding to this flag is executed within the remaining time of 4ms, and if there are multiple task ready flags set, selects one process with the highest priority among the individually disassembled individual processes such as coin detection processing and display processing, executes it within the remaining time within 4 rns, and executes the remaining processes with low priority. next new 4rn
The processing is executed sequentially on the condition that there is no processing request with a higher priority in the processing cycle of s. Therefore,
Within a 4 mB processing cycle, only one of the individually decomposed processes, such as the coin detection process, is executed. Then, when this individual processing is completed, CPTJ60
0 indicates an interrupt (INT) indicating the arrival of the next processing cycle by an internal reference timer, and 1 indicates an idle state.

ここで、各個別処理の優先度は第1グループと第2グル
ープとにさらに分類され、第1グループに属する処理は
4 m sの処理サイクル毎に優先席順に実行し、第2
グループに属する処理は32m5の処理サイクル毎に第
1グループに属する処理の実行要求が無いときのみ実行
するように構成されている。
Here, the priority of each individual process is further classified into the first group and the second group, and the processes belonging to the first group are executed in priority order every 4 ms processing cycle, and the
The processing belonging to the group is configured to be executed every 32m5 processing cycles only when there is no request for execution of the processing belonging to the first group.

このような処理体系を採用したのは低電力消費化を図る
ためでるる。すなわち、公衆電話機において硬貨の投入
ガどけ不規則的に発ポするため、これへの応答性は高く
設定しなければならないのであるが、一方において収金
信号に対する処理要求など比較的長い周期で発生する処
理要求もめる。
This processing system was adopted in order to reduce power consumption. In other words, since coins are inserted irregularly in public telephones, responsiveness to these calls must be set to be high, but on the other hand, coins, such as processing requests for payment signals, occur at relatively long intervals. Also request processing to be done.

そこで、このような場合に不規則性の処理要求への応答
性を基準にしてクロック周波数あるいは処理サイクルを
定め/とときには、課金信号に対する処理要求などが無
いのにもかNわらずそのプログラムが起動されてCPU
が常時稼動している状態となり、時間の帥駄が生じると
共に消費電力が大きくなってしまう。このためにこの実
施例においては、全ての処理を4msの短周期で実行す
る必要のるる第1グループの処理と、32m5の比較的
長周期で実行すれば足りる第2グループの処理とに分類
したうえ、各グループ内においても優先順位を定め、こ
の優先順位に従って必要な処理を実行し、終了すれば新
たな処理サイクルが到来するはでCPU600をアイド
ル状態(スリーブ状態)とし、応答性の向上と共に低消
費電力化を図っている。なお、アイドル状態を有するC
PU としては型名I−H) 6301 V (日立製
作新製)が[F]る。
Therefore, in such a case, if the clock frequency or processing cycle is determined based on the responsiveness to irregular processing requests, the program may started and CPU
is in constant operation, resulting in wasted time and increased power consumption. For this reason, in this example, all processes were classified into the first group of processes that needed to be executed in a short cycle of 4ms, and the second group of processes that only needed to be executed in a relatively long cycle of 32m5. In addition, priorities are determined within each group, necessary processing is executed according to this priority, and when the process is completed, a new processing cycle arrives, so the CPU 600 is placed in an idle state (sleep state), and responsiveness is improved. Efforts are being made to reduce power consumption. Note that C with an idle state
As for the PU, model name I-H) 6301V (newly manufactured by Hitachi Seisakusho) is [F].

この実施例において、CPU600 が実行する処理は
次の第1表に示すように分割され、かつその優先順位が
定められている、。
In this embodiment, the processes executed by the CPU 600 are divided as shown in Table 1 below, and their priorities are determined.

第1表 そして、上述のような処理体系を採用しているため、R
AM601内にはそのメモリ領域を利用して各処理の実
行要求を記憶する各処理にそれぞれ対応したタスクレデ
ィフラグレジスタが設けられ、例えば硬貨の投入が検知
された場合には硬貨検知処理に対応するタスクレディフ
ラグレジスタに111nがセットされることによシその
実行が要求され、その後の処理終了によってリセット(
や0つされる。
Table 1 And since the above processing system is adopted, R
A task ready flag register corresponding to each process is provided in the AM 601 to store the execution request of each process using the memory area, and for example, when the insertion of a coin is detected, it corresponds to the coin detection process. Its execution is requested by setting 111n in the task ready flag register, and it is reset (
Or 0 points.

このほか、RAM601  内には硬貨の材質や寸法に
関する硬貨データおよび正貨か偽似貨の区別やわ類を表
わすための硬貨フラグをそれぞれ記憶する硬貨データレ
ジスタおよび硬貨フラグレジスタ、硬貨の連続投入を検
出するための硬貨選別タイマなどの制御タイマ用のレジ
スタが設けられている。
In addition, the RAM 601 includes a coin data register and a coin flag register that store coin data regarding the material and dimensions of the coin, and a coin flag to indicate whether the coin is a genuine coin or a counterfeit coin. A register is provided for a control timer, such as a coin sorting timer.

なお、硬貨選別タイマは上記のレジスタを利用したソフ
トタイマによって実現されている。そしてこの硬貨選別
タイマは材質選別タイマと寸法検出タイマとに共用され
、タイマフラグが[11のときには材質選別タイマとし
て働き、タイマフラグが「2,1のときには寸法検出タ
イマとして働くようになっている。
Note that the coin sorting timer is realized by a soft timer using the above-mentioned register. This coin sorting timer is shared by the material sorting timer and the dimension detection timer, and when the timer flag is 11, it works as a material sorting timer, and when the timer flag is 2 or 1, it works as a dimension detection timer. .

以下、第6図〜第10図に示すフローチャートに基づき
硬貨の投入から蓄積までの動作を詳しく説明する。
The operation from inserting coins to accumulating coins will be explained in detail below based on the flowcharts shown in FIGS. 6 to 10.

第6図は、CPU60Gが実行する処理のゼネラルフロ
ーを示す図であって、オフフックに伴い電源回路503
に内蔵されたコンデンサの充電電圧が所定電圧値になる
と、このゼネラル70−に示す処理が開始される。この
ゼネラルフローにおいて、CPU60口はまずステップ
800において入出力インタフェース回路603.13
04  内のバッファレジスタるるいはRAM601 
内に設けた各種のデータレジスタ等をイニシャライズし
、次のステップ801 においてセンサ回路101 に
おける投入検知センサ24などに異常がないかどうか、
さらに収納部22が満杯状態になっていないかどうかな
どを診断し、正常な通話が可能な状態であれば次のステ
ップ802の処理に移行する。しかし、投入検知センナ
24などに異常がある場合、ろるいは収拍部22が満杯
状態になっているなどの異常状態ではこのことを表わす
フラグをセットした後火のステップ802の処理に移行
する。とのステップ801 の自己鈴断処理において異
常状態が検出された場合、後述するステップ880 (
第7図)の表示処理においてフラグの内容に対応した異
常表示が表示器605に表示される。
FIG. 6 is a diagram showing the general flow of processing executed by the CPU 60G, in which the power supply circuit 503
When the charging voltage of the built-in capacitor reaches a predetermined voltage value, the process shown in the general 70- is started. In this general flow, the CPU 60 first connects the input/output interface circuit 603.13 in step 800.
Buffer register in 04 or RAM601
In the next step 801, it is checked whether there is any abnormality in the input detection sensor 24, etc. in the sensor circuit 101.
Furthermore, it is diagnosed whether the storage section 22 is full or not, and if it is possible to make a normal call, the process moves to the next step 802. However, if there is an abnormality in the input detection sensor 24 or the like, or if the beat collecting section 22 is in an abnormal state, a flag indicating this is set, and then the process moves to step 802. . If an abnormal state is detected in the self-bell cutting process in step 801, step 880 (described later) is performed.
In the display process shown in FIG. 7), an abnormality display corresponding to the contents of the flag is displayed on the display 605.

ステップ802の処理においては、CPU600は第1
グループに飄する処理の処理サイクルを規定する第1の
基準タイマに4 m sのタイマ時間をセットして計時
動作を開始させる。なお、この第1の基準タイマはCP
U600に内蔵されているものである。この後CPU6
00はステップ803において、例えば蓄積マグネット
30の通電時間などを計時するために設けられた複数の
制御タイマの中に計時動作中の制御タイマがあるか否か
を検出し、計時動作中の制御タイマがあれば計時値をイ
ンクリメントした後タイマ時間が終了していないが否か
を検出し、タイマ時間が終了していれば例えば蓄積マグ
ネット37の通電を停止させる処理を実行する。この場
合、このステップ802 から後述のステップ8091
での処理は第1の基準タイマによって規定される4ms
の処理サイクル毎に実行されるが、例えば蓄積マグネッ
ト37などの通電時間は数100m5 程度になるため
、4msの8倍の周期(32m8)で計時動作全緑返す
第1の分周用タイマと、さらにこの第1の分局用タイマ
のタイマ時間を分周して32m8の28倍の周期(89
6ms)で計時動作を繰返す第20分周用タイマとが設
けられ、数100m5程度のタイマ時間は第1の分周タ
イマの出力を利用して計時され、1秒以上のタイマ時間
は第2の分局用タイマの出力を利用して計時される。な
お、このタイマ処理において使用される制御タイマ、分
局用タイマは前述したようにRAM601  のメモリ
領域を利用したソフトタイマで構成されるものでろる。
In the process of step 802, the CPU 600
A timer time of 4 ms is set in the first reference timer that defines the processing cycle of the process to be transferred to the group, and the time counting operation is started. Note that this first reference timer is CP
This is built into the U600. After this CPU6
00 detects in step 803 whether or not there is a control timer that is in a timing operation among a plurality of control timers provided for timing, for example, the energization time of the storage magnet 30, and detects whether or not there is a control timer that is in a timing operation. If so, the time value is incremented, and then it is detected whether or not the timer time has expired. If the timer time has expired, for example, a process of stopping the energization of the storage magnet 37 is executed. In this case, from step 802 to step 8091, which will be described later.
The processing time is 4ms defined by the first reference timer.
However, for example, the energization time of the storage magnet 37 is about several hundred m5, so the first frequency division timer returns all green at a cycle eight times 4ms (32m8). Furthermore, the timer time of this first branch timer is divided to have a period of 28 times 32m8 (89
A 20th frequency division timer is provided which repeats the timing operation at a frequency of 6ms), and the timer time of about several hundred m5 is measured using the output of the first frequency division timer, and the timer time of 1 second or more is measured using the second frequency division timer. Time is measured using the output of the branch timer. Note that the control timer and branch timer used in this timer processing may be constituted by a soft timer that utilizes the memory area of the RAM 601, as described above.

そして、各制御タイマはその計時機能が例えば蓄   
 ・撰マグネット37の通電時間の計時用として専用に
用いられるのでなく、後述する例えば蓄積積卸処理のプ
ログラムが所望の制御タイマに対応したレジスタに対し
計時すべきタイマ時間とタイマ時間終了の条件で実行す
べき処理のプログラムの記憶アドレスを与え−ることに
より1、蓄積マグネット3Tの通電時間計時用として働
かせたり、復旧マグネット38の通電時間計時用として
働かせたシすることができるように構成されている。す
なわち、制御タイマは第1表に示した各処理のプログラ
ムによってその計時機能が選択的に定義され、定義され
た後はステップ803 のタイマ処理において計時値の
更新がなされる。この場合、計時機能の定義は、タイマ
時間終了の条件で実行する処理内容によって定まる。
Each control timer has its timekeeping function, for example,
- It is not used exclusively for measuring the energization time of the magnet 37, but for example, the program for accumulation/unloading processing described later uses the timer time to be measured and the timer time end conditions for the register corresponding to the desired control timer. By giving the memory address of the program of the process to be executed, it is configured such that it can be used to measure the energization time of the storage magnet 3T or to time the energization time of the recovery magnet 38. There is. That is, the time measurement function of the control timer is selectively defined by the programs for each process shown in Table 1, and after being defined, the time measurement value is updated in the timer process at step 803. In this case, the definition of the timekeeping function is determined by the content of the process to be executed under the condition that the timer time ends.

CPU6QOはこの後ステップ8040入力センス処理
において、CPU600 に対して入力される全ての信
号、すなわち課金信号受信回路501゜姿勢センサ60
6.フックスイッチ接点H82。
Thereafter, in step 8040 input sense processing, the CPU 6QO receives all the signals input to the CPU 600, that is, the billing signal receiving circuit 501 and the attitude sensor 60.
6. Hook switch contact H82.

センサ回路701 の各出力信号、さらに硬貨処理機能
のテストスイッチ(図示せず)、キーボードのダイヤル
ボタン(図示せず)の出力信号を検知する。次いで、C
PU600はこの検知結果を基に次のステップ805の
レディタスクチェック処理において、硬貨検知処理など
の個別処理を実行する必要が生じているか否かをチェッ
クし、個別処理の実行の必要性が生じていれば必要とす
る個別処理に対応したタスクフラグレジスタにその実行
要求を表わすタスクレディフラグをセットする。
Each output signal of the sensor circuit 701, as well as the output signals of a coin processing function test switch (not shown) and a keyboard dial button (not shown) are detected. Then, C
Based on this detection result, the PU 600 checks whether or not it is necessary to execute individual processing such as coin detection processing in the next ready task check processing at step 805, and determines whether or not it is necessary to execute individual processing. If so, a task ready flag representing the execution request is set in the task flag register corresponding to the required individual process.

次にCPU600 idステップ806において各個別
処理に対応したタスクレディフラグのうちセットされて
いるものが有るか否かを第1表に示した優先順位に従っ
てチェックし、セットされているものが全くなければス
テップ809に進んで自己の動作状態をアイドル状態と
する。しかし、各個別処理に対応したタスクレディフラ
グのうちいずれかにセットされているものかめれば、最
先に検出したタスクレディフラグすなわちセットされて
いるタスクレディフラグのうち最も優先順位の高いタス
クレディフラグに対応する個別処理のスタートアドレス
をステップ807 のタスク始動処理においてプログラ
ムカウンタにセットし、次のステップ808のタスク実
行処理においてプログラムカウンタにセットしたアドレ
スをスタートアドレスとする個別処理のプログラム、す
なわち第7図ノステップ810〜900 に示す各処理
の1つを実行する。そして、この個別処理が終了すれば
ステップ809において自己をアイドル状態とし、4m
sのタイマ時間が終了して新たな処理サイクルが到来し
たことの割込みが第1の基準タイマから発生すればステ
ップ802に戻り、以後同様の処理を紛返す。この場合
、実行に移された個別処理のタスクレディフラグはプロ
グラムカウンタにスタートアドレスがセットされた段階
でリセットされる。このため、次の新たな処理サイクル
においては次位優先j【位の個別処理が実行に移される
ことになる。
Next, in the CPU 600 id step 806, it is checked whether any task ready flags corresponding to each individual process are set according to the priority order shown in Table 1, and if none are set, Proceeding to step 809, the self-operating state is set to the idle state. However, if you check which one of the task ready flags corresponding to each individual process is set, the first detected task ready flag, that is, the task ready with the highest priority among the set task ready flags. The start address of the individual process corresponding to the flag is set in the program counter in the task start process in step 807, and the program of the individual process whose start address is the address set in the program counter in the task execution process in the next step 808 is executed. One of the processes shown in steps 810 to 900 in FIG. 7 is executed. When this individual processing is completed, the self is set to an idle state in step 809, and the 4m
If an interrupt indicating that the timer time s has expired and a new processing cycle has arrived is generated from the first reference timer, the process returns to step 802 and the same process is repeated thereafter. In this case, the task ready flag of the individual process that has been executed is reset at the stage when the start address is set in the program counter. Therefore, in the next new processing cycle, the next priority j[-ranked individual processing will be executed.

ただし、第2グループに属する個別処理の実行を要求す
るタスクレディフラグについては、CPU600はステ
ップ805のレディタスクチェック処理において32r
nsの第2基準タイマのタイマ時間が終了し、かつ第1
グループのタスクレディフラグが全てセットされていな
いことを条件にそのセット状態を検出する。そして、C
PU600 はM2グループに属する個別処理の処理サ
イクルを規定する32m5の第2基準タイマについては
、オフフック直後に第」グループの処理要求が無いかあ
るいは無くなったこと全条件にステップ805のレディ
タスクチェック処理においてスタートさせ、その後ステ
ップ805を通過する毎にその計時値を更新し、更新の
結果、タイマ時間が終了すれば第1グループに属する個
別処理の実行要求が無いことを条件に再スタートさせる
However, for the task ready flag requesting execution of an individual process belonging to the second group, the CPU 600 executes 32r in the ready task check process in step 805.
The timer time of the second reference timer of ns has expired, and the first
The set state is detected on the condition that all the task ready flags of the group are not set. And C
Regarding the second reference timer of 32m5 that defines the processing cycle of individual processing belonging to the M2 group, the PU 600 determines in the ready task check processing in step 805 that there is no processing request for the "th group" or has disappeared immediately after off-hook. After that, the timer value is updated each time step 805 is passed, and as a result of the update, when the timer time expires, the process is restarted on the condition that there is no execution request for the individual processing belonging to the first group.

このため、第2グループに属する個別処理は、オフフッ
ク直後においては第1クループの処理要求が無くなった
時点から32m5経過後に初めて実行の機会が与えられ
、その後は第1グループの処理要求が無ければ32m5
毎に実行の機会が与えられる。
Therefore, immediately after off-hook, the individual processing belonging to the second group is given the opportunity to execute for the first time after 32m5 has passed since the first group no longer has a processing request, and after that, if there is no processing request from the first group, 32m5
You will be given an opportunity to perform each step.

このように通話処理および硬貨処理に関わる全ての処理
は個別に分解され、優先席順に4ms毎あるいは32m
5毎の周期で実行され、実行の終了後CPU500 は
直ちにアイドル状態とされる。
In this way, all processes related to call processing and coin processing are broken down individually, and are processed every 4ms or 32m depending on the priority seat order.
The CPU 500 is executed every 5 cycles, and the CPU 500 is placed in an idle state immediately after the execution is completed.

従って、優先度の高い第1グループに硬貨の投入を検知
した場合の処理などを割当てておけば、これへの応答を
失することもなく、かつ電力消費も低減できるものとな
る。
Therefore, by assigning the processing to be performed when coin insertion is detected to the first group, which has a high priority, the response to this process will not be lost and power consumption can be reduced.

次に、第7図のステップ810〜900に示す各埋は本
発明の要旨と直接関係がないためにその説明は省略する
Next, each step shown in steps 810 to 900 in FIG. 7 is not directly related to the gist of the present invention, so a description thereof will be omitted.

a1通常動作 はじめに、投入硬貨が正貨であり、かつ一定時間隔てて
投入された場合の通常動作について第8図〜第10図に
示す詳細なフローチャートを用いて説明する。
a1 Normal Operation First, the normal operation when the inserted coins are genuine coins and are inserted at fixed time intervals will be explained using detailed flowcharts shown in FIGS. 8 to 10.

通常、第8図に示す硬貨検知処理が最初に実行される。Usually, the coin detection process shown in FIG. 8 is executed first.

この硬貨検知処理は、硬貨投入検知センサ24によって
硬貨の投入が検知され、この投入検知に基づく硬貨検知
処理の実行要求を表わすタスクレディフラグがセットぜ
れている場合に他の処理要求に最優先して実行される。
This coin detection processing has the highest priority over other processing requests when the insertion of a coin is detected by the coin insertion detection sensor 24 and a task ready flag indicating a request to execute the coin detection processing based on this insertion detection is set. and executed.

この硬貨検知処理において、CPU600 はまずステ
ップ8100 で硬貨選別タイマがオンしているか否か
、すなわち計時動作中であるか否かをチェックする。こ
の結果、計時動作中で彦けれはステラ7” 8101 
 において硬貨データレジスタおよび硬貨フラグレジス
タをリセットし、この後硬貨選別回路を構成する厚さ選
別回路703 および直径選別回路1口4の電源を投入
する。すなわち、この実施例においてl−j[力消費の
低減を図るため、厚さ選別回路703および直径選別回
路704は硬貨投入の待機状態においてその動作用電源
が遮断されている。このため、CPU600は硬貨選別
タイマが計時動作中でないときに投入検知が発生した場
合にはこれらの回路703および704に電源を投入し
、厚さおよび直径の検出が可能な状態とする。なお、硬
貨投入検知センサ24を構成する発光ダイオードも同様
の趣旨により、4ms周期でダイナミック点灯されてい
る。ただし、材質選別回路702 の動作用電源は常時
投入されている。この場合、回路703および704 
に対する電源の投入および遮断は入出力インタフェース
回路604を介して行なわれ、電源の投入時間は硬貨選
別タイマのタイマフラグが「1」または[21でfりす
、硬貨選別タイマが材質選別タイマまたは寸法選別タイ
マとして働いている間の一定時間だけである。通常にお
いて硬貨選別タイマは栄初に材質選別タイマとして働き
、続いて寸法検出タイマとして連続して働くようになっ
ているため、回路703および704には寸法検出タイ
マとしての計時動作が終了するまでの一定時間だけ動作
用電源が投入される。
In this coin detection process, the CPU 600 first checks in step 8100 whether or not the coin sorting timer is on, that is, whether or not it is in a timing operation. As a result, Hikokere is Stella 7" 8101 during the timekeeping operation.
At this point, the coin data register and the coin flag register are reset, and then the power to the thickness sorting circuit 703 and diameter sorting circuit 1 port 4, which constitute the coin sorting circuit, is turned on. That is, in this embodiment, in order to reduce power consumption, the operating power of the thickness sorting circuit 703 and the diameter sorting circuit 704 is cut off in the standby state for coin insertion. For this reason, when the coin sorting timer is not in a timing operation and insertion detection occurs, the CPU 600 turns on power to these circuits 703 and 704, making it possible to detect the thickness and diameter. Note that the light emitting diode constituting the coin insertion detection sensor 24 is also dynamically illuminated at a 4 ms cycle for the same purpose. However, the power for operating the material selection circuit 702 is always turned on. In this case, circuits 703 and 704
The power is turned on and off via the input/output interface circuit 604, and the time when the power is turned on is determined when the timer flag of the coin sorting timer is "1" or [21], and the coin sorting timer is the material sorting timer or the size sorting timer. It is only for a certain period of time while working as a timer. Normally, the coin sorting timer first works as a material sorting timer and then continuously as a dimension detection timer. The operating power is turned on for a certain period of time.

従って、硬貨投入検知センサ24によって硬貨の投入が
検知されると、硬貨選別タイマが計時動作中でない限り
厚さ検出回路703および直径検出回路704の電源が
一定時間だけ投入されることにより、投入硬貨の材質選
別とともに厚さおよび直径の硬貨寸法が検出可能な状態
となる。
Therefore, when the insertion of a coin is detected by the coin insertion detection sensor 24, unless the coin sorting timer is in a timing operation, the power to the thickness detection circuit 703 and the diameter detection circuit 704 is turned on for a certain period of time, thereby detecting the insertion of the inserted coin. Along with material selection, coin dimensions such as thickness and diameter can be detected.

CPU600は以上のようにして回路703および70
4の電源を投入した後、ステップ8103において硬貨
選別タイマに所定のタイマ時間をセットし、次いでステ
ップ8104 においてタイマ75f(TMFLG)f
:  rlj にセラ) し、硬1テコa別タイマの機
能を材質選別タイマとして定義して第6図に示すゼネラ
ル70−の処理に戻る。硬貨選別タイマの機能が材質選
別タイマとして定義されると、この材質選別タイマはス
テップ803のタイマ処理にその計時動作およびタイマ
時間終了時の管理が委ねられる。
The CPU 600 operates the circuits 703 and 70 as described above.
4, a predetermined time is set in the coin sorting timer in step 8103, and then the timer 75f (TMFLG) f is turned on in step 8104.
: rlj) Then, the function of the timer for each hard lever 1 is defined as a material selection timer, and the process returns to the general 70- shown in FIG. When the function of the coin sorting timer is defined as a material sorting timer, the material sorting timer entrusts its timekeeping operation and management of the timer time end to the timer processing in step 803.

このようにして厚さ選別回路γ03および直径選別回1
”6704 の電源投入に引き続いて材質選別タイマが
計時動作を開始すると、次の新たな4.msの処理サイ
クルにおけるステップ805のレディタスクチェック処
理においてCPU600は硬貨選別タイマが材質選別タ
イマとtて動作中でろることを検出し、今度は硬貨デー
タ入力処理の実行要求を表わすタスクレディフラグをセ
ットし、その後のステップ80Bのタスク実行処理にお
いて第9図に詳細に示す硬貨データ入力処理を実行する
In this way, the thickness selection circuit γ03 and the diameter selection circuit 1
When the material sorting timer starts measuring operation following the power-on of the "6704," in the ready task check process of step 805 in the next new 4.ms processing cycle, the CPU 600 causes the coin sorting timer to operate as the material sorting timer. It is detected that the coin data input process is executed, and a task ready flag indicating a request to execute the coin data input process is set, and in the subsequent task execution process of step 80B, the coin data input process shown in detail in FIG. 9 is executed.

そして、この硬貨データ入力処理において材質選別回路
702から投入硬貨の材質に関するデータを入力した後
、材質が適正なものであれば硬貨選別タイマの機能を寸
法検出タイマとして定義し直し、厚さ選別回路703お
よび直径選別回路γo4かも投入硬貨の厚さおよび直径
に関するデータを入力するようになる。
In this coin data input process, after inputting data regarding the material of the inserted coin from the material sorting circuit 702, if the material is appropriate, the function of the coin sorting timer is redefined as a dimension detection timer, and the thickness sorting circuit 703 and the diameter selection circuit γo4 also input data regarding the thickness and diameter of the inserted coin.

第9図の硬貨データ入力処理において、CPU600は
寸ずステップ8200においてタイマフラグ(TMFL
G) が「1−1 になっていることを確認した後AD
変換器705 の入力モードを鉄硬貨の材質B別モード
とし、材質選別回路702に設けられている材質選別用
受信コイル力)らの出方信号をAD変換器7050入カ
とじて選択し、次のステップ8202 において所定時
間間隔でこの受信コイルからの出力信号をサンプリング
してディジタルデータに変換させ、入出力インタフェー
ス回路604を介して取込む。次に、ステップ82o3
にオイてAD変換器705の入カモードf=ツヶル硬貨
の材質選別モードとし、材質選別用発信コイルからの出
力信号をAD変換器γ05の入力として選択し、次のス
テップ82o4において所定時間間隔でこの受信コイル
がらの出方信号をサンプリングしてディジタルデータに
変換させて入出力インタフェース回路604 を介して
取組む。この後、このようにして得た投入硬貨の材質に
関するデータと所定値とを比較することにより投入硬貨
が適正の材質であるか否ヵ)をステップ82o5におい
て判定し、適正材質のニッケル硬貨であればステップ8
206においてタイマフラグ(TMFLG)を「2−I
  とすることにより硬貨選別タイマを寸法検出タイマ
として定義し直し、続くステップ82o7においてこの
寸法検出タイマに所定のタイマ時間をセットして計時動
作をスタートさせる。そしてこtv後CPU600は第
6図に示すゼネラルフローの処理に戻り、新たな4mB
 の処理サイクルが到来するまでアイドル状態となる。
In the coin data input process of FIG. 9, the CPU 600 sets the timer flag (TMFL
After confirming that G) is “1-1,”
The input mode of the converter 705 is set to the iron coin material B mode, and the output signals from the receiving coil for material selection provided in the material selection circuit 702 are selected as input to the AD converter 7050. In step 8202 , the output signal from the receiving coil is sampled at predetermined time intervals, converted to digital data, and taken in via the input/output interface circuit 604 . Next, step 82o3
Then, the input mode f of the AD converter 705 is set to the Tsugaru coin material selection mode, and the output signal from the material selection transmitting coil is selected as the input to the AD converter γ05. The output signal from the receiving coil is sampled, converted into digital data, and processed via the input/output interface circuit 604. Thereafter, by comparing the data regarding the material of the inserted coin obtained in this manner with a predetermined value, it is determined in step 82o5 whether or not the inserted coin is made of an appropriate material. Step 8
206, the timer flag (TMFLG) is set to “2-I
By doing so, the coin sorting timer is redefined as a dimension detection timer, and in the following step 82o7, a predetermined time is set in this dimension detection timer to start a timing operation. After this tv, the CPU 600 returns to the general flow process shown in FIG.
It remains in an idle state until the next processing cycle arrives.

その後、第1の基準タイマで定められた4maの新たな
処理サイクルが到来すると、ステップ802〜804 
の処理に引き続いてステップ805のレディタスクチェ
ック処理を実行するが、この時硬貨選別タイマは寸法検
出タイマとして動作中でめるため、再び硬貨データ入力
処理の実行を要求するタスクレディフラグをセットし1
、その後のタスク実行処理(ステップ808)において
再び硬貨データ入力処FI!を実行する。すると、今度
はタイマフラグ(T]’、/IFLG )が「2−1 
となっているため、CPU600 はステップ8200
および8208の判断処理を経てステップ8209以後
の処理を実行し、投入硬貨の厚さおよび直径が適正であ
る〃)否かをチェックする。
After that, when a new processing cycle of 4 ma determined by the first reference timer arrives, steps 802 to 804
Following the process, the ready task check process in step 805 is executed, but since the coin sorting timer is operating as a dimension detection timer at this time, the task ready flag is set again to request execution of the coin data input process. 1
, in the subsequent task execution process (step 808), the coin data input processing FI! Execute. Then, the timer flag (T]', /IFLG) becomes "2-1".
Therefore, the CPU 600 executes step 8200.
After the judgment process in step 8208, the process in step 8209 and subsequent steps is executed to check whether the thickness and diameter of the inserted coin are appropriate.

そこでまずCPU600は、ステップ8209  にお
いてAD変換器705の入力モードを厚さ選別モードに
設定し、厚さ選別回路703からの出力信号をAD変換
器705 の入力として選択し、次のステップ8210
において回路703の出力信号を所定時間間隔でサンプ
リングしてディジタルデータに変換させて取込みながら
厚さに応じて現われるピーク値を抽出し、そのピーク値
を一時記憶する。次にステップ8211 においてAD
変換器705の入力モードを直径選別モードに設定し、
直径選別回路704からの出力信号をAD変換器705
の入力として選択し、次のステップ8212において回
路704の出力4計号を所定時間間隔でサンプリングし
てディジタルデータに変換させて取込みながら直径に応
じて現われるピーク値を抽出し、そのピーク値を一時記
憶する。
Therefore, first in step 8209, the CPU 600 sets the input mode of the AD converter 705 to the thickness screening mode, selects the output signal from the thickness screening circuit 703 as the input to the AD converter 705, and then performs the next step 8210.
Then, the output signal of the circuit 703 is sampled at predetermined time intervals, converted into digital data, and captured while extracting a peak value that appears depending on the thickness, and temporarily storing the peak value. Next, in step 8211, AD
setting the input mode of the converter 705 to diameter sorting mode;
The output signal from the diameter selection circuit 704 is sent to the AD converter 705.
In the next step 8212, the four output signals of the circuit 704 are sampled at predetermined time intervals, converted to digital data, and captured while extracting the peak value that appears depending on the diameter. Remember.

この後、このようにして得た投入硬貨の厚さおよび直径
に関するデータを基に投入硬貨が適正の厚さおよび直径
のものであるかをステップ8213において判定し、適
正の厚きおよび直径を有する適正貨でろれはステップ8
214 の判断処理において硬貨の種類を表わす硬貨フ
ラグをセットした後ステップ8215以降において蓄積
軌道23aに蓄積させるための処理を行う。
After this, it is determined in step 8213 whether the inserted coin has the appropriate thickness and diameter based on the data regarding the thickness and diameter of the inserted coin obtained in this way, and it is determined whether the inserted coin has the appropriate thickness and diameter. If it's the correct currency, step 8
After setting a coin flag representing the type of coin in the determination process of step 214, a process for accumulating the coin in the accumulation track 23a is performed in steps 8215 and thereafter.

すなわち、投入硬貨が適正貨であれば、CPU600は
ステップ8215において今壕で寸法検出タイマとして
機能していた硬貨選別タイマ全すレットシ、次いでステ
ップ8216において硬貨選別回路の電源すなわち厚さ
選別回路γ03 および直径選別回路704の電源を遮
断した後、次のステップ8217において蓄積マグネツ
)37に対する駆動信号を送出し、このマグネット3T
をオンさせる。この後、ステップ8218 において硬
貨軌道23a における蓄積枚数がすでに3枚になって
いるか否かをチェックし、3枚未満であればステップ8
219において蓄積検知センサ31による蓄積検知動作
を許可する。すなわち、蓄積枚数が3枚未満でろれは蓄
積検知センサ31を構成する発光ダイオードを所定時間
間隔でダイナミック点灯させ、蓄積側に駆動された蓄積
レバー30を通じて硬貨軌道23a に入ってくる投入
硬貨を検知できる状態とする。この後、CPU600は
ステップ8220において硬貨の投入積卸を禁止する。
That is, if the inserted coin is a proper coin, the CPU 600 turns on all the coin sorting timers that were currently functioning as dimension detection timers in step 8215, and then turns on the power source of the coin sorting circuit, that is, the thickness sorting circuit γ03 and After cutting off the power to the diameter selection circuit 704, in the next step 8217, a drive signal is sent to the storage magnet 37, and this magnet 3T
Turn on. After this, in step 8218, it is checked whether the accumulated number of coins in the coin trajectory 23a has already reached 3, and if it is less than 3, step 8
In step 219, the accumulation detection operation by the accumulation detection sensor 31 is permitted. That is, if the number of accumulated coins is less than three, the light emitting diode constituting the accumulation detection sensor 31 is dynamically illuminated at predetermined time intervals, and the inserted coins entering the coin track 23a are detected through the accumulation lever 30 driven to the accumulation side. Make it possible. After this, the CPU 600 prohibits loading and unloading of coins in step 8220.

すなわち、硬貨投入検知センサ24の発光ダイオードの
ダイナミック点灯を停止させ、現在蓄積中の投入硬貨の
蓄積動作が完全に終了するまで投入検知を行なわないよ
うにし、この蓄積動作が完全に終了するまでに投入され
た新たな硬貨は返却側に駆動されているオーバフローレ
ール25から返却軌道35に落下させる。
That is, the dynamic lighting of the light emitting diode of the coin insertion detection sensor 24 is stopped, and insertion detection is not performed until the accumulation operation of the inserted coins currently being accumulated is completely completed. The newly inserted coins are dropped onto the return track 35 from the overflow rail 25 which is driven toward the return side.

以上の処理が終了すると、CPU6013は第6図のゼ
ネラルフローの処理に戻るが、蓄積マグネット3Tが駆
動されることにより蓄積レバー30が蓄積側に駆動され
ているため、一定時間経過すると投入硬貨が蓄積軌道2
3a に入シ、これに伴って蓄積検知センサ31から蓄
積検知信号が発生される。この蓄積検知信号は4rns
の新たな処理サイクルの入力センス処理(ステップ80
4)においてCPU600によって検出される。すると
、CPU600は蓄積検知処理の実行要求を表わすタス
クレゾ・[フラグをセットし、その後のタスク実行処理
(ステップ808)において第10図に詳細に示す蓄積
検知処理を実行するI 第10図に示す蓄積検知処理において、CPU6001
jtfステツプ8300において前述の硬貨データ入力
処理によって得られた投入硬貨の種類を表わす硬貨フラ
グを基に投入硬貨額を求め、この投入硬貨額を蓄積類メ
モリの中の蓄積順位に対応したメモリ領域へ格納する。
When the above process is completed, the CPU 6013 returns to the general flow process shown in FIG. 6, but since the storage lever 30 is driven to the storage side by driving the storage magnet 3T, the inserted coins will be removed after a certain period of time has passed. Accumulation trajectory 2
3a, and an accumulation detection signal is generated from the accumulation detection sensor 31 accordingly. This accumulation detection signal is 4rns
Input sense processing for a new processing cycle (step 80
4) is detected by the CPU 600. Then, the CPU 600 sets the task RESOLUTION flag indicating a request to execute the accumulation detection process, and executes the accumulation detection process shown in detail in FIG. 10 in the subsequent task execution process (step 808). In the detection process, the CPU 6001
In jtf step 8300, the amount of inserted coins is calculated based on the coin flag representing the type of inserted coin obtained by the above-mentioned coin data input process, and this amount of inserted coins is stored in the memory area corresponding to the storage rank in the storage type memory. Store.

この後、ステップ8301 のクレジット加算処理にお
いて収納部22に収納された硬貨額のうち通話料金とし
ては未使用の未使用金額と蓄積順メモリに格納されてい
る蓄積順とを加算し、通話可能な硬貨額を算出する。な
お、こ\では通話可能な硬貨額を表示処理(第7図のス
テップ880)において表示器605に表示させるため
のタスクレディフラグがセットされ、その後表示処理の
実行がなされた段階で表示器605に数字表示される。
After this, in the credit addition process of step 8301, the unused amount of coins stored in the storage unit 22 as a call fee is added to the accumulation order stored in the accumulation order memory, and the amount of coins stored in the storage unit 22 is added to Calculate the coin amount. In this case, a task ready flag is set to display the amount of coins that can be called on the display 605 in the display process (step 880 in FIG. 7), and then the display 605 is set when the display process is executed. will be displayed in numbers.

次に、CPU600 は蓄積検知を行う必要がなくなっ
たためにステップ8302において蓄積検知センサ31
の発光ダイオードのダイナミック点灯を停止させ、蓄積
検91]を禁止する。この後、ステップ8303におい
て蓄積枚数が4枚でるるか否かを判定し、4枚未肖でろ
れは次のステップ8304において蓄積マグネット37
に対する駆動信号の送出全停し、所定のインターバル時
間(例えば32m5)が経過してから次のステップ83
05において彷旧マグネット38に対する駆動信号を一
定時間だけ送出する。そして、復旧マグネット38に対
する駆動信号の送出時間が終了すると、第9図のステッ
プ8220以降において禁止状態となっていた硬貨の投
入検知をステップ8306において許可状態に復帰させ
る。
Next, since it is no longer necessary to perform accumulation detection, the CPU 600 detects the accumulation detection sensor 31 in step 8302.
Dynamic lighting of the light emitting diodes is stopped, and accumulation detection 91] is prohibited. After that, in step 8303, it is determined whether or not the number of accumulated images is 4. If 4 images are not displayed, the accumulation magnet 37 is
The next step 83 is performed after the transmission of drive signals to the target has completely stopped and a predetermined interval time (for example, 32 m5) has elapsed.
At step 05, a drive signal to the old magnet 38 is sent out for a certain period of time. When the time for sending the drive signal to the recovery magnet 38 ends, the coin insertion detection, which has been prohibited since step 8220 in FIG. 9, is returned to the permitted state in step 8306.

これにより、蓄積レバー30および投入検知センサ24
は硬貨投入前と同じ状態に復帰する。
As a result, the accumulation lever 30 and the input detection sensor 24
returns to the same state as before the coin was inserted.

なお、復旧マグネット38に対する駆動信号の送出時間
は前述の制御タイマを利用して6゛理され、この制御タ
イマのタイマ時間は復旧マグネット38がオンしてから
蓄積レバー30が返却側に切換わる甘での時間よりや\
長く設定されている。従って、蓄積マグネット3Tの駆
動イg号が発生された時点から禁止されていた投入検知
は、蓄積レバー30が返却側に児全に切換わった後さら
に一定の待ち時間を経過して力・ら投入検知許可状態に
復帰するものとなシ、M積しバー30の俊旧直後に次の
硬貨が投入されたとしても投入検知が行なわれないため
に寸法選別も行なわれない結果になり、この時の投入硬
貨は返却側に復旧され/こ蓄積レノ(□−30によって
返却されるものとなる。
Note that the sending time of the drive signal to the recovery magnet 38 is controlled using the aforementioned control timer, and the timer time of this control timer is determined by the amount of time the storage lever 30 is switched to the return side after the recovery magnet 38 is turned on. From the time at
It has been set for a long time. Therefore, the insertion detection, which has been prohibited from the time when the drive signal Ig of the storage magnet 3T is generated, is performed after a certain waiting time has elapsed after the storage lever 30 is switched to the return side. However, even if the next coin is inserted immediately after the M stacking bar 30 is moved, the insertion detection will not be performed and size sorting will not be performed. The coins inserted at the time will be restored to the return side and will be returned by the accumulated coin (□-30).

一方、蓄積マグネット37に対する。駆動時間について
も前述の制御タイマを利用してg理されており、そのタ
イマ時間は蓄積レバー30をオン状態にしてから投入硬
貨が蓄積検知センサ31の軌道上に到達する時間よりも
長く設定してろる。従って、実際上はこのタイマ時間の
終了前に蓄積検知がなされるのがほとんどであるので、
このような場合には蓄積検知を優先して蓄積マグネツ)
37に対する駆動信号の送出がステップ8304におい
て停止される。同時に、蓄積マグネツ)37に対する駆
動信号の送出時間を管理する必要がなくガるため、この
駆動時間管理用の制御タイマはステップ8304 にお
いてリセットされてその任務が解除される。
On the other hand, for the storage magnet 37. The drive time is also controlled using the aforementioned control timer, and the timer time is set to be longer than the time from when the accumulation lever 30 is turned on until the inserted coin reaches the orbit of the accumulation detection sensor 31. Teroru. Therefore, in practice, accumulation is almost always detected before the timer expires.
In such cases, priority is given to accumulation detection (accumulation magnets).
Sending of the drive signal to 37 is stopped in step 8304. At the same time, since there is no need to manage the sending time of the drive signal to the storage magnet 37, the control timer for managing the drive time is reset in step 8304 and its mission is canceled.

ところで、この実施例においては硬貨軌道が短いのを補
完するため、蓄積枚数がすでに3枚るる場合に次の硬貨
が投入されたときは蓄積コインガイド29を蓄積側にし
た1\にすることにより、この蓄積コインガイド29の
軌道上で4枚目の硬貨を蓄積するようになっている。
By the way, in this embodiment, in order to compensate for the short coin trajectory, when the next coin is inserted when the number of accumulated coins is already 3, the accumulated coin guide 29 is set to the accumulation side and set to 1\. , the fourth coin is accumulated on the orbit of this accumulation coin guide 29.

このような場合、3枚目の蓄積硬貨がめるために蓄積検
知センサ31による蓄積検知を行うことができない。こ
のため、CPU600 u第9図のステップ8221に
おいて蓄積マグネット37の駆動時間を管理する制御タ
イマのタイマ時間が終了するのを待って終了直後に茅積
検知処理の実行要求を表わすタスクレディフラグをセッ
トすると共に、蓄積マグネット37に対する駆動信号の
送出を停止し、この後第10図に示す蓄積検知処理の実
行に移る。そして、この蓄積検知処理のステップ830
3において蓄積枚数が4枚になったことを蓄積順メモリ
の内容により判定し、ステップ830T において投入
検知を禁止する一方、新たな投入硬貨は蓄積レバー30
に連動して返却側に駆動されているオーバフローレール
25を介して返却軌道35に返却させる。さらに、この
時には蓄積レバー30が蓄積側に機械的に保持されたま
まに外っているため、電話機本体を故意に傾斜させると
蓄積された硬貨がオーツくフローレール25を介して返
却軌道35に落下して不正行為を招くことが考えられる
。このため、CPU600 Uニステップ830Bにお
いて逆流検知センサ28による逆流検知を許可する。そ
して、この逆流検知センサ28によって硬貨の逆流が検
知された場合、るるいけ姿勢センナ606の出力信号が
発生した場合は第7図のステップ890に示すフック処
理の実行要求を表わすタスクレディフラグをセットし、
このフック処理の実行によって通話回路505の強制切
断イ吉号を発生して通話を強制的に切断する。
In such a case, the accumulation detection sensor 31 cannot perform accumulation detection in order to store the third accumulated coin. Therefore, in step 8221 of FIG. 9, the CPU 600 u waits for the timer time of the control timer that manages the drive time of the storage magnet 37 to end, and immediately after the timer time ends, sets a task ready flag indicating a request to execute the grass pile detection process. At the same time, the sending of the drive signal to the storage magnet 37 is stopped, and thereafter the execution of the storage detection process shown in FIG. 10 is started. Then, step 830 of this accumulation detection process
In step 830T, it is determined that the accumulated number of coins has become 4 based on the contents of the accumulation order memory, and in step 830T, insertion detection is prohibited, while newly inserted coins are detected by the accumulation lever 30.
The vehicle is returned to the return track 35 via the overflow rail 25 which is driven to the return side in conjunction with the above. Furthermore, at this time, the accumulation lever 30 is removed while being mechanically held on the accumulation side, so if the phone body is intentionally tilted, the accumulated coins will automatically flow through the flow rail 25 and return to the return track 35. It is conceivable that the product may fall and lead to fraudulent activity. Therefore, backflow detection by the backflow detection sensor 28 is permitted in the CPU 600 U step 830B. If the backflow of coins is detected by this backflow detection sensor 28, and if an output signal from the ruruike attitude sensor 606 is generated, a task ready flag indicating a request to execute the hook process shown in step 890 in FIG. 7 is set. death,
By executing this hook process, a forced disconnection signal is generated in the call circuit 505, and the call is forcibly disconnected.

第12図は蓄積硬貨枚数が3枚未満のときに新たな硬貨
が投入された場合のタイムチャートである。同図におい
て、(a)は硬貨選別タイマの動作時間、(b)は材質
選別タイマの動作時間、(C)は寸法選別タイマの動作
時間をそれぞれ表わしている。また(d)はCPU60
0による処理内容を表わし、−XIけ硬貨検知処理、x
2は材質選別処理、X3は寸法選別処理、X4は蓄積検
知処理をそれぞれ示している。(e)は厚さ選別回路7
03および直径選別回路704に対する電源供給時間、
(f)は蓄積マグネット37の通電時間、(2)は復旧
マグネット3Bの通電時間、(h)は投入検知センサ2
4の動作時間、(1)は蓄積検知センサ31の動作時間
を表わしている。
FIG. 12 is a time chart when a new coin is inserted when the number of accumulated coins is less than three. In the figure, (a) shows the operating time of the coin sorting timer, (b) shows the operating time of the material sorting timer, and (C) shows the operating time of the size sorting timer. Also, (d) is CPU60
0 represents the processing content, -XI coin detection processing, x
2 indicates material selection processing, X3 indicates dimension selection processing, and X4 indicates accumulation detection processing. (e) is the thickness selection circuit 7
03 and the power supply time to the diameter selection circuit 704;
(f) is the energization time of the storage magnet 37, (2) is the energization time of the recovery magnet 3B, and (h) is the insertion detection sensor 2.
4 represents the operating time, and (1) represents the operating time of the accumulation detection sensor 31.

第13図は蓄積硬貨枚数が3枚のときに新たな硬貨が投
入された場合のタイムチャートである。
FIG. 13 is a time chart when a new coin is inserted when the number of accumulated coins is three.

同図において、(a)〜(f)は第12図と全く同じで
るり、(9)は投入積卸センサ24の動作時間、(h)
←蓄積検知センサ31の動作時間、(i)は逆流検知セ
ンサス8の動作時間を表わしている。
In the figure, (a) to (f) are exactly the same as in Figure 12, (9) is the operation time of the loading/unloading sensor 24, and (h) is
←The operating time of the accumulation detection sensor 31, (i) represents the operating time of the backflow detection sensor 8.

b、材質不良硬貨投入時の動作 材質不良硬貨が投入されfc場合、CPU600は投入
検知後に第8図に示す硬貨検知処理′f:実行した後、
第9図に示す硬貨データ入力処理を実行するが、材質不
良でるるためにステップ8205から直ちに第6図のゼ
ネラルスローの処理に復帰する。
b. Operation when a coin with poor material is inserted When a coin with poor material is inserted fc, after the CPU 600 detects the insertion, the CPU 600 executes the coin detection process 'f: shown in FIG. 8.
The coin data input process shown in FIG. 9 is executed, but since the material is defective, the process returns immediately from step 8205 to the general throw process shown in FIG. 6.

このため、硬貨選別タイマのタイマフラグ(TMFLG
 )が「2−1に更新されず、またそのタイマ時間が再
設定されなくなる。この結果、厚さ選別回路703およ
び直径選別回路704に対する電源は硬貨選別タイマが
材質選別タイマとしてのタイマ時間を終了した段階で遮
断される。従って、蓄積レバー30は何等駆動されず、
材質不良の投入硬貨は返却側駆動状態にろる蓄積レバー
3oに当ってコイン蓄積ガイド29を介して返却軌道3
5に落下し、返却部36に返却される。
For this reason, the timer flag (TMFLG) of the coin sorting timer
) is not updated to ``2-1'' and its timer time is not reset.As a result, the power to the thickness sorting circuit 703 and diameter sorting circuit 704 is turned off so that the coin sorting timer ends its time as the material sorting timer. Therefore, the storage lever 30 is not driven in any way.
Inserted coins with poor material hit the storage lever 3o that is in the return drive state and are transferred to the return track 3 via the coin storage guide 29.
5 and is returned to the return section 36.

第14図は、拐質不良硬貨投入時のタイムチャートであ
り、同図(a)は硬貨選別タイマの動作時間、(b)は
材質選別タイマの動作時間、(c)はCPU600によ
る処理内容を表わし、Xl は硬貨検知処理、X2は材
質選別処理を示している。また(d)は厚さ選別回路7
03および直径選別回路704に対する電源供給時間を
表わしている。
FIG. 14 is a time chart when coins with poor quality are inserted. (a) shows the operating time of the coin sorting timer, (b) shows the operating time of the material sorting timer, and (c) shows the processing contents by the CPU 600. In the expression, Xl indicates a coin detection process, and X2 indicates a material selection process. In addition, (d) is the thickness selection circuit 7.
03 and the diameter selection circuit 704.

C9寸法不良硬貨投入時の動作 材質は適正であるが、厚さめるいは直径の一方が不適正
な硬貨が投入された場合、CPU600は材¥j、選別
処理後に第9図のステップ82o9以降の処理を実行す
るが、厚さめるいは直径の一方が不適正であるためにス
テップ8214から直ちに第6図のゼネラルフローの処
理に復帰する。このため、蓄積レバー3oI−i、何等
駆動されず、厚さめるいは直径が不良の投入硬貨は蓄積
レバー3oに当ってコイン蓄積ガイド29を介して返却
軌道35に落下し、返却部36に返却される。
C9 When a coin with defective dimensions is input, the material is appropriate, but if a coin with an inappropriate thickness or diameter is input, the CPU 600 selects the material, and after the sorting process, performs steps 82o9 onward in FIG. The process is executed, but since either the thickness or the diameter is inappropriate, the process immediately returns to the general flow shown in FIG. 6 from step 8214. For this reason, the storage lever 3oI-i is not driven in any way, and the inserted coins with a defective thickness or diameter hit the storage lever 3o, fall into the return track 35 via the coin storage guide 29, and are returned to the return section 36. be done.

第15図は、厚さあるいは直径が不良の硬貨が投入され
念時のタイムチャートでるり、同図(a)I″を硬貨選
別タイマの動作時間、(b)は材質選別タイマの動作時
間、(c)は寸法選別タイマの動作時間、(d)はCP
U600による処理内容を表わし、xlは硬貨検知処理
、x2f′i、#質選別処珂、x3 Fi寸寸法別別処
理示し、また(e)は厚さ選別回路703 および直径
選別回路704に対する電源供給時間を聚わしている。
Figure 15 is a time chart just in case a coin with a defective thickness or diameter is inserted, (a) I'' is the operating time of the coin sorting timer, (b) is the operating time of the material sorting timer, (c) is the operation time of the size selection timer, (d) is the CP
Indicates the processing contents by U600, xl indicates coin detection processing, x2f'i, #quality sorting processing, x3 Fi size-specific processing, and (e) indicates power supply to thickness sorting circuit 703 and diameter sorting circuit 704. I'm wasting my time.

d、硬貨の連続投入時の動作 硬貨の連続投入の態様として、囚先行硬貨の投入によっ
て動作を開始した硬貨選別タイマのタイマ時r#IJ終
了前に後続硬貨が投入されるケース、ω)先行硬貨の正
貨判定信号が発生してから蓄積レバー30が返却側に復
帰するまでに後続硬貨が投入されるケース、(0蓄積レ
バー30が返却側に印部してから復旧マグネット3Bの
駆動時間が終了するまでの間に後続硬貨が投入されるケ
ースの3種類がるる。すなわち、第11図に示すTi、
 Tz 。
d. Operation when coins are continuously inserted. As a mode of continuous coin insertion, the timer of the coin sorting timer that starts operation by the insertion of the prisoner's preceding coin is the case in which a subsequent coin is inserted before r#IJ ends, ω) Advance. In the case where a subsequent coin is inserted after the coin genuineness determination signal is generated until the storage lever 30 returns to the return side, (0) the drive time of the recovery magnet 3B after the storage lever 30 marks the return side. There are three types of cases in which subsequent coins are inserted until the end of the coin.
Tz.

T3 の各期間に後続硬貨が投入される3種類の態様が
ある。
There are three ways in which subsequent coins are inserted in each period of T3.

このうち、g3)のケースでは蓄積レバー30に連動し
てオーバフローレール25が返却側に駆動されているた
め、後続硬貨はとのオーバフローレール25によって返
却部36に返却される。また、オーバフローレール25
が蓄積側に復帰するタイミングの境界付近で後続硬貨が
投入されて材質選別コイル26の軌道を通過したとして
も、この時には投入検知を行っていないために蓄積レバ
ー30が蓄積側に駆動されず、コイン蓄積ガイド29を
介して返却部36に返却される。<C)のケースの場合
にも同様な理由によって返却部36に返却される。
Among these cases, in case g3), since the overflow rail 25 is driven to the return side in conjunction with the accumulation lever 30, the subsequent coins are returned to the return unit 36 by the overflow rail 25. Also, overflow rail 25
Even if a subsequent coin is inserted near the boundary of the timing when returns to the storage side and passes through the orbit of the material sorting coil 26, the storage lever 30 is not driven to the storage side because insertion detection is not performed at this time. The coins are returned to the return unit 36 via the coin accumulation guide 29. In case <C), the item is returned to the return unit 36 for the same reason.

一方、■のケースについては第8図に示す硬貨検知処理
において厚さ選別回路703 および直径選別回路70
4の電源′ff:遮断することにより、後続硬貨は先行
硬貨とともにコイン蓄積ガイド29を介して返却部36
に返却される。
On the other hand, in case (■), the thickness sorting circuit 703 and the diameter sorting circuit 70 are used in the coin detection process shown in FIG.
4's power supply 'ff: By cutting off, the subsequent coins are transferred to the return section 36 along with the preceding coins via the coin accumulation guide 29.
will be returned to.

すなわち、先行硬貨の投入により硬貨選別タイて動作し
ている際に後続硬貨されると、CPU600は後続硬′
貨の投入検知によって第8図に示す硬貨検知処理を実行
するが、硬貨選別タイマが動作中であるためにステップ
8100から ステップ8105 の処理へ移行し、こ
こにおいて硬貨フラグレジスタに対し硬貨が連続投入さ
れたことを表わす連続投入エラーフラグをセットする。
That is, if a subsequent coin is inserted during the coin sorting operation due to the insertion of a preceding coin, the CPU 600 selects the subsequent coin.
When coins are detected, the coin detection process shown in FIG. 8 is executed, but since the coin sorting timer is in operation, the process moves from step 8100 to step 8105, where coins are continuously inserted into the coin flag register. Sets the continuous input error flag to indicate that the

この後、次のステップ8106においてタイマフラグ(
TMFLG )  の内容をチェックし、その内容が「
0−1でなければ次のステップ8107 において厚さ
選別回路703および直径選別回路704 の電源を遮
断し、「O」であればステップ8108  において硬
貨選別タイマをセットする。すなわち、硬貨選別タイマ
が材質選別タイマあるいは寸法検出タイマとして動作中
でろれば、タイマフラグ(TMFLG)は「1」または
 r21になっている。こ     □のため、この状
態の時に後続硬貨が投入された場合には、CPU60G
はステップ8107において硬貨選別回路を構成する回
路703および回路704の電源を遮断する。この後、
硬貨選別タイマにタイマ時間を再セットして計時動作を
開始させる。そして、次のステップ8109においてタ
イマフラグ(TMFLGl  を「01にした後、続く
ステップ8110 において投入検知センサ24による
投入検知を禁止する。すなわち、CPU 600は2枚
目の硬貨の連続投入により硬貨選別回路の電源を遮断し
、さらに硬貨選別タイマを初期値から再スタートさせる
と共に、投入検知を禁止する。
After this, in the next step 8106, the timer flag (
Check the contents of TMFLG) and confirm that the contents are ``
If it is not 0-1, the power to the thickness sorting circuit 703 and diameter sorting circuit 704 is cut off in the next step 8107, and if it is "O", a coin sorting timer is set in step 8108. That is, if the coin sorting timer is operating as a material sorting timer or a dimension detection timer, the timer flag (TMFLG) is "1" or r21. Therefore, if a subsequent coin is inserted in this state, the CPU60G
In step 8107, the power to circuit 703 and circuit 704 constituting the coin sorting circuit is cut off. After this,
The timer time is reset to the coin sorting timer and the time counting operation is started. Then, in the next step 8109, the timer flag (TMFLGl) is set to 01, and in the subsequent step 8110, the input detection sensor 24 prohibits the input detection.In other words, the CPU 600 activates the coin sorting circuit by continuously inputting the second coin. The coin sorting timer is restarted from its initial value, and insertion detection is prohibited.

さらに、硬貨選別タイマが連続投入によって動作中であ
ることを表わすためにタイマフラグ(TMFILG) 
 を 「01 とする。
Furthermore, a timer flag (TMFILG) is set to indicate that the coin sorting timer is operating due to continuous input.
Let be ``01.''

これによって、先行硬貨および後続硬貨ともその硬貨選
別が不能となり、両硬貨とも返却側駆動状態にろる蓄積
レバー30に当ってコイン蓄積ガイド29を介して返却
部36に返却される。
As a result, coin sorting of both the preceding coin and the following coin becomes impossible, and both coins hit the accumulation lever 30 which changes to the return drive state and are returned to the return section 36 via the coin accumulation guide 29.

その後、タイマフラグ「OJ で動作していた硬貨選別
タイマのタイマ時間が終了すると、第6図のゼネラルフ
ローにおけるタイマ処理において第11図に示すタイマ
エンド処理が選択されて実行される。
Thereafter, when the timer time of the coin sorting timer operating with the timer flag "OJ" ends, the timer end process shown in FIG. 11 is selected and executed in the timer process in the general flow of FIG. 6.

この第11図のタイマエンド処理において、CPU60
0はステップ8120において投入検知が許可状態でる
るか否かをチェックする。2枚目の硬貨が連続投入され
た場合には第8図のステップ8110において投入検知
がすでに禁止されているため、CPU600はメチツブ
8121d明徐選択し、ここにおいて硬貨選別タイマに
タイマ時間を再セットして再スタートさせ、次ぎにステ
ップ8122においてタイマレディフラグを も1″と
し、さらに次のステップ8123 において投入検知の
禁止を解除する。タイマレディフラグを11“とするの
は、第6図のタイマ処理において硬貨選別タイマの計時
値の更新全実行させるためでるる。
In this timer end processing in FIG. 11, the CPU 60
0 checks in step 8120 whether or not the input detection is in the permitted state. When the second coin is continuously inserted, since insertion detection is already prohibited in step 8110 of FIG. 8, the CPU 600 selects the coin selection timer 8121d and resets the timer time in the coin sorting timer. Then, in step 8122, the timer ready flag is also set to 1'', and in the next step 8123, the prohibition of input detection is canceled.The timer ready flag is set to 11'' because the timer in FIG. This is done to update the coin sorting timer's clock value during processing.

すなわち、ここでは2枚目の硬貨の連続投入によって再
スタートされた硬貨選別タイマが三たびスタートされる
と共に、投入検知の禁止が解除される。これによって、
3枚目の硬貨の投入検知が可能となる。その後、三たび
スタートさせた硬貨選別タイマのタイマ時間が終了する
と、タイマフラグ(TMFLG)  は依然としてrO
Jでるるためこの第11図のタイマエンド処理が選択さ
れる。
That is, here, the coin sorting timer that was restarted by the continuous insertion of the second coin is restarted a third time, and the inhibition of insertion detection is canceled. by this,
It becomes possible to detect the insertion of the third coin. After that, when the timer time of the coin sorting timer that was started three times expires, the timer flag (TMFLG) remains rO.
Since J is output, the timer end process shown in FIG. 11 is selected.

すると、この時には投入検知が許可状態でろるため、C
PU600はステップ812o の判断によってステッ
プ8124の処理を選択し、ここにおいてタイマレディ
フラグを qOuとし、第6図のゼネラルフローの処理
に戻る。
Then, at this time, the input detection is stuck in the permission state, so C
The PU 600 selects the process in step 8124 based on the determination in step 812o, sets the timer ready flag to qOu, and returns to the process in the general flow of FIG. 6.

これによって、硬貨の連続投入を防止するための一連の
処理は終了する。
This completes a series of processes for preventing continuous coin insertion.

ここで、硬貨選別タイマが第11図のステップ8121
 の処理によって三たびスタートして計時動作を実行し
ている間に、2枚目の硬貨に続いて3枚目の硬貨が投入
されると、この時には投入許可状態になっているために
第8図の硬貨検知処理が実行され、ステップ8105〜
811oの処理が再び実行される。すなわち、2枚目の
硬貨に続いて3枚目の硬貨が投入された場合、1枚目の
硬貨に続いて2枚目の硬貨が投入された場合と同じ処理
状態に戻り、3枚目の硬貨も返却部36に返却される。
Here, the coin sorting timer is set to step 8121 in FIG.
When the third coin is inserted following the second coin while the timing is started three times and the timing operation is being executed by the process of The coin detection process shown in the figure is executed, and steps 8105~
The process of 811o is executed again. In other words, if a third coin is inserted after the second coin, the process returns to the same state as when the second coin is inserted after the first coin, and the third coin is inserted. The coins are also returned to the return unit 36.

これにより、次々と連続投入硬貨は返却される。As a result, the continuously inserted coins are returned one after another.

さらに、この実施例では投入検知禁止の解除タイミング
を挾んで投入された先行硬貨および後続硬貨とも返却部
36に返却することができる。
Furthermore, in this embodiment, both the preceding coin and the succeeding coin that have been inserted can be returned to the return unit 36 after the timing of canceling the inhibition of insertion detection.

すなわち、1枚目の硬貨に続いて2枚目の硬貨が投入さ
れたときには、硬貨選別動作を電気的に禁止すると共に
硬貨選別タイマを再スタートさせ、さらに硬貨選別タイ
マ再動作中の後続硬貨は必然的に連続投入硬貨となるた
めに投入検知を禁止して電力消費の節約を図っているが
、再スタートさせた硬貨選別タイマのタイマ時間終了後
に単に投入検知の禁止を解除すると、投入検知禁1F状
態の時には硬貨が投入されたのか否かが不明であるため
、もしこの投入検知禁止状態の時に3枚目の硬貨が投入
され、かつ投入検知禁止の解除後に4枚目の硬貨が投入
されたとすると、これら3枚目および4枚目の硬貨は連
続投入硬貨にもか\ゎらず4枚目の硬貨だけの個別投入
と判断されてし甘いこの4枚目の硬貨の正貨判定信号に
よって先行の3枚目の硬貨も連続して蓄積されてしまう
$態が生じる。
That is, when a second coin is inserted after the first coin, the coin sorting operation is electrically inhibited and the coin sorting timer is restarted, and the subsequent coins whose coin sorting timer is restarting are Since coins are inevitably inserted continuously, insertion detection is prohibited to save power consumption, but if the prohibition of insertion detection is simply canceled after the restarted coin sorting timer expires, insertion detection will be disabled. In the 1F state, it is unknown whether a coin has been inserted or not, so if the third coin is inserted while the insertion detection is prohibited, and the fourth coin is inserted after the insertion detection prohibition is canceled. If this is the case, these third and fourth coins are considered to be continuous input coins, but the fourth coin is judged to be an individual input. A $ situation occurs in which the preceding third coin is also accumulated continuously.

しかし、上述したように投入検知禁止の解除後にも硬貨
選別タイマを1度だけ再スタートさせているため、投入
検知禁止時に投入された硬貨を蓄積してしまうことはな
く、両硬貨とも連続投入硬貨として返却することができ
る。すなわち、投入検知禁止動作をさせても硬貨選別タ
イマを1度だけ再スタートさせることにより、連続投入
の監視機能を持続させることができる。
However, as mentioned above, the coin sorting timer is restarted only once even after the inhibition of insertion detection is lifted, so the coins inserted when the inhibition of insertion detection is disabled do not accumulate, and both coins are continuously inserted. It can be returned as. That is, even if the insertion detection prohibition operation is performed, the continuous insertion monitoring function can be maintained by restarting the coin sorting timer only once.

なお、投入検知禁止解除後に再スタートさせた硬貨選別
タイマの動作が終了するまでの間に硬貨が投入されなけ
れば、当初の硬貨投入待ちの状態に戻り、その後Ω個別
投入硬貨は正常に検知される。
Furthermore, if no coin is inserted before the operation of the coin sorting timer restarted after the insertion detection prohibition is canceled, the system returns to the initial coin insertion waiting state, and after that, the individual inserted coins are detected normally. Ru.

第16図は、硬貨が連続投入された場合のタイムチャー
トでろって、同図(a)は硬貨選別タイマの動作時間、
(b)はCPU600の処理内容を表わし、Xlは硬貨
検知処理、X2は寸法選別処理を示している。(c)は
厚さ選別回路703および直径選別回路704 に対す
る電源供給時間、(d)は投入検知セン?24の動作時
間を表わしている。また、同図(a)の斜線区間は、硬
貨選別タイマが投入検知禁止の解除によって再スタート
していることを表わしている。さらに、toは2枚目の
硬貨の投入検知タイミングを表わし、矢印Aは投入検知
禁止の解除により再スタートさせ/ζ硬貨選別タイマの
動作中に新たな硬貨が投入された場合にtoの時点の状
態に戻ることを表わしている。
Fig. 16 is a time chart when coins are continuously inserted, and Fig. 16 (a) shows the operating time of the coin sorting timer;
(b) shows the processing contents of the CPU 600, where Xl shows the coin detection process and X2 shows the size selection process. (c) is the power supply time to the thickness selection circuit 703 and the diameter selection circuit 704, and (d) is the power supply time to the input detection sensor. 24 operating hours. Moreover, the diagonally shaded section in FIG. 3A indicates that the coin sorting timer is restarted by canceling the insertion detection prohibition. Furthermore, to represents the insertion detection timing of the second coin, and arrow A indicates the timing at which the input detection timing is restarted by canceling the insertion detection prohibition. It represents a return to normal condition.

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

以上説明したように本発明は、硬貨の投入検知によって
スタートし、正貨判定信号によってクリアされるタイマ
と、このタイマの動作中における後続硬貨の投入検知に
よって硬貨選別装置の選別動作全停止させる制御装置と
を設け、前記タイマの動作中に後続硬貨の投入を検知し
た場合には硬貨振分は機構を返却側にし/ζ1Xにして
先行硬貨および後続硬貨とも返却するようにし、さらに
硬貨振分は機構の蓄積作動状態に連動して後続硬貨を返
却するオーバ70−機構を設け、先行硬貨の正貨判定信
号によって硬貨振分は機構が蓄積側に駆動されている間
はこのオーバフロー機構によって後続硬貨のみを返却す
るようにしたものである。
As explained above, the present invention includes a timer that is started when a coin is detected and cleared by a genuine coin determination signal, and a control that completely stops the sorting operation of the coin sorting device when a subsequent coin is detected while the timer is operating. A device is provided, and when the insertion of a subsequent coin is detected while the timer is operating, the coin distribution mechanism is set to the return side/ζ1X so that both the preceding coin and the subsequent coin are returned, and furthermore, the coin distribution is An overflow mechanism is provided to return subsequent coins in conjunction with the accumulating operating state of the mechanism, and while the mechanism is driven to the accumulating side, coins are distributed according to the genuine coin determination signal of the preceding coin, and subsequent coins are returned by this overflow mechanism. It is designed so that only the following items are returned.

さらに本発明は、正貨判定信号が出力されてから硬貨振
分は機構に対する復旧信号が完了するまでの間は投入検
知を禁止し、後続硬貨はオーバフロー機構または硬貨振
分は機構によって返却するようにしたものでるる。
Furthermore, the present invention prohibits insertion detection from the output of the genuine coin determination signal until the completion of the recovery signal to the coin sorting mechanism, and allows subsequent coins to be returned by the overflow mechanism or by the coin sorting mechanism. The one I made is Ruru.

このため、硬貨振分は機構までの軌道を長くとれない場
合でも硬貨が連続投入されたときはこれを確実に返却し
、連続投入による誤蓄祈を確実に防止することができる
。また、先行硬貨の正貨判定信号が発生した後tユこの
先行硬貨のみは蓄積するため、硬貨処理の無駄が無くな
り、また使用する側においては倒産も硬貨を投入し直さ
なければならないなどの面倒な操作が軽減され、処理効
率および操作性の点でも有益となる。従って、卓上型の
公衆電話機などの機器に適用することによp極めて有益
な効果を発揮する。
Therefore, even when coin sorting cannot take a long path to the mechanism, when coins are continuously inserted, they can be returned reliably, and erroneous accumulation due to continuous insertion can be reliably prevented. In addition, since only the preceding coins are accumulated after the genuineness determination signal of the preceding coin is generated, there is no waste in coin processing, and the user side does not have to worry about the trouble of having to re-insert coins even if they go bankrupt. This reduces the number of operations required, which is also beneficial in terms of processing efficiency and operability. Therefore, when applied to devices such as desk-top public telephones, extremely beneficial effects can be achieved.

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

第1図は本発明の基本林成を示す図、第2図は本発明全
適用した公衆電話機における硬貨処理機構の一実施例を
示す概略構成図、第3図および第4図は第2図における
振分は機構および返却機構の連動機構を示す概略構成図
、第5図は通話処理および硬貨処理を行う電気回路部の
一実施例を示すブロック図、第6図〜第7図は通話処理
および硬貨処理のフローチャート、第8図〜第11図は
硬貨処理の詳細を示すイローチャ−1・、第12図〜第
16図は硬貨の投入態様に応じた動作を説明するための
タイムチャートでろる。 1.21・・・・硬貨投入口、2・・・・蓄積部、3,
23・・・・硬貨軌道、4,24・・・・投入検知セン
サ、5・・・・硬貨選別装置、6.37・・・・蓄積マ
グネット、7,38・・・番復1日マグネット、8,3
0・・・拳HX’ftレバー、9s*拳・タイマ、10
・・―・制御装置、11.36−−−−返却部、12a
、12b、 35 ・−−・返却軌道、13・・・・オ
ーバフロー機構、25・令・・オーバフローレール、2
6・−ψ・材質選別コイル、27・・・・寸法検出コイ
ル、28・・・・逆流検知センサ、29・・・・コイン
蓄積ガイド、31・・・・蓄枦検知センサ、60・・・
・制御部、70・・・・硬貨処理部、600 ・・・・
演算処理装置、701 ・・・・センサ回路、702・
・・・材質選別回路、γ03・・・・厚さ選別回路、1
04 ・・・・直径選別回路、705 ・・・・AD変
換器。 特許出願人 株式会社田村電機製作所 代理人 山川政樹(ほか1名) 第8図 第10図 第11図
Fig. 1 is a diagram showing the basic structure of the present invention, Fig. 2 is a schematic configuration diagram showing an embodiment of a coin processing mechanism in a public telephone to which the present invention is fully applied, and Figs. 3 and 4 are Fig. 2. Fig. 5 is a block diagram showing an example of the electric circuit section that performs call processing and coin processing, and Figs. 6 to 7 are call processing diagrams. and a flowchart of coin processing, Figures 8 to 11 are illustrations 1 and 2 showing details of coin processing, and Figures 12 to 16 are time charts to explain operations depending on the coin insertion mode. . 1.21...Coin slot, 2...Accumulation section, 3,
23... Coin trajectory, 4, 24... Insertion detection sensor, 5... Coin sorting device, 6.37... Accumulation magnet, 7, 38... No. 1 day magnet, 8,3
0...Fist HX'ft lever, 9s*fist/timer, 10
...Control device, 11.36---Return section, 12a
, 12b, 35 --- Return track, 13 --- Overflow mechanism, 25-- Overflow rail, 2
6.-ψ Material selection coil, 27.. Dimension detection coil, 28.. Backflow detection sensor, 29.. Coin accumulation guide, 31.. Accumulation detection sensor, 60..
・Control unit, 70...Coin processing unit, 600...
Arithmetic processing unit, 701...Sensor circuit, 702...
...Material selection circuit, γ03...Thickness selection circuit, 1
04...Diameter selection circuit, 705...AD converter. Patent applicant Tamura Electric Manufacturing Co., Ltd. Agent Masaki Yamakawa (and one other person) Figure 8 Figure 10 Figure 11

Claims (2)

【特許請求の範囲】[Claims] (1)硬貨投入口からの硬貨軌道上に投入検知センサ、
W!貨選別装置、硬貨振分は装置を順次配置し、硬貨選
別装置の正貨判定信号により硬貨振分は装置を駆動して
硬貨を蓄積軌道に蓄積させる硬貨処理装置において、 前記投入検知センサの下流側に設けられかつ前記硬貨振
分は装置の蓄積作動状態に連動して後続の箔入硬貨全返
却するオーバフロー機構と、前記投入検知センサの硬貨
投入検知によりスタートし、前記正貨判定信号によタフ
リアされるタイマと、このタイマの動作中における前記
投入検知センサによる後続硬貨の投入検知によって前記
硬貨選別装置の動作を停止させる制御装置とを備え、硬
貨の連続投入と防止するようにしたことを特徴とする硬
貨処理装置。
(1) An insertion detection sensor on the coin trajectory from the coin insertion slot,
W! A coin sorting device and a coin sorting device are arranged in sequence, and a coin sorting device is driven by a genuine coin judgment signal from the coin sorting device to accumulate coins in an accumulation track. The coin distribution is started by an overflow mechanism that returns all subsequent foil-filled coins in conjunction with the accumulating operating state of the device, and a coin insertion detection by the insertion detection sensor, and is started by the genuine coin determination signal. Continuous insertion of coins is prevented by comprising a timer that performs a tough check, and a control device that stops the operation of the coin sorting device when the insertion detection sensor detects the insertion of a subsequent coin while the timer is operating. Characteristic coin processing equipment.
(2)硬貨投入口力・らの硬貨軌道上に投入検知センサ
。 硬貨選別装置、硬貨振分は装置を順次配置し、硬貨選別
装置の正貨判定信号により硬貨振分は装置を駆動して硬
貨を蓄積軌道上に蓄積させる硬貨処理装置において、 前記投入検知セ/すの下流側に設けられかつ前記硬貨振
分は装置の蓄積作動状態に連動して後続の投入硬貨を返
却するオーバフロー機構と、前記投入検知センサの投入
検知によジスタートシ、前記正貨判定信号によシフリア
されるタイマと、前記投入検知センナによる硬貨の投入
検知により前記硬貨選別装置の動作を前記タイマのタイ
マ時間の間許可し、タイマ時間中における後続硬貨の投
入検知によって前記硬貨選別装置の動作を停止させると
共に、前記正貨判定信号が出力されてから前記硬貨振分
は装置に対する硬貨振分は動作の復旧信号が終了するま
での間前記投入検知センサの動作を停止させる制御装置
とを備え、硬貨の連続投入を防止するようKしたとと′
ff:特徴とする硬貨処理装置。
(2) A sensor for detecting the insertion of coins into the coin slot. A coin sorting device and a coin sorting device are sequentially arranged, and a coin sorting device is driven by a genuine coin judgment signal from the coin sorting device to accumulate coins on an accumulation track. An overflow mechanism is provided on the downstream side of the coin sorter, and the coin sorting is performed by an overflow mechanism that returns subsequently inserted coins in conjunction with the accumulating operating state of the device, and an overflow mechanism that returns subsequently inserted coins in conjunction with the accumulation operation state of the device, and a misstart mechanism that returns the coins that have been inserted subsequently by the insertion detection sensor. The operation of the coin sorting device is permitted during the timer time of the timer based on the timer that is cleared and the insertion of a coin is detected by the input detection sensor, and the operation of the coin sorting device is enabled by detecting the insertion of a subsequent coin during the timer time. and a control device that stops the operation of the input detection sensor from when the genuine coin determination signal is output until the coin distribution operation recovery signal for the coin distribution device is terminated. , K was added to prevent continuous coin insertion.
ff: Featured coin processing device.
JP58096080A 1983-05-31 1983-05-31 Coin processor Granted JPS59221788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58096080A JPS59221788A (en) 1983-05-31 1983-05-31 Coin processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58096080A JPS59221788A (en) 1983-05-31 1983-05-31 Coin processor

Publications (2)

Publication Number Publication Date
JPS59221788A true JPS59221788A (en) 1984-12-13
JPH0113154B2 JPH0113154B2 (en) 1989-03-03

Family

ID=14155410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58096080A Granted JPS59221788A (en) 1983-05-31 1983-05-31 Coin processor

Country Status (1)

Country Link
JP (1) JPS59221788A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6311189A (en) * 1986-07-02 1988-01-18 株式会社三共 Coin charging type game machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5717407U (en) * 1980-06-27 1982-01-29

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5717407U (en) * 1980-06-27 1982-01-29

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6311189A (en) * 1986-07-02 1988-01-18 株式会社三共 Coin charging type game machine
JPH0757253B2 (en) * 1986-07-02 1995-06-21 株式会社三共 Amusement machine

Also Published As

Publication number Publication date
JPH0113154B2 (en) 1989-03-03

Similar Documents

Publication Publication Date Title
US5546446A (en) Public telephone system using a prepaid card to enable communication
US5896446A (en) Coin operated telephone auditor
JPS59231966A (en) Processing control system of public telephone set
US20040008023A1 (en) Real-time charging electronic watthour meter
US4564904A (en) Electronic cash register
US4599492A (en) Coin-telephone auditor
JPS59221788A (en) Coin processor
JPS59226990A (en) Coin processor
GB2091461A (en) Validating I.D. Code for Transaction Processing
GB2078466A (en) Micro-processor controlled coin-box telephone instruments
JPS59226991A (en) Coin processor
JPS59226988A (en) Coin processor
US6920972B2 (en) Coin fraud detection sensing system and method
JPH021095A (en) Controller for card with prepaid type memory
JP7443802B2 (en) Money handling device
JP4584380B2 (en) vending machine
JPS6217277B2 (en)
JPS594366Y2 (en) Vending machine with failure detection function
JPH0137901B2 (en)
JPS6121750Y2 (en)
JPH06266951A (en) Acounting timer
JP3879617B2 (en) Pachinko machine loan collection system
JP2021056855A (en) Currency processing system, currency processing device, currency processing method and program
JPH0137903B2 (en)
JPH0137900B2 (en)