This application claims priority from Japanese Patent Application No. 2017-153175 filed on Aug. 8, 2017, which is incorporated hereinto by reference.
The present invention relates to a card reader configured to read data from a card such as a magnetic card, and relates also to a foreign matter detection method of detecting insertion of a foreign matter into the card reader.
To read magnetic data recorded on a magnetic card and to record data onto the magnetic card, a card reader is widely used. As an application of the magnetic card, there is a cash card used for a transaction with a financial institution, for example. In recent years, a so-called skimming becomes a serious social problem where a criminal attaches a magnetic head to an insertion unit of the card reader to steal data recorded on the magnetic card. Although a countermeasure against the attachment of the magnetic head for skimming to the card insertion unit is underway, a criminal technique for skimming is also sophisticated, and there is a concern that the magnetic head for skimming is placed inside the card reader.
Therefore, as a technique for detecting placement of a foreign matter such as the magnetic head inside the card reader, Japanese Unexamined Patent Application Publication No. 2016-110415 discloses arrangement of a capacitive sensor along a card passage inside the card reader. As a capacitive sensor to be arranged inside the card reader, a thin-type capacitive sensor is required, and thus, that which is configured so that a pair of comb-shaped electrodes or interdigital electrodes are placed on an insulating substrate, and further, its surface is covered with an insulating layer, is used. It is noted that as a capacitive sensor used for measurement of 4-terminal type, Japanese Unexamined Patent Application Publication No. H9-43187 discloses a capacitive sensor where a pair of comb-shaped electrodes are arranged on an insulating substrate.
In a method of detecting insertion of a foreign matter into a card reader by using a capacitive sensor, a capacitance change caused along with the foreign matter being arranged inside the card reader is detected. The card reader is internally provided with a roller configured to pressurize and covey a card, a holding member configured to hold the card, and the like, and the roller and the holding member are not fixed to prevent moving, but are movable members changing in position and gesture relative to a card reader main body. In a case of the card reader configured to read a magnetic card with a built-in IC chip, a contact mechanism used for electrical connection with the IC chip is also a movable member. A capacitive sensor is a very delicate sensor, and detects even a capacitance value changing due to a very small relative variance in distance to a target object. Therefore, if the position and the gesture of the movable member are changed, the capacitive sensor may erroneously detect that the foreign matter is attached even though the foreign matter is not attached. There is a need for a mechanism configured to detect the attachment of the foreign matter while reducing an influence of the change in position and gesture of the movable member. On the other hand, in order to detect the foreign matter such as a magnetic head for skimming over a wide range, it is necessary to arrange the capacitive sensors over a wide range inside the card reader. In order to satisfy the need of arranging the capacitive sensor over a wide range and to reduce the influence of the movable member at the same time, a large number of capacitive sensors may be arranged, and in addition, a drive and detection circuit may be arranged for each of the capacitive sensors. However, the drive and detection circuit configured to drive the capacitive sensor to obtain a capacitive value is expensive, and if many drive and detection circuits are arranged, its cost rises.
An object of the present invention is to provide a card reader capable of reducing an influence of a movable member within in the card reader, and to detect insertion of a foreign matter at a low cost over a wide range inside the card reader, and to provide a foreign matter detection method thereof.
In an aspect of the invention, a card reader includes: a card passage through which a card inserted from a card insertion port passes, the card passage being connected to the card insertion port; a magnetic head configured at least one of: to record magnetic data for a magnetic stripe of the card; and to read the magnetic data from the magnetic stripe; a capacitive sensor provided in contact with the card passage; and a movable structure with a distance to the capacitive sensor being variable, wherein the capacitive sensor is divided into a plurality of regions each of which is capable of detecting a capacitance and includes a switch circuit configured to electrically connect and disconnect each region.
According to such a card reader, it is possible to arrange the plurality of regions of the capacitive sensor in a plurality of locations suitable for a foreign matter detection to thereby widen a detection range of a capacitance, and as a result, it is possible to perform a foreign matter detection over a wide range at low cost.
A plurality of regions of the capacitive sensor of an aspect of the invention includes at least one first region arranged in a position relatively less susceptible to an influence of a movement of the movable structure, and at least one second region arranged in a position relatively susceptible to the influence of the movement of the movable structure. With this configuration, it is possible to perform a foreign matter detection without receiving the influence of the movement of the movable structure by selecting the first region only while widening a detection range, and it is possible to determine the presence or absence of the foreign matter by taking into consideration an influence, if any, of the movable structure due to the second region being connected. In this configuration, it is preferable that a drive and detection circuit configured to drive the capacitive sensor and obtain a capacitance value detected by the capacitive sensor is further provided, and the drive and detection circuit is connected to one of the first regions of the capacitive sensor. As a result, a foreign matter detection not receiving any influence of the movable structure can be unceasingly performed.
Further, it is preferable that other regions are connected in series via the switch circuit to a region connected to the drive and detection circuit, out of the plurality of regions of the capacitive sensor. As a result, when the switch circuit is intervened, it is possible to easily switch between a detection of the first region only and a detection over the both regions, and it is possible to share the drive and detection circuit over a plurality of regions, and thus, it is possible to reduce the number of drive and detection circuits.
In the present invention, it is preferable that the control circuit is provided which is configured to control the switch circuit, and detect a foreign matter, based on an output from the drive and detection circuit. When the control circuit is provided, it is possible to automate a process of a foreign matter detection, and it is also easy to output a warning that the foreign matter is detected to the outside. At this time, it is preferable that the control circuit performs the foreign matter detection by unceasingly connecting the first region to the drive and detection circuit. As a result, it is possible to unceasingly perform the foreign matter detection with the accuracy suitable for an arrangement situation of the movable structure.
In an aspect of the invention, the control circuit can, for example, if there is a response in the first region while the second region is electrically disconnected from the first region, detect the foreign matter, based on a detection amount in the drive and detection circuit, and if there is no response in the first region while the second region is electrically disconnected from the first region, electrically connect the second region to the first region to detect the foreign matter, based on the detection amount in the drive and detection circuit, and thereafter, electrically disconnects the second region from the first region. At this time, the third threshold value is set to be smaller than the second threshold value. According to such a control, it is possible to implement the foreign matter detection with low sensitivity by using only the first region or only the second region, and it is possible to surely detect a foreign matter that obviously appears to be a foreign matter and it is also possible to prevent an erroneous detection. Further, in a case where even if there is a response in the foreign matter detection in the first region, it is not possible to finalize that this response is the foreign matter, when the foreign matter detection is performed by connecting the second region, it is possible to highly accurately perform the foreign matter detection while preventing an overlook.
Also, in an aspect of the invention, the control circuit can, if there is a response in the first region while the second region is electrically disconnected from the first region, detect the foreign matter, based on a detection amount in the drive and detection circuit by using a first threshold value, if there is no response in the first region while the second region is electrically disconnected from the first region, electrically connect the second region to the first region to detect the foreign matter, based on the detection amount in the drive and detection circuit, by using a second threshold value, and thereafter, electrically disconnects the second region from the first region, and when not able to determine that the foreign matter is detected by the first threshold value, electrically connects the second region to the first region to detect the foreign matter, based on the detection amount in the drive and detection circuit, by using a third threshold value, and thereafter, electrically disconnects the second region from the first region, and the third threshold value is smaller than the second threshold value.
In the card reader of the present invention, it is preferable that a plurality of capacitive sensors are arranged and these capacitive sensors are arranged along the traveling direction of the card through the card passage. In the card reader, the card passage is provided with a transport roller and a magnetic head; however, according to such a method of arranging a capacitive sensor, it is possible to reasonably arrange the capacitive sensor so that a wide range within the card reader is used as a detection range while avoiding the transport roller and the magnetic head. For example, the capacitive sensors can be arranged in a position close to the card insertion port and a position at a deeper side as viewed from the card insertion port, respectively. Further, it is preferable that the first region of each of the plurality of capacitive sensors is arranged at one side in a direction orthogonal to the traveling direction of the card, and the second region of each of the plurality of capacitive sensors is arranged at the other side in the direction orthogonal to the traveling direction of the card. In the card reader, the movable structure such as a holding member configured to hold the transport roller often extends along the traveling direction of the card at one side of a width direction of the card passage, and thus, if such an arrangement is introduced, it is possible to more reliably perform the foreign matter detection in consideration of the influence of the movement of the movable structure.
A foreign matter detection method of the present invention is a foreign matter detection method in a card reader comprising: a card passage through which a card inserted from a card insertion port passes, the card passage being connected to the card insertion port; a magnetic head configured at least one of: to record magnetic data for a magnetic stripe of the card; and to read the magnetic data from the magnetic stripe; a capacitive sensor provided in contact with the card passage; a movable structure with a distance to the capacitive sensor being variable; and a drive and detection circuit configured to drive the capacitive sensor and obtain a capacitance value detected by the capacitive sensor, wherein the capacitive sensor is divided into a plurality of regions each of which is capable of detecting a capacitance and includes a switch circuit configured to electrically connect and disconnect each region, and the drive and detection circuit is connected to one of the plurality of regions of the capacitive sensor. In the method, a foreign matter is detected, based on a detection amount in the drive and detection circuit while the switch circuit is rendered non-conducting, and if there is no response in the foreign matter detection, while the switch circuit is rendered conducting, the foreign matter is detected again, based on the detection amount in the drive and detection circuit, and thereafter, the switch circuit is rendered non-conducting. According to such a foreign matter detection method, it is possible to more reliably perform the foreign matter detection over a wide range by reducing the influence from the movable structure or the like while reducing the number of drive and detection circuits. In the foreign matter detection method, it is preferable that out of the plurality of regions of the capacitive sensor, a region to which the drive and detection circuit is connected is a region less susceptible to the influence from the movable structure arranged in the card reader and having a distance to the capacitive sensor being variable, as compared to a region to be connected, via the switch circuit, to the region. With this configuration, it is possible to unceasingly perform the foreign matter detection with accuracy suitable for an arrangement situation of the movable structure.
According to the present invention, it is possible to alleviate an influence of a movable member within a card reader and detect a foreign matter at low cost over a wide range within the card reader.
With reference to the drawings, an embodiment of the present invention will be described.
A card passage portion (card passage) unit in the card reader is a space in which a guide member 13 is defined as a floor surface, and is communicated with a slot-like card insertion port arranged in the card insertion unit 11. In order that the card 10 is drawn into the card passage and the card 10 is removed from the card passage, three pairs of a roller pair comprised of rollers 21, 22 configured to hold and transport the card 10 are arranged, and the roller pairs 21, 22 are driven by a motor 41 (see
The magnetic head 23 is arranged in the guide member 13 at a position with no movable units 15, 16 to slide along the magnetic stripe 12 of the card 10 moving through the card passage. A surface facing the card passage in the guide member 13 is also provided with a capacitive sensor 25 extending in the width direction of the card 10. Here, two capacitive sensors 25 are arranged; however, the number of capacitive sensors 25 arranged in the card reader is not limited to two, and the number may be increased or decreased, where appropriate.
On the other hand, when it is determined in step 103 that there is a response in the region B, it is necessary to determine whether the response is caused by the foreign matter or noise or movement of the movable units 15, 16 or the like. Therefore, in step 105, the control circuit 40 compares a capacitance change amount XB (which corresponds to a capacitance change amount in the region B) detected at this time in the drive and detection circuit 43 with a predetermined slice value (threshold value) TH2. When the capacitance change amount XB is equal to or less than the slice value TH2, it is determined that the capacitance change is not caused by the foreign matter, and similarly to above, the process moves to step 104 to repeat the processes from step 101. On the other hand, in step 105, if the capacitance change amount XB exceeds the slice value TH2, the control circuit 40 determines in step 106 that the foreign matter is detected by the capacitance change amount XB, and ends the process of the foreign matter detection after outputting warning data to outside, for example.
If it is determined in step 101 that there is the response in the region A, it is necessary to determine whether the response is caused by the foreign matter or noise or the like. Because the response is detected in the region A, the influence caused by the movement of the movable units 15, 16 is small. Therefore, in step 107, the control circuit 40 compares a capacitance change amount XA (which corresponds to a capacitance change amount in the region A) detected at this time in the drive and detection circuit 43 with a predetermined slice value (threshold value) TH1. When the capacitance change amount XB is equal to or less than the slice value TH1, it is determined that the capacitance change is not caused by the foreign matter, and the control circuit 40 repeats the processes from step 101 to uninterruptedly and repeatedly execute the process of the foreign matter detection. On the other hand, in step 107, if the capacitance change amount XA exceeds the slice value TH1, the control circuit 40 determines in step 108 that the foreign matter is detected by the capacitance change amount XA, and ends the process of the foreign matter detection after outputting warning data to outside, for example.
In the process illustrated in
The determination as to whether the width narrowing member or the movable units 15, 16 are returned to the original position (position at a time before the card 10 is inserted into the card passage channel) after the card 10 is removed from the card passage channel is not easily made depending only on the detection result of the capacitive sensor 25; however, if the capacitance value detected by the capacitive sensor 25 is returned to the initial value, the movable units 15, 16 or the like are returned to the original position. As a result, it is possible to determine that there is no foreign matter. Further, if the capacitance value is not returned to the initial value after the card 10 is removed from the card passage channel, it is possible to suspect that the foreign matter is inserted. In that case, if the capacitance value stays within a range of a value assumed by the movement of the width narrowing member and the movable units 15, 16, at least a warning may be issued, but if the capacitance value stays within the range of the assumed value, the determination of the foreign matter detection is not finalized.
Next,
In step 107, if the capacitance change amount XA is equal to or less than the slice value TH1, different from the process of
Next, the slice values TH1 to TH3 in the process illustrated in
The process illustrated in
As described above, in the card reader of the present embodiment, the capacitive sensor 25 configured by one pair of comb-shaped electrodes is divided into the first region (region A) arranged outside the movable structure approaching area 26 and the second region (region B) arranged inside the movable structure approaching area 26, for example, these regions are electrically connected by the switch circuit 33, and the drive and detection circuit 43 for the capacitive sensor 25 is arranged to be electrically connected to the first region. In this configuration, the detection of the foreign matter can be unceasingly performed by using the first region, and the detection of the foreign matter can also be performed to correspond to the movable structure approaching area 26, where necessary, without arranging a separate drive and detection circuit. As a result, the number of the drive and detection circuits 43 needed for the capacitive sensor 25 can be reduced, the influence of the movable member inside the card reader can be alleviated, and the foreign matter can be detected over a wide range within the card reader. The capacitive sensor 25 of two-terminal type having one pair of comb-shaped electrodes is used herein; however, the capacitive sensor used in the present invention is not limited to a capacitive sensor of two-terminal type having the comb-shaped electrodes, and irrespective of whether the capacitive sensor is of two-terminal type or four-terminal type, the capacitive sensor of any mode may be used.
Number | Date | Country | Kind |
---|---|---|---|
2017-153175 | Aug 2017 | JP | national |