JP5930464B2 - Coin processing equipment - Google Patents

Coin processing equipment Download PDF

Info

Publication number
JP5930464B2
JP5930464B2 JP2012216947A JP2012216947A JP5930464B2 JP 5930464 B2 JP5930464 B2 JP 5930464B2 JP 2012216947 A JP2012216947 A JP 2012216947A JP 2012216947 A JP2012216947 A JP 2012216947A JP 5930464 B2 JP5930464 B2 JP 5930464B2
Authority
JP
Japan
Prior art keywords
coin
coins
storage cylinder
stored
coil
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.)
Active
Application number
JP2012216947A
Other languages
Japanese (ja)
Other versions
JP2014071643A (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.)
Nippon Conlux Co Ltd
Original Assignee
Nippon Conlux Co 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 Nippon Conlux Co Ltd filed Critical Nippon Conlux Co Ltd
Priority to JP2012216947A priority Critical patent/JP5930464B2/en
Publication of JP2014071643A publication Critical patent/JP2014071643A/en
Application granted granted Critical
Publication of JP5930464B2 publication Critical patent/JP5930464B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、硬貨を積層状に整列収納する硬貨収納筒内を備えた硬貨処理装置に関し、特に硬貨収納筒内の硬貨枚数を正確に取得する技術に関する。   The present invention relates to a coin processing apparatus including a coin storage cylinder that stores coins in a stacked manner, and particularly relates to a technique for accurately acquiring the number of coins in a coin storage cylinder.

従来、自動販売機や両替機、バス等に搭載される運賃箱等には、硬貨払出装置が搭載されている。この硬貨払出装置は、硬貨収納筒の上部から硬貨を受け入れて積載して収容し、硬貨収納筒の下方に設けられた硬貨払出機構によって硬貨を払い出すものである。
また、例えば自動販売機には、硬貨識別手段と、硬貨を金種別に振り分ける手段と、硬貨払出装置が一体的に構成された硬貨処理装置が搭載されている。この硬貨処理装置は、金種別に硬貨を収容するために複数の硬貨収納筒を備えている。
Conventionally, a coin dispenser is mounted on a fare box or the like mounted on a vending machine, a change machine, a bus or the like. This coin dispensing device accepts coins from the upper part of a coin storage cylinder, loads and stores them, and dispenses coins by a coin dispensing mechanism provided below the coin storage cylinder.
In addition, for example, a vending machine is equipped with a coin processing device in which a coin identifying unit, a unit for sorting coins into denominations, and a coin dispensing device are integrated. This coin processing apparatus includes a plurality of coin storage cylinders for storing coins by denomination.

硬貨収納筒には釣銭として必要な最低限の枚数が硬貨収納筒の中にあることを検出するための硬貨検知センサ(エンプティーセンサ)と硬貨収納筒が満杯であることを検出するための硬貨検知センサ(満杯検知センサ)を備えており、エンプティーセンサが配置された位置の枚数以上の硬貨の有無と、満杯枚数の硬貨の有無を検出できる。例えば、100円の硬貨収納筒の場合にはエンプティーセンサは、最低10枚以上の硬貨があることを検知できる。また満杯検知センサは、満杯(80枚)が検知できるようになっている。   A coin detection sensor (empty sensor) for detecting that the coin storage cylinder has a minimum number of coins necessary for change in the coin storage cylinder and a coin detection for detecting that the coin storage cylinder is full. A sensor (full detection sensor) is provided, and the presence / absence of coins equal to or greater than the number of coins at the position where the empty sensor is disposed and the presence / absence of full coins can be detected. For example, in the case of a coin storage cylinder of 100 yen, the empty sensor can detect that there are at least 10 coins. The full detection sensor can detect full (80 sheets).

また、特許文献1(特開2010−218243)は、硬貨類計数器において、硬貨類収納筒内の硬貨の枚数を検出する技術を示している。この硬貨類計数器は、硬貨類を整列して重ねて収納する硬貨収納筒を傾けて配置するとともに、該硬貨類が重なる方向で硬貨収納筒全体を囲むようにコイル(硬貨検知センサ)を配置した構成とし、コイル両端の電圧が硬貨の数量に依存することを利用して上記電圧から硬貨枚数を計数するものである。   Moreover, patent document 1 (Unexamined-Japanese-Patent No. 2010-218243) has shown the technique which detects the number of coins in a coin storage cylinder in a coin counter. This coin counter is arranged by tilting a coin storage cylinder for storing coins in an aligned manner, and arranging a coil (coin detection sensor) so as to surround the entire coin storage cylinder in the direction in which the coins overlap. The number of coins is counted from the voltage using the fact that the voltage across the coil depends on the number of coins.

また、特許文献2(特開2011−175307)は、プリント基板の片面に硬貨収納筒に沿う1つの平面コイル(硬貨検知センサ)を配設した技術を示している。これは、垂直に配置した硬貨収納筒に沿うように、平面コイルを配置して、コイルの周波数が硬貨の数量に依存することを利用して周波数の変化から硬貨枚数を計数するものである。   Moreover, patent document 2 (Unexamined-Japanese-Patent No. 2011-175307) has shown the technique which has arrange | positioned one plane coil (coin detection sensor) along a coin storage cylinder on the single side | surface of a printed circuit board. In this method, a planar coil is arranged along a vertically arranged coin storage cylinder, and the number of coins is counted from a change in frequency using the fact that the frequency of the coil depends on the number of coins.

特開2010−218243号公報JP 2010-218243 A 特開2011−175307号公報JP 2011-175307 A

しかし、従来の硬貨処理装置に搭載されたエンプティーセンサは、金属を検出する磁気センサであって、この磁気センサは導線を巻回したコイルからなり、特性にバラツキを生じ、検出可能な整列積み硬貨に対しては、その枚数として±3枚程度の誤差を生じる。このため、上記最低10枚以上の硬貨が有るか否かを確認するために、13枚硬貨を収容する位置にエンプティーセンサを配置している。このため、本当は16枚収容されていても1硬貨収容枚数は10枚と検出される場合が発生する。
このような誤差から硬貨収納筒に10枚の硬貨があっても、エンプティーセンサが検出しない場合、自動販売機は釣銭が払えない状態が発生して、販売チャンスを逃す恐れがある。
However, the empty sensor mounted on the conventional coin processing apparatus is a magnetic sensor for detecting metal, and this magnetic sensor is composed of a coil wound with a conductive wire, which causes variations in characteristics and is capable of detecting aligned stacked coins. Therefore, an error of about ± 3 is generated as the number of sheets. For this reason, in order to check whether or not there are at least 10 coins, an empty sensor is arranged at a position for receiving 13 coins. For this reason, even if 16 sheets are actually stored, the case where the number of stored coins is detected as 10 may occur.
Due to such errors, even if there are 10 coins in the coin storage cylinder, if the empty sensor does not detect it, the vending machine may not be able to pay change, and there is a risk of missing a sales opportunity.

従って、硬貨処理装置は、より正確に硬貨収納筒内に収容された硬貨枚数を管理(把握)することが望まれている。
また現状は、最低限釣銭として必要な硬貨枚数が検出できるようにエンプティーセンサを配置しているが、より正確に硬貨収容枚数を検出するためのセンサで硬貨収納筒全体の収容枚数を検出したいという要望がある。
Therefore, it is desired that the coin processing device manages (obtains) the number of coins stored in the coin storage cylinder more accurately.
Also, at present, the empty sensor is arranged so that the minimum number of coins necessary for change can be detected, but the sensor for detecting the number of coins stored more accurately is to detect the total number of coins stored in the cylinder. There is a request.

また、特許文献1には、硬貨収納筒全体の収容枚数を検出可能とする技術が開示されている。
しかし、特許文献1や特許文献2に開示された従来技術によると、硬貨検知センサの出力は、硬貨収納筒に収容された硬貨の枚数ばかりでなく、硬貨収納筒内の硬貨とセンサとの距離によっても変化するため、硬貨収納筒に収容された硬貨と硬貨検知センサとの距離が一定にならないと測定精度は低下する。
Japanese Patent Application Laid-Open No. H10-228561 discloses a technique that makes it possible to detect the number of sheets stored in the entire coin storage cylinder.
However, according to the prior art disclosed in Patent Document 1 and Patent Document 2, the output of the coin detection sensor is not only the number of coins stored in the coin storage cylinder, but also the distance between the coins in the coin storage cylinder and the sensor. Therefore, if the distance between the coin stored in the coin storage cylinder and the coin detection sensor is not constant, the measurement accuracy is lowered.

このため、特許文献1に開示されているような硬貨収納筒が斜めに配置された構成の硬貨計数器であれば、硬貨が筒の側壁に沿うように積載収容され、硬貨と硬貨検知センサとの距離が常に一定となるから高精度に硬貨収容枚数が測定できる。しかし、硬貨収納筒が垂直に配置されている硬貨処理装置の場合、硬貨収納筒の中に収容された硬貨と硬貨検知センサとの距離が一定にならないために測定誤差が発生する。   For this reason, if it is a coin counter of the structure by which the coin storage cylinder currently disclosed by patent document 1 is arrange | positioned diagonally, a coin will be loaded and accommodated along the side wall of a cylinder, a coin, a coin detection sensor, Since the distance is always constant, the number of coins can be measured with high accuracy. However, in the case of a coin processing device in which the coin storage cylinder is arranged vertically, a measurement error occurs because the distance between the coin stored in the coin storage cylinder and the coin detection sensor is not constant.

本発明は、上記の問題に鑑み、硬貨収納筒内の硬貨枚数をより正確に取得することができる硬貨処理装置を提供することを目的とする。   An object of this invention is to provide the coin processing apparatus which can acquire more correctly the number of coins in a coin storage cylinder in view of said problem.

課題を解決するための請求項1記載の発明は、硬貨が収納される硬貨収納筒と、
前記硬貨収納筒の近傍に置かれる基板上に硬貨積層方向に並列して設けた複数の平面コイルに対して個々に発振信号を与えて、各前記平面コイルから発生する発振周波数に基づく情報を出力する硬貨検知センサと、予め前記硬貨検知センサの出力と前記硬貨収納筒に収容された硬貨枚数との関係を示したデータテーブルを記憶し、また前記硬貨収納筒内の前記硬貨枚数を記憶する記憶部と、前記硬貨検知センサの出力に基づいて前記硬貨収納筒への前記硬貨の受入と払出しを検知するとともに、前記硬貨収納筒に収容された前記硬貨枚数を決定する制御部を備え、前記制御部は、当該硬貨処理装置に電源投入されたとき、または前記硬貨収納筒が装着されたとき、前記硬貨検知センサの出力と前記データテーブルとを照合して第1の硬貨枚数決定し、該第1の硬貨枚数を前記硬貨収納筒内の前記硬貨枚数として前記記憶部に記憶し、その後、前記硬貨の受入れまたは払出しを前記硬貨検知センサの出力の変化によって検出した時には、前記記憶部に記憶された前記硬貨枚数を増減して第2の硬貨枚数を算出し、該第2の硬貨枚数を前記硬貨収納筒内の前記硬貨枚数として記憶すると共に、前記硬貨検知センサによる前記硬貨枚数の判断結果を誤差ゼロ枚と判断できる枚数を、所定枚数として設定し、前記硬貨の受入れまたは払出しを検出した後の前記硬貨検知センサの出力と前記データテーブルとを照合して第3の硬貨枚数を決定し、該第3の硬貨枚数が前記所定枚数であると判断された場合、前記記憶部に記憶していた前記第2の硬貨枚数を、該第3の硬貨枚数へと補正する、ことを特徴とする硬貨処理装置である。
The invention according to claim 1 for solving the problem includes a coin storage cylinder in which a coin is stored;
An oscillation signal is individually given to a plurality of planar coils provided in parallel in the coin stacking direction on a substrate placed in the vicinity of the coin storage cylinder, and information based on the oscillation frequency generated from each of the planar coils is output. coins and detection sensor, stores in advance the coin detection data table showing the relationship between the output and the coin count to the stored in the coin storage cylinder sensors, also storage for storing the coins number of the coin storing cylinder for and parts, as well as detecting the payout and Re acceptance of the coins to the coin storage cylinder on the basis of the output of the coin detection sensors, a control unit for determining the coin number accommodated in the coin storing cylinder, the control unit, when it is powered on to the coin processing device, or when the coin storage cylinder is mounted, the first coin sheet by collating the said output of the coin detection sensors data table Determines, coins the number of the first stored in the storage unit as the coin number of the coin storing cylinder, then the receiving or dispensing of the coin when it detects a change in the output of the coin detection sensors, second calculating a coin count by increasing or decreasing the coin number stored in the storage unit, stores the coins number of second as the coin number of the coin storing cylinder, the by the coin detection sensors The number of coins that can be determined to be zero error is set as a predetermined number, and the output of the coin detection sensor after the acceptance or withdrawal of the coin is detected is compared with the data table to determine a third number. determine the coin number, if the quantity of coins third is determined to the a predetermined number, the second coin number which has been stored in the storage unit, is corrected to the quantity of coins third It is the coin processing apparatus according to claim.

請求項2に記載の発明は、前記平面コイルは、前記基板の第1の面および第2の面に、硬貨検知領域が隣接する前記平面コイルと前記基板を介して部分的に重複する状態で、前記硬貨積層方向に並ぶように複数並列状に配設されることを特徴とする請求項1記載の硬貨処理装置である。 According to a second aspect of the present invention, the planar coil partially overlaps with the planar coil adjacent to the first surface and the second surface of the substrate via the substrate. the are arranged in parallel a plurality shape so as to be aligned in the coin stacking direction, it is the coin processing apparatus according to claim 1, wherein.

本発明によれば、硬貨収納筒内の硬貨枚数を検出するためのセンサ数を減らすことができ、さらに硬貨収納筒内の硬貨の枚数を正確に取得することができる硬貨処理装置および硬貨枚数検出方法を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the number of sensors for detecting the number of coins in a coin storage cylinder can be reduced, and also the coin processing apparatus and coin number detection which can acquire correctly the number of coins in a coin storage cylinder Can provide a method.

本発明の第1の実施形態に係る硬貨処理装置の電気的構成の一例を示すブロック図である。It is a block diagram which shows an example of the electrical constitution of the coin processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る硬貨処理装置の正面図とその構造の一例を示す断面図である。It is sectional drawing which shows the front view of a coin processing apparatus which concerns on the 1st Embodiment of this invention, and an example of the structure. 本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検知センサと硬貨収納筒を示す図であり、(a)は硬貨収納筒側から見た概略斜視図、(b)は側方から見た断面図である。It is a figure which shows the coin detection sensor and coin storage cylinder with which the coin processing apparatus which concerns on the 1st Embodiment of this invention is equipped, (a) is a schematic perspective view seen from the coin storage cylinder side, (b) is from the side. FIG. 本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検知センサの他の構成と硬貨収納筒を示す図であり、(a)は硬貨収納筒側から見た概略斜視図、(b)は硬貨検知センサ側から見た概略斜視図、(c)は側方から見た断面図である。It is a figure which shows the other structure and coin storage cylinder with which the coin processing apparatus which concerns on the 1st Embodiment of this invention is provided, (a) is a schematic perspective view seen from the coin storage cylinder side, (b). Is a schematic perspective view seen from the coin detection sensor side, (c) is a cross-sectional view seen from the side. 本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検出センサの一例を示すブロック図である。It is a block diagram which shows an example of the coin detection sensor with which the coin processing apparatus which concerns on the 1st Embodiment of this invention is provided. 本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検出センサの出力と硬貨収納筒11に収容された硬貨枚数の関係の一例を示すグラフである。It is a graph which shows an example of the relationship between the output of the coin detection sensor with which the coin processing apparatus which concerns on the 1st Embodiment of this invention is equipped, and the number of coins accommodated in the coin storage cylinder. 本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検出センサのコイル出力に基づき求められたカウンタ値と硬貨収容枚数との関係の一例を示すデータテーブルである。It is a data table which shows an example of the relationship between the counter value calculated | required based on the coil output of the coin detection sensor with which the coin processing apparatus which concerns on the 1st Embodiment of this invention is equipped, and a coin accommodation number. 本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検出センサと硬貨収納筒を示す図であり、硬貨収納筒内で積載収容された硬貨と硬貨検出センサとの距離が一定でない状態であって、なおかつ、積載収容された一番上の硬貨が平面コイルC3の下端近傍に位置する状態を示す図である。It is a figure which shows the coin detection sensor with which the coin processing apparatus which concerns on the 1st Embodiment of this invention is equipped, and a coin storage cylinder, In the state where the distance of the coin loaded and accommodated in the coin storage cylinder and a coin detection sensor is not constant. Moreover, it is a figure which shows the state which the uppermost coin loaded and accommodated is located in the lower end vicinity of the planar coil C3. 本発明の第1の実施形態に係る硬貨処理装置の電源投入時または硬貨収容筒を装着時における硬貨枚数決定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the coin number determination process at the time of power-on of the coin processing apparatus which concerns on the 1st Embodiment of this invention, or a coin accommodation cylinder is mounted | worn. 本発明の第1の実施形態に係る硬貨処理装置の硬貨受入時および硬貨払出の検出処理の一例を示すフローチャートである。It is a flowchart which shows an example of the detection process at the time of coin acceptance of the coin processing apparatus which concerns on the 1st Embodiment of this invention, and coin payout. 本発明の第1の実施形態に係る硬貨処理装置の硬貨受入時および硬貨払出時における硬貨枚数の決定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the determination process of the number of coins at the time of coin acceptance of the coin processing apparatus which concerns on the 1st Embodiment of this invention, and coin payout. 本発明の第2の実施形態に係る硬貨処理装置の硬貨受入時および硬貨払出時における硬貨枚数の決定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the determination process of the number of coins at the time of the coin acceptance of the coin processing apparatus which concerns on the 2nd Embodiment of this invention, and a coin payout.

以下、本発明に係る好適な実施形態について、図面を参照しながら詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the drawings.

(第1の実施形態)
図1は、本発明の第1の実施形態に係る硬貨処理装置の電気的構成の一例を示すブロック図である。図2は、本発明の第1の実施形態に係る硬貨処理装置Kにおいて、装置本体に脱着可能な硬貨収納筒11を取り外した状態を示す正面図および硬貨処理装置Kの断面図を示している。
(First embodiment)
FIG. 1 is a block diagram showing an example of an electrical configuration of a coin processing device according to the first embodiment of the present invention. FIG. 2 shows a front view of the coin processing apparatus K according to the first embodiment of the present invention with the coin storage cylinder 11 detachable from the apparatus main body removed, and a cross-sectional view of the coin processing apparatus K. .

硬貨処理装置Kは、例えば、自動販売機の中に搭載される装置であって、硬貨払出装置37を備えている。硬貨処理装置Kは、図1および図2に示すように硬貨収納筒11に投下された硬貨の種類を識別する硬貨識別センサ31と、硬貨識別センサ31が識別した硬貨を振り分ける硬貨振分部32と、硬貨収納筒11に格納された硬貨枚数を検出するための硬貨検知センサ10と、硬貨収納筒11から硬貨を払い出す硬貨払出部33と、これら各部を制御する制御部34と、硬貨収納筒に収容された硬貨枚数38と硬貨検知センサ10の出力と照合して硬貨枚数を決定するためのデータテーブル39等を記憶する記憶領域をもつ記憶部36を有している。また、硬貨処理装置Kの制御部34は、図1に示すように、自動販売機の主制御部40と接続されており、各制御信号が双方向に通信される。   The coin processing device K is, for example, a device mounted in a vending machine, and includes a coin dispensing device 37. As shown in FIG. 1 and FIG. 2, the coin processing device K includes a coin identification sensor 31 that identifies the type of coin dropped in the coin storage cylinder 11, and a coin distribution unit 32 that distributes the coins identified by the coin identification sensor 31. A coin detection sensor 10 for detecting the number of coins stored in the coin storage cylinder 11, a coin dispensing unit 33 for dispensing coins from the coin storage cylinder 11, a control unit 34 for controlling these parts, and coin storage A storage unit 36 having a storage area for storing a data table 39 and the like for determining the number of coins by comparing the number 38 of coins stored in the cylinder with the output of the coin detection sensor 10 is provided. Moreover, the control part 34 of the coin processing apparatus K is connected with the main control part 40 of a vending machine, as shown in FIG. 1, and each control signal is communicated bidirectionally.

また図1および図2に示す硬貨処理装置Kは、硬貨収納筒11を5つ搭載し、各硬貨収納筒11に対応してそれぞれ硬貨検知センサ10が設けられている。また硬貨収納筒11の下方には硬貨払出部33が設けられている。このように構成された硬貨処理装置Kは硬貨投入口13から受け入れた硬貨を金種別に異なる硬貨収納筒11に振り分けて一枚ずつ硬貨収納筒11に収容する。また硬貨を硬貨収容筒11から払い出す際には、一つの硬貨収容筒11から1枚ずつ硬貨を払い出す。   Moreover, the coin processing apparatus K shown in FIG. 1 and FIG. 2 is equipped with five coin storage cylinders 11, and a coin detection sensor 10 is provided for each coin storage cylinder 11. A coin dispensing unit 33 is provided below the coin storage cylinder 11. The coin processing device K configured as described above distributes the coins received from the coin insertion slot 13 to the coin storage cylinders 11 of different denominations and stores them one by one in the coin storage cylinder 11. When coins are paid out from the coin storage cylinder 11, coins are paid out one by one from the coin storage cylinder 11.

制御部34は、硬貨検知センサ10の出力に基づいて、硬貨収納筒11に収容された硬貨枚数を検出する。また硬貨検知センサ10の出力に基づいて、硬貨収納筒11への硬貨の受入を検知するとともに、硬貨収納筒11からの硬貨の払出しを検知する。   The control unit 34 detects the number of coins stored in the coin storage cylinder 11 based on the output of the coin detection sensor 10. Further, based on the output of the coin detection sensor 10, the receipt of coins into the coin storage cylinder 11 is detected, and the dispensing of coins from the coin storage cylinder 11 is detected.

次に、第1の実施形態に係る硬貨処理装置Kが備える硬貨検知センサ10と硬貨収納筒11との関係を図3および図4を用いて詳細に説明する。
図3は、本発明の実施形態に係る硬貨処理装置Kに搭載される硬貨検知センサ10と硬貨収納筒11を示す図であり、(a)は硬貨収納筒側から見た概略斜視図、(b)は側方から見た断面図である。図4は、本発明の実施形態に係る他の硬貨検知センサ10の構成と硬貨収納筒11を示す図であり、(a)は硬貨収納筒側から見た概略斜視図、(b)は硬貨検知センサ側から見た概略斜視図、(c)は側方から見た断面図である。図2乃至図4に示すように硬貨検知センサ10は複数のコイルを備えており、これら複数のコイルは基板上に設けられている。
Next, the relationship between the coin detection sensor 10 and the coin storage cylinder 11 included in the coin processing device K according to the first embodiment will be described in detail with reference to FIGS. 3 and 4.
FIG. 3 is a view showing the coin detection sensor 10 and the coin storage cylinder 11 mounted on the coin processing device K according to the embodiment of the present invention, and (a) is a schematic perspective view seen from the coin storage cylinder side. b) is a sectional view seen from the side. FIG. 4 is a diagram showing the configuration of another coin detection sensor 10 and a coin storage cylinder 11 according to the embodiment of the present invention, where (a) is a schematic perspective view seen from the coin storage cylinder side, and (b) is a coin. The schematic perspective view seen from the detection sensor side, (c) is sectional drawing seen from the side. As shown in FIGS. 2 to 4, the coin detection sensor 10 includes a plurality of coils, and the plurality of coils are provided on the substrate.

図3、図4では、硬貨収納筒11の下部と、硬貨検知センサ10が備える複数のコイルCが設けられた基板12の下部が示されている。図3、図4に示す平面コイルC1〜C5が配設された基板12は、硬貨収納筒11の近傍に設置される。また、基板12の一方の面が、硬貨を積層状に整列収納する硬貨収納筒11の外周面と対向し、硬貨積層方向に沿うように配置して使用される。また、硬貨検知センサ10が備える複数の平面コイルC1〜C5は、図2乃至図4には図示しない発振回路と組み合せて硬貨収納筒10に収容された硬貨枚数を検出するものである。回路の詳細は後述する。   3 and 4, the lower part of the coin storage cylinder 11 and the lower part of the substrate 12 on which a plurality of coils C included in the coin detection sensor 10 are provided are shown. The substrate 12 on which the planar coils C <b> 1 to C <b> 5 shown in FIGS. 3 and 4 are disposed is installed in the vicinity of the coin storage cylinder 11. Further, one surface of the substrate 12 is used so as to face the outer peripheral surface of the coin storage cylinder 11 that aligns and stores coins in a stacked manner, and is arranged along the coin stacking direction. The plurality of planar coils C1 to C5 provided in the coin detection sensor 10 are for detecting the number of coins stored in the coin storage cylinder 10 in combination with an oscillation circuit (not shown in FIGS. 2 to 4). Details of the circuit will be described later.

図3に示す、平面コイルC1〜C5は、基板12の第1の面と第2の面にそれぞれ半分ずつ形成されたコイル状導体パターンを電気的に接続して1個の平面コイルを構成している。そして、基板12の第1の面および第2の面に、硬貨検知領域が隣接する平面コイルと部分的に重複する状態で硬貨積層方向に並ぶように複数並列状に配設されることが特徴である。
このように複数の平面コイルを複数並列状に配設すると、一つの平面コイルでは硬貨を検知出来ない領域を、重複して配置された平面コイルによってカバーすることになり、硬貨収納筒全体の硬貨枚数が検出可能になる。
The planar coils C1 to C5 shown in FIG. 3 constitute one planar coil by electrically connecting the coiled conductor patterns formed in half on the first surface and the second surface of the substrate 12, respectively. ing. A plurality of coin detection areas are arranged in parallel on the first surface and the second surface of the substrate 12 so that the coin detection regions are partially overlapped with the adjacent planar coil in the coin stacking direction. It is.
When a plurality of planar coils are arranged in parallel in this way, an area where coins cannot be detected by one planar coil will be covered by overlapping planar coils, and the coins in the entire coin storage cylinder The number of sheets can be detected.

また、図4は、本発明の第1の実施形態に係る硬貨処理装置Kが備える硬貨検知センサの他の構成を示す図であり、(a)は部分拡大正面図、(b)は部分拡大背面図、(c)は表側のパターンと裏側のパターンとの位置関係を示す説明図である。   Moreover, FIG. 4 is a figure which shows the other structure of the coin detection sensor with which the coin processing apparatus K which concerns on the 1st Embodiment of this invention is provided, (a) is a partial enlarged front view, (b) is a partial enlarged view. A rear view, (c) is an explanatory view showing the positional relationship between the front side pattern and the back side pattern.

図4に示す硬貨検知センサは、基板12の第1の面に、平面コイルC1、平面コイルC3、平面コイルC5が硬貨積層方向に並ぶように複数並列状に配設されており、基板12の第2の面(第1の面の裏面)に、平面コイルC2、平面コイルC4、平面コイルC6が硬貨積層方向に並ぶように複数並列状に配設されている。また、第1の面に並んだ複数の平面コイルと第2の面に並んだ複数の平面コイルが互い違いになるように並んでおり、第1の面に並んだ平面コイルと第2の面に並んだ平面コイルが、硬貨収納筒側から見て部分的に重なるように並んでいる。   The coin detection sensor shown in FIG. 4 is arranged in parallel on the first surface of the substrate 12 so that the planar coil C1, the planar coil C3, and the planar coil C5 are aligned in the coin stacking direction. On the second surface (the back surface of the first surface), a plurality of planar coils C2, planar coils C4, and planar coils C6 are arranged in parallel so as to be aligned in the coin stacking direction. In addition, a plurality of planar coils arranged on the first surface and a plurality of planar coils arranged on the second surface are arranged in a staggered manner, and the planar coils arranged on the first surface and the second surface are arranged on the second surface. The lined flat coils are lined up so as to partially overlap when viewed from the coin storage cylinder side.

すなわち、基板12の第1の面において平面コイルC1の半分(コイル状導体パターン)が形成される領域と、基板12の第2の面において別の平面コイルC2の半分が形成される領域とが基板の板厚方向に重なるようにしている。このようにすると、一つの平面コイルでは硬貨を検知出来ない領域を、重複して配置された平面コイルによってカバーすることになり、硬貨収納筒全体の硬貨枚数が検出可能になる。尚図3に示す硬貨検知センサ10と図4に示す硬貨検知センサ10は、コイルの構成は異なるが、硬貨検知センサの回路は同じものであって、後述する図5に示す構成である。   That is, there is a region where a half of the planar coil C1 (coiled conductor pattern) is formed on the first surface of the substrate 12 and a region where a half of another planar coil C2 is formed on the second surface of the substrate 12. It overlaps in the thickness direction of the substrate. If it does in this way, the area | region which cannot detect a coin with one plane coil will be covered with the plane coil arrange | positioned overlappingly, and the number of coins of the whole coin storage cylinder will be detectable. The coin detection sensor 10 shown in FIG. 3 and the coin detection sensor 10 shown in FIG. 4 have the same coil configuration, but the circuit of the coin detection sensor is the same as that shown in FIG.

図5は、本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検出センサの一例を示すブロック図である。硬貨検出センサ10は、複数のコイル(図5の例ではコイルC1〜C5)が設けられた基板12と、複数のコイルの内の一つを所定周波数で発振させるための発振回路25と、周波数カウンタ24を有している。また、複数のコイル(コイルC1〜C5)と発振回路25に接続され、硬貨処理装置Kの制御部34制御に基づいて一つのコイルを発振回路25と接続するアナログスイッチ21を有している。コイルC1〜C5の発振周波数は、周波数カウンタ24で検出されて、硬貨処理装置Kの制御部34へと供給される。   FIG. 5 is a block diagram illustrating an example of a coin detection sensor provided in the coin processing device according to the first embodiment of the present invention. The coin detection sensor 10 includes a substrate 12 provided with a plurality of coils (coils C1 to C5 in the example of FIG. 5), an oscillation circuit 25 for oscillating one of the plurality of coils at a predetermined frequency, and a frequency. A counter 24 is provided. Moreover, it has the analog switch 21 which is connected to the some coil (coils C1-C5) and the oscillation circuit 25, and connects one coil with the oscillation circuit 25 based on control part 34 control of the coin processing apparatus K. The oscillation frequencies of the coils C1 to C5 are detected by the frequency counter 24 and supplied to the control unit 34 of the coin processing device K.

ここで、発振回路25が、発振信号を供給して平面コイルCに交流磁界を発生させた時、該平面コイルCの近傍に硬貨が有る場合には、存在する硬貨の枚数が増えると発振周波数が高くなる方へ変化する。尚、平面コイルCに対して発生させる発振周波数は、平面コイルが発生させる磁界が、平面コイルに接近する硬貨(金属)に浸透しない周波数であって、平面センサと硬貨との距離や平面コイルに接する硬貨の面積に応じて周波数が変化する程度の周波数である。   Here, when the oscillation circuit 25 supplies an oscillation signal to generate an alternating magnetic field in the planar coil C, if there are coins in the vicinity of the planar coil C, the oscillation frequency increases as the number of existing coins increases. Changes toward higher. The oscillation frequency generated for the planar coil C is a frequency at which the magnetic field generated by the planar coil does not penetrate into the coin (metal) approaching the planar coil, and the distance between the planar sensor and the coin or the planar coil. The frequency is such that the frequency changes according to the area of the coins in contact.

図5においては、オペアンプ22からなるインバータとコンデンサと抵抗を組み合せた発振器25の帰還回路に平面コイルC1〜C5を接続して構成されている。その発振周波数は、硬貨の枚数に応じて変化する平面コイルCのインダクタンスに依存している。   In FIG. 5, planar coils C <b> 1 to C <b> 5 are connected to a feedback circuit of an oscillator 25 in which an inverter composed of an operational amplifier 22, a capacitor, and a resistor are combined. The oscillation frequency depends on the inductance of the planar coil C that changes according to the number of coins.

次に、このように構成された硬貨収納筒11に収容された硬貨と硬貨検知センサ10の出力との関係について図6、図8に基づいて説明する。図6は、本発明の第1の実施形態に係る硬貨処理装置が備える硬貨検出センサの出力と硬貨収納筒11に収容された硬貨枚数の関係の一例を示すグラフである。
図8は、本発明の第1の実施形態に係る硬貨検出センサ10と硬貨収納筒11を示す図であり、硬貨収納筒11内で積載収容された硬貨と硬貨検出センサ10との距離が一定でない状態であって、なおかつ、積載収容された一番上の硬貨が平面コイルC2aの下端近傍に位置する状態を示す図である。
Next, the relationship between the coins accommodated in the thus configured coin storage cylinder 11 and the output of the coin detection sensor 10 will be described with reference to FIGS. FIG. 6 is a graph showing an example of the relationship between the output of the coin detection sensor provided in the coin processing device according to the first embodiment of the present invention and the number of coins stored in the coin storage cylinder 11.
FIG. 8 is a view showing the coin detection sensor 10 and the coin storage cylinder 11 according to the first embodiment of the present invention, and the distance between the coin loaded and stored in the coin storage cylinder 11 and the coin detection sensor 10 is constant. It is a state which is not, Comprising: Moreover, it is a figure which shows the state which the top coin loaded and accommodated is located in the lower end vicinity of the planar coil C2a.

図8に示すように、硬貨収納筒の内径は、硬貨の直径よりも若干大きい。例えば10円硬貨を収容する硬貨収納筒の場合には、硬貨収納筒の内径は1mm程度10円硬貨の直径より大きい。このため硬貨収納筒と硬貨検知センサとの距離も0mm〜1mmの間でばらつく。
この時、硬貨検知センサ10に接近して硬貨が積層された場合のコイルのカウンタ値のほうが、硬貨検知センサ10から離れて硬貨が積層された場合のコイルのカウンタ値より高い値となる。
As shown in FIG. 8, the inner diameter of the coin storage cylinder is slightly larger than the diameter of the coin. For example, in the case of a coin storage cylinder that stores 10 yen coins, the inner diameter of the coin storage cylinder is about 1 mm larger than the diameter of the 10 yen coin. For this reason, the distance between the coin storage cylinder and the coin detection sensor also varies between 0 mm and 1 mm.
At this time, the coil counter value when coins are stacked close to the coin detection sensor 10 is higher than the coil counter value when coins are stacked away from the coin detection sensor 10.

図6は、最も硬貨検知センサ10に接近するように硬貨が積層して収容された場合のC1〜C3コイルのカウンタ値と、最も硬貨検知センサ10から離れるように硬貨が積層して収容された場合のC1〜C3コイルのカウンタ値のグラフである。   FIG. 6 shows the counter values of the C1 to C3 coils when coins are stacked and accommodated so as to be closest to the coin detection sensor 10, and the coins are stacked and accommodated so as to be farthest from the coin detection sensor 10. It is a graph of the counter value of C1-C3 coil in the case.

図6において、縦軸のカウンタ値は、硬貨収納筒11に硬貨が無い状態における平面コイルの発振周波数の値(周波数カウンタの値)と、硬貨収納筒11に収容された硬貨によって上昇する周波数の値(周波数カウンタの値)との差を求め、さらに所定の係数をかけ合わせて算出した値である。横軸は硬貨収納筒11に収容された硬貨の枚数を示している。   In FIG. 6, the counter value on the vertical axis indicates the value of the oscillation frequency of the planar coil (the value of the frequency counter) in the state where there is no coin in the coin storage cylinder 11 and the frequency that is increased by the coins stored in the coin storage cylinder 11. This is a value calculated by obtaining a difference from a value (frequency counter value) and multiplying by a predetermined coefficient. The horizontal axis indicates the number of coins stored in the coin storage cylinder 11.

尚、このカウンタ値は、後述する図7に示すデータテーブルを参照して硬貨収容枚数を求める際に用いる値である。   This counter value is a value used when obtaining the number of coins to be stored with reference to a data table shown in FIG.

図6のグラフにおいて、値C1Aは、硬貨収納筒11の中の硬貨が、最も硬貨検知センサ10に接近して積層された場合のC1コイルのカウンタ値を示している。また、値C1Bは、硬貨収納筒11の中の硬貨が、最も硬貨検知センサ10から離れて積層された場合のC1コイルのカウンタ値を示している。
同様に、値C2Aは、硬貨収納筒11の中の硬貨が、最も硬貨検知センサ10に接近して積層された場合のC2コイルのカウンタ値を示している。また、値C2Bは、硬貨収納筒11の中の硬貨が、最も硬貨検知センサ10から離れて積層された場合のC2コイルのカウンタ値を示している。
同様に、値C3Aは、硬貨収納筒11の中の硬貨が、最も硬貨検知センサ10に接近して積層された場合のC3コイルのカウンタ値を示している。また、値C3Bは、硬貨収納筒11の中の硬貨が、最も硬貨検知センサ10から離れて積層された場合のC3コイルのカウンタ値を示している。
In the graph of FIG. 6, the value C <b> 1 </ b> A indicates the counter value of the C <b> 1 coil when the coins in the coin storage cylinder 11 are stacked closest to the coin detection sensor 10. The value C1B indicates the counter value of the C1 coil when the coins in the coin storage cylinder 11 are stacked farthest from the coin detection sensor 10.
Similarly, the value C2A indicates the counter value of the C2 coil when the coins in the coin storage cylinder 11 are stacked closest to the coin detection sensor 10. The value C2B indicates the counter value of the C2 coil when the coins in the coin storage cylinder 11 are stacked farthest from the coin detection sensor 10.
Similarly, the value C3A indicates the counter value of the C3 coil when the coins in the coin storage cylinder 11 are stacked closest to the coin detection sensor 10. The value C3B indicates the counter value of the C3 coil when the coins in the coin storage cylinder 11 are stacked most apart from the coin detection sensor 10.

図7は、第1の実施形態に係る硬貨処理装置Kの硬貨検出センサ10のコイル出力に基づくカウンタ値と硬貨収納筒11に収容された硬貨枚数との関係を示すデータテーブルであって図1に示すデータテーブル39である。   FIG. 7 is a data table showing the relationship between the counter value based on the coil output of the coin detection sensor 10 of the coin processing device K according to the first embodiment and the number of coins stored in the coin storage cylinder 11. The data table 39 shown in FIG.

このような構成をもった第1の実施形態に係る硬貨処理装置Kにおいて、制御部34は、硬貨検知センサ10が有する複数のコイルのうち任意の一つのコイルを選択して発振させ、硬貨検知センサ10の出力を取得してカウンタ値を算出し、算出したカウンタ値と図7に示すデータテーブルとを照合することで、硬貨収容筒11に収容された硬貨枚数を決定することが出来る。   In the coin processing apparatus K according to the first embodiment having such a configuration, the control unit 34 selects and oscillates any one of the plurality of coils included in the coin detection sensor 10 to detect the coin. The counter value is calculated by obtaining the output of the sensor 10, and the number of coins stored in the coin storage cylinder 11 can be determined by comparing the calculated counter value with the data table shown in FIG.

しかし、図6、図7に示すように、硬貨検知センサ10の出力に基づいて硬貨枚数を決定しようとした場合、収容された硬貨と硬貨検知センサ10と距離がばらつくためにカウンタ値にもはばらつきが発生し、同じ枚数の硬貨が硬貨収納筒11に収容されている場合であっても、硬貨枚数によっては、誤差が生じる。一方で、硬貨枚数が0枚、6枚、13枚のように所定枚数においてはカウンタ値のばらつきが小さく、誤差の無い正確な硬貨枚数が検知出来る。このように硬貨枚数によって誤差が発生する枚数と、誤差が発生しない枚数がある。   However, as shown in FIGS. 6 and 7, when trying to determine the number of coins based on the output of the coin detection sensor 10, the distance between the accommodated coins and the coin detection sensor 10 varies, so the counter value is also different. Even when variations occur and the same number of coins are stored in the coin storage cylinder 11, an error occurs depending on the number of coins. On the other hand, when the number of coins is 0, 6, or 13, the counter value varies little and a correct number of coins without error can be detected. As described above, there are a number where an error occurs depending on the number of coins and a number where no error occurs.

具体的に説明すると、図6および図7において、例えば、コイルC1において、周波数カウンタ24の出力から求めたカウンタ値が“100”だった場合、枚数は、2枚の場合と3枚の場合がある。ここでは、1枚の誤差が存在していることがわかる。   Specifically, in FIGS. 6 and 7, for example, in the coil C1, when the counter value obtained from the output of the frequency counter 24 is “100”, the number of sheets may be two or three. is there. Here, it can be seen that one error exists.

これは、図6に示すように、硬貨収納筒11に収容された硬貨がどのように配置されるかによって、カウンタ値が一定の範囲をもって分布することに由来する。つまり、コイルC1のカウンタ値は、硬貨収納筒11の中に硬貨が最も接近して積層された場合は、値C1Aのような軌跡となり、硬貨収納筒11の中に硬貨が最も離反して積層された場合は、値C1Bのような軌跡となる。同様に、コイルC2においても、値C2A、値C2Bのような軌跡であり、コイルC3においても、値C3A、値C3Bのような軌跡となる。このように、カウンタ値によって枚数を判断しようとしても誤差を含んでしまう場合がある。   This is because the counter values are distributed with a certain range depending on how the coins stored in the coin storage cylinder 11 are arranged as shown in FIG. That is, the counter value of the coil C1 becomes a locus like the value C1A when the coins are stacked closest to each other in the coin storage cylinder 11, and the coins are most separated in the coin storage cylinder 11 and stacked. If it is, the locus becomes a value C1B. Similarly, the coil C2 has trajectories such as values C2A and C2B, and the coil C3 has trajectories such as values C3A and C3B. As described above, there is a case where an error is included even if the number of sheets is determined by the counter value.

一方、コイルC1において、周波数カウンタ24の出力から求めたカウンタ出力値が“0〜5”だった場合、枚数は0枚の場合に特定される。ここでは、硬貨の枚数の誤差がゼロ枚である。   On the other hand, when the counter output value obtained from the output of the frequency counter 24 is “0 to 5” in the coil C1, the number of sheets is specified when the number is zero. Here, the error in the number of coins is zero.

同様に、コイルC2において、周波数カウンタ24の出力から求めたカウンタ値が“20〜25”だった場合、枚数は6枚の場合に特定される。すなわち、硬貨の枚数の誤差がゼロ枚である。同様に、コイルC3において、周波数カウンタ24の出力から求めたカウンタ値が“20〜25”だった場合、枚数は13枚の場合に特定され、ここでも、硬貨の枚数の誤差がゼロ枚となる。
同様に、コイル4Cにおいて、周波数カウンタ24の出力から求めたカウンタ値が“20〜25”だった場合、枚数は20枚の場合に特定され、ここでも、硬貨の枚数の誤差がゼロ枚である。
Similarly, in the coil C2, when the counter value obtained from the output of the frequency counter 24 is “20 to 25”, the number is specified when the number is six. That is, the error in the number of coins is zero. Similarly, in the coil C3, when the counter value obtained from the output of the frequency counter 24 is “20 to 25”, the number of sheets is specified when the number is 13, and again, the error of the number of coins is zero. .
Similarly, in the coil 4C, when the counter value obtained from the output of the frequency counter 24 is “20 to 25”, the number of sheets is specified as 20 sheets, and here, the error in the number of coins is zero. .

従って、硬貨検知センサ10の硬貨枚数の判断結果が、所定枚数(一例として、0,6,13,……)の際は、この判断結果を誤差ゼロ枚と判断できる。この、硬貨検知センサ10の測定誤差が小さくなる枚数(所定枚数)は、積層収容された一番上の硬貨が平面センサの下端近傍に位置する時の硬貨の枚数である。   Therefore, when the coin number determination result of the coin detection sensor 10 is a predetermined number (for example, 0, 6, 13,...), The determination result can be determined as zero error. The number of sheets (predetermined number) with which the measurement error of the coin detection sensor 10 is small is the number of coins when the uppermost coin stored in the stack is positioned near the lower end of the flat sensor.

すなわち、図8の場合のように、硬貨の枚数が、積層する一番上の硬貨の上面が平面コイルC3の下端近傍であって、なおかつ平面コイルC3が配置された位置よりも低い位置(平面コイルC3と硬貨が重ならない位置)となる枚数(所定枚数)の時には検知する硬貨が平面コイルと重なる位置にある場合と比較して、硬貨と平面コイルとの距離の違いによるが発振周波数の変化への影響が小さくなる為、正確な硬貨枚数が検知できる。   That is, as in the case of FIG. 8, the number of coins is a position (planar surface) in which the upper surface of the uppermost coin to be stacked is near the lower end of the planar coil C3 and the planar coil C3 is disposed. Compared with the case where the coin to be detected is in a position overlapping the planar coil when the number of coils (predetermined number) is equal to the position where the coil C3 and the coin do not overlap, the change in the oscillation frequency depends on the difference in the distance between the coin and the planar coil. Because the influence on is small, the exact number of coins can be detected.

次に図9および図11のフローチャートを用いて、本発明の一実施形態に係る硬貨処理装置Kの硬貨枚数の決定処理の一例を詳細に説明する。   Next, an example of the coin number determination process of the coin processing apparatus K according to the embodiment of the present invention will be described in detail using the flowcharts of FIGS. 9 and 11.

本発明の第1の実施形態に係る硬貨処理装置Kは、電源投入時や硬貨収納筒11を装着した場合、前記硬貨検知センサ10の出力から算出したカウンタ値と前記データテーブル39とを照合して第一の硬貨枚数を決定し、この第一の硬貨枚数を前記硬貨収納筒11内の硬貨枚数として記憶部36に記憶する。   The coin processing device K according to the first embodiment of the present invention compares the counter value calculated from the output of the coin detection sensor 10 with the data table 39 when the power is turned on or when the coin storage cylinder 11 is attached. The first coin number is determined, and the first coin number is stored in the storage unit 36 as the number of coins in the coin storage cylinder 11.

また待機状態において、制御部34が所定のタイミング(定期的に)硬貨検知センサ10の各平面コイルを発信させることで、その出力のからカウンタ値を算出し、このカウンタ値の変化から硬貨収納筒11への硬貨の受入や硬貨収納筒11からの硬貨の払出しを検出する。   In the standby state, the control unit 34 transmits each planar coil of the coin detection sensor 10 at a predetermined timing (periodically), thereby calculating a counter value from the output, and from the change in the counter value, the coin storage cylinder. 11, the receipt of coins to coin 11 and the dispensing of coins from coin storage cylinder 11 are detected.

また、第1の実施形態に係る硬貨処理装置Kの制御部34は硬貨検知センサ10により硬貨の受入を検知した場合や、硬貨検知センサ10より硬貨の払出しを検知した場合には、その都度受入時には記憶部36に記憶された硬貨枚数に加算し、払い出し時には記憶部36に記憶された硬貨枚数を減算して、第2の硬貨枚数を算出し、記憶部36に記憶された硬貨枚数を第2の硬貨枚数に更新するとともに、硬貨検知センサ10の出力から算出したカウンタ値とデータテーブル39とを照合して、第3の硬貨枚数を求めて、この求めた第3の硬貨枚数が、誤差を含まない所定枚数(0枚、6枚、13枚等)であると判断した時は、記憶部36に記憶している第2の硬貨枚数を第3の硬貨枚数に補正するものである。   Further, the control unit 34 of the coin processing device K according to the first embodiment accepts each time when the coin detection sensor 10 detects the receipt of a coin or when the coin detection sensor 10 detects the dispensing of a coin. Sometimes it is added to the number of coins stored in the storage unit 36, and when paying out, the number of coins stored in the storage unit 36 is subtracted to calculate the second number of coins, and the number of coins stored in the storage unit 36 is The number of coins is updated to 2 and the counter value calculated from the output of the coin detection sensor 10 is compared with the data table 39 to obtain the third coin number. The obtained third coin number is an error. When it is determined that the number is a predetermined number (0 sheets, 6 sheets, 13 sheets, etc.) that does not include the second coin number, the second coin number stored in the storage unit 36 is corrected to the third coin number.

尚、図9乃至11図のフローでは、一つの硬貨収納筒11に対する硬貨枚数決定処理を示している。本発明の第1の実施形態に係る硬貨処理装置Kは、この硬貨枚数決定処理を、5本の硬貨収納筒に対してそれぞれ行なうものである。   In addition, the flow of FIG. 9 thru | or 11 has shown the coin number determination process with respect to one coin storage cylinder 11. FIG. The coin processing device K according to the first embodiment of the present invention performs this coin number determination process on each of five coin storage cylinders.

まず、電源投入時または硬貨収納筒装着時における、硬貨枚数の決定処理について図9を参照して説明する。   First, the coin number determination process when the power is turned on or when the coin storage cylinder is mounted will be described with reference to FIG.

第1の実施形態に係る硬貨処理装置Kの制御部34は、電源投入時または硬貨収容筒装着を検出すると、図9のフローチャートに示すように、初めに、基板12上の複数のコイルの内1番めのコイルを選択する(S01)。
尚、本フローにおいて、硬貨処理装置Kは、Z個の平面コイルを具えているものとする。また1番めのコイルとは、硬貨検知センサが備える複数の平面コイルのうち一番下のコイルであって、一番下のコイルから上方向に順番に番号が付与されているものとする。
また、貨処理装置Kは、電源が投入された時、あるいは硬貨収納筒装着が装着された時、記憶部36には硬貨収納筒11の硬貨枚数が記憶されていない状態である。また後述する誤差0枚フラグがクリアになっている。
When the control unit 34 of the coin processing device K according to the first embodiment detects power-on or coin-carrying cylinder mounting, first, among the plurality of coils on the substrate 12, as shown in the flowchart of FIG. The first coil is selected (S01).
In this flow, the coin processing device K is assumed to have Z plane coils. The first coil is the lowest coil among the plurality of planar coils included in the coin detection sensor, and is numbered in order from the lowest coil in the upward direction.
In addition, the coin processing device K is in a state in which the number of coins in the coin storage cylinder 11 is not stored in the storage unit 36 when the power is turned on or when the coin storage cylinder is attached. In addition, a zero error flag described later is cleared.

次にステップ02において、コイルの番号がZ番を超えているあるいは0番以下か否かを判断する。ここでコイルの番号がZ番を超えているあるいは0番以下と判断すると(S02でNO)、異常と認識し(S03)、処理を終了する。   Next, in step 02, it is determined whether or not the coil number exceeds Z number or is 0 or less. If it is determined that the coil number is greater than Z or less than 0 (NO in S02), it is recognized as abnormal (S03), and the process is terminated.

一方ステップ02において、コイル番号が1以上Z以下であれば(S02でYES)、アナログスイッチ21、23を制御して、選択したコイルに発振信号を供給し、コイルからの発振周波数を周波数カウンタ24で検出してカウンタ値を求める(S04)。   On the other hand, if the coil number is 1 or more and Z or less in step 02 (YES in S02), the analog switches 21 and 23 are controlled to supply an oscillation signal to the selected coil, and the oscillation frequency from the coil is set to the frequency counter 24. And a counter value is obtained (S04).

次に、制御部34は、このカウンタ値と図7で示すn番コイルのデータテーブルとを照合してカウンタ値が現在発振しているn番めのコイルに対応するデータテーブルの上限、下限の範囲に入っているか否かを判断する(S05)。ここでカウンタ値がデータテーブルの上限、下限の範囲に入っていないと判断すれば(S05でNO)、発振させるコイルを変更するべく、コイル番号をインクリメントする(S06)。すなわち、現在発振しているコイルよりも一つ上方のコイル番号となる。そしてステップ02に戻る。   Next, the control unit 34 collates this counter value with the data table of the nth coil shown in FIG. 7, and the upper and lower limits of the data table corresponding to the nth coil whose counter value is currently oscillating. It is determined whether it is within the range (S05). If it is determined that the counter value is not within the upper and lower limits of the data table (NO in S05), the coil number is incremented to change the coil to be oscillated (S06). That is, the coil number is one higher than the current oscillating coil. Then, the process returns to step 02.

ステップ05において、カウンタ値がデータテーブルの上限、下限の範囲に入っていると判断すると(S05でYES)、次に照合によって決定した第1の硬貨枚数が所定枚数(一例として0,6,13…)か否かを判断する(S07)。   If it is determined in step 05 that the counter value is within the upper and lower limits of the data table (YES in S05), then the first coin number determined by collation is a predetermined number (for example, 0, 6, 13). ...) is determined (S07).

ステップ07において、第1の硬貨枚数が所定枚数ではないと判断した場合(S07でNO)、硬貨枚数がデータテーブルの2つの枚数に一致するか否かを判断する(S08)。   If it is determined in step 07 that the first coin number is not the predetermined number (NO in S07), it is determined whether or not the coin number matches the two numbers in the data table (S08).

ステップ08において、求めた硬貨枚数がデータテーブルの2つの硬貨枚数に該当しないとき、すなわち硬貨枚数が1つの値と一致したと判断すると(例えば、コイルC1でパルスカウンタ180の場合の枚数4枚)(S08でNO)、この枚数を硬貨収容筒11に収容された硬貨枚数として記憶部36に記憶する(S09)。そして、最後に発振したコイルの番号と算出カウンタ値を記憶して(S13)、処理を終了し、硬貨の受入や払出しの処理を待つ待機状態となる。   In step 08, when the determined number of coins does not correspond to two coin numbers in the data table, that is, when it is determined that the number of coins coincides with one value (for example, four in the case of the pulse counter 180 with the coil C1). (NO in S08), this number is stored in the storage unit 36 as the number of coins stored in the coin storage cylinder 11 (S09). Then, the number of the last oscillated coil and the calculated counter value are stored (S13), the process is terminated, and a waiting state is awaited for the coin accepting and dispensing processes.

ステップ07において、制御部34が、第1の硬貨枚数が所定枚数(一例として0,6,13…)ではないと判断し(S07でNO)、さらに第1の硬貨枚数は、データテーブルの2つの枚数に一致したと判断すると(S08でYES)(例えば、コイルC1でパルスカウンタ150の場合の枚数3枚または4枚)、この枚数の内の少ない方の枚数、すなわち3枚を硬貨収容筒11に収容された硬貨枚数として記憶部36に記憶する(S10でYES)。そして、最後に発振したコイルの番号と算出したカウンタ値を記憶して(S13)、処理を終了し、硬貨の受入や払出しの処理を待つ待機状態となる。   In step 07, the control unit 34 determines that the first coin number is not a predetermined number (for example, 0, 6, 13,...) (NO in S07), and the first coin number is 2 in the data table. If it is determined that the number is equal to one (YES in S08) (for example, three or four in the case of the pulse counter 150 with the coil C1), the smaller one of these, that is, three is used as the coin storage cylinder. 11 is stored in the storage unit 36 as the number of coins accommodated in 11 (YES in S10). Then, the number of the last oscillated coil and the calculated counter value are stored (S13), the process is terminated, and a standby state is waited for the coin accepting or dispensing process.

ステップ07において、制御部34が、第1の硬貨枚数が所定枚数(一例として0,6,13…)と判断すると(S07でYES)、この硬貨の枚数に誤差は含まれていないと判断して、この枚数を硬貨収容筒11に収容された硬貨枚数として記憶部36に記憶する(S11)とともに制御部34は、誤差0枚フラグを立てる。すなわち、誤差0枚フラグ=1とする(S12)。そして、最後に発振したコイルの番号と求めたカウンタ値を記憶して(S13)、処理を終了し、硬貨の受入や払出しの処理を待つ待機状態となる。   When the controller 34 determines in step 07 that the first coin number is a predetermined number (for example, 0, 6, 13,...) (YES in S07), it is determined that the number of coins does not include an error. The number of coins stored in the coin storage cylinder 11 is stored in the storage unit 36 (S11), and the control unit 34 sets a zero error flag. That is, the error 0 sheet flag = 1 (S12). Then, the number of the last oscillated coil and the obtained counter value are stored (S13), the process is terminated, and a standby state is waited for a coin accepting or dispensing process.

次に、硬貨処理装置Kの待機状態における硬貨の受入検知と払出しの検知の処理について図10を参照して説明する。待機状態となった硬貨処理装置Kの制御部34は定期的に図10に示す硬貨の受入と払出しの検知処理を実行する。   Next, coin acceptance detection and payout detection processing in the standby state of the coin processing device K will be described with reference to FIG. The control unit 34 of the coin processing apparatus K in the standby state periodically executes the coin acceptance and payout detection processing shown in FIG.

まず、図10に示すように記憶部に記憶された番号のコイルを選択(初期値n=n1)する(S11)。このn1は、前回の硬貨枚数決定処理において最後に発振したコイルの番号である。たとえば前回の硬貨枚数決定処理が電源投入時であった場合には、図9のステップ13において記憶したコイル番号がn1となる。   First, as shown in FIG. 10, the coil having the number stored in the storage unit is selected (initial value n = n1) (S11). This n1 is the number of the last coil oscillated in the previous coin number determination process. For example, if the previous coin number determination process was when the power was turned on, the coil number stored in step 13 of FIG. 9 is n1.

次に、n1の平面コイルを発振させて、硬貨検知センサ10の出力を取得しカウンタ値を算出する(S12)。   Next, the planar coil of n1 is oscillated, the output of the coin detection sensor 10 is acquired, and the counter value is calculated (S12).

次に、求めたカウンタ値を記憶部に記憶されたカウンタ値と比較して、求めたカウンタ値が記憶部に記憶されたカウンタ値よりも大きいか判断する(S13)。ここで記憶されたカウンタ値とは、前回の硬貨枚数決定処理において最後に発振した際のカウンタ値である。(たとえば前回の硬貨枚数決定処理が電源投入時であった場合には、図9のステップ13において記憶したカウンタ値となる。)   Next, the obtained counter value is compared with the counter value stored in the storage unit to determine whether the obtained counter value is larger than the counter value stored in the storage unit (S13). The counter value stored here is the counter value at the time of the last oscillation in the previous coin number determination process. (For example, if the previous coin number determination process was when the power was turned on, the counter value stored in step 13 in FIG. 9 is used.)

図10のステップ13において、求めたカウンタ値が記憶部に記憶されたカウンタ値よりも大きい場合には(S13でYES)、制御部24は硬貨の受入があったと判断し、硬貨枚数決定処理(S15)を実行し終了する。尚、硬貨枚数決定処理の詳細については後述する。   In step 13 of FIG. 10, when the calculated counter value is larger than the counter value stored in the storage unit (YES in S13), the control unit 24 determines that a coin has been received, and determines the number of coins ( S15) is executed and the process ends. Details of the coin number determination process will be described later.

一方、図10のステップ13において、求めたカウンタ値が記憶部に記憶されたカウンタ値よりも大きくない場合には(S13でNO)、次に、求めたカウンタ値が記憶部に記憶されたカウンタ値よりも小さいか判断する(S14)。   On the other hand, if the obtained counter value is not larger than the counter value stored in the storage unit in step 13 of FIG. 10 (NO in S13), then the counter in which the obtained counter value is stored in the storage unit It is determined whether it is smaller than the value (S14).

ステップ14において、求めたカウンタ値が記憶部に記憶されたカウンタ値よりも小さい場合には(S14でYES)、制御部24は硬貨が払い出されたと判断し、硬貨枚数決定処理を実行(S15)し終了する。尚、硬貨枚数決定処理の詳細については後述する。   In step 14, when the obtained counter value is smaller than the counter value stored in the storage unit (YES in S14), the control unit 24 determines that the coin has been paid out, and executes the coin number determination process (S15). ) And finish. Details of the coin number determination process will be described later.

