JP2005316553A - Pattern identifying device - Google Patents

Pattern identifying device Download PDF

Info

Publication number
JP2005316553A
JP2005316553A JP2004130973A JP2004130973A JP2005316553A JP 2005316553 A JP2005316553 A JP 2005316553A JP 2004130973 A JP2004130973 A JP 2004130973A JP 2004130973 A JP2004130973 A JP 2004130973A JP 2005316553 A JP2005316553 A JP 2005316553A
Authority
JP
Japan
Prior art keywords
coin
image
detection
image data
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004130973A
Other languages
Japanese (ja)
Other versions
JP4321343B2 (en
Inventor
Takehiko Nara
武彦 南良
Toru Ueki
徹 植木
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004130973A priority Critical patent/JP4321343B2/en
Publication of JP2005316553A publication Critical patent/JP2005316553A/en
Application granted granted Critical
Publication of JP4321343B2 publication Critical patent/JP4321343B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Testing Of Coins (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a pattern identifying device for identifying an identification object pattern based on an identification object image acquired by an imaging means by using a coin or the like as the object of identification for improving identifying performance. <P>SOLUTION: This pattern identifying device is provided with an illuminating means for irradiating an identification object passing through a path with the rays of light, an imaging means for receiving reflected or transmitted rays of light from the identification object and a storage means for storing a reference image, and configured to identify an identification object pattern based on the image acquired by the imaging means and a reference image. This pattern identifying device is provided with a second illuminating means 36 and a third illuminating means 37 having almost identical wavelength characteristics for irradiating the identification object with the rays of light from different directions. The identification object is identified based on a difference between the reflected rays of light from the identification object emitted by the second illuminating means 36 and the reflected rays of light from the identification object emitted by a third illuminating means 37 so that the projection and recession of the identification object can be detected. Thus, it is possible to accurately identify the pattern. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、硬貨等の模様を読み取り、正偽や種類の判定或いは認識などを行う模様識別装置に関するものである。   The present invention relates to a pattern identification device that reads a pattern such as a coin and performs determination or recognition of authenticity or type.

近年、自動販売機が普及し、これに使用される硬貨識別装置には高い識別性能が要求されている。   In recent years, vending machines have become widespread, and coin recognition devices used for them are required to have high identification performance.

従来、この種の硬貨識別装置はコイルとフェライト材のコアとから構成された磁気センサを備え、硬貨の材質や厚み、外径を検出して硬貨を識別していた。   Conventionally, this type of coin discriminating apparatus includes a magnetic sensor composed of a coil and a ferrite core, and identifies the coin by detecting the material, thickness, and outer diameter of the coin.

なお、この出願の発明に関連する先行技術文献情報としては、例えば、特許文献1が知られている。
特開平8−161574号公報
For example, Patent Document 1 is known as prior art document information related to the invention of this application.
JP-A-8-161574

しかしながらこのような従来の構成では、識別しているのは硬貨の材質や厚み、外径であり、硬貨の模様を検知することが困難であった。このため、模様が異なる偽貨を不正使用されることがあった。例えば材質と外径がほぼ等しい類似外国硬貨の厚みを切削したような変造偽貨などである。   However, in such a conventional configuration, what is identified is the material, thickness, and outer diameter of the coin, and it is difficult to detect the pattern of the coin. For this reason, there are cases in which fake coins with different patterns are illegally used. For example, it is a fake coin that is made by cutting the thickness of a similar foreign coin whose material and outer diameter are almost equal.

本発明は、このような偽貨の不正使用を防止することが可能な、模様を正確に識別できる識別性能の高い模様識別装置を提供することを目的とするものである。   It is an object of the present invention to provide a pattern recognition device with high identification performance capable of accurately identifying a pattern that can prevent such illegal use of false coins.

この目的を達成するために本発明の模様識別装置は、通路を通過する識別対象に光を照射する第1の照明手段と、前記識別対象からの反射または透過光を受光する撮像手段と基準画像を記憶する記憶手段とを備え、前記撮像手段で取得した画像と基準画像とに基づいて前記識別対象の模様を識別する模様識別装置において、ほぼ同一の波長特性を有し異なる方向から前記識別対象に光を照射する第2及び第3の照明手段を備え、前記第2の照明手段で照射した際の前記識別対象からの反射または透過光と、前記第3の照明手段で照射した際の前記識別対象からの反射または透過光との差に基づいて前記識別対象を識別する模様識別装置としたものである。   In order to achieve this object, the pattern identification apparatus of the present invention includes a first illumination unit that irradiates light to an identification target that passes through a passage, an imaging unit that receives reflected or transmitted light from the identification target, and a reference image. In a pattern identification device for identifying a pattern to be identified based on an image acquired by the imaging unit and a reference image, and having the same wavelength characteristic and the identification target from different directions The second and third illuminating means for irradiating light, and the reflected or transmitted light from the identification target when irradiated by the second illuminating means and the above-mentioned when irradiated by the third illuminating means The pattern identification device identifies the identification object based on the difference from the reflected or transmitted light from the identification object.

これにより、模様を正確に識別でき、識別性能を向上することが可能になる。   As a result, the pattern can be accurately identified, and the identification performance can be improved.

以上のように本発明によれば、通路を通過する識別対象に光を照射する第1の照明手段と、前記識別対象からの反射または透過光を受光する撮像手段と基準画像を記憶する記憶手段とを備え、前記撮像手段で取得した画像と基準画像とに基づいて前記識別対象の模様を識別する模様識別装置において、ほぼ同一の波長特性を有し異なる方向から前記識別対象に光を照射する第2及び第3の照明手段を備え、前記第2の照明手段で照射した際の前記識別対象からの反射または透過光と、前記第3の照明手段で照射した際の前記識別対象からの反射または透過光との差に基づいて前記識別対象を識別する模様識別装置としたものであるため、模様を正確に識別でき、識別性能を向上することが可能である。   As described above, according to the present invention, the first illumination means for irradiating the identification target passing through the passage, the imaging means for receiving the reflected or transmitted light from the identification target, and the storage means for storing the reference image A pattern identification device for identifying a pattern to be identified based on an image acquired by the imaging unit and a reference image, and irradiating the identification target with light from different directions having substantially the same wavelength characteristics Reflected or transmitted light from the identification object when irradiated by the second illumination means, and reflection from the identification object when irradiated by the third illumination means. Alternatively, since the pattern identification device identifies the identification target based on the difference from the transmitted light, the pattern can be accurately identified, and the identification performance can be improved.

(実施の形態)
以下、本発明の実施の形態について、図1から図18を用いて説明する。本実施の形態における模様識別装置は硬貨の刻印模様を識別の対象としているが、本発明は識別の対象として紙幣やカード等の印刷模様、メダルやトークン等の刻印模様などにも適用されるものである。また模様は、硬貨等の表面、裏面だけでなく、側面の模様にも応用可能である。さらに識別の対象物は、本実施の形態のように重力を利用した転動中に限らず、自然落下中、ベルト等の搬送手段による移動途中、さらには停止手段を用いるなどして識別対象を停止させ停止中にも識別を行うことができる。
(Embodiment)
Hereinafter, embodiments of the present invention will be described with reference to FIGS. Although the pattern identification device in the present embodiment is intended for identification of a coin stamp pattern, the present invention is also applicable to a printed pattern such as a banknote or a card, a stamp pattern such as a medal or token, etc. as an identification target. It is. The pattern can be applied not only to the front and back surfaces of coins and the like, but also to side patterns. Furthermore, the object to be identified is not limited to rolling using gravity as in the present embodiment, but during natural fall, during movement by a conveying means such as a belt, and further by using a stopping means. Identification can be performed even when stopped.

また本発明の実施の形態では、撮像手段と照明手段を通路の同一側に配置し、識別対象からの反射光で識別を行っているが、撮像手段と照明手段を通路の逆側に配置し、識別対象からの透過光で識別を行うこともできる。   In the embodiment of the present invention, the imaging unit and the illumination unit are arranged on the same side of the passage, and identification is performed by reflected light from the identification target. However, the imaging unit and the illumination unit are arranged on the opposite side of the passage. The identification can also be performed with the transmitted light from the identification target.

図1は本発明の一実施の形態における硬貨識別装置の概要を示した正面図であり、投入された硬貨の正偽や種類を識別する。図1において、硬貨識別装置本体11の上部には硬貨の投入口12が設けられており、この投入口12から下方に向かって硬貨の通路13が連結されている。通路13の側壁の一部は光学透明体14で構成され、この光学透明体14の背部に照明手段15と硬貨の模様を検知する撮像手段16が配置されている。また通路13の下流には、厚み・材質兼用センサ17が配置されている。さらに通路13は、硬貨識別装置本体11の下部に位置する硬貨の出口18に連結されている。   FIG. 1 is a front view showing an outline of a coin identifying device according to an embodiment of the present invention, and identifies the authenticity and type of inserted coins. In FIG. 1, a coin insertion slot 12 is provided in the upper part of the coin identification device main body 11, and a coin passage 13 is connected downward from the insertion slot 12. A part of the side wall of the passage 13 is constituted by an optical transparent body 14, and an illumination means 15 and an imaging means 16 for detecting a coin pattern are arranged on the back of the optical transparent body 14. Further, a thickness / material sensor 17 is disposed downstream of the passage 13. Further, the passage 13 is connected to a coin outlet 18 located at the lower part of the coin identification device main body 11.

図2は、撮像手段16近傍の断面図である。通路13を構成する一方の側壁21の一部は通路の底面22を形成している。投入された硬貨23はこの底面22上を転動する。通路13の他方の側壁24の一部は光学透明体14で構成され、複数のLED25とフレキシブル配線基板とから成る照明手段15からの照明光で硬貨23が照明される。硬貨23で反射された反射光は、側壁24側に配置された撮像手段16で検知される。撮像手段16は、画像センサ26と画像センサ26上の受光面27、及び硬貨23からの反射光を受光面27に結像するレンズ28とから成る。   FIG. 2 is a cross-sectional view of the vicinity of the imaging means 16. A part of one side wall 21 constituting the passage 13 forms a bottom surface 22 of the passage. The inserted coins 23 roll on the bottom surface 22. A part of the other side wall 24 of the passage 13 is composed of the optical transparent body 14, and the coin 23 is illuminated with illumination light from the illumination means 15 including a plurality of LEDs 25 and a flexible wiring board. The reflected light reflected by the coin 23 is detected by the imaging means 16 arranged on the side wall 24 side. The imaging unit 16 includes an image sensor 26, a light receiving surface 27 on the image sensor 26, and a lens 28 that forms an image of reflected light from the coin 23 on the light receiving surface 27.

通路13の底面22は、照明手段15及び撮像手段16とは逆側の側壁21に設けることで、底面22で影ができ識別性能が低下することを防止している。また、底面22の幅22aは、照明手段15からの照明光が硬貨23の縁に照射されるのを妨げない、すなわち影にならないように識別しようとする硬貨23の最小の厚みより狭くすると共に、最小の厚みの硬貨23が側壁24側に沿って通過しても落下しない寸法としている。   The bottom surface 22 of the passage 13 is provided on the side wall 21 opposite to the illumination unit 15 and the imaging unit 16, thereby preventing a shadow from being formed on the bottom surface 22 and lowering the identification performance. Further, the width 22a of the bottom surface 22 is made smaller than the minimum thickness of the coin 23 to be identified so as not to prevent the illumination light from the illumination means 15 from being applied to the edge of the coin 23, that is, not to be a shadow. The dimension is such that the coin 23 having the minimum thickness does not fall even if it passes along the side wall 24 side.

また、硬貨23が側壁21、24のどちらか一方に沿って安定して通過するように、通路13は鉛直に対して傾斜させている。傾斜させているのとは逆側の側壁24は必ずしも必要はない。本実施の形態では、さらに傾斜させているのとは逆側に、光学透明体14と照明手段15及び撮像手段16を配置して、これらへの汚れの付着を低減させている。なお、光学透明体14はガラスやプラスチック等で形成することによって通路13側と撮像手段16側を区切り、撮像手段16側に通路13側から塵埃や硬貨23などが侵入することを防止できるが、光学透明体14を空気とする、すなわち何も用いなくても構わない。   Further, the passage 13 is inclined with respect to the vertical so that the coin 23 can stably pass along one of the side walls 21 and 24. The side wall 24 opposite to the inclined side is not always necessary. In the present embodiment, the optical transparent body 14, the illumination means 15, and the imaging means 16 are arranged on the side opposite to the inclined side to reduce the adhesion of dirt to them. The optical transparent body 14 is formed of glass, plastic, or the like, so that the passage 13 side and the imaging means 16 side can be separated, and dust or coins 23 can be prevented from entering the imaging means 16 side from the passage 13 side. The optical transparent body 14 may be air, that is, nothing may be used.

側壁21と側壁24は、外乱光を遮蔽し、また照明手段15からの照明光の硬貨23以外での反射光を低減するため、黒色としている。黒色に限らず、非反射または低反射の材質、色、表面状態とすることで、照明手段15からの照明光以外の外乱光や、照明手段15からの照明光の硬貨23以外での反射光を撮像手段16で検知することを防止し、識別精度を向上させることができる。   The side wall 21 and the side wall 24 are black in order to block disturbance light and reduce reflected light from the illumination means 15 other than the coins 23. By using a non-reflective or low-reflective material, color, and surface state, not only black, but also disturbance light other than illumination light from the illumination means 15 and reflected light other than the coins 23 of illumination light from the illumination means 15 Can be prevented from being detected by the imaging means 16, and the identification accuracy can be improved.

照明手段15は図3のように構成されている。すなわち、想定される最小速度で通路13を通過する硬貨位置31から、想定される最大速度で通過する硬貨位置32までをすべて含む範囲を撮像時硬貨位置33とし、この撮像時硬貨位置33を完全に覆う形状に構成している。照明手段15の形状は、長辺と短辺を持つ非円形、例えば長円または楕円形状としており、長辺を硬貨23の通過方向に該一致させることで、硬貨23が画像センサ26の受光面27の中心に相当する位置に来たタイミングを検知する精度に対する許容度を拡大し、硬貨23の通過速度が一定しない自由落下や転動中にも識別が可能になる。また、照明手段15の中心を撮像時硬貨位置33の中心とほぼ一致させることで、照明を均一化することができる。さらに、画像センサ26上の受光面27の中心もこれらの中心に配置している。   The illumination means 15 is configured as shown in FIG. That is, a range including all of the coin position 31 passing through the passage 13 at the assumed minimum speed to the coin position 32 passing through the assumed maximum speed is defined as the coin position 33 at the time of imaging, and the coin position 33 at the time of imaging is completely set. It is configured to cover the shape. The shape of the illuminating means 15 is a non-circular shape having a long side and a short side, for example, an oval shape or an elliptical shape. By coinciding the long side with the passing direction of the coin 23, the coin 23 is a light receiving surface of the image sensor 26. The tolerance for the accuracy of detecting the timing at which the position corresponding to the center of 27 is detected is expanded, and it becomes possible to discriminate even during free fall or rolling where the passing speed of the coin 23 is not constant. Moreover, illumination can be made uniform by making the center of the illumination means 15 substantially coincide with the center of the coin position 33 during imaging. Further, the center of the light receiving surface 27 on the image sensor 26 is also arranged at these centers.

また図2において、正反射光29は照明手段15からの照明光が、識別しようとする最大外径の硬貨23の外周縁部近傍の平面部で正反射した、すなわち入射角と反射角の等しい反射光成分を示す。この正反射光29が撮像手段16に入射すると、入力した画像に非常に明るいムラが発生し正確な識別の妨げとなる。そのため、正反射光29が撮像手段16に入射しないよう、言い換えれば図3において正反射位置34が撮像時硬貨位置33の範囲内に入らないような位置関係に、通路13と照明手段15及び撮像手段16を配置して、撮像時硬貨位置33の画像にムラが発生するのを防止している。照明手段15の形状を長辺と短辺を有する非円形とすることで、正反射位置34の形状を長辺と短辺を有する非円形とすることができ、撮像時硬貨位置33の範囲内に入りにくくすることができる。さらに照明手段15の長辺を硬貨23の通過方向に該一致させることで、撮像手段16における正反射位置34の長辺を硬貨23の通過方向とほぼ平行にすることができ、照明手段15の中心を撮像手段16における撮像時硬貨位置33の中心に該一致させることで、正反射位置34の中心を撮像時硬貨位置33の中心にほぼ一致させることができる。或いは、撮像時硬貨位置33の範囲内に入る正反射位置34aをもつ照明手段15の部位15a(長辺部分)にLED25を配置しない欠落部を有することで正反射位置34に欠落部を設けることができる。いずれも、硬貨23からの正反射光29が撮像手段16における撮像時硬貨位置33の外に入射するように通路13と照明手段15及び撮像手段16とを配置しやすくなる効果がある。照明手段15の中心を撮像手段16の中心に該一致させることでも同様の効果が得られる。なお、透過光で識別を行う場合には、入射角と出射角の等しい透過光成分(正透過光と言う)が、反射光で識別を行う場合の正反射光29に相当し、画像のムラに関して同様のことが言える。   In FIG. 2, the regular reflection light 29 is the regular reflection of the illumination light from the illuminating means 15 on the plane portion near the outer peripheral edge of the coin 23 having the maximum outer diameter to be identified, that is, the incident angle and the reflection angle are equal. The reflected light component is shown. When this regular reflection light 29 is incident on the image pickup means 16, a very bright unevenness occurs in the input image, which prevents accurate identification. Therefore, the passage 13, the illumination unit 15, and the imaging are arranged so that the regular reflection light 29 does not enter the imaging unit 16, in other words, in such a positional relationship that the regular reflection position 34 does not fall within the range of the coin position 33 at the time of imaging in FIG. The means 16 is arranged to prevent unevenness in the image at the coin position 33 during imaging. By making the shape of the illumination means 15 a non-circular shape having a long side and a short side, the shape of the regular reflection position 34 can be a non-circular shape having a long side and a short side, and within the range of the coin position 33 at the time of imaging. It can be difficult to enter. Furthermore, by making the long side of the illumination means 15 coincide with the passing direction of the coin 23, the long side of the regular reflection position 34 in the imaging means 16 can be made substantially parallel to the passing direction of the coin 23. By making the center coincide with the center of the coin position 33 at the time of imaging in the imaging means 16, the center of the regular reflection position 34 can be substantially coincident with the center of the coin position 33 at the time of imaging. Alternatively, a missing portion is provided in the regular reflection position 34 by having a missing portion in which the LED 25 is not disposed in the portion 15a (long side portion) of the illumination means 15 having the regular reflection position 34a that falls within the range of the coin position 33 during imaging. Can do. In any case, there is an effect that the passage 13, the illumination unit 15, and the imaging unit 16 can be easily arranged so that the regular reflection light 29 from the coin 23 is incident outside the coin position 33 at the time of imaging in the imaging unit 16. The same effect can be obtained by matching the center of the illumination unit 15 with the center of the imaging unit 16. When identification is performed using transmitted light, a transmitted light component (referred to as regular transmitted light) having the same incident angle and emission angle corresponds to regular reflected light 29 when identification is performed using reflected light, and unevenness of an image. The same can be said about.

硬貨23の刻印模様を検知するため、硬貨23に対して照射光の入射角度を低角度として、暗視野照明して刻印をより浮かび上がらせている。また、照明手段15(第1の照明手段)を構成する複数のLED25は8の倍数個備えると共に、第2の照明手段36と第3の照明手段37の2つの群に分けて構成し、第2の照明手段36と第3の照明手段37を独立して発光可能としている。第2の照明手段36は4つのLED群36a、36b、36c、36dから成り、第3の照明手段37と比較して出口18に近く、第3の照明手段37も4つのLED群37a、37b、37c、37dから成り、投入口12に比較的近い側としている。全てのLED群36a、36b、36c、36d、37a、37b、37c、37dは同数のLED25で構成している。第2の照明手段36と第3の照明手段37とは、照明手段15の中心を通り通路13に垂直な直線35に対して該対称としている。また、第2の照明手段36と第3の照明手段37のそれぞれは、照明手段15の中心を通り通路13に平行な直線に対して該対称としている。照明手段15を2群に分け、各々の照明手段36、37を独立に発光させることで、後述する方法により硬貨23の凹凸度合いを検出することができる。第2の照明手段36及び第3の照明手段37をそれぞれ複数のLED群で構成することで、後述の第1の画像データと第2の画像データを均質で高画質化し、硬貨23の凹凸度合いの検出を高精度化できる。特に、第2の照明手段36と第3の照明手段37とを、通路13に垂直な直線35に対して該対称とすることで、第2の画像データ及び第3の画像データは投入口12側と出口18側の明度の差が抑制され均質化される。また、第2の照明手段36と第3の照明手段37のそれぞれを、通路13に平行な直線に対して該対称とすることで、第2の画像データ及び第3の画像データは通路13の底面22に近い側と遠い側の明度の差が抑制され均質化される。第2の照明手段36と第3の照明手段37とを複数の発光素子(LED25)で構成することで、それぞれ分割することが容易になると共に、第2の照明手段36と第3の照明手段37とを等しい個数のLED25で構成し各分割群を同数のLED25として、明るさの差を抑制し第2の画像データと第3の画像データを均質化でき、硬貨23の凹凸度合いを精度よく検出することが可能である。   In order to detect the marking pattern of the coin 23, the incident angle of the irradiation light is set to a low angle with respect to the coin 23, and dark field illumination is performed so that the marking is further raised. The plurality of LEDs 25 constituting the illuminating means 15 (first illuminating means) are provided in multiples of 8, and are divided into two groups of the second illuminating means 36 and the third illuminating means 37. The second illuminating means 36 and the third illuminating means 37 can emit light independently. The second illumination unit 36 includes four LED groups 36a, 36b, 36c, and 36d, and is closer to the outlet 18 than the third illumination unit 37. The third illumination unit 37 also includes four LED groups 37a and 37b. , 37c, 37d, and the side relatively close to the insertion port 12. All the LED groups 36a, 36b, 36c, 36d, 37a, 37b, 37c, and 37d are composed of the same number of LEDs 25. The second illumination means 36 and the third illumination means 37 are symmetrical with respect to a straight line 35 that passes through the center of the illumination means 15 and is perpendicular to the passage 13. Each of the second illumination means 36 and the third illumination means 37 is symmetrical with respect to a straight line that passes through the center of the illumination means 15 and is parallel to the passage 13. By dividing the illumination means 15 into two groups and causing each illumination means 36 and 37 to emit light independently, the degree of unevenness of the coin 23 can be detected by a method described later. By configuring each of the second illumination unit 36 and the third illumination unit 37 with a plurality of LED groups, the first image data and the second image data, which will be described later, are made uniform and high in image quality, and the degree of unevenness of the coin 23 Can be detected with high accuracy. In particular, the second image data and the third image data are made symmetrical with respect to the straight line 35 perpendicular to the passage 13 so that the second image data and the third image data are input to the inlet 12. The difference in brightness between the side and the outlet 18 is suppressed and homogenized. Further, each of the second illumination means 36 and the third illumination means 37 is symmetric with respect to a straight line parallel to the passage 13 so that the second image data and the third image data are in the passage 13. The difference in brightness between the side close to the bottom surface 22 and the side far from the bottom surface 22 is suppressed and homogenized. By constituting the second illumination means 36 and the third illumination means 37 with a plurality of light emitting elements (LEDs 25), it becomes easy to divide each, and the second illumination means 36 and the third illumination means. 37 is composed of an equal number of LEDs 25, and each divided group is the same number of LEDs 25, so that the difference in brightness can be suppressed and the second image data and the third image data can be homogenized, and the unevenness degree of the coin 23 can be accurately determined. It is possible to detect.

図4は通路13の一部の断面図である。底面22を持つ一方の側壁21の逆側に位置する他方の側壁24に、排出補助手段41を設けている。変形硬貨や雨等で濡れた硬貨または粘着物の付着した硬貨などが投入されて通路13で停止した際に、一方の側壁21と他方の側壁24との距離を拡大させることにより、硬貨23を下方に落下させて出口18から返却させるが、排出補助手段41は硬貨23の上部を側壁24側に保持することにより硬貨23の排出をより確実にする。   FIG. 4 is a sectional view of a part of the passage 13. A discharge assisting means 41 is provided on the other side wall 24 located on the opposite side of the one side wall 21 having the bottom surface 22. When a deformed coin, a coin wet with rain or the like, or a coin with a sticky substance attached thereto is inserted and stopped in the passage 13, the distance between the one side wall 21 and the other side wall 24 is increased, whereby the coin 23 is Although it is dropped downward and returned from the outlet 18, the discharge assisting means 41 ensures the discharge of the coin 23 by holding the upper part of the coin 23 on the side wall 24 side.

図5は厚み・材質兼用センサ17近傍の断面図である。通路13を構成する一方の側壁21及び他方の側壁24にはそれぞれフェライト材のE型コア51、52が対向して取り付けられている。E型コア51、52は識別しようとする最小の硬貨23の外径より小さい長さのものを用い、硬貨23の中心がE型コア51、52の中心付近を通過するような位置に配置している。厚み・材質兼用センサ17は、E型コア51とその内部に巻かれた2本のコイル53、54およびE型コア52とその内部に巻かれた2本のコイル55、56より構成されている。コイル53とコイル55は相互インダクタンスが負になるように直列逆相接続されている。2本のコイル53、55を通路13に対向して配置し、逆相接続することで、通路13に発生する交流磁界の磁束方向は図5に破線で示したように、硬貨の表面に平行となり、硬貨の厚みを敏感に検知できる。また、コイル54とコイル56は相互インダクタンスが正になるように直列同相接続されている。2本のコイル54、56を通路13に対向して配置し、同相接続することで、通路13に発生する交流磁界の磁束方向は図5に二点鎖線で示したように、硬貨の表面に垂直となり、硬貨の材質を敏感に検知できる。厚みセンサ71と材質センサ75を兼用しているのは、小型化やコストダウンのためであるが、各々別のセンサであっても構わない。   FIG. 5 is a sectional view of the vicinity of the thickness / material sensor 17. E-type cores 51 and 52 made of a ferrite material are attached to one side wall 21 and the other side wall 24 constituting the passage 13 so as to face each other. The E-type cores 51 and 52 have a length smaller than the outer diameter of the smallest coin 23 to be identified, and are arranged at a position where the center of the coin 23 passes near the center of the E-type cores 51 and 52. ing. The combined thickness / material sensor 17 includes an E-type core 51, two coils 53 and 54 wound inside the E-type core 51, and an E-type core 52 and two coils 55 and 56 wound therein. . The coil 53 and the coil 55 are connected in series opposite phase so that mutual inductance becomes negative. By arranging the two coils 53 and 55 opposite to the passage 13 and connecting them in reverse phase, the magnetic flux direction of the alternating magnetic field generated in the passage 13 is parallel to the surface of the coin as shown by the broken line in FIG. Thus, the thickness of the coin can be sensitively detected. Further, the coil 54 and the coil 56 are connected in series and in phase so that mutual inductance becomes positive. By arranging the two coils 54 and 56 facing the passage 13 and connecting them in phase, the magnetic flux direction of the alternating magnetic field generated in the passage 13 is changed to the surface of the coin as shown by a two-dot chain line in FIG. It becomes vertical and can detect the material of coins sensitively. The thickness sensor 71 and the material sensor 75 are used for the purpose of downsizing and cost reduction, but separate sensors may be used.

図6は撮像手段16を形成する画像センサ26の制御回路の構成図であり、本実施の形態では画像センサ26としてMOS型の2次元(エリア)画像センサを用いて高速に2次元画像を得ているが、これに限らずCCDや1次元(ライン)センサの時系列データ等を用いてもよい。画像センサ26の受光素子からなる各画素61で検出した画像データは一種のシフトレジスタである水平走査回路62及び垂直走査回路63によって制御される水平走査線64及び垂直走査線65で画素61を選択されて水平走査回路62より順次出力67される。この際、水平走査回路62及び垂直走査回路63により一部の走査線のみを制御することで、特定領域66の画像データだけを出力することが可能である。部分的な画像データの出力はMOS型の画像センサで実現することができ、このような撮像手段16を備えることにより、画像データの出力を必要な部分だけに絞って読み出しを高速化することが可能である。また各画素61は正方形形状であると共に、水平方向の画素数が垂直方向の画素数よりも多く検知エリアが長方形である画像センサ26を使用し、硬貨23の通過方向に画像センサ26の長手方向をほぼ一致させて配置して、長方形の画像データを得ている。長手方向を通過方向に一致させているのは、画像センサ26の画素を有効利用して硬貨23が画像センサ26の受光面27の中心に相当する位置に来たタイミングを検知する精度に対する許容度を広くするためであると共に、画像センサ26は出力67の接続された水平走査回路62の走査の方を出力67の接続されていない垂直走査回路63の走査よりも優先して行う(水平走査の周期の方が短い)ので、横長な領域の画像を検知するのに出力信号中の水平休止期間(水平ブランキング期間)が少なく、より短時間で画像データを読み出すことができるからである。   FIG. 6 is a block diagram of the control circuit of the image sensor 26 forming the imaging means 16. In this embodiment, a MOS type two-dimensional (area) image sensor is used as the image sensor 26 to obtain a two-dimensional image at high speed. However, the present invention is not limited to this, and time series data of a CCD or a one-dimensional (line) sensor may be used. The image data detected by each pixel 61 composed of the light receiving element of the image sensor 26 selects the pixel 61 by a horizontal scanning line 64 and a vertical scanning line 65 controlled by a horizontal scanning circuit 62 and a vertical scanning circuit 63 which are a kind of shift register. Then, it is sequentially output 67 from the horizontal scanning circuit 62. At this time, it is possible to output only the image data of the specific area 66 by controlling only a part of the scanning lines by the horizontal scanning circuit 62 and the vertical scanning circuit 63. Output of partial image data can be realized by a MOS type image sensor, and by providing such an imaging means 16, it is possible to speed up reading by narrowing the output of image data to only a necessary portion. Is possible. In addition, each pixel 61 has a square shape, and uses the image sensor 26 in which the number of pixels in the horizontal direction is larger than the number of pixels in the vertical direction and the detection area is rectangular, and the longitudinal direction of the image sensor 26 in the passing direction of the coins 23. Are arranged so that they substantially coincide with each other to obtain rectangular image data. The reason why the longitudinal direction is made coincident with the passing direction is the tolerance for the accuracy of detecting the timing when the coin 23 comes to the position corresponding to the center of the light receiving surface 27 of the image sensor 26 by effectively using the pixels of the image sensor 26. The image sensor 26 performs scanning of the horizontal scanning circuit 62 to which the output 67 is connected in preference to scanning of the vertical scanning circuit 63 to which the output 67 is not connected (for horizontal scanning). This is because the horizontal pause period (horizontal blanking period) in the output signal is small to detect an image in a horizontally long region, and the image data can be read out in a shorter time.

撮像手段16内の画像センサ26には、本実施の形態では図7の制御回路の構成図に示すように、画素行列の行に感度制御のための電圧を供給する制御回路68と、画素行列の列から接地へ流れる電流を処理する神経ネットワーク69とを備えている。制御回路68及び神経ネットワーク69については、特開平6−139361号(実施例6など)に詳細が記載されているため構成や動作の説明は省略するが、これらを備えることにより画像センサ26内で例えば3×3のフィルタ行列と画像の積和演算を実行して出力することができる。すなわち後述のエッジ検出手段84の機能やエッジ強調機能を画像センサ26内で実現できる。隣接する周囲の画素データに基づく演算は、特に高速に実行することができる。またフィルタの設定を変更することで、エッジ画像ではなく原画像をそのまま出力することができるのは当然である。このように画像センサ26に制御回路68及び神経ネットワーク69を備えることにより、画像センサ26内でフィルタ行列と画像の積和演算を実行できるので、エッジ検出手段84が不要になると共に、エッジ検出の処理時間を短縮しデータ処理を高速化することができる。なお、エッジ検出機能内蔵の画像センサ26は撮像手段16とエッジ検出手段84の両方の機能を併せ持ったものであり、撮像手段16とエッジ検出手段84は別々であっても構わないので、以降の説明では撮像手段16とエッジ検出手段84とを分けて述べる。   In the present embodiment, as shown in the block diagram of the control circuit in FIG. 7, the image sensor 26 in the imaging unit 16 includes a control circuit 68 that supplies a voltage for sensitivity control to a row of the pixel matrix, and a pixel matrix. And a neural network 69 for processing the current flowing from the row to the ground. Since the details of the control circuit 68 and the neural network 69 are described in Japanese Patent Laid-Open No. 6-139361 (Example 6), the description of the configuration and operation will be omitted. For example, a product-sum operation of a 3 × 3 filter matrix and an image can be executed and output. That is, the function of the edge detection means 84 and the edge enhancement function described later can be realized in the image sensor 26. Arithmetic operations based on neighboring surrounding pixel data can be executed particularly quickly. It is natural that the original image can be output as it is, instead of the edge image, by changing the filter setting. Since the image sensor 26 is provided with the control circuit 68 and the neural network 69 in this manner, the product-sum operation of the filter matrix and the image can be executed in the image sensor 26, so that the edge detection means 84 is not required and the edge detection is performed. Processing time can be shortened and data processing can be speeded up. Note that the image sensor 26 with a built-in edge detection function has both the functions of the imaging unit 16 and the edge detection unit 84, and the imaging unit 16 and the edge detection unit 84 may be separate. In the description, the imaging unit 16 and the edge detection unit 84 will be described separately.

図8は制御回路の構成を示すブロック図であり、厚みセンサ71は発振回路72に接続され、発振波形を正弦波から発振レベルを示す信号に変換する整流回路73を経て厚み検知手段74に入力されている。材質センサ75は発振回路76に接続され、整流回路77を経て材質検知手段78に入力されている。また整流回路73、77の出力は硬貨23が投入されたことを検知する投入検知手段79にも入る。投入検知手段79は、照明手段15と撮像手段16を制御し、照明手段15から照射され硬貨23で反射した反射光を撮像手段16で検知し、撮像したアナログ画像データを多値のデジタル信号に変換するA/D変換手段80に出力する。A/D変換手段80の出力は、相関二重サンプリング方式で雑音を除去するCDS手段70と、撮像手段16を制御し調整を行う調整手段81に接続されている。CDS手段70では、画素毎に画像信号と、バイアス成分及びノイズ成分のみから成る非画像信号とを読み出し、これらの差を出力するので、CDS手段70を備えることにより画素毎の電気回路の特性差などによる雑音を除去できる。CDS手段70の出力は、投入検知手段79、撮像手段16近傍の通路13が結露しているかどうかを検知する結露検知手段82、硬貨23の凹凸度合いを検知する凹凸検知手段83、画像データのエッジ部を検出するエッジ検出手段84、画像データにおける硬貨部分の中心と外径を検出する中心・外径検出手段85のそれぞれに入力されている。中心・外径検出手段85は、エッジ検出手段84と金種仮判定手段86及び倍率補正手段87に接続され、金種仮判定手段86では中心・外径検出手段85で検出した外径の値が近似し、該当すると考えられる最大2種類の金種を仮判定する。エッジ検出手段84の出力は画像データを直交座標から極座標に変換する座標変換手段88に入り、倍率補正手段87では硬貨23の通路13中での通過位置や撮像手段16の組み立て誤差等に起因する撮像倍率を補正し座標変換手段88を制御する。座標変換手段88の出力は二値化の閾値を設定する閾値設定手段89及び画像データを多値デジタル値から二値デジタル値に変換する二値化手段90とに入力される。二値化手段90の出力は回転角度検出手段91に接続され、記憶手段92に記憶された基準画像データに対する、投入された硬貨23の画像データの回転角度を検出し、投入された硬貨23の画像データと基準画像データとの照合を行う模様照合手段93に出力する。金種仮判定手段86の出力は倍率補正手段87と閾値設定手段89と回転角度検出手段91及び模様照合手段93に接続されると共に、記憶手段92は回転角度検出手段91と模様照合手段93、及び各比較手段94〜97に接続されている。比較手段94〜97のそれぞれには厚み検知手段74、材質検知手段78、凹凸検知手段83、模様照合手段93の出力が入り、比較手段94〜97は記憶手段92に記憶された基準と比較し、許容範囲内で一致していればその正貨の種類を示す信号を出力し、どの種類の基準値とも一致しない場合には偽貨であることを示す信号を出力する。判定手段99では、比較手段94〜97からの信号が全て同じ正貨の種類を示す場合に限りその正貨の種類を示す信号を出力し、それ以外の場合には偽貨を示す信号を判定信号100として出力する。判定手段99には、結露検知手段82と切替手段98の各出力も入力されている。   FIG. 8 is a block diagram showing the configuration of the control circuit. The thickness sensor 71 is connected to the oscillation circuit 72 and is input to the thickness detection means 74 through a rectifier circuit 73 that converts the oscillation waveform from a sine wave to a signal indicating the oscillation level. Has been. The material sensor 75 is connected to the oscillation circuit 76 and is input to the material detection means 78 via the rectifier circuit 77. The outputs of the rectifier circuits 73 and 77 are also input to the input detection means 79 for detecting that the coin 23 has been input. The input detection means 79 controls the illumination means 15 and the imaging means 16, detects the reflected light irradiated from the illumination means 15 and reflected by the coin 23, and detects the captured analog image data into a multi-value digital signal. It outputs to the A / D conversion means 80 to convert. The output of the A / D conversion means 80 is connected to a CDS means 70 for removing noise by a correlated double sampling method and an adjustment means 81 for controlling and adjusting the imaging means 16. The CDS means 70 reads out an image signal and a non-image signal consisting only of a bias component and a noise component for each pixel and outputs a difference between them. Noise due to such as can be removed. The output of the CDS means 70 is an input detection means 79, a dew condensation detection means 82 for detecting whether or not the passage 13 in the vicinity of the imaging means 16 is dewed, an unevenness detection means 83 for detecting the unevenness degree of the coin 23, and an edge of image data The edge detection means 84 for detecting the part and the center / outer diameter detection means 85 for detecting the center and outer diameter of the coin part in the image data are input. The center / outer diameter detection means 85 is connected to the edge detection means 84, the denomination temporary determination means 86, and the magnification correction means 87, and the denomination temporary determination means 86 detects the value of the outer diameter detected by the center / outer diameter detection means 85. Tentatively determine up to two types of denominations that are considered to be applicable. The output of the edge detection means 84 enters the coordinate conversion means 88 for converting the image data from orthogonal coordinates to polar coordinates, and the magnification correction means 87 is caused by the passage position of the coin 23 in the passage 13, the assembly error of the imaging means 16, and the like. The imaging magnification is corrected and the coordinate conversion means 88 is controlled. The output of the coordinate conversion means 88 is input to a threshold value setting means 89 for setting a threshold value for binarization and a binarization means 90 for converting image data from a multi-value digital value to a binary digital value. The output of the binarization means 90 is connected to the rotation angle detection means 91, detects the rotation angle of the image data of the inserted coin 23 with respect to the reference image data stored in the storage means 92, and The image data and the reference image data are output to the pattern matching means 93 for matching. The output of the denomination temporary determination means 86 is connected to the magnification correction means 87, the threshold setting means 89, the rotation angle detection means 91, and the pattern matching means 93, and the storage means 92 includes the rotation angle detection means 91, the pattern matching means 93, And it is connected to each comparison means 94-97. Each of the comparison means 94 to 97 receives the outputs of the thickness detection means 74, the material detection means 78, the unevenness detection means 83, and the pattern matching means 93. The comparison means 94 to 97 compare with the reference stored in the storage means 92. If they match within the allowable range, a signal indicating the type of the genuine coin is output, and if it does not match any type of reference value, a signal indicating that it is a false coin is output. The determination means 99 outputs a signal indicating the type of the genuine coin only when the signals from the comparison means 94 to 97 all indicate the same genuine coin type, and determines a signal indicating the false coin otherwise. Output as signal 100. The outputs of the dew condensation detection means 82 and the switching means 98 are also input to the determination means 99.

以上のように構成された硬貨識別装置について図9と図10に示すフローチャートを用い図8のブロック図も参照して、その動作を説明する。ステップS11〜S17で硬貨23が投入されたことを検知する。ここで硬貨23の投入及び投入検知とは、硬貨23の識別部への到達及び到達検知をも含む意味である。まず、硬貨投入を撮像手段16で検出するため、投入検知手段79は撮像手段16の設定を行う(S11)。具体的には、図11の撮像領域の概念図に示した撮像範囲101のうち、第1の投入検知領域102の部分画像のみ出力するように撮像手段16を設定し、画像センサ26の各画素61の初期化(リセット)などの撮像準備を行ってから撮像を開始する。   The operation of the coin discriminating apparatus configured as described above will be described with reference to the block diagram of FIG. 8 using the flowcharts shown in FIGS. In steps S11 to S17, it is detected that the coin 23 has been inserted. Here, the insertion and detection of insertion of the coin 23 mean to include arrival of the coin 23 to the identification unit and detection of arrival. First, in order to detect coin insertion by the imaging unit 16, the insertion detection unit 79 sets the imaging unit 16 (S11). Specifically, in the imaging range 101 shown in the conceptual diagram of the imaging region in FIG. 11, the imaging unit 16 is set so that only a partial image of the first input detection region 102 is output, and each pixel of the image sensor 26 is set. Imaging is started after preparation for imaging such as initialization (reset) 61 is performed.

次に、第1の投入検知領域102内の画素61全てが受光状態となるタイミングで照明手段15を短時間発光させる(S12)。硬貨23の通過速度に対して短時間だけ発光させることで、硬貨23を停止させることなく静止状態に近い画像が得られ識別精度を向上できる。また、LED25を大電流で駆動可能として照明を高照度化したり、長寿命化することができる。なお、照明手段15は第2の照明手段36と第3の照明手段37の両方を発光させる。以降特に明記しない場合、照明手段15を発光させるとは、第2の照明手段36及び第3の照明手段37の両方を発光させることを示す。   Next, the illumination means 15 is caused to emit light for a short time at the timing when all the pixels 61 in the first input detection region 102 are in the light receiving state (S12). By emitting light for a short time with respect to the passing speed of the coin 23, an image close to a stationary state can be obtained without stopping the coin 23, and the identification accuracy can be improved. In addition, the LED 25 can be driven with a large current so that the illumination can be increased in illuminance or the life can be extended. Note that the illumination unit 15 causes both the second illumination unit 36 and the third illumination unit 37 to emit light. Unless otherwise specified, illuminating the illumination means 15 means that both the second illumination means 36 and the third illumination means 37 are caused to emit light.

そして、第1の投入検知領域102の画像データを入力する(S13)。次に撮像手段16で投入検知する際は第2の投入検知領域103で、その次は第3の投入検知領域104で同様の入力を行い、さらに次は第1の投入検知領域102に戻る。3ヶ所の投入検知領域102〜104で投入検知を行うのは硬貨23や通路13が汚れている場合でも確実に硬貨23の投入を検知するためである。また図11に示すように、3ヶ所の投入検知領域102〜104は、撮像時硬貨位置33に対して、後述の模様入力用照明(S40)までの所要時間と硬貨23の通過速度とから逆算した位置に配置することで、平均的な通過速度の硬貨23が照明手段15及び画像センサ26上の受光面27のほぼ中心で撮像することができる。また、各投入検知領域102〜104は極力距離を離して、硬貨23や通路13の汚れの影響を同時に受けにくくすると共に、硬貨23の外径によって検知タイミングがずれないように、底面22からの高さは識別しようとする最小硬貨の硬貨位置105の中心付近とその上下に配置し、これら上下に配置した投入検知領域102、104は最小硬貨の硬貨位置105の中心付近に配置した投入検知領域103よりもやや投入口寄りに配置している。   Then, the image data of the first input detection area 102 is input (S13). Next, when the image pickup means 16 detects the input, the same input is performed in the second input detection area 103, the next input in the third input detection area 104, and then the process returns to the first input detection area 102. The reason why the insertion detection is performed in the three insertion detection areas 102 to 104 is to reliably detect the insertion of the coin 23 even when the coin 23 and the passage 13 are dirty. Further, as shown in FIG. 11, the three insertion detection areas 102 to 104 are calculated backward from the time required for the pattern input illumination (S40) described later and the passing speed of the coin 23 with respect to the coin position 33 at the time of imaging. By disposing at the position, the coin 23 having an average passing speed can be imaged at substantially the center of the light receiving surface 27 on the illumination means 15 and the image sensor 26. In addition, the input detection regions 102 to 104 are separated from each other as much as possible so that they are not easily affected by the dirt of the coins 23 and the passages 13, and the detection timing is not shifted by the outer diameter of the coins 23. The height is arranged near and above and below the center of the coin position 105 of the smallest coin to be identified, and the insertion detection areas 102 and 104 arranged above and below are the insertion detection areas arranged near the center of the coin position 105 of the smallest coin. It is arranged slightly closer to the inlet than 103.

このようにして入力した投入検知領域102〜104の画像データを基に、光学透明体14やレンズ28及び画像センサ26の受光面27等も含む通路13の結露検知を行う(S14)。結露しているかどうかの判定は、光学透明体14やレンズ28などに露が付着することにより硬貨23表面に合っていた焦点がずれて入力画像がぼけることを利用して行う。3ヶ所の投入検知領域102〜104の画像データのバラツキ、すなわち分散が3つとも一定値より小さくなる状態が続くと結露と判定している。分散は容易に求めることができると共に、分散の小ささで判定することで結露による撮像手段16の焦点のずれを検知できる。さらに、投入検知領域102〜104のうち1ヶ所でも分散が大きければ結露判定しないことで、誤判定を防止し結露判定の確実性を向上させている。結露と判定した場合には、画像センサ26の制御処理を省いて行わないことで正常でない画像データによる誤動作を防止したり、図示しない結露防止手段を動作させたり、結露の発生を自動販売機の制御部に対しては通信で、自動販売機の操作者に対しては表示を行って報知することも可能になる。撮像手段16を用いることで専用のセンサなしで結露を検知できると共に、部分的な画像の出力可能な画像センサ26を利用することで、短時間で結露検知用の画像が得られ高速に結露検知ができる。   Based on the image data of the input detection areas 102 to 104 input in this way, dew condensation is detected in the passage 13 including the optical transparent body 14, the lens 28, the light receiving surface 27 of the image sensor 26, and the like (S14). The determination as to whether or not condensation is made is based on the fact that the input image is blurred by defocusing on the surface of the coin 23 due to dew adhering to the optical transparent body 14 or the lens 28. If the variation of the image data in the three input detection areas 102 to 104, that is, the state in which all three variances are smaller than a certain value, dew condensation is determined. Dispersion can be easily obtained, and a shift in focus of the image pickup means 16 due to dew condensation can be detected by determining with the small dispersion. Furthermore, if even one of the input detection areas 102 to 104 has a large variance, the condensation determination is not performed, thereby preventing erroneous determination and improving the reliability of the condensation determination. If it is determined that condensation has occurred, the control processing of the image sensor 26 is not performed, so that malfunction due to abnormal image data can be prevented, condensation prevention means (not shown) can be operated, and condensation can be prevented from occurring in the vending machine. It is also possible to communicate to the control unit and notify the operator of the vending machine by displaying. Condensation can be detected without using a dedicated sensor by using the image pickup means 16, and an image for detecting condensation can be obtained in a short time by using the image sensor 26 capable of outputting a partial image. Can do.

撮像手段16での投入検知(S15)は、投入された硬貨23で照明手段15から照射された照明光が反射し撮像手段16で検知する画像データが変化することを利用する。3ヶ所の投入検知領域102〜104の画像データの平均または分散のうちの1つでも待機状態の値から一定以上の変化があれば、硬貨23が投入されたと判定する。平均と分散の少なくともどちらか一方が変化したら硬貨23が投入されたと判定することで、平均または分散のどちらかに変化が発生しないような場合にも確実に投入を検知できる。また複数ヶ所の領域で平均と分散を求め、1ヶ所のどちらか一方でも変化があれば投入と判定することで、通路13に汚れが付着した場合などでも確実に硬貨23の投入を検知することができる。   The input detection (S15) by the image pickup means 16 utilizes the fact that the illumination light irradiated from the illumination means 15 is reflected by the inserted coin 23 and the image data detected by the image pickup means 16 changes. If even one of the averages or variances of the image data in the three insertion detection areas 102 to 104 has a certain change from the standby state value, it is determined that the coin 23 has been inserted. If at least one of the average and the variance changes, it is determined that the coin 23 has been inserted, so that it is possible to reliably detect the insertion even when there is no change in either the average or the variance. In addition, the average and variance are calculated in a plurality of areas, and if there is a change in any one of the areas, it is determined that the coins are inserted. Can do.

投入検知用のセンサを別に設ける場合には、このセンサを設けるスペースが必要になり、かつ光学式のセンサを用いれば照明手段15の照明光との干渉を防止したり、投入検知用センサと撮像手段16の組み立てにより両センサの距離にバラツキが生じ画像検知のタイミングに誤差が発生する。これに対して本実施の形態のように、撮像手段16で投入検知を行い投入検知センサを兼ねることにより、複数ヶ所で容易に投入検知を行うことができると共に、スペースの削減、照明光の干渉や組み立てバラツキに影響されない正確な画像検知が実現できる。さらに部分的な画像の出力可能な画像センサ26を用いることで、短時間で投入検知用の画像が得られ高速に投入検知ができる。   In the case where an input detection sensor is provided separately, a space for providing this sensor is required, and if an optical sensor is used, interference with the illumination light of the illumination means 15 is prevented, or the input detection sensor and the imaging are taken. Assembling of the means 16 causes a variation in the distance between the two sensors, and an error occurs in the timing of image detection. On the other hand, as in the present embodiment, it is possible to easily detect the input at a plurality of locations by using the image pickup means 16 to detect the input and also serve as the input detection sensor, reduce the space, and interfere with the illumination light. And accurate image detection that is not affected by assembly variations. Furthermore, by using the image sensor 26 capable of outputting a partial image, an input detection image can be obtained in a short time, and the input detection can be performed at high speed.

結露判定中や、結露でなくとも通路13の汚れなどにより硬貨23の投入が検知できない場合のため、撮像手段16以外の厚みセンサ71と材質センサ75でも投入検知を行う(S16、S17)。投入口12から投入された硬貨23が厚み・材質兼用センサ17に近づくと、コイル53〜56のインピーダンスが変化し、それにつれて発振回路72、76の発振レベルが変化する。待機時の発振レベルから一定以上の変化があれば、硬貨23が投入されたと判定し、厚み及び材質検知(S20)を行う。   Since it is not possible to detect the insertion of the coin 23 during the condensation determination or due to dirt in the passage 13 even if it is not condensation, the insertion is also detected by the thickness sensor 71 and the material sensor 75 other than the imaging means 16 (S16, S17). When the coin 23 inserted from the insertion slot 12 approaches the thickness / material combination sensor 17, the impedances of the coils 53 to 56 change, and the oscillation levels of the oscillation circuits 72 and 76 change accordingly. If there is a certain change from the oscillation level during standby, it is determined that a coin 23 has been inserted, and thickness and material detection (S20) is performed.

厚み及び材質検知(S20)では、硬貨23によるコイル53〜56のインピーダンス変化に応じた発振回路72、76の発振レベルの変化から厚みと材質を検知する。前述のように硬貨23の厚みに敏感な厚みセンサ71の発振レベルは、発振波形を正弦波から発振レベルを示す信号に変換する整流回路73を経て、厚み検知手段74に接続されており、硬貨通過時の発振レベルの最大変化量を検知して比較手段94に出力する。材質検知手段78も同様に、硬貨23の材質に敏感な材質センサ75の発振レベルの、硬貨通過時の最大変化量を検知して比較手段95に出力する。   In the thickness and material detection (S20), the thickness and material are detected from the change in the oscillation level of the oscillation circuits 72 and 76 according to the impedance change of the coils 53 to 56 by the coin 23. As described above, the oscillation level of the thickness sensor 71 sensitive to the thickness of the coin 23 is connected to the thickness detecting means 74 via the rectifier circuit 73 that converts the oscillation waveform from a sine wave to a signal indicating the oscillation level. The maximum amount of change in the oscillation level during passage is detected and output to the comparison means 94. Similarly, the material detection means 78 detects the maximum amount of change of the oscillation level of the material sensor 75 sensitive to the material of the coin 23 when the coin passes and outputs it to the comparison means 95.

撮像手段16で投入検知(S15)した場合は、凹凸及び模様検知(S21)と厚み及び材質検知(S20)を並行して行う。画像検知はまず調整工程(S22)から行う。投入された硬貨23の材質や汚れ、通路13の汚れや照明手段15の劣化・温度特性等により、検知する画像データの画質は変化し、明るさやコントラストが上下する。これに対して硬貨23が通過する毎に毎回、後述の凹凸入力や模様入力を行う前に、これらの入力で用いるのと同じ撮像手段16及び照明手段15を使用して、事前に硬貨23の部分的な画像を取得する。この取得した画像に基づいて、撮像手段16の検知する画像データの画質が極力一定になるよう、撮像手段16の入力条件、具体的には感度、すなわち画像センサ26に含まれる増幅回路のゲインやオフセットレベルの調整を行う。図11に示すように入力条件設定領域106は、想定される最小速度の最小硬貨の硬貨位置105と想定される最大速度の硬貨位置107とに完全に含まれる位置、大きさに設定している。図11において、実際には投入検知から入力条件設定用の入力を行うまでの所要時間分だけ硬貨23は移動しているが、説明の簡略化のため最小速度の最小硬貨の硬貨位置105位置は投入検知時と同一としている。調整工程(S22)の最初では読み出し時間を高速化するため撮像手段16の出力画像領域をこの入力条件設定領域106のみに設定して、撮像準備を行ってから撮像を開始する(S31)。続いて、照明手段15を短時間発光させ(S32)、入力条件設定用領域106の画像データを入力する(S33)。本実施の形態では、入力条件設定用領域106に含まれる画素のうち、(非画像信号を含む雑音除去前の)画像信号の明るい方からの順位が5%にあたる画素の出力と、(バイアス成分とノイズ成分のみから成る)非画像信号の暗い方からの順位が5%にあたる画素の出力とに応じて、画像センサ26に含まれる増幅回路のゲインやオフセットレベルを変更し、撮像手段16の設定(S34)を行っている。そのため、明るい部分がA/D変換手段80のA/D変換範囲の上限を越えたり、暗い部分が下限を下回ったりして、A/D変換範囲から外れることを防止しながら、明るい部分と暗い部分の差を十分に出すような適切な調整が可能である。最も明るい画素と最も暗い画素の出力に基づいてもよく、容易に調整ができる。明るい方からの順位と、暗い方からの順位がそれぞれ5%にあたる画素の出力を用いているのは、撮像手段16に万が一、欠陥画素があった場合に調整困難になるのを防止するためである。しかし、これに限らず画像データの平均値やバラツキ等に基づいてもよいし、A/D変換手段80の基準電圧を変更しても画像センサ26に含まれる増幅回路のゲインやオフセットレベルを変更するのと同等の効果を有する。このように、撮像手段16で事前に硬貨23の画像を取得することで、取得した画像に基づいて撮像手段16の入力条件等を調整し、一定画質の画像データを得ることができる。また調整量を記憶し、硬貨23の投入毎に調整量を補正していくことで、部品劣化等の経時変化の影響を低減し、識別性能を維持することができる。硬貨23の想定される位置で入力することにより、確実に硬貨23の画像が得られ適正な調整ができる。さらに部分的な画像の出力可能な画像センサ26を用いることで、短時間で調整用の画像が得られ高速に調整ができる。   When the imaging means 16 detects the insertion (S15), the unevenness and pattern detection (S21) and the thickness and material detection (S20) are performed in parallel. Image detection is first performed from the adjustment step (S22). The image quality of image data to be detected changes depending on the material and dirt of the inserted coin 23, dirt on the passage 13, deterioration and temperature characteristics of the illumination means 15, and the brightness and contrast increase and decrease. On the other hand, every time the coin 23 passes, before performing the unevenness input and pattern input to be described later, the same image pickup means 16 and illumination means 15 as those used for these inputs are used in advance. Get a partial image. Based on the acquired image, the input conditions of the imaging unit 16, specifically the sensitivity, that is, the gain of the amplification circuit included in the image sensor 26, so that the image quality of the image data detected by the imaging unit 16 is as constant as possible. Adjust the offset level. As shown in FIG. 11, the input condition setting area 106 is set to a position and size that are completely included in the coin position 105 of the minimum coin with the assumed minimum speed and the coin position 107 with the assumed maximum speed. . In FIG. 11, the coin 23 is actually moved by the time required from the input detection to the input condition setting input, but the coin position 105 of the minimum coin with the minimum speed is It is the same as when detecting input. At the beginning of the adjustment step (S22), in order to speed up the readout time, the output image area of the imaging means 16 is set only to the input condition setting area 106, and imaging is started after preparation for imaging (S31). Subsequently, the illumination unit 15 emits light for a short time (S32), and the image data of the input condition setting area 106 is input (S33). In the present embodiment, among the pixels included in the input condition setting region 106, the output of the pixel corresponding to 5% of the order from the brighter image signal (before noise removal including the non-image signal), and (the bias component) The gain or offset level of the amplification circuit included in the image sensor 26 is changed in accordance with the output of the pixel corresponding to the order of 5% from the dark side of the non-image signal. (S34) is performed. For this reason, the bright portion and the dark portion are prevented while the bright portion exceeds the upper limit of the A / D conversion range of the A / D conversion means 80, or the dark portion falls below the lower limit and falls outside the A / D conversion range. Appropriate adjustments can be made so that the difference between the parts is sufficient. It may be based on the output of the brightest and darkest pixels and can be easily adjusted. The reason why the output of pixels corresponding to 5% of the order from the brighter side and the order from the darker side is used is to prevent the adjustment of the image pickup means 16 when there is a defective pixel. is there. However, the present invention is not limited to this, and it may be based on the average value or variation of the image data, or even if the reference voltage of the A / D conversion means 80 is changed, the gain or offset level of the amplifier circuit included in the image sensor 26 is changed. Has the same effect as Thus, by acquiring the image of the coin 23 in advance by the imaging unit 16, the input conditions of the imaging unit 16 and the like can be adjusted based on the acquired image, and image data with a constant image quality can be obtained. Further, by storing the adjustment amount and correcting the adjustment amount every time the coin 23 is inserted, it is possible to reduce the influence of changes over time such as component deterioration and maintain the identification performance. By inputting at an assumed position of the coin 23, an image of the coin 23 can be reliably obtained and appropriate adjustment can be performed. Furthermore, by using the image sensor 26 capable of outputting a partial image, an adjustment image can be obtained in a short time and can be adjusted at high speed.

また照明手段15の発光強度や発光時間等の照明条件を変更して同様の効果を得られるが、本実施の形態の調整方法では、照明条件を調整する場合、具体的には照明手段15の駆動電源(例えばLED25の駆動電流)や発光時間を変える場合と比較して、電源回路を追加したり画像センサ26の読み込みタイミングを変える複雑な制御をすることなしに、調整を行うことができる。   Further, the same effect can be obtained by changing the illumination conditions such as the light emission intensity and the light emission time of the illumination means 15, but in the adjustment method of the present embodiment, when adjusting the illumination conditions, specifically, the illumination means 15 As compared with the case where the drive power supply (for example, the drive current of the LED 25) and the light emission time are changed, the adjustment can be performed without adding a power supply circuit or complicated control for changing the reading timing of the image sensor 26.

なお、撮像手段16とは別の反射光センサを設けて、この反射光センサの受光量に応じて調整を行う技術は、例えば特開2000−331211号に開示されているが、本実施の形態では凹凸入力や模様入力に用いるのと同じ撮像手段16を用いて調整用の画像を取得することで、調整専用のセンサを設けることなく、また調整と識別用に別々のセンサを用いることにより発生する検知誤差の影響を受けないで調整を行うことが可能である。   A technique for providing a reflected light sensor different from the imaging unit 16 and performing adjustment according to the amount of light received by the reflected light sensor is disclosed in, for example, Japanese Patent Application Laid-Open No. 2000-33111. In this case, an image for adjustment is acquired by using the same image pickup means 16 used for unevenness input and pattern input, so that no adjustment dedicated sensor is provided and separate sensors are used for adjustment and identification. It is possible to adjust without being affected by the detection error.

続く工程は、凹凸入力工程(S23)である。正貨をコピーまたは正貨の模様を印刷した紙等を金属に貼付して作製された偽貨(以下、コピー貼付偽貨と言う)は、後述の模様照合(S51)では正貨との十分な差が見いだせず確実に排除することが困難である。そのため、凹凸度合いを検知してコピー貼付偽貨を排除するため、前述したように照明手段15を出口18側の第2の照明手段36と、投入口12側の第3の照明手段37とに分けて構成し、第2の照明手段36と第3の照明手段37を独立して発光可能としている。そして、図12に示すように、凹凸があれば発生する、第2の照明手段36のみで照明した場合(図12(a)の硬貨近傍の断面図を参照)の第1の画像データにできる影の位置(図12(b)の画像データの模式図を参照)と、第3の照明手段37のみで照明した場合(図12(c)の硬貨近傍の断面図を参照)の第2の画像データにできる影の位置(図12(d)の画像データの模式図を参照)の差、すなわち異なる方向から照明した場合の差を利用する。図11に破線で示すように3本の凹凸検知ライン108〜110を、想定される最小速度の最小硬貨の硬貨位置105と想定される最大速度の最小硬貨の硬貨位置107とに完全に含まれる位置、長さに設定しているので、確実に硬貨23の画像が得られ適正な凹凸検知ができる。図11において、実際には投入検知から凹凸検知用の入力を行うまでの所要時間分だけ硬貨23は移動しているが、説明の簡略化のため最小速度の最小硬貨の硬貨位置105は投入検知時と同一としている。凹凸入力工程(S23)の最初では撮像手段16の出力画像領域をこれらの凹凸検知ライン108〜110に順次設定し、撮像準備を行ってから撮像を開始する(S35)。続いて、第2の照明手段36或いは第3の照明手段37を1本の凹凸検知ラインに対して交互に切り替えて短時間発光させて(S36)、画像データを入力し(S37)、全ての凹凸検知ライン108〜110の第1及び第2の画像データが入力されるまで繰り返す(S38)。第1の画像入力と第2の画像入力との間隔を約500マイクロ秒と短時間に行うことで、その間の硬貨移動は平均的な通過速度で1画素相当分の程度であり、後述のように第1の画像データと第2の画像データとの差を計算する際に1画素分のズレを補正することで、硬貨移動による影響を抑制できる。本実施の形態では、第2の照明手段36と第3の照明手段37は全て同一の波長特性のLED25で構成している。そのため、モノクロ画像で凹凸が検知できる。また、凹凸検知用の第2の照明手段36と第3の照明手段37は、図3を用いて説明したように照明手段15を2群に分けて構成している、すなわち模様検知用の照明手段15を兼用し、さらに撮像手段16も同一のものを兼用しているので、コストやスペースの削減が可能であり、調整も専用の調整工程が不要である。第2の照明手段36と第3の照明手段37を異なるタイミングで発光させることで、第2及び第3の照明手段による照明光の干渉を防止でき、確実にそれぞれの反射光の画像が得られる。部分的な画像の出力可能な画像センサ26を用いることで、短時間で反射光の画像を得られ高速に凹凸入力を行うことができる。   The subsequent process is an unevenness input process (S23). A fake coin (hereinafter referred to as a copy affixed fake coin) produced by pasting a copy of a true coin or a paper printed with a pattern of a true coin on a metal is sufficient with the true coin in the pattern verification (S51) described later. It is difficult to eliminate them without finding any significant difference. Therefore, in order to detect the degree of unevenness and eliminate copy-pasted fake coins, the illumination means 15 is replaced with the second illumination means 36 on the outlet 18 side and the third illumination means 37 on the insertion port 12 side as described above. The second illumination means 36 and the third illumination means 37 can emit light independently. Then, as shown in FIG. 12, the first image data can be obtained when illuminated only by the second illumination means 36 that is generated if there is unevenness (see the cross-sectional view in the vicinity of the coin in FIG. 12A). The shadow position (see the schematic diagram of the image data in FIG. 12B) and the second when illuminated only by the third illumination means 37 (see the cross-sectional view in the vicinity of the coin in FIG. 12C) The difference between the positions of the shadows that can be formed in the image data (see the schematic diagram of the image data in FIG. 12D), that is, the difference when illuminated from different directions is used. As shown by broken lines in FIG. 11, the three unevenness detection lines 108 to 110 are completely included in the assumed minimum coin position 105 of the minimum coin and the assumed minimum coin position 107 of the maximum speed. Since the position and length are set, an image of the coin 23 can be obtained with certainty and appropriate unevenness can be detected. In FIG. 11, the coin 23 is actually moved for the time required from the input detection to the input of the unevenness detection, but the coin position 105 of the minimum coin with the minimum speed is detected for the sake of simplicity. Same as time. At the beginning of the concavo-convex input step (S23), the output image area of the imaging means 16 is sequentially set to these concavo-convex detection lines 108 to 110, and imaging preparation is started (S35). Subsequently, the second illuminating means 36 or the third illuminating means 37 are alternately switched with respect to one unevenness detection line to emit light for a short time (S36), and image data is input (S37). It repeats until the 1st and 2nd image data of the unevenness | corrugation detection lines 108-110 are input (S38). By performing the interval between the first image input and the second image input in a short time of about 500 microseconds, the coin movement between them is an average passing speed equivalent to one pixel, which will be described later. In addition, when the difference between the first image data and the second image data is calculated, the influence of the coin movement can be suppressed by correcting the shift of one pixel. In the present embodiment, the second illumination means 36 and the third illumination means 37 are all constituted by the LEDs 25 having the same wavelength characteristics. Therefore, the unevenness can be detected in the monochrome image. In addition, as described with reference to FIG. 3, the second illumination means 36 and the third illumination means 37 for detecting unevenness are configured by dividing the illumination means 15 into two groups, that is, illumination for pattern detection. Since the means 15 is also used and the image pickup means 16 is also used as the same, the cost and space can be reduced, and the adjustment is not required for a dedicated adjustment process. By causing the second illuminating unit 36 and the third illuminating unit 37 to emit light at different timings, interference of illumination light by the second and third illuminating units can be prevented, and an image of each reflected light can be obtained reliably. . By using the image sensor 26 capable of outputting a partial image, it is possible to obtain an image of reflected light in a short time and to input unevenness at high speed.

なお、異なる方向から異なる波長特性で照射して硬貨の凹凸を判定する技術は、例えば特開2002−183791号で開示されているが、本実施の形態では同一の波長特性で照射しているので、発光波長の異なる照明手段及びカラー画像センサまたはフィルタを用いることなく凹凸が検知できる。また、波長や環境温度によって変化するセンサ感度やフィルタの透過特性のバラツキに影響されないで、凹凸度合いを検知することができる。   In addition, although the technique which determines the unevenness | corrugation of a coin by irradiating with a different wavelength characteristic from a different direction is disclosed by Unexamined-Japanese-Patent No. 2002-183791, for example, since it irradiates with the same wavelength characteristic in this Embodiment. Unevenness can be detected without using illumination means and color image sensors or filters having different emission wavelengths. In addition, the degree of unevenness can be detected without being affected by variations in sensor sensitivity and filter transmission characteristics that change depending on the wavelength and ambient temperature.

また、異なる方向から別々に照射して各々の反射光強度に基づいて二値化を行って硬貨の模様を判定する技術は、例えば特開平7−210720号で開示されているが、本実施の形態では凹凸計算(S44)で後述するように、各々の反射光強度の差に基づいて検知しているので、多値で凹凸度合いを検知でき、正確に判定することが可能である。   Further, a technique for determining the pattern of a coin by irradiating separately from different directions and performing binarization based on each reflected light intensity is disclosed in, for example, Japanese Patent Laid-Open No. 7-210720. In the embodiment, as will be described later in the unevenness calculation (S44), since the detection is based on the difference between the reflected light intensities, the unevenness degree can be detected with multiple values and can be accurately determined.

次の工程は、模様入力工程(S24)である。撮像手段16の出力画像領域を、想定される最小速度の最大硬貨と想定される最大速度の最大硬貨とが完全に含まれる位置、大きさに設定し、撮像準備を行ってから撮像を開始する(S39)。続いて、照明手段15を短時間発光させ(S40)、第3の画像データを入力する(S41)。模様入力において、製品毎に発生する組み立て寸法やレンズ28等の特性のバラツキのため、画像データ中の硬貨位置は異なるため、その分だけ模様入力の領域を大きく設定する必要がある。これに対し本実施の形態では、画像データ中の底面22の位置すなわち硬貨23の下端位置と撮像倍率とを可変に記憶しており、最大硬貨の画像データ中での上端位置を算出することで模様入力の領域を縮小し画像データの入力時間とデータ記憶用の記憶回路の容量、及びデータの処理時間を削減することができる。さらに、記憶している硬貨23の下端位置と撮像倍率とは、正貨が投入される毎に補正を行っていくことで確実に補正でき、経時的な変化に対しても性能が劣化することを防止し、初期の識別性能を維持することが可能になる。硬貨23の下端位置と撮像倍率を記憶及び補正し、さらにこれらから最小硬貨の中心位置を算出して、3つのいずれか1つ以上に基づいて投入検知領域102〜104、入力条件設定領域106、凹凸検知ライン108〜110、模様入力の領域、及び後述の中心・外径検出用の検知ライン111、112を設定することにより撮像手段における硬貨23の位置を正確に捉えることができ、通路13や撮像手段16の組立誤差や経時的な寸法・特性変化に対して、また投入された硬貨23の大きさ、すなわち金種いかんに関わらず、各々の検出を正確に行うことが可能である。なお、硬貨23の位置を記憶する技術は、例えば特開平10−105765号で調整モードにおいて記憶する技術が開示されているが、本実施の形態のように可変に記憶することで硬貨が投入される毎に補正していくことが可能であり、経時変化に対して追随して識別性能を維持することができる。   The next step is a pattern input step (S24). The output image area of the imaging means 16 is set to a position and size that completely include the maximum coin with the assumed minimum speed and the maximum coin with the assumed maximum speed, and imaging is started after preparation for imaging is performed. (S39). Subsequently, the illumination unit 15 emits light for a short time (S40), and the third image data is input (S41). In the pattern input, the coin input position in the image data differs due to variations in the assembly dimensions generated for each product and the characteristics of the lens 28, etc. Therefore, it is necessary to set a larger pattern input area accordingly. In contrast, in this embodiment, the position of the bottom surface 22 in the image data, that is, the lower end position of the coin 23 and the imaging magnification are variably stored, and the upper end position in the image data of the largest coin is calculated. By reducing the pattern input area, the input time of image data, the capacity of a storage circuit for storing data, and the processing time of data can be reduced. Further, the stored lower end position of the coin 23 and the imaging magnification can be reliably corrected by performing correction every time a genuine coin is inserted, and the performance deteriorates even with a change with time. Can be prevented, and the initial identification performance can be maintained. The lower end position of the coin 23 and the imaging magnification are stored and corrected, the center position of the minimum coin is calculated from these, and the insertion detection areas 102 to 104, the input condition setting area 106, based on any one or more of the three, By setting the unevenness detection lines 108 to 110, the pattern input region, and detection lines 111 and 112 for detecting the center and outer diameter described later, the position of the coin 23 in the imaging means can be accurately captured, It is possible to accurately detect each of the assembling error of the image pickup means 16 and the dimensional / characteristic change with time and regardless of the size of the inserted coin 23, that is, the denomination. For example, Japanese Patent Application Laid-Open No. 10-105765 discloses a technique for storing the position of the coin 23 in the adjustment mode. However, the coin is inserted by variably storing it as in the present embodiment. It is possible to correct each time, and the identification performance can be maintained following the change with time.

そして、続く凹凸検出工程(S25)では、凹凸入力工程(S23)で入力した第1及び第2の画像データとから凹凸度合いを計算するが、その前に第3の画像データから中心と外径を検出すると共に、検出した外径に基づいて投入された硬貨23がどの金種に近いかを仮判定しておく。   In the subsequent unevenness detection step (S25), the unevenness degree is calculated from the first and second image data input in the unevenness input step (S23), but before that, the center and outer diameter are calculated from the third image data. , And tentatively determine which denomination is close to the inserted coin 23 based on the detected outer diameter.

中心・外径検出(S42)では、第3の画像データにおける硬貨23に相当する画像の位置を検知するため、基準点としての中心と共に外径を求める。長方形など円形以外の形状の識別対象に対しては、外周に相当する候補点から識別対象の外周を求めることで中心だけでなく向きも含めた位置を検知することができ、外周の候補点を中心との距離で検証し検知精度を高めることができるが、識別対象が円形の硬貨23である場合は特に、中心と外径とを求めることで容易に画像データにおける硬貨23の位置を検知できる。そのために、外周に相当する複数の候補点を選択し、各外周候補点と仮の中心との距離で検証を行って、外周に相当すると判定した候補点から中心を求めて、硬貨23の位置を検知している。図13に示すように第3の画像データに対して、まず通過方向(すなわち第3の画像の長辺方向の座標)に平行な検知ライン111及び通過方向に垂直な(すなわち第3の画像の短辺方向の座標に平行な)検知ライン112を複数設定する。一方向の検知ラインあたりにつき、中心の一座標を求めることができるので、方向の異なる少なくとも2方向の直線で検知を行うことで、中心の座標を決定することが可能である。特に直交する直線を利用し、なおかつ第3の画像の座標に平行な直線とすることで、座標の扱いが非常に容易で誤差が小さくなる。本実施の形態では各4本の検知ライン111、112を、記憶している硬貨23の下端位置に基づいて、想定される最小速度の最小硬貨及び想定される最大速度の最小硬貨の外周と必ず交差するような配置・長さとしている。記憶している硬貨23の下端位置を用い、さらに正貨が投入される毎に補正を行っていくことで、確実な位置の検知が可能であると共に、経時的な変化に対しても性能が劣化することを防止できる。   In the center / outer diameter detection (S42), in order to detect the position of the image corresponding to the coin 23 in the third image data, the outer diameter is obtained together with the center as the reference point. For an identification target having a shape other than a circle such as a rectangle, the position including not only the center but also the orientation can be detected by obtaining the outer periphery of the identification target from candidate points corresponding to the outer periphery. Although the detection accuracy can be improved by verifying with the distance from the center, the position of the coin 23 in the image data can be easily detected by obtaining the center and the outer diameter, particularly when the identification target is a circular coin 23. . Therefore, a plurality of candidate points corresponding to the outer periphery are selected, the distance between each outer periphery candidate point and the temporary center is verified, the center is obtained from the candidate points determined to correspond to the outer periphery, and the position of the coin 23 Is detected. As shown in FIG. 13, with respect to the third image data, first, the detection line 111 parallel to the passing direction (that is, the coordinate in the long side direction of the third image) and the direction perpendicular to the passing direction (that is, the third image) A plurality of detection lines 112 (parallel to the coordinates in the short side direction) are set. Since one coordinate of the center can be obtained for each detection line in one direction, it is possible to determine the coordinate of the center by performing detection with at least two straight lines having different directions. In particular, by using an orthogonal straight line and making it a straight line parallel to the coordinates of the third image, the handling of the coordinates is very easy and the error is reduced. In the present embodiment, each of the four detection lines 111 and 112 is always based on the lower end position of the stored coin 23 and the outer circumference of the minimum coin with the assumed minimum speed and the minimum coin with the assumed maximum speed. The layout and length are such that they intersect. By using the stored lower end position of the coin 23 and performing correction each time a correct coin is inserted, it is possible to reliably detect the position and to perform performance against changes over time. Deterioration can be prevented.

まず、各検知ライン111、112上の画像データに対して平滑化とエッジ検出を行う。具体的には注目画素の周囲の8画素を含む9画素のデータについて、水平方向の検知ライン111では(表1)の配列データと配列要素毎に積算した9要素の和の絶対値を、注目画素の平滑化・エッジ検出後のデータとする。垂直方向の検知ライン112では(表2)の配列データと配列要素毎に積算した9要素の和の絶対値を平滑化・エッジ検出後のデータとする。検知ラインの方向に応じた配列データと積算する(水平方向の検知ライン111と垂直方向の検知ライン112とで計算方法を変える)ことにより、それぞれのラインに一致する方向の変化のみを検出でき、計算が高速化される。水平方向の検知ライン111と垂直方向の検知ライン112に対して、(表1)の配列データと配列要素毎に積算した9要素の和の絶対値と、(表2)の配列データと配列要素毎に積算した9要素の和の絶対値との和を求め、注目画素の平滑化・エッジ検出後のデータとしても構わない。   First, smoothing and edge detection are performed on the image data on the detection lines 111 and 112. Specifically, for the data of 9 pixels including 8 pixels around the pixel of interest, the horizontal detection line 111 uses the array data in (Table 1) and the absolute value of the sum of the 9 elements integrated for each array element. Data after pixel smoothing and edge detection. In the detection line 112 in the vertical direction, the absolute value of the sum of the array data in (Table 2) and the nine elements integrated for each array element is used as data after smoothing and edge detection. By integrating with the array data according to the direction of the detection line (changing the calculation method between the detection line 111 in the horizontal direction and the detection line 112 in the vertical direction), it is possible to detect only the change in the direction matching each line, Calculation is speeded up. For the detection line 111 in the horizontal direction and the detection line 112 in the vertical direction, the absolute value of the sum of the array data of (Table 1) and the nine elements integrated for each array element, and the array data and array elements of (Table 2) It is also possible to obtain the sum of the 9 elements summed up every time and the absolute value of the sum to obtain the data after smoothing and detecting the edge of the pixel of interest.

Figure 2005316553
Figure 2005316553

Figure 2005316553
Figure 2005316553

平滑化・エッジ検出後のデータを検知ライン111、112中央で二分割して、前半・後半各3番目までの最大値を取る点を外周候補点113とする。この際、ライン中央からの距離に比例した値との積を取って補正した上で3番目までの極大値を求めることにより、硬貨23の外周が写されている可能性の高い画像の外側、すなわちライン中央から離れた点を優先して選択でき、照明手段15の照度にムラが発生し硬貨23の外周が暗く写された場合などでも、硬貨の位置を精度良く検知できる。また最大値ではなく極大値で外周候補点113を求めることにより、画像が鮮明でなく極大がなだらかなような場合でも、特定部分に集中することなく外周候補点113を選択することができる。外周候補点113の一部を、図13に白及び黒点で示す。   The point after the smoothing / edge detection is divided into two at the center of the detection lines 111 and 112, and the point having the maximum value in the first half and the second half is set as the outer peripheral candidate point 113. At this time, by taking a product with a value proportional to the distance from the center of the line and correcting it to obtain the maximum value up to the third, the outside of the image where the outer periphery of the coin 23 is likely to be copied, That is, a point away from the center of the line can be selected preferentially, and the position of the coin can be detected with high accuracy even when the illuminance of the illuminating means 15 is uneven and the outer periphery of the coin 23 appears dark. Further, by obtaining the peripheral candidate point 113 not by the maximum value but by the local maximum value, it is possible to select the peripheral candidate point 113 without concentrating on a specific portion even when the image is not clear and the local maximum is smooth. A part of the outer periphery candidate points 113 is indicated by white and black dots in FIG.

次に、外周候補点113同士の中点位置を利用して、識別対象の中心候補点114を検知する。点対称の形状の識別対象では、外周と直線の交点の中点位置が、識別対象の中心をこの直線に投影した位置とが一致するので、直線上で検知した外周点の中点位置を利用すれば、正確に中心を検知することが可能である。検知ライン111、112毎に前半の候補点と後半の候補点から1点ずつ選んだ2点の外周候補点113同士の中点位置を合計9通り求める。4ライン分、合計36通りの中点位置の度数分布から最も度数の高い極大点を2点求めて、中心候補点114の座標とする。前半の候補点と後半の候補点との中点位置の度数分布を求める際、前半の候補点と後半の候補点との間隔が一定の範囲(範囲イとする)内でない場合には、この中点位置は度数分布に用いないようにしている。上限を識別対象の最大硬貨の直径に許容範囲を加えた値に、下限を識別対象の最小硬貨の直径から許容範囲を減じた値とし、下限の許容範囲を検知ライン111、112と硬貨中心とが最も離れた場合の距離を考慮して設定した値とすることで、本来の外周点ではありえない間隔の組み合わせを除外し、中心を正確に検知することができる。これを通過方向と平行な方向(X座標とする)及び垂直方向(Y座標とする)について求めて、図13のx1、x2、y1、y2で示したように中心候補点114の座標とする。   Next, the center candidate point 114 to be identified is detected using the midpoint position between the outer periphery candidate points 113. For a point-symmetric shape identification target, the midpoint position of the intersection of the outer circumference and the straight line matches the position where the center of the identification target is projected onto this straight line, so use the midpoint position of the outer peripheral point detected on the straight line. By doing so, it is possible to accurately detect the center. For each of the detection lines 111 and 112, a total of nine midpoint positions are determined between the two outer peripheral candidate points 113 selected one by one from the former candidate point and the latter candidate point. Two maximum points with the highest frequency are obtained from the frequency distribution of a total of 36 middle point positions for four lines, and set as the coordinates of the center candidate point 114. When calculating the frequency distribution of the midpoint position between the first half candidate point and the second half candidate point, if the interval between the first half candidate point and the second half candidate point is not within a certain range (range A), this The midpoint position is not used for the frequency distribution. The upper limit is a value obtained by adding an allowable range to the diameter of the maximum coin to be identified, the lower limit is a value obtained by subtracting the allowable range from the diameter of the minimum coin to be identified, and the lower limit allowable range is the detection lines 111 and 112 and the coin center. By setting the value in consideration of the distance in the case of the farthest distance, the combination of intervals that cannot be the original outer peripheral point can be excluded, and the center can be accurately detected. This is obtained in the direction parallel to the passing direction (X coordinate) and the vertical direction (Y coordinate), and is set as the coordinates of the center candidate point 114 as indicated by x1, x2, y1, and y2 in FIG. .

続いて、中心候補点114の座標毎に、外周候補点113同士の間隔から2通りずつの直径候補を求める。円形の識別対象では、外周候補点の間隔が直径に近い値となることを利用する。例えば、中心候補点114のX座標x1に対して図14に示すように、中点位置がx1と許容範囲内で一致し、かつ間隔が一定の範囲(例えば、範囲イ)内であるX方向の検知ライン111上の外周候補点113同士の前・後半の組み合わせについて間隔の度数分布を求め、2番目までの極大位置を求め、この中心候補点114のX座標x1に対する直径候補Rx11、Rx12とする。また、これらの直径候補における度数をそれぞれHx11、Hx12とする。中心候補点114のX座標x2についても同様に直径候補Rx21、Rx22と度数Hx21、Hx22を求めると共に、中心候補点114のY座標y1、y2についてはY方向の検知ライン112上の外周候補点113を用いて直径候補Ry11、Ry12、Ry21、Ry22と度数Hy11、Hy12、Hy21、Hy22を求める。そして、中心候補点114のX・Y座標の組み合わせ4通りのうち、以下のように選択して中心候補点114を2点に絞り込む。絞り込みは、X座標側の直径候補とY座標側の直径候補の差が一定値(値ロとする)以下である組み合わせの中で度数が大きいものから選択して行う。例えば、中心候補点114のX座標x1とY座標y1の組み合わせの場合、|Rx11−Ry11|、|Rx12−Ry11|、|Rx11−Ry12|、|Rx12−Ry12|のうち、|Rx12−Ry11|が値ロ以下であれば、度数はHx12+Hy11となる。特に識別対象が円形の場合は、中心を通る直線上に乗った外周点の間隔は直線の方向によらず一定であり、中心と検知ラインとの変位を考慮しても外周候補点113同士の間隔は所定範囲の値となるので、直径候補の差を判定することで、中心検知の精度を高めることができる。   Subsequently, for each coordinate of the center candidate point 114, two diameter candidates are obtained from the interval between the outer periphery candidate points 113. In the case of a circular identification target, the fact that the interval between the outer periphery candidate points is a value close to the diameter is used. For example, as shown in FIG. 14 with respect to the X coordinate x1 of the center candidate point 114, the midpoint position coincides with x1 within an allowable range, and the interval is within a certain range (for example, range A). The frequency distribution of the intervals is obtained for the combination of the front and rear half of the outer periphery candidate points 113 on the detection line 111, the maximum positions up to the second are obtained, and the diameter candidates Rx11, Rx12 with respect to the X coordinate x1 of the center candidate point 114 To do. The frequencies in these diameter candidates are assumed to be Hx11 and Hx12, respectively. Similarly, the diameter candidates Rx21 and Rx22 and the frequencies Hx21 and Hx22 are obtained for the X coordinate x2 of the center candidate point 114, and for the Y coordinates y1 and y2 of the center candidate point 114, the outer peripheral candidate point 113 on the detection line 112 in the Y direction. Are used to find diameter candidates Ry11, Ry12, Ry21, Ry22 and frequencies Hy11, Hy12, Hy21, Hy22. Then, of the four combinations of the X and Y coordinates of the center candidate point 114, the following selection is made to narrow down the center candidate point 114 to two points. The narrowing down is performed by selecting from combinations having a high frequency among combinations in which the difference between the diameter candidate on the X coordinate side and the diameter candidate on the Y coordinate side is equal to or less than a certain value (value B). For example, in the case of the combination of the X coordinate x1 and the Y coordinate y1 of the center candidate point 114, | Rx12-Ry11 | of | Rx11-Ry11 |, | Rx12-Ry11 |, | Rx11-Ry12 | If is less than or equal to the value B, the frequency is Hx12 + Hy11. In particular, when the identification target is a circle, the interval between the outer peripheral points on the straight line passing through the center is constant regardless of the direction of the straight line. Since the interval is a value within a predetermined range, the accuracy of center detection can be improved by determining the difference between the diameter candidates.

こうして絞り込んだ2点の中心候補点114のそれぞれに対して、この中心候補点114と各外周候補点113との距離を計算して、距離(すなわち半径を表す)に対する度数分布を求める。但し、前半と後半の外周候補点113の中点位置がこの中心候補点114の座標(X方向の検知ライン111上ではX座標、Y方向の検知ライン112上ではY座標)と許容範囲内で一致し、かつ間隔が範囲イ内である組み合わせの外周候補点113のみから求める。また図15に示すように、X方向の検知ライン111上の外周候補点113と、Y方向の検知ライン112上の外周候補点113に対して、別々に度数分布を求めた後に、半径に対して度数の低い方を結ぶ。距離(半径)に対する度数(中点位置と間隔の両方が所定条件を満足する外周候補点113同士の組数)を求め、またX方向とY方向の低い方の度数を結ぶことで、X方向の精度は高いがY方向の精度が低いような中心候補点114を中心として誤判定するのを避けることができる。この度数分布の極大のうちで、度数が一定値(値ハ)以上で半径の最大を求めて、仮半径とする。そして、中心候補点114との距離が求めた仮半径に対して一定の許容範囲内にある外周候補点113のうちで、同一検知ラインの前半と後半に1点ずつのみ属するような2点の組を選び出し、図13に黒点で示す外周点115とする。例えば外周候補点116は、中心候補点114との距離は許容範囲内であるが、同一の検知ライン112上に距離が許容範囲内の外周候補点113がないため、外周点115としない。こうして選び出した外周点の組数がX方向とY方向の両方とも一定以上で、かつ仮半径の最も大きい中心候補点114を仮中心とする。そして、この仮中心に決定した中心候補点114に対して選び出した外周候補点113を最終的な外周点115とする。識別対象の中心に対して複数の候補点を検知して検証することで、識別対象の内部の模様や外部のノイズに影響されて誤検知するのを防止できる。また、外周点との距離で中心の候補点の検証を行い、特に距離(半径)の大きい方を優先することで識別対象内部の模様を外周と認識するような誤りを避けることができる。   For each of the two center candidate points 114 thus narrowed down, the distance between the center candidate point 114 and each of the outer peripheral candidate points 113 is calculated to obtain a frequency distribution with respect to the distance (ie, representing the radius). However, the midpoint position of the outer half candidate point 113 in the first half and the second half is within the allowable range of the coordinates of the center candidate point 114 (X coordinate on the detection line 111 in the X direction and Y coordinate on the detection line 112 in the Y direction). It is obtained only from the outer peripheral candidate points 113 of the combination that match and the interval is within the range a. Further, as shown in FIG. 15, the frequency distribution is separately obtained for the outer periphery candidate point 113 on the detection line 111 in the X direction and the outer periphery candidate point 113 on the detection line 112 in the Y direction. Tie the one with the lower frequency. By calculating the frequency (the number of pairs of outer peripheral candidate points 113 whose midpoint position and interval satisfy both predetermined conditions) with respect to the distance (radius) and connecting the lower frequency in the X direction and the Y direction, It is possible to avoid misjudgment about the center candidate point 114 having high accuracy but low accuracy in the Y direction. Among the maximums of the frequency distribution, the maximum radius is obtained when the frequency is equal to or greater than a certain value (value c), and is set as a temporary radius. Among the outer peripheral candidate points 113 within a certain allowable range with respect to the provisional radius obtained by the distance to the center candidate point 114, two points that belong to only one point each in the first half and the second half of the same detection line. A set is selected and set as an outer peripheral point 115 indicated by a black dot in FIG. For example, the outer peripheral candidate point 116 is not the outer peripheral point 115 because the distance from the central candidate point 114 is within the allowable range, but there is no outer peripheral candidate point 113 within the allowable range on the same detection line 112. The center candidate point 114 having the largest provisional radius and the number of sets of outer peripheral points selected in this way is greater than or equal to a certain number in both the X and Y directions. The outer periphery candidate point 113 selected for the center candidate point 114 determined as the temporary center is set as the final outer periphery point 115. By detecting and verifying a plurality of candidate points with respect to the center of the identification target, it is possible to prevent erroneous detection due to the internal pattern of the identification target and external noise. Further, by verifying the center candidate point based on the distance from the outer peripheral point and giving priority to the one having a larger distance (radius), an error such as recognizing the pattern inside the identification target as the outer periphery can be avoided.

最後に、X方向の検知ライン111上の外周点115の平均X座標と、Y方向の検知ライン112上の外周点115の平均Y座標とを求めて中心とする。さらに、この中心と外周点115との距離の平均を求め、2倍して外径とする。本実施の形態では、外周に相当する候補点と仮中心に相当する候補点とをそれぞれ複数選択し、外周候補点と仮中心候補点の距離で検証を行い、外周及び仮中心に相当する候補点を決定して中心と半径とを求めることにより、確実に硬貨23の位置を検知することができるので、模様を正確に識別することが可能になる。検知ライン111、112を複数本設定すると共に、平滑化・エッジ検出を行って各検知ライン111、112上の外周候補点113を、画像の外側を優先するよう補正をしながら複数選択することで、硬貨23・通路13の汚れや照明手段15のムラの影響を受けにくい確実な中心・外径検知が可能になる。エッジ検出ではなくエッジ強調でも同様の効果が得られる。なお、識別対象が円形以外の場合、例えば長方形の紙幣等に対しては中心や外周と共に長辺や短辺寸法を求めればよいが、これらに限らず特徴となる孔等の形状や模様などを基準点として検出し識別対象の位置を検知することもできる。   Finally, the average X coordinate of the outer peripheral point 115 on the detection line 111 in the X direction and the average Y coordinate of the outer peripheral point 115 on the detection line 112 in the Y direction are obtained and set as the center. Further, the average of the distance between the center and the outer peripheral point 115 is obtained and doubled to obtain the outer diameter. In this embodiment, a plurality of candidate points corresponding to the outer periphery and a plurality of candidate points corresponding to the temporary center are selected, and verification is performed based on the distance between the outer periphery candidate point and the temporary center candidate point, and candidates corresponding to the outer periphery and the temporary center. By determining the point and obtaining the center and radius, the position of the coin 23 can be reliably detected, so that the pattern can be accurately identified. By setting a plurality of detection lines 111 and 112 and performing smoothing and edge detection to select a plurality of outer peripheral candidate points 113 on the detection lines 111 and 112 while correcting so that the outside of the image is given priority. Thus, it is possible to reliably detect the center / outer diameter, which is not easily affected by dirt on the coin 23 / passage 13 or unevenness of the illumination means 15. Similar effects can be obtained by edge enhancement instead of edge detection. In addition, when the identification target is other than a circle, for example, for a rectangular bill, the long side and the short side dimension may be obtained together with the center and the outer periphery. It is also possible to detect the position of the identification target by detecting it as a reference point.

なお、複数の検知ラインで外周点を検知する技術は、例えば特開平9−17821号や特開平10−63852号に開示されているが、本実施の形態では外周の候補点を複数選択し、仮中心との距離で検証を行って外周点を求めているため、図13に示すように底面22が写り込んだりノイズのある場合でも外径点を誤って選択することがないので、正確に中心と外径を検出できる。   In addition, although the technique which detects an outer periphery point with a some detection line is disclosed by Unexamined-Japanese-Patent No. 9-17821 or Unexamined-Japanese-Patent No. 10-63852, for example, in this Embodiment, several candidate points of an outer periphery are selected, Since the outer peripheral point is obtained by performing verification based on the distance from the temporary center, the outer diameter point is not erroneously selected even when the bottom surface 22 is reflected or there is noise as shown in FIG. The center and outer diameter can be detected.

金種仮判定(S43)では、中心・外径検出手段85から出力された外径から、投入された硬貨23がどの金種に近いかを仮判定する。あらかじめ定められている各金種毎の外径基準値と記憶している撮像倍率とから、検知した外径に近い2金種を選び出して出力する。但し、あらかじめ定めた許容範囲内で該当する金種が1金種以下の場合は、その金種を選び出す。外径に基づけば、容易に金種を仮判定できる。1金種に絞らず2金種とすることで、硬貨23が通路13の中で撮像手段16の近くを通過するか遠くを通過するかといった通過位置の影響で金種を誤判別するのを防止して識別精度を向上させることができる。例えば日本の百円硬貨(22.6mm)と十円硬貨(23.5mm)では約4%の外径差しかなく、特に広角レンズを使用した場合は通過位置の影響が大きく、例えば±0.5mmの通過位置の変化で画像データ上の外径は±2%変化するため誤判別の恐れがある。また3金種以上に仮判定すると、以降のデータ処理、特に後述の模様照合工程(S26)の回転角度検出(S50)に多大な時間を要するため、最大2金種としてデータ処理時間が一定の上限時間を超えないようにしているが3金種以上としてもよい。   In the denomination temporary determination (S43), it is temporarily determined which denomination is close to the inserted coin 23 from the outer diameter output from the center / outer diameter detection means 85. Two denominations close to the detected outer diameter are selected and output from a predetermined outer diameter reference value for each denomination and the stored imaging magnification. However, if the corresponding denomination is less than or equal to 1 denomination within a predetermined allowable range, that denomination is selected. Based on the outer diameter, the denomination can be easily tentatively determined. By using two denominations instead of narrowing down to one denomination, it is possible to misdetermine the denomination due to the influence of the passing position such as whether the coin 23 passes near or far away from the imaging means 16 in the passage 13. It is possible to improve the identification accuracy. For example, a Japanese one hundred yen coin (22.6 mm) and a ten yen coin (23.5 mm) have an outer diameter of about 4%. Especially when a wide-angle lens is used, the influence of the passing position is large. Since the outer diameter on the image data changes by ± 2% due to a change in the passing position of 5 mm, there is a risk of erroneous determination. Further, if it is tentatively determined to be more than 3 denominations, it takes a lot of time for the subsequent data processing, especially the rotation angle detection (S50) in the pattern matching step (S26) described later, and therefore the data processing time is constant for a maximum of 2 denominations. Although the upper limit time is not exceeded, three or more denominations may be used.

なお金種を1金種に確定して、その金種に応じた処理を行う技術は、例えば特開平10−63852号に開示されているが、本実施の形態では複数の金種に仮判定することで、硬貨23の通過位置等の影響による金種の誤判別を防止できる。   A technique for determining a denomination as one denomination and performing processing according to the denomination is disclosed in, for example, Japanese Patent Application Laid-Open No. 10-63852. By doing so, it is possible to prevent the wrong determination of the denomination due to the influence of the passing position of the coin 23 or the like.

続く凹凸計算(S44)では、凹凸入力工程(S23)で入力した第1及び第2の画像データから、凹凸検知手段83で硬貨23の凹凸度合いを検知する。各凹凸検知ライン108〜110について、第1の画像データと第2の画像データとの画素毎の差の絶対値を、その凹凸検知ライン上の全画素にわたって加算する。画素毎の差の絶対値の総和を用いることで、比較手段96における比較が簡素化される。第2の照明手段36と第3の照明手段37は、第1の画像データと第2の画像データが均質となるよう、図3で説明したように構成している。しかし、第1の画像データと第2の画像データにおいて、投入口12側と出口18側の明度の差は完全に抑制するのは困難であり、各画素の明度は画素の位置(投入口12からの距離)とのゆるやかな相関を持ち、この相関は第1の画像と第2の画像で符号が逆となる。そのため、第1の画像データと第2の画像データとの画素毎の差を求める前に、第1の画像データと第2の画像データはそれぞれ、画素の位置に応じた補正を行い、投入口12側と出口18側の明度の差をさらに抑制している。例えば、投入口12からの距離に比例した値を、第1の画像データでは減算し、第2の画像データでは加算することで、各画像データを均質化できる。さらに、第1の画像データと第2の画像データとで平均値が一致するように補正を行うことで、この後に求める差の精度が一層向上する。これらの補正により、第1の画像データ及び第2の画像データにおける誤差が減少し、硬貨23の凹凸度合いをより正確に表すようになる。これらの補正後、差を求める。画素毎の差を求める際には、前述の硬貨23移動の影響を打ち消すため、先に入力を行う第1の画像データの画素に対して、第2の画像データの1画素後ろ(出口18側)の画素のデータとの差を求めている。こうして求めた差は凹凸を持つ硬貨23では値が大きく、凹凸を持たないコピー貼付偽貨では値が小さくなるが、一部の画素でノイズ等が発生し、この画素で過大な差が発生したような場合、コピー貼付偽貨でも大きな値となってしまう。これを防止しノイズの影響を軽減するため、1画素当たりの差に上限を設けて制限している。このようにして、3本の凹凸検知ライン108〜110について計算を行い、3本のうちの最大値を出力する。凹凸検知ライン108〜110を複数本設定することで、硬貨23や通路13の汚れの影響を受けにくく、凹凸模様の少ない硬貨23でも確実に凹凸度合いを検知できる。   In the subsequent concavo-convex calculation (S44), the concavo-convex degree of the coin 23 is detected by the concavo-convex detection means 83 from the first and second image data input in the concavo-convex input step (S23). For each unevenness detection line 108 to 110, the absolute value of the difference between the first image data and the second image data for each pixel is added over all the pixels on the unevenness detection line. By using the sum of absolute values of differences for each pixel, the comparison in the comparison unit 96 is simplified. The second illumination means 36 and the third illumination means 37 are configured as described with reference to FIG. 3 so that the first image data and the second image data are uniform. However, in the first image data and the second image data, it is difficult to completely suppress the difference in brightness between the inlet 12 side and the outlet 18 side, and the brightness of each pixel depends on the position of the pixel (the inlet 12 And the correlation is reversed between the first image and the second image. Therefore, before obtaining the pixel-by-pixel difference between the first image data and the second image data, each of the first image data and the second image data is corrected according to the position of the pixel. The difference in brightness between the 12 side and the outlet 18 side is further suppressed. For example, each image data can be homogenized by subtracting a value proportional to the distance from the insertion port 12 in the first image data and adding in the second image data. Further, by performing the correction so that the average values of the first image data and the second image data match each other, the accuracy of the difference obtained thereafter is further improved. By these corrections, errors in the first image data and the second image data are reduced, and the unevenness degree of the coin 23 is more accurately represented. After these corrections, the difference is obtained. When calculating the difference for each pixel, in order to cancel the influence of the movement of the coin 23 described above, the pixel of the first image data to be input first is one pixel behind the second image data (exit 18 side). ) To obtain the difference from the pixel data. The difference thus obtained is large for coins 23 with unevenness and small for copy-pasted fake coins without unevenness, but noise or the like occurs in some pixels, and an excessive difference occurs in these pixels. In such a case, even a copy-pasted fake coin has a large value. In order to prevent this and reduce the influence of noise, the difference per pixel is limited by providing an upper limit. In this way, the calculation is performed for the three unevenness detection lines 108 to 110, and the maximum value of the three is output. By setting a plurality of concavo-convex detection lines 108 to 110, the degree of concavo-convex can be reliably detected even with the coin 23 having a small concavo-convex pattern that is not easily affected by the dirt of the coin 23 and the passage 13.

さらに、模様照合工程(S26)を行う。模様照合工程(S26)では、多値デジタル値の画像データをエッジ検出(S45)してから、撮像倍率の補正(S46)を行いながら直交座標から極座標に座標変換(S47)し、二値化(S49)した上で、基準画像に対する投入された硬貨23の画像データの回転角度を検出(S50)して、検出した回転角度を考慮して基準画像との照合(S51)を行う。これらの工程を、金種仮判定(S43)で仮判定した2金種分の各表裏2面に対して行うが、例えばユーロ硬貨のように片面の模様が共通で、他面が15ヵ国で異なる場合には、合計16面分の処理を行えばよい。   Further, a pattern matching step (S26) is performed. In the pattern matching step (S26), edge detection (S45) of multi-valued digital image data is performed, and then coordinate conversion from orthogonal coordinates to polar coordinates (S47) is performed while correcting imaging magnification (S46), and binarization is performed. After (S49), the rotation angle of the image data of the inserted coin 23 with respect to the reference image is detected (S50), and collation with the reference image is performed in consideration of the detected rotation angle (S51). These steps are performed on the two front and back surfaces of the two denominations that were provisionally determined in the denomination denomination (S43). If they are different, processing for a total of 16 planes may be performed.

模様照合工程(S26)の各動作を、エッジ検出(S45)から詳細に説明する。エッジ検出手段84では、第3の画像データの各画素データに対して中心・外径検出(S42)と同様に平滑化を兼ねたエッジ検出を行い、エッジ検出後の画像データを第4の画像データとして出力する。具体的には注目画素の周囲の8画素を含む9画素のデータについて、(表1)の配列データと配列要素毎に積算した9要素の和の絶対値と、(表2)の配列データと配列要素毎に積算した9要素の和の絶対値との和を求め、注目画素のエッジ検出後のデータとする。なおエッジ検出(S45)は、中心・外径検出(S42)で検出した中心を基準に、識別対象とする最大外径硬貨の外径範囲内に位置する画素に関して行えば十分である。画像データに対してエッジ検出(S45)を行うことにより、反射光の明るさ(輝度)そのものではなく隣接部分との明るさの差で判定することができるので、画像データの明るさの全体的な変化や局所的なムラの影響を受けにくく、正確な識別が可能になる。エッジ検出ではなくエッジ強調を行うことでも、同様の効果を得られる。ここに画像データの明るさの全体的な変化や局所的なムラは硬貨23の材質や色、通路13又は硬貨23の全体的な或いは一部の局所的な汚れなどによって発生するものであり、これらの影響を低減することができる。   Each operation | movement of a pattern collation process (S26) is demonstrated in detail from edge detection (S45). In the edge detection means 84, edge detection that also serves as smoothing is performed on each pixel data of the third image data in the same manner as the center / outer diameter detection (S42), and the image data after edge detection is used as the fourth image data. Output as data. Specifically, for 9 pixel data including 8 pixels around the pixel of interest, the array data in (Table 1) and the absolute value of the sum of 9 elements integrated for each array element, and the array data in (Table 2) The sum with the absolute value of the sum of the nine elements integrated for each array element is obtained and used as data after edge detection of the pixel of interest. Note that it is sufficient that the edge detection (S45) is performed on pixels located within the outer diameter range of the maximum outer diameter coin to be identified with reference to the center detected by the center / outer diameter detection (S42). By performing edge detection (S45) on the image data, it is possible to determine not only the brightness (brightness) of the reflected light but also the brightness difference with the adjacent portion, so that the overall brightness of the image data is determined. It is difficult to be affected by various changes and local unevenness, and accurate identification becomes possible. Similar effects can be obtained by performing edge enhancement instead of edge detection. Here, the overall change in brightness of the image data and local unevenness are caused by the material and color of the coin 23, the entire passage 13 or the local contamination of the coin 23, and the like. These effects can be reduced.

次に座標変換(S47)について、倍率補正(S46)より先に述べる。座標変換手段88では、第4の画像データを直交座標から極座標に変換し、座標変換後の画像データを第5の画像データとして出力する。本実施の形態では日本硬貨を識別対象として、最大外径の五百円硬貨がN×N画素(例えば100×100画素)となる光学設計を行っている。また、硬貨の通過位置や組み立て寸法及びレンズ28等の部品特性のバラツキにより、撮像倍率を0.9から1.1まで想定している。すなわち五百円硬貨は製品毎また硬貨投入毎に、最小0.9N×0.9Nから最大1.1N×1.1N画素(例えば90×90から110×110画素)に撮像される場合が発生するが、簡略化のため最大7×7画素として座標変換(S47)と倍率補正(S46)の説明を行う。図16(a)は第4の画像データを模式的に示しており、中心・外径検出(S42)で検出した中心121のX座標122(硬貨23の通過方向に平行な方向)、Y座標123(硬貨23の通過方向に垂直な方向)を(0,0)として、直交座標(−3,−3)から(3,3)までの49画素分を示す。図16(b)は座標変換後の第5の画像データを模式的に示しており、極座標の半径方向(R座標124)に非等間隔に4分割して0〜3、円周方向(S座標125)に等間隔に8分割して0〜7とした場合の極座標(0,0)から(3,7)までを例示している。この座標変換は、(表3)及び(表4)の変換用テーブルを用いて行う。   Next, coordinate conversion (S47) will be described before magnification correction (S46). The coordinate conversion means 88 converts the fourth image data from orthogonal coordinates to polar coordinates, and outputs the image data after the coordinate conversion as fifth image data. In the present embodiment, an optical design is performed in which a Japanese coin is an identification target, and a 500-yen coin having a maximum outer diameter becomes N × N pixels (for example, 100 × 100 pixels). In addition, the imaging magnification is assumed to be 0.9 to 1.1 depending on the passing position of coins, assembly dimensions, and variations in the component characteristics such as the lens 28. That is, a 500-yen coin may be imaged from a minimum of 0.9 N × 0.9 N to a maximum of 1.1 N × 1.1 N pixels (for example, 90 × 90 to 110 × 110 pixels) for each product or coin insertion. However, for simplification, the coordinate conversion (S47) and the magnification correction (S46) will be described with a maximum of 7 × 7 pixels. FIG. 16A schematically shows the fourth image data. The X coordinate 122 (direction parallel to the passing direction of the coin 23) and the Y coordinate of the center 121 detected by the center / outer diameter detection (S42). 123 (direction perpendicular to the passing direction of the coin 23) is (0, 0), and 49 pixels from orthogonal coordinates (-3, -3) to (3, 3) are shown. FIG. 16B schematically shows the fifth image data after the coordinate conversion. The fifth image data is divided into four at non-uniform intervals in the radial direction of the polar coordinates (R coordinate 124), and the circumferential direction (S The polar coordinates (0, 0) to (3, 7) are illustrated by dividing the coordinate 125) into 8 at equal intervals to 0-7. This coordinate conversion is performed using the conversion tables shown in (Table 3) and (Table 4).

Figure 2005316553
Figure 2005316553

Figure 2005316553
Figure 2005316553

(表3)は直交座標のX座標とY座標に対応した極座標のS座標を表しており、(表4)は直交座標のX座標とY座標に対応した極座標のR座標を表している。例えば、直交座標(0,0)の画素は極座標(0,0)に、直交座標(−1,−3)の画素は極座標(3,7)に変換される。このように直交座標の全画素を変換し、同一の極座標に複数の直交座標が該当する場合はこれらの画素の平均値を用い、該当する直交座標が1画素もない極座標は隣接する極座標のデータを複写するなど隣接データに基づいて設定する。極座標に座標変換することで、後述の回転角度検出(S50)及び照合(S51)が容易になると共に、データ量が削減され処理速度を高速化できる。なお極座標変換用の半径方向テーブル(表4)において、半径方向座標のR座標が最大値の3より大きい4となっている座標があるが、これは硬貨23の外径範囲外であり以降使用しない画素であることを示すと共に、座標変換後の画像データを記憶するための配列のR座標を4まで用意しておくことで、座標変換時にR座標が3以下かどうか判定しながら変換する必要がなく、全画素を共通的に扱って高速に変換することができる。また、エッジ検出(S45)した後に座標変換(S47)を行うことで、硬貨23の模様に忠実にエッジを検出し識別精度を向上することができる。なぜならば、極座標変換によって隣接する周囲の画素(座標)との距離が変化するために、座標変換(S47)後にエッジ検出(S45)を行うと、注目画素のエッジ検出または強調に用いる周囲の隣接画素との距離が注目画素の座標により、また隣接画素の座標により異なって一定にならないためである。   (Table 3) represents the S coordinate of the polar coordinate corresponding to the X coordinate and the Y coordinate of the orthogonal coordinate, and (Table 4) represents the R coordinate of the polar coordinate corresponding to the X coordinate of the orthogonal coordinate and the Y coordinate. For example, a pixel at orthogonal coordinates (0, 0) is converted to polar coordinates (0, 0), and a pixel at orthogonal coordinates (-1, -3) is converted to polar coordinates (3, 7). In this way, all the pixels of the orthogonal coordinates are converted, and when a plurality of orthogonal coordinates correspond to the same polar coordinates, the average value of these pixels is used, and the polar coordinates having no corresponding orthogonal coordinates are adjacent polar coordinate data. Set based on adjacent data, such as copying. By converting the coordinates to polar coordinates, the rotation angle detection (S50) and collation (S51) described later can be facilitated, the data amount can be reduced, and the processing speed can be increased. In the radial table for polar coordinate conversion (Table 4), there is a coordinate where the R coordinate of the radial coordinate is 4 which is larger than the maximum value of 3, but this is outside the outer diameter range of the coin 23 and will be used thereafter. It is necessary to perform conversion while determining whether the R coordinate is 3 or less at the time of coordinate conversion by preparing up to 4 R coordinates in the array for storing the image data after coordinate conversion, indicating that the pixel is not to be converted Therefore, all pixels can be handled in common and converted at high speed. Further, by performing coordinate conversion (S47) after the edge detection (S45), the edge can be detected faithfully to the pattern of the coin 23 and the identification accuracy can be improved. This is because if the edge detection (S45) is performed after the coordinate conversion (S47) because the distance to the adjacent surrounding pixels (coordinates) is changed by the polar coordinate conversion, the surrounding neighboring used for edge detection or enhancement of the target pixel. This is because the distance to the pixel differs depending on the coordinates of the pixel of interest and the coordinates of adjacent pixels, and is not constant.

倍率補正(S46)は、硬貨23の通路13中での通過位置や撮像手段16の組み立て誤差等に起因する撮像倍率の補正を行う。この補正は、中心・外径検出(S42)で検出した外径と金種仮判定(S43)で仮判定した金種とに基づいて、極座標変換用の半径方向テーブル(表4)の値を更新することによって行う。半径方向テーブルは、(表5)のような各画素と中心との距離を示す距離テーブルと、(表6)のような各半径方向座標に対する距離の上限を示す上限距離テーブルとから求める。   The magnification correction (S46) corrects the imaging magnification caused by the passage position of the coin 23 in the passage 13, the assembly error of the imaging means 16, and the like. This correction is based on the values in the radial direction table (Table 4) for polar coordinate conversion based on the outer diameter detected in the center / outer diameter detection (S42) and the money type temporarily determined in the money type temporary determination (S43). Do by updating. The radial direction table is obtained from a distance table indicating the distance between each pixel and the center as shown in (Table 5) and an upper limit distance table indicating the upper limit of the distance for each radial coordinate as shown in (Table 6).

Figure 2005316553
Figure 2005316553

Figure 2005316553
Figure 2005316553

例えば、X座標をx、Y座標をyとし距離テーブル値をR’(x,y)で表すと、R’(0,0)は0.00で1.75未満であるから半径方向テーブル値R(0,0)を0とし、R’(3,1)は3.16で3.03以上3.50未満であるからR(3,1)を3とする。なおX座標<0及びY座標<0の部分の距離テーブルは、データ記憶容量及び処理時間の削減のため対象性を利用して省略し、x<0かつy≧0の場合はR(x,y)=R(−x,y)、x≧0かつy<0の場合はR(x,y)=R(x,−y)、x<0かつy<0の場合はR(x,y)=R(−x,−y)の計算式で半径方向座標Rを求めている。   For example, if the X coordinate is x, the Y coordinate is y, and the distance table value is represented by R ′ (x, y), R ′ (0, 0) is 0.00 and less than 1.75. R (0,0) is set to 0, and R ′ (3,1) is 3.16, which is 3.03 or more and less than 3.50, so R (3,1) is set to 3. Note that the distance table of the portion of X coordinate <0 and Y coordinate <0 is omitted by using objectivity to reduce data storage capacity and processing time, and when x <0 and y ≧ 0, R (x, y) = R (−x, y), when x ≧ 0 and y <0, R (x, y) = R (x, −y), when x <0 and y <0, R (x, y) The radial coordinate R is obtained by the following equation: y) = R (−x, −y).

倍率補正(S46)では、例えば金種仮判定(S43)で仮判定した金種の1つが五百円で、中心・外径検出(S42)で検出した外径(例えば90)が五百円の標準外径(例えば100)の0.9倍である場合、撮像倍率は0.9倍であるので、(表7)のように上限距離テーブルの上限距離の値を標準の0.9倍の値に更新する。   In the magnification correction (S46), for example, one of the denominations temporarily determined in the denomination temporary determination (S43) is 500 yen, and the outer diameter (eg, 90) detected in the center / outer diameter detection (S42) is 500 yen. Since the imaging magnification is 0.9 times when the standard outer diameter (for example, 100) is 0.9 times, the upper limit distance value in the upper limit distance table is 0.9 times the standard as shown in (Table 7). Update to the value of.

Figure 2005316553
Figure 2005316553

そして、この上限距離テーブルと距離テーブル(表5)とから、極座標変換用の半径方向テーブルの値を更新すると(表8)となる。   Then, when the value of the radial direction table for polar coordinate conversion is updated from this upper limit distance table and the distance table (Table 5), it becomes (Table 8).

Figure 2005316553
Figure 2005316553

この変換用テーブルに基づいて座標変換することで、画像データを半径方向に1.11倍に拡大しながら同時に座標変換が実現でき、容易に撮像倍率が補正される。倍率補正を行うことで、硬貨23の通過位置や組み立て寸法・部品特性のバラツキに影響されずに正確な識別を行うことができる。また、製品毎に異なる基準画像を記憶させることなく、基準画像を共通化して製品毎の識別性能のバラツキを抑えることが可能であると共に、組み立てや部品特性の許容範囲の拡大も図れる。   By performing coordinate conversion based on this conversion table, coordinate conversion can be realized simultaneously while enlarging the image data by 1.11 times in the radial direction, and the imaging magnification is easily corrected. By performing the magnification correction, accurate identification can be performed without being affected by variations in the passing position of the coin 23, assembly dimensions, and component characteristics. In addition, it is possible to suppress the variation in the identification performance for each product by storing the reference image in common without storing different reference images for each product, and to increase the allowable range of assembly and component characteristics.

本実施の形態では、上限距離テーブルの上限距離の値は半径が小さいほど間隔が広く半径が大きいほど間隔を狭く、非等間隔に設定している。(表9)に示したように等間隔に設定してもよい。   In the present embodiment, the value of the upper limit distance in the upper limit distance table is set to an unequal interval, with the interval being wider as the radius is smaller and the interval being larger as the radius is larger. As shown in (Table 9), they may be set at equal intervals.

Figure 2005316553
Figure 2005316553

しかし各極座標の面積に大きな差が生じ、座標変換時に同一の極座標に変換される直交座標の画素数が不均一になることにより、照合時に各極座標の重みに偏りが発生する。特に各極座標が等しい面積を持つように上限距離を設定すれば各極座標の重みが等しくなり、半径方向座標を非等間隔に設定することで識別性能を向上することができる。   However, there is a large difference in the area of each polar coordinate, and the number of orthogonal coordinate pixels that are converted to the same polar coordinate at the time of coordinate conversion becomes non-uniform, resulting in a bias in the weight of each polar coordinate at the time of collation. In particular, if the upper limit distance is set so that each polar coordinate has the same area, the weight of each polar coordinate becomes equal, and the identification performance can be improved by setting the radial direction coordinate at unequal intervals.

なお、基準となる対象の画像を取得して倍率誤差を求め補正して画像切出を行う技術が特開平9−245213号に開示されているが、基準となる対象が固定された金種であり、調整モードでその金種だけが投入される場合は支障ないが、複数の金種が投入される場合には適用は困難である。これに対して、本実施の形態では複数の金種に仮判定することで、複数の金種が投入される場合にも適用できる。   Japanese Patent Laid-Open No. 9-245213 discloses a technique for acquiring an image of a reference object, obtaining a magnification error, correcting the image, and cutting out the image. However, the reference object is a fixed denomination. There is no problem when only the denomination is input in the adjustment mode, but application is difficult when a plurality of denominations are input. On the other hand, this embodiment can be applied to a case where a plurality of denominations are input by provisionally determining a plurality of denominations.

続いて、二値化(S49)のための閾値設定(S48)を行う。二値化手段90では、多値デジタル値である座標変換後の第5の画像データの各画素(座標)に対して、閾値以上であるかどうかによって1か0の二値デジタル値に変換し、二値化後の画像データを第6の画像データとして出力する。二値化(S49)を行うことで、画像データにおけるノイズの影響を低減できると共に、画像データ量を削減し処理を高速化できる。また、エッジ検出(S45)またはエッジ強調及び座標変換(S47)を二値化(S49)より前に行うことにより、多値データを用いた正確なエッジ検出または強調と座標変換が可能であり識別精度を向上できる。   Subsequently, threshold setting (S48) for binarization (S49) is performed. The binarizing means 90 converts each pixel (coordinate) of the fifth image data after coordinate conversion, which is a multi-valued digital value, into a binary digital value of 1 or 0 depending on whether or not it is greater than or equal to a threshold value. The binarized image data is output as sixth image data. By performing binarization (S49), the influence of noise in the image data can be reduced, and the amount of image data can be reduced to speed up the processing. In addition, by performing edge detection (S45) or edge enhancement and coordinate transformation (S47) before binarization (S49), accurate edge detection or enhancement and coordinate transformation using multi-valued data can be performed and identified. Accuracy can be improved.

この二値化(S49)のための閾値を設定するのが閾値設定手段89であり、第5の画像データと金種仮判定手段86で仮判定した金種に基づいて設定した閾値を出力する。具体的には、二値化後の第6の画像データにおいて、値が1である画素数の全画素数に対する割合が金種と面(表面か裏面か)毎に定められた割合になるように、すなわち二値化後の度数分布が一定になるように閾値を設定する。これにより、二値化後の第6の画像データの画質を均一化すると共に、後述の模様照合(S51)に用いる基準画像も同様の割合で作成することにより第6の画像と基準画像との均質化が可能であり、識別性能を向上できる。この割合を本実施の形態では全金種・面共通に50%に設定しているが、金種・面毎に異ならせて各金種・面の模様に合った最適な二値化も可能であり、実験に基づくと30〜70%の割合において模様がくっきりと読み取れ高い識別性能が達成できた。閾値の求め方は、例えば第5の画像データからデータ値と画素数との度数分布(ヒストグラム)を作成し、データの大きい方からの累積度数が50%となる値を求めればよい。また、閾値設定に用いる第5の画像データは、硬貨部分すなわち外径の内部に当然限るべきであり、倍率補正及び極座標変換を行ったことにより半径方向座標があらかじめ定められたその金種の半径以下である部分のみを使用すれば容易に可能である。さらに本実施の形態では、硬貨23の状態や発行年度により硬貨23毎に異なる外周・孔の縁、硬貨23ではなく背景である孔の内部、及び同一の硬貨23でも回転角度や位置により投入毎に異なる潜像・細線模様の部分も、閾値設定への使用から除外している。図17は新五百円硬貨の基準画像(後述)に灰色で除外部分を上書きし直交座標に逆変換した模式図であり、外周の縁部131と潜像模様部132、及び細線模様部133を示す。外周・孔の縁部は摩耗やバリが発生しやすく、孔の内部は背景が見え、潜像・細線模様部は画像センサ26の画素配列方向と硬貨の模様との角度により斑紋(モアレ)が現れ反射率が著しく変化し、閾値設定に使用するとこれら部分的な画像に影響されて全体の正確な二値化に支障をきたす。同様の理由で、硬貨毎に異なる模様である年号部分も除いてもよい。第5の画像データでどの部分を閾値設定に使用するかは、各金種・面毎に極座標形式で表した二値デジタル値のテーブルをあらかじめ記憶しておけば、各金種・面毎の模様に適した安定した二値化を行うことができる。また、この閾値設定に使用する部分が硬貨の中心に対して回転対称でない場合、硬貨の回転角度毎に閾値が変わるため、後述の回転角度検出(S50)において画像データを回転させる度に閾値を求め直す多大な処理を要する。本実施の形態では閾値設定に使用する部分を、除外部分を含まずかつ硬貨の中心に対して回転対称すなわち同心円状に設定しているので、回転角度検出(S50)において画像データを回転させる度に閾値を求め直す必要がなく、閾値設定に使用する部分を記憶するテーブルも半径方向の座標に対する1次元のデータ(以降、閾値設定用領域データという)で済む。このように、第6の画像データにおいて値が1である画素数の全画素数に対する割合が定められた割合になるように、すなわち二値化後の度数分布が一定になるように閾値を設定することで、硬貨23の材質や、縁部や表面等の状態、及び回転角度、また照明手段15や組み立て寸法のバラツキによる照度の差に左右されることなく、安定した識別が可能になる。   The threshold setting unit 89 sets a threshold for binarization (S49), and outputs a threshold set based on the fifth image data and the denomination temporarily determined by the denomination temporary determination unit 86. . Specifically, in the sixth image data after binarization, the ratio of the number of pixels having a value of 1 to the total number of pixels is a ratio determined for each denomination and surface (front surface or back surface). In other words, the threshold is set so that the frequency distribution after binarization becomes constant. As a result, the image quality of the sixth image data after binarization is made uniform, and a reference image used for pattern matching (S51), which will be described later, is also created at a similar ratio, whereby the sixth image and the reference image are generated. Homogenization is possible and identification performance can be improved. In this embodiment, this ratio is set to 50% for all denominations and faces. However, it is possible to optimize the binarization according to each denomination and face pattern by changing it for each denomination and face. Based on the experiment, the pattern was clearly readable at a rate of 30 to 70%, and high discrimination performance was achieved. For example, a threshold value may be obtained by creating a frequency distribution (histogram) of data values and the number of pixels from the fifth image data and obtaining a value at which the cumulative frequency from the larger data is 50%. In addition, the fifth image data used for setting the threshold value should naturally be limited to the inside of the coin portion, that is, the outer diameter, and the radius of the denomination whose radial coordinate is predetermined by performing magnification correction and polar coordinate conversion. This is easily possible if only the following parts are used. Further, in the present embodiment, the outer periphery / hole edge that differs for each coin 23 depending on the state of the coin 23 and the issue year, the inside of the hole that is the background instead of the coin 23, and the same coin 23 depending on the rotation angle and position. Also, different latent image / thin line patterns are excluded from use for threshold setting. FIG. 17 is a schematic diagram in which a reference image (to be described later) of a new 500-yen coin is overwritten with an excluded portion in gray and inversely converted into orthogonal coordinates. The outer peripheral edge 131, the latent image pattern portion 132, and the fine line pattern portion 133 Indicates. Wear and burrs are likely to occur on the outer periphery and edge of the hole, the background can be seen inside the hole, and the latent image and fine line pattern part have moire depending on the angle between the pixel arrangement direction of the image sensor 26 and the coin pattern. Appearance changes remarkably, and when used for threshold setting, it is affected by these partial images and hinders accurate binarization of the whole. For the same reason, the year part which is different for each coin may be excluded. Which part of the fifth image data is used for threshold setting can be determined by storing a binary digital value table in polar coordinate format for each denomination / surface in advance. Stable binarization suitable for the pattern can be performed. Further, when the portion used for setting the threshold value is not rotationally symmetric with respect to the center of the coin, the threshold value changes for each rotation angle of the coin. Therefore, the threshold value is set each time image data is rotated in the rotation angle detection (S50) described later. It requires a great deal of processing. In the present embodiment, the portion used for threshold setting is set so as not to include the excluded portion and to be rotationally symmetrical, that is, concentric with respect to the center of the coin. Therefore, every time image data is rotated in the rotation angle detection (S50). There is no need to re-determine the threshold value, and the table for storing the portion used for setting the threshold value may be one-dimensional data (hereinafter referred to as threshold setting area data) for the coordinates in the radial direction. In this way, the threshold value is set so that the ratio of the number of pixels having a value of 1 to the total number of pixels in the sixth image data becomes a predetermined ratio, that is, the frequency distribution after binarization is constant. By doing so, stable identification is possible without being influenced by the material of the coin 23, the state of the edge or surface, the rotation angle, and the difference in illuminance due to variations in the illumination means 15 and assembly dimensions.

なお、特定の閾値算出領域で二値化の閾値を設定する技術は、例えば特開2002−109596号に開示されているが、二値化に支障をきたす硬貨内の特定部分(硬貨23の状態や発行年度により硬貨23毎に異なる外周・孔の縁、及び同一の硬貨23でも回転角度や位置により投入毎に異なる潜像・細線模様)を除く技術については触れられていない。本実施の形態では、これらの領域を除く領域で閾値を設定することで、安定した閾値設定及び二値化が可能である。   In addition, although the technique which sets the threshold value of binarization in a specific threshold value calculation area is disclosed by Unexamined-Japanese-Patent No. 2002-109596, for example, the specific part in the coin (state of the coin 23 which interferes with binarization) In addition, there is no mention of a technique for removing outer peripheries and hole edges that differ for each coin 23 depending on the issue year, and a latent image or thin line pattern that differs for each coin 23 depending on the rotation angle or position. In the present embodiment, stable threshold setting and binarization can be performed by setting threshold values in regions other than these regions.

回転角度検出(S50)では、回転角度検出手段91で第6の画像データと記憶手段92に金種・面毎に記憶された基準画像とに基づいて、基準画像に対する投入された硬貨23すなわち第6の画像データの回転角度を検出して出力する。逆に、第6の画像データに対する基準画像の回転角度を検出するようにしてもよい。なお基準画像データは、第6の画像データ同様に、極座標形式で表した二値デジタル値のテーブルとしてあらかじめ記憶されている。第6の画像データを回転させながら基準画像データと比較していき、最も一致する角度を検出する。第6の画像データは極座標で表されているので、回転させるには円周方向にずらす、すなわち円周方向座標を変えるだけで容易に回転させることができる。第6の画像データをB(r,s)(rは極座標の半径方向、sは円周方向)、基準画像データをR(r,s)、aをbで割った剰余をmod(a,b)、極座標における円周方向の分割数をNsで表すと、Δsを0からNs−1まで2ずつ変化させてB(r,mod(s+Δs,Ns))とR(r,s)を比較していく。一致度合いは、第6の画像データと基準画像データの値が一致している画素(座標)数で判断する。第6の画像データと基準画像データとは共に二値デジタル値であるので、これらの排他的論理和をとり、結果が0である画素数で容易に判断可能である。Δsを2ずつ変化させているのは検出時間を短縮するためであり、2ずつ変化させて最も一致度合いの高いΔsを求める。そしてΔsに対して隣接する回転角度、すなわちmod(Δs−1,Ns)とmod(Δs+1,Ns)での一致度合いも求めて、3つの回転角度のうち最も一致度の高い回転角度を選択することにより、回転角度を間引きしても精度良く回転角度を検出できる。2ずつ変化させる方法に限らず、一致度合いが低ければ変化量を大きく、一致度合いが高ければ変化量を小さくするなど、回転角度を間引きして一致度合いを算出することで、精度を維持したまま回転角度検出の高速化が可能である。また本実施の形態では、閾値設定(S48)において使用から除外した硬貨の外周・孔の縁、孔の内部、潜像・細線模様の部分を、閾値設定時と同じ理由により一致度合いの算出(回転角度検出及び照合)においても除外している。具体的には、回転角度検出(S50)及び照合(S51)に用いる画素(領域)を示すデータ(以下、照合領域データという)を、基準画像データや第6の画像データ同様の極座標形式で表した二値デジタル値のテーブルとしてあらかじめ記憶しておく。そして、第6の画像データと基準画像データとの排他的論理和と、この照合領域データとの論理積をとり、結果が1である不一致画素数が少ないほど一致度合いが高いと判断できる。なお、一致度合いを相対的ではなく絶対的に表すため、本実施の形態では照合領域データにおける値が1である画素数を照合画素数として、照合画素数から不一致画素数を減算し、この差を照合画素数で割って一致度合いとしている。これにより、照合画素数が異なっても、一致度合いを容易に比較することができる。   In the rotation angle detection (S50), based on the sixth image data by the rotation angle detection means 91 and the reference image stored for each denomination / surface in the storage means 92, the coins 23 inserted into the reference image, that is, the first The rotation angle of the image data 6 is detected and output. Conversely, the rotation angle of the reference image with respect to the sixth image data may be detected. The reference image data is stored in advance as a binary digital value table in the polar coordinate format, like the sixth image data. The sixth image data is compared with the reference image data while rotating, and the most coincident angle is detected. Since the sixth image data is expressed in polar coordinates, in order to rotate it, it can be easily rotated by shifting in the circumferential direction, that is, by changing the circumferential coordinate. The sixth image data is B (r, s) (r is the radial direction of polar coordinates, s is the circumferential direction), the reference image data is R (r, s), and the remainder obtained by dividing a by b is mod (a, b) When the number of divisions in the circumferential direction in polar coordinates is represented by Ns, B (r, mod (s + Δs, Ns)) and R (r, s) are compared by changing Δs by 2 from 0 to Ns−1. I will do it. The degree of matching is determined by the number of pixels (coordinates) at which the values of the sixth image data and the reference image data match. Since the sixth image data and the reference image data are both binary digital values, they can be easily determined by taking the exclusive OR of these values and the number of pixels having a result of zero. The reason why Δs is changed by two is to shorten the detection time, and Δs having the highest degree of coincidence is obtained by changing by two. Then, the rotation angle adjacent to Δs, that is, the degree of coincidence between mod (Δs−1, Ns) and mod (Δs + 1, Ns) is also obtained, and the rotation angle with the highest degree of coincidence is selected from the three rotation angles. Thus, the rotation angle can be detected with high accuracy even if the rotation angle is thinned out. Not only the method of changing by two, but the accuracy is maintained by calculating the degree of coincidence by thinning the rotation angle, such as increasing the amount of change if the degree of coincidence is low and decreasing the amount of change if the degree of coincidence is high. The speed of rotation angle detection can be increased. Further, in the present embodiment, the degree of coincidence is calculated for the same reason as when the threshold value is set for the outer periphery / edge of the coin, the inside of the hole, and the latent image / thin line pattern portion excluded from use in the threshold setting (S48) ( This is also excluded in the rotation angle detection and verification). Specifically, data indicating pixels (regions) used for rotation angle detection (S50) and collation (S51) (hereinafter referred to as collation region data) is expressed in a polar coordinate format similar to the reference image data and the sixth image data. The binary digital values are stored in advance as a table. Then, an exclusive logical sum of the sixth image data and the reference image data and a logical product of the collation area data are calculated, and it can be determined that the degree of matching is higher as the number of mismatched pixels whose result is 1 is smaller. In order to represent the degree of coincidence, not relative, in this embodiment, the number of pixels whose value in the collation area data is 1 is used as the collation pixel number, and the number of mismatch pixels is subtracted from the collation pixel number. Is divided by the number of matching pixels to obtain the degree of matching. Thereby, even if the number of matching pixels is different, the degree of matching can be easily compared.

模様照合(S51)では、回転角度検出手段91で検出した回転角度における第6の画像データと基準データとの照合を行う。まず第6の画像データを回転角度検出手段91で検出した回転角度分だけ円周方向にずらし、すなわち円周方向座標を変えて回転角度の補正を行い、第7の画像データとする。そして、この第7の画像データと基準画像データとの排他的論理和をとり、さらに回転角度照合で用いた照合領域データとの論理積をとって照合結果データとする。第7の画像データと基準画像データが一致しない画素(座標)の値は排他的論理和が1となり、さらに照合領域内であれば照合領域データとの論理積が1となるので、結果が1の画素数は不一致画素数を表す。また、照合領域データにおける値が1の画素数は照合画素数を表すので、照合画素数と不一致画素数との差を照合画素数で割った商は、第7の画像データと基準画像との一致度合いを示す。   In the pattern matching (S51), the sixth image data and the reference data at the rotation angle detected by the rotation angle detecting means 91 are checked. First, the sixth image data is shifted in the circumferential direction by the rotation angle detected by the rotation angle detecting means 91, that is, the rotation angle is corrected by changing the circumferential coordinate to obtain seventh image data. Then, an exclusive OR of the seventh image data and the reference image data is obtained, and a logical product with the collation area data used in the rotation angle collation is obtained as collation result data. The value of the pixel (coordinate) where the seventh image data and the reference image data do not match has an exclusive logical sum of 1, and if it is within the collation area, the logical product with the collation area data is 1, so the result is 1 The number of pixels represents the number of mismatched pixels. In addition, since the number of pixels having a value of 1 in the matching area data represents the number of matching pixels, the quotient obtained by dividing the difference between the number of matching pixels and the number of mismatched pixels by the number of matching pixels is the seventh image data and the reference image. Indicates the degree of match.

本実施の形態では、硬貨全体の一致度合いを求めるのではなく、硬貨領域を複数の領域に分割し、各領域毎の一致度合いが一定値以上である領域の数すなわち一致領域数を求めている。一致度合いを一定値と比較することで、容易に一致領域数を求めることができる。具体的には図18を用い半径方向画素数は32、円周方向画素数16の例で説明すると、図18(a)に示す画像データに対して図18(b)の領域分割を示す模式図のように、極座標における半径方向141は半径方向画素数の約数で分割(この例の分割数は8)し、円周方向142も同様に円周方向画素数の約数で分割(この例の分割数は4)して、複数(この例では32個)の領域143とする。極座標に基づくことで、容易に領域分割できると共に、等間隔に分割すれば各領域143の重みが均等になる。そして各領域毎に、その領域内に属する画素で一致度合いを求める。さらに領域毎の一致度合いがあらかじめ定めた下限値以上である領域数と、全領域数との割合を一致領域割合として、この値を模様照合手段93では出力する。なお、各領域の一致度の算出に用いる情報量が不足している(照合領域が狭い、すなわち照合画素数が少ないなどの)領域143は一致度合いを正確に判定するのが困難であるので、照合画素数が一定値未満の領域143は対象外として、一致領域の判定の正確化を図っている。このように硬貨全体の模様の一致度合いを求めるのではなく、硬貨領域を複数の領域143に分割し各領域毎の一致度合いに基づいて照合を行うことにより、硬貨23や通路13の一部分に汚れが局所的に存在しても影響を受けにくく、正確な識別が可能である。また、一致領域と判定する領域毎の一致度合いの下限値や比較手段97における一致領域割合の許容範囲を変えるだけで、汚れに対する耐性と偽貨排除性能の優先度合いを容易に変更することができる。例えば硬貨の1/3の部分が汚れなどで模様の正確な読み取りが不可能であっても識別可能とするには、一致領域割合の許容範囲を2/3以上とすればよい。   In this embodiment, instead of obtaining the degree of coincidence of the entire coin, the coin area is divided into a plurality of areas, and the number of areas in which the degree of coincidence for each area is equal to or greater than a certain value, that is, the number of coincidence areas is obtained. . By comparing the degree of coincidence with a constant value, the number of coincidence areas can be easily obtained. Specifically, referring to FIG. 18, the example in which the number of pixels in the radial direction is 32 and the number of pixels in the circumferential direction is 16 will be described. This is a schematic diagram showing the region division in FIG. 18B for the image data shown in FIG. As shown in the figure, the radial direction 141 in polar coordinates is divided by a divisor of the number of pixels in the radial direction (the division number in this example is 8), and the circumferential direction 142 is similarly divided by a divisor of the number of pixels in the circumferential direction (this The number of divisions in the example is 4), and a plurality of (in this example, 32) regions 143 are obtained. By being based on polar coordinates, it is possible to easily divide the region, and if it is divided at equal intervals, the weight of each region 143 becomes equal. Then, for each region, the degree of matching is obtained with the pixels belonging to that region. Further, the pattern matching means 93 outputs this value as the matching area ratio, which is the ratio between the number of areas whose degree of matching for each area is equal to or greater than a predetermined lower limit value and the total number of areas. Note that it is difficult to accurately determine the degree of coincidence in the region 143 in which the amount of information used for calculating the degree of coincidence of each region is insufficient (the collation region is narrow, that is, the number of collation pixels is small). The region 143 in which the number of matching pixels is less than a certain value is excluded, and the matching region is accurately determined. In this way, instead of obtaining the degree of coincidence of the pattern of the entire coin, the coin area is divided into a plurality of areas 143 and collation is performed based on the degree of coincidence of each area. Even if it exists locally, it is not easily affected and accurate identification is possible. In addition, by simply changing the lower limit value of the degree of coincidence for each area determined to be a coincidence area and the allowable range of the coincidence area ratio in the comparison unit 97, it is possible to easily change the priority level of resistance to dirt and the anti-fouling performance. . For example, in order to be able to discriminate even if a 1/3 portion of a coin cannot be accurately read due to dirt or the like, the allowable range of the matching area ratio may be set to 2/3 or more.

さらに、一致領域数は領域毎の一致度合いがあらかじめ定めた下限値以上である領域数としているが、この下限値は各金種・面毎に定めると共に、固定値とせず可変とすれば、硬貨23や通路13の汚れの影響を低減して正確な識別が可能になる。なぜならば、硬貨23や通路13に汚れがある場合は、一致度合いが低下し一致領域数が減少して正貨と判定されない可能性が高まる。これは、照合領域全体の一致度合いが回転角度検出におけるどの回転角度でもほぼ一様に低下するためであり、これに対して例えば照合領域全体の一致度合いが最小となる回転角度での一致度合いを用いて、最大の一致度合いと最小の一致度合いとの差を利用する、または最小の一致度合いに一定の値を加えて下限値とすることなどで改善が可能である。この例では正確な識別が困難なほど汚れが著しい場合に、最大の一致度合いが非常に低い値になり誤識別の恐れがある。しかし、最大の一致度合いの絶対値が低いと正貨と判定しないという下限値をあらかじめ定めたり、または最小の一致度合いに一定の値を加えて算出する下限値があらかじめ定めた一定値以下であれば下限値をこの一定値とすることで、誤識別が発生するのを避けることができる。   Furthermore, the number of coincidence areas is the number of areas where the degree of coincidence for each area is equal to or greater than a predetermined lower limit value. 23 and the influence of dirt on the passage 13 can be reduced and accurate identification can be performed. This is because if the coins 23 and the passage 13 are dirty, the degree of coincidence decreases, the number of coincidence areas decreases, and the possibility that the coins are not determined as genuine coins increases. This is because the matching degree of the entire collation region is almost uniformly reduced at any rotation angle in the rotation angle detection. On the other hand, for example, the matching degree at the rotation angle at which the matching degree of the entire collation region is the minimum. By using the difference between the maximum matching degree and the minimum matching degree, or by adding a certain value to the minimum matching degree, the improvement can be made. In this example, when the contamination is so severe that accurate identification is difficult, the maximum matching degree becomes a very low value and there is a risk of erroneous identification. However, if the absolute value of the maximum degree of matching is low, a lower limit value is determined not to be determined as a genuine coin, or the lower limit value calculated by adding a certain value to the minimum degree of matching is less than a predetermined constant value. For example, by setting the lower limit value to this constant value, it is possible to avoid erroneous identification.

模様照合(S51)は、まず金種仮判定(S43)で近似していると仮判定した第1の金種の表面について、その基準データ及び照合領域データに基づいて行う。次に、閾値設定用領域データは面毎に異なるので、閾値設定(S48)から模様照合(S51)までを、裏面について同様に繰り返す。さらに、倍率補正は金種毎に異なるので、倍率補正(S46)から2面分終了(S52)までを、金種仮判定(S43)で近似していると仮判定した第2の金種について行う。従って、模様照合手段93は2金種×2面分の一致領域割合を出力する。   The pattern matching (S51) is first performed on the surface of the first denomination that is temporarily determined to be approximate in the denomination temporary determination (S43) based on the reference data and the matching area data. Next, since the threshold setting area data is different for each surface, the threshold setting (S48) to the pattern matching (S51) are repeated in the same manner for the back surface. Furthermore, since the magnification correction differs for each denomination, the second denomination that has been provisionally determined that the magnification correction (S46) to the end of two surfaces (S52) are approximated by the denomination temporary determination (S43). Do. Therefore, the pattern matching means 93 outputs the matching area ratio of 2 denominations × 2 planes.

比較(S61)では、各比較手段94〜97のそれぞれに入力される厚み検知手段74、材質検知手段78、凹凸検知手段83、模様照合手段93の各出力を記憶手段92に記憶された基準と比較し、許容範囲内で一致していればその正貨の種類を示す信号を出力し、どの種類の基準値とも一致しない場合には偽貨であることを示す信号を出力する。判定(S62)は、判定手段99に入力される比較手段94〜97からの信号が全て同じ正貨の種類を示す場合に限りその正貨の種類を示す信号を出力し、それ以外の場合には偽貨を示す信号を判定信号100として出力する。   In the comparison (S61), the outputs of the thickness detection means 74, material detection means 78, unevenness detection means 83, and pattern matching means 93 input to each of the comparison means 94 to 97 are compared with the reference stored in the storage means 92. A comparison is made. If the values match within the allowable range, a signal indicating the type of the genuine coin is output, and if the reference value does not match any type, a signal indicating that it is a false coin is output. The determination (S62) outputs a signal indicating the type of the true coin only when the signals from the comparison means 94 to 97 input to the determination unit 99 all indicate the same type of the correct coin, and in other cases Outputs a signal indicating a false coin as the determination signal 100.

厚みセンサで投入検知(S16でYES)した場合や材質センサで投入検知(S17でYES)した場合、すなわち結露検知中の場合の比較(S71)は、撮像手段16に関連した凹凸検知手段83及び模様照合手段93が接続された比較手段96、97を除く、各比較手段94、95のそれぞれに入力される厚み検知手段74、材質検知手段78の各出力を記憶手段92に記憶された基準と比較し、許容範囲内で一致していればその正貨の種類を示す信号を出力し、どの種類の基準値とも一致しない場合には偽貨であることを示す信号を出力する。判定(S72)でも同様に撮像手段16に関連した比較手段96、97を除き、判定手段99に入力される比較手段94、95からの信号が全て同じ正貨の種類を示す場合に限りその正貨の種類を示す信号を出力し、それ以外の場合には偽貨を示す信号を判定信号100として出力する。   A comparison (S71) between the case where the thickness sensor detects the insertion (YES in S16) and the case where the material sensor detects the insertion (YES in S17), that is, the case where dew condensation is being detected (S71) The outputs of the thickness detecting means 74 and the material detecting means 78 input to each of the comparing means 94 and 95, excluding the comparing means 96 and 97 to which the pattern matching means 93 is connected, are used as the reference stored in the storage means 92. A comparison is made. If the values match within the allowable range, a signal indicating the type of the genuine coin is output, and if the reference value does not match any type, a signal indicating that it is a false coin is output. Similarly in the determination (S72), the comparison means 96 and 97 related to the image pickup means 16 are excluded, and only when the signals from the comparison means 94 and 95 inputted to the determination means 99 all indicate the same genuine coin type. A signal indicating the type of coin is output, and a signal indicating a false coin is output as the determination signal 100 in other cases.

判定手段99にてS62とS72のいずれの判定を行うかを判断するため、判定手段99には結露検知手段82の出力が接続されている。また、判定手段99にはスイッチ等の切替手段98の出力も入力されており、結露検知中の判定を撮像手段16に関連した識別項目(凹凸及び模様)を除いた識別項目(厚みと材質)だけで行って、結露中も硬貨の受け付けを優先し自動販売機等としての販売機会を逃すことを防ぐか、それとも結露中は撮像手段16での識別が困難であるため投入された硬貨を強制的に受け付けないで偽貨排除性能を優先するかを、図9には図示しないが切替手段98で選択が可能である。このように切替手段98を備えることにより、硬貨の受け付けを優先するか偽貨排除性能を優先するかを選択し、なおかつ自動販売機等の設置現場でも容易に選択を変更することができる。また、図示しないが発熱手段を用いた結露防止手段を備え、結露検知時にこの結露防止手段を動作させることで、消費電力を節約しながら常に撮像手段16に関連した識別も行うことが可能である。発熱手段としては、専用の部品を用いることなく発熱量の大きい電子部品を兼用して通路13の近傍に配置したり、安価なヒーターを用いることができる。   In order to determine which of the determinations S62 and S72 is to be performed by the determination unit 99, the output of the dew condensation detection unit 82 is connected to the determination unit 99. The output of the switching means 98 such as a switch is also input to the determination means 99, and the identification items (thickness and material) excluding the identification items (unevenness and pattern) related to the imaging means 16 for the determination during the dew condensation detection. To avoid accepting sales opportunities as a vending machine, etc. during dew condensation, or forcing the inserted coins during dew condensation because it is difficult to identify with the imaging means 16 Although not shown in FIG. 9, it is possible to select whether to give priority to the counterfeit coin rejection performance without accepting it by the switching means 98. Thus, by providing the switching means 98, it is possible to select whether to give priority to accepting coins or give priority to fake coin elimination performance, and to easily change the selection even at the installation site of a vending machine or the like. In addition, although not shown, a dew condensation prevention unit using a heat generation unit is provided, and by operating this dew condensation prevention unit when dew condensation is detected, it is possible to always perform identification related to the imaging unit 16 while saving power consumption. . As the heat generating means, an electronic component having a large heat generation amount can be used in the vicinity of the passage 13 without using a dedicated component, or an inexpensive heater can be used.

判定(S62)において図9には図示しないが、撮像手段16に関連しない識別項目(本実施の形態では厚み及び材質)では同じ種類の正貨であって、撮像手段16に関連した識別項目(凹凸と模様)では偽貨か異なる種類の正貨であることが続いた場合、通路13の汚れなどで画質が低下したと判断する。また全ての識別項目で同じ種類の正貨であることが続いた場合は、画質に問題ないと判断することで、画質の低下度合いを検知できる。画質の低下を検知した場合、自動販売機の制御部に対しては通信で、自動販売機の操作者に対しては表示を行って画質が低下したことを報知し、清掃を促すことが可能である。   In the determination (S62), although not shown in FIG. 9, the identification items not related to the imaging means 16 (thickness and material in the present embodiment) are the same type of true coins, and the identification items related to the imaging means 16 ( In the case of unevenness and pattern), if it continues to be a fake coin or a different kind of genuine coin, it is determined that the image quality has deteriorated due to dirt on the passage 13 or the like. If all the identification items continue to be the same type of genuine coins, it is possible to detect the degree of deterioration in image quality by determining that there is no problem in image quality. When a drop in image quality is detected, it is possible to communicate with the control unit of the vending machine and display it to the operator of the vending machine to inform the user that the image quality has deteriorated and to encourage cleaning. It is.

さらに、切替手段98とは別に第2の切替手段(図示せず)により、撮像手段16での識別(以下、画像識別という)そのものを行うか行わないかを選択可能としている。第2の切替手段を備えることにより、撮像手段16や光学透明体14に故障や重大な傷・汚れがあるような場合に画像識別を行わない方を選択し、結露検知(S14)と撮像手段16での投入検知(S15)及び凹凸及び模様検知(S21)を行わない(図9には図示せず)ことで、誤動作による製品の動作停止や識別性能の低下を防止することができる。   In addition to the switching means 98, it is possible to select whether or not to perform identification (hereinafter referred to as image identification) itself by the imaging means 16 by a second switching means (not shown). By providing the second switching means, it is possible to select a method in which image identification is not performed when the imaging means 16 or the optical transparent body 14 has a failure, a serious scratch or dirt, and the dew condensation detection (S14) and the imaging means. By not performing the input detection (S15) and the unevenness and pattern detection (S21) in FIG. 16 (not shown in FIG. 9), it is possible to prevent the product from being stopped due to a malfunction or the identification performance from being deteriorated.

なお、硬貨投入の検知方法や、図2と図4とを用いて説明した通路構成、及び結露検知や結露防止や画質検知は、従来構成の模様識別装置にも適用可能である。それぞれ、確実な投入検知、汚れの影響を受けにくい確実な識別、結露や汚れ等の影響を低減した正確な識別が可能である。   Note that the coin-insertion detection method, the passage configuration described with reference to FIGS. 2 and 4, and the dew condensation detection, dew condensation prevention, and image quality detection can be applied to a pattern identification device having a conventional configuration. Reliable input detection, reliable identification that is not easily affected by dirt, and accurate identification with reduced effects of condensation, dirt, and the like are possible.

以上のように、本実施の形態によれば、硬貨23からの正反射光29の非入射部分で識別を行うことにより、画像にムラが発生するのを防止できる。また、撮像手段16を通路13に対して鉛直上方側に設けることにより、撮像手段16への汚れの付着を低減させることができる。撮像手段16は部分的な画像を出力可能な画像センサ26からなるので、特定領域66の画像データを短時間で読み出すことができる。前記撮像手段16は行列状に配置された受光素子のアレイと、前記アレイの行に感度制御のための電圧を供給する制御回路68と、前記アレイの列から接地へ流れる電流を処理する神経ネットワーク69とを備える画像センサ26からなるので、画像センサ26内でフィルタ行列と画像の積和演算を実行できる。撮像手段16近傍の通路13が結露しているかどうかを検知する結露検知手段82を備えることにより、通路13が結露しているかどうかを検知できる。そして、撮像手段16の制御処理を省いて行わないことで正常でない画像データによる誤動作を防止したり、結露防止手段を動作させたり、結露の発生を報知することが可能である。硬貨23が投入されたことを撮像手段16を用いて検知することにより、硬貨23が投入されたことを確実に検知することができる。撮像手段16で事前に読み取った画像に基づいて読み取り条件の調整を行うことにより、一定画質の画像データを得ることができる。ほぼ同一の波長特性を有し異なる方向から硬貨23に光を照射する第2の照明手段36と第3の照明手段37を備え、第2の照明手段36で照射した際の硬貨23からの反射光と、第3の照明手段37で照射した際の硬貨23からの反射光との差に基づいて硬貨23を識別することにより、硬貨23の凹凸を検知することができる。第3の画像における硬貨23の位置の基準となる点すなわち中心を複数の外周候補点116を検証して検知することにより、確実に硬貨23の位置を検出することができる。1種類以上の金種に仮判定して識別を行うことにより、硬貨23の通過位置の影響で金種を誤判別するのを防止できる。撮像手段16を通路13の鉛直上方側に設けることにより、撮像手段16などへの汚れの付着を低減させることができる。第3の画像のエッジ検出強調後に座標変換を行って識別を行うことにより、硬貨23の模様に忠実にエッジを検出することができる。硬貨23の特定部分を除く画像に基づいて閾値を設定し、この閾値で二値化を行うことにより、安定した二値化を行うことができる。硬貨23の特定部分を除く画像に基づいて基準画像との照合を行うことにより、安定した照合を行うことができる。回転角度を間引いて回転角度の検出を行うことにより、精度を維持したまま高速に回転角度検出を行うことができる。硬貨23の画像を複数の領域143に分割し、基準画像との各領域毎の一致度合いに基づいて識別を行うので、硬貨23や通路13の汚れの影響が低減される。   As described above, according to the present embodiment, it is possible to prevent occurrence of unevenness in an image by performing identification at a non-incident portion of the regular reflection light 29 from the coin 23. Further, by providing the imaging unit 16 vertically above the passage 13, adhesion of dirt to the imaging unit 16 can be reduced. Since the imaging unit 16 includes the image sensor 26 that can output a partial image, the image data of the specific area 66 can be read out in a short time. The imaging means 16 includes an array of light receiving elements arranged in a matrix, a control circuit 68 for supplying a voltage for sensitivity control to the rows of the array, and a neural network for processing a current flowing from a column of the array to the ground. 69, the product-sum operation of the filter matrix and the image can be executed in the image sensor 26. By providing the condensation detection means 82 for detecting whether or not the passage 13 in the vicinity of the imaging means 16 is condensed, it is possible to detect whether or not the passage 13 is condensed. Then, by omitting the control process of the image pickup means 16, it is possible to prevent malfunction due to abnormal image data, to operate the condensation prevention means, or to notify the occurrence of condensation. By detecting that the coin 23 has been inserted using the image pickup means 16, it is possible to reliably detect that the coin 23 has been inserted. Image data with a constant image quality can be obtained by adjusting the reading conditions based on the image read in advance by the imaging means 16. A second illumination unit 36 and a third illumination unit 37 that irradiate light to the coin 23 from different directions having substantially the same wavelength characteristics, and reflection from the coin 23 when irradiated by the second illumination unit 36. By identifying the coin 23 based on the difference between the light and the reflected light from the coin 23 when irradiated by the third illumination means 37, the unevenness of the coin 23 can be detected. The position of the coin 23 can be reliably detected by verifying and detecting a point serving as a reference for the position of the coin 23 in the third image, that is, the center by verifying the plurality of outer peripheral candidate points 116. By tentatively determining and identifying one or more denominations, it is possible to prevent misdetermination of denominations due to the influence of the passing position of the coin 23. By providing the image pickup means 16 on the vertically upper side of the passage 13, the adhesion of dirt to the image pickup means 16 and the like can be reduced. The edge can be detected faithfully to the pattern of the coin 23 by performing coordinate conversion and identifying after the edge detection enhancement of the third image. By setting a threshold value based on an image excluding a specific portion of the coin 23 and performing binarization with this threshold value, stable binarization can be performed. By performing collation with the reference image based on an image excluding a specific portion of the coin 23, stable collation can be performed. By detecting the rotation angle by thinning out the rotation angle, the rotation angle can be detected at high speed while maintaining accuracy. Since the image of the coin 23 is divided into a plurality of regions 143 and identification is performed based on the degree of coincidence of each region with the reference image, the influence of dirt on the coins 23 and the passage 13 is reduced.

そのため、硬貨の模様を正確に識別することができるので、偽貨の不正使用を防止することが可能な、識別性能の高い模様識別装置を実現できる。   Therefore, since the pattern of the coin can be accurately identified, it is possible to realize a pattern identification device with high identification performance that can prevent the illegal use of the false coin.

以上のように本発明によれば、通路を通過する識別対象に光を照射する第1の照明手段と、前記識別対象からの反射または透過光を受光する撮像手段と基準画像を記憶する記憶手段とを備え、前記撮像手段で取得した画像と基準画像とに基づいて前記識別対象の模様を識別する模様識別装置において、ほぼ同一の波長特性を有し異なる方向から前記識別対象に光を照射する第2及び第3の照明手段を備え、前記第2の照明手段で照射した際の前記識別対象からの反射または透過光と、前記第3の照明手段で照射した際の前記識別対象からの反射または透過光との差に基づいて前記識別対象を識別する模様識別装置としたものであるため、模様を正確に識別でき、識別性能を向上することが可能である。   As described above, according to the present invention, the first illumination means for irradiating the identification target passing through the passage, the imaging means for receiving the reflected or transmitted light from the identification target, and the storage means for storing the reference image A pattern identification device for identifying a pattern to be identified based on an image acquired by the imaging unit and a reference image, and irradiating the identification target with light from different directions having substantially the same wavelength characteristics Reflected or transmitted light from the identification object when irradiated by the second illumination means, and reflection from the identification object when irradiated by the third illumination means. Alternatively, since the pattern identification device identifies the identification target based on the difference from the transmitted light, the pattern can be accurately identified, and the identification performance can be improved.

本発明の一実施の形態における硬貨識別装置の概要を示した正面図The front view which showed the outline | summary of the coin identification device in one embodiment of this invention 同、撮像手段近傍の断面図Sectional view of the vicinity of the imaging means 同、照明手段近傍の正面図Same as above, front view of illumination means 同、通路の断面図Cross section of the passage 同、厚み・材質兼用センサ近傍の断面図Sectional view of the vicinity of the sensor for both thickness and material 同、画像センサの制御回路の構成図Same configuration diagram of control circuit of image sensor 同、画像センサの制御回路の構成図Same configuration diagram of control circuit of image sensor 同、制御回路の構成を示すブロック図The same block diagram showing the configuration of the control circuit 同、動作について説明するフローチャートSame as above, flowchart explaining operation 同、凹凸及び模様検知の動作を説明するフローチャートSame as above, flowchart for explaining the operation of irregularities and patterns 同、撮像手段の撮像領域の概念図Same as above, conceptual diagram of imaging area of imaging means (a)同、第2の照明手段のみで照明した場合の硬貨近傍の断面図、(b)同、第2の照明手段のみで照明した場合の画像データの模式図、(c)同、第3の照明手段のみで照明した場合の硬貨近傍の断面図、(d)同、第3の照明手段のみで照明した場合の画像データの模式図(A) The cross-sectional view of the vicinity of the coin when illuminated with only the second illumination means, (b) The schematic diagram of the image data when illuminated with only the second illumination means, (c) Sectional drawing of the coin vicinity at the time of illuminating only with 3 illumination means, (d) The schematic diagram of the image data at the time of illuminating only with the 3rd illumination means 同、中心・外径検出について説明する第3の画像データの模式図Schematic diagram of third image data explaining center / outer diameter detection 同、中心・外径検出の直径検知について説明する度数分布図Same frequency distribution diagram explaining diameter detection for center / outer diameter detection (a)同、中心・外径検出のX方向の半径検知について説明する度数分布図、(b)同、中心・外径検出のY方向の半径検知について説明する度数分布図、(c)同、中心・外径検出の半径検知について説明する度数分布図(A) Frequency distribution diagram explaining radius detection in X direction for center / outer diameter detection, (b) Frequency distribution diagram explaining radius detection in Y direction for center / outer diameter detection, (c) , Frequency distribution diagram explaining radius detection for center and outer diameter (a)座標変換と倍率補正について説明する第4の画像データの模式図、(b)座標変換と倍率補正について説明する第5の画像データの模式図(A) Schematic diagram of fourth image data explaining coordinate transformation and magnification correction, (b) Schematic diagram of fifth image data explaining coordinate transformation and magnification correction. 同、閾値設定について説明する、新五百円硬貨の基準画像を直交座標に逆変換した模式図Schematic of reverse conversion of reference image of new 500-yen coin to Cartesian coordinates, explaining threshold setting (a)模様照合について説明する第6の画像データの模式図、(b)模様照合の領域分割について説明する第6の画像データの模式図(A) Schematic diagram of sixth image data explaining pattern matching, (b) Schematic diagram of sixth image data explaining area division of pattern matching.

符号の説明Explanation of symbols

11 硬貨識別装置本体
12 投入口
13 通路
14 光学透明体
15 照明手段(第1の照明手段)
16 撮像手段
17 厚み・材質兼用センサ
18 出口
21 側壁
22 底面
23 硬貨
24 側壁
25 LED
26 画像センサ
27 受光面
28 レンズ
29 正反射光
31 硬貨位置
32 硬貨位置
33 撮像時硬貨位置
34 正反射位置
35 直線
36 第2の照明手段
37 第3の照明手段
41 排出補助手段
51 コア
52 コア
53 コイル
54 コイル
55 コイル
56 コイル
61 画素
62 水平走査回路
63 垂直走査回路
64 水平走査線
65 垂直走査線
66 特定領域
67 出力
68 制御回路
69 神経ネットワーク
70 CDS手段
71 厚みセンサ
72 発振回路
73 整流回路
74 厚み検知手段
75 材質センサ
76 発振回路
77 整流回路
78 材質検知手段
79 投入検知手段
80 A/D変換手段
81 調整手段
82 結露検知手段
83 凹凸検知手段
84 エッジ検出手段
85 中心・外径検出手段
86 金種仮判定手段
87 倍率補正手段
88 座標変換手段
89 閾値設定手段
90 二値化手段
91 回転角度検出手段
92 記憶手段
93 模様照合手段
94 比較手段
95 比較手段
96 比較手段
97 比較手段
98 切替手段
99 判定手段
100 判定信号
101 撮像範囲
102 第1の投入検知領域
103 第2の投入検知領域
104 第3の投入検知領域
105 硬貨位置
106 入力条件設定領域
107 硬貨位置
108 凹凸検知ライン
109 凹凸検知ライン
110 凹凸検知ライン
111 検知ライン
112 検知ライン
113 外周候補点
114 中心候補点
115 外周点
116 外周候補点
121 中心
122 X座標
123 Y座標
124 R座標
125 S座標
131 外周の縁部
132 潜像模様部
133 細線模様部
141 半径方向
142 円周方向
143 領域
DESCRIPTION OF SYMBOLS 11 Coin identification apparatus main body 12 Insertion slot 13 Passage 14 Optical transparent body 15 Illumination means (1st illumination means)
16 Imaging means 17 Thickness / material combined use sensor 18 Exit 21 Side wall 22 Bottom surface 23 Coin 24 Side wall 25 LED
26 Image sensor 27 Light receiving surface 28 Lens 29 Regular reflection light 31 Coin position 32 Coin position 33 Coin position during imaging 34 Regular reflection position 35 Straight line 36 Second illumination means 37 Third illumination means 41 Discharge auxiliary means 51 Core 52 Core 53 Coil 54 Coil 55 Coil 56 Coil 61 Pixel 62 Horizontal scanning circuit 63 Vertical scanning circuit 64 Horizontal scanning line 65 Vertical scanning line 66 Specific area 67 Output 68 Control circuit 69 Neural network 70 CDS means 71 Thickness sensor 72 Oscillation circuit 73 Rectification circuit 74 Thickness Detection means 75 Material sensor 76 Oscillation circuit 77 Rectifier circuit 78 Material detection means 79 Input detection means 80 A / D conversion means 81 Adjustment means 82 Condensation detection means 83 Concavity and convexity detection means 84 Edge detection means 85 Center / outer diameter detection means 86 Denomination Temporary judgment means 87 Means 88 Coordinate conversion means 89 Threshold setting means 90 Binarization means 91 Rotation angle detection means 92 Storage means 93 Pattern matching means 94 Comparison means 95 Comparison means 96 Comparison means 97 Comparison means 98 Switching means 99 Determination means 100 Determination signal 101 Imaging range DESCRIPTION OF SYMBOLS 102 1st insertion detection area 103 2nd insertion detection area 104 3rd insertion detection area 105 Coin position 106 Input condition setting area 107 Coin position 108 Concavity and convexity detection line 109 Concavity and convexity detection line 110 Concavity and convexity detection line 111 Detection line 112 Detection line 113 Peripheral Candidate Point 114 Center Candidate Point 115 Peripheral Point 116 Peripheral Candidate Point 121 Center 122 X Coordinate 123 Y Coordinate 124 R Coordinate 125 S Coordinate 131 Peripheral Edge 132 Latent Image Pattern 133 Thin Line Pattern 141 Radial Direction 142 Circumferential Direction 143 Pass

Claims (12)

通路と、この通路を通過する識別対象に光を照射する第1の照明手段と、前記識別対象からの反射または透過光を受光する撮像手段と基準画像を記憶する記憶手段とを備え、前記撮像手段で取得した画像と前記基準画像とに基づいて前記識別対象の模様を識別する模様識別装置において、ほぼ同一の波長特性を有し異なる方向から前記識別対象に光を照射する第2及び第3の照明手段を備え、前記第2の照明手段で照射した際の前記識別対象からの反射または透過光と、前記第3の照明手段で照射した際の前記識別対象からの反射または透過光との差に基づいて前記識別対象を識別する模様識別装置。 A first illumination unit that irradiates light to an identification target that passes through the passage; an imaging unit that receives reflected or transmitted light from the identification target; and a storage unit that stores a reference image. In the pattern identification device for identifying the pattern to be identified based on the image acquired by the means and the reference image, the second and third illuminating the identification target from different directions having substantially the same wavelength characteristics The reflected or transmitted light from the identification object when irradiated by the second illumination means and the reflected or transmitted light from the identification object when irradiated by the third illumination means A pattern identification apparatus for identifying the identification object based on a difference. 第2の照明手段および第3の照明手段を、それぞれ分割して構成した請求項1記載の模様識別装置。 The pattern identification apparatus according to claim 1, wherein the second illumination unit and the third illumination unit are divided and configured. 第2の照明手段および第3の照明手段を、それぞれ通路に垂直な直線に対して対称とした請求項1記載の模様識別装置。 The pattern identification apparatus according to claim 1, wherein the second illumination unit and the third illumination unit are symmetrical with respect to a straight line perpendicular to the passage. 第2の照明手段および第3の照明手段を、それぞれ通路に平行な直線に対して対称とした請求項1記載の模様識別装置。 The pattern identification device according to claim 1, wherein the second illumination unit and the third illumination unit are symmetrical with respect to a straight line parallel to the passage. 第2の照明手段および第3の照明手段を、複数の発光素子で構成した請求項1記載の模様識別装置。 The pattern identification device according to claim 1, wherein the second illumination unit and the third illumination unit are configured by a plurality of light emitting elements. 第2の照明手段と第3の照明手段とを、同数の発光素子で構成した請求項5記載の模様識別装置。 6. The pattern identification device according to claim 5, wherein the second illumination means and the third illumination means are composed of the same number of light emitting elements. 第2の照明手段および第3の照明手段を、同数の発光素子から成る群にそれぞれ分割して構成した請求項6記載の模様識別装置。 The pattern identification device according to claim 6, wherein the second illumination means and the third illumination means are each divided into groups of the same number of light emitting elements. 第2の照明手段で照射して取得した画像と第3の照明手段で照射して取得した画像との差を求める前に、各画像の補正を行う請求項1記載の模様識別装置。 The pattern identification apparatus according to claim 1, wherein each image is corrected before obtaining a difference between the image acquired by irradiation with the second illumination unit and the image acquired by irradiation with the third illumination unit. 画素位置に応じて画像の補正を行う請求項8記載の模様識別装置。 The pattern identification device according to claim 8, wherein the image is corrected according to the pixel position. 各画像の平均値が一致するように補正を行う請求項8記載の模様識別装置。 The pattern identification apparatus according to claim 8, wherein the correction is performed so that the average values of the images coincide with each other. 1画素あたりの差に上限を設けて差を求める請求項1記載の模様識別装置。 The pattern identification device according to claim 1, wherein an upper limit is set for a difference per pixel to obtain the difference. 画素毎の差の絶対値の総和に基づいて識別を行う請求項1記載の模様識別装置。 The pattern identification apparatus according to claim 1, wherein identification is performed based on a sum of absolute values of differences for each pixel.
JP2004130973A 2004-04-27 2004-04-27 Pattern recognition device Expired - Fee Related JP4321343B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004130973A JP4321343B2 (en) 2004-04-27 2004-04-27 Pattern recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004130973A JP4321343B2 (en) 2004-04-27 2004-04-27 Pattern recognition device

Publications (2)

Publication Number Publication Date
JP2005316553A true JP2005316553A (en) 2005-11-10
JP4321343B2 JP4321343B2 (en) 2009-08-26

Family

ID=35443942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004130973A Expired - Fee Related JP4321343B2 (en) 2004-04-27 2004-04-27 Pattern recognition device

Country Status (1)

Country Link
JP (1) JP4321343B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008134875A (en) * 2006-11-29 2008-06-12 Juki Corp Coin sortor
JP4864904B2 (en) * 2005-02-04 2012-02-01 ヴァルター ハンケ メカニシュ ヴェルクシュタッテン ゲーエムベーハー ウント コー カーゲー How to determine the exact center of a coin introduced in the coin reception
WO2019202868A1 (en) * 2018-04-17 2019-10-24 グローリー株式会社 Coin wear or deformation detection device, coin handling machine, and coin wear or deformation detection method
AT521247A4 (en) * 2018-08-20 2019-12-15 Oesterreichische Nat Surface inspection method for coins

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4864904B2 (en) * 2005-02-04 2012-02-01 ヴァルター ハンケ メカニシュ ヴェルクシュタッテン ゲーエムベーハー ウント コー カーゲー How to determine the exact center of a coin introduced in the coin reception
JP2008134875A (en) * 2006-11-29 2008-06-12 Juki Corp Coin sortor
WO2019202868A1 (en) * 2018-04-17 2019-10-24 グローリー株式会社 Coin wear or deformation detection device, coin handling machine, and coin wear or deformation detection method
AT521247A4 (en) * 2018-08-20 2019-12-15 Oesterreichische Nat Surface inspection method for coins
AT521247B1 (en) * 2018-08-20 2019-12-15 Oesterreichische Nat Surface inspection method for coins

Also Published As

Publication number Publication date
JP4321343B2 (en) 2009-08-26

Similar Documents

Publication Publication Date Title
JP3945379B2 (en) Pattern recognition device
JP3652545B2 (en) Coin discrimination device
US6766045B2 (en) Currency verification
JP4113393B2 (en) Coin discrimination method and apparatus
JP4321344B2 (en) Pattern recognition device
JP7227818B2 (en) Banknote identification device, banknote handling device, and banknote identification method
JP3985733B2 (en) Pattern recognition device
JP4321343B2 (en) Pattern recognition device
JP3945397B2 (en) Pattern recognition device
JP4161790B2 (en) Pattern recognition device
JPWO2010035314A1 (en) Coin damage determination apparatus and damage determination method
JP4148032B2 (en) Pattern recognition device
JP4161766B2 (en) Pattern recognition device
JP3982450B2 (en) Pattern recognition device
JP3982422B2 (en) Pattern recognition device
JP2005316552A (en) Pattern identifying device
JP4148016B2 (en) Pattern recognition device
JP2004157974A (en) Pattern identifying device
JP2004157962A (en) Pattern identifying device
JP2004157972A (en) Pattern identifying device
JP2004157963A (en) Pattern identifying device
JP2004157975A (en) Pattern identifying device
JP5953553B2 (en) Disc discrimination method, disc discrimination device, and disc sorting device
JP2004192188A (en) Pattern identifying device
JP2007241701A (en) Coin image discrimination device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070302

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090202

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090525

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120612

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120612

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130612

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees