JP2009169684A - Card reader - Google Patents

Card reader Download PDF

Info

Publication number
JP2009169684A
JP2009169684A JP2008007194A JP2008007194A JP2009169684A JP 2009169684 A JP2009169684 A JP 2009169684A JP 2008007194 A JP2008007194 A JP 2008007194A JP 2008007194 A JP2008007194 A JP 2008007194A JP 2009169684 A JP2009169684 A JP 2009169684A
Authority
JP
Japan
Prior art keywords
card
length
position detector
measuring means
card reader
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
JP2008007194A
Other languages
Japanese (ja)
Other versions
JP5198884B2 (en
Inventor
Yukio Kuroiwa
幸生 黒岩
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.)
Nidec Sankyo Corp
Original Assignee
Nidec Sankyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2008007194A priority Critical patent/JP5198884B2/en
Publication of JP2009169684A publication Critical patent/JP2009169684A/en
Application granted granted Critical
Publication of JP5198884B2 publication Critical patent/JP5198884B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To measure the card length of a card to be processed, with higher accuracy. <P>SOLUTION: This card reader 23 for conveying a card 3 in a conveyance path 4 by a driving roller 2 rotationally driven by a driving motor 1, is provided with a first measuring means 5 for obtaining the temporary card length of the card 3; a second measuring means 6 for obtaining the slip quantity of the driving roller 2; and an arithmetic means 7 for obtaining the true card length of the card 3, by subtracting the slip quantity measured by the second measurement means 6 from the temporary card length measured by the first measurement means 5. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、カードリーダに関する。更に詳しくは、本発明は、挿入されたカードを駆動ローラによって搬送するカードリーダに関するものである。   The present invention relates to a card reader. More specifically, the present invention relates to a card reader that conveys an inserted card by a driving roller.

カードリーダに挿入されたカードの真偽を判定するためにカードの長さを検出することがある。例えば、特開2006−163824号公報に記載されているカードリーダライタ装置では、挿入された磁気カードの長さを、搬送用の動力源であるモータに接続されたエンコーダのパルス信号のパルス数に置き換えて検出し、パルス数が許容範囲から外れた場合に挿入された磁気カードが所定の磁気カード以外の磁気カードであると判定し、エラー表示を行って外部に強制的に排出するようにしている。   The card length may be detected in order to determine the authenticity of the card inserted in the card reader. For example, in the card reader / writer device described in Japanese Patent Application Laid-Open No. 2006-163824, the length of the inserted magnetic card is set to the number of pulses of an encoder pulse signal connected to a motor that is a power source for conveyance. When the number of pulses deviates from the allowable range, it is determined that the inserted magnetic card is a magnetic card other than the predetermined magnetic card, and an error is displayed to forcibly eject the card to the outside. Yes.

ここで、図13及び図14に示すように、磁気カードの搬送路101には第1のカード検出センサ102と第2のカード検出センサ103が設けられている。挿入された磁気カードの先端が上流側の第1のカード検出センサ102を通過して下流側の第2のカード検出センサ103によって検出されると、エンコーダのパルス信号のカウントが開始される(図14のA時点)。そして、磁気カードの後端が第1のカード検出センサ102を完全に通り過ぎると、エンコーダのパルス信号のカウントが終了される(図14のB時点)。即ち、磁気カードの先端が第2のカード検出センサ103によって検出されてから、磁気カードの後端が第1のカード検出センサ102を完全に通り過ぎるまでの間のエンコーダのパルス信号がカウントされる。なお、図13中符号104はカード搬送ローラ、符号105は磁気ヘッドである。   Here, as shown in FIGS. 13 and 14, a first card detection sensor 102 and a second card detection sensor 103 are provided in the magnetic card transport path 101. When the leading end of the inserted magnetic card passes through the first card detection sensor 102 on the upstream side and is detected by the second card detection sensor 103 on the downstream side, counting of the pulse signal of the encoder is started (see FIG. 14 point A). Then, when the trailing end of the magnetic card completely passes through the first card detection sensor 102, the counting of the pulse signal of the encoder is finished (time B in FIG. 14). That is, the encoder pulse signal from when the leading edge of the magnetic card is detected by the second card detection sensor 103 until the trailing edge of the magnetic card completely passes through the first card detection sensor 102 is counted. In FIG. 13, reference numeral 104 denotes a card transport roller, and reference numeral 105 denotes a magnetic head.

なお、このカードリーダライタ装置では、上記パルス信号のカウント他に、計時動作も一緒に行われている。   In this card reader / writer device, in addition to the counting of the pulse signal, a timing operation is also performed.

特開2006−163824号JP 2006-163824 A

しかしながら、上記カードリーダライタ装置では、磁気カードの先端が第2のカード検出センサ103によって検出されてから、磁気カードの後端が第1のカード検出センサ102を完全に通り過ぎるまでの間のエンコーダのパルス信号をカウントするので、駆動ローラ104と磁気カードとの間にスリップが生じた場合、スリップ分のパルス信号もカウントされることになり、磁気カードの長さに相当するパルス信号を正確にカウントすることができない。   However, in the above card reader / writer device, the encoder of the encoder between the time when the leading edge of the magnetic card is detected by the second card detection sensor 103 and the time when the trailing edge of the magnetic card completely passes through the first card detection sensor 102. Since the pulse signal is counted, if a slip occurs between the driving roller 104 and the magnetic card, the pulse signal for the slip is also counted, and the pulse signal corresponding to the length of the magnetic card is accurately counted. Can not do it.

本発明は、処理するカードのカード長をより正確に計測することができるカードリーダを提供することを目的とする。   An object of this invention is to provide the card reader which can measure the card length of the card to process more correctly.

かかる目的を達成するために、請求項1記載の発明は、駆動モータにより回転駆動される駆動ローラによりカードを搬送路内で搬送するカードリーダにおいて、カードの仮のカード長を求める第一計測手段と、駆動ローラのスリップ量を求める第二計測手段と、第一計測手段で計測した仮のカード長から第二計測手段で計測したスリップ量を引いてカードの真のカード長を求める演算手段を備えるものである。   In order to achieve this object, the invention according to claim 1 is a first measuring means for obtaining a temporary card length of a card in a card reader that conveys a card in a conveyance path by a drive roller that is rotationally driven by a drive motor. And second measuring means for determining the slip amount of the driving roller, and arithmetic means for calculating the true card length of the card by subtracting the slip amount measured by the second measuring means from the temporary card length measured by the first measuring means. It is to be prepared.

したがって、カードリーダ内に挿入されたカードは駆動ローラによって搬送路を搬送される。カード搬送時に駆動ローラとカードの間にスリップが生じると、第一計測手段の計測値はスリップ量を含めた値となる。一方、このスリップ量は第二計測手段によって計測される。演算手段は、第一計測手段の計測値(仮のカード長)から第二計測手段の計測値(スリップ量)を減算し、カードの真のカード長を算出する。   Therefore, the card inserted into the card reader is transported along the transport path by the driving roller. If slip occurs between the drive roller and the card during card conveyance, the measured value of the first measuring means is a value including the slip amount. On the other hand, this slip amount is measured by the second measuring means. The calculation means subtracts the measurement value (slip amount) of the second measurement means from the measurement value (temporary card length) of the first measurement means to calculate the true card length of the card.

また、請求項2記載のカードリーダは、第一計測手段が、搬送路を搬送するカードの先端と後端の位置を検出する位置検出器を有している。カード長はカードの先端から後端までの間の長さであり、同一の位置検出器によってカード先端と後端を検出することで、搬送されるカードの仮のカード長が求められる。   According to a second aspect of the present invention, the first reader has a position detector that detects the positions of the leading edge and the trailing edge of the card that is transported along the transport path. The card length is the length from the front end to the rear end of the card, and the temporary card length of the card to be conveyed is obtained by detecting the front end and the rear end of the card with the same position detector.

また、請求項3記載のカードリーダは、第一計測手段は、カードの搬送方向の異なる位置に配置された2つの位置検出器を有し、2つの位置検出器のうち、搬送方向下流側に配置された位置検出器はカードの先端を検出するとともに、搬送方向上流側に配置された位置検出器はカードの後端を検出するものである。カード長はカードの先端から後端までの間の長さであり、2つの位置検出器の間隔をカード長よりも短くしておくことで、下流側位置検出器によるカード先端の検出と、上流側位置検出器によるカード後端の検出と、2つの位置検出器の間隔とに基づいて、搬送される仮のカードのカード長が求められる。   According to a third aspect of the present invention, the first measuring means has two position detectors arranged at different positions in the card conveyance direction, and the two position detectors are located downstream in the conveyance direction. The arranged position detector detects the leading edge of the card, and the position detector arranged upstream in the transport direction detects the trailing edge of the card. The card length is the length from the leading edge to the trailing edge of the card, and by setting the distance between the two position detectors to be shorter than the card length, detection of the leading edge of the card by the downstream position detector and upstream Based on the detection of the rear end of the card by the side position detector and the interval between the two position detectors, the card length of the temporary card to be conveyed is obtained.

また、請求項4記載のカードリーダは、第二計測手段は、カードの搬送方向の異なる位置に配置された2つの位置検出器を有し、カードの先端または後端のどちらか一方を、2つの位置検出器によって検出するものである。2つの位置検出器は搬送されるカードの先端または後端を順番に検出する。そのため、2つの位置検出器の検出の差は、駆動ローラとカードの間に生じたスリップ量を含む値となる。一方、2つの位置検出器の間隔は既知であり、スリップが発生しない場合における2つの位置検出器の検出の差も既知となる。この既知の検出の差を基準値として予め記憶しておくことで、2つの位置検出器の検出の差と基準値とに基づいてスリップ量を求めることができる。   According to a fourth aspect of the present invention, in the card reader, the second measuring means has two position detectors arranged at different positions in the card transport direction, and either the front end or the rear end of the card is It is detected by two position detectors. The two position detectors sequentially detect the leading edge or the trailing edge of the conveyed card. Therefore, the difference between the detections of the two position detectors is a value including the slip amount generated between the drive roller and the card. On the other hand, the interval between the two position detectors is known, and the difference in detection between the two position detectors when no slip occurs is also known. By storing the known detection difference in advance as a reference value, the slip amount can be obtained based on the detection difference between the two position detectors and the reference value.