一方、ステップ14において、求めたカウンタ値が記憶部に記憶されたカウンタ値よりも小さくない場合(求めたカウンタ値が記憶部に記憶されたカウンタ値と比較して変化が無い場合)には(S14でNO)処理を終了して待機状態に戻る。待機状態に戻った硬貨処理装置Kは、定期的にこの図10の処理を繰り返えして硬貨収納筒への硬貨の受入と払出しの監視を続ける。   On the other hand, in step 14, when the obtained counter value is not smaller than the counter value stored in the storage unit (when the obtained counter value does not change compared with the counter value stored in the storage unit) ( The process is ended and the process returns to the standby state. The coin processing device K that has returned to the standby state periodically repeats the processing of FIG. 10 and continues to monitor the receipt and withdrawal of coins to and from the coin storage cylinder.

尚、カウンタ値は、硬貨収容筒11に対して硬貨の受入や払出しが無くても電気的なノイズによってカウンタ値が変化する可能性があることから、ステップ13やステップ14では、これを考慮して、例えばカウンタ値が10以上変化しない場合には、受入や払出しとは認識しないように閾値を設けることも出来る。   Note that the counter value may change due to electrical noise even if no coin is received or dispensed from the coin storage cylinder 11, and therefore, in step 13 and step 14, this is taken into consideration. Thus, for example, when the counter value does not change by 10 or more, a threshold value can be set so that it is not recognized as acceptance or payout.

次に、第1の実施形態に係る硬貨処理装置Kにおいて、硬貨の受入または硬貨の払出しを検知した際の、硬貨枚数決定の処理について図11を参照して詳細に説明する。   Next, in the coin processing device K according to the first embodiment, a process for determining the number of coins when coin acceptance or coin payout is detected will be described in detail with reference to FIG.

図11は、本発明の第1の実施形態に係る硬貨処理装置Kの、硬貨受入時および硬貨払出時の硬貨枚数の決定処理の一例を示すフローチャートであって、図10のS15の硬貨枚数決定処理を詳細に示すフローである。   FIG. 11 is a flowchart showing an example of the coin number determination process at the time of coin acceptance and coin payout by the coin processing apparatus K according to the first embodiment of the present invention, and the coin number determination at S15 in FIG. It is a flow which shows a process in detail.

図11の処理では、まず誤差0枚フラグ=1の有無を判断する(S21)。制誤差0枚フラグ=1があると判断すると(S21でYES)、記憶している硬貨枚数を検出結果に基づいて増減して第2の硬貨枚数を算出し、この第2の硬貨枚数を硬貨枚数として記憶部に記憶する(S33)。すなわち図10の待機状態における硬貨の受入と払出しの検出処理において硬貨の受入を検出した場合には、現在記憶している硬貨枚数は、受け入れた一枚を加算した値に更新される。また、硬貨の払出しを検出した場合には、現在記憶している硬貨枚数は、払い出した硬貨枚数一枚を減算した値に硬貨枚数を更新される。   In the process of FIG. 11, first, it is determined whether or not the zero error flag = 1 (S21). If it is determined that there is a zero control error flag = 1 (YES in S21), the number of stored coins is increased or decreased based on the detection result to calculate the second coin number, and the second coin number is calculated as a coin. The number is stored in the storage unit (S33). That is, when coin acceptance is detected in the coin acceptance and payout detection processing in the standby state of FIG. 10, the currently stored number of coins is updated to a value obtained by adding the accepted ones. In addition, when coin payout is detected, the number of coins currently stored is updated to a value obtained by subtracting one payout coin number.

次に、ステップ33において記憶した硬貨枚数とデータテーブルを照合して、記憶した硬貨枚数に該当するコイル番号を求め(S34)、求めたコイル番号と、現在のカウンタ値を記憶し(S35)、処理を終了して待機状態に戻る。   Next, the number of coins stored in step 33 is collated with the data table to obtain a coil number corresponding to the stored number of coins (S34), the obtained coil number and the current counter value are stored (S35), End the process and return to the standby state.

一方、制御部34がステップ21において、誤差0枚フラグ=1が無いと判断した場合(S22でNO)、記憶している硬貨枚数を、ステップ33と同様の処理にて検出結果に基づいて増減して第2の硬貨枚数を算出し記憶部に記憶された硬貨枚数を第2の硬貨枚数に更新する(S22)。   On the other hand, when the control unit 34 determines in step 21 that there is no zero error flag = 1 (NO in S22), the stored coin number is increased or decreased based on the detection result in the same process as in step 33. Then, the second coin number is calculated and the coin number stored in the storage unit is updated to the second coin number (S22).

つぎに、記憶されたカウンタ値(図10のS12で算出したカウンタ値)とn番めのコイル(図10のS11で発振したコイルの番号)のデータテーブルとを照合し、カウンタ値が現在発振しているn番めのコイルに対応するデータテーブルの上限、下限の範囲に入っているか否かを判断する(S23)。   Next, the stored counter value (counter value calculated in S12 in FIG. 10) is collated with the data table of the nth coil (coil number oscillated in S11 in FIG. 10), and the counter value is presently oscillated. It is determined whether or not the data table corresponding to the nth coil is within the upper and lower limits (S23).

ここで、算出したカウンタ値が現在発振しているn番めのコイルに対応するデータテーブルの上限、下限の範囲に入っている場合(S23でYES)、ステップ31に進み、求めたカウンタ値とデータテーブルとを照合し第3の硬貨枚数を決定する。そして、データテーブルに基づいて決定した第3の硬貨枚数が所定枚数(一例として0,6,13…)か否か判断する(S31)。   If the calculated counter value is within the upper and lower limits of the data table corresponding to the nth coil that is currently oscillating (YES in S23), the process proceeds to step 31 and the obtained counter value and The third coin number is determined by collating with the data table. Then, it is determined whether or not the third coin number determined based on the data table is a predetermined number (for example, 0, 6, 13,...) (S31).

ステップ31において、データテーブルに基づいて決定した第3の硬貨枚数が所定枚数(一例として0,6,13…)であると判断した場合(S31でYES)この決定した第3の硬貨枚数に誤差は含まれていないと判断して、記憶部36に記憶された第2の硬貨枚数を、データテーブルに基づいて決定した第3の硬貨枚数に補正して記憶する(S29)。そして、誤差0枚フラグを立てる、すなわち、誤差0枚フラグ=1とする(S30)。そしてステップ35に進んで、求めたコイル番号と、カウンタ値を記憶し(S35)、処理を終了して待機状態に戻る。   When it is determined in step 31 that the third coin number determined based on the data table is a predetermined number (for example, 0, 6, 13,...) (YES in S31), an error is detected in the determined third coin number. The second coin number stored in the storage unit 36 is corrected to the third coin number determined based on the data table and stored (S29). Then, a zero error flag is set, that is, a zero error flag = 1 is set (S30). Then, the process proceeds to step 35, where the obtained coil number and counter value are stored (S35), the process is terminated, and the process returns to the standby state.

一方、記憶されたカウンタ値が現在発振しているn番めのコイルに対応するデータテーブルの上限、下限の範囲に入っていない場合(S23でNO)、次に、図10のS14において払出を検知したものか否かを判断する(S24)。ここで払い出検知であると判断した場合(S24でYES)、異常とみなし(S32)、処理を終了する。   On the other hand, if the stored counter value is not within the upper and lower limits of the data table corresponding to the nth coil that is currently oscillating (NO in S23), the payout is then made in S14 of FIG. It is determined whether or not it has been detected (S24). If it is determined that the payout is detected (YES in S24), it is regarded as abnormal (S32), and the process is terminated.

尚、通常硬貨の払出しが行われて図11のフローを開始した場合には硬貨は一枚づつ払い出される為、ステップ23においてNOとなる場合は発生しない。なぜならコイル番号がデクリメント(n-1番)する一つ前の硬貨枚数は所定枚数の為、既に誤差0枚フラグがあるはずだからである。したがってステップS24においてYESの場合は異常と見做して処理を終了する。   Note that when the normal coins are paid out and the flow of FIG. 11 is started, the coins are paid out one by one. This is because the previous number of coins whose coil number is decremented (n-1) is a predetermined number, so there should already be a zero error flag. Therefore, in the case of YES in step S24, the process is terminated assuming that an abnormality has occurred.

一方、ステップ23で、データテーブルの上限、下限の範囲に入っていないと判断し(S23でNO)、さらに硬貨払出し検知ではないと判断すると(S24でNO)、コイル番号をインクリメントして次の番号のコイル(n+1番のコイル)を選択し(S25)、次に、コイル番号がZ番を超えている場合や、0以下と判断すると(S26でNO)、異常と見做し(S32)処理を終了する。しかし、そうでなければ(S26でYES)、アナログスイッチ21、23を制御して、選択したコイルに発振信号を供給し、コイルからの発振周波数を周波数カウンタ24で検出してカウンタ値を算出する(S27)。   On the other hand, if it is determined in step 23 that the data table is not within the upper limit or lower limit range (NO in S23), and if it is determined that it is not coin payout detection (NO in S24), the coil number is incremented to the next. Number coil (n + 1 coil) is selected (S25), and if the coil number exceeds Z number or is determined to be 0 or less (NO in S26), it is regarded as abnormal ( S32) The process ends. However, if not (YES in S26), the analog switches 21 and 23 are controlled to supply an oscillation signal to the selected coil, and the oscillation frequency from the coil is detected by the frequency counter 24 to calculate the counter value. (S27).

次に、ステップ27にて求めたカウンタ値と選択したコイル番号に該当するデータテーブルとを照合して第3の硬貨枚数を決定し、この第3の硬貨枚数が所定枚数(一例として0,6,13…)か否か判断する(S28)。   Next, the counter value obtained in step 27 is compared with the data table corresponding to the selected coil number to determine the third coin number, and the third coin number is a predetermined number (for example, 0, 6 , 13...) (S28).

ステップ28において決定した第3の硬貨枚数が所定枚数ではないと判断すると(S28でNO)、異常と見做し(S32)、処理を終了する。   If it is determined that the third number of coins determined in step 28 is not a predetermined number (NO in S28), it is regarded as abnormal (S32), and the process is terminated.

尚、通常、硬貨処理装置の硬貨投入口13から投入された硬貨は一枚ずつ硬貨収容筒に収容されるため、S24でNOとなりコイル番号を一つ増やした場合には、必ず所定枚数に一致するはずである。したがって、決定した第3の硬貨枚数が所定枚数ではないと判断すると異常と見做し処理を終了する。   Normally, since coins inserted from the coin insertion slot 13 of the coin processing device are stored one by one in the coin storage cylinder, NO in S24, and when the coil number is increased by one, it always matches the predetermined number. Should do. Therefore, when it is determined that the determined third coin number is not a predetermined number, the process is terminated as an abnormality.

一方、決定した第3の硬貨枚数が所定枚数であると判断すると(S28でYES)、この硬貨の枚数に誤差は含まれていないと判断して、記憶部36に記憶された第2の硬貨枚数を、第3の硬貨枚数に補正して記憶する(S29)。そして、誤差0枚フラグを立てる、すなわち、誤差0枚フラグ=1とし(S30)、求めたコイル番号と、カウンタ値を記憶し(S35)、処理を終了して待機状態に戻る。   On the other hand, if it is determined that the determined number of third coins is a predetermined number (YES in S28), it is determined that the number of coins does not include an error, and the second coins stored in the storage unit 36 are determined. The number is corrected to the third coin number and stored (S29). Then, a zero error flag is set, that is, the zero error flag = 1 is set (S30), the obtained coil number and the counter value are stored (S35), the process is terminated, and the process returns to the standby state.

このように、第1の実施形態に係る硬貨処理装置Kの制御部34は、電源投入時、あるいは硬貨収納部11を装着した時、硬貨検知センサ10により算出したカウンタ値とデータテーブルに基づいて第1の硬貨枚数を決定し、これを硬貨収納枚数として記憶部36に記憶する。また、硬貨収納筒11への硬貨の投入または硬貨収納筒11からの硬貨の払出しを、硬貨検知センサの出力によって検出すると、記憶部36に記憶されている硬貨枚数を硬貨検知センサの出力によって検知した受入あるいは払出しの検出結果に応じて増減して更新する(第2の硬貨枚数を硬貨枚数として記憶部に記憶する)と共に、硬貨検知センサ10により算出したカウンタ値とデータテーブルに基づいて第3の硬貨枚数を決定し、この第3の硬貨枚数が、所定枚数(一例として0,6,13…)の場合には、記憶部36に記憶されている枚数を第3の硬貨枚数に補正するものである。これにより、誤差のない硬貨枚数を検知することが可能となるものである。   As described above, the control unit 34 of the coin processing device K according to the first embodiment is based on the counter value calculated by the coin detection sensor 10 and the data table when the power is turned on or when the coin storage unit 11 is mounted. A first coin number is determined and stored in the storage unit 36 as a coin storage number. Further, when the insertion of coins into the coin storage cylinder 11 or the dispensing of coins from the coin storage cylinder 11 is detected by the output of the coin detection sensor, the number of coins stored in the storage unit 36 is detected by the output of the coin detection sensor. In accordance with the detection result of the accepted or paid out, the number is updated and updated (the second coin number is stored in the storage unit as the number of coins), and the third value is calculated based on the counter value calculated by the coin detection sensor 10 and the data table. If the third coin number is a predetermined number (for example, 0, 6, 13,...), The number stored in the storage unit 36 is corrected to the third coin number. Is. Thereby, it becomes possible to detect the number of coins without error.

(第2実施形態)
次に、図12のフローチャートを用いて、本発明の第2の実施形態に係る硬貨処理装置Kの硬貨枚数決定処理の一例を詳細に説明する。
(Second Embodiment)
Next, an example of the coin number determination process of the coin processing device K according to the second embodiment of the present invention will be described in detail using the flowchart of FIG.

本発明の第2の実施形態は、最初に硬貨検知センサ10により硬貨の枚数を検知して、データテーブルとカウンタ値を照合して第1の硬貨枚数を決定する処理を行い、硬貨の受入や払出しを検知した際には、データテーブルとカウンタ値を照合して第3の硬貨枚数を決定し、次に所定枚数(一例として0枚、6枚、13枚等)か否かを判別し、所定枚数を検知した以降は、硬貨検知センサによる硬貨の受入検知と払出し検知に基づいて硬貨枚数を加算減算して第2の硬貨枚数を算出し、この第2の硬貨枚数を記憶部に記憶するものである。   In the second embodiment of the present invention, first, the coin detection sensor 10 detects the number of coins, performs a process of determining the first number of coins by collating a data table with a counter value, When the payout is detected, the third coin number is determined by comparing the counter value with the data table, and then it is determined whether or not it is a predetermined number (for example, 0, 6, 13, etc.) After detecting the predetermined number, the second coin number is calculated by adding and subtracting the number of coins based on the coin acceptance detection and the coin-out detection by the coin detection sensor, and the second coin number is stored in the storage unit. Is.

本発明の第2の実施形態は、硬貨検知セン10および硬貨検知センサ10を備えた硬貨処理装置Kの構成は第1の実施形態と同じものである。また、第2の実施形態において、硬貨処理装置Kが、電源投入または硬貨収納筒11の装着を検出した際の処理は、第1の実施形態と同様の処理(図9と同様の処理)である。
また待機状態における硬貨の受入検知と硬貨の払出し検知の処理は第1の実施形態と同様の処理(図10と同様の処理)である。第2の実施形態では、図12のフローチャートに示す硬貨の投入時および払い出し時の硬貨枚数決定処理が第1の実施形態と異なる。
In the second embodiment of the present invention, the configuration of the coin processing device K provided with the coin detection sensor 10 and the coin detection sensor 10 is the same as that of the first embodiment. In the second embodiment, the process when the coin processing device K detects power-on or the coin storage cylinder 11 is mounted is the same process as the first embodiment (the same process as in FIG. 9). is there.
Also, the coin acceptance detection and coin payout detection processing in the standby state is the same processing as in the first embodiment (the same processing as in FIG. 10). In the second embodiment, the coin number determination process at the time of coin insertion and payment shown in the flowchart of FIG. 12 is different from that of the first embodiment.

図12において、第2実施形態に係る硬貨処理装置Kの制御部34は、硬貨検知センサ10が硬貨収納筒11に硬貨が投入されたことを検出するか、硬貨収納筒11から硬貨が排出されたことを検出するとまず、誤差0枚フラグ=1かどうかを判断する(S31)。   In FIG. 12, the control unit 34 of the coin processing device K according to the second embodiment detects that the coin detection sensor 10 has inserted a coin into the coin storage cylinder 11, or the coin is discharged from the coin storage cylinder 11. First, it is determined whether or not the zero error flag = 1 (S31).

誤差0枚フラグ=1であると判断すると(S31でYES)、記憶している枚数を検出結果に合わせて増減して記憶する(第2の硬貨枚数を算出して、第2の硬貨枚数を硬貨枚数として記憶部に記憶する)(S41)。すなわち硬貨の受入を検出した場合には、現在記憶している硬貨枚数に対して受け入れた一枚を加算した値に更新する。また、硬貨の払出しを検出した場合には、現在記憶している硬貨枚数に対して払い出した硬貨枚数一枚を減算した値に更新する。   If it is determined that the error 0 flag = 1 (YES in S31), the stored number is increased or decreased according to the detection result (the second coin number is calculated and the second coin number is calculated). (Stored in the storage unit as the number of coins) (S41). That is, when the acceptance of a coin is detected, the value is updated to a value obtained by adding the accepted one to the currently stored number of coins. In addition, when the payout of coins is detected, the value is updated to a value obtained by subtracting one payout coin number from the currently stored number of coins.

次に、記憶部に記憶された硬貨枚数と、データテーブルとを照合して該当するコイル番号n1を求め(S42)、次に、求めたコイル番号n1と、カウンタの値を記憶し(S44)、処理を終了して待機状態に戻る。   Next, the number of coins stored in the storage unit is compared with the data table to obtain the corresponding coil number n1 (S42), and then the obtained coil number n1 and the counter value are stored (S44). , The process is terminated and the process returns to the standby state.

一方、制御部34は、誤差0枚フラグ=1ではないと判断した場合(S31でNO)、求めたカウンタ値(図13のS12で求めたカウンタ値)と、図7で示すn番コイル(図13のS11で発振したコイル)に対応するデータテーブルとを照合して、カウント値がデータテーブルの上限、下限の範囲に入っているか否かを判断する(S32)。   On the other hand, when the control unit 34 determines that the error zero sheet flag is not 1 (NO in S31), the obtained counter value (the counter value obtained in S12 of FIG. 13) and the n-th coil ( The data table corresponding to the coil oscillated in S11 of FIG. 13 is collated, and it is determined whether or not the count value is within the upper and lower limits of the data table (S32).

ステップ32において、カウンタ値が現在発振しているn番めのコイルのデータテーブルの上限、下限の範囲に入っていると判断した場合、カウンタ値とデータテーブルとの照合より第3の硬貨枚数を決定し、決定した第3の硬貨枚数が所定枚数(一例として0,6,13…)か否かを判断する(S38)。   If it is determined in step 32 that the counter value is within the upper and lower limits of the data table of the nth coil that is currently oscillating, the third coin number is determined by comparing the counter value with the data table. It is determined, and it is determined whether or not the determined third coin number is a predetermined number (for example, 0, 6, 13,...) (S38).

ステップ38において、求めた硬貨枚数が所定枚数(一例として0,6,13…)であると判断すると(S38でYES)、この硬貨の枚数に誤差は含まれていないと判断して、記憶部36に記憶された硬貨枚数を、第3の硬貨枚数に更新するS39)。そして、制御部34は、誤差0枚フラグを立てる、すなわち、誤差0枚フラグ=1とする(S40)。そして、最後に発振したコイル番号と、カウンタ値を記憶し(S44)、処理を終了して待機状態に戻る。   If it is determined in step 38 that the obtained number of coins is a predetermined number (for example, 0, 6, 13...) (YES in S38), it is determined that the number of coins does not include an error, and the storage unit The number of coins stored in 36 is updated to the third number of coins S39). Then, the control unit 34 sets a zero error flag, that is, sets a zero error flag = 1 (S40). Then, the last oscillated coil number and counter value are stored (S44), the process is terminated and the process returns to the standby state.

一方、ステップ38において、第3の硬貨枚数が所定枚数(一例として0,6,13…)ではない判断すると(S38でNO)、データテーブルに基づいて求めた硬貨枚数が2つの枚数に一致するか否かを判断し(S45)、1つの枚数に一致したと判断すると(例えば、コイルC1でパルスカウンタ180の場合の枚数4枚)(S45でNO)、第3の硬貨枚数を記憶部36に記憶する(S47)。そして最後に発振したコイル番号と、カウンタ値を記憶し(S44)、処理を終了して待機状態に戻る。   On the other hand, if it is determined in step 38 that the third coin number is not a predetermined number (for example, 0, 6, 13,...) (NO in S38), the number of coins determined based on the data table matches the two numbers. (S45), if it is determined that the number of coins coincides with one (for example, four in the case of the pulse counter 180 with the coil C1) (NO in S45), the third coin number is stored in the storage unit 36. (S47). Then, the last oscillated coil number and counter value are stored (S44), the process is terminated and the process returns to the standby state.

一方ステップ45において求めた硬貨枚数が2つの枚数に一致したと判断した場合は(例えば、コイルC1でパルスカウンタ150の場合の枚数3枚または4枚)(S45でYES)、第3の硬貨枚数の内の少ない方の枚数、すなわち3枚を記憶部36に記憶する(S46)。そして最後に発振したコイル番号と、カウンタ値を記憶し(S47)、処理を終了して待機状態に戻る。   On the other hand, if it is determined that the number of coins obtained in step 45 matches the two numbers (for example, three or four in the case of the pulse counter 150 with the coil C1) (YES in S45), the third number of coins The smaller one of the three, that is, three is stored in the storage unit 36 (S46). Then, the last oscillated coil number and counter value are stored (S47), the process is terminated and the process returns to the standby state.

ステップ32において、カウンタ値がデータテーブルの上限、下限の範囲に入っていないと判断すると(S32でNO)、次に、図13のS14において払出を検知したものか否かを判断する(S33)。ここで払出を検知の場合(S33でYES)、異常とみなして(S43)処理を終了する。   If it is determined in step 32 that the counter value is not within the upper and lower limits of the data table (NO in S32), it is then determined whether or not a payout is detected in S14 of FIG. 13 (S33). . If the payout is detected (YES in S33), it is regarded as abnormal (S43) and the process is terminated.

一方、ステップ33において、払出し検知ではない場合(S33でNO)、コイルを変更するべく、コイル番号をインクリメントし(S34)。次にコイル番号がZ番を超えているか、または0番以下か否かを判断する(S35)。ここでコイル番号がZ番を超えている場合や0番以下の場合には(S35でYES)、異常とみなし(S43)、処理を終了する。   On the other hand, if the payout is not detected in step 33 (NO in S33), the coil number is incremented to change the coil (S34). Next, it is determined whether or not the coil number exceeds the Z number or the 0th or less (S35). Here, if the coil number exceeds Z number or is 0 or less (YES in S35), it is regarded as abnormal (S43), and the process is terminated.

コイル番号がZ番以下であって1番以上の場合には(S35でYES)、制御部34は、アナログスイッチ21、23を制御して、選択したコイルに発振信号を供給し、コイルからの発振周波数を周波数カウンタ24で検出してカウンタ値を算出し、(S36)。次に、データテーブルとの照合より第3の硬貨枚枚数を決定する。そして決定した第3の硬貨枚数が所定枚数(一例として0,6,13…)か否かを判断する(S37)。   If the coil number is Z or less and 1 or more (YES in S35), the control unit 34 controls the analog switches 21 and 23 to supply an oscillation signal to the selected coil, and from the coil The oscillation frequency is detected by the frequency counter 24 to calculate the counter value (S36). Next, the third number of coins is determined by collation with the data table. Then, it is determined whether or not the determined third coin number is a predetermined number (for example, 0, 6, 13,...) (S37).

ここで、第3の硬貨枚数が所定枚数(一例として0,6,13…)であると判断すると(S37でYES)、この硬貨の枚数に誤差は含まれていないと判断して、記憶部36に記憶された硬貨枚数を、第3の硬貨枚数に更新する(S39)。そして、制御部34は、誤差0枚フラグを立てる、すなわち、誤差0枚フラグ=1とする(S40)。そして、最後に発振したコイル番号と、カウンタ値を記憶し(S44)、処理を終了して待機状態に戻る。   If it is determined that the third coin number is a predetermined number (for example, 0, 6, 13...) (YES in S37), it is determined that the number of coins does not include an error, and the storage unit. The number of coins stored in 36 is updated to the third number of coins (S39). Then, the control unit 34 sets a zero error flag, that is, sets a zero error flag = 1 (S40). Then, the last oscillated coil number and counter value are stored (S44), the process is terminated and the process returns to the standby state.

一方ステップ37において、第3の硬貨枚数が所定枚数(一例として0,6,13…)ではないと判断すると(S37でNO)、異常とみなして(S43)処理を終了する。   On the other hand, if it is determined in step 37 that the third coin number is not a predetermined number (for example, 0, 6, 13,...) (NO in S37), it is regarded as abnormal (S43) and the process is terminated.

このように、第2実施形態の硬貨処理装置Kにおいては、制御部34は、硬貨収納筒11への硬貨の投入または硬貨収納筒11からの硬貨の排出を検出すると、すでに硬貨検知センサ10により所定枚数(一例として0,6,13…)検知されており、記憶部に所定枚数を検知したことを示すフラグ(誤差0枚フラグ=1が記憶されていれば、硬貨検知センサが検出した硬貨収納筒11への硬貨の受入または硬貨収納筒11からの硬貨の払出し検知結果に基づいて硬貨枚数を増減するものである。   As described above, in the coin processing device K of the second embodiment, when the control unit 34 detects the insertion of the coin into the coin storage cylinder 11 or the discharge of the coin from the coin storage cylinder 11, the control unit 34 has already received the coin detection sensor 10. A coin indicating that a predetermined number (for example, 0, 6, 13...) Has been detected and a flag indicating that the predetermined number has been detected in the storage unit (if an error zero flag = 1 is stored), is detected by the coin detection sensor. The number of coins is increased / decreased based on the receipt of coins into the storage cylinder 11 or the result of coins being paid out from the coin storage cylinder 11.

また、所定枚数を検知したことを示すフラグが記憶部に記憶されていなければ、硬貨検知センサ10により、新たに所定枚数が検出されるまで、カウンタ値とデータテーブルとの照合より第3の硬貨枚枚数を決定する処理を行い、第3の硬貨枚枚数が所定枚数の場合には、第3の硬貨枚枚数に記憶部に記憶された硬貨枚数を補正する。   If the flag indicating that the predetermined number of sheets has been detected is not stored in the storage unit, the third coin is detected by comparing the counter value with the data table until the coin detection sensor 10 newly detects the predetermined number of sheets. A process of determining the number of sheets is performed, and when the third number of coins is a predetermined number, the number of coins stored in the storage unit is corrected to the third number of coins.

上記の通り、第1の実施形態に係る硬貨処理装置Kおよび第2の実施形態の係る硬貨処理装置Kに基づいて本発明の一実施例を説明したが、本発明は、硬貨識別手段や振り分け手段を備えた硬貨処理装置Kに限定されるものではなく、当然単体の硬貨払出装置であってもよい。また硬貨払出装置を装置内部に搭載する装置であればどのような装置であってもよい。例えばPOSレジスタ装置に接続される硬貨の自動釣銭機であってもよい。   As described above, one embodiment of the present invention has been described based on the coin processing device K according to the first embodiment and the coin processing device K according to the second embodiment. It is not limited to the coin processing apparatus K provided with a means, Naturally, a single coin dispensing apparatus may be sufficient. Further, any device may be used as long as it is a device in which the coin dispensing device is mounted inside the device. For example, an automatic coin change machine connected to a POS register device may be used.

尚、上記した第1の実施形態に係る硬貨処理装置Kおよび第2の実施形態の係る硬貨処理装置Kでは、硬貨検知センサ10の出力に基づいて硬貨収納筒11への硬貨の受入や、硬貨収納筒11からの硬貨の払出しを検知するものとして説明してきたが、従来から自動販売機に搭載される硬貨処理装置が備えている硬貨識別センサ31の出力や振り分け機構に設けられた硬貨通過検知センサの出力に基づいて硬貨の受入を検知するようにしてもよい。また硬貨収納筒11から硬貨を払い出す際には、硬貨払出部33の動作に基づいて払い出しを検知するようにしても良い。   In the coin processing device K according to the first embodiment and the coin processing device K according to the second embodiment, the coin is received into the coin storage cylinder 11 or the coin is based on the output of the coin detection sensor 10. Although it has been described as detecting the payout of coins from the storage cylinder 11, the output of the coin identification sensor 31 provided in the coin processing device mounted on the vending machine and the coin passage detection provided in the sorting mechanism. You may make it detect acceptance of a coin based on the output of a sensor. When paying out coins from the coin storage cylinder 11, the payout may be detected based on the operation of the coin payout unit 33.

1…硬貨、10…硬貨検知センサ、11…硬貨収納筒、13…硬貨投入口、C1〜C5…平面コイル、C1a〜C3a、C1b〜C3b…平面コイル、12…基板、21,23…アナログスイッチ、22…オペアンプ、24…周波数カウンタ、25…発振回路、31…硬貨識別センサ、32…硬貨振分部、33…硬貨払出部、34…制御部、36…記憶部、37…硬貨払出装置、38…硬貨枚数、39…データテーブル、40…自動販売機主制御部。   DESCRIPTION OF SYMBOLS 1 ... Coin, 10 ... Coin detection sensor, 11 ... Coin storage cylinder, 13 ... Coin slot, C1-C5 ... Planar coil, C1a-C3a, C1b-C3b ... Planar coil, 12 ... Substrate, 21, 23 ... Analog switch , 22, operational amplifier, 24, frequency counter, 25, oscillation circuit, 31, coin identification sensor, 32, coin distribution unit, 33, coin dispensing unit, 34, control unit, 36, storage unit, 37, coin dispensing device, 38 ... number of coins, 39 ... data table, 40 ... vending machine main controller.

Claims (2)

硬貨が収納される硬貨収納筒と、
前記硬貨収納筒の近傍に置かれる基板上に硬貨積層方向に並列して設けた複数の平面コイルに対して個々に発振信号を与えて、各前記平面コイルから発生する発振周波数に基づく情報を出力する硬貨検知センサと、
予め前記硬貨検知センサの出力と前記硬貨収納筒に収容された硬貨枚数との関係を示したデータテーブルを記憶し、また前記硬貨収納筒内の前記硬貨枚数を記憶する記憶部と、
前記硬貨検知センサの出力に基づいて前記硬貨収納筒への前記硬貨の受入と払出しを検知するとともに、前記硬貨収納筒に収容された前記硬貨枚数を決定する制御部を備え、
前記制御部は、当該硬貨処理装置に電源投入されたとき、または前記硬貨収納筒が装着されたとき、前記硬貨検知センサの出力と前記データテーブルとを照合して第1の硬貨枚数決定し、該第1の硬貨枚数を前記硬貨収納筒内の前記硬貨枚数として前記記憶部に記憶し、
その後、前記硬貨の受入れまたは払出しを前記硬貨検知センサの出力の変化によって検出した時には、前記記憶部に記憶された前記硬貨枚数を増減して第2の硬貨枚数を算出し、該第2の硬貨枚数を前記硬貨収納筒内の前記硬貨枚数として記憶すると共に、
前記硬貨検知センサによる前記硬貨枚数の判断結果を誤差ゼロ枚と判断できる枚数を、所定枚数として設定し
前記硬貨の受入れまたは払出しを検出した後の前記硬貨検知センサの出力と前記データテーブルとを照合して第3の硬貨枚数を決定し、
該第3の硬貨枚数が前記所定枚数であると判断された場合、前記記憶部に記憶していた前記第2の硬貨枚数を、該第3の硬貨枚数へと補正する、
ことを特徴とする硬貨処理装置。
A coin storage cylinder for storing coins;
An oscillation signal is individually given to a plurality of planar coils provided in parallel in the coin stacking direction on a substrate placed in the vicinity of the coin storage cylinder, and information based on the oscillation frequency generated from each of the planar coils is output. A coin detection sensor
A storage unit in advance the store coin detection data table showing the relationship between the output and the coin count to the stored in the coin storage cylinder sensors, also for storing the coins number of the coin storing cylinder,
Thereby detecting the payout and Re acceptance of the coins to the coin storage cylinder on the basis of the output of the coin detection sensors, a control unit for determining the coin number accommodated in the coin storing cylinder,
When the control unit is powered up to the coin processing apparatus, or when said coin storage cylinder is mounted, to determine a first coin number by matching with the output of the coin detection sensors data table , coins the number of first stored in the storage unit as the coin number of the coin storing cylinder,
Then, the acceptance or dispensing of the coin when it detects a change in the output of the coin detection sensors calculates the second coin count by increasing or decreasing the coin number stored in the storage unit, the second coin stores the number as the coin number of the coin storing cylinder,
The number of coins that can be determined to be zero error as a result of determining the number of coins by the coin detection sensor is set as a predetermined number ,
The third coin number is determined by comparing the output of the coin detection sensor after detecting the acceptance or withdrawal of the coin and the data table,
If the quantity of coins third is determined to the a predetermined number, the second coin number which has been stored in the storage unit, is corrected to the quantity of coins third,
A coin processing apparatus.
前記平面コイルは、前記基板の第1の面および第2の面に、硬貨検知領域が隣接する前記平面コイルと前記基板を介して部分的に重複する状態で、前記硬貨積層方向に並ぶように複数並列状に配設されることを特徴とする請求項1記載の硬貨処理装置。 The planar coil, the first and second surfaces of the substrate, in a state of partially overlapping through the substrate and the planar coil coin detection region are adjacent, so as to be aligned in the coin stacking direction are arranged in parallel a plurality shape, a coin processing apparatus according to claim 1, wherein a.
JP2012216947A 2012-09-28 2012-09-28 Coin processing equipment Active JP5930464B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012216947A JP5930464B2 (en) 2012-09-28 2012-09-28 Coin processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012216947A JP5930464B2 (en) 2012-09-28 2012-09-28 Coin processing equipment

Publications (2)

Publication Number Publication Date
JP2014071643A JP2014071643A (en) 2014-04-21
JP5930464B2 true JP5930464B2 (en) 2016-06-08

Family

ID=50746793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012216947A Active JP5930464B2 (en) 2012-09-28 2012-09-28 Coin processing equipment

Country Status (1)

Country Link
JP (1) JP5930464B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6446904B2 (en) * 2014-08-15 2019-01-09 沖電気工業株式会社 Cash storage equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5466896A (en) * 1977-11-07 1979-05-29 Omron Tateisi Electronics Co Coin pile height detecting apparatus
JP2547616B2 (en) * 1988-06-29 1996-10-23 三洋電機株式会社 Coin possession number counting device
JP5436993B2 (en) * 2009-09-11 2014-03-05 株式会社日本コンラックス Coin dispenser
JP2011175307A (en) * 2010-02-23 2011-09-08 Nippon Conlux Co Ltd Coin handling apparatus

Also Published As

Publication number Publication date
JP2014071643A (en) 2014-04-21

Similar Documents

Publication Publication Date Title
JP5815248B2 (en) Change machine system
JP2011054121A (en) Money receiving and dispensing unit
KR20080074032A (en) Coin bar storage
JP2017126275A (en) Money management device, money processing system, and money processing method
JP3766200B2 (en) Money handling method and apparatus
US10380819B2 (en) Money handling machine, money handling system and money handling method
JP2013011959A (en) Money processing device
JP5930464B2 (en) Coin processing equipment
US20180247479A1 (en) Money handling apparatus
JP2008192078A (en) Coin roll storage
JP2011175307A (en) Coin handling apparatus
WO2011121735A1 (en) Currency transfer system, currency transfer method in same, and conveyor cassette for currency processing device
JP6674193B2 (en) Money management device and money management method
JP2013008398A (en) Self-checkout system
WO2017030114A1 (en) Magnetic sensor for coin identification, coin processing device, and coin identification method
JP5434422B2 (en) Coin processing equipment
JP5458566B2 (en) Automatic change machine
JP6739912B2 (en) Coin processing device with coin counting means
JP2001043448A (en) Coin reception and payment device
JP6122086B2 (en) Transaction processing apparatus and transaction system
JP5924686B2 (en) Coin processing equipment
JP7338305B2 (en) coin storage device, vending machine
JP7243179B2 (en) money handling device
JP7358893B2 (en) cash handling equipment
JP5658984B2 (en) Coin processing equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150327

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20150327

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160322

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160419

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160422

R150 Certificate of patent or registration of utility model

Ref document number: 5930464

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150