Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6572122B2 - Coin identification storage device - Google Patents
[go: Go Back, main page]

JP6572122B2 - Coin identification storage device - Google Patents

Coin identification storage device Download PDF

Info

Publication number
JP6572122B2
JP6572122B2 JP2015245343A JP2015245343A JP6572122B2 JP 6572122 B2 JP6572122 B2 JP 6572122B2 JP 2015245343 A JP2015245343 A JP 2015245343A JP 2015245343 A JP2015245343 A JP 2015245343A JP 6572122 B2 JP6572122 B2 JP 6572122B2
Authority
JP
Japan
Prior art keywords
coin
storage
yen
type
coins
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
JP2015245343A
Other languages
Japanese (ja)
Other versions
JP2017111611A (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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2015245343A priority Critical patent/JP6572122B2/en
Publication of JP2017111611A publication Critical patent/JP2017111611A/en
Application granted granted Critical
Publication of JP6572122B2 publication Critical patent/JP6572122B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Coins (AREA)

Description

この発明は、硬貨識別収納装置に関し、特に例えば、商品の購入のために投入された硬貨の種類を識別し、識別された硬貨を搬送してその種類ごとに異なる収納庫に収納する硬貨識別収納装置に関する。   The present invention relates to a coin identification and storage device, and in particular, for example, a coin identification and storage for identifying the type of coins inserted for purchase of goods, transporting the identified coins, and storing them in different storages for each type. Relates to the device.

従来から、日本国では1円や10円など6種類の硬貨が利用されており、自動販売機などでは、投入された硬貨の種類を、重量や大きさなどに基づいて識別している。
また、投入された硬貨が通過する特定の位置を撮影するカメラを設け、その位置にきた硬貨の画像データを撮影して、その画像データと予め記憶されている画像とを比較して、硬貨を識別するコイン識別装置も提案されている(例えば、特許文献1および特許文献2参照)。
さらに、硬貨の種類を識別した後、識別された硬貨を種類別にそれぞれ設けられた収納庫に収納させる。
このように硬貨を種類別に収納をするために、硬貨の搬送経路上に、各収納庫の直前の搬送路の位置に、その位置を通過する硬貨を検出するための通過センサー(例えば、赤外線を出射する発光部とその赤外線を受光する受光部からなる赤外線センサー)を、収納庫の数だけ配置したものが利用されている。
たとえば、硬貨の種類が100円と識別された後、その100円用の収納庫の直前の位置に配置された通過センサーによって硬貨の通過が検出された場合、搬送されてきた100円硬貨が100円用の収納庫に収納される。
Conventionally, six types of coins such as 1 yen and 10 yen have been used in Japan, and vending machines and the like identify the type of coins inserted based on weight and size.
In addition, a camera is provided for photographing a specific position through which the inserted coin passes, the image data of the coin at the position is photographed, the image data is compared with a pre-stored image, and the coin is A coin identifying device for identifying has also been proposed (see, for example, Patent Document 1 and Patent Document 2).
Furthermore, after identifying the type of coin, the identified coin is stored in a storage provided for each type.
In order to store the coins by type in this way, a passage sensor (for example, infrared rays) is detected on the transport path of the coins at the position of the transport path immediately before each storage. Infrared sensors (infrared sensors each composed of a light emitting section that emits light and a light receiving section that receives the infrared rays) are arranged by the number of storages.
For example, when the type of coin is identified as 100 yen and the passage of the coin is detected by a passage sensor arranged immediately before the storage for 100 yen, the 100-yen coin that has been conveyed is 100 Stored in a yen storage.

特開平9−167270号公報JP-A-9-167270 特開2014−2630号公報JP 2014-2630 A

しかし、従来のコイン識別装置では、カメラによって硬貨の画像を撮影することが可能であるが、カメラとは別に搬送中の硬貨の位置を検出するために、硬貨の収納庫の数に相当する個数の赤外線センサーを設ける必要がある。
また、カメラと複数の赤外線センサーは、一般的にCPUなどからなる制御ユニットに接続されるので、カメラと制御ユニットとを接続する配線や、複数の赤外線センサーと制御ユニットとを接続する配線を、装置内に引き回す必要がある。
したがって、複数の赤外線センサーを設ける位置や配線スペースを確保する必要があるため、装置の小型化が困難であり、多数の赤外線センサーや配線を設ける必要があるため、部品数が多く、製品価格を下げるのも難しく、製造工程も複雑になる。
However, in the conventional coin identification device, it is possible to take an image of a coin with a camera, but in order to detect the position of a coin being conveyed separately from the camera, the number corresponding to the number of coin storages It is necessary to provide an infrared sensor.
In addition, since the camera and the plurality of infrared sensors are generally connected to a control unit composed of a CPU or the like, wiring for connecting the camera and the control unit, or wiring for connecting the plurality of infrared sensors and the control unit, Must be routed into the device.
Therefore, it is necessary to secure a position and wiring space for providing a plurality of infrared sensors, so it is difficult to reduce the size of the apparatus, and it is necessary to provide a large number of infrared sensors and wirings. It is difficult to lower and the manufacturing process becomes complicated.

そこで、この発明は、以上のような事情を考慮してなされたものであり、投入された硬貨を識別し、特定の収納庫へ収納する硬貨識別搬送装置の小型化と、製品価格の抑制および製造工程の簡易化を図ることを課題とする。   Therefore, the present invention has been made in view of the above circumstances, and it is possible to reduce the size of the coin identification transport device that identifies the inserted coins and stores them in a specific storage, and suppresses the product price. It is an object to simplify the manufacturing process.

この発明は、投入された硬貨を所定の搬送路に導き前記搬送路上を移動させる硬貨搬送部と、複数の硬貨の種類ごとに前記搬送路の異なる位置に配置され、かつ硬貨の種類に予め対応づけられた複数の収納庫と、前記収納庫の位置を含む搬送路を撮影する撮影部と、前記撮影された搬送路の画像データを利用して、搬送路の所定の位置に搬送された硬貨の種類を識別する硬貨識別部と、前記撮影された搬送路の画像データを利用して、前記種類が識別された硬貨の現在位置を検出する硬貨位置検出部と、前記検出された硬貨の現在位置に基づいて、前記識別された硬貨の種類に対応づけられた収納庫の位置に、前記投入された硬貨が移動してきたことを確認した場合に、前記投入された硬貨を、その硬貨の種類に対応づけられた収納庫に収納させる収納制御部とを備えたことを特徴とする硬貨識別収納装置を提供するものである。   The present invention provides a coin transport unit that guides an inserted coin to a predetermined transport path and moves the transported coin on the transport path, and is arranged at a different position on the transport path for each of a plurality of coin types, and corresponds beforehand to the coin type A plurality of attached storages, a photographing unit for photographing a conveyance path including the position of the storage, and a coin conveyed to a predetermined position on the conveyance path using image data of the photographed conveyance path A coin identifying unit that identifies the type of the coin, a coin position detecting unit that detects a current position of the coin that has been identified using the image data of the captured transport path, and a current position of the detected coin Based on the position, when it is confirmed that the inserted coin has moved to the position of the storage associated with the identified coin type, the inserted coin is changed to the type of the coin. Stored in a storage box associated with There is provided a coin identifying storage apparatus characterized by comprising a storage control unit for.

また、識別すべき複数の硬貨の基準画像を、硬貨の種類ごとに予め記憶した記憶部を備え、前記硬貨識別部は、前記撮影された搬送路の画像データから、前記搬送路の所定の位置に搬送された硬貨の画像を取得し、前記記憶部に予め記憶された硬貨の基準画像のうち、前記取得された硬貨の画像と一致可能な基準画像に対応する硬貨の種類を、前記搬送された硬貨の種類と判断することを特徴とする。
また、前記収納庫の上には、開閉可能な収納ふたが設けられ、前記収納制御部は、前記硬貨識別部によって種類が識別された硬貨を、その種類に対応づけられた第1収納庫に収納させる場合、前記第1収納庫の上に設けられた収納ふたを開放させることを特徴とする。
In addition, a storage unit that stores in advance a reference image of a plurality of coins to be identified for each type of coin, and the coin identification unit, from the imaged image data of the transport path, a predetermined position of the transport path The image of the coins conveyed to the storage unit is acquired, and the coin type corresponding to the reference image that can match the acquired image of the coins among the reference images of the coins stored in advance in the storage unit is transferred. It is characterized in that it is determined as a type of coin.
In addition, an openable / closable storage lid is provided on the storage, and the storage control unit transfers the coin identified by the coin identification unit to the first storage associated with the type. When storing, a storage lid provided on the first storage is opened.

また、前記搬送路上であって前記各収納庫の位置よりも上流側の位置に、各収納庫に対応づけられた種類の硬貨の到着を判定するための複数の収納振分位置を設け、前記硬貨位置検出部が、前記搬送された硬貨の現在位置が前記収納振分位置のいずれかにあることを検出したとき、前記搬送された硬貨の種類が前記検出された収納振分位置に対応する第1収納庫の種類と一致する場合、前記収納制御部は、前記第1収納庫の上に設けられた収納ふたを開放させることを特徴とする。
また、前記搬送路に排出口を設け、前記硬貨識別部が、前記投入された硬貨の種類を識別できなかった場合、前記収納制御部は、種類が識別できなかった硬貨を、前記排出口から外部へ排出することを特徴とする。
また、前記撮影部は、1台のカメラからなり、前記硬貨の種類を識別する所定の位置と、前記複数の収納庫の位置とを含む搬送路を撮影することのできる位置に配置されることを特徴とする。
In addition, a plurality of storage allocation positions for determining arrival of coins of a type associated with each storage are provided at a position on the transport path and upstream of the position of each storage. When the coin position detection unit detects that the current position of the conveyed coin is in any of the storage distribution positions, the type of the transferred coin corresponds to the detected storage distribution position. When it corresponds with the kind of 1st storage, the said storage control part opens the storage lid provided on the said 1st storage, It is characterized by the above-mentioned.
Moreover, when the discharge path is provided in the transport path and the coin identifying unit cannot identify the type of the inserted coin, the storage control unit removes the coin whose type cannot be identified from the discharge port. It is characterized by discharging to the outside.
Moreover, the said imaging | photography part consists of one camera, and is arrange | positioned in the position which can image | photograph the conveyance path containing the predetermined position which identifies the kind of said coin, and the position of these storages. It is characterized by.

この発明によれば、撮影部によって撮影された搬送路の画像データを利用して、投入された硬貨の種類の識別と、種類が識別された硬貨の現在位置の検出とを行っているので、搬送中の硬貨の現在位置を検出するための位置検出センサーを設ける必要がなく、装置の小型化、装置の低価格化、および製造工程の簡易化を図ることができる。   According to this invention, using the image data of the transport path photographed by the photographing unit, the type of the inserted coin is identified and the current position of the coin whose type is identified is detected. There is no need to provide a position detection sensor for detecting the current position of the coin being conveyed, and the apparatus can be downsized, the apparatus can be reduced in price, and the manufacturing process can be simplified.

この発明の硬貨識別搬送装置の一実施例の構成ブロック図である。It is a block diagram of the configuration of an embodiment of the coin identification transport device of the present invention. この発明の記憶部に記憶される情報の一実施例の説明図である。It is explanatory drawing of one Example of the information memorize | stored in the memory | storage part of this invention. この発明の硬貨の識別および搬送処理の一実施例の概略説明図である。It is a schematic explanatory drawing of one Example of the identification and conveyance process of the coin of this invention. 硬貨の搬送状態を撮影した画像データの一実施例の概略説明図である。It is a schematic explanatory drawing of one Example of the image data which image | photographed the conveyance state of a coin. 1つの硬貨が投入された場合の硬貨の搬送状態を撮影した画像データの説明図である。It is explanatory drawing of the image data which image | photographed the conveyance state of the coin when one coin is thrown in. 1つの硬貨が投入された場合の硬貨の識別および搬送処理の一実施例の説明図である。It is explanatory drawing of one Example of the identification and conveyance process of a coin when one coin is thrown in. 複数の硬貨が連続して投入された場合の硬貨の搬送状態を撮影した画像データの説明図である。It is explanatory drawing of the image data which image | photographed the conveyance state of the coin when a several coin is thrown in continuously. 複数の硬貨が連続して投入された場合の硬貨の識別および搬送処理の一実施例の説明図である。It is explanatory drawing of one Example of the identification and conveyance process of a coin when a several coin is thrown in continuously. この発明の硬貨識別搬送装置における硬貨の搬送、識別および振分処理の一実施例のフローチャートである。It is a flowchart of one Example of the conveyance of a coin in the coin identification conveyance apparatus of this invention, identification, and a distribution process. この発明の硬貨識別処理の一実施例のフローチャートである。It is a flowchart of one Example of the coin identification process of this invention. この発明の硬貨振分処理の一実施例のフローチャートである。It is a flowchart of one Example of the coin distribution process of this invention. この発明の識別された硬貨の収納処理の一実施例のフローチャートである。It is a flowchart of one Example of the storage process of the identified coin of this invention.

以下、図面を使用して本発明の実施の形態を説明する。なお、以下の実施例の記載によって、この発明が限定されるものではない。
この発明の硬貨識別搬送装置は、投入された硬貨を所定の搬送路に導き、投入された硬貨が搬送路上を移動しているときに、硬貨の種類を識別し、複数の硬貨の種類ごとに所定の間隔をあけて異なる位置に配置された複数の収納庫のうち、識別された硬貨の種類に予め対応づけられた収納庫に、投入された硬貨を収納させるものである。
以下のこの発明の実施例では、識別し収納する対象を、硬貨として説明する。ただし、後述するように、紙幣などを識別し収納する対象としてもよい。
また、以下の実施例では、主として、日本国内で流通している6種類の日本国の硬貨を識別する対象として説明する。ただし、これに限るものではなく、たとえば、他国の硬貨、特定の店舗でのみ利用されている硬貨を、識別する対象としてもよい。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, this invention is not limited by description of the following examples.
The coin identifying and conveying apparatus according to the present invention guides the inserted coins to a predetermined conveyance path, identifies the type of coins when the inserted coins are moving on the conveyance path, and identifies each of the plurality of coin types. Of the plurality of storages arranged at different positions with a predetermined interval, the inserted coins are stored in storages associated in advance with the identified types of coins.
In the following embodiments of the present invention, an object to be identified and stored will be described as a coin. However, as will be described later, banknotes may be identified and stored.
Further, in the following embodiments, description will be made mainly on the basis of identifying six types of Japanese coins distributed in Japan. However, it is not restricted to this, For example, it is good also considering the coin currently utilized only in the coin of another country, and a specific store.

<この発明の硬貨識別搬送装置の構成>
図1に、この発明の硬貨識別搬送装置(以下、単に、コイン識別装置とも呼ぶ)の一実施例の構成ブロック図を示す。
図1に示すように、この発明の硬貨識別搬送装置は、主として、制御部11、撮影部12、画像認識部13、硬貨識別部14、硬貨位置検出部15、硬貨到着判定部16、硬貨搬送部17、硬貨投入検出部18、収納制御部19、硬貨投入口21、収納ふた22、収納庫23、記憶部30を備える。
<Configuration of coin identifying and conveying apparatus of the present invention>
FIG. 1 shows a block diagram of an embodiment of a coin identifying and conveying apparatus (hereinafter also simply referred to as a coin identifying apparatus) according to the present invention.
As shown in FIG. 1, the coin identifying and conveying apparatus of the present invention mainly includes a control unit 11, a photographing unit 12, an image recognizing unit 13, a coin identifying unit 14, a coin position detecting unit 15, a coin arrival determining unit 16, and a coin conveying. Unit 17, coin insertion detection unit 18, storage control unit 19, coin insertion slot 21, storage lid 22, storage 23, and storage unit 30.

制御部11は、この発明のコイン識別装置の各種機能を実行させる部分であり、主として、CPU,ROM,RAM,I/Oコントローラ、タイマー等からなるマイクロコンピュータにより実現され、ROM等に格納されたプログラムに基づいて、CPUが、各種ハードウェアを有機的に動作させることによって、この発明の硬貨識別機能、硬貨搬送機能、硬貨振分機能などを実行する。なお、上記した画像認識部13、硬貨識別部14、硬貨位置検出部15、硬貨到着判定部16、収納制御部19は、主に、ソフトウェア的に特定の機能を実行する機能ブロックである。   The control unit 11 is a part for executing various functions of the coin identification device of the present invention, and is mainly realized by a microcomputer including a CPU, a ROM, a RAM, an I / O controller, a timer, etc., and stored in the ROM or the like. Based on the program, the CPU organically operates various types of hardware to execute the coin identification function, the coin transfer function, the coin distribution function, and the like of the present invention. In addition, the above-mentioned image recognition part 13, the coin identification part 14, the coin position detection part 15, the coin arrival determination part 16, and the storage control part 19 are function blocks which mainly perform a specific function in software.

撮影部12は、主として、収納庫の位置を含む搬送路を撮影するカメラである。また、後述するように、投入された硬貨の種類を識別する位置(硬貨識別位置)、識別された硬貨を振り分ける位置(収納振分位置)および各収納庫を上方から覆う各収納ふたの位置を含む領域(以下、撮影領域と呼ぶ)を、1台のカメラで撮影する。
カメラは複数台備えてもよいが、この発明では、装置の小型化と、製品価格などの抑制の観点から、1台のカメラで、上記撮影領域を撮影するものとする。カメラ12は、硬貨の種類を識別する所定の位置と、複数の収納庫の位置とを含む搬送路を撮影することのできる位置に配置される。1台のカメラで撮影された画像データを用いて、後述するように、硬貨の種類の識別と、搬送中の硬貨の現在位置の検出とを一括して行う。
The photographing unit 12 is a camera that mainly photographs the conveyance path including the position of the storage. Further, as will be described later, the position for identifying the type of coins inserted (coin identification position), the position for distributing the identified coins (storage allocation position), and the position of each storage lid that covers each storage from above. An area including the image (hereinafter referred to as an imaging area) is imaged with one camera.
Although a plurality of cameras may be provided, in the present invention, from the viewpoint of downsizing of the apparatus and suppression of the product price and the like, it is assumed that the above-described shooting area is shot with one camera. The camera 12 is disposed at a position where the conveyance path including a predetermined position for identifying the type of coin and the positions of a plurality of storages can be photographed. As will be described later, the type of coin and the detection of the current position of the coin being conveyed are collectively performed using image data taken by one camera.

また、搬送路のうち、比較的カメラに近い部分(たとえば、硬貨識別位置)から、比較的カメラから遠い部分(たとえば、収納振分位置)までを1台のカメラで撮影するため、できるだけ合焦範囲の広い(被写界深度が深い)広角レンズを持つカメラを用いることが好ましい。
また、カメラ12としては、所定の時間間隔(たとえば、100ミリ秒)で連続撮影が可能な静止画撮影用のカメラ、あるいは動画を撮影することが可能なビデオカメラを用いることが好ましい。
カメラ12で撮影された画像は、主として、固体撮影素子でデジタル化され、記憶部30に記憶され、画像認識部13で認識される。
Further, since one part of the conveyance path is photographed with a single camera from a portion relatively close to the camera (for example, a coin identification position) to a portion relatively distant from the camera (for example, a storage sorting position), it is in focus as much as possible It is preferable to use a camera having a wide-angle lens with a wide range (deep depth of field).
Further, as the camera 12, it is preferable to use a still image shooting camera capable of continuous shooting at a predetermined time interval (for example, 100 milliseconds) or a video camera capable of shooting a moving image.
An image photographed by the camera 12 is mainly digitized by a solid-state photographing element, stored in the storage unit 30, and recognized by the image recognition unit 13.

カメラ12は、たとえば、図3に示すような位置に配置される。
図3は、硬貨の識別および搬送処理の一実施例の概略説明図であり、紙面の左右方向に長い硬貨搬送路52(以下、単に搬送路とも呼ぶ)を側面方向から見た図である。
図3において、硬貨51の搬送方向53は、紙面の右方向から左方向であるとし、図示した硬貨搬送路52には、右側から順に、硬貨識別位置32、排出口振分位置54b、排出口54、1円振分位置31a、1円収納庫23aが配置され、最も遠い下流側の位置には、500円振分位置31fと500円収納庫23fが配置されているものとする。
1円振分位置などの複数の収納振分位置31は、各収納庫23に対応づけられた種類の硬貨の到着を判定するための位置であり、搬送路上であって各収納庫23の位置よりも上流側の位置に設けられる。
For example, the camera 12 is disposed at a position as shown in FIG.
FIG. 3 is a schematic explanatory view of an embodiment of coin identification and conveyance processing, and is a view of a coin conveyance path 52 (hereinafter, also simply referred to as a conveyance path) that is long in the left-right direction on the paper surface as viewed from the side.
In FIG. 3, the conveyance direction 53 of the coin 51 is assumed to be from the right direction to the left direction on the paper surface, and in the illustrated coin conveyance path 52, the coin identification position 32, the discharge port distribution position 54b, and the discharge port 54, the 1-yen distribution position 31a and the 1-yen storage 23a are arranged, and the 500-yen distribution position 31f and the 500-yen storage 23f are arranged at the farthest downstream position.
A plurality of storage allocation positions 31 such as a 1-yen allocation position are positions for determining the arrival of the type of coins associated with each storage 23, and are located on the transport path and the position of each storage 23. It is provided at a position on the upstream side.

また、各収納庫23の上には、収納制御部19によって与えられる所定の開閉信号に基づいて自動開閉が可能な収納ふた22が取り付けられている。
カメラ12は、図3に示した最も右側の硬貨識別位置32から、最も左側の500円収納庫23fまでの領域を撮影できるように、配置される。
図3では、カメラ12は、硬貨識別位置32よりも右側であって、硬貨搬送路52よりも高い位置に配置し、ななめ上方から、撮影領域を撮影する。
図3のように硬貨搬送路52が直線的なルートであったとすると、硬貨識別位置32から500円収納庫23fまでの距離は、たとえば、30cm程度である。
A storage lid 22 that can be automatically opened and closed based on a predetermined opening / closing signal given by the storage control unit 19 is attached to each storage 23.
The camera 12 is arranged so that an area from the rightmost coin identification position 32 shown in FIG. 3 to the leftmost 500 yen storage 23f can be photographed.
In FIG. 3, the camera 12 is located on the right side of the coin identification position 32 and higher than the coin conveyance path 52, and images the imaging region from above the lick.
If the coin conveyance path 52 is a straight route as shown in FIG. 3, the distance from the coin identification position 32 to the 500-yen storage 23f is, for example, about 30 cm.

図示しない投入口から投入された硬貨は、搬送ベルトによって硬貨搬送路上を搬送され、まず、硬貨識別位置32を通過し、その後各硬貨の振分位置や収納庫上を通過していく。
後述する図4、図5および図7には、カメラ12で撮影した画像データの一実施例の概略説明図を示している。
たとえば、図4(a)には、100円硬貨が、硬貨識別位置32のところまで搬送されてきた状態の画像データを示している。
硬貨識別位置32は予め設定された固定位置であるとする。画像認識部13によって硬貨識別位置32に硬貨が来たことが認識されると、撮影された画像データの中からこの位置32の画像データ(以下、識別用画像と呼ぶ)を切り出し、識別用画像を利用して、硬貨識別部14によって、硬貨識別位置32に存在する硬貨の種類を識別する。
Coins inserted from an insertion port (not shown) are transported on the coin transport path by the transport belt, and first pass through the coin identification position 32, and then pass through the distribution position of each coin and the storage.
4, 5, and 7, which will be described later, are schematic explanatory diagrams of an embodiment of image data captured by the camera 12.
For example, FIG. 4A shows image data in a state where a 100-yen coin has been conveyed to the coin identification position 32.
It is assumed that the coin identification position 32 is a preset fixed position. When the image recognition unit 13 recognizes that a coin has arrived at the coin identification position 32, the image data at this position 32 (hereinafter referred to as an identification image) is cut out from the captured image data, and the identification image is obtained. The type of the coin existing at the coin identification position 32 is identified by the coin identifying unit 14.

また、図5(a)には、識別された100円硬貨が、100円振分位置31eのところまで搬送されてきた状態の画像データを示している。
画像認識部13によって、図5(a)の画像データから100円振分位置31eに100円硬貨が来たことが認識されると、100円収納ふた22eが開放され、図5(b)に示すように、搬送されてきた100円硬貨が、収納庫23eの中に収納される。硬貨の搬送、識別、振分などの詳細な処理については、後述する。
FIG. 5A shows image data in a state where the identified 100-yen coin has been conveyed to the 100-yen distribution position 31e.
When the image recognition unit 13 recognizes that the 100 yen coin has arrived at the 100 yen allocation position 31e from the image data of FIG. 5A, the 100 yen storage lid 22e is opened, and FIG. As shown, the 100-yen coin that has been transported is stored in the storage 23e. Detailed processing such as coin conveyance, identification, and distribution will be described later.

画像認識部13は、カメラ12で撮影された画像を認識する部分であり、具体的には、撮影された画像データの中に含まれる硬貨の画像を切り出す部分である。
硬貨が搬送されていない場合は、撮影された画像データには搬送路と移動する搬送ベルトが撮っているだけであるが、投入された硬貨が円形であったとすると、硬貨の搬送中は、画像データの中に楕円形状の物体があることが認識される。
この楕円形状の物体が存在すると認識された部分領域の画像(識別用画像)が切り出される。
たとえば、搬送路の硬貨識別位置32に硬貨が来たときに、その硬貨識別位置32の識別用画像を切り出す。
The image recognizing unit 13 is a part that recognizes an image captured by the camera 12, and specifically, a part that cuts out an image of a coin included in the captured image data.
When coins are not being transported, only the transport path and moving transport belt are taken in the captured image data. However, if the inserted coins are circular, an image is displayed during the transport of coins. It is recognized that there is an elliptical object in the data.
An image (identification image) of a partial region recognized as the presence of this elliptical object is cut out.
For example, when a coin arrives at the coin identification position 32 on the conveyance path, an identification image of the coin identification position 32 is cut out.

硬貨識別部14は、カメラ12によって撮影された搬送路の画像データを利用して、搬送路の所定の位置に搬送された硬貨の種類を識別する部分である。特に、上記のように、画像認識部13によって切り出された硬貨識別位置32の識別用画像から、その識別用画像に含まれる硬貨の種類を識別する。
たとえば、撮影された搬送路の画像データから硬貨識別位置32に搬送された硬貨の画像を取得し、記憶部30に予め記憶された複数の硬貨の基準画像(硬貨判定情報33)のうち、取得された硬貨の画像と一致するものがあった場合は、取得された硬貨の画像と一致可能な基準画像に対応する硬貨の種類を、硬貨識別位置32に搬送された硬貨の種類と判断する。
The coin identifying unit 14 is a part that identifies the type of coins conveyed to a predetermined position on the conveyance path using image data of the conveyance path photographed by the camera 12. In particular, as described above, the type of coin included in the identification image is identified from the identification image of the coin identification position 32 cut out by the image recognition unit 13.
For example, the image of the coin conveyed to the coin identification position 32 is acquired from the image data of the captured conveyance path, and acquired from the plurality of coin reference images (coin determination information 33) stored in advance in the storage unit 30. When there is a coin that matches the acquired coin image, the coin type corresponding to the reference image that can be matched with the acquired coin image is determined as the coin type conveyed to the coin identification position 32.

硬貨位置検出部15は、カメラ12によって撮影された搬送路の画像データを利用して、硬貨識別部14によって種類が識別された硬貨の現在位置を検出する部分である。
搬送ベルトによって一定速度で硬貨が搬送されるとすると、硬貨識別位置32で種類が識別された後、種類が識別された硬貨が一定速度で搬送されていく画像データが、カメラ12によって撮影される。
図4に示すように、撮影された画像データにおいて、搬送路上の特定の固定点を原点(0,0)とするXY座標を設定し、画像データから移動する硬貨の現在位置を取得する。
硬貨はそれぞれ所定の大きさを有する楕円形の画像として認識されるので、たとえば、その楕円形画像の中心位置の座標を、硬貨の現在位置として取得する。
The coin position detection unit 15 is a part that detects the current position of the coin whose type has been identified by the coin identification unit 14 using the image data of the conveyance path taken by the camera 12.
Assuming that coins are transported at a constant speed by the transport belt, image data in which the coins whose types are identified are transported at a constant speed after the types are identified at the coin recognition position 32 is captured by the camera 12. .
As shown in FIG. 4, in the captured image data, XY coordinates having a specific fixed point on the transport path as the origin (0, 0) are set, and the current position of the coin moving is acquired from the image data.
Since each coin is recognized as an elliptical image having a predetermined size, for example, the coordinates of the center position of the elliptical image are acquired as the current position of the coin.

また、硬貨識別位置32や各収納振分位置31なども一定の大きさの領域を有するが、後述する図2(a),(b)に示すように、その領域の中心位置の座標を硬貨識別位置32や各収納振分位置31の代表座標として予め記憶しておく。
取得された硬貨の現在位置は、たとえば、図2(d)に示すように、硬貨の種類と、現在位置を示す座標とを対応づけて、投入硬貨情報35として、記憶部30に記憶する。
硬貨はほぼ一定速度で移動していくので、この投入硬貨情報35の現在位置の情報は、ほぼリアルタイムで更新されることが好ましい。
Moreover, although the coin identification position 32, each storage distribution position 31, etc. also have a fixed area | region, as shown in FIG. 2 (a), (b) mentioned later, the coordinate of the center position of the area | region is set to coin. These are stored in advance as representative coordinates of the identification position 32 and each storage distribution position 31.
For example, as shown in FIG. 2D, the acquired current position of the coin is stored in the storage unit 30 as input coin information 35 in association with the type of coin and the coordinate indicating the current position.
Since the coin moves at a substantially constant speed, it is preferable that the information on the current position of the inserted coin information 35 is updated almost in real time.

硬貨到着判定部16は、搬送されている硬貨が、所定の収納振分位置31に到着したか否かを判定する部分である。
硬貨の種類ごとの収納振分位置31を示す座標は、図2(a)に示すように、予め記憶しておく。
また、上記したように、投入された硬貨の種類とその現在位置とが対応づけられて、投入硬貨情報35としてリアルタイムで取得される。
そこで、投入された硬貨の現在位置の座標と、その投入された硬貨の種類に対応づけて予め記憶されていた収納振分位置の座標とを比較し、両座標がほぼ一致した場合に、投入された硬貨が、その硬貨を収納すべき収納庫の直前の収納振分位置に到着したと判定する。
たとえば、投入された硬貨が100円と識別された後、図2(d)に示すようなその100円の現在位置(x33,y33)が、図2(a)に示す100円に対応する振分位置(x5,y5)にほぼ一致した場合、その100円硬貨は、100円振分位置31eに到着したと判定する。
The coin arrival determination unit 16 is a part that determines whether or not the conveyed coin has arrived at a predetermined storage distribution position 31.
The coordinates indicating the storage distribution position 31 for each type of coin are stored in advance as shown in FIG.
Further, as described above, the type of the inserted coin and its current position are associated with each other and acquired as the inserted coin information 35 in real time.
Therefore, the coordinates of the current position of the inserted coin are compared with the coordinates of the storage distribution position stored in advance corresponding to the type of the inserted coin, and when both the coordinates are almost the same, It is determined that the received coin has arrived at the storage distribution position immediately before the storage in which the coin is to be stored.
For example, after the inserted coin is identified as 100 yen, the current position (x33, y33) of the 100 yen as shown in FIG. 2 (d) corresponds to the 100 yen shown in FIG. 2 (a). When it almost coincides with the minute position (x5, y5), it is determined that the 100 yen coin has arrived at the 100 yen distribution position 31e.

硬貨搬送部17は、投入された硬貨を所定の搬送路に導き、搬送路上を移動させる部分であり、搬送路には、たとえば、搬送ベルトが設置される。
搬送ベルトは、一定速度で、モータ等によって一方向に駆動され、搬送ベルト上に搭載された硬貨を、所定の搬送方向53に移動させる。
硬貨を搬送する搬送路は、硬貨識別位置32から最も遠い収納庫23fの位置までを一台のカメラ12で撮影するため、直線であることが好ましいが、必ずしも直線でなくてもよい。
一部に曲線部分を持つ搬送路であったとしても、蛇行する搬送路であったとしても、硬貨識別位置32から最も遠い収納庫23fの位置までの搬送路を含む空間領域を、一台のカメラ12で撮影できるような位置に、カメラ12を取り付ければよい。
The coin conveyance unit 17 is a part that guides the inserted coins to a predetermined conveyance path and moves the coins on the conveyance path. In the conveyance path, for example, a conveyance belt is installed.
The transport belt is driven in one direction by a motor or the like at a constant speed, and moves the coins mounted on the transport belt in a predetermined transport direction 53.
The transport path for transporting coins is preferably a straight line because a single camera 12 captures images from the coin identification position 32 to the position of the storage box 23f farthest from the coin identification position 32, but it does not necessarily have to be a straight line.
Even if it is a conveyance path having a curved portion in part, even if it is a meandering conveyance path, a spatial region including the conveyance path from the coin identification position 32 to the position of the furthest storage 23f is What is necessary is just to attach the camera 12 to the position which can image | photograph with the camera 12. FIG.

硬貨投入検出部18は、硬貨投入口21から硬貨が投入されたことを検出する部分である。
硬貨投入口21は、自動販売機やPOS端末などに設けられているのと同様に、硬貨を入れる入口であり、硬貨投入口の直後に、硬貨投入口に投入された硬貨が通過したことを検出するためのスイッチあるいはセンサーを、硬貨投入検出部18として設ける。
たとえば、スイッチは、投入された硬貨が通過するときに接点が閉じるように配置すればよく、接点が閉じた場合に、硬貨が投入されたことを検出する。あるいは、センサーとしては、発光部および受光部からなる赤外線センサーを用い、投入された硬貨が発光部と受光部との間を通過するように赤外線センサーを配置し、発光部から受光部に向けて出射されている赤外線が、通過する硬貨によって遮光された場合に、硬貨が投入されたことを検出する。
The coin insertion detection unit 18 is a part that detects that a coin has been inserted from the coin insertion slot 21.
The coin insertion slot 21 is an entrance for inserting coins, similar to those provided in vending machines and POS terminals, and the fact that the coins inserted into the coin insertion slot have passed immediately after the coin insertion slot. A switch or sensor for detection is provided as the coin insertion detection unit 18.
For example, the switch may be arranged so that the contact is closed when the inserted coin passes, and detects that the coin has been inserted when the contact is closed. Alternatively, an infrared sensor consisting of a light emitting part and a light receiving part is used as the sensor, and the infrared sensor is arranged so that the inserted coin passes between the light emitting part and the light receiving part, and the light emitting part is directed toward the light receiving part. When the emitted infrared ray is shielded by a passing coin, it is detected that a coin has been inserted.

収納制御部19は、搬送されてきた硬貨を、その硬貨の種類に対応した収納庫23に、収納させる部分であり、主として、収納ふた22を開閉させる部分である。
収納庫23は、図3などに示したように、複数の硬貨の種類ごとに硬貨搬送路52の異なる位置に、所定の間隔をあけて複数個配置され、各収納庫23は、硬貨の種類に予め対応づけられている。各収納庫23の上には、開閉可能な収納ふた22が設けられる。各収納庫23は、たとえば図3に示すように、6つの硬貨に対応づけて配置されている。
硬貨が投入されていないときなど、通常時は、すべての収納ふた22を閉鎖状態とし、搬送されてきた硬貨が、収納庫内に収納されないようにする。
The storage controller 19 is a part that stores the conveyed coins in the storage 23 corresponding to the type of the coins, and is a part that mainly opens and closes the storage lid 22.
As shown in FIG. 3 and the like, a plurality of storages 23 are arranged at predetermined positions at different positions on the coin transport path 52 for each of a plurality of types of coins. In advance. An openable / closable storage lid 22 is provided on each storage 23. Each storage 23 is arranged in association with six coins, for example, as shown in FIG.
In normal times, such as when no coins are inserted, all the storage lids 22 are closed so that the conveyed coins are not stored in the storage.

また、収納制御部19は、硬貨位置検出部15によって検出された硬貨の現在位置に基づいて、識別された硬貨の種類に対応づけられた収納庫の位置に、投入された硬貨が移動してきたことを確認した場合に、投入された硬貨を、その硬貨の種類に対応づけられた収納庫に収納させる。
具体的には、硬貨識別部14によって種類が識別された硬貨を、その種類に対応づけられた収納庫23に収納させる場合、その収納庫23の上に設けられた収納ふた22を開放させる。
また、上記したように、各収納庫の位置よりも上流側の位置に、複数の収納振分位置31が設けられるが、硬貨位置検出部15が、搬送された硬貨の現在位置が、収納振分位置のいずれかにあることを検出したとき、搬送された硬貨の種類が、検出された収納振分位置31に対応する収納庫23の種類と一致する場合に、その収納庫23の上に設けられた収納ふた22を開放させる。
収納ふた22が開放された状態で、振分位置にあった硬貨がさらに搬送されると、その硬貨は収納ふた22が開いた位置の収納庫23に収納される。
また、硬貨の収納が終了すると、一定時間が経過した後に、収納ふた22を閉鎖する。
In addition, the storage control unit 19 has moved the inserted coin to the position of the storage associated with the identified coin type based on the current position of the coin detected by the coin position detection unit 15. When it is confirmed that this is the case, the inserted coins are stored in storages associated with the types of the coins.
Specifically, when the coins identified by the coin identifying unit 14 are stored in the storage 23 associated with the type, the storage lid 22 provided on the storage 23 is opened.
Further, as described above, a plurality of storage distribution positions 31 are provided at positions upstream of the positions of the respective storages. However, the coin position detection unit 15 determines that the current position of the conveyed coin is the storage vibration. When it is detected that the coin is in one of the minute positions, if the type of the coins transferred matches the type of the storage 23 corresponding to the detected storage distribution position 31, The provided storage lid 22 is opened.
When the coins at the sorting position are further transported in a state where the storage lid 22 is opened, the coins are stored in the storage 23 at the position where the storage lid 22 is opened.
When the coins are completely stored, the storage lid 22 is closed after a predetermined time has elapsed.

記憶部30は、この発明のコイン識別装置の各機能を実行するのに必要な情報や、プログラムを記憶する部分であり、主として、ROM,RAM,フラッシュメモリなどの半導体記憶素子、HDD,SSDなどの記憶装置、その他CD−ROMなどの記憶媒体が用いられる。
記憶部30には、たとえば、収納振分位置31、硬貨識別位置32、硬貨判定情報33、入力画像データ34、投入硬貨情報35などが記憶される。
The storage unit 30 is a part for storing information and programs necessary for executing each function of the coin identification device of the present invention, and is mainly a semiconductor storage element such as ROM, RAM, flash memory, HDD, SSD, etc. And other storage media such as a CD-ROM are used.
The storage unit 30 stores, for example, a storage distribution position 31, a coin identification position 32, coin determination information 33, input image data 34, input coin information 35, and the like.

収納振分位置31(以下、単に、振分位置とも呼ぶ)は、搬送されてきた硬貨を所定の収納庫に収納するか否かを判定するための位置であり、図3などに示すように、各収納庫の直前の位置に設けられる。
収納振分位置31は、識別対象の硬貨よりも大きな面積を持つ領域とし、硬貨が通過する搬送路上に予め設けるものとする。
また、各硬貨の種類ごとに、収納振分位置31は予め固定配置されており、その領域がたとえば円形であったとすると、図4に示したXY座標に対するその円の中心位置のXY座標で、各収納振分位置31を特定するものとする。
The storage distribution position 31 (hereinafter also simply referred to as the distribution position) is a position for determining whether or not the conveyed coins are stored in a predetermined storage, as shown in FIG. It is provided at a position immediately before each storage.
The storage distribution position 31 is an area having a larger area than the coin to be identified, and is provided in advance on a conveyance path through which the coin passes.
Further, for each type of coin, the storage distribution position 31 is fixedly arranged in advance, and if the area is circular, for example, the XY coordinates of the center position of the circle with respect to the XY coordinates shown in FIG. Each storage distribution position 31 is specified.

図2(a)に、収納振分位置31の一実施例の説明図を示す。
ここでは、6種類の硬貨の振分位置の座標と、排出口54の振分位置54bの座標とが、予め設定記憶されている。
たとえば、500円硬貨の振分位置の中心位置を示す座標は(x6,y6)であり、排出口の振分位置54bを示す座標は(x7,y7)に予め設定されている。
排出口54は、図3などに示すように搬送路に設けられ、種類が識別できなかった硬貨(たとえば、偽硬貨)を、外部へ排出するための開口である。排出口振分位置54bは、搬送されてきた硬貨を排出するか否かを判定するための位置である。
たとえば、投入された硬貨が、他国の硬貨や、特定の店舗でのみ利用される硬貨であったために、硬貨識別部14が、投入された硬貨の種類を識別できなかった場合、収納制御部19が、種類を識別できなかった硬貨を、排出口54から外部へ排出させる。
具体的には、排出口54の上の排出ふた54aを開放する。
この収納振分位置31は、投入硬貨情報35として記憶される投入硬貨の現在位置と比較される情報であり、硬貨が所定の振分位置へ到着したか否かの判断に用いられる。
FIG. 2A shows an explanatory diagram of one embodiment of the storage distribution position 31.
Here, the coordinates of the distribution positions of the six types of coins and the coordinates of the distribution position 54b of the discharge port 54 are preset and stored.
For example, the coordinates indicating the center position of the distribution position of the 500 yen coin are (x6, y6), and the coordinates indicating the discharge position 54b are preset to (x7, y7).
As shown in FIG. 3 and the like, the discharge port 54 is an opening for discharging a coin (for example, a false coin) whose type cannot be identified to the outside. The discharge port distribution position 54b is a position for determining whether or not to discharge the conveyed coins.
For example, when the inserted coin is a coin of another country or a coin used only in a specific store, and the coin identifying unit 14 cannot identify the type of the inserted coin, the storage control unit 19 However, the coin whose type could not be identified is discharged from the discharge port 54 to the outside.
Specifically, the discharge lid 54a above the discharge port 54 is opened.
The storage distribution position 31 is information to be compared with the current position of the inserted coin stored as the inserted coin information 35, and is used to determine whether or not the coin has arrived at a predetermined distribution position.

硬貨識別位置32(以下、単に、識別位置とも呼ぶ)は、投入された硬貨の種類を識別するための位置であり、この位置に硬貨が搬送されてきたときの画像データを利用して、硬貨識別部14がその硬貨の種類を識別する。
硬貨識別位置32は、搬送路上に固定的に設けられ、たとえば、図3に示すような位置に予め設けられる。
硬貨識別位置32も、識別対象の硬貨よりも大きな面積を持つ領域とし、その領域がたとえば円形であったとすると、図4に示したXY座標系に対するその円の中心位置のXY座標で、その識別位置32を特定するものとする。
図2(b)および図4に示すように、硬貨識別位置32は、円の中心をAとすると、A(x0,y0)で表される。
The coin identification position 32 (hereinafter, also simply referred to as an identification position) is a position for identifying the type of the inserted coin, and the image data when the coin is conveyed to this position is used to recognize the coin. The identification unit 14 identifies the type of the coin.
The coin identification position 32 is fixedly provided on the conveyance path, and is provided in advance at a position as shown in FIG. 3, for example.
The coin identification position 32 is also an area having a larger area than the coin to be identified, and if the area is, for example, a circle, the identification is made with the XY coordinates of the center position of the circle with respect to the XY coordinate system shown in FIG. The position 32 is specified.
As shown in FIGS. 2B and 4, the coin recognition position 32 is represented by A (x0, y0), where A is the center of the circle.

硬貨判定情報33(以下、基準画像とも呼ぶ)は、識別すべき複数の硬貨の画像データを、硬貨の種類ごとに予め記憶したものであり、硬貨の種類を識別するために、入力画像データの比較画像として利用される情報である。
図2(c)に、硬貨判定情報33の一実施例を示す。
ここでは、6種類の硬貨について、それぞれ、基準画像となるファイルを記憶している。
たとえば、1円硬貨であれば、1円の表面の画像データと、1円の裏面の画像データを、基準画像ファイル(IMG001)として記憶する。
ただし、図3や図4などに示すように、カメラ12によって撮影される硬貨の画像は、ななめ上方から撮影される場合は、硬貨の表面および裏面を真上から撮影した画像とは厳密には異なる。
したがって基準画像33として記憶するファイルの中に、真上から撮影された表面と裏面の画像に加えて、あるいは、これらの画像に代えて、実際にカメラが配置されている位置のななめ上方から硬貨の表面と裏面とを撮影した画像を記憶してもよい。
また、基準画像33としては、このような6種類の硬貨だけでなく、利用される店舗や使用状況に応じて、他の硬貨(他国の硬貨、特定の店舗でのみ使用される専用硬貨など)の画像ファイルを記憶してもよい。
The coin determination information 33 (hereinafter also referred to as a reference image) is a pre-stored image data of a plurality of coins to be identified for each type of coin. In order to identify the type of coin, This is information used as a comparative image.
FIG. 2C shows an example of the coin determination information 33.
Here, a file serving as a reference image is stored for each of the six types of coins.
For example, in the case of a 1-yen coin, image data on the front surface of 1 yen and image data on the back surface of 1 yen are stored as a reference image file (IMG001).
However, as shown in FIG. 3 and FIG. 4 and the like, when the image of the coin photographed by the camera 12 is photographed from above the lick, it is strictly not the image photographed from directly above the front and back surfaces of the coin. Different.
Therefore, in the file stored as the reference image 33, in addition to the front and back images taken from directly above, or in place of these images, coins from above the slanted position where the camera is actually placed You may memorize | store the image which image | photographed the front surface and the back surface.
Moreover, as the reference image 33, not only such six types of coins, but also other coins (coins in other countries, dedicated coins used only in specific stores, etc.) depending on the store used and the usage situation. The image file may be stored.

入力画像データ34は、カメラ12で撮影された画像データであり、たとえば、図4および図5に示したような画像データである。
上記したように、この入力画像データ34の中には、カメラ12に最も近い識別位置32から、カメラから最も遠い収納庫の位置までの空間が含まれている。
また、入力画像データ34は、所定時間間隔で連続撮影された静止画でもよく、あるいは、動画でもよい。
少なくとも、最初の硬貨が投入された後に、入力画像データ34の記憶を開始し、その後一定期間(たとえば、10秒間)が経過するまで、入力画像データ34を記憶しつづけるようにする。あるいは、硬貨の収納庫への収納が終了するまで、入力画像データ34を記憶する。
また、つり銭の支払処理のような特定のイベント処理が終了した後、記憶されていた入力画像データ34を消去してもよい。
The input image data 34 is image data photographed by the camera 12, and is, for example, image data as shown in FIGS.
As described above, the input image data 34 includes a space from the identification position 32 closest to the camera 12 to the storage location farthest from the camera.
Further, the input image data 34 may be a still image continuously photographed at a predetermined time interval or a moving image.
At least after the first coin is inserted, the storage of the input image data 34 is started, and then the input image data 34 is continuously stored until a certain period (for example, 10 seconds) elapses thereafter. Alternatively, the input image data 34 is stored until the coins are stored in the storage.
The stored input image data 34 may be deleted after a specific event process such as a change payment process is completed.

投入硬貨情報35は、投入された各硬貨の種類と、搬送路上の硬貨の現在位置とを対応づけて記憶したものである。
種類は、上記した硬貨識別部14によって決定される。
また、現在位置は、カメラ12によって撮影された入力画像データ34を利用して、ほぼリアルタイムで、搬送路上の硬貨の位置を示す座標を算出して、その硬貨の種類と対応させて記憶させる。
図2(d)に、投入硬貨情報35の一実施例を示している。ここでは、4枚の硬貨が、「10円」、「10円」、「100円」、「5円」の順番に投入された場合を示しており、それぞれの硬貨の現在位置が、XY座標で記憶されている。
また、硬貨識別部14によって、投入された硬貨の種類を識別することができなかった場合は、投入硬貨情報35の種類として、たとえば「未定」や「偽硬貨」のような情報が記憶され、その硬貨の現在位置も記憶される。種類が「未定」の硬貨は、その現在位置が、排出口の振分位置(x7,y7)にほぼ一致した場合に、排出口54の上方の排出ふた54aが開かれて、排出口54から外部に排出される。
The inserted coin information 35 stores the type of each inserted coin and the current position of the coin on the transport path in association with each other.
The type is determined by the coin identifying unit 14 described above.
Also, the current position is calculated in almost real time using the input image data 34 taken by the camera 12, and the coordinates indicating the position of the coin on the transport path are calculated and stored in correspondence with the type of the coin.
FIG. 2D shows an example of the inserted coin information 35. Here, the case where four coins are inserted in the order of “10 yen”, “10 yen”, “100 yen”, “5 yen” is shown, and the current position of each coin is expressed in XY coordinates. Is remembered.
In addition, when the coin identifying unit 14 cannot identify the type of the inserted coin, information such as “undecided” or “fake coin” is stored as the type of the inserted coin information 35, for example. The current position of the coin is also stored. When the current position of the coin of “undecided” type substantially coincides with the distribution position (x7, y7) of the discharge port, the discharge lid 54a above the discharge port 54 is opened and It is discharged outside.

<硬貨の識別および振分処理>
ここでは、まず図3を用いて、硬貨の搬送、識別および振分処理の一実施例の概要について説明する。
図3(a)には、カメラ12で撮影される搬送路52の手前の位置(図の右端)に、投入された硬貨51が搬送されてきた状態を示している。
また、搬送路には、右側方向から順に、識別位置32、排出口振分位置54b、排出ふた54a、1円振分位置31a、1円収納庫の収納ふた22a、5円振分位置31b、5円収納庫の収納ふた22b、10円振分位置31c、10円収納庫の収納ふた22c、50円振分位置31d、50円収納庫の収納ふた22d、100円振分位置31e、100円収納庫の収納ふた22e、500円振分位置31f、500円収納庫の収納ふた22fが配置されているものとする。
さらに、排出ふた54aの下方には排出口54があり、各硬貨の収納ふたの下方には、それぞれ収納庫があるものとする。
<Coin identification and sorting>
Here, the outline | summary of one Example of the conveyance of a coin, identification, and a distribution process is first demonstrated using FIG.
FIG. 3A shows a state where the inserted coin 51 has been transported to a position before the transport path 52 photographed by the camera 12 (right end in the figure).
Also, in the conveyance path, in order from the right side, an identification position 32, a discharge port distribution position 54b, a discharge lid 54a, a one-circle distribution position 31a, a one-yen storage box 22a, a five-circle distribution position 31b, Storage lid 22b for 5-yen storage, 10-yen allocation position 31c, storage lid 22c for 10-yen storage, 50-yen allocation position 31d, storage lid 22d for 50-yen storage, 100-yen allocation position 31e, 100 yen Assume that the storage lid 22e of the storage, the 500 yen sorting position 31f, and the storage lid 22f of the 500 yen storage are arranged.
Further, it is assumed that there is a discharge port 54 below the discharge lid 54a, and a storage is provided below each coin storage lid.

図3(a)の搬送状態からさらに硬貨51が左方向に搬送されたとすると、図3(b)のような状態となる。
図3(b)は、識別位置32に、硬貨51が搬送された状態を示している。
この搬送状態において、カメラ12によって撮影された画像データを識別することにより、識別位置32に硬貨51が存在することが検出される。
このとき、識別位置32の領域の画像(識別用画像)を切り出して、硬貨識別部14が、硬貨判定情報33に含まれる基準画像ファイルを利用して、識別位置32にある硬貨51の種類を識別する。
たとえば、識別用画像から取得された硬貨の画像が、5円の基準画像に一致したとすると、投入された硬貨51は、5円であると識別される。
また、記憶部30の投入硬貨情報35に、識別された硬貨の種類と、現在位置の座標とが記憶される。
If the coin 51 is further conveyed leftward from the conveyance state of FIG. 3A, a state as shown in FIG. 3B is obtained.
FIG. 3B shows a state where the coin 51 is conveyed to the identification position 32.
In this transport state, it is detected that the coin 51 exists at the identification position 32 by identifying the image data photographed by the camera 12.
At this time, an image (identification image) of the region at the identification position 32 is cut out, and the coin identification unit 14 uses the reference image file included in the coin determination information 33 to determine the type of the coin 51 at the identification position 32. Identify.
For example, if the coin image acquired from the identification image matches the reference image of 5 yen, the inserted coin 51 is identified as 5 yen.
In addition, the type of the identified coin and the coordinates of the current position are stored in the inserted coin information 35 of the storage unit 30.

その後、さらに硬貨51が左方向に一定速度で搬送されたとすると、図3(c)のような状態となる。
図3(c)は、5円と識別された5円硬貨が、5円振分位置31bに搬送された状態を示している。硬貨51の搬送中も、画像データをほぼリアルタイムで取得することにより、現在位置の座標を更新する。
図3(c)の搬送状態において、カメラ12によって撮影された画像データを認識することによって、5円振分位置31bに到着した硬貨51は、5円硬貨であると判断される。
Thereafter, if the coin 51 is further conveyed leftward at a constant speed, a state as shown in FIG.
FIG. 3C shows a state in which a 5-yen coin identified as 5-yen is conveyed to the 5-yen sorting position 31b. While the coin 51 is being conveyed, the coordinates of the current position are updated by acquiring image data in substantially real time.
In the transport state of FIG. 3C, by recognizing the image data taken by the camera 12, the coin 51 that has arrived at the 5-yen distribution position 31b is determined to be a 5-yen coin.

5円振分位置31bに到着した硬貨51は5円硬貨であるので、5円用の収納庫23bにこの5円硬貨を収納するために、この収納庫23bの上に取り付けられた収納ふた22bを開放する。
この後、5円硬貨51は、さらに左方向に搬送されるので、5円用の収納庫23bの中に落下して収納されることになる。
Since the coin 51 that has arrived at the 5-yen distribution position 31b is a 5-yen coin, the storage lid 22b attached on the storage 23b in order to store the 5-yen coin in the 5-yen storage 23b. Is released.
Thereafter, since the 5-yen coin 51 is further conveyed leftward, it falls into the 5-yen storage 23b and is stored.

以上が、投入された硬貨の識別、搬送および振分処理の概要である。
これによれば、1台のカメラ12によって、図3(a)に示すように、硬貨の識別位置32と、各硬貨の振分位置とを含む画像データを撮影するので、各振分位置を硬貨が通過したことを検出するためのセンサーを、各振分位置にそれぞれ設ける必要はない。
したがって、位置検出用のセンサーを設けないので、従来の装置に比べて、低価格化を図ることができ、かつセンサーを配置するスペースと、センサーまでの配線も不要となるので、装置の小型化を図ることができる。
The above is the outline of the identification, conveyance and distribution processing of the inserted coins.
According to this, as shown in FIG. 3A, image data including the coin identification position 32 and the distribution position of each coin is photographed by one camera 12, so that each distribution position is It is not necessary to provide a sensor for detecting that a coin has passed at each sorting position.
Therefore, since no position detection sensor is provided, the price can be reduced compared to conventional devices, and the space for placing the sensor and the wiring to the sensor are not required. Can be achieved.

(第1実施例:1枚の投入硬貨の収納処理)
図4、図5および図6を用いて、100円硬貨が投入された場合に、その100円硬貨が100円用の収納庫に収納されるまでの一連の処理を説明する。
図4および図5には、時間が経過するごとに変化するカメラ12によって撮影された入力画像データを示している。
図6には、搬送路52を搬送される100円硬貨の搬送状態を示している。
図4(a)と図6(a)は、投入された100円硬貨が、識別位置32まで搬送されてきた状態を示している。
このとき、図4(a)に示すような画像データが撮影され、入力画像データ34として記憶される。
画像認識部13は、この入力画像データ34と、硬貨が投入されていない状態の画像データを比較することによって、図4(a)に示す搬送状態では、識別位置32に、硬貨51に相当するものが存在すると認識する。
(First embodiment: storing processing of one input coin)
A series of processes until a 100-yen coin is stored in a storage for 100 yen will be described with reference to FIGS. 4, 5, and 6.
4 and 5 show input image data captured by the camera 12 that changes with time.
In FIG. 6, the conveyance state of the 100 yen coin conveyed in the conveyance path 52 is shown.
FIG. 4A and FIG. 6A show a state where the inserted 100-yen coin has been conveyed to the identification position 32.
At this time, image data as shown in FIG. 4A is captured and stored as input image data 34.
The image recognition unit 13 compares the input image data 34 with image data in a state in which no coins are inserted, thereby corresponding to the coin 51 at the identification position 32 in the transport state shown in FIG. Recognize that something exists.

そこで、画像認識部13は、入力画像データ34から、識別位置32の部分の画像(識別用画像)を切り出し、硬貨識別部14に与える。
硬貨識別部14は、取得した識別用画像の中の硬貨に相当する部分の画像(入力硬貨画像)と、記憶部30に予め記憶された基準画像33とを比較する。
入力硬貨画像が、記憶部30に記憶された基準画像ファイルのうち、100円の基準画像ファイルの画像とほぼ一致すると判断された場合、識別位置32に存在する硬貨の種類を100円と判断する。
これにより、投入された硬貨の種類が100円と判断されたので、投入硬貨情報35に、種類として「100円」を記憶させる。
また、100円硬貨は、現在、識別位置32にあるので、投入硬貨情報35の現在位置として、図2(b)に示した硬貨識別位置32の座標(x0,y0)を記憶させる。
Therefore, the image recognition unit 13 cuts out an image (identification image) of the portion of the identification position 32 from the input image data 34 and gives it to the coin identification unit 14.
The coin identifying unit 14 compares the image (input coin image) corresponding to the coin in the acquired identification image with the reference image 33 stored in the storage unit 30 in advance.
When it is determined that the input coin image substantially matches the image of the 100 yen reference image file among the reference image files stored in the storage unit 30, the type of coin existing at the identification position 32 is determined to be 100 yen. .
As a result, since the type of the inserted coin is determined to be 100 yen, “100 yen” is stored as the type in the inserted coin information 35.
Further, since the 100-yen coin is currently at the identification position 32, the coordinates (x0, y0) of the coin identification position 32 shown in FIG. 2B are stored as the current position of the inserted coin information 35.

この後、100円硬貨は、搬送ベルトによって、一定速度で、収納庫のある方向に向かって搬送される。
硬貨の搬送中も、カメラ12によって搬送路の画像データを常に入力しつづけ、識別された100円硬貨の現在位置を追跡する。
たとえば、図4(b)に示すように、識別された100円硬貨が、5円振分位置31bに到着した場合、硬貨位置検出部15が、図4(b)の搬送状態の入力画像データ34から、100円硬貨の現在位置を検出し、投入硬貨情報35として記憶されていた100円硬貨の現在位置に、5円振分位置31bに相当する座標値(x2,y2)を記憶させる。
Thereafter, 100-yen coins are transported by the transport belt at a constant speed toward the direction in which the storage is located.
Even during the transfer of coins, image data of the transfer path is continuously input by the camera 12 to track the current position of the identified 100 yen coin.
For example, as shown in FIG. 4B, when the identified 100 yen coin arrives at the 5-yen distribution position 31b, the coin position detection unit 15 inputs the input image data in the transport state of FIG. 34, the current position of the 100-yen coin is detected, and the coordinate value (x2, y2) corresponding to the 5-yen distribution position 31b is stored in the current position of the 100-yen coin stored as the inserted coin information 35.

このように、ほぼリアルタイムで取得される入力画像データ34から種類が識別された硬貨の現在位置が検出され、投入硬貨情報35に記憶されている100円硬貨に対応する現在位置の内容が、検出された新たな現在位置に更新される。
また、図4(b)の搬送状態では、5円振分位置31bに到着した硬貨は、5円ではなく、100円であるので、5円収納ふた22bは閉じたままとし、100円硬貨は、閉じられた5円収納ふた22bの上を通過していく。
In this manner, the current position of the coin whose type is identified is detected from the input image data 34 acquired in substantially real time, and the content of the current position corresponding to the 100 yen coin stored in the inserted coin information 35 is detected. Updated to the new current position.
4B, the coin arriving at the 5-yen distribution position 31b is 100 yen instead of 5 yen, so the 5-yen storage lid 22b is kept closed, and the 100-yen coin is Then, it passes over the closed 5-yen storage lid 22b.

この後、さらに100円硬貨が搬送されていくと、図5(a)および図6(b)に示すように、100円硬貨は、100円振分位置31eのところまで移動してくる。
このとき、投入硬貨情報35のうち、100円硬貨に対応する現在位置には、100円振分位置31eの座標(x5,y5)にほぼ一致する値が記憶される。
硬貨到着判定部16は、投入硬貨情報35をチェックし、投入された硬貨の種類に対応して記憶された現在位置が、図2(a)に示す収納振分位置31のうち、その硬貨の種類に対応して記憶されている振分位置に一致可能か否かを判定する。
Thereafter, when the 100-yen coin is further conveyed, the 100-yen coin moves to the 100-yen distribution position 31e as shown in FIGS. 5 (a) and 6 (b).
At this time, in the inserted coin information 35, a value that substantially matches the coordinates (x5, y5) of the 100-yen distribution position 31e is stored at the current position corresponding to the 100-yen coin.
The coin arrival determination unit 16 checks the inserted coin information 35, and the current position stored corresponding to the type of the inserted coin is the stored distribution position 31 shown in FIG. It is determined whether or not it is possible to match the distribution position stored corresponding to the type.

投入された硬貨の種類が100円の場合、投入硬貨情報35の100円硬貨の現在位置が、収納振分位置31のうち、100円の振分位置(x5,y5)と比較され、一致可能か否かが判定される。
図5(a)および図6(b)の搬送状態の場合、搬送されてきた100円硬貨の現在位置は、100円の振分位置(x5,y5)とほぼ一致するので、100円硬貨は、100円振分位置31eに到着したと判定される。
100円硬貨が100円振分位置31eに到着したと判定された場合、ただちに、収納制御部19が、100円収納ふた22eを開放する。
その後、100円硬貨は一定速度で、搬送方向53に移動していくので、図5(b)および図6(c)に示すように、100円硬貨は、100円収納ふた22eのあった位置まで移動すると、100円収納庫23eの中に落下して収納される。
When the type of the inserted coin is 100 yen, the current position of the 100-yen coin in the inserted coin information 35 is compared with the 100-yen sorting position (x5, y5) in the storage sorting position 31 and can be matched. It is determined whether or not.
5 (a) and 6 (b), the current position of the 100-yen coin that has been conveyed substantially coincides with the 100-yen sorting position (x5, y5). , It is determined that it has arrived at the 100 yen allocation position 31e.
When it is determined that the 100 yen coin has arrived at the 100 yen allocation position 31e, the storage control unit 19 immediately opens the 100 yen storage lid 22e.
Thereafter, since the 100-yen coin moves at a constant speed in the transport direction 53, the 100-yen coin is located at the position where the 100-yen storage lid 22e was located, as shown in FIGS. Is moved into the 100-yen storage 23e and stored.

(第2実施例:複数枚の投入硬貨の収納処理)
ここでは、図7および図8を用いて、複数枚の硬貨が連続して投入された場合に、それらの硬貨が、それぞれ対応する収納庫に収納されるまでの一連の処理を説明する。
図7には、3枚の硬貨が投入された場合の入力画像データの一実施例を示している。
図8には、投入された3枚の硬貨の搬送状態の説明図を示している。
(2nd Example: Storage processing of a plurality of input coins)
Here, with reference to FIG. 7 and FIG. 8, when a plurality of coins are continuously inserted, a series of processing until the coins are respectively stored in the corresponding storages will be described.
FIG. 7 shows an example of input image data when three coins are inserted.
FIG. 8 shows an explanatory diagram of the transported state of three inserted coins.

図7(a)は、図8(a)に示す搬送状態のときに、カメラ12によって撮影された入力画像データを示している。
図7(a)および図8(a)において、3枚の硬貨(100円、500円、1円)が、この順序で投入され、100円硬貨が100円振分位置31eまで移動し、500円硬貨が50円振分位置31d付近まで移動し、1円硬貨が識別位置32まで移動してきた搬送状態を示している。
FIG. 7A shows input image data photographed by the camera 12 in the conveyance state shown in FIG.
7 (a) and 8 (a), three coins (100 yen, 500 yen, 1 yen) are inserted in this order, and the 100 yen coin moves to the 100 yen distribution position 31e. A conveyance state in which the yen coin has moved to the vicinity of the 50-yen distribution position 31d and the 1-yen coin has moved to the identification position 32 is shown.

このとき、カメラ12で撮影された入力画像データ34には、3枚の硬貨が撮影されている。
画像認識部13は、入力画像データ34と、硬貨が搬送されていない状態の画像とを比較することにより、3枚の硬貨が図7(a)に示すような位置にあることを認識する。
1枚の硬貨が識別位置32に存在することがわかるので、識別位置32の部分画像を切りとり、上記したように硬貨識別部14が、識別位置32にある硬貨の種類を識別する。
切り取った識別位置32の部分画像に含まれる硬貨の画像が、基準画像33のうち、1円の基準画像と一致すれば、その硬貨の種類を1円と識別し、投入硬貨情報35に、種類と現在位置を記憶する。
At this time, three coins are photographed in the input image data 34 photographed by the camera 12.
The image recognition unit 13 compares the input image data 34 with an image in a state where no coins are conveyed, thereby recognizing that three coins are in a position as shown in FIG.
Since it can be seen that one coin exists at the identification position 32, a partial image of the identification position 32 is cut out, and the coin identification unit 14 identifies the type of coin at the identification position 32 as described above.
If the image of the coin included in the cut partial image of the identification position 32 matches the reference image of 1 yen in the reference image 33, the type of the coin is identified as 1 yen and And memorize the current position.

また、入力画像データ34aの100円振分位置31eまできた硬貨は、識別位置32を通過するときに、すでに100円硬貨と識別され、その種類と現在位置は、それぞれ、「100円」と(x5,y5)として、投入硬貨情報35に記憶されている。このとき、硬貨到着判定部16は、100円硬貨の現在位置が、収納振分位置31の100円の振分位置(x5,y5)と一致することを確認することによって、100円硬貨が、100円振分位置に到着したと判定する。
これにより、収納制御部19が、100円収納庫23eの上の収納ふた22eを開放する。
その後、100円硬貨が搬送方向53にさらに搬送されると、100円硬貨は、100円用の収納庫23eに落下して収納されることになる。
また、500円硬貨については、50円振分位置付近に存在するが、硬貨位置検出部15によって、現在位置として、50円振分位置付近の座標が、投入硬貨情報35の中の500円硬貨に対応する現在位置に記憶される。
Also, the coin that has reached the 100-yen distribution position 31e in the input image data 34a is already identified as a 100-yen coin when passing through the identification position 32, and its type and current position are “100 yen” ( x5, y5) are stored in the inserted coin information 35. At this time, the coin arrival determination unit 16 confirms that the current position of the 100 yen coin matches the 100 yen distribution position (x5, y5) of the storage distribution position 31, It is determined that it has arrived at the 100 yen allocation position.
Thereby, the storage control unit 19 opens the storage lid 22e on the 100-yen storage 23e.
Thereafter, when the 100-yen coin is further conveyed in the conveying direction 53, the 100-yen coin is dropped and stored in the storage unit 23e for 100 yen.
The 500-yen coin exists in the vicinity of the 50-yen allocation position, but the coin position detection unit 15 determines that the coordinates near the 50-yen allocation position are the 500-yen coin in the input coin information 35 as the current position. Is stored at the current position corresponding to.

図7(b)および図8(b)は、3枚の硬貨がさらに搬送され、1円硬貨が、1円振分位置31aまで移動した状態を示している。
このとき、100円硬貨は、すでに100円用の収納庫23eに収納され、500円硬貨は、500円振分位置よりも手前の100円収納庫の上の収納ふた22e付近まできたとする。
この搬送状態において、硬貨到着判定部16が、1円であると識別された硬貨が、1円振分位置31aに到着したことを確認すると、収納制御部19が、1円収納庫23aの上の収納ふた22aを開放する。
この後、1円硬貨が搬送方向53にさらに搬送されると、1円硬貨は、1円用の収納庫23aに落下して収納されることになる。
500円硬貨については、投入硬貨情報35の中の500円硬貨に対応する現在位置に、100円用の収納庫の収納ふた22e付近の座標が記憶される。
FIGS. 7B and 8B show a state in which three coins are further conveyed and the one-yen coin has moved to the one-yen distribution position 31a.
At this time, it is assumed that the 100-yen coin has already been stored in the storage unit 23e for 100-yen, and the 500-yen coin has reached the vicinity of the storage lid 22e on the 100-yen storage in front of the 500-yen allocation position.
In this transport state, when the coin arrival determination unit 16 confirms that the coin identified as 1 yen has arrived at the 1-yen distribution position 31a, the storage control unit 19 sets the top of the 1-yen storage box 23a. The storage lid 22a is opened.
Thereafter, when the 1-yen coin is further transported in the transport direction 53, the 1-yen coin is dropped and stored in the 1-yen storage 23a.
For the 500 yen coin, the coordinates in the vicinity of the storage lid 22e of the storage for 100 yen are stored at the current position corresponding to the 500 yen coin in the input coin information 35.

図8(c)は、500円硬貨が、500円振分位置31fまで移動してきた搬送状態を示している。
このとき、100円硬貨と1円硬貨は、すでにそれぞれ対応する収納庫(23e,23a)に収納されている。
この搬送状態において、硬貨位置検出部15によって、カメラ12によって撮影された入力画像データ34を利用して、500円硬貨の現在位置の座標が(x6,y6)であることが検出されると、この座標が、投入硬貨情報35の中の500円硬貨に対応する現在位置として記憶される。
FIG. 8C shows a transport state in which a 500-yen coin has moved to the 500-yen sorting position 31f.
At this time, 100-yen coins and 1-yen coins are already stored in the corresponding storages (23e, 23a).
In this transport state, when the coin position detector 15 detects that the coordinates of the current position of the 500 yen coin is (x6, y6) using the input image data 34 taken by the camera 12, This coordinate is stored as the current position corresponding to the 500 yen coin in the inserted coin information 35.

硬貨到着判定部16が、投入硬貨情報35をチェックし、500円硬貨の現在位置が、収納振分位置31の中の500円に対応する振分位置(x6,y6)と一致することを確認したとすると、500円硬貨が500円振分位置31fに到着したと判定する。
これにより、収納制御部19が、500円用の収納庫23fの上の収納ふた22fを開放する。
この後、500円硬貨が搬送方向53にさらに搬送されると、500円硬貨は、500円用の収納庫23fに落下して収納される。
The coin arrival determination unit 16 checks the inserted coin information 35 and confirms that the current position of the 500 yen coin matches the distribution position (x6, y6) corresponding to 500 yen in the storage distribution position 31. If so, it is determined that the 500 yen coin has arrived at the 500 yen allocation position 31f.
Thereby, the storage controller 19 opens the storage lid 22f on the storage box 23f for 500 yen.
Thereafter, when the 500-yen coin is further conveyed in the conveyance direction 53, the 500-yen coin is dropped and stored in the 500-yen storage box 23f.

上記のように、3枚の硬貨が連続して投入された場合、1台のカメラ12によって撮影された入力画像データの中に、3枚の硬貨が含まれていたとしても、各硬貨が存在する位置の部分画像を取得して、硬貨の種類を識別し、さらに各硬貨の現在位置を認識し、硬貨の現在位置と、その硬貨の種類と対応づけて予め記憶された収納振分位置とを比較することによって、硬貨が、対応する振分位置のところに到着したことを判定することができる。
すなわち、入力画像データを利用することによって、硬貨の種類の識別と、硬貨の振分位置への到着の判定とを行うことができ、硬貨の通過位置を検出するためのセンサを設ける必要がない。
As described above, when three coins are continuously inserted, even if three coins are included in the input image data photographed by one camera 12, each coin exists. A partial image of the position to be identified, the type of the coin is identified, the current position of each coin is further recognized, the current position of the coin, and the storage distribution position stored in advance in association with the type of the coin, , It can be determined that the coin has arrived at the corresponding sorting position.
That is, by using the input image data, it is possible to identify the type of coin and determine the arrival of the coin at the sorting position, and there is no need to provide a sensor for detecting the passing position of the coin. .

<硬貨の搬送識別振分処理のフロー>
図9、図10、図11および図12を利用して、この発明の硬貨識別収納装置の搬送処理等の一実施例を示す。
図9に、この発明の硬貨搬送識別振分処理の一実施例について、主要なフローチャートを示す。
ここでは、説明を容易なものとするために、1枚の硬貨が投入された場合の一連の処理のフローについて説明する。
複数枚の硬貨が連続して投入された場合は、硬貨投入検出処理、搬送処理、識別処理、振分処理などが、それぞれ時分割多重処理によって並行して実行される。
<Flow of coin identification processing for identification>
9, 10, 11, and 12 are used to show an embodiment of the transfer process and the like of the coin identification storage device of the present invention.
FIG. 9 shows a main flowchart of one embodiment of the coin conveyance identification distribution process of the present invention.
Here, in order to facilitate the explanation, a flow of a series of processes when one coin is inserted will be described.
When a plurality of coins are continuously inserted, a coin insertion detection process, a conveyance process, an identification process, a sorting process, and the like are executed in parallel by time division multiplexing processes.

図9のステップS1において、制御部11は、カメラ12を起動させ、たとえば、図4に示すように、搬送路全体の画像の撮影を開始する。カメラ12によって撮影された画像データは、入力画像データ34として記憶される。
ステップS2において、硬貨識別位置を設定し、この位置座標を、硬貨識別位置32として、記憶部30に記憶する。
硬貨識別位置32の設定は、図示しない入力部を用いて、装置の出荷前に、担当者がその座標位置を入力してもよい。
あるいは、搬送路の硬貨識別位置とすべき領域に、所定のマーカを予め付加しておき、カメラで撮影された入力画像データを利用して、画像認識部13がマーカの位置を認識して、自動的に、硬貨識別位置32の座標を、記憶部30に設定記憶してもよい。
In step S1 of FIG. 9, the control unit 11 activates the camera 12 and starts capturing an image of the entire conveyance path, for example, as shown in FIG. Image data taken by the camera 12 is stored as input image data 34.
In step S <b> 2, a coin identification position is set, and this position coordinate is stored in the storage unit 30 as a coin identification position 32.
The coin identification position 32 may be set by a person in charge using an input unit (not shown) before the device is shipped.
Alternatively, a predetermined marker is added in advance to the area to be the coin identification position on the conveyance path, and the image recognition unit 13 recognizes the position of the marker using input image data captured by the camera. The coordinates of the coin identification position 32 may be set and stored in the storage unit 30 automatically.

ステップS3において、各硬貨ごとの収納振分位置を設定し、この位置座標を、各硬貨の収納振分位置31として、記憶部30に記憶する。
収納振分位置31の設定も、装置の出荷前に、担当者がその座標位置を入力してもよい。
あるいは、各収納振分位置とすべき領域に、それぞれ所定のマーカを予め付加しておき、カメラで撮影された入力画像データを利用して、画像認識部13がマーカの位置を認識して、自動的に、各収納振分位置31の座標を、記憶部30に設定記憶してもよい。
In step S3, the storage distribution position for each coin is set, and the position coordinates are stored in the storage unit 30 as the storage distribution position 31 of each coin.
The storage allocation position 31 may also be set by a person in charge before shipping the device.
Alternatively, a predetermined marker is previously added to each storage distribution position, and the image recognition unit 13 recognizes the position of the marker using input image data captured by the camera. The coordinates of each storage distribution position 31 may be set and stored in the storage unit 30 automatically.

なお、各硬貨を識別する基準画像となる図2(c)に示した硬貨判定情報33は、出荷前に記憶部30に予め記憶しておく。
また、上記のように、硬貨判定情報などの予め記憶しておくべき情報は、図示しない通信部を備えて、インターネットなどのネットワークを介して、予め設定されるべき情報を記憶したサーバなどから受信するようにしてもよい。
Note that the coin determination information 33 shown in FIG. 2C, which is a reference image for identifying each coin, is stored in advance in the storage unit 30 before shipping.
As described above, information to be stored in advance such as coin determination information is received from a server or the like that has a communication unit (not shown) and stores information to be set in advance via a network such as the Internet. You may make it do.

ステップS4において、硬貨投入検出部18が、硬貨投入検出処理を行う。
ここでは、硬貨投入口21に、硬貨が投入されたか否かをチェックする。
ステップS5において、硬貨が投入されたことを検出した場合はステップS6に進み、そうでない場合はステップS4に戻る。
ステップS6において、硬貨搬送部17が、投入された硬貨の搬送処理を開始する。
投入された硬貨は、所定の経路を通過して、搬送路の最初の地点まで導かれ、搬送ベルトに搭載されるものとする。
硬貨が搬送ベルトに搭載されたことを、たとえば、光学センサーによって検知した場合に、制御部11は、搬送ベルト17の動作を開始させる。
搬送ベルト17の動作は、ステップS7以下の処理を実行しているときも行われる。また、投入された硬貨が所定の収納庫に収納されるか、あるいは、排出口から排出された場合に、投入された硬貨についての一連の処理が終了したので、一定時間が経過した後に搬送ベルトの動作を停止させる。
In step S4, the coin insertion detection unit 18 performs a coin insertion detection process.
Here, it is checked whether or not a coin has been inserted into the coin insertion slot 21.
If it is detected in step S5 that a coin has been inserted, the process proceeds to step S6, and if not, the process returns to step S4.
In step S <b> 6, the coin transport unit 17 starts the transport process of the inserted coins.
The inserted coin passes through a predetermined route, is guided to the first point of the conveyance path, and is mounted on the conveyance belt.
For example, when it is detected by an optical sensor that the coin is mounted on the transport belt, the control unit 11 starts the operation of the transport belt 17.
The operation of the conveyor belt 17 is also performed when the processes after step S7 are being executed. In addition, when the inserted coins are stored in a predetermined storage or are discharged from the discharge port, a series of processing for the inserted coins has been completed, and therefore, after a certain time has elapsed, the conveyor belt Stop the operation.

ステップS7において、制御部11は、カメラ12によって撮影された画像データを入力し、入力画像データ34として記憶部30に記憶する。
ステップS8において、画像認識部13が、入力画像データ34を利用して、記憶部30に記憶された硬貨識別位置32に、硬貨が存在するか否かをチェックする。
硬貨が存在する場合はステップS9に進み、存在しない場合はステップS7へ戻る。
ただし、上記したように、硬貨の搬送処理は継続して行い、複数の硬貨が投入されている場合は、他の処理が並行して行われる場合もある。
In step S <b> 7, the control unit 11 inputs image data captured by the camera 12 and stores the input image data 34 in the storage unit 30.
In step S <b> 8, the image recognition unit 13 uses the input image data 34 to check whether or not a coin exists at the coin identification position 32 stored in the storage unit 30.
If there is a coin, the process proceeds to step S9, and if not, the process returns to step S7.
However, as described above, the coin conveyance process is continuously performed, and when a plurality of coins are inserted, other processes may be performed in parallel.

ステップS9において、画像認識部13が、入力画像データ34から、硬貨識別位置32の画像を切り取り、識別用画像を取得する。
ステップS10において、硬貨識別部14が、硬貨識別処理を行う。
ここでは、硬貨識別位置32に存在する硬貨の種類を識別する。硬貨識別処理の詳細は、後述する図10のフローチャートに示す。
In step S <b> 9, the image recognition unit 13 cuts out the image at the coin recognition position 32 from the input image data 34 and acquires an image for identification.
In step S10, the coin identifying unit 14 performs a coin identifying process.
Here, the type of coin existing at the coin identification position 32 is identified. Details of the coin identification process are shown in the flowchart of FIG.

ステップS11において、硬貨位置検出部14によって検出された硬貨の現在位置の情報を用いて、硬貨到着判定部16が、硬貨振分処理を行う。
硬貨振分処理では、主として、種類が識別された後の硬貨を、所定の収納庫に収納する処理を行う。
硬貨振分処理の詳細は、後述する図11のフローチャートに示す。
In step S11, using the information on the current position of the coin detected by the coin position detection unit 14, the coin arrival determination unit 16 performs a coin distribution process.
In the coin distribution process, mainly, a process of storing the coins whose types have been identified in a predetermined storage is performed.
Details of the coin distribution process are shown in the flowchart of FIG.

ステップS12において、搬送処理を停止するタイミングを設定するためのタイマーTを初期設定し、起動させる。
ただし、投入された硬貨の振分処理を終了した後、すぐに搬送処理を停止させる場合は、タイマーTを設定するこのステップはなくてもよい。
ステップS13において、ステップS4と同様に、硬貨投入検出処理を行う。
ステップS14において、新たな硬貨の投入があった場合は、ステップS7に戻り、上記した識別および振分処理を繰り返す。
硬貨の投入がなかった場合は、ステップS15に進み、タイマーTの設定時間が経過したか否かをチェックする。
設定時間が経過していない場合は、ステップS13に戻る。設定時間が経過した場合は、ステップS16に進み、新たな硬貨の投入はないとみなし、硬貨搬送部17が、搬送ベルトの動作を止め、硬貨搬送処理を停止させる。その後、ステップS4に戻る。
In step S12, a timer T for setting the timing for stopping the conveyance process is initialized and started.
However, this step of setting the timer T may be omitted when the transfer process is stopped immediately after the process of sorting the inserted coins is completed.
In step S13, coin insertion detection processing is performed as in step S4.
If a new coin is inserted in step S14, the process returns to step S7, and the above identification and distribution process is repeated.
If no coin has been inserted, the process proceeds to step S15 to check whether or not the set time of the timer T has elapsed.
If the set time has not elapsed, the process returns to step S13. When the set time has elapsed, the process proceeds to step S16, and it is assumed that no new coins are inserted, and the coin transport unit 17 stops the operation of the transport belt and stops the coin transport process. Then, it returns to step S4.

(硬貨識別処理)
図10に、図9のステップS10に示した硬貨識別処理の一実施例のフローチャートを示す。
ここでは、主として、硬貨識別位置32にある硬貨の種類の決定を行う。
ステップS21において、ステップS9において取得した硬貨識別位置32の識別用画像と、記憶部30に予め記憶されている硬貨ごとの基準画像33との比較を行う。
この比較では、たとえば、両画像に含まれる物体の形状、色、大きさ、模様などを調べて、一致度を算出し、一致度が所定のしきい値よりも大きいか否かをチェックする。
一致度が所定のしきい値よりも大きい場合は、取得した画像はその基準画像と一致すると判断し、投入された硬貨の種類を、一致する基準画像に対応づけられた種類に決定する。
(Coin identification process)
FIG. 10 shows a flowchart of one embodiment of the coin identifying process shown in step S10 of FIG.
Here, the type of the coin at the coin identification position 32 is mainly determined.
In step S21, the image for identifying the coin identifying position 32 acquired in step S9 is compared with the reference image 33 for each coin stored in advance in the storage unit 30.
In this comparison, for example, the shape, color, size, pattern, and the like of the objects included in both images are examined to calculate the coincidence, and it is checked whether the coincidence is greater than a predetermined threshold value.
If the degree of coincidence is greater than a predetermined threshold, it is determined that the acquired image matches the reference image, and the type of coins inserted is determined as the type associated with the matching reference image.

ステップS22において、上記比較の結果、取得画像が、記憶部に記憶された基準画像33のうち、1円の基準画像と一致する場合は、ステップS23に進み、そうでない場合は、ステップS24に進む。
ステップS23において、投入硬貨情報35として、種類に、1円を示す情報を記憶し、現在位置に、硬貨識別位置32の座標(x0,y0)を記憶して、硬貨識別処理を終了する。
In step S22, as a result of the comparison, if the acquired image matches the one-circle reference image among the reference images 33 stored in the storage unit, the process proceeds to step S23. Otherwise, the process proceeds to step S24. .
In step S23, information indicating 1 yen is stored as the input coin information 35, the coordinates (x0, y0) of the coin identification position 32 are stored in the current position, and the coin identification process is terminated.

ステップS24において、取得画像が、5円の基準画像33と一致する場合はステップS25に進み、そうでない場合はステップS26に進む。
ステップS25において、投入硬貨情報35として、種類に、5円を示す情報を記憶し、現在位置に、硬貨識別位置32の座標(x0,y0)を記憶して、硬貨識別処理を終了する。
以下、ステップS26、S28、S30およびS32において、それぞれ、取得画像が、10円、50円、100円および500円の基準画像33と一致する場合は、ステップS27、S29、S31およびS33に進む。
これらのステップにおいて、投入硬貨情報35として、種類に、それぞれ10円、50円、100円および500円を示す情報を記憶し、現在位置に、硬貨識別位置32の座標(x0,y0)を記憶して、硬貨識別処理を終了する。
In step S24, if the acquired image matches the five-circle reference image 33, the process proceeds to step S25, and if not, the process proceeds to step S26.
In step S25, information indicating 5 yen is stored as the input coin information 35, the coordinates (x0, y0) of the coin identification position 32 are stored in the current position, and the coin identification process is terminated.
Hereinafter, in steps S26, S28, S30, and S32, when the acquired image matches the reference image 33 of 10, 50, 100, and 500 yen, the process proceeds to steps S27, S29, S31, and S33.
In these steps, as coin input information 35, information indicating 10 yen, 50 yen, 100 yen and 500 yen is stored in the type, and the coordinates (x0, y0) of the coin identification position 32 are stored in the current position. Then, the coin identification process is terminated.

ステップS32において、取得画像が、500円の基準画像33と一致しなかった場合、ステップS34に進む。この場合、取得画像に含まれる硬貨は、予め識別可能な硬貨として設定されていた基準画像のいずれとも一致しなかったことになるので、投入された硬貨は、偽硬貨か、あるいは識別不能の硬貨(未定)として判定される。
ステップS34において、投入硬貨情報35として、種類に、偽硬貨(あるいは未定)を示す情報を記憶し、現在位置に、硬貨識別位置32の座標(x0,y0)を記憶して、硬貨識別処理を終了する。
以上のようにして、入力画像データ34を利用して、硬貨識別位置32に搬送されてきた硬貨の種類が識別され、その硬貨の現在位置が、硬貨識別位置(x0,y0)として記憶される。
If the acquired image does not match the 500 yen reference image 33 in step S32, the process proceeds to step S34. In this case, since the coin included in the acquired image did not match any of the reference images set in advance as an identifiable coin, the inserted coin is a fake coin or an unidentifiable coin. It is determined as (undecided).
In step S34, as input coin information 35, information indicating a fake coin (or undetermined) is stored in the type, and the coordinates (x0, y0) of the coin identification position 32 are stored in the current position, and the coin identification process is performed. finish.
As described above, using the input image data 34, the type of the coin that has been conveyed to the coin identification position 32 is identified, and the current position of the coin is stored as the coin identification position (x0, y0). .

(硬貨振分処理)
図11に、図9のステップS11に示した硬貨振分処理の一実施例のフローチャートを示す。
ここでは、主として、識別された種類ごとに、投入された硬貨をその種類に対応した収納庫に収納する処理を行う。
ステップS41において、投入硬貨情報35に記憶されている情報の中の種類を読み出す。
投入硬貨情報35の中に、複数の投入硬貨情報が記憶されている場合は、記憶されている投入硬貨情報ごとに、ステップS41以下の処理を繰り返し行う。あるいは、投入された硬貨の種類ごとに、各硬貨が収納庫に収納されるまで、振分処理を並行して実行させる。
(Coin distribution processing)
FIG. 11 shows a flowchart of an embodiment of the coin distribution process shown in step S11 of FIG.
Here, for each identified type, a process of storing the inserted coins in a storage corresponding to the type is performed.
In step S41, the type in the information stored in the input coin information 35 is read.
When a plurality of input coin information is stored in the input coin information 35, the processing from step S41 onward is repeated for each stored input coin information. Alternatively, the sorting process is executed in parallel until each coin is stored in the storage for each type of inserted coin.

ステップS42において、読み出した種類が、偽硬貨(あるいは未定)の場合、ステップS43に進み、そうでない場合はステップS47に進む。
ステップS43において、カメラ12によって撮影された画像データを入力する。
偽硬貨として識別された硬貨は識別後も搬送されているので、投入硬貨情報35に記憶されていた現在位置よりも遠い位置に移動している。
そこで、新たに撮影された入力画像データ34から偽硬貨の最新の現在位置を取得する。取得した現在位置を、投入硬貨情報35の現在位置に上書きして記憶する。
ステップS44において、偽硬貨の取得した最新の現在位置と、収納振分位置31に予め記憶されている排出口振分位置54bとを比較する。
In step S42, if the read type is a false coin (or undetermined), the process proceeds to step S43, and if not, the process proceeds to step S47.
In step S43, image data photographed by the camera 12 is input.
Since the coins identified as fake coins are still conveyed after the identification, they have moved to a position farther than the current position stored in the inserted coin information 35.
Therefore, the latest current position of the false coin is acquired from the newly captured input image data 34. The acquired current position is overwritten and stored in the current position of the inserted coin information 35.
In step S44, the latest current position acquired by the false coin is compared with the outlet distribution position 54b stored in advance in the storage distribution position 31.

ステップS45において、偽硬貨が、排出口振分位置54bに到着したか否かをチェックする。
ここでは、偽硬貨の現在位置の座標が、排出口振分位置の座標とほぼ一致するのか否かをチェックし、両者がほぼ一致する場合は、偽硬貨が、排出口振分位置54bに到着したと判断する。
偽硬貨が、排出口振分位置54bに到着した場合はステップS46に進む。そうでない場合はステップS43に戻り、上記のような位置の比較処理を繰り返す。
ステップS46において、排出口の排出ふた54aを、一定時間Taだけ開放させる。
ここで、一定時間Taには、搬送中の偽硬貨が、排出口振分位置54bから排出ふた54aの位置まで搬送されるのにかかる時間よりも長い時間が設定されているものとする。
In step S45, it is checked whether or not the false coin has arrived at the discharge port distribution position 54b.
Here, it is checked whether or not the coordinates of the current position of the false coin substantially coincide with the coordinates of the outlet allocation position. If the two coincide, the false coin arrives at the outlet allocation position 54b. Judge that
If the fake coin has arrived at the discharge port distribution position 54b, the process proceeds to step S46. Otherwise, the process returns to step S43, and the position comparison process as described above is repeated.
In step S46, the discharge lid 54a of the discharge port is opened for a predetermined time Ta.
Here, it is assumed that the fixed time Ta is set to be longer than the time taken for the fake coins being transported to be transported from the discharge port sorting position 54b to the position of the discharge lid 54a.

一定時間Taが経過するまでの間に、偽硬貨は、排出口54の位置まで移動させられ、排出口54に落下して、排出口54から排出される。
この一定時間が経過した後、排出口の排出ふた54aを閉じる。
ステップS46の後、処理を終了する。
Until the fixed time Ta elapses, the false coin is moved to the position of the discharge port 54, falls to the discharge port 54, and is discharged from the discharge port 54.
After this fixed time has elapsed, the discharge lid 54a of the discharge port is closed.
After step S46, the process ends.

ステップS47において、読み出した投入硬貨情報35の種類をチェックした結果、その種類が1円の場合、ステップS48に進み、そうでない場合はステップS49に進む。
ステップS48において、硬貨の種類を示す変数Xに、1を設定した後、ステップS59に進む。
ステップS59では、X円硬貨の収納処理を実行するが、X=1なので、この場合は、1円硬貨の収納処理を実行することになる。
X円硬貨の収納処理の詳細は、後述する図12に示す。
硬貨の種類を示す変数Xには、1の他に、5、10、50、100および500のいずれかが設定されるものとする。
In step S47, if the type of the read input coin information 35 is checked, if the type is 1 yen, the process proceeds to step S48, and if not, the process proceeds to step S49.
In step S48, 1 is set in the variable X indicating the type of coin, and then the process proceeds to step S59.
In step S59, an X-yen coin storage process is executed. Since X = 1, in this case, a 1-yen coin storage process is executed.
Details of the X-yen coin storage process are shown in FIG.
In addition to 1, one of 5, 10, 50, 100, and 500 is set as the variable X indicating the type of coin.

ステップS49において、読み出した投入硬貨情報35の種類が5円の場合、ステップS50に進み、そうでない場合はステップS51に進む。
ステップS50において、硬貨の種類を示す変数Xに、5を設定した後、ステップS59に進む。この場合、ステップS59では、5円硬貨の収納処理を実行することになる。
In step S49, if the type of the read coin information 35 is 5 yen, the process proceeds to step S50, and if not, the process proceeds to step S51.
In step S50, after setting 5 to the variable X indicating the type of coins, the process proceeds to step S59. In this case, in step S59, a 5-yen coin storage process is executed.

また、ステップS51、S53、S55およびS57において、読み出した投入硬貨情報35の種類が、それぞれ、10円、50円、100円および500円であった場合、ステップS52、S54、S56およびS58に進み、変数Xに、それぞれ10、50、100および500を設定する。
ここで、読み出した種類に対応した数値が、硬貨の種類を示す変数Xに設定される。
変数Xを設定した後、ステップS59において、図12に示すX円硬貨の収納処理が実行される。
X円硬貨の収納処理では、カメラによって撮影した入力画像データ34を利用し、X円と識別された硬貨の現在位置がX円の収納振分位置にほぼ一致した場合に、X円の収納ふたを開放し、搬送されてきたX円硬貨を対応する収納庫に収納させる。
Further, when the types of the input coin information 35 read out in steps S51, S53, S55, and S57 are 10 yen, 50 yen, 100 yen, and 500 yen, respectively, the process proceeds to steps S52, S54, S56, and S58. , Set the variable X to 10, 50, 100 and 500, respectively.
Here, a numerical value corresponding to the read type is set in the variable X indicating the type of coin.
After the variable X is set, in step S59, the X-yen coin storage process shown in FIG. 12 is executed.
In the X-yen coin storage process, the input image data 34 taken by the camera is used, and the X-yen storage cover is used when the current position of the coin identified as the X-yen substantially matches the storage distribution position of the X-yen. Is opened, and the conveyed X-yen coin is stored in the corresponding storage.

(X円硬貨の収納処理)
図12に、図11のステップS59に示したX円硬貨の収納処理の一実施例のフローチャートを示す。
ここで、X円の変数Xは、図11のフローチャートで設定された硬貨の種類を意味する。
ステップS71において、カメラ12で撮影された画像データを入力する。入力された画像データを利用して、X円硬貨の現在位置の座標を取得する。
ステップS72において、取得された現在位置と、記憶部30に予め記憶されているX円の収納振分位置31とを比較し、両位置がほぼ一致するか否かをチェックする。両位置がほぼ一致する場合は、X円硬貨がX円振分位置に到着したと判断する。
ステップS73において、X円硬貨がX円振分位置に到着したと判断された場合、ステップS74に進む。そうでない場合は、ステップS71に戻り、再度、X円硬貨の現在位置を新たに取得して、X円硬貨が、X円の収納振分位置31に到着したか否かをチェックする。
(X Yen coin storage processing)
FIG. 12 shows a flowchart of an embodiment of the X-yen coin storage process shown in step S59 of FIG.
Here, the X variable X means the coin type set in the flowchart of FIG.
In step S71, image data photographed by the camera 12 is input. The coordinates of the current position of the X yen coin are acquired using the input image data.
In step S72, the acquired current position is compared with the storage distribution position 31 of the X circle stored in advance in the storage unit 30, and it is checked whether or not both positions substantially match. When both positions substantially coincide, it is determined that the X-yen coin has arrived at the X-yen allocation position.
If it is determined in step S73 that the X-yen coin has arrived at the X-yen allocation position, the process proceeds to step S74. If not, the process returns to step S71, and the current position of the X yen coin is newly acquired again, and it is checked whether or not the X yen coin has arrived at the storage distribution position 31 of the X yen.

ステップS74において、X円硬貨を、対応する収納庫に収納する処理を行う。すなわち、X円振分位置の直後にあるX円収納ふたを開放する。たとえば、変数Xが100であれば、100円収納ふたを開放させる。
X円硬貨は、搬送ベルトによって搬送方向に搬送されているので、収納ふたが開けられた収納庫の中に落下して、収納されることになる。
ステップS75において、一定時間Tbが経過した後、X円収納ふたを閉鎖して、処理を終了する。
ここで、一定時間Tbには、X円硬貨が、X円の収納振分位置から収納ふたのところまで進行するのにかかる時間よりも長い時間が設定される。
以上の処理により、1台のカメラで、搬送中のX円硬貨の現在位置を常に取得するようにしているので、X円硬貨の現在位置が、X円硬貨の収納庫の直前にあるX円の収納振分位置にほぼ一致した場合に、X円硬貨の収納庫の上の収納ふたを開けることによって、搬送中のX円硬貨を、対応する収納庫に収納することができる。
In step S74, processing for storing the X-yen coins in the corresponding storage is performed. That is, the X circle storage lid immediately after the X circle distribution position is opened. For example, if the variable X is 100, the 100 yen storage lid is opened.
Since the X-yen coin is transported in the transport direction by the transport belt, the X-yen coin is dropped and stored in the storage with the storage lid opened.
In step S75, after a predetermined time Tb has elapsed, the X-circle storage lid is closed, and the process is terminated.
Here, the fixed time Tb is set to a time longer than the time taken for the X-yen coin to travel from the storage distribution position of the X-yen to the storage lid.
With the above processing, the current position of the X-yen coin being transferred is always acquired by one camera, so the current position of the X-yen coin is immediately before the X-yen coin storage. When the storage allocation position is substantially coincident, the X-yen coins being conveyed can be stored in the corresponding storage by opening the storage lid on the storage of the X-yen coins.

<その他の実施形態>
(第3実施例:他の識別対象)
上記実施例では、日本国の6種類の硬貨を識別対象として説明したが、これに限るものではない。
たとえば、他国の硬貨、特定の店舗でのみ用いられる硬貨、遊戯コインなどを、識別対象としてもよい。
また、識別対象としては、硬貨のほかに、紙幣や商品券、チケットでもよく、カメラによって撮影された画像データによって種類を識別することのできる物体でもよい。また、この発明は、ある製品についての良品と不良品とを外観によって区別する装置にも利用でき、さらに、搬送される物体上のある特定の情報を読み取って仕分けする装置などに、この発明の装置を利用してもよい。
<Other embodiments>
(Third embodiment: other identification target)
In the above embodiment, six types of Japanese coins have been described as identification targets, but the present invention is not limited to this.
For example, coins from other countries, coins used only at specific stores, play coins, and the like may be used as identification targets.
In addition to coins, the identification target may be a bill, a gift certificate, or a ticket, or an object whose type can be identified by image data captured by a camera. The present invention can also be used for an apparatus that distinguishes a non-defective product from a non-defective product for a certain product according to the appearance. Further, the present invention can be applied to a device that reads and sorts specific information on a conveyed object. An apparatus may be used.

(第4実施例:他の搬送路)
上記実施例では、硬貨を搬送する搬送路として、直線的な搬送路について説明したが、1台のカメラで撮影される範囲内に、硬貨識別位置と、各収納庫と、各収納振分位置とが含まれていればよく、直線的なものに限るものではない。
直線的な搬送路の他に、たとえば、U字形状の搬送路、縦搬送路でもよい。
(Fourth embodiment: other transport paths)
In the said Example, although the linear conveyance path was demonstrated as a conveyance path which conveys a coin, in the range image | photographed with one camera, a coin identification position, each storage, and each storage distribution position And is not limited to a straight line.
In addition to the straight conveyance path, for example, a U-shaped conveyance path or a vertical conveyance path may be used.

(第5実施例:他のカメラ配置)
上記実施例では、図3などに示すように、搬送路の上方に、カメラ12を配置して、所定の搬送路を撮影するものを説明したが、これに限るものではない。
硬貨識別位置と、各収納庫および収納振分位置を含む搬送路の範囲が撮影できるように、カメラを取り付ければよい。
カメラを取り付ける位置としては、たとえば、搬送路中央部、搬送路下部のような位置に取り付けてもよい。
(Fifth embodiment: other camera arrangement)
In the above embodiment, as shown in FIG. 3 and the like, the camera 12 is arranged above the conveyance path and the predetermined conveyance path is photographed. However, the present invention is not limited to this.
What is necessary is just to attach a camera so that the range of the conveyance path containing a coin identification position and each storage and storage distribution position can be image | photographed.
As a position where the camera is attached, for example, the camera may be attached to a position such as a central portion of the conveyance path or a lower portion of the conveyance path.

11 制御部、 12 撮影部、 13 画像認識部、 14 硬貨識別部、 15 硬貨位置検出部、 16 硬貨到着判定部、 17 硬貨搬送部、 18 硬貨投入検出部、 19 収納制御部、 21 硬貨投入口、 22 収納ふた、 23 収納庫、 30 記憶部、 31 収納振分位置、 32 硬貨識別位置、 33 硬貨判定情報(基準画像)、 34 入力画像データ、 35 投入硬貨情報 DESCRIPTION OF SYMBOLS 11 Control part, 12 Image | photographing part, 13 Image recognition part, 14 Coin identification part, 15 Coin position detection part, 16 Coin arrival determination part, 17 Coin conveyance part, 18 Coin insertion detection part, 19 Storage control part, 21 Coin insertion part , 22 storage lid, 23 storage, 30 storage unit, 31 storage distribution position, 32 coin identification position, 33 coin determination information (reference image), 34 input image data, 35 input coin information

Claims (6)

投入された硬貨を所定の搬送路に導き前記搬送路上を移動させる硬貨搬送部と、
複数の硬貨の種類ごとに前記搬送路の異なる位置に配置され、かつ硬貨の種類に予め対応づけられた複数の収納庫と、
前記収納庫の位置を含む搬送路を撮影する撮影部と、
前記撮影された搬送路の画像データを利用して、搬送路の所定の位置に搬送された硬貨の種類を識別する硬貨識別部と、
前記撮影された搬送路の画像データを利用して、前記種類が識別された硬貨の現在位置を検出する硬貨位置検出部と、
前記検出された硬貨の現在位置に基づいて、前記識別された硬貨の種類に対応づけられた収納庫の位置に、前記投入された硬貨が移動してきたことを確認した場合に、前記投入された硬貨を、その硬貨の種類に対応づけられた収納庫に収納させる収納制御部とを備えたことを特徴とする硬貨識別収納装置。
A coin transport unit that guides the inserted coins to a predetermined transport path and moves on the transport path; and
A plurality of storage bins arranged at different positions on the transport path for each of a plurality of coin types, and pre-corresponding to the coin types;
A photographing unit for photographing the conveyance path including the position of the storage;
Using the image data of the photographed conveyance path, a coin identifying unit that identifies the type of coins conveyed to a predetermined position on the conveyance path;
A coin position detection unit that detects a current position of the coin whose type is identified, using image data of the photographed conveyance path,
Based on the detected current position of the coin, when it is confirmed that the inserted coin has moved to the storage location associated with the identified coin type, the inserted coin An apparatus for storing and identifying coins, comprising: a storage controller that stores coins in a storage associated with the type of the coins.
識別すべき複数の硬貨の基準画像を、硬貨の種類ごとに予め記憶した記憶部を備え、
前記硬貨識別部は、前記撮影された搬送路の画像データから、前記搬送路の所定の位置に搬送された硬貨の画像を取得し、前記記憶部に予め記憶された硬貨の基準画像のうち、前記取得された硬貨の画像と一致可能な基準画像に対応する硬貨の種類を、前記搬送された硬貨の種類と判断することを特徴とする請求項1に記載の硬貨識別収納装置。
A storage unit that stores in advance a reference image of a plurality of coins to be identified for each type of coin,
The coin identifying unit acquires an image of a coin transported to a predetermined position on the transport path from the image data of the captured transport path, and among the reference images of coins stored in advance in the storage unit, The coin identifying and storing apparatus according to claim 1, wherein a coin type corresponding to a reference image that can coincide with the acquired coin image is determined as the type of the conveyed coin.
前記収納庫の上には、開閉可能な収納ふたが設けられ、前記収納制御部は、前記硬貨識別部によって種類が識別された硬貨を、その種類に対応づけられた第1収納庫に収納させる場合、前記第1収納庫の上に設けられた収納ふたを開放させることを特徴とする請求項1に記載の硬貨識別収納装置。   An openable and closable storage lid is provided on the storage, and the storage control unit stores the coin identified by the coin identification unit in the first storage associated with the type. The coin identification storage device according to claim 1, wherein the storage lid provided on the first storage is opened. 前記搬送路上であって前記各収納庫の位置よりも上流側の位置に、各収納庫に対応づけられた種類の硬貨の到着を判定するための複数の収納振分位置を設け、前記硬貨位置検出部が、前記搬送された硬貨の現在位置が前記収納振分位置のいずれかにあることを検出したとき、前記搬送された硬貨の種類が前記検出された収納振分位置に対応する第1収納庫の種類と一致する場合、前記収納制御部は、前記第1収納庫の上に設けられた収納ふたを開放させることを特徴とする請求項3に記載の硬貨識別収納装置。   A plurality of storage allocation positions for determining arrival of coins of the type associated with each storage are provided on the transport path and upstream of the position of each storage, and the coin position When the detection unit detects that the current position of the conveyed coin is in one of the storage distribution positions, the type of the transferred coin corresponds to the detected storage distribution position. 4. The coin identifying and storing apparatus according to claim 3, wherein, when the type matches the type of storage, the storage control unit opens a storage lid provided on the first storage. 前記搬送路に排出口を設け、前記硬貨識別部が、前記投入された硬貨の種類を識別できなかった場合、前記収納制御部は、種類が識別できなかった硬貨を、前記排出口から外部へ排出することを特徴とする請求項1に記載の硬貨識別収納装置。   When the transport path is provided with a discharge port, and the coin identifying unit cannot identify the type of the inserted coin, the storage control unit transfers the coin whose type cannot be identified from the discharge port to the outside. The coin identification storage device according to claim 1, wherein the coin identification storage device is discharged. 前記撮影部は、1台のカメラからなり、前記硬貨の種類を識別する所定の位置と、前記複数の収納庫の位置とを含む搬送路を撮影することのできる位置に配置されることを特徴とする請求項1から5のいずれかに記載の硬貨識別収納装置。   The imaging unit is composed of a single camera, and is arranged at a position where the conveyance path including a predetermined position for identifying the type of coin and the positions of the plurality of storages can be imaged. The coin identifying and storing apparatus according to any one of claims 1 to 5.
JP2015245343A 2015-12-16 2015-12-16 Coin identification storage device Active JP6572122B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015245343A JP6572122B2 (en) 2015-12-16 2015-12-16 Coin identification storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015245343A JP6572122B2 (en) 2015-12-16 2015-12-16 Coin identification storage device

Publications (2)

Publication Number Publication Date
JP2017111611A JP2017111611A (en) 2017-06-22
JP6572122B2 true JP6572122B2 (en) 2019-09-04

Family

ID=59080804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015245343A Active JP6572122B2 (en) 2015-12-16 2015-12-16 Coin identification storage device

Country Status (1)

Country Link
JP (1) JP6572122B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7297270B2 (en) * 2021-11-05 2023-06-26 株式会社バンダイ Holding device and article supply device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000076512A (en) * 1998-09-01 2000-03-14 Toshiba Corp Coin processing equipment
JP2000182112A (en) * 1998-12-15 2000-06-30 Toshiba Corp Coin processing equipment

Also Published As

Publication number Publication date
JP2017111611A (en) 2017-06-22

Similar Documents

Publication Publication Date Title
US7567698B2 (en) Device and method for preventing counterfeiting using a currency serial number reader
US10748387B2 (en) Device for reading a magnetic stripe and/or chip card having a camera for the detection of inserted skimming modules
CN114270419B (en) Evaluating Currency in an Area Using Image Processing
JP6224364B2 (en) Coin processing apparatus and coin processing method
WO2017195579A1 (en) Currency processing system
JP6572122B2 (en) Coin identification storage device
JP5715022B2 (en) Medium processing apparatus and medium processing method
CN110506300B (en) Paper sheet identification system
JP2000113269A (en) Bill validator
JP6726580B2 (en) Banknote identification storage device
US10713876B2 (en) System and method for processing value documents
JP2012083964A (en) Coin processor and coin processing method
JP6496591B2 (en) Coin processing apparatus and processing system
JP2008097260A (en) Coin processing machine
JP6523089B2 (en) Cash processor
JP2012190139A (en) Automatic transaction device and determination method of automatic transaction device
JP5216301B2 (en) Media identification device
JP7293081B2 (en) coin identification unit
JP7183267B2 (en) Money handling device and money handling method
JP6976822B2 (en) Banknote processing equipment and programs
CN107735819A (en) Bank note treatment device
KR101538463B1 (en) An automatic teller machine capable of responding to customer claims and the response method using the same
JP5883671B2 (en) Coin processing equipment
JP6764763B2 (en) Coin identification and transport device
JP2013218622A (en) Paper sheet imaging device and paper sheet imaging method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190627

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: 20190730

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190809

R150 Certificate of patent or registration of utility model

Ref document number: 6572122

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150