また、請求項5記載のカードリーダは、演算手段によって求めた真のカード長に基づいてカードの真偽を判定する判定手段を備えるものである。したがって、挿入されたカードの真偽をカード長に基づいて判定することができる。この場合、請求項6記載のカードリーダのように、判定手段は、演算手段によって求めた真のカード長と予め定めた判定値とを比較し、求めた真のカード長が判定値よりも大きな場合にカードを偽カードと判定することが好ましい。   According to a fifth aspect of the present invention, there is provided a card reader comprising a determining means for determining the authenticity of the card based on the true card length obtained by the calculating means. Therefore, the authenticity of the inserted card can be determined based on the card length. In this case, as in the card reader according to claim 6, the judging means compares the true card length obtained by the computing means with a predetermined judgment value, and the obtained true card length is larger than the judgment value. In some cases, it is preferable to determine that the card is a fake card.

さらに、請求項7記載のカードリーダは、駆動モータの回転数を検出するエンコーダを備え、第一計測手段及び第二計測手段はエンコーダから発生するエンコーダパルスを計数するものである。したがって、駆動モータの回転数を検出するエンコーダを使用して真のカード長を求めることができる。   Furthermore, the card reader according to claim 7 is provided with an encoder for detecting the rotational speed of the drive motor, and the first measuring means and the second measuring means count encoder pulses generated from the encoder. Therefore, the true card length can be obtained using an encoder that detects the rotational speed of the drive motor.

請求項1記載のカードリーダでは、第一計測手段が求めた仮のカード長から第二計測手段が求めたスリップ量を引いてカードの真のカード長を求めるようにしているので、搬送時に駆動ローラとカードの間にスリップが生じた場合であっても搬送するカードのカード長を正確に求めることができる。そのため、カード長判定を正しく行うことが可能となり、カード長に基づくカードの真偽判断を正しく行うことが可能となる。また、真のカード長とスリップ量の両方を求めているので、カード長の計測結果が異常値の場合に、その異常値がスリップの発生に起因するのか、あるいは偽カードが挿入されたことに起因するのかを判別することが可能になる。   In the card reader according to claim 1, the true card length of the card is obtained by subtracting the slip amount obtained by the second measuring means from the temporary card length obtained by the first measuring means. Even when slip occurs between the roller and the card, the card length of the card to be conveyed can be accurately obtained. Therefore, it is possible to correctly determine the card length, and to correctly determine the authenticity of the card based on the card length. In addition, since both the true card length and the slip amount are obtained, if the card length measurement result is an abnormal value, the abnormal value is caused by the occurrence of a slip or a fake card is inserted. It is possible to determine whether it is caused.

また、請求項2記載のカードリーダでは、1つの位置検出器によってカードの仮のカード長を求めることができる。このため、位置検出器の数を減らすことでき、製造コストを安くすることができる。   In the card reader according to the second aspect, the temporary card length of the card can be obtained by one position detector. For this reason, the number of position detectors can be reduced and the manufacturing cost can be reduced.

また、請求項3記載のカードリーダでは、2つの位置検出器によってカードの仮のカード長を求めることができる。   In the card reader according to the third aspect, the temporary card length of the card can be obtained by two position detectors.

また、請求項4記載のカードリーダでは、(a)搬送されるカードが順番に通過する2つの位置検出器による検出の差と、(b)2つの位置検出器の間隔に基づいて予め定められた基準値との比較によってスリップ量を求めているので、いわば2つの位置検出器の間隔を基準にしてスリップ量を求めることになる。即ち、(a)と(b)のいずれも2つの位置検出器の間隔を基準にしたものであり、求めたスリップ量も2つの位置検出器の間隔を基準にした値となる。2つの位置検出器の間隔は設計で決まる一定値であり、これを基準にカード長とスリップ量を求めることで、スリップ量を正確に求めることができ、カード長を正確に計測することができる。   According to a fourth aspect of the present invention, the card reader is predetermined based on (a) a difference in detection by two position detectors through which a conveyed card sequentially passes and (b) an interval between the two position detectors. Since the slip amount is obtained by comparison with the reference value, the slip amount is obtained based on the interval between the two position detectors. That is, both (a) and (b) are based on the interval between the two position detectors, and the obtained slip amount is a value based on the interval between the two position detectors. The distance between the two position detectors is a fixed value determined by design. By obtaining the card length and the slip amount based on this, the slip amount can be obtained accurately and the card length can be measured accurately. .

また、請求項5記載のカードリーダでは、演算手段によって求めた真のカード長に基づいてカードの真偽を判定する判定手段を備えているので、挿入されたカードの真偽をカード長に基づいて判定することができる。この場合、請求項6記載のカードリーダのように、判定手段は、演算手段によって求めた真のカード長と予め定めた判定値とを比較し、求めた真のカード長が判定値よりも大きな場合にカードを偽と判定することが好ましい。   In addition, since the card reader according to claim 5 includes determination means for determining the authenticity of the card based on the true card length obtained by the calculating means, the authenticity of the inserted card is determined based on the card length. Can be determined. In this case, as in the card reader according to claim 6, the judging means compares the true card length obtained by the computing means with a predetermined judgment value, and the obtained true card length is larger than the judgment value. In some cases, it is preferable to determine that the card is false.

さらに、請求項7記載のカードリーダでは、駆動モータの回転数を検出するエンコーダを備え、第一計測手段及び第二計測手段はエンコーダから発生するエンコーダパルスを計数しているので、駆動モータの回転数を検出するエンコーダとは別に専用の計測手段を設ける必要がなく、製造コストを安くすることができると共に、カードリーダを小型軽量化することができる。   Furthermore, the card reader according to claim 7 is provided with an encoder for detecting the rotational speed of the drive motor, and the first measuring means and the second measuring means count encoder pulses generated from the encoder. It is not necessary to provide a dedicated measuring means separately from the encoder for detecting the number, and the manufacturing cost can be reduced and the card reader can be reduced in size and weight.

以下、本発明の構成を図面に示す最良の形態に基づいて詳細に説明する。   Hereinafter, the configuration of the present invention will be described in detail based on the best mode shown in the drawings.

図1〜図8に本発明のカードリーダの実施形態の一例を示す。カードリーダ23は、駆動モータ1により回転駆動される駆動ローラ2によりカード3を搬送路4内で搬送するものであって、カード3の仮のカード長を求める第一計測手段5と、駆動ローラ2のスリップ量を求める第二計測手段6と、第一計測手段5で計測した仮のカード長から第二計測手段6で計測したスリップ量を引いてカード3の真のカード長を求める演算手段7を備えている。演算手段7は、カードリーダ23の制御装置13によって実現されている。なお、本明細書において、カードの搬送方向に沿う辺の長さをカード長という。また、カードリーダには、カードの記録情報をリードするものの他、カードに情報をライトするもの、情報のリードとライトの両方を行うものも含まれる。   FIGS. 1-8 shows an example of embodiment of the card reader of this invention. The card reader 23 transports the card 3 in the transport path 4 by the driving roller 2 that is rotationally driven by the driving motor 1. The card reader 23 includes a first measuring unit 5 that calculates a temporary card length of the card 3, and a driving roller. The second measuring means 6 for obtaining the slip amount of 2 and the computing means for obtaining the true card length of the card 3 by subtracting the slip amount measured by the second measuring means 6 from the temporary card length measured by the first measuring means 5. 7 is provided. The computing means 7 is realized by the control device 13 of the card reader 23. In the present specification, the length of the side along the card transport direction is called the card length. Card readers include those that read information recorded on the card, those that write information to the card, and those that both read and write information.

第一計測手段5は、カード3の搬送方向の異なる位置に配置された2つの位置検出器を有し、2つの位置検出器のうち、搬送方向下流側に配置された位置検出器はカード3の先端3aを検出するとともに、搬送方向上流側に配置された位置検出器はカード3の後端3bを検出する。また、第二計測手段6は、カード3の搬送方向の異なる位置に配置された2つの位置検出器を有し、カード3の先端3aまたは後端3bのどちらか一方を、2つの位置検出器によって検出する。本実施形態では、第一計測手段5の搬送方向下流側に配置された位置検出器と第二計測手段6の搬送方向上流側に配置された位置検出器とを共通にしている。即ち、搬送路4には、カード搬送方向の異なる位置に3つの位置検出器8,9,10が配置されている。ここで、搬送方向上流側(図1等の左側:カード挿入口11側)から順番に、第一の位置検出器8、第二の位置検出器9、第三の位置検出器10という。第一計測手段5は第一の位置検出器8と第二の位置検出器9によって、第二計測手段6は第二の位置検出器9と第三の位置検出器10によってそれぞれ構成されている。また、本実施形態では、第二計測手段6の2つの位置検出器9,10はカード3の先端3aを検出する。ただし、先端3aに代えて後端3bを検出するようにしても良い。   The first measuring means 5 has two position detectors arranged at different positions in the conveyance direction of the card 3. Of the two position detectors, the position detector arranged downstream in the conveyance direction is the card 3. The position detector arranged on the upstream side in the transport direction detects the rear end 3b of the card 3. The second measuring means 6 has two position detectors arranged at different positions in the card 3 conveyance direction, and either the front end 3a or the rear end 3b of the card 3 is replaced with two position detectors. Detect by. In the present embodiment, the position detector disposed on the downstream side in the transport direction of the first measuring means 5 and the position detector disposed on the upstream side in the transport direction of the second measuring means 6 are made common. That is, three position detectors 8, 9, and 10 are arranged in the transport path 4 at different positions in the card transport direction. Here, the first position detector 8, the second position detector 9, and the third position detector 10 are referred to in order from the upstream side in the conveyance direction (left side in FIG. 1 and the like: the card insertion slot 11 side). The first measuring means 5 is constituted by a first position detector 8 and a second position detector 9, and the second measuring means 6 is constituted by a second position detector 9 and a third position detector 10, respectively. . In the present embodiment, the two position detectors 9 and 10 of the second measuring means 6 detect the front end 3 a of the card 3. However, the rear end 3b may be detected instead of the front end 3a.

なお、搬送方向上流側は図1〜5の左側、カード挿入口11側を示し、搬送方向下流側は図1〜5の右側、カードリーダ23内部、奥側を示している。   The upstream side in the transport direction indicates the left side in FIGS. 1 to 5 and the card insertion slot 11 side, and the downstream side in the transport direction indicates the right side in FIGS. 1 to 5, the inside of the card reader 23, and the back side.

各位置検出器8,9,10は駆動ローラ2によってカード3を搬送可能な範囲内に配置されている。なお、カード3が駆動ローラ2と図示しない従動ローラとの間に挟み込まれて搬送される時に、又は磁気ヘッド16と図示しないローラとの間に挟み込まれて搬送される時にカード3と駆動ローラ2との間にスリップが生じると考えられ、 そのスリップ量を計測する。また、位置検出器8,9間の距離と、位置検出器9,10間の距離ができるだけ等しくなるように各位置検出器8,9,10を配置している。両距離が等しければ、仮のカード長T’の計測距離(図4のT1a)とスリップ量Sの計測に用いる距離(図3のT2a)とが等しくなり、即ち、求めるスリップ量Sが仮のカード長T’の計測の全範囲に対応する値となり、より正確に真のカード長Tを求めることが可能になるので、位置検出器8,9間の距離と位置検出器9,10間の距離ができるだけ等しくなるように各位置検出器8,9,10を配置している。なお、本実施形態では、他の部品の配置等で制約を受けるため、位置検出器8,9間の距離よりも位置検出器9,10間の距離の方が若干長くなっている。このように、若干長くしたのは、位置検出器8,9間の距離よりも位置検出器9,10間の距離の方が短い場合には、仮のカード長を測定する範囲外でスリップ量を測定する場合が生じて、正確なカード長を求めることができなくなるためである。   Each of the position detectors 8, 9, 10 is arranged within a range in which the card 3 can be conveyed by the driving roller 2. When the card 3 is sandwiched and transported between the driving roller 2 and a driven roller (not shown), or when the card 3 is sandwiched and transported between the magnetic head 16 and a roller (not shown), the card 3 and the driving roller 2 are used. A slip is considered to occur between the two and the amount of slip is measured. Further, the position detectors 8, 9, 10 are arranged so that the distance between the position detectors 8, 9 and the distance between the position detectors 9, 10 are as equal as possible. If the two distances are equal, the measured distance of the temporary card length T ′ (T1a in FIG. 4) is equal to the distance used for measuring the slip amount S (T2a in FIG. 3), that is, the calculated slip amount S is temporary. Since the value corresponds to the entire measurement range of the card length T ′ and the true card length T can be obtained more accurately, the distance between the position detectors 8 and 9 and the position detectors 9 and 10 are determined. The position detectors 8, 9, 10 are arranged so that the distances are as equal as possible. In the present embodiment, the distance between the position detectors 9 and 10 is slightly longer than the distance between the position detectors 8 and 9 due to restrictions imposed by the arrangement of other components. As described above, the reason why the length is slightly longer is that when the distance between the position detectors 9 and 10 is shorter than the distance between the position detectors 8 and 9, the slip amount is outside the range for measuring the temporary card length. This is because an accurate card length cannot be obtained.

また、仮のカード長T’の計測及びスリップ量Sの計測に対して、磁気ヘッド16の磁気ストライプ3cへの摺動が同時に行われるように各位置検出器8,9,10と磁気ヘッド16を配置することが好ましい。これは、本実施形態では、図1等に示すように、磁気ヘッド16の位置には、駆動ローラ2が配置されており、カード3がスリップしやすいためである。   Further, the position detectors 8, 9, 10 and the magnetic head 16 are arranged so that the magnetic head 16 slides on the magnetic stripe 3c simultaneously with the measurement of the temporary card length T 'and the measurement of the slip amount S. Is preferably arranged. This is because, in this embodiment, as shown in FIG. 1 and the like, the drive roller 2 is disposed at the position of the magnetic head 16, and the card 3 is likely to slip.

第一の位置検出器8と第二の位置検出器9との間隔は、カード3のカード長よりも短くなっている。また、本実施形態では、第一の位置検出器8と第三の位置検出器10との間隔もカード3のカード長よりも短くなっている。ただし、第一の位置検出器8と第三の位置検出器10との間隔はカード3のカード長と同じ又はカード長よりも長くても良い。挿入検知センサ12及び位置検出器8、9、10は、カードリーダ1内に挿入されたカード3の位置を検知し、搬送されるカード3の位置を見失わないように配置されている。具体的には、図1等に示すように、挿入検知センサ12はカード挿入口11と駆動ローラ2との間に配置され、挿入されたカード3を検知している。つぎに、第一の位置検出器8は、駆動ローラ2、2とのほぼ中間位置に配置され、カード挿入口11側の駆動ローラ2に挟み込まれて搬送されるカード3が搬送されていることを検知している。第二の位置検出器9は、カード3が磁気ヘッド16の位置に搬送されていることを検知している。そして、第三の位置検出器10は、駆動ローラ2、2とのほぼ中間位置に配置され、搬送されるカード3がカードリーダ1の奥側(図1等の右側)に搬送されていることを検知している。なお、挿入検知センサ12及び位置検出器8、9、10の位置は限定されるものではない。   The distance between the first position detector 8 and the second position detector 9 is shorter than the card length of the card 3. In the present embodiment, the distance between the first position detector 8 and the third position detector 10 is also shorter than the card length of the card 3. However, the distance between the first position detector 8 and the third position detector 10 may be the same as or longer than the card length of the card 3. The insertion detection sensor 12 and the position detectors 8, 9, 10 are arranged so as to detect the position of the card 3 inserted into the card reader 1 and not to lose sight of the position of the card 3 being conveyed. Specifically, as shown in FIG. 1 and the like, the insertion detection sensor 12 is disposed between the card insertion slot 11 and the drive roller 2 and detects the inserted card 3. Next, the first position detector 8 is disposed at a substantially intermediate position between the driving rollers 2 and 2 and the card 3 sandwiched and conveyed by the driving roller 2 on the card insertion slot 11 side is conveyed. Is detected. The second position detector 9 detects that the card 3 is being conveyed to the position of the magnetic head 16. The third position detector 10 is disposed at a substantially intermediate position between the drive rollers 2 and 2 and the card 3 to be conveyed is conveyed to the back side (right side in FIG. 1 and the like) of the card reader 1. Is detected. The positions of the insertion detection sensor 12 and the position detectors 8, 9, and 10 are not limited.

挿入検知センサ12及び位置検出器8、9、10は例えば、発光素子と受光素子とを有する光学センサであり、カード3によって光が遮られることでカード3の有無を検出し、カード3の先端3aや後端3bを検出してカード検出信号を出力する。なお、本実施形態では、実際には、各位置検出器8,9,10はカード3の有無に応じた信号をカードリーダ23の制御装置13に出力し、この信号を受けた制御装置13が当該信号の変化(カード検出状態→未検出状態、カード未検出状態→検出状態)に基づいてカード3の先端3a又は後端3bが当該位置検出器を通過したことを検出する。即ち、位置検出器8,9,10の「カード検出信号の出力」、「カード3の先端3a又は後端3bの検出」とは、位置検出器8,9,10からの信号の変化に基づいて制御装置13がカード3の先端3a又は後端3bを検出することを意味する。ただし、位置検出器8,9,10として、カード3の先端3a又は後端3bを検出した場合にカード検出信号を出力するタイプのものを使用しても良く、この場合には、制御装置13は位置検出器8,9,10からカード検出信号を受けることでカード3の先端3a又は後端3bの通過を認識する。挿入検知センサ12についても同様である。   The insertion detection sensor 12 and the position detectors 8, 9, and 10 are, for example, optical sensors having a light emitting element and a light receiving element, detect the presence or absence of the card 3 when the light is blocked by the card 3, and 3a and rear end 3b are detected and a card detection signal is output. In the present embodiment, actually, each position detector 8, 9, 10 outputs a signal corresponding to the presence or absence of the card 3 to the control device 13 of the card reader 23, and the control device 13 receiving this signal Based on the change of the signal (card detection state → no detection state, card non-detection state → detection state), it is detected that the front end 3a or the rear end 3b of the card 3 has passed the position detector. That is, “output of the card detection signal” and “detection of the front end 3a or the rear end 3b of the card 3” of the position detectors 8, 9, and 10 are based on changes in signals from the position detectors 8, 9, and 10. This means that the control device 13 detects the leading end 3a or the trailing end 3b of the card 3. However, as the position detectors 8, 9, and 10, a type that outputs a card detection signal when the front end 3a or the rear end 3b of the card 3 is detected may be used. Recognizes the passage of the front end 3a or the rear end 3b of the card 3 by receiving a card detection signal from the position detectors 8, 9, and 10. The same applies to the insertion detection sensor 12.

本実施形態では、カード挿入口11の近傍にカード3が挿入されたことを検知する挿入検知センサ12が設けられている。挿入検知センサ12がカード3を検出すると、駆動モータ1が始動して駆動ローラ2を駆動させる。挿入検知センサ12を第一計測手段5又は第二計測手段6を構成する位置検出器8,9,10とは別に設けることで、第一計測手段5及び第二計測手段6が計測を開始する前に駆動モータ1を始動させることができ、挿入されたカード3を一定の速度で搬送できるようにする等、計測を不安定にする要因を排除することができる。挿入検知センサ12は例えば光センサであり、カード3によって光が遮られることでカード3の有無を検出する。   In the present embodiment, an insertion detection sensor 12 that detects that the card 3 has been inserted is provided in the vicinity of the card insertion slot 11. When the insertion detection sensor 12 detects the card 3, the drive motor 1 starts and drives the drive roller 2. By providing the insertion detection sensor 12 separately from the position detectors 8, 9, and 10 constituting the first measuring means 5 or the second measuring means 6, the first measuring means 5 and the second measuring means 6 start measurement. The drive motor 1 can be started before, and the factor which makes measurement unstable, such as enabling the inserted card 3 to be conveyed at a fixed speed, can be eliminated. The insertion detection sensor 12 is an optical sensor, for example, and detects the presence or absence of the card 3 when light is blocked by the card 3.

カード3は例えば磁気ストライプ3cを有する磁気カードである。ただし、磁気カードに限るものではなく、ICカード等でも良い。即ち、カードリーダ23としては、磁気カードを取り扱うカードリーダ23に限るものではなく、ICカード等を取り扱うカードリーダ23でも良い。カードリーダ23に挿入されたカード3は駆動ローラ2によって搬送路4を搬送される。駆動ローラ2は駆動モータ1によって駆動され、対向配置された従動ローラ(図示省略)との間にカード3を挟み込んで搬送する。本実施形態では、駆動ローラ2をカード挿入口11の近傍位置と、第二の位置検出器9の近傍位置と、第三の位置検出器10よりも下流の位置に設けている。ただし、駆動ローラ2の数と設置位置はこれらに限るものではない。各駆動ローラ3には駆動モータ1の駆動力が図示しない駆動ベルトによって伝達される。また、本実施形態では、3つの駆動ローラの間隔はカード3のカード長よりも短くなっており、搬送されるカード3が、少なくとも3つの駆動ローラ2のいずれか一つに確実に挟み込まれて搬送できるように配置されている。   The card 3 is a magnetic card having a magnetic stripe 3c, for example. However, it is not limited to a magnetic card, but may be an IC card or the like. That is, the card reader 23 is not limited to the card reader 23 that handles magnetic cards, but may be a card reader 23 that handles IC cards and the like. The card 3 inserted into the card reader 23 is transported along the transport path 4 by the driving roller 2. The driving roller 2 is driven by the driving motor 1 and transports the card 3 with the driven roller (not shown) arranged opposite to the driving roller 2. In the present embodiment, the drive roller 2 is provided at a position near the card insertion slot 11, a position near the second position detector 9, and a position downstream from the third position detector 10. However, the number and installation positions of the driving rollers 2 are not limited to these. The driving force of the driving motor 1 is transmitted to each driving roller 3 by a driving belt (not shown). In the present embodiment, the interval between the three drive rollers is shorter than the card length of the card 3, and the conveyed card 3 is securely sandwiched between any one of the at least three drive rollers 2. It is arranged so that it can be transported.

本実施形態では、演算手段7によって求めた真のカード長に基づいてカード3の真偽を判定する判定手段14を備えている。判定手段14は、演算手段7によって求めた真のカード長と予め定めた判定値とを比較し、求めた真のカード長が判定値よりも大きな場合にカード3を偽カードと判定する。判定手段14はカードリーダ23の制御装置13によって実現されている。   In this embodiment, the determination means 14 which determines the authenticity of the card | curd 3 based on the true card | curd length calculated | required by the calculating means 7 is provided. The determination unit 14 compares the true card length obtained by the calculation unit 7 with a predetermined determination value, and determines that the card 3 is a fake card if the calculated true card length is larger than the determination value. The determination unit 14 is realized by the control device 13 of the card reader 23.

また、本実施形態では、カードリーダ23は、駆動モータ1の回転数を検出するエンコーダ15を備えており、第一計測手段5及び第二計測手段6はエンコーダ15が発生するエンコーダパルスを計数し、カード長をエンコーダパルスのパルス数に対応させて求めるようにしている。即ち、第一計測手段5は、カード先端3aが第二の位置検出器9を通過してからカード後端3bが第一の位置検出器8を通過するまでのエンコーダパルス数を計数する。この場合、仮のカード長は(第一の位置検出器8と第二の位置検出器9との間の距離)+(計数したエンコーダパルス数×1パルス当たりのカード搬送距離)によって求めることができる。また、第二計測手段6は、カード先端3aが第二の位置検出器9を通過してからカード先端3aが第三の位置検出器10を通過するまでのエンコーダパルス数を計数する。エンコーダパルスの計数は、制御装置13のカード長計測用のエンコーダパルスカウンタT1(以下、単にカウンタT1という),スリップ量計測用のエンコーダパルスカウンタT2(以下、単にカウンタT2という)によって行われる。カウンタT1は第一計測手段5の構成要素、カウンタT2は第二計測手段6の構成要素である。   In the present embodiment, the card reader 23 includes an encoder 15 that detects the number of rotations of the drive motor 1, and the first measuring means 5 and the second measuring means 6 count encoder pulses generated by the encoder 15. The card length is obtained in correspondence with the number of encoder pulses. That is, the first measuring means 5 counts the number of encoder pulses from when the card front end 3a passes through the second position detector 9 to when the card rear end 3b passes through the first position detector 8. In this case, the temporary card length can be obtained by (distance between the first position detector 8 and the second position detector 9) + (number of encoder pulses counted × card transport distance per pulse). it can. The second measuring means 6 counts the number of encoder pulses from when the card front end 3a passes through the second position detector 9 until the card front end 3a passes through the third position detector 10. The encoder pulse is counted by an encoder pulse counter T1 for measuring card length (hereinafter simply referred to as counter T1) and an encoder pulse counter T2 for measuring slip amount (hereinafter simply referred to as counter T2). The counter T1 is a constituent element of the first measuring means 5, and the counter T2 is a constituent element of the second measuring means 6.

カードリーダ23の搬送路4の途中には磁気ヘッド16が設けられている。本実施形態では、カード搬送方向に対して第二の位置検出器9と同じ位置に磁気ヘッド16を設けている。このようにすることで、仮のカード長T’の計測及びスリップ量Sの計測のタイミングと、磁気ヘッド16によるリードライトのタイミングとのずれを小さくすることができる。ただし、磁気ヘッド16と第二の位置検出器9とをカード搬送方向に対して同じ位置に設ける必要はなく、カード搬送方向にずらして設けても良い。磁気ヘッド16の対向位置には、カード3を磁気ヘッド16に摺動させるローラ(図示省略)が設けられている。   A magnetic head 16 is provided in the middle of the conveyance path 4 of the card reader 23. In this embodiment, the magnetic head 16 is provided at the same position as the second position detector 9 with respect to the card conveying direction. By doing so, it is possible to reduce a deviation between the timing of the temporary card length T ′ and the measurement of the slip amount S and the timing of the read / write by the magnetic head 16. However, the magnetic head 16 and the second position detector 9 do not have to be provided at the same position with respect to the card conveying direction, and may be provided so as to be shifted in the card conveying direction. A roller (not shown) that slides the card 3 on the magnetic head 16 is provided at a position facing the magnetic head 16.

次に、カードリーダ23の制御装置13の回路構成を図6に示す。制御装置13の出力側には、例えば駆動モータ1の駆動回路17、上位装置18とのインターフェース19、メモリIC(RAM)20が接続されている。また、入力側には、例えばエンコーダ15、挿入検知センサ12、各位置検出器8,9,10、磁気ヘッド16の波形整形回路21、上位装置18とのインターフェース19、メモリIC(RAM)20、メモリIC(ROM)22が接続されている。   Next, the circuit configuration of the control device 13 of the card reader 23 is shown in FIG. For example, a drive circuit 17 of the drive motor 1, an interface 19 with a host device 18, and a memory IC (RAM) 20 are connected to the output side of the control device 13. On the input side, for example, an encoder 15, an insertion detection sensor 12, position detectors 8, 9, 10, a waveform shaping circuit 21 of a magnetic head 16, an interface 19 with a host device 18, a memory IC (RAM) 20, A memory IC (ROM) 22 is connected.

制御装置13は、例えばCPU(中央処理装置)であり、カードリーダ23全体の制御を行う制御ソフトウエアを実行し、例えば駆動モータ1の速度制御、各位置検出器8,9,10及び挿入検知センサ12によるカード3の検出、 磁気データの処理、 上位装置18とのデータ送受信等を行う。また、制御装置13は、制御プログラムの実行により演算手段7、判定手段14、カウンタT1,カウンタT2を実現する。   The control device 13 is, for example, a CPU (Central Processing Unit), and executes control software for controlling the entire card reader 23, for example, speed control of the drive motor 1, each position detector 8, 9, 10 and insertion detection. The card 12 is detected by the sensor 12, magnetic data is processed, and data is transmitted to and received from the host device 18. Further, the control device 13 realizes the calculation means 7, the determination means 14, the counter T1, and the counter T2 by executing the control program.

メモリIC(RAM)20は、ソフトウエア実行時の各種データの一時的な保管を行う書き換え可能なメモリである。メモリIC(ROM)22は、制御ソフトウエアや固定データをあらかじめ保管しておくメモリである。挿入検知センサ12,各位置検出器8,9,10は、カード3の有無に応じてカード検出信号を出力する。エンコーダ15は、例えばロータリエンコーダであり、駆動モータ1の回転軸に直結された円盤状の板に一定間隔でスリットが設けられており、当該スリットの有無を光学センサで検出してパルス信号を発生させる。出力するパルス信号のパルス幅は駆動モータ1の回転速度に比例したパルス幅となるので、これを制御装置13が制御ソフトウエアを実行することで演算処理を行ってカードの搬送速度を求め、制御を行う。駆動モータ1は、カード搬送するための駆動ローラ2を回転駆動させるものであり、制御装置13からの駆動信号により速度制御されている。駆動モータ1の回転は例えば減速されて駆動ローラ2に伝えられ、カード3を搬送する。磁気ヘッド16は、カード13に出力する。3の磁気ストライプ3cと接触して磁化反転に応じた信号を発生させる。波形整形回路21は、磁気ヘッド16より出力される信号を整形してパルス信号へ整形し、 磁気信号として制御装置13に出力する。   A memory IC (RAM) 20 is a rewritable memory that temporarily stores various data during software execution. The memory IC (ROM) 22 is a memory that stores control software and fixed data in advance. The insertion detection sensor 12 and each of the position detectors 8, 9, 10 output a card detection signal according to the presence / absence of the card 3. The encoder 15 is a rotary encoder, for example, and is provided with slits at regular intervals on a disk-like plate directly connected to the rotating shaft of the drive motor 1. The presence or absence of the slits is detected by an optical sensor to generate a pulse signal. Let Since the pulse width of the pulse signal to be output is a pulse width proportional to the rotational speed of the drive motor 1, the control device 13 executes control software to perform arithmetic processing to obtain the card conveyance speed, and control it. I do. The drive motor 1 rotates the drive roller 2 for card transport, and the speed is controlled by a drive signal from the control device 13. For example, the rotation of the drive motor 1 is decelerated and transmitted to the drive roller 2 to convey the card 3. The magnetic head 16 outputs to the card 13. 3 is brought into contact with the magnetic stripe 3c to generate a signal corresponding to the magnetization reversal. The waveform shaping circuit 21 shapes the signal output from the magnetic head 16 to form a pulse signal, and outputs the pulse signal to the control device 13 as a magnetic signal.

次に、カードリーダ23の作動について説明する。カードリーダ23は、図8に示すように、上位装置18から動作の指示(コマンドデータ)を受信すると、指示内容にしたがって各処理を実行(コマンド実行)する。そして、その実行結果を上位装置18にレスポンスデータとして送信する。   Next, the operation of the card reader 23 will be described. As shown in FIG. 8, when receiving an operation instruction (command data) from the host device 18, the card reader 23 executes each process (command execution) according to the instruction content. Then, the execution result is transmitted to the upper apparatus 18 as response data.

図9にカード挿入処理の制御フローチャートを、図10にカード挿入待ち処理のフローチャートを、図11にカード搬送処理のフローチャートを、図12にカード長判定のフローチャートを示す。
(カード挿入処理について)
図9のステップS31において、上位装置18より「カード挿入」コマンドを受信すると、カードリーダ23の制御装置13はコマンド内容を解析してカード挿入処理を開始する。即ち、カードリーダ23の制御装置13はカード挿入待ちとなり、カード挿入待ち処理を行って挿入検知センサ12がカード3を検知するのを待つ(ステップS32)。そして、挿入検知センサ12がカード3を検知すると、カード搬送処理を行い(ステップS33)、カード長判定処理(ステップS34)を行った後、上位装置18にカード挿入結果を送信(ステップS35)して処理を終了する。
FIG. 9 shows a control flowchart of card insertion processing, FIG. 10 shows a flowchart of card insertion waiting processing, FIG. 11 shows a flowchart of card transport processing, and FIG. 12 shows a flowchart of card length determination.
(About card insertion processing)
In step S31 of FIG. 9, when the “card insertion” command is received from the host device 18, the control device 13 of the card reader 23 analyzes the command content and starts card insertion processing. That is, the control device 13 of the card reader 23 waits for card insertion, performs card insertion wait processing, and waits for the insertion detection sensor 12 to detect the card 3 (step S32). When the insertion detection sensor 12 detects the card 3, the card transport process is performed (step S33), the card length determination process (step S34) is performed, and then the card insertion result is transmitted to the host device 18 (step S35). To finish the process.

(カード挿入待ち処理について)
ステップS32のカード挿入待ち処理では、図10に示すように、制御装置13はカウンタT1,T2を0クリアする(ステップS41)。次に、制御装置13は挿入検知センサ12の出力を監視しながらカード挿入口11にカード3が挿入されるのを待つ(ステップS42)。そして、図1に示すように、カード挿入口11にカード3が挿入され、そのカード3の先端3aを挿入検知センサ12が検知すると、挿入検知センサ12から制御装置13に検知信号が出力され、図9に示すステップS32のカード挿入待ち処理を終了してステップS33のカード搬送処理の実行に移行する。
(About card insertion wait processing)
In the card insertion waiting process in step S32, as shown in FIG. 10, the control device 13 clears the counters T1 and T2 to 0 (step S41). Next, the control device 13 waits until the card 3 is inserted into the card insertion slot 11 while monitoring the output of the insertion detection sensor 12 (step S42). As shown in FIG. 1, when the card 3 is inserted into the card insertion slot 11 and the insertion detection sensor 12 detects the tip 3 a of the card 3, a detection signal is output from the insertion detection sensor 12 to the control device 13. The card insertion waiting process at step S32 shown in FIG. 9 is terminated, and the process proceeds to execution of the card transport process at step S33.

(カード搬送処理について)
図9に示すステップS33のカード搬送処理では、図11に示すように、制御装置13はモータ駆動信号を駆動回路17に出力して駆動モータ1を始動させる(ステップS51)。そして、第二の位置検出器9(図11にセンサー2と記す)がカード3の先端3aを検出するまで、制御装置13はステップS52を繰り返し実行する。
(About card transport processing)
In the card transport process in step S33 shown in FIG. 9, as shown in FIG. 11, the control device 13 outputs a motor drive signal to the drive circuit 17 to start the drive motor 1 (step S51). Then, the control device 13 repeatedly executes step S52 until the second position detector 9 (denoted as sensor 2 in FIG. 11) detects the leading edge 3a of the card 3.

カード3がさらに奥まで挿入されてカード挿入口11側の駆動ローラ2に達すると、駆動ローラ2によりカード搬送が行われる。なお、エンコーダ15からのエンコーダパルス信号は制御装置13に入力され、制御装置13はこの信号のエンコーダパルス幅を元にカード3の搬送速度を計算し、目標速度との差に応じたパルス信号を駆動信号として駆動回路17に出力し、駆動モータ1の速度制御を行う。   When the card 3 is further inserted and reaches the driving roller 2 on the card insertion slot 11 side, the card is conveyed by the driving roller 2. The encoder pulse signal from the encoder 15 is input to the control device 13, and the control device 13 calculates the conveyance speed of the card 3 based on the encoder pulse width of this signal, and generates a pulse signal corresponding to the difference from the target speed. A drive signal is output to the drive circuit 17 to control the speed of the drive motor 1.

なお、カード3が駆動ローラ2によって搬送路4上を搬送され、その先端3aが第一の位置検出器8に到達すると、第一の位置検出器8のカード検出信号が制御装置13に入力される。制御装置13はカード3がカード挿入口11側の駆動ローラ2により搬送されていると判断してカード搬送制御を継続する。このとき、挿入検知センサ12がカード3を検知した後、予め設定された規定時間内に第一の位置検出器8によってカード3が検出されない場合は、制御装置13はカード挿入が失敗されたと判断して挿入エラーに対応するエラーレスポンスデータを上位装置18へ送信し、カード挿入処理を中断する。   When the card 3 is transported on the transport path 4 by the driving roller 2 and the tip 3a reaches the first position detector 8, the card detection signal of the first position detector 8 is input to the control device 13. The The control device 13 determines that the card 3 is being conveyed by the drive roller 2 on the card insertion slot 11 side and continues the card conveyance control. At this time, if the first position detector 8 does not detect the card 3 within a predetermined time after the insertion detection sensor 12 detects the card 3, the control device 13 determines that the card insertion has failed. Then, error response data corresponding to the insertion error is transmitted to the host device 18 and the card insertion process is interrupted.

図2に示すように、カード3が搬送されてその先端3aが第二の位置検出器9に到達すると、第二の位置検出器9のカード検出信号が制御装置13に入力される。制御装置13はステップS52からステップS53に進み、駆動モータ1の速度制御を引き続き継続すると共に、エンコーダパルス信号に基づいてカウンタT1,カウンタT2のカウントを開始する(ステップS53)。この概念を図7に示す。そして、ステップS54において第三の位置検出器10(図11にセンサー3と記す)によってカード3の先端3aが検出されまるで、ステップS53を繰り返し行ってカウンタT1,T2のカウントを継続する。   As shown in FIG. 2, when the card 3 is transported and the leading end 3 a reaches the second position detector 9, the card detection signal of the second position detector 9 is input to the control device 13. The control device 13 proceeds from step S52 to step S53, continues the speed control of the drive motor 1, and starts counting of the counter T1 and the counter T2 based on the encoder pulse signal (step S53). This concept is illustrated in FIG. Then, in step S54, the tip 3a of the card 3 is detected by the third position detector 10 (denoted as sensor 3 in FIG. 11), so step S53 is repeated and the counting of the counters T1 and T2 is continued.

カード3がさらに駆動ローラ2によって搬送されてその先端3aが第三の位置検出器10に到達すると(図3の状態)、第三の位置検出器10はカード検出信号を制御装置13に出力する。この信号を受けた制御装置13はステップS54からステップS55に進んでカウンタT2のカウントを停止し、カウンタT2の値をメモリIC(RAM)20に格納する。一方、制御装置13は、ステップS57において第一の位置検出器8(図11にセンサー1と記す)によってカード3の後端3bが検出されるまでステップS56を繰り返し行ってカウンタT1のカウントを継続する。   When the card 3 is further conveyed by the driving roller 2 and the tip 3a thereof reaches the third position detector 10 (state shown in FIG. 3), the third position detector 10 outputs a card detection signal to the control device 13. . Upon receiving this signal, the control device 13 proceeds from step S54 to step S55, stops counting the counter T2, and stores the value of the counter T2 in the memory IC (RAM) 20. On the other hand, the control device 13 repeats step S56 until the rear end 3b of the card 3 is detected by the first position detector 8 (denoted as sensor 1 in FIG. 11) in step S57, and continues to count the counter T1. To do.

カード3が更に搬送されてカード後端3bが第一の位置検出器8に到達すると(図4の状態)、第一の位置検出器8からカード検出信号が制御装置13に向けて出力される。この信号を受けた制御装置13はステップS57からステップS58に進み、カウンタT1のカウントを停止し、カウンタT1の値をメモリIC(RAM)20に格納する。そして、駆動モータ1を停止させて(ステップS59)、カード搬送処理を終了して図9のステップS34の実行に移行する。なお、本実施形態では、駆動モータ1の停止は、カード3が更に搬送されてカード後端3bが第二の位置検出器9に到達してから行われる(図5)。即ち、駆動モータ1を停止させる前に制御装置13は以降の処理を続行しており、以降の処理とカード搬送とが並行して行われる。   When the card 3 is further conveyed and the rear end 3b of the card reaches the first position detector 8 (the state shown in FIG. 4), a card detection signal is output from the first position detector 8 toward the control device 13. . Upon receiving this signal, the control device 13 proceeds from step S57 to step S58, stops counting of the counter T1, and stores the value of the counter T1 in the memory IC (RAM) 20. Then, the drive motor 1 is stopped (step S59), the card carrying process is terminated, and the process proceeds to the execution of step S34 in FIG. In the present embodiment, the drive motor 1 is stopped after the card 3 is further conveyed and the card rear end 3b reaches the second position detector 9 (FIG. 5). That is, before stopping the drive motor 1, the control device 13 continues the subsequent processing, and the subsequent processing and card conveyance are performed in parallel.

(カード長判定処理について)
図9に示すステップS34のカード長判定処理では、図12に示すように、制御装置13はカウンタT1,T2の値に基づいてカード長判定を行う。先ず、制御装置13はカウンタT2の値(以下、カウンタ値T2という)と値T2’を比較する(ステップS61)。ここで、値T2’は、第二の位置検出器9と第三の位置検出器10の間の距離をエンコーダ15のエンコーダパルス信号のパルス数に換算した値、即ち位置検出器9,10間の距離をエンコーダパルス信号の1パルス当たりのカード搬送距離で割ることで算出された値であり、カード3と駆動ローラ2との間にスリップが無い場合にカード先端3aが第二の位置検出器9から第三の位置検出器10に移動するまでの間にカウントされる値である。値T2’は予め計算によって求められてメモリIC(ROM)22内に格納されている。そして、制御装置13は、カウンタ値T2>値T2’の場合はスリップが発生しているものと判定し、ステップS62に進む。
(About card length judgment processing)
In the card length determination process in step S34 shown in FIG. 9, as shown in FIG. 12, the control device 13 determines the card length based on the values of the counters T1 and T2. First, the control device 13 compares the value of the counter T2 (hereinafter referred to as the counter value T2) with the value T2 ′ (step S61). Here, the value T2 ′ is a value obtained by converting the distance between the second position detector 9 and the third position detector 10 into the number of pulses of the encoder pulse signal of the encoder 15, that is, between the position detectors 9 and 10. Of the encoder pulse signal is divided by the card conveyance distance per pulse, and when there is no slip between the card 3 and the drive roller 2, the card tip 3a is the second position detector. It is a value counted during the period from 9 to moving to the third position detector 10. The value T2 ′ is obtained in advance by calculation and stored in the memory IC (ROM) 22. Then, if the counter value T2> the value T2 ′, the control device 13 determines that a slip has occurred, and proceeds to step S62.

ステップS62では、制御装置13はカウンタ値T2と値T2”を比較する。ここで、値T2”は搬送異常判定値、即ち発生したスリップ量が許容範囲を超えており、搬送異常が発生していると判定できる値である。本実施形態では、値T2”として値T2’の110%の値(T2”=T2’×1.1)を採用している。ただし、値T2”の値はこれに限るものではない。値T2”は、予めメモリIC(ROM)22内に格納されている。そして、カウンタ値T2>値T2”の場合には、制御装置13は搬送異常が発生したと判断して搬送エラーに対応するエラーレスポンスデータを上位装置18へ送信し、カード挿入処理を中断する。   In step S62, the control device 13 compares the counter value T2 with the value T2 ″. Here, the value T2 ″ is the conveyance abnormality determination value, that is, the generated slip amount exceeds the allowable range, and the conveyance abnormality has occurred. It is a value that can be determined to be. In the present embodiment, the value T2 ″ is 110% of the value T2 ′ (T2 ″ = T2 ′ × 1.1). However, the value T2 ″ is not limited to this. The value T2 ″ is stored in the memory IC (ROM) 22 in advance. If counter value T2> value T2 ″, the control device 13 determines that a conveyance error has occurred, transmits error response data corresponding to the conveyance error to the host device 18, and interrupts the card insertion process.

一方、発生したスリップ量が許容範囲の場合、即ちカウンタ値T2≦値T2”の場合には、制御装置13はステップS63に進んで真のカード長Tを計算する。真のカード長Tは制御装置13の演算手段7が算出する。即ち、演算手段7は、第一計測手段5の計測によるカウンタT1の値(以下、カウンタ値T1という)と位置検出器8,9間の距離dとに基づいてカード3の仮のカード長T’を求める。仮のカード長T’は数式1によって求められる。ここで、エンコーダパルス信号の1パルス当たりのカード搬送距離は予め計算によって求められてメモリIC(ROM)22内に格納されている。また、位置検出器8,9間の距離dも予めメモリIC(ROM)22内に格納されている。
[数1]
T’=(カウンタ値T1×エンコーダパルス信号の1パルス当たりのカード搬送距離)+位置検出器8,9間の距離d
On the other hand, if the generated slip amount is within the allowable range, that is, if the counter value T2 ≦ value T2 ″, the control device 13 proceeds to step S63 and calculates the true card length T. The true card length T is controlled. The calculation means 7 of the device 13 calculates, that is, the calculation means 7 calculates the value of the counter T1 (hereinafter referred to as counter value T1) measured by the first measurement means 5 and the distance d between the position detectors 8 and 9. Based on this, the provisional card length T ′ of the card 3 is obtained, and the provisional card length T ′ is obtained by Equation 1. Here, the card transport distance per pulse of the encoder pulse signal is obtained in advance by calculation, and the memory IC. The distance d between the position detectors 8 and 9 is also stored in advance in the memory IC (ROM) 22.
[Equation 1]
T ′ = (counter value T1 × card transport distance per pulse of encoder pulse signal) + distance d between position detectors 8 and 9

また、演算手段7は、第二計測手段6の計測によるカウンタ値T2と値T2’とに基づいてスリップ量Sを求める。スリップ量Sは数式2によって求められる。
[数2]
S=(カウンタ値T2−値T2’)×エンコーダパルス信号の1パルス当たりのカード搬送距離
The calculating means 7 calculates the slip amount S based on the counter value T2 and the value T2 ′ measured by the second measuring means 6. The slip amount S is obtained by Equation 2.
[Equation 2]
S = (counter value T2−value T2 ′) × card transport distance per pulse of encoder pulse signal

そして、演算手段7は、数式3に基づいて真のカード長Tを求める。真のカード長Tを求めた後、制御装置13はステップS65に進む。
[数3]
T=T’−S
Then, the calculation means 7 obtains the true card length T based on Equation 3. After obtaining the true card length T, the control device 13 proceeds to step S65.
[Equation 3]
T = T'-S

一方、ステップS61において、カウンタ値T2≦値T2’の場合は制御装置13はスリップが発生していないものと判定し、ステップS64に進む。この場合には、真のカード長T=仮のカード長T’であると考えられるので、ステップS64では制御装置13の演算手段7が仮のカード長T’を求めてこれを真のカード長Tとする。仮のカード長T’は数式4に基づいて求められる。そして、真のカード長Tを求めた後、制御装置13はステップS65に進む。
[数4]
T’={(カウンタ値T1×エンコーダパルス信号の1パルス当たりのカード搬送距離)+位置検出器8,9間の距離d}=T
On the other hand, in step S61, if the counter value T2 ≦ value T2 ′, the control device 13 determines that no slip has occurred, and proceeds to step S64. In this case, since it is considered that the true card length T = the provisional card length T ′, the calculation means 7 of the control device 13 obtains the provisional card length T ′ in step S64 and determines this as the true card length. T. The provisional card length T ′ is obtained based on Equation 4. And after calculating | requiring the true card | curd length T, the control apparatus 13 progresses to step S65.
[Equation 4]
T ′ = {(counter value T1 × card transport distance per pulse of encoder pulse signal) + distance d between position detectors 8 and 9} = T

ステップS65では、制御装置13の判定手段14がカード3の真偽を判定する。この判定は、演算手段7によって求められた真のカード長Tと、予め定められている判定値Lとを比較することで行われる。ここで判定値Lはカード3の長さ異常を判定する基準値であり、この値よりも長い場合にはカード長が誤差範囲を超えて長く、偽カードと判断できる値である。本実施形態では、判定値Lとして、真正カードのカード長の1.1倍の値を採用している。ただし、判定値Lの値はこれに限るものではない。判定値Lは予めメモリIC(ROM)22内に格納されている。そして、真のカード長T>判定値Lの場合には、判定手段14はカード3が偽カードであると判定し、カード長異常に対応するエラーレスポンスデータを上位装置18へ送信して、 カード挿入処理を中断する。   In step S <b> 65, the determination unit 14 of the control device 13 determines the authenticity of the card 3. This determination is performed by comparing the true card length T obtained by the calculation means 7 with a predetermined determination value L. Here, the determination value L is a reference value for determining an abnormality in the length of the card 3, and if it is longer than this value, the card length is longer than the error range and is a value that can be determined as a fake card. In the present embodiment, the determination value L is 1.1 times the card length of the genuine card. However, the value of the determination value L is not limited to this. The determination value L is stored in advance in the memory IC (ROM) 22. If true card length T> determination value L, the determination means 14 determines that the card 3 is a fake card, and transmits error response data corresponding to the card length abnormality to the host device 18. Interrupt the insertion process.

一方、真のカード長T≦判定値Lの場合には、判定手段14はカード3が真正カードであると判定し、図12のカード長判定処理を終了して図9のステップS35を実行する。   On the other hand, if true card length T ≦ determination value L, determination means 14 determines that card 3 is a genuine card, ends the card length determination process of FIG. 12, and executes step S35 of FIG. .

図9に示すステップS35では、磁気データの復調等のデータ処理が磁気ヘッド16とカード3の磁気ストライプ3cとの間で行われ、その結果が上位装置18に送信される。そして、上述したように、カード3がさらに搬送されてカード後端3bが第二の位置検出器9に達すると(図5の状態)、第二の位置検出器9のカード検出信号が制御装置13に入力され、制御装置13はモータ駆動動信号の出力を停止して駆動モータ1を停止させ、カード搬送処理を終了する。   In step S 35 shown in FIG. 9, data processing such as demodulation of magnetic data is performed between the magnetic head 16 and the magnetic stripe 3 c of the card 3, and the result is transmitted to the host device 18. Then, as described above, when the card 3 is further conveyed and the card rear end 3b reaches the second position detector 9 (state of FIG. 5), the card detection signal of the second position detector 9 is transmitted to the control device. 13, the control device 13 stops the output of the motor drive motion signal, stops the drive motor 1, and ends the card transport process.

その後、カードリーダ23は所定のカード処理を行い、駆動ローラ2を逆回転させてカード3をカード挿入口11から排出する。   Thereafter, the card reader 23 performs predetermined card processing, rotates the driving roller 2 in the reverse direction, and discharges the card 3 from the card insertion slot 11.

このカードリーダ23では、第一計測手段5が求めた仮のカード長T’から第二計測手段6が求めたスリップ量Sを引いてカード3の真のカード長Tを求めるようにしているので、カード搬送時に駆動ローラ1とカード3の間にスリップが生じた場合であっても真のカード長Tを正確に求めることができる。そのため、カード長判定を正しく行うことが可能となり、カード長に基づくカードの真偽判断を正しく行うことが可能となる。   In this card reader 23, the true card length T of the card 3 is obtained by subtracting the slip amount S obtained by the second measuring means 6 from the temporary card length T ′ obtained by the first measuring means 5. Even when a slip occurs between the driving roller 1 and the card 3 during card conveyance, the true card length T can be accurately obtained. Therefore, it is possible to correctly determine the card length, and to correctly determine the authenticity of the card based on the card length.

このカードリーダ23は、搬送異常を判別する処理(ステップS62)を行っているので、カード3と駆動ローラ2との間のスリップが検出された場合に、そのスリップがカードリーダ23に起因するもの(例えば、駆動ローラ2の異常摩耗等)であるのか、カード3に起因するもの(例えば、偽カードの挿入等)であるのかを区別して検出することができる。   Since the card reader 23 performs a process for determining a conveyance abnormality (step S62), when a slip between the card 3 and the driving roller 2 is detected, the slip is caused by the card reader 23. It can be detected by distinguishing whether it is due to the card 3 (for example, abnormal wear of the driving roller 2) or due to the card 3 (for example, insertion of a fake card).

また、制御装置13は、設計による一定値である2つの位置検出器9,10の間の距離を基準にしてスリップ量Sを求めているので、スリップ量Sを正確に求めることができ、真のカード長Tを正確に求めることができる。   Further, since the control device 13 obtains the slip amount S on the basis of the distance between the two position detectors 9 and 10, which is a constant value by design, the slip amount S can be obtained accurately, and true The card length T can be obtained accurately.

また、計測に駆動モータ1の回転数を検出するエンコーダ15を利用しているので、別に専用の計測手段を設ける必要がなく、製造コストを安くすることができると共に、カードリーダを小型軽量化することができる。   Further, since the encoder 15 that detects the number of rotations of the drive motor 1 is used for measurement, there is no need to provide a separate measurement means, the manufacturing cost can be reduced, and the card reader can be reduced in size and weight. be able to.

また、仮のカード長T’、スリップ量Sの計測は、図2に示すように、カード3がカードリーダ23の中に完全に取り込まれた後に開始されるので、カードリーダ23の利用者がカード3を掴んだ状態で計測を開始することはなく、正確に計測することができる。   Further, the measurement of the temporary card length T ′ and the slip amount S is started after the card 3 is completely taken into the card reader 23 as shown in FIG. Measurement is not started while the card 3 is held, and accurate measurement can be performed.

なお、上述の形態は本発明の好適な形態の一例ではあるがこれに限定されるものではなく本発明の要旨を逸脱しない範囲において種々変形実施可能である。例えば、上述の説明では、第二計測手段6の第二の位置検出器9と第三の位置検出器10は、カード3の先端3aを検出するようにしていたが、後端3bを検出するようにしても良い。   The above-described embodiment is an example of a preferred embodiment of the present invention, but is not limited thereto, and various modifications can be made without departing from the scope of the present invention. For example, in the above description, the second position detector 9 and the third position detector 10 of the second measuring means 6 detect the leading edge 3a of the card 3, but detect the trailing edge 3b. You may do it.

また、上述の説明では、カード3の搬送が終了する前にカード長判定処理を行っていたが、即ち駆動モータ1の停止前にカード長判定処理を開始していたが、カード3の搬送が完全に終了してからカード長判定処理を行うようにしても良い。   In the above description, the card length determination process is performed before the conveyance of the card 3 is completed. That is, the card length determination process is started before the drive motor 1 is stopped. You may make it perform card length determination processing, after complete | finishing completely.

また、上述の説明では、ステップS61においてスリップの発生を検出した場合に、更にそのスリップが搬送異常に起因したものであるか否かを判定している(ステップS62)が、このような判定を省略しても良い。   In the above description, when the occurrence of slip is detected in step S61, it is further determined whether or not the slip is caused by a conveyance abnormality (step S62). May be omitted.

また、位置検出器8,9間の距離と、位置検出器9,10間の距離とを等しくしても良い。即ち、3つの位置検出器8,9,10を等間隔で配置しても良い。この場合には、2つのカウンタT1,T2がカウントを開始するタイミングと終了するタイミングを一致させることができ、求めたスリップ量Sが仮のカード長T’の計測の全範囲に対応する値となる。このため、より一層正確にカード長Tを求めることができる。   Further, the distance between the position detectors 8 and 9 may be equal to the distance between the position detectors 9 and 10. That is, the three position detectors 8, 9, 10 may be arranged at equal intervals. In this case, the timing at which the two counters T1 and T2 start counting can be matched with the timing at which the counting is completed, and the obtained slip amount S is a value corresponding to the entire measurement range of the temporary card length T ′. Become. For this reason, the card length T can be obtained more accurately.

また、上述の説明では、第一の位置検出器8は2つの位置検出器8,9を使用して仮のカード長T’を求めていたが、1つの位置検出器を使用して仮のカード長T’を求めるようにしても良い。即ち、第一計測手段5は、搬送路4を搬送するカード3の先端3aと後端3bの位置を同一の位置検出器によって検出するようにしても良い。例えば、第二の位置検出器9を使用する場合を例に説明すると、第二の位置検出器9によるカード先端3aの検出によってカウンタT1のカウントを開始し、第二の位置検出器9によるカード後端3bの検出によってカウンタT1のカウントを終了するようにしても良い。この場合には、第一の位置検出器8を省略することができ、製造コストを安くすることができると共に、カードリーダ23を小型軽量化することができる。なお、使用する位置検出器は第二の位置検出器9に限るものではなく、第三の位置検出器10でも良く、この場合にも第一の位置検出器8を省略することができ、製造コストを安くすることができると共に、カードリーダ23を小型軽量化することができる。あるいは、使用する位置検出器は第一の位置検出器8や挿入検知センサ12でも良い。   In the above description, the first position detector 8 uses two position detectors 8 and 9 to determine the temporary card length T ′. The card length T ′ may be obtained. In other words, the first measuring means 5 may detect the positions of the front end 3a and the rear end 3b of the card 3 transporting the transport path 4 with the same position detector. For example, the case where the second position detector 9 is used will be described as an example. The count of the counter T1 is started by the detection of the card tip 3a by the second position detector 9, and the card by the second position detector 9 is used. The counting of the counter T1 may be ended by detecting the rear end 3b. In this case, the first position detector 8 can be omitted, the manufacturing cost can be reduced, and the card reader 23 can be reduced in size and weight. The position detector to be used is not limited to the second position detector 9, but may be the third position detector 10. In this case, the first position detector 8 can be omitted, The cost can be reduced and the card reader 23 can be reduced in size and weight. Alternatively, the position detector to be used may be the first position detector 8 or the insertion detection sensor 12.

また、上述の説明では、第一の位置検出器8は2つの位置検出器として第一の位置検出器8と第二の位置検出器9を使用していたが、第一の位置検出器8と第三の位置検出器10を使用しても良く、第二の位置検出器9と第三の位置検出器10を使用しても良い。   In the above description, the first position detector 8 uses the first position detector 8 and the second position detector 9 as two position detectors. The third position detector 10 may be used, and the second position detector 9 and the third position detector 10 may be used.

同様に、上述の説明では、第二の位置検出器9は2つの位置検出器として第二の位置検出器9と第三の位置検出器10を使用していたが、第一の位置検出器8と第二の位置検出器9を使用しても良く、第一の位置検出器8と第三の位置検出器10を使用しても良い。   Similarly, in the above description, the second position detector 9 uses the second position detector 9 and the third position detector 10 as two position detectors. 8 and the second position detector 9 may be used, and the first position detector 8 and the third position detector 10 may be used.

また、上述の説明では、第一計測手段5と第二計測手段6とで第二の位置検出器9を共有していたが、第一の位置検出器8を共有しても良く、第三の位置検出器10を共有しても良い。   Moreover, in the above description, the first position detector 9 is shared by the first measuring means 5 and the second measuring means 6, but the first position detector 8 may be shared. The position detector 10 may be shared.

また、上述の説明では、第一計測手段5と第二計測手段6とで1つの位置検出器を共有していたが、2つの位置検出器を共有しても良い。即ち、第一計測手段5の位置検出器と第二計測手段6の位置検出器を同じにしても良い。   In the above description, the first measuring means 5 and the second measuring means 6 share one position detector, but two position detectors may be shared. That is, the position detector of the first measuring means 5 and the position detector of the second measuring means 6 may be the same.

また、上述の説明では、第一計測手段5と第二計測手段6とで1つの位置検出器を共有していたが、位置検出器を共有にせず、第一の位置検出器8と第二の位置検出器9の位置検出器を別々のものにしても良い。   In the above description, the first measuring unit 5 and the second measuring unit 6 share one position detector. However, the first position detector 8 and the second measuring unit 8 do not share the position detector. The position detectors of the position detector 9 may be provided separately.

また、上述の説明では、カード長異常の判定(ステップS65)と搬送異常の判定(ステップS62)両方を行っていたが、カード長判定が不要な仕様のカードリーダ23に適用する場合には、カード長異常の判定を省略し、搬送異常の判定のみを行うようにしても良い。   In the above description, both the card length abnormality determination (step S65) and the conveyance abnormality determination (step S62) are performed. However, when applied to the card reader 23 having specifications that do not require the card length determination, It is also possible to omit the card length abnormality determination and perform only the conveyance abnormality determination.

また、上述の説明では、カード挿入口11に挿入されたカード3をカードリーダ23の奥に向けて搬送しながら仮のカード長T’とスリップ量Sの計測を行っていたが、一旦、奥まで搬送した後、カード挿入口11に向けて戻しながら仮のカード長T’とスリップ量Sの計測を行っても良い。   In the above description, the temporary card length T ′ and the slip amount S are measured while the card 3 inserted into the card insertion slot 11 is conveyed toward the back of the card reader 23. Then, the temporary card length T ′ and the slip amount S may be measured while returning toward the card insertion slot 11.

本発明のカードリーダの実施形態の一例を示し、カード挿入口に挿入されたカードが挿入検知センサによって検出された状態の概略構成図である。It is a schematic block diagram of the state which showed an example of embodiment of the card reader of this invention, and the card inserted in the card insertion slot was detected by the insertion detection sensor. 図1の状態からカードリーダの奥に向けてカードが搬送された様子を示し、カードの先端が第二計測手段によって検出された状態の概略構成図である。It is a schematic block diagram which shows a mode that the card | curd was conveyed toward the back of the card reader from the state of FIG. 1, and the state which the front-end | tip of the card | curd was detected by the 2nd measurement means. 図2の状態からカードリーダの奥に向けてカードが更に搬送された様子を示し、カードの先端が第三計測手段によって検出された状態の概略構成図である。It is a schematic block diagram which shows a mode that the card | curd was further conveyed toward the back of a card reader from the state of FIG. 2, and the front-end | tip of the card | curd was detected by the 3rd measurement means. 図3の状態からカードリーダの奥に向けてカードが更に搬送された様子を示し、カードの後端が第一計測手段によって検出された状態の概略構成図である。It is a schematic block diagram which shows a mode that the card | curd was further conveyed toward the back of a card reader from the state of FIG. 3, and the state which the back end of the card | curd was detected by the 1st measurement means. 図4の状態からカードリーダの奥に向けてカードが更に搬送された様子を示し、カードの後端が第二計測手段によって検出された状態の概略構成図である。FIG. 5 is a schematic configuration diagram illustrating a state in which the card is further conveyed from the state of FIG. 4 toward the back of the card reader, and a state in which the rear end of the card is detected by a second measuring unit. 同カードリーダの回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of the card reader. エンコーダパルス信号に基づいてカウントを行う様子を示す概念図である。It is a conceptual diagram which shows a mode that it counts based on an encoder pulse signal. 上位装置とのインターフェイスを示す概念図である。It is a conceptual diagram which shows an interface with a high-order apparatus. カード挿入処理のフローチャートである。It is a flowchart of a card insertion process. カード挿入処理のステップS32で実行されるカード挿入待ち処理のフローチャートである。It is a flowchart of the card insertion waiting process executed in step S32 of the card insertion process. カード挿入処理のステップS33で実行されるカード搬送処理のフローチャートである。It is a flowchart of the card | curd conveyance process performed by step S33 of a card insertion process. カード挿入処理のステップS34で実行されるカード長判定処理のフローチャートである。It is a flowchart of the card | curd length determination process performed by step S34 of a card insertion process. 従来のカードリーダライタ装置の概略構成図である。It is a schematic block diagram of the conventional card reader / writer apparatus. カウントの期間を説明するためのタイミング図である。It is a timing diagram for demonstrating the period of a count.

符号の説明Explanation of symbols

1 駆動モータ
2 駆動ローラ
3 カード
3a カード3先端
3b カード3後端
4 搬送路
5 第一計測手段
6 第二計測手段
7 演算手段
8 第一の位置検出器
9 第二の位置検出器
10 第三の位置検出器
14 判定手段
15 エンコーダ
DESCRIPTION OF SYMBOLS 1 Drive motor 2 Drive roller 3 Card 3a Card 3 front-end | tip 3b Card 3 rear end 4 Conveyance path 5 1st measurement means 6 2nd measurement means 7 Calculation means 8 1st position detector 9 2nd position detector 10 3rd Position detector 14 determining means 15 encoder

Claims (7)

駆動モータにより回転駆動される駆動ローラによりカードを搬送路内で搬送するカードリーダにおいて、前記カードの仮のカード長を求める第一計測手段と、前記駆動ローラのスリップ量を求める第二計測手段と、前記第一計測手段で計測した仮のカード長から前記第二計測手段で計測したスリップ量を引いて前記カードの真のカード長を求める演算手段を備えることを特徴とするカードリーダ。   In a card reader that transports a card in a transport path by a driving roller that is rotationally driven by a driving motor, first measuring means for determining a temporary card length of the card, and second measuring means for determining a slip amount of the driving roller; A card reader comprising arithmetic means for obtaining the true card length of the card by subtracting the slip amount measured by the second measuring means from the temporary card length measured by the first measuring means. 前記第一計測手段は、前記搬送路を搬送するカードの先端と後端の位置を検出する位置検出器を有することを特徴とする請求項1記載のカードリーダ。   2. The card reader according to claim 1, wherein the first measuring means includes a position detector for detecting positions of a leading edge and a trailing edge of the card that conveys the conveyance path. 前記第一計測手段は、前記カードの搬送方向の異なる位置に配置された2つの位置検出器を有し、前記2つの位置検出器のうち、前記搬送方向下流側に配置された位置検出器は前記カードの先端を検出するとともに、前記搬送方向上流側に配置された位置検出器は前記カードの後端を検出することを特徴とする請求項1記載のカードリーダ。   The first measuring means has two position detectors arranged at different positions in the card conveying direction, and among the two position detectors, the position detector arranged downstream in the conveying direction is The card reader according to claim 1, wherein a front end of the card is detected, and a position detector disposed upstream in the transport direction detects a rear end of the card. 前記第二計測手段は、前記カードの搬送方向の異なる位置に配置された2つの位置検出器を有し、前記カードの先端または後端のどちらか一方を、前記2つの位置検出器によって検出することを特徴とする請求項1から3のいずれか一つに記載のカードリーダ。   The second measuring means has two position detectors arranged at different positions in the card conveying direction, and detects either the front end or the rear end of the card by the two position detectors. The card reader according to any one of claims 1 to 3. 前記演算手段によって求めた真のカード長に基づいて前記カードの真偽を判定する判定手段を備えることを特徴とする請求項1から4のいずれか一つに記載のカードリーダ。   5. The card reader according to claim 1, further comprising a determination unit that determines whether the card is true or false based on a true card length obtained by the calculation unit. 前記判定手段は、前記演算手段によって求めた真のカード長と予め定めた判定値とを比較し、前記求めた真のカード長が前記判定値よりも大きな場合に前記カードを偽カードと判定することを特徴とする請求項5記載のカードリーダ。   The determination unit compares the true card length obtained by the calculation unit with a predetermined determination value, and determines that the card is a fake card if the calculated true card length is larger than the determination value. The card reader according to claim 5. 前記駆動モータの回転数を検出するエンコーダを備え、前記第一計測手段及び前記第二計測手段は前記エンコーダから発生するエンコーダパルスを計数することを特徴とする請求項1から6のいずれか一つに記載のカードリーダ。   7. The encoder according to claim 1, further comprising an encoder that detects a rotational speed of the drive motor, wherein the first measuring unit and the second measuring unit count encoder pulses generated from the encoder. The card reader described in 1.
JP2008007194A 2008-01-16 2008-01-16 Card reader Expired - Fee Related JP5198884B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008007194A JP5198884B2 (en) 2008-01-16 2008-01-16 Card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008007194A JP5198884B2 (en) 2008-01-16 2008-01-16 Card reader

Publications (2)

Publication Number Publication Date
JP2009169684A true JP2009169684A (en) 2009-07-30
JP5198884B2 JP5198884B2 (en) 2013-05-15

Family

ID=40970775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008007194A Expired - Fee Related JP5198884B2 (en) 2008-01-16 2008-01-16 Card reader

Country Status (1)

Country Link
JP (1) JP5198884B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180014737A (en) 2015-10-30 2018-02-09 히타치 오므론 터미널 솔루션즈 가부시키가이샤 Card processing device, automatic transaction device
JP2020042396A (en) * 2018-09-07 2020-03-19 日本電産サンキョー株式会社 Card reader and card reader control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000040125A (en) * 1998-07-22 2000-02-08 Toshiba Corp Card processor and card processing method
JP2006163824A (en) * 2004-12-07 2006-06-22 Kts:Kk Electric magnetic card reader/writer device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000040125A (en) * 1998-07-22 2000-02-08 Toshiba Corp Card processor and card processing method
JP2006163824A (en) * 2004-12-07 2006-06-22 Kts:Kk Electric magnetic card reader/writer device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180014737A (en) 2015-10-30 2018-02-09 히타치 오므론 터미널 솔루션즈 가부시키가이샤 Card processing device, automatic transaction device
JP2020042396A (en) * 2018-09-07 2020-03-19 日本電産サンキョー株式会社 Card reader and card reader control method
JP7220037B2 (en) 2018-09-07 2023-02-09 日本電産サンキョー株式会社 Card reader and card reader control method

Also Published As

Publication number Publication date
JP5198884B2 (en) 2013-05-15

Similar Documents

Publication Publication Date Title
JP5198884B2 (en) Card reader
JP4064913B2 (en) Card reader
CN103093540A (en) Method and device for detecting width and interval of paper money
US7424942B2 (en) Banknote handling apparatus
JPS6236251A (en) Detection system of double feed
JP2011095626A5 (en) Image forming apparatus
KR100576202B1 (en) Method for detecting medium using coordinate calculation
JP5277443B2 (en) Banknote handling equipment
CN103660636A (en) Card orientation detecting method, apparatus and card
JP5458060B2 (en) Coin identification device
JP2012093874A (en) Bill identification device
JP2012053774A (en) Bill identification device
JP5717185B2 (en) Card reader / writer, card position information generation method, and card position information generation program
WO2010106622A1 (en) Diameter detecting device and diameter detecting method
JP2022026088A (en) Information media processing device and motor control method
JPH05114056A (en) Card reader device
JPH03126190A (en) Prepaid card reader/writer
CN202887312U (en) A width and interval detecting device of paper currency
JPH046407A (en) Deformed-medium judging apparatus
JP3062851B2 (en) Card reader
JP2012073713A (en) Paper money identification device
JPH10120246A (en) Paper sheet thickness detecting device
JPS6297087A (en) Paper money discrimination system for automatic depositor
KR20210031116A (en) Apparatus for determining media wear amount
JP2005182260A (en) Card conveyance method and device therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100825

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120817

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120904

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121130

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20121207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130207

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

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5198884

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees