WO2015159974A1 - カードリーダおよびカードリーダの制御方法 - Google Patents

カードリーダおよびカードリーダの制御方法 Download PDF

Info

Publication number
WO2015159974A1
WO2015159974A1 PCT/JP2015/061857 JP2015061857W WO2015159974A1 WO 2015159974 A1 WO2015159974 A1 WO 2015159974A1 JP 2015061857 W JP2015061857 W JP 2015061857W WO 2015159974 A1 WO2015159974 A1 WO 2015159974A1
Authority
WO
WIPO (PCT)
Prior art keywords
metal
excitation coil
coil
control unit
current
Prior art date
Application number
PCT/JP2015/061857
Other languages
English (en)
French (fr)
Inventor
保尊 啓志
Original Assignee
日本電産サンキョー株式会社
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 日本電産サンキョー株式会社 filed Critical 日本電産サンキョー株式会社
Priority to US15/304,972 priority Critical patent/US10007814B2/en
Publication of WO2015159974A1 publication Critical patent/WO2015159974A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/08Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes
    • G06K7/082Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors
    • G06K7/087Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors flux-sensitive, e.g. magnetic, detectors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • G06K7/0086Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers the connector comprising a circuit for steering the operations of the card connector
    • G06K7/0091Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers the connector comprising a circuit for steering the operations of the card connector the circuit comprising an arrangement for avoiding intrusions and unwanted access to data inside of the connector
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/08Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/08Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes
    • G06K7/082Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors
    • G06K7/083Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors inductive
    • G06K7/084Methods or arrangements for sensing record carriers, e.g. for reading patterns by means detecting the change of an electrostatic or magnetic field, e.g. by detecting change of capacitance between electrodes using inductive or magnetic sensors inductive sensing magnetic material by relative movement detecting flux changes without altering its magnetised state

Definitions

  • the present invention relates to a card reader that reads data recorded on a card and records data on the card.
  • the present invention also relates to a method for controlling such a card reader.
  • skimming magnetic head a card reader having a metal sensor for detecting that a skimming magnetic head (hereinafter referred to as “skimming magnetic head”) is attached to the card insertion portion.
  • the metal sensor includes a core formed of a magnetic material, and a pair of excitation coils and detection coils wound around the core. This metal sensor is arranged inside a card insertion portion formed in a hollow shape.
  • one of the two metal sensors is the first metal sensor
  • the other metal sensor is the second metal sensor
  • the excitation coil of the first metal sensor is for the first excitation.
  • the output value rises to a value that does not exceed the detection threshold th1 of the skimming magnetic head.
  • the first excitation coil is Due to the influence of the generated magnetic field, the output value of the second detection coil also increases to a value that does not exceed the detection threshold th2 of the skimming magnetic head and is smaller than the output value of the first detection coil.
  • the second detection is performed.
  • the output value of the working coil rises to a value that does not exceed the detection threshold th2.
  • the output value of the first detection coil is also a value that does not exceed the detection threshold th1 and is smaller than the output value of the second detection coil. Go up.
  • the output value of the second detection coil rises to a value exceeding the detection threshold th2, and the output value of the first detection coil also increases the detection threshold th1 due to the influence of the magnetic field generated by the second excitation coil. It rises to a value that does not exceed. Therefore, when a current is supplied only to the first excitation coil and when a current is supplied only to the second excitation coil, the output value of the first detection coil or the output value of the second detection coil is set. Based on this, it is possible to appropriately detect that the skimming magnetic head is attached to the card insertion portion.
  • the output value of the first detection coil rises to a value exceeding the detection threshold th1, and the second detection coil The output value may increase to a value exceeding the detection threshold th2. That is, when the distance between the two metal sensors arranged inside the card insertion portion is short, when a current is supplied to the first excitation coil and the second excitation coil, the skimming magnetic head inserts the card. There is a risk that the skimming magnetic head is erroneously detected as being attached to the card insertion portion even though it is not attached to the portion.
  • the occurrence of such a problem can be prevented by increasing the distance between the two metal sensors.
  • the position where the magnetic head for skimming is attached is the position where the magnetic stripe formed on the card passes (that is, the position where the magnetic head for skimming is attached is specified)
  • the distance between the metal sensors If the distance is widened, the distance between the skimming magnetic head and the metal sensor may be increased.
  • the detection capability of both of the two metal sensors can be sufficiently exerted even if the two metal sensors are arranged inside the card insertion portion. Becomes difficult.
  • An object of the present invention is to provide a plurality of metal sensors for detecting that a foreign material containing a metal material such as a skimming magnetic head is attached to a card insertion portion, and a plurality of metal sensors.
  • An object of the present invention is to provide a card reader capable of preventing erroneous detection that a foreign object including a metal material is attached to a card insertion portion even when the distance between them is short.
  • the subject of the present invention is a case where a plurality of metal sensors are provided for detecting that a foreign object including a metal material is attached to the card insertion portion, and the distance between the plurality of metal sensors is short Even so, an object of the present invention is to provide a card reader control method capable of preventing erroneous detection that a foreign material including a metal material is attached to a card insertion portion.
  • a card reader includes a card insertion portion in which a card insertion slot is formed, and a plurality of detection devices for detecting that a foreign object including a metal material is attached around the card insertion portion And a control unit to which a plurality of metal sensors are connected.
  • the metal sensor includes a core formed of a magnetic material, an excitation coil and a detection coil wound around the core, and is controlled. The unit supplies the current to the exciting coils of the plurality of metal sensors at different timings.
  • the control unit supplies current to the exciting coils of the plurality of metal sensors at different timings. For this reason, in the present invention, when a metal sensor detects whether or not a foreign material including a metal material such as a skimming magnetic head is attached to the card insertion portion, a magnetic field generated by an excitation coil of another metal sensor. Based on the change in the magnetic field generated by the excitation coil of this metal sensor, it is possible to appropriately detect whether or not a foreign material containing a metal material is attached to the card insertion portion without being affected by .
  • the card reader is provided with a plurality of metal sensors for detecting that a foreign material including a metal material is attached to the card insertion portion, and the distance between the plurality of metal sensors is short. Even if it is a case, it becomes possible to prevent the erroneous detection that the foreign material containing a metal material was attached to the card insertion part.
  • the card reader includes, for example, a first metal sensor and a second metal sensor as metal sensors
  • the first metal sensor includes a first excitation coil as an excitation coil and a detection coil
  • the second metal sensor includes a second excitation coil as an excitation coil and a second detection coil as a detection coil
  • the control unit includes a first excitation coil and a first excitation coil. Current is supplied alternately to the two excitation coils.
  • the control unit determines whether or not the second metal sensor is installed at a normal position based on the output value of the first detection coil when current is supplied to the second excitation coil. Then, it is preferable to determine whether or not the first metal sensor is installed at the normal position based on the output value of the second detection coil when current is supplied to the first excitation coil.
  • the first metal sensor and the second metal sensor can be detected based on the output value of the first detection coil even if a configuration for detecting that the first metal sensor or the second metal sensor has not been illegally removed is not provided. It becomes possible to detect that the two metal sensors have not been illegally removed, and it is possible to detect that the first metal sensor has not been illegally removed based on the output value of the second detection coil. Become. Therefore, the configuration of the card reader can be simplified.
  • the card reader of the present invention detects a card insertion part in which a card insertion slot is formed and that a foreign object including a metal material is attached around the card insertion part.
  • the metal sensor includes a core formed of a magnetic material, an excitation coil wound around the core, and a detection And a plurality of control units supplying currents to the respective excitation coils of the plurality of metal sensors at different timings.
  • the plurality of control units supply currents to the excitation coils of the plurality of metal sensors at different timings. For this reason, in the present invention, when a metal sensor detects whether or not a foreign material including a metal material such as a skimming magnetic head is attached to the card insertion portion, a magnetic field generated by an excitation coil of another metal sensor. Based on the change in the magnetic field generated by the excitation coil of this metal sensor, it is possible to appropriately detect whether or not a foreign material containing a metal material is attached to the card insertion portion without being affected by .
  • the card reader is provided with a plurality of metal sensors for detecting that a foreign material including a metal material is attached to the card insertion portion, and the distance between the plurality of metal sensors is short. Even if it is a case, it becomes possible to prevent the erroneous detection that the foreign material containing a metal material was attached to the card insertion part.
  • the card reader includes a first metal sensor and a second metal sensor as metal sensors, and a first control unit to which the first metal sensor is connected and a second metal sensor are connected as a control unit.
  • a first control unit including a first excitation coil as an excitation coil, a first detection coil as a detection coil, and a second metal sensor as an excitation coil.
  • the first control coil includes a second excitation coil, a second detection coil as the detection coil, and the first controller is configured to detect the first detection coil when the supply of current to the first excitation coil is stopped.
  • the second control unit Based on the output value, it is determined whether or not the supply of current to the second excitation coil is stopped, and if it is determined that the supply of current to the second excitation coil is stopped, the first excitation coil is supplied.
  • Current The second control unit starts supplying the current to the first excitation coil based on the output value of the second detection coil when the current supply to the second excitation coil is stopped. It is preferable to start supplying the current to the second excitation coil when it is determined whether or not the supply is stopped, and when the supply of the current to the first excitation coil is determined to be stopped.
  • the first control unit determines whether the second metal sensor is installed at the normal position based on the output value of the first detection coil when the current is supplied to the second excitation coil.
  • the second control unit determines whether the first metal sensor is installed at the normal position based on the output value of the second detection coil when the current is supplied to the first excitation coil. It is preferable to determine whether or not.
  • the first metal sensor and the second metal sensor can be detected based on the output value of the first detection coil even if a configuration for detecting that the first metal sensor or the second metal sensor has not been illegally removed is not provided. It becomes possible to detect that the two metal sensors have not been illegally removed, and it is possible to detect that the first metal sensor has not been illegally removed based on the output value of the second detection coil. Become. Therefore, the configuration of the card reader can be simplified.
  • the card reader control method of the present invention includes a card insertion part in which a card insertion slot is formed and a foreign object including a metal material attached to the periphery of the card insertion part.
  • a plurality of metal sensors for sensing the metal sensor is a card reader control method comprising a core formed of a magnetic material, an excitation coil and a detection coil wound around the core, The present invention is characterized in that currents are supplied to the exciting coils of the plurality of metal sensors at different timings.
  • the card reader control method of the present invention current is supplied to the exciting coils of the plurality of metal sensors at different timings. For this reason, in the present invention, when a metal sensor detects whether or not a foreign material including a metal material such as a skimming magnetic head is attached to the card insertion portion, a magnetic field generated by an excitation coil of another metal sensor. Based on the change in the magnetic field generated by the excitation coil of this metal sensor, it is possible to appropriately detect whether or not a foreign material containing a metal material is attached to the card insertion portion without being affected by .
  • the card reader is provided with a plurality of metal sensors for detecting that a foreign material including a metal material is attached to the card insertion portion, and the distance between the plurality of metal sensors is short. Even if it is a case, it becomes possible to prevent the erroneous detection that the foreign material containing a metal material was attached to the card insertion part.
  • the card reader is provided with a plurality of metal sensors for detecting that a foreign material including a metal material such as a skimming magnetic head is attached to the card insertion portion, and Even when the distance between the plurality of metal sensors is short, it is possible to prevent erroneous detection that a foreign material including a metal material is attached to the card insertion portion.
  • FIG. 1 is a diagram for explaining a schematic configuration of a card reader 1 according to a first embodiment of the present invention.
  • FIG. 2 is a diagram for explaining the configuration of the metal sensors 8 and 9 shown in FIG.
  • the card reader 1 of the present embodiment is a device for reading magnetic data recorded on the card 2 and recording magnetic data on the card 2, and is used by being mounted on a predetermined host device such as an ATM.
  • the card reader 1 includes a card insertion portion 4 and a main body portion 5 in which an insertion port 3 into which a card 2 is inserted is formed.
  • the card insertion part 4 is attached to the front end surface of the main body part 5.
  • a card transport path for transporting the card 2 is formed inside the card reader 1.
  • the card reader 1 also includes a card transport mechanism (not shown) for transporting the card 2, two magnetic heads 6 and 7 that perform at least one of reading magnetic data and recording magnetic data, and a card.
  • a card transport mechanism (not shown) for transporting the card 2, two magnetic heads 6 and 7 that perform at least one of reading magnetic data and recording magnetic data, and a card.
  • Two metal sensors 8 and 9 for detecting that a foreign substance including a metal material is attached around the insertion portion 4 and a control unit 10 to which the two metal sensors 8 and 9 are connected are provided. Yes.
  • the control unit 10 is a CPU, for example, and includes a ROM and a RAM.
  • the control unit 10 is connected to a control unit (upper control unit) 11 of a host device on which the card reader 1 is mounted.
  • Card 2 is, for example, a rectangular vinyl chloride card having a thickness of about 0.7 to 0.8 mm. Magnetic stripes on which magnetic data is recorded are formed on the front surface and back surface of the card 2 (that is, both surfaces of the card 2).
  • the card 2 may incorporate an IC chip.
  • the card 2 may be a PET (polyethylene terephthalate) card having a thickness of about 0.18 to 0.36 mm, or a paper card having a predetermined thickness.
  • Magnetic heads 6 and 7 are arranged inside the main body 5.
  • the magnetic head 6 is disposed so that the gap portion faces the card conveyance path from below so that the magnetic head 6 can come into contact with the magnetic stripe formed on the back surface of the card 2.
  • the magnetic head 7 is disposed so that the gap portion faces the card conveyance path from above so that it can come into contact with the magnetic stripe formed on the front surface of the card 2.
  • the metal sensors 8 and 9 are arranged inside the card insertion portion 4 formed in a hollow shape.
  • the metal sensor 8 is disposed below the card transport path, and the metal sensor 9 is disposed above the card transport path.
  • the metal sensor 8 and the metal sensor 9 are the width direction (short side) of the card 2 orthogonal to the card 2 transport direction (left-right direction in FIG. 1) and the thickness direction (up-down direction in FIG. In the width direction, the direction perpendicular to the paper surface of FIG. In this embodiment, the distance between the metal sensor 8 and the metal sensor 9 is short.
  • the distance between the metal sensor 8 and the metal sensor 9 is set to a distance at which the metal sensor 8 does not detect the metal sensor 9 as metal and the metal sensor 9 does not detect the metal sensor 8 as metal.
  • the metal sensors 8 and 9 include a core 15 made of a magnetic material, and a pair of excitation coils 16 and a detection coil 17 wound around the central axis CL of the core 15. And.
  • the core 15 is formed in a thin plate shape whose thickness direction is the direction perpendicular to the paper surface of FIG.
  • the core 15 includes a central core portion 15a disposed substantially at the center in the axial direction of the central axis CL, and a pair of shaft end core portions disposed on both ends of the central core portion 15a in the axial direction of the central axis CL. 15b and a widened portion 15c disposed between the central core portion 15a and the shaft end core portion 15b.
  • the width of the central core portion 15a is wider than the width of the shaft end core portion 15b.
  • the width of the widened portion 15c is wider than the width of the central core portion 15a.
  • the pair of exciting coils 16 are wound around each of the pair of shaft end core portions 15b.
  • the detection coil 17 is wound around the central core portion 15a. That is, the detection coil 17 is wound around the core 15 between the pair of excitation coils 16 in the axial direction of the central axis CL.
  • One end of the exciting coil 16 is electrically connected to the variable resistor 20.
  • the variable resistor 20 is electrically connected to the AC power source 21.
  • the other end of the exciting coil 16 is grounded.
  • a current supply signal is output from the control unit 10
  • power is supplied to the excitation coil 16 from the AC power supply 21. That is, the control unit 10 outputs a current supply signal and supplies a current to the exciting coil 16.
  • Both ends of the detection coil 17 are electrically connected to a voltage detection circuit that constitutes a part of the control unit 10.
  • the metal sensors 8 and 9 have a function of detecting that a foreign material including a metal material is attached around the card insertion portion 4 by detecting a change in the magnetic field generated by the excitation coil 16 with the detection coil 17. Plays.
  • the metal sensor 8 mainly has a function of detecting that a foreign material including a metal material such as the skimming magnetic head 26 is attached to the front side of the card insertion portion 4 and below the card conveyance path.
  • the metal sensor 9 mainly functions to detect that a foreign material containing a metal material such as the skimming magnetic head 27 is attached to the front side of the card insertion portion 4 and above the card transport path.
  • the metal sensor 8 has a magnetic force line ML1 representing a magnetic field generated by one excitation coil 16 of the metal sensor 8 or a magnetic force line ML2 representing a magnetic field generated by the other excitation coil 16 as a foreign matter such as a skimming magnetic head 26. Is arranged so as to pass through a position assumed to be attached. Further, the metal sensor 9 has a magnetic force line ML1 representing a magnetic field generated by one exciting coil 16 of the metal sensor 9 or a magnetic force line ML2 representing a magnetic field generated by the other exciting coil 16 as a foreign matter such as a skimming magnetic head 27. Is arranged so as to pass through a position assumed to be attached.
  • the pair of exciting coils 16 has a balance between the density of the magnetic force lines ML1 and the density of the magnetic force lines ML2 when there is no foreign matter including a metal material such as the skimming magnetic heads 26 and 27 in the detectable region of the metal sensors 8 and 9. Excitation is performed so that the direction of the magnetic force lines ML1 and the direction of the magnetic force lines ML2 are opposite to each other. That is, the magnetic field generated by one excitation coil 16 and the magnetic field generated by the other excitation coil 16 when there is no foreign matter such as the skimming magnetic heads 26 and 27 in the detectable region of the metal sensors 8 and 9.
  • the variable resistor 20 is adjusted so as to be balanced.
  • variable resistor 20 is adjusted so that no voltage is generated between both ends of the detection coil 17 when there is no foreign matter such as the skimming magnetic heads 26 and 27 in the detectable region of the metal sensors 8 and 9. ing. Therefore, when the foreign matter of the skimming magnetic heads 26 and 27 is installed in the detectable region of the metal sensors 8 and 9, the magnetic field generated by one excitation coil 16 and the other excitation coil 16 are generated due to the influence. The balance with the applied magnetic field is lost, and a voltage is generated between both ends of the detection coil 17.
  • a foreign matter including a metal material such as the skimming magnetic heads 26 and 27 is attached to the periphery of the card insertion portion 4 based on a voltage value (voltage value) generated between both ends of the detection coil 17. It detects that That is, in this embodiment, it is detected that foreign matter such as the skimming magnetic heads 26 and 27 is attached to the periphery of the card insertion portion 4 based on the output values of the metal sensors 8 and 9.
  • the metal sensor 8 is referred to as “first metal sensor 8”, and the metal sensor 9 is referred to as “second metal sensor 9”.
  • the excitation coil 16 included in the first metal sensor 8 and the excitation coil 16 included in the second metal sensor 9 are distinguished from each other, the excitation coil 16 included in the first metal sensor 8 is described.
  • the excitation coil 16 included in the second metal sensor 9 is referred to as “second excitation coil 16B”.
  • the detection coil 17 included in the first metal sensor 8 and the detection coil 17 included in the second metal sensor 9 are distinguished from each other, the detection coil 17 included in the first metal sensor 8 is referred to as “first detection coil”. 17A ", and the detection coil 17 included in the second metal sensor 9 is referred to as" second detection coil 17B ".
  • FIG. 3 is a flowchart showing an example of a control flow of the first metal sensor 8 and the second metal sensor 9 when the foreign matter detection process is performed in the card reader 1 shown in FIG.
  • the control unit 10 when the power of the card reader 1 is turned on and the card reader 1 is activated, the control unit 10 first outputs a current supply signal to the first excitation coil 16A to generate the first excitation. A current is supplied to the coil 16A (step S1). In step S1, the control unit 10 stops supplying current to the second exciting coil 16B. Thereafter, the control unit 10 acquires the voltage value V1 at both ends of the first detection coil 17A (step S2). That is, in step S ⁇ b> 2, the control unit 10 acquires the output value of the first metal sensor 8.
  • step S3 determines whether or not the voltage value V1 is larger than a predetermined threshold value Vd1 (step S3).
  • step S3 when the voltage value V1 is larger than the threshold value Vd1, the control unit 10 determines that a foreign material including a metal material such as the skimming magnetic heads 26 and 27 is attached around the card insertion unit 4.
  • a predetermined abnormality process is performed (step S4).
  • the control unit 10 determines that no foreign material including a metal material is attached around the card insertion unit 4, and performs predetermined normal processing. (Step S5).
  • step S4 or S5 the control unit 10 acquires the voltage value V21 at both ends of the second detection coil 17B (step S6). That is, in step S6, the control unit 10 acquires the output value of the second detection coil 17B. Further, the control unit 10 determines whether or not the voltage value V21 is larger than a predetermined threshold value Vr1 (step S7).
  • step S7 when the voltage value V21 is greater than the threshold value Vr1, the control unit 10 determines that the distance between the first metal sensor 8 and the second metal sensor 9 is an appropriate distance, and the first metal sensor 8 is normal. After determining that it is installed at the position and executing a predetermined normal process (step S8), the supply of current to the first exciting coil 16A is stopped (step S9). On the other hand, when the voltage value V ⁇ b> 21 is equal to or less than the threshold value Vr ⁇ b> 1 in step S ⁇ b> 7, the control unit 10 is installed at a distance away from the second metal sensor 9 and the first metal sensor 8. Is determined not to be installed at the normal position (that is, it is determined that the first metal sensor 8 has been removed), predetermined abnormality processing is executed (step S10), and the process proceeds to step S9.
  • control unit 10 outputs a current supply signal to the second excitation coil 16B and supplies a current to the second excitation coil 16B (step S11). Thereafter, the control unit 10 acquires the voltage value V2 at both ends of the second detection coil 17B (step S12). That is, in step S ⁇ b> 12, the control unit 10 acquires the output value of the second metal sensor 9. Thereafter, the control unit 10 determines whether or not the voltage value V2 is larger than a predetermined threshold value Vd2 (step S13).
  • step S13 when the voltage value V2 is larger than the threshold value Vd2, the control unit 10 determines that a foreign material including a metal material such as the skimming magnetic heads 26 and 27 is attached around the card insertion unit 4. Then, predetermined abnormality processing is performed (step S14). On the other hand, when the voltage value V2 is less than or equal to the threshold value Vd2 in step S13, the control unit 10 determines that no foreign material including a metal material is attached around the card insertion unit 4, and performs predetermined normal processing. Is performed (step S15).
  • step S14 or S15 the control unit 10 acquires the voltage value V11 at both ends of the first detection coil 17A (step S16). That is, in step S16, the control unit 10 acquires the output value of the first detection coil 17A. Further, the control unit 10 determines whether or not the voltage value V11 is larger than a predetermined threshold value Vr2 (step S17).
  • step S17 when the voltage value V11 is larger than the threshold value Vr2, the control unit 10 determines that the distance between the first metal sensor 8 and the second metal sensor 9 is an appropriate distance, and the second metal sensor 9 is normal. After determining that it is installed at the position and executing a predetermined normal process (step S18), the supply of current to the second exciting coil 16B is stopped (step S19).
  • step S19 when the voltage value V11 is equal to or less than the threshold value Vr2 in step S17, the control unit 10 is installed at a distance away from the first metal sensor 8, and the second metal sensor 9 Is determined not to be installed at the normal position, predetermined abnormality processing is executed (step S20), and the process proceeds to step S19.
  • step S19 when the supply of current to the second exciting coil 16B is stopped, the process returns to step S1.
  • the control unit 10 alternately supplies current to the first excitation coil 16A and the second excitation coil 16B. That is, the control unit 10 supplies current to the two first excitation coils 16A and the second excitation coil 16B at different timings.
  • the control unit 10 determines that the first metal sensor 8 is based on the output value of the second detection coil 17B when the current is supplied to the first excitation coil 16A in steps S6 and S7. It is determined whether or not it is installed at the normal position, and in steps S16 and S17, the second metal is based on the output value of the first detection coil 17A when the current is supplied to the second excitation coil 16B. It is determined whether or not the sensor 9 is installed at a normal position.
  • the threshold values Vd1 and Vd2 can be set individually.
  • the threshold values Vd1 and Vd2 are set as follows, for example, in consideration of an assumed attachment position, material, size, and the like of the foreign matter such as the skimming magnetic heads 26 and 27.
  • Vd1 1150 (mV)
  • Vd2 1110 (mV)
  • the thresholds Vr1 and Vr2 can be set individually.
  • the thresholds Vr1 and Vr2 are equal to both ends of the second detection coil 17B when current is supplied only to the first excitation coil 16A in a state where the first metal sensor 8 and the second metal sensor 9 are installed at normal positions.
  • the voltage is set as follows in consideration of the voltage generated in the first portion and the voltage generated at both ends of the first detection coil 17A when the current is supplied only to the second excitation coil 16B.
  • Vr1 500 (mV)
  • Vr2 450 (mV)
  • the current is alternately supplied to the first excitation coil 16A and the second excitation coil 16B. Therefore, in this embodiment, when the first metal sensor 8 detects whether or not a foreign material containing a metal material is attached to the card insertion portion 4, the voltage value V1 of the first detection coil 17A is the second excitation. The magnetic field generated by the coil 16B for use is not affected. Further, when the second metal sensor 9 detects whether or not a foreign material including a metal material is attached to the card insertion portion 4, the voltage value V2 of the second detection coil 17B is determined by the first excitation coil 16A. It is not affected by the generated magnetic field.
  • the first metal sensor 8 based on the change in the magnetic field generated by the first exciting coil 16A, the first metal sensor 8 appropriately detects whether or not a foreign substance containing a metal material is attached to the card insertion portion 4. It is possible to determine whether or not a foreign material containing a metal material has been attached to the card insertion portion 4 by the second metal sensor 9 based on the change in the magnetic field generated by the second excitation coil 16B. Can be detected. As a result, in this embodiment, the first metal sensor 8 and the second metal sensor 9 are used to detect that a foreign material containing a metal material such as the skimming magnetic heads 26 and 27 is attached to the card insertion portion 4.
  • the card reader 1 includes the metal sensors 8 and 9 and the distance between the first metal sensor 8 and the second metal sensor 9 is short, a foreign material containing a metal material is inserted into the card. It is possible to prevent erroneous detection of being attached to the portion 4.
  • the controller 10 determines that the first metal sensor 8 is in the normal position based on the output value of the second detection coil 17B when the current is supplied to the first excitation coil 16A in steps S6 and S7.
  • the second metal sensor 9 is determined based on the output value of the first detection coil 17A when the current is supplied to the second excitation coil 16B in steps S16 and S17. It is determined whether or not is installed at a normal position. Therefore, in this embodiment, even if a configuration for detecting that the first metal sensor 8 or the second metal sensor 9 has not been tampered with is not provided separately, the output value of the first detection coil 17A is reduced.
  • the configuration of the card reader 1 can be simplified.
  • FIG. 4 is a diagram for explaining a schematic configuration of the card reader 1 according to the second embodiment of the present invention.
  • FIG. 5 is a flowchart showing an example of a control flow of the first metal sensor 8 when the foreign matter detection process is performed in the card reader 1 shown in FIG.
  • FIG. 6 is a flowchart showing an example of a control flow of the second metal sensor 9 when the foreign matter detection process is performed in the card reader 1 shown in FIG.
  • the first metal sensor 8 and the second metal sensor 9 are connected to a common control unit 10.
  • the first metal sensor 8 and the second metal sensor 9 are connected to separate control units 30 and 40, respectively.
  • the 1st metal sensor 8 and the 2nd metal sensor 9 are each connected to the separate control parts 30 and 40, the control method of the 1st metal sensor 8 and the 2nd metal sensor 9 when performing a foreign material detection process
  • the first embodiment and the second embodiment are different.
  • the card reader 1 according to the second embodiment will be described focusing on this difference.
  • FIG. 4 the same reference numerals are given to the configurations that are common to the first embodiment. In the description of the second embodiment, the description of the configuration common to the first embodiment is omitted or simplified.
  • the first metal sensor 8 and the second metal sensor 9 are connected to separate control units 30 and 40, respectively. That is, the card reader 1 of this embodiment includes two control units 30 and 40 to which the two first metal sensors 8 and the second metal sensor 9 are connected. Similar to the control unit 10, the control units 30 and 40 are, for example, a CPU and include a ROM and a RAM. Further, the control units 30 and 40 are connected to the host control unit 11.
  • the first metal sensor 8 is connected to the control unit 30, and the second metal sensor 9 is connected to the control unit 40. That is, the control unit 30 outputs a current supply signal to the first excitation coil 16A to supply a current to the first excitation coil 16A, and the control unit 40 outputs a current supply signal to the second excitation coil 16B. Then, a current is supplied to the second exciting coil 16B. Further, both end portions of the first detection coil 17A are electrically connected to a voltage detection circuit constituting a part of the control unit 30, and both end portions of the second detection coil 17B are part of the control unit 40. It is electrically connected to the voltage detection circuit which comprises. In the following description, the control unit 30 is referred to as a “first control unit 30”, and the control unit 40 is referred to as a “second control unit 40”.
  • the time for supplying current to the first excitation coil 16A is equal to the time for supplying current to the second excitation coil 16B.
  • the maximum time during which the current supply to the first excitation coil 16A is stopped is equal to the maximum time during which the current supply to the second excitation coil 16B is stopped.
  • the time during which current is supplied to the first excitation coil 16A and the second excitation coil 16B is time ⁇ Ton, and the supply of current to the first excitation coil 16A and the second excitation coil 16B is stopped. Let the maximum time to be ⁇ Toff.
  • the first control unit 30 when the card reader 1 is turned on and the card reader 1 is activated, as shown in FIG. 5, the first control unit 30 first supplies a current supply signal to the first excitation coil 16A. Is supplied to supply current to the first exciting coil 16A (step S31). On the other hand, as shown in FIG. 6, even when the card reader 1 is activated, the second control unit 40 stops supplying the current to the second exciting coil 16B (step S51). Thereafter, the first control unit 30 determines whether or not the time ⁇ Ton has elapsed since the supply of current to the first excitation coil 16A was started (step S32). When the time ⁇ Ton has elapsed, the first detection is performed. The voltage value V1 at both ends of the coil 17A is acquired (step S33). That is, in step S33, the first control unit 30 acquires the output value of the first metal sensor 8.
  • the first control unit 30 determines whether or not the voltage value V1 is larger than a predetermined threshold value Vd1 (step S34).
  • step S34 when the voltage value V1 is larger than the threshold value Vd1, the first control unit 30 determines that a foreign material including a metal material such as the skimming magnetic heads 26 and 27 is attached around the card insertion unit 4. Then, a predetermined abnormality process is performed (step S35).
  • step S35 when the voltage value V1 is equal to or less than the threshold value Vd1 in step S34, the first control unit 30 determines that no foreign material including a metal material is attached to the periphery of the card insertion unit 4, and has a predetermined value. Normal processing is performed (step S36).
  • step S37 the first control unit 30 stops supplying current to the first exciting coil 16A (step S37). Thereafter, the first control unit 30 stores the time T1 when the supply of current to the first exciting coil 16A is stopped (step S38).
  • step S38 it is determined whether or not the first control unit 30 has acquired the voltage value V11 of the first detection coil 17A that is larger than the threshold value Vr2 when the current supply to the first excitation coil 16A is stopped.
  • the determination flag F2 for determination is reset to “0”.
  • the determination flag F2 is “0”
  • the first control unit 30 has not acquired a voltage value V11 that is larger than the threshold value Vr2 when the current supply to the first excitation coil 16A is stopped this time.
  • the determination flag F2 is “1”
  • the first control unit 30 has already acquired a voltage value V11 larger than the threshold value Vr2 when the current supply to the first exciting coil 16A is stopped.
  • the first control unit 30 acquires the voltage value V11 at both ends of the first detection coil 17A (step S39). That is, in step S39, the first control unit 30 acquires the output value of the first detection coil 17A. Thereafter, the first control unit 30 determines whether the determination flag F2 is “0” or “1” (step S40). In step S40, when the determination flag F2 is “0”, the first control unit 30 determines whether or not the voltage value V11 is larger than the threshold value Vr2 (step S41).
  • step S41 when the voltage value V11 is larger than the threshold value Vr2, the first control unit 30 updates the determination flag F2 to “1” (step S42), and then returns to step S39.
  • step S41 when it is determined that the voltage value V11 is larger than the threshold value Vr2, a current is supplied to the second excitation coil 16B, and the first metal sensor 8 and the second metal sensor 9 This is a case where the distance is an appropriate distance and the second metal sensor 9 is installed at a normal position.
  • the first control unit 30 determines whether or not the difference between the time T1 stored in step S38 and the current time exceeds the time ⁇ Toff. (Step S43). If the difference between the current time and the time T1 does not exceed the time ⁇ Toff in step S43, the first control unit 30 applies the voltage to the second excitation coil 16B when acquiring the voltage value V11 in step S39. It is determined that there is a possibility that current supply has not started, and the process returns to step S39.
  • Step S43 when the difference between the current time and the time T1 exceeds the time ⁇ Toff, the first control unit 30 is installed at a distance where the second metal sensor 9 is separated from the first metal sensor 8. It is determined that the second metal sensor 9 is not installed at the normal position (that is, it is determined that the second metal sensor 9 has been removed) and predetermined abnormality processing is executed (step S44). Return to step S31.
  • step S45 the first control unit 30 determines whether or not the voltage value V11 is larger than the threshold value Vr2 (step S45). In step S45, when the voltage value V11 is equal to or less than the threshold value Vr2, the first control unit 30 determines that the supply of current to the second excitation coil 16B is stopped and also uses the first metal sensor 8. And the second metal sensor 9 is an appropriate distance, and it is determined that the second metal sensor 9 is installed at the normal position, and a predetermined normal process is executed (step S46). Return to.
  • step S45 if the voltage value V11 is larger than the threshold value Vr2 in step S45, the process returns to step S39 until the current supply to the second excitation coil 16B is stopped and the voltage value V11 becomes equal to or less than the threshold value Vr2. Steps S39, S40 and S45 are repeated. That is, in this embodiment, after detecting that the voltage value V11 is larger than the threshold value Vr2 for determining whether or not the second metal sensor 9 is installed at the normal position, the voltage value V11 is equal to or less than the threshold value Vr2. By detecting this, it is indirectly detected that the supply of current to the second exciting coil 16B has been stopped.
  • the second control unit 40 stops supplying the current to the second exciting coil 16B (step S51). Thereafter, the second control unit 40 stores the time T2 when the supply of current to the second exciting coil 16B is stopped (step S52). In step S51 immediately after activation of the card reader 1, since the supply of current to the second exciting coil 16B is stopped, the second control unit 40 performs card reader 1 in step S52 immediately after activation of the card reader 1. Is stored as time T2.
  • step S52 it is determined whether or not the second control unit 40 has acquired the voltage value V21 of the second detection coil 17B that is larger than the threshold value Vr1 when the current supply to the second excitation coil 16B is stopped.
  • the determination flag F1 for resetting is reset to “0”.
  • the determination flag F1 is “0”
  • the second control unit 40 has not acquired a voltage value V21 larger than the threshold value Vr1 when the current supply to the second excitation coil 16B is stopped this time.
  • the determination flag F1 is “1”
  • the second control unit 40 has already acquired the voltage value V21 larger than the threshold value Vr1 when the current supply to the second excitation coil 16B is stopped this time.
  • the second control unit 40 acquires the voltage value V21 at both ends of the second detection coil 17B (step S53). That is, in step S53, the second control unit 40 acquires the output value of the second detection coil 17B. Thereafter, the second control unit 40 determines whether the determination flag F1 is “0” or “1” (step S54). If the determination flag F1 is “0” in step S54, the second control unit 40 determines whether or not the voltage value V21 is larger than the threshold value Vr1 (step S55).
  • step S55 when the voltage value V21 is larger than the threshold value Vr1, the second control unit 40 updates the determination flag F1 to “1” (step S56), and then returns to step S53. If it is determined in step S55 that the voltage value V21 is larger than the threshold value Vr1, current is supplied to the first excitation coil 16A and the first metal sensor 8 and the second metal sensor 9 This is a case where the distance is an appropriate distance and the first metal sensor 8 is installed at a normal position.
  • the second control unit 40 determines whether or not the difference between the time T2 stored in step S52 and the current time exceeds the time ⁇ Toff. (Step S57). If the difference between the current time and the time T2 does not exceed the time ⁇ Toff in step S57, the second control unit 40 applies the voltage to the first excitation coil 16A when acquiring the voltage value V21 in step S53. It is determined that there is a possibility that current supply has not started, and the process returns to step S53.
  • Step S57 when the difference between the current time and the time T2 exceeds the time ⁇ Toff, the second control unit 40 is installed at a distance where the first metal sensor 8 is separated from the second metal sensor 9. Therefore, it is determined that the first metal sensor 8 is not installed at the normal position (that is, it is determined that the first metal sensor 8 has been removed), and a predetermined abnormality process is executed (step S58).
  • step S59 the second control unit 40 determines whether or not the voltage value V21 is larger than the threshold value Vr1 (step S59). In step S59, when the voltage value V21 is equal to or less than the threshold value Vr1, the second control unit 40 determines that the supply of current to the first excitation coil 16A is stopped and also uses the first metal sensor 8. It is determined that the distance between the first metal sensor 8 and the second metal sensor 9 is an appropriate distance, and the first metal sensor 8 is installed at the normal position, and predetermined normal processing is executed (step S60).
  • step S59 when the voltage value V21 is larger than the threshold value Vr1 in step S59, the process returns to step S53, and the supply of current to the first exciting coil 16A is stopped, until the voltage value V21 becomes equal to or lower than the threshold value Vr1. Steps S53, S54, and S59 are repeated. That is, in this embodiment, after detecting that the voltage value V21 is larger than the threshold value Vr1 for determining whether or not the first metal sensor 8 is installed at the normal position, the voltage value V21 is equal to or less than the threshold value Vr1. By detecting this, it is indirectly detected that the supply of current to the first exciting coil 16A has been stopped.
  • step S58 or S60 the second control unit 40 outputs a current supply signal to the second excitation coil 16B and supplies a current to the second excitation coil 16B (step S61). Thereafter, the second control unit 40 determines whether or not the time ⁇ Ton has elapsed since the start of the supply of current to the second excitation coil 16B (step S62). When the time ⁇ Ton has elapsed, the second detection is performed. The voltage value V2 at both ends of the coil 17B is acquired (step S63). That is, in step S63, the second control unit 40 acquires the output value of the second metal sensor 9.
  • the second control unit 40 determines whether or not the voltage value V2 is larger than a predetermined threshold value Vd2 (step S64). If the voltage value V2 is greater than the threshold value Vd2 in step S64, the second control unit 40 determines that a foreign material including a metal material such as the skimming magnetic heads 26 and 27 has been attached around the card insertion unit 4. Then, after performing a predetermined abnormality process (step S65), the process returns to step S51. On the other hand, when the voltage value V2 is equal to or less than the threshold value Vd2 in step S64, the second control unit 40 determines that no foreign material including a metal material is attached around the card insertion unit 4, After performing normal processing (step S66), the process returns to step S51.
  • step S51 after step S65 or step S66, the second control unit 40 stops supplying current to the second exciting coil 16B.
  • Step S52 after Step S65 or Step S66 the second control unit 40 stores the time T2 when the supply of current to the second exciting coil 16B is stopped in Step S51.
  • the first control unit 30 stops supplying current to the first excitation coil 16A in step S37, and then supplies current to the first excitation coil 16A in step S45. It is determined whether or not the supply of current to the second excitation coil 16B has been stopped based on the output value (that is, the voltage value V11) of the first detection coil 17A when it has been stopped. Further, when the first control unit 30 determines that the voltage value V11 becomes equal to or less than the threshold value Vr2 and the supply of current to the second excitation coil 16B is stopped, the first control unit 30 returns to step S31 and supplies the current to the first excitation coil 16A. Start supplying.
  • the second control unit 40 stops supplying current to the second excitation coil 16B in step S51 and then stops supplying current to the second excitation coil 16B in step S59. Based on the output value (that is, voltage value V21) of the second detection coil 17B, it is determined whether or not the current supply to the first excitation coil 16A has been stopped. Further, when the second control unit 40 determines that the voltage value V21 is equal to or less than the threshold value Vr1 and the supply of current to the first excitation coil 16A is stopped, the process proceeds to step S61, and the current to the second excitation coil 16B. Start supplying.
  • the first control unit 30 and the second control unit 40 alternately supply current to the first excitation coil 16A and the second excitation coil 16B. That is, the first control unit 30 and the second control unit 40 supply current to the two first excitation coils 16A and the second excitation coil 16B at different timings.
  • the first control unit 30 uses the second metal sensor based on the output value of the first detection coil 17A when the current is supplied to the second excitation coil 16B in steps S39 to S43.
  • the second control unit 40 determines whether or not 9 is installed at the normal position, and the second control unit 40 performs the second detection coil 17B when the current is supplied to the first excitation coil 16A in steps S53 to S57. Based on the output value, it is determined whether or not the first metal sensor 8 is installed at the normal position.
  • ⁇ Ton and ⁇ Toff are set as follows, for example, so that a current can be alternately supplied to the first excitation coil 16A and the second excitation coil 16B.
  • ⁇ Ton 25 (msec)
  • ⁇ Toff 100 (msec)
  • the current flowing through the first excitation coil 16A The current flowing through the second exciting coil 16B is switched every 25 (msec).
  • ⁇ Toff is preferably set to a time longer than ⁇ Ton.
  • the same effect as in the first embodiment can be obtained.
  • current is supplied alternately to the first excitation coil 16A and the second excitation coil 16B, so that it is detected that a foreign material including a metal material is attached to the card insertion portion 4.
  • the card reader 1 is provided with two metal sensors 8, 9 of a first metal sensor 8 and a second metal sensor 9, and the distance between the first metal sensor 8 and the second metal sensor 9 is Even in the near case, it is possible to prevent erroneous detection that a foreign material including a metal material is attached to the card insertion portion 4.
  • the first control unit 30 sets the second metal sensor 9 at the normal position based on the output value of the first detection coil 17A when the current is supplied to the second excitation coil 16B.
  • the second control unit 40 determines whether the first metal sensor 8 is based on the output value of the second detection coil 17B when the current is supplied to the first excitation coil 16A. Since it is determined whether or not the first metal sensor 8 or the second metal sensor 9 is improperly removed because it is determined whether or not it is installed at a normal position, a separate configuration is not provided. Based on the output value of the first detection coil 17A, it becomes possible to detect that the second metal sensor 9 has not been tampered with, and the first metal based on the output value of the second detection coil 17B. Sensor 8 is illegally removed It is possible to detect that no. Therefore, in this embodiment, the configuration of the card reader 1 can be simplified.
  • the first control unit 30 detects that the voltage value V11 is larger than the threshold value Vr2 for determining whether or not the second metal sensor 9 is installed at the normal position. By detecting that the value V11 is equal to or less than the threshold value Vr2, it is indirectly detected that the supply of current to the second excitation coil 16B has been stopped. That is, in this embodiment, the first control unit 30 supplies the second excitation coil 16B to the second excitation coil 16B based on the output value of the first detection coil 17A when the supply of current to the first excitation coil 16A is stopped. It is determined whether or not the supply of current is stopped.
  • the voltage value V21 is the threshold value.
  • the second control unit 40 supplies the first excitation coil 16A to the first excitation coil 16A based on the output value of the second detection coil 17B when the supply of current to the second excitation coil 16B is stopped. It is determined whether or not the supply of current is stopped.
  • the control unit 10 determines whether or not the voltage value V1 acquired in step S2 is larger than the threshold value Vd1 in step S3, so that a foreign material including a metal material is present around the card insertion unit 4. It is determined whether or not it is attached. In addition to this, for example, the control unit 10 calculates a change amount (difference) between the voltage value V1 acquired in step S2 and the voltage value V1 acquired in the previous step S2, and the change amount is larger than a predetermined threshold value. It may be determined whether or not a foreign material including a metal material is attached around the card insertion portion 4 by determining whether or not the size is large.
  • control unit 10 determines in step S13 whether or not the voltage value V2 acquired in step S12 is larger than the threshold value Vd2. It is determined whether or not it is attached to the surroundings, but the amount of change between the voltage value V2 acquired in step S12 and the voltage value V2 acquired in the previous step S12 is calculated. It is also possible to determine whether or not a foreign object including a metal material has been attached around the card insertion portion 4 by determining whether or not it is too large.
  • the first control unit 30 determines whether or not the voltage value V1 acquired in step S33 is larger than the threshold value Vd1 in step S34, so that the foreign material including the metal material is inserted into the card. It is determined whether or not it is attached to the periphery of the unit 4, but the amount of change between the voltage value V1 acquired in step S33 and the voltage value V1 acquired in the previous step S33 is calculated, and this amount of change is predetermined. It may be determined whether or not a foreign object including a metal material is attached around the card insertion portion 4 by determining whether or not the threshold value is greater than the threshold value.
  • the second controller 40 determines whether or not the voltage value V2 acquired in step S63 is larger than the threshold value Vd2 in step S64, so that the foreign material including the metal material is inserted into the card insertion unit. 4 is calculated, the amount of change between the voltage value V2 acquired in step S63 and the voltage value V2 acquired in the previous step S63 is calculated, and this amount of change is a predetermined value. It may be determined whether or not a foreign object including a metal material is attached around the card insertion portion 4 by determining whether or not the threshold value is greater than the threshold value.
  • the card reader 1 includes the two metal sensors 8 and 9, but the card reader 1 may include three or more metal sensors.
  • the control unit 10 excites each of the three or more metal sensors. Current is supplied to the coil 16 at different timings. That is, the control unit 10 sequentially supplies current to the excitation coils 16 of the three or more metal sensors. That is, the control unit 10 supplies current to each of the excitation coils 16 of three or more metal sensors in order.
  • the card reader 1 when the number of metal sensors is three or more, the card reader 1 includes a plurality of control units to which each of the three or more metal sensors is connected.
  • the control unit supplies current to the exciting coils 16 of the three or more metal sensors at different timings.
  • the plurality of control units sequentially supply current to the excitation coils 16 of the three or more metal sensors.
  • the plurality of control units sequentially supply current to each of the excitation coils 16 of the three or more metal sensors.
  • the first metal sensor 8 is installed at the normal position based on the output value of the second detection coil 17B when the current is supplied to the first excitation coil 16A.
  • Whether or not the second metal sensor 9 is installed at the normal position is determined based on the output value of the first detection coil 17A when the current is supplied to the second excitation coil 16B.
  • a detection mechanism for detecting whether or not the first metal sensor 8 or the second metal sensor 9 is installed at a normal position may be provided separately.
  • the first control unit 30 detects that the voltage value V11 is less than or equal to the threshold value Vr2 after detecting that the voltage value V11 is greater than the threshold value Vr2, and thereby the second excitation coil 16B. It indirectly detects that the supply of current to is stopped. Further, the second control unit 40 detects that the voltage value V21 is less than or equal to the threshold value Vr1 after detecting that the voltage value V21 is larger than the threshold value Vr1, and thereby the current to the first excitation coil 16A is detected. It indirectly detects that the supply has been stopped. In addition, for example, even if a signal notifying that the current supply to the first exciting coil 16A has been stopped is transmitted from the first control unit 30 to the second control unit 40 via the host control unit 11. good. Further, a signal notifying that the current supply to the second exciting coil 16B has been stopped may be transmitted from the second control unit 40 to the first control unit 30 via the host control unit 11.
  • the time for supplying the current to the first excitation coil 16A is equal to the time for supplying the current to the second excitation coil 16B.
  • the current is supplied to the first excitation coil 16A.
  • the time for which the current is supplied and the time for supplying the current to the second exciting coil 16B may be different.
  • the maximum time during which the current supply to the first excitation coil 16A is stopped is equal to the maximum time during which the current supply to the second excitation coil 16B is stopped.
  • the maximum time during which the current supply to the first excitation coil 16A is stopped may be different from the maximum time during which the current supply to the second excitation coil 16B is stopped.
  • the metal sensors 8 and 9 include a pair of excitation coils 16 (that is, two excitation coils 16), but the number of excitation coils 16 included in the metal sensors 8 and 9 is one. Individuals may be used.
  • the card reader 1 is a card conveyance type card reader provided with a card conveyance mechanism
  • the card reader to which the configuration of the present invention is applied is such that the user manually moves the card 2 while A manual card reader that reads and records magnetic data may be used.
  • a card reader to which the configuration of the present invention is applied is a so-called dip type card reader that reads and records magnetic data when the card 2 is inserted into the card reader or when the card 2 is pulled out from the card reader. There may be.
  • the card reader 1 is a card reader for processing the card 2 on which the magnetic stripe is formed, but the card reader 1 is for processing a contact type IC card on which the magnetic stripe is not formed. It may be a card reader.
  • a foreign object including a metal material
  • phishing a foreign object for performing a so-called phishing in which a criminal obtains the card 2 illegally by performing some kind of device for preventing the card 2 from being extracted from the inside of the card reader 1. It is detected by the metal sensors 8 and 9 that the foreign object is attached to the card insertion portion 4.

Abstract

 金属材料を含む異物がカード挿入部に取り付けられたことを検知するための金属センサが複数設けられる場合であって、かつ、複数の金属センサ間の距離が近い場合であっても、金属材料を含む異物がカード挿入部に取り付けられたとの誤検知を防止することが可能なカードリーダを提供する。カードリーダ(1)は、カード(2)の挿入口(3)が形成されるカード挿入部(4)と、カード挿入部(4)の周辺に金属材料を含む異物(26,27)が取り付けられたことを検知するための複数の金属センサ(8,9)と、複数の金属センサ(8,9)が接続される制御部(10)とを備えている。金属センサ(8,9)は、磁性材料で形成されるコア(15)と、コア(15)に巻回される励磁用コイル(16)および検出用コイル(17)とを備えており、制御部(10)は、複数の金属センサ(8,9)のそれぞれの励磁用コイル(16)に異なるタイミングで電流を供給する。

Description

カードリーダおよびカードリーダの制御方法
 本発明は、カードに記録されたデータの読取やカードへのデータの記録を行うカードリーダに関する。また、本発明は、かかるカードリーダの制御方法に関する。
 従来、カードに記録された磁気データの読取やカードへの磁気データの記録を行うカードリーダが広く利用されている。カードリーダが利用される金融機関等の業界では、従来、犯罪者がカードリーダのカード挿入部に磁気ヘッドを取り付けて、この磁気ヘッドでカードの磁気データを不正に取得するいわゆるスキミングが大きな問題となっている。そこで、スキミング用の磁気ヘッド(以下、「スキミング用磁気ヘッド」とする。)がカード挿入部に取り付けられたことを検知するための金属センサを備えるカードリーダが提案されている(たとえば、特許文献1参照)。特許文献1に記載のカードリーダでは、金属センサは、磁性材料で形成されるコアと、コアに巻回される一対の励磁用コイルおよび検出用コイルとを備えている。この金属センサは、中空状に形成されるカード挿入部の内部に配置されている。
特開2013-37555号公報
 特許文献1に記載のカードリーダにおいて、カード挿入部の内部に複数の金属センサを配置すれば、スキミング用磁気ヘッドの検知範囲を広げることが可能になり、その結果、スキミングを効果的に防止することが可能になる。しかしながら、複数の金属センサ間の距離が近いと、スキミング用磁気ヘッドがカード挿入部に取り付けられていないにもかかわらず、スキミング用磁気ヘッドがカード挿入部に取り付けられたと誤検知するおそれがある。
 以下、2個の金属センサがカード挿入部の内部に配置される場合であって、かつ、この2個の金属センサ間の距離が近い場合を例にして、この問題点を具体的に説明する。以下の説明では、2個の金属センサのうちの一方の金属センサを第1金属センサとし、他方の金属センサを第2金属センサとするとともに、第1金属センサの励磁用コイルを第1励磁用コイルとし、第1金属センサの検出用コイルを第1検出用コイルとし、第2金属センサの励磁用コイルを第2励磁用コイルとし、第2金属センサの検出用コイルを第2検出用コイルとする。
 カード挿入部にスキミング用磁気ヘッドが取り付けられていないときに、第1励磁用コイルのみに電流が供給されると、たとえば、図7の「状態A」に示すように、第1検出用コイルの出力値は、スキミング用磁気ヘッドの検知閾値th1を超えない値まで上がる。
また、第1金属センサと第2金属センサとの距離が近いため(すなわち、第1励磁用コイルと第2検出用コイルとの距離が近いため)、この場合には、第1励磁用コイルが発生させる磁界の影響で、第2検出用コイルの出力値も、スキミング用磁気ヘッドの検知閾値th2を超えない値であって、かつ、第1検出用コイルの出力値よりも小さい値まで上がる。
 同様に、カード挿入部にスキミング用磁気ヘッドが取り付けられていないときに、第2励磁用コイルのみに電流が供給されると、たとえば、図7の「状態B」に示すように、第2検出用コイルの出力値は、検知閾値th2を超えない値まで上がる。また、第2励磁用コイルが発生させる磁界の影響で、第1検出用コイルの出力値も、検知閾値th1を超えない値であって、かつ、第2検出用コイルの出力値よりも小さい値まで上がる。
 また、カード挿入部の、第1金属センサの周辺にスキミング用磁気ヘッドが取り付けられたときに、第1励磁用コイルのみに電流が供給されると、たとえば、図7の「状態C」に示すように、第1検出用コイルの出力値は、検知閾値th1を超える値まで上がり、第2検出用コイルの出力値も、第1励磁用コイルが発生させる磁界の影響で、検知閾値th2を超えない値まで上がる。同様に、カード挿入部の、第2金属センサの周辺にスキミング用磁気ヘッドが取り付けられたときに、第2励磁用コイルのみに電流が供給されると、たとえば、図7の「状態D」に示すように、第2検出用コイルの出力値は、検知閾値th2を超える値まで上がり、第1検出用コイルの出力値も、第2励磁用コイルが発生させる磁界の影響で、検知閾値th1を超えない値まで上がる。そのため、第1励磁用コイルのみに電流が供給される場合および第2励磁用コイルのみに電流が供給される場合には、第1検出用コイルの出力値や第2検出用コイルの出力値に基づいて、カード挿入部にスキミング用磁気ヘッドが取り付けられたことを適切に検知することが可能である。
 しかしながら、カード挿入部にスキミング用磁気ヘッドが取り付けられていないときに、第1励磁用コイルおよび第2励磁用コイルに電流が供給されると、たとえば、図7の「状態E」に示すように、第1励磁用コイルが発生させる磁界の影響および第2励磁用コイルが発生させる磁界の影響によって、第1検出用コイルの出力値が検知閾値th1を超える値まで上がり、第2検出用コイルの出力値も検知閾値th2を超える値まで上がる場合が生じうる。すなわち、カード挿入部の内部に配置される2個の金属センサ間の距離が近い場合に、第1励磁用コイルおよび第2励磁用コイルに電流が供給されると、スキミング用磁気ヘッドがカード挿入部に取り付けられていないにもかかわらず、スキミング用磁気ヘッドがカード挿入部に取り付けられたと誤検知するおそれがある。
 なお、2個の金属センサ間の距離を広げれば、このような問題の発生を防止することが可能である。しかしながら、スキミング用磁気ヘッドが取り付けられる位置は、カードに形成される磁気ストライプが通過する位置であるため(すなわち、スキミング用磁気ヘッドが取り付けられる位置は特定されているため)、金属センサ間の距離を広げると、スキミング用磁気ヘッドと金属センサとの距離が長くなるおそれがある。また、スキミング用磁気ヘッドと金属センサとの距離が長くなると、2個の金属センサがカード挿入部の内部に配置されていても、2個の金属センサの両方の検知能力を十分に発揮させることが困難になる。
 そこで、本発明の課題は、スキミング用磁気ヘッド等の金属材料を含む異物がカード挿入部に取り付けられたことを検知するための金属センサが複数設けられる場合であって、かつ、複数の金属センサ間の距離が近い場合であっても、金属材料を含む異物がカード挿入部に取り付けられたとの誤検知を防止することが可能なカードリーダを提供することにある。また、本発明の課題は、金属材料を含む異物がカード挿入部に取り付けられたことを検知するための金属センサが複数設けられる場合であって、かつ、複数の金属センサ間の距離が近い場合であっても、金属材料を含む異物がカード挿入部に取り付けられたとの誤検知を防止することが可能となるカードリーダの制御方法を提供することにある。
 上記の課題を解決するため、本発明のカードリーダは、カードの挿入口が形成されるカード挿入部と、カード挿入部の周辺に金属材料を含む異物が取り付けられたことを検知するための複数の金属センサと、複数の金属センサが接続される制御部とを備え、金属センサは、磁性材料で形成されるコアと、コアに巻回される励磁用コイルおよび検出用コイルとを備え、制御部は、複数の金属センサのそれぞれの励磁用コイルに異なるタイミングで電流を供給することを特徴とする。
 本発明のカードリーダでは、制御部は、複数の金属センサのそれぞれの励磁用コイルに異なるタイミングで電流を供給している。そのため、本発明では、スキミング用磁気ヘッド等の金属材料を含む異物がカード挿入部に取り付けられたのか否かをある金属センサによって検知する際に、他の金属センサの励磁用コイルが発生させる磁界の影響を受けることなく、この金属センサの励磁用コイルが発生させる磁界の変化に基づいて、金属材料を含む異物がカード挿入部に取り付けられたのか否かを適切に検知することが可能になる。
したがって、本発明では、金属材料を含む異物がカード挿入部に取り付けられたことを検知するための金属センサがカードリーダに複数設けられる場合であって、かつ、複数の金属センサ間の距離が近い場合であっても、金属材料を含む異物がカード挿入部に取り付けられたとの誤検知を防止することが可能になる。
 本発明において、カードリーダは、たとえば、金属センサとして、第1金属センサと第2金属センサとを備え、第1金属センサは、励磁用コイルとして第1励磁用コイルを備えるとともに、検出用コイルとして第1検出用コイルを備え、第2金属センサは、励磁用コイルとして第2励磁用コイルを備えるとともに、検出用コイルとして第2検出用コイルを備え、制御部は、第1励磁用コイルと第2励磁用コイルとに交互に電流を供給する。
 本発明において、制御部は、第2励磁用コイルに電流が供給されているときの第1検出用コイルの出力値に基づいて第2金属センサが正常位置に設置されているのか否かを判別し、第1励磁用コイルに電流が供給されているときの第2検出用コイルの出力値に基づいて第1金属センサが正常位置に設置されているのか否かを判別することが好ましい。このように構成すると、第1金属センサや第2金属センサが不正に取り外されていないことを検知するための構成が別途設けられていなくても、第1検出用コイルの出力値に基づいて第2金属センサが不正に取り外されていないことを検知することが可能になり、第2検出用コイルの出力値に基づいて第1金属センサが不正に取り外されていないことを検知することが可能になる。したがって、カードリーダの構成を簡素化することが可能になる。
 また、上記の課題を解決するため、本発明のカードリーダは、カードの挿入口が形成されるカード挿入部と、カード挿入部の周辺に金属材料を含む異物が取り付けられたことを検知するための複数の金属センサと、複数の金属センサのそれぞれが接続される複数の制御部とを備え、金属センサは、磁性材料で形成されるコアと、コアに巻回される励磁用コイルおよび検出用コイルとを備え、複数の制御部は、複数の金属センサのそれぞれの励磁用コイルに異なるタイミングで電流を供給することを特徴とする。
 本発明のカードリーダでは、複数の制御部は、複数の金属センサのそれぞれの励磁用コイルに異なるタイミングで電流を供給している。そのため、本発明では、スキミング用磁気ヘッド等の金属材料を含む異物がカード挿入部に取り付けられたのか否かをある金属センサによって検知する際に、他の金属センサの励磁用コイルが発生させる磁界の影響を受けることなく、この金属センサの励磁用コイルが発生させる磁界の変化に基づいて、金属材料を含む異物がカード挿入部に取り付けられたのか否かを適切に検知することが可能になる。したがって、本発明では、金属材料を含む異物がカード挿入部に取り付けられたことを検知するための金属センサがカードリーダに複数設けられる場合であって、かつ、複数の金属センサ間の距離が近い場合であっても、金属材料を含む異物がカード挿入部に取り付けられたとの誤検知を防止することが可能になる。
 本発明において、カードリーダは、金属センサとして、第1金属センサと第2金属センサとを備え、制御部として、第1金属センサが接続される第1制御部と、第2金属センサが接続される第2制御部とを備え、第1金属センサは、励磁用コイルとして第1励磁用コイルを備えるとともに、検出用コイルとして第1検出用コイルを備え、第2金属センサは、励磁用コイルとして第2励磁用コイルを備えるとともに、検出用コイルとして第2検出用コイルを備え、第1制御部は、第1励磁用コイルへの電流の供給が停止されているときの第1検出用コイルの出力値に基づいて第2励磁用コイルへの電流の供給が停止されたのか否かを判別するとともに、第2励磁用コイルへの電流の供給が停止されたと判別すると、第1励磁用コイルへの電流の供給を開始し、第2制御部は、第2励磁用コイルへの電流の供給が停止されているときの第2検出用コイルの出力値に基づいて第1励磁用コイルへの電流の供給が停止されたのか否かを判別するとともに、第1励磁用コイルへの電流の供給が停止されたと判別すると、第2励磁用コイルへの電流の供給を開始することが好ましい。このように構成すると、第1制御部と第2制御部との間で、第1励磁用コイルへの電流供給が停止されたことを通知する信号や第2励磁用コイルへの電流供給が停止されたことを通知する信号の通信を行う必要がなくなる。したがって、第1制御部と第2制御部との間の信号線の数を減らすことが可能になり、その結果、カードリーダの構成を簡素化することが可能になる。
 本発明において、第1制御部は、第2励磁用コイルに電流が供給されているときの第1検出用コイルの出力値に基づいて、第2金属センサが正常位置に設置されているのか否かを判別し、第2制御部は、第1励磁用コイルに電流が供給されているときの第2検出用コイルの出力値に基づいて、第1金属センサが正常位置に設置されているのか否かを判別することが好ましい。このように構成すると、第1金属センサや第2金属センサが不正に取り外されていないことを検知するための構成が別途設けられていなくても、第1検出用コイルの出力値に基づいて第2金属センサが不正に取り外されていないことを検知することが可能になり、第2検出用コイルの出力値に基づいて第1金属センサが不正に取り外されていないことを検知することが可能になる。したがって、カードリーダの構成を簡素化することが可能になる。
 さらに、上記の課題を解決するため、本発明のカードリーダの制御方法は、カードの挿入口が形成されるカード挿入部と、カード挿入部の周辺に金属材料を含む異物が取り付けられたことを検知するための複数の金属センサとを備え、金属センサは、磁性材料で形成されるコアと、コアに巻回される励磁用コイルおよび検出用コイルとを備えるカードリーダの制御方法であって、複数の金属センサのそれぞれの励磁用コイルに異なるタイミングで電流を供給することを特徴とする。
 本発明のカードリーダの制御方法では、複数の金属センサのそれぞれの励磁用コイルに異なるタイミングで電流を供給している。そのため、本発明では、スキミング用磁気ヘッド等の金属材料を含む異物がカード挿入部に取り付けられたのか否かをある金属センサによって検知する際に、他の金属センサの励磁用コイルが発生させる磁界の影響を受けることなく、この金属センサの励磁用コイルが発生させる磁界の変化に基づいて、金属材料を含む異物がカード挿入部に取り付けられたのか否かを適切に検知することが可能になる。
したがって、本発明では、金属材料を含む異物がカード挿入部に取り付けられたことを検知するための金属センサがカードリーダに複数設けられる場合であって、かつ、複数の金属センサ間の距離が近い場合であっても、金属材料を含む異物がカード挿入部に取り付けられたとの誤検知を防止することが可能になる。
 以上のように、本発明では、スキミング用磁気ヘッド等の金属材料を含む異物がカード挿入部に取り付けられたことを検知するための金属センサがカードリーダに複数設けられる場合であって、かつ、複数の金属センサ間の距離が近い場合であっても、金属材料を含む異物がカード挿入部に取り付けられたとの誤検知を防止することが可能になる。
本発明の実施の形態1にかかるカードリーダの概略構成を説明するための図である。 図1に示す金属センサの構成を説明するための図である。 図1に示すカードリーダにおいて異物検知処理を行うときの第1金属センサおよび第2金属センサの制御フローの一例を示すフローチャートである。 本発明の実施の形態2にかかるカードリーダの概略構成を説明するための図である。 図4に示すカードリーダにおいて異物検知処理を行うときの第1金属センサの制御フローの一例を示すフローチャートである。 図4に示すカードリーダ1において異物検知処理を行うときの第2金属センサの制御フローの一例を示すフローチャートである。 従来技術の問題点を説明するための図である。
 以下、図面を参照しながら、本発明の実施の形態を説明する。
 [実施の形態1]
 (カードリーダの構成)
 図1は、本発明の実施の形態1にかかるカードリーダ1の概略構成を説明するための図である。図2は、図1に示す金属センサ8、9の構成を説明するための図である。
 本形態のカードリーダ1は、カード2に記録された磁気データの読取やカード2への磁気データの記録を行うための装置であり、たとえば、ATM等の所定の上位装置に搭載されて使用される。このカードリーダ1は、図1に示すように、カード2が挿入される挿入口3が形成されるカード挿入部4と本体部5とを備えている。カード挿入部4は、本体部5の前端面に取り付けられている。カードリーダ1の内部には、カード2が搬送されるカード搬送路が形成されている。
 また、カードリーダ1は、カード2を搬送するためのカード搬送機構(図示省略)と、磁気データの読取および磁気データの記録の少なくともいずれか一方を行う2個の磁気ヘッド6、7と、カード挿入部4の周辺に金属材料を含む異物が取り付けられたことを検知するための2個の金属センサ8、9と、2個の金属センサ8、9が接続される制御部10とを備えている。制御部10は、たとえば、CPUであり、ROMおよびRAMを備えている。この制御部10は、カードリーダ1が搭載される上位装置の制御部(上位制御部)11に接続されている。
 カード2は、たとえば、厚さが0.7~0.8mm程度の矩形状の塩化ビニール製のカードである。このカード2のおもて面および裏面(すなわち、カード2の両面)には、磁気データが記録される磁気ストライプが形成されている。なお、カード2には、ICチップが内蔵されても良い。また、カード2は、厚さが0.18~0.36mm程度のPET(ポリエチレンテレフタレート)カードであっても良いし、所定の厚さの紙カード等であっても良い。
 磁気ヘッド6、7は、本体部5の内部に配置されている。磁気ヘッド6は、カード2の裏面に形成される磁気ストライプに当接可能となるように、そのギャップ部がカード搬送路に下側から臨むように配置されている。磁気ヘッド7は、カード2のおもて面に形成される磁気ストライプに当接可能となるように、そのギャップ部がカード搬送路に上側から臨むように配置されている。
 金属センサ8、9は、中空状に形成されるカード挿入部4の内部に配置されている。本形態では、金属センサ8は、カード搬送路よりも下側に配置され、金属センサ9は、カード搬送路よりも上側に配置されている。また、金属センサ8と金属センサ9とは、カード2の搬送方向(図1の左右方向)とカード2の厚さ方向(図1の上下方向)とに直交するカード2の幅方向(短手幅方向、図1の紙面垂直方向)において、略同じ位置に配置されている。本形態では、金属センサ8と金属センサ9との距離が近くなっている。ただし、金属センサ8と金属センサ9との距離は、金属センサ8が金属センサ9を金属として検知せず、かつ、金属センサ9が金属センサ8を金属として検知しない距離に設定されている。また、金属センサ8、9は、図2に示すように、磁性材料で形成されるコア15と、コア15の中心軸CLを中心に巻回される一対の励磁用コイル16および検出用コイル17とを備えている。
 コア15は、図2の紙面垂直方向を厚さ方向とする薄板状に形成されている。このコア15は、中心軸CLの軸方向における略中央に配置される中央コア部15aと、中心軸CLの軸方向において中央コア部15aの両端側のそれぞれに配置される一対の軸端コア部15bと、中央コア部15aと軸端コア部15bとの間に配置される拡幅部15cとによって構成されている。中央コア部15aの幅は、軸端コア部15bの幅よりも広くなっている。また、拡幅部15cの幅は、中央コア部15aの幅よりも広くなっている。
 一対の励磁用コイル16は、一対の軸端コア部15bのそれぞれに巻回されている。検出用コイル17は、中央コア部15aに巻回されている。すなわち、検出用コイル17は、中心軸CLの軸方向において、一対の励磁用コイル16の間でコア15に巻回されている。励磁用コイル16の一端部は、可変抵抗20に電気的に接続されている。可変抵抗20は、交流電源21に電気的に接続されている。励磁用コイル16の他端部は、接地されている。本形態では、制御部10から電流供給信号が出力されると、励磁用コイル16に交流電源21から電力が供給される。すなわち、制御部10は、電流供給信号を出力して励磁用コイル16に電流を供給する。検出用コイル17の両端部は、制御部10の一部を構成する電圧検出回路に電気的に接続されている。
 金属センサ8、9は、励磁用コイル16が発生させる磁界の変化を検出用コイル17で検出することで、カード挿入部4の周辺に金属材料を含む異物が取り付けられたことを検知する機能を果たしている。具体的には、金属センサ8は、主として、カード挿入部4の前面側かつカード搬送路よりも下側にスキミング用磁気ヘッド26等の金属材料を含む異物が取り付けられたことを検知する機能を果たし、金属センサ9は、主として、カード挿入部4の前面側かつカード搬送路よりも上側にスキミング用磁気ヘッド27等の金属材料を含む異物が取り付けられたことを検知する機能を果たしている。
 そのため、金属センサ8は、金属センサ8の一方の励磁用コイル16が発生させる磁界を表わす磁力線ML1または他方の励磁用コイル16が発生させる磁界を表わす磁力線ML2が、スキミング用磁気ヘッド26等の異物が取り付けられると想定される位置を通過するように配置されている。また、金属センサ9は、金属センサ9の一方の励磁用コイル16が発生させる磁界を表わす磁力線ML1または他方の励磁用コイル16が発生させる磁界を表わす磁力線ML2が、スキミング用磁気ヘッド27等の異物が取り付けられると想定される位置を通過するように配置されている。
 一対の励磁用コイル16は、金属センサ8、9の検知可能領域にスキミング用磁気ヘッド26、27等の金属材料を含む異物がないときに、磁力線ML1の密度と磁力線ML2の密度とのバランスが取れるように、かつ、磁力線ML1の方向と磁力線ML2の方向とが逆方向になるように励磁されている。すなわち、金属センサ8、9の検知可能領域にスキミング用磁気ヘッド26、27等の異物がないときに、一方の励磁用コイル16が発生させる磁界と他方の励磁用コイル16が発生させる磁界とのバランスが取れるように、可変抵抗20が調整されている。すなわち、金属センサ8、9の検知可能領域にスキミング用磁気ヘッド26、27等の異物がないときに、検出用コイル17の両端部の間に電圧が発生しないように、可変抵抗20が調整されている。そのため、金属センサ8、9の検知可能領域にスキミング用磁気ヘッド26、27の異物が設置されると、その影響で、一方の励磁用コイル16が発生させる磁界と他方の励磁用コイル16が発生させる磁界とのバランスが崩れ、検出用コイル17の両端部の間に電圧が発生する。
 本形態では、検出用コイル17の両端部の間に発生する電圧の値(電圧値)に基づいて、スキミング用磁気ヘッド26、27等の金属材料を含む異物がカード挿入部4の周辺に取り付けられたことを検知する。すなわち、本形態では、金属センサ8、9の出力値に基づいて、スキミング用磁気ヘッド26、27等の異物がカード挿入部4の周辺に取り付けられたことを検知する。
 なお、以下の説明では、金属センサ8を「第1金属センサ8」とし、金属センサ9を「第2金属センサ9」とする。また、以下の説明では、第1金属センサ8が備える励磁用コイル16と、第2金属センサ9が備える励磁用コイル16とを区別して表わすときには、第1金属センサ8が備える励磁用コイル16を「第1励磁用コイル16A」とし、第2金属センサ9が備える励磁用コイル16を「第2励磁用コイル16B」と表記する。また、第1金属センサ8が備える検出用コイル17と、第2金属センサ9が備える検出用コイル17を区別して表わすときには、第1金属センサ8が備える検出用コイル17を「第1検出用コイル17A」とし、第2金属センサ9が備える検出用コイル17を「第2検出用コイル17B」とする。
 (異物検知処理時のカードリーダの制御方法)
 図3は、図1に示すカードリーダ1において異物検知処理を行うときの第1金属センサ8および第2金属センサ9の制御フローの一例を示すフローチャートである。
 本形態のカードリーダ1では、カードリーダ1の電源が投入されてカードリーダ1が起動すると、制御部10は、まず、第1励磁用コイル16Aに対する電流供給信号を出力して、第1励磁用コイル16Aに電流を供給する(ステップS1)。ステップS1では、制御部10は、第2励磁用コイル16Bへの電流の供給を停止している。その後、制御部10は、第1検出用コイル17Aの両端部の電圧値V1を取得する(ステップS2)。すなわち、ステップS2において、制御部10は、第1金属センサ8の出力値を取得する。
 その後、制御部10は、電圧値V1が所定の閾値Vd1よりも大きいか否かを判断する(ステップS3)。ステップS3において、電圧値V1が閾値Vd1よりも大きい場合には、制御部10は、スキミング用磁気ヘッド26、27等の金属材料を含む異物がカード挿入部4の周囲に取り付けられたと判別して、所定の異常処理を行う(ステップS4)。
一方、ステップS3において、電圧値V1が閾値Vd1以下である場合には、制御部10は、金属材料を含む異物がカード挿入部4の周囲に取り付けられていないと判別して、所定の正常処理を行う(ステップS5)。
 上述のように、本形態では、第1金属センサ8と第2金属センサ9との距離が近くなっているため、第2励磁用コイル16Bに電流が供給されていなくても、第1励磁用コイル16Aが発生させる磁界の影響で、第2検出用コイル17Bの両端部に電圧が生じているはずである。ステップS4またはS5が終了すると、制御部10は、第2検出用コイル17Bの両端部の電圧値V21を取得する(ステップS6)。すなわち、ステップS6において、制御部10は、第2検出用コイル17Bの出力値を取得する。また、制御部10は、電圧値V21が所定の閾値Vr1よりも大きいか否かを判断する(ステップS7)。
 ステップS7において、電圧値V21が閾値Vr1よりも大きい場合には、制御部10は、第1金属センサ8と第2金属センサ9との距離が適正な距離であり、第1金属センサ8が正常位置に設置されていると判別して、所定の正常処理を実行してから(ステップS8)、第1励磁用コイル16Aへの電流の供給を停止する(ステップS9)。一方、ステップS7において、電圧値V21が閾値Vr1以下である場合には、制御部10は、第1金属センサ8が第2金属センサ9から離れた距離に設置されており、第1金属センサ8が正常位置に設置されていないと判別して(すなわち、第1金属センサ8が取り外されたと判別して)、所定の異常処理を実行してから(ステップS10)、ステップS9へ進む。
 その後、制御部10は、第2励磁用コイル16Bに対する電流供給信号を出力して、第2励磁用コイル16Bに電流を供給する(ステップS11)。その後、制御部10は、第2検出用コイル17Bの両端部の電圧値V2を取得する(ステップS12)。すなわち、ステップS12において、制御部10は、第2金属センサ9の出力値を取得する。その後、制御部10は、電圧値V2が所定の閾値Vd2よりも大きいか否かを判断する(ステップS13)。
 ステップS13において、電圧値V2が閾値Vd2よりも大きい場合には、制御部10は、スキミング用磁気ヘッド26、27等の金属材料を含む異物がカード挿入部4の周囲に取り付けられたと判別して、所定の異常処理を行う(ステップS14)。一方、ステップS13において、電圧値V2が閾値Vd2以下である場合には、制御部10は、金属材料を含む異物がカード挿入部4の周囲に取り付けられていないと判別して、所定の正常処理を行う(ステップS15)。
 上述のように、本形態では、第1金属センサ8と第2金属センサ9との距離が近くなっているため、第1励磁用コイル16Aに電流が供給されていなくても、第2励磁用コイル16Bが発生させる磁界の影響で、第1検出用コイル17Aの両端部に電圧が生じているはずである。ステップS14またはS15が終了すると、制御部10は、第1検出用コイル17Aの両端部の電圧値V11を取得する(ステップS16)。すなわち、ステップS16において、制御部10は、第1検出用コイル17Aの出力値を取得する。また、制御部10は、電圧値V11が所定の閾値Vr2よりも大きいか否かを判断する(ステップS17)。
 ステップS17において、電圧値V11が閾値Vr2よりも大きい場合には、制御部10は、第1金属センサ8と第2金属センサ9との距離が適正な距離であり、第2金属センサ9が正常位置に設置されていると判別して、所定の正常処理を実行してから(ステップS18)、第2励磁用コイル16Bへの電流の供給を停止する(ステップS19)。一方、ステップS17において、電圧値V11が閾値Vr2以下である場合には、制御部10は、第2金属センサ9が第1金属センサ8から離れた距離に設置されており、第2金属センサ9が正常位置に設置されていないと判別して、所定の異常処理を実行してから(ステップS20)、ステップS19へ進む。また、ステップS19において、第2励磁用コイル16Bへの電流の供給が停止されると、ステップS1に戻る。
 このように本形態では、制御部10は、第1励磁用コイル16Aと第2励磁用コイル16Bとに交互に電流を供給している。すなわち、制御部10は、2個の第1励磁用コイル16Aと第2励磁用コイル16Bとに異なるタイミングで電流を供給している。また、本形態では、制御部10は、ステップS6、S7において、第1励磁用コイル16Aに電流が供給されているときの第2検出用コイル17Bの出力値に基づいて第1金属センサ8が正常位置に設置されているのか否かを判別し、ステップS16、S17において、第2励磁用コイル16Bに電流が供給されているときの第1検出用コイル17Aの出力値に基づいて第2金属センサ9が正常位置に設置されているのか否かを判別している。
 なお、本形態では、閾値Vd1、Vd2は、個別に設定可能となっている。閾値Vd1、Vd2は、スキミング用磁気ヘッド26、27等の想定される異物の取付位置、材質および大きさ等を考慮して、たとえば、以下のように設定されている。
 Vd1=1150(mV)、Vd2=1110(mV)
 また、本形態では、閾値Vr1、Vr2は、個別に設定可能となっている。閾値Vr1、Vr2は、第1金属センサ8および第2金属センサ9が正常位置に設置されている状態で、第1励磁用コイル16Aのみに電流を供給したときに第2検出用コイル17Bの両端部に生じる電圧と、第2励磁用コイル16Bのみに電流を供給したときに第1検出用コイル17Aの両端部に生じる電圧とを考慮して、たとえば、以下のように設定されている。
 Vr1=500(mV)、Vr2=450(mV)
 (本形態の主な効果)
 以上説明したように、本形態では、第1励磁用コイル16Aと第2励磁用コイル16Bとに交互に電流が供給されている。そのため、本形態では、金属材料を含む異物がカード挿入部4に取り付けられたのか否かを第1金属センサ8によって検知する際に、第1検出用コイル17Aの電圧値V1は、第2励磁用コイル16Bが発生させる磁界の影響を受けることがない。また、金属材料を含む異物がカード挿入部4に取り付けられたのか否かを第2金属センサ9によって検知する際に、第2検出用コイル17Bの電圧値V2は、第1励磁用コイル16Aが発生させる磁界の影響を受けることがない。
 したがって、本形態では、第1励磁用コイル16Aが発生させる磁界の変化に基づいて、第1金属センサ8によって、金属材料を含む異物がカード挿入部4に取り付けられたのか否かを適切に検知することが可能になるとともに、第2励磁用コイル16Bが発生させる磁界の変化に基づいて、第2金属センサ9によって、金属材料を含む異物がカード挿入部4に取り付けられたのか否かを適切に検知することが可能になる。その結果、本形態では、スキミング用磁気ヘッド26、27等の金属材料を含む異物がカード挿入部4に取り付けられたことを検知するために第1金属センサ8と第2金属センサ9との2個の金属センサ8、9をカードリーダ1が備えており、かつ、第1金属センサ8と第2金属センサ9との間の距離が近い場合であっても、金属材料を含む異物がカード挿入部4に取り付けられたとの誤検知を防止することが可能になる。
 本形態では、制御部10は、ステップS6、S7において、第1励磁用コイル16Aに電流が供給されているときの第2検出用コイル17Bの出力値に基づいて第1金属センサ8が正常位置に設置されているのか否かを判別し、ステップS16、S17において、第2励磁用コイル16Bに電流が供給されているときの第1検出用コイル17Aの出力値に基づいて第2金属センサ9が正常位置に設置されているのか否かを判別している。そのため、本形態では、第1金属センサ8や第2金属センサ9が不正に取り外されていないことを検知するための構成が別途設けられていなくても、第1検出用コイル17Aの出力値に基づいて第2金属センサ9が不正に取り外されていないことを検知することが可能になり、第2検出用コイル17Bの出力値に基づいて第1金属センサ8が不正に取り外されていないことを検知することが可能になる。したがって、本形態では、カードリーダ1の構成を簡素化することが可能になる。
 [実施の形態2]
 図4は、本発明の実施の形態2にかかるカードリーダ1の概略構成を説明するための図である。図5は、図4に示すカードリーダ1において異物検知処理を行うときの第1金属センサ8の制御フローの一例を示すフローチャートである。図6は、図4に示すカードリーダ1において異物検知処理を行うときの第2金属センサ9の制御フローの一例を示すフローチャートである。
 実施の形態1では、第1金属センサ8および第2金属センサ9が共通の制御部10に接続されている。これに対して、実施の形態2では、第1金属センサ8および第2金属センサ9がそれぞれ別々の制御部30、40に接続されている。また、第1金属センサ8および第2金属センサ9がそれぞれ別々の制御部30、40に接続されているため、異物検知処理を行うときの第1金属センサ8および第2金属センサ9の制御方法が実施の形態1と実施の形態2とで異なる。以下、この相違点を中心に、実施の形態2にかかるカードリーダ1を説明する。なお、図4では、実施の形態1と共通する構成については同一の符号を付している。また、実施の形態2の説明では、実施の形態1と共通する構成については、その説明を省略または簡略化する。
 上述のように、本形態では、第1金属センサ8および第2金属センサ9がそれぞれ別々の制御部30、40に接続されている。すなわち、本形態のカードリーダ1は、2個の第1金属センサ8および第2金属センサ9のそれぞれが接続される2個の制御部30、40を備えている。制御部10と同様に、制御部30、40は、たとえば、CPUであり、ROMおよびRAMを備えている。また、制御部30、40は、上位制御部11に接続されている。
 第1金属センサ8は、制御部30に接続され、第2金属センサ9は、制御部40に接続されている。すなわち、制御部30は、第1励磁用コイル16Aに対する電流供給信号を出力して第1励磁用コイル16Aに電流を供給し、制御部40は、第2励磁用コイル16Bに対する電流供給信号を出力して第2励磁用コイル16Bに電流を供給する。また、第1検出用コイル17Aの両端部は、制御部30の一部を構成する電圧検出回路に電気的に接続され、第2検出用コイル17Bの両端部は、制御部40の一部を構成する電圧検出回路に電気的に接続されている。なお、以下の説明では、制御部30を「第1制御部30」とし、制御部40を「第2制御部40」とする。
 本形態では、第1励磁用コイル16Aに電流が供給される時間と第2励磁用コイル16Bに電流が供給される時間とが等しくなっている。また、本形態では、第1励磁用コイル16Aへの電流の供給が停止される最大時間と第2励磁用コイル16Bへの電流の供給が停止される最大時間とが等しくなっている。以下の説明では、第1励磁用コイル16A、第2励磁用コイル16Bに電流が供給される時間を時間ΔTonとし、第1励磁用コイル16A、第2励磁用コイル16Bへの電流の供給が停止される最大時間をΔToffとする。
 本形態のカードリーダ1では、カードリーダ1の電源が投入されてカードリーダ1が起動すると、図5に示すように、第1制御部30は、まず、第1励磁用コイル16Aに対する電流供給信号を出力して、第1励磁用コイル16Aに電流を供給する(ステップS31)。一方、図6に示すように、カードリーダ1が起動しても、第2制御部40は、第2励磁用コイル16Bへの電流の供給を停止している(ステップS51)。その後、第1制御部30は、第1励磁用コイル16Aへの電流の供給が開始されてから時間ΔTonが経過したか否かを判断し(ステップS32)、時間ΔTonが経過すると、第1検出用コイル17Aの両端部の電圧値V1を取得する(ステップS33)。すなわち、ステップS33において、第1制御部30は、第1金属センサ8の出力値を取得する。
 その後、第1制御部30は、電圧値V1が所定の閾値Vd1よりも大きいか否かを判断する(ステップS34)。ステップS34において、電圧値V1が閾値Vd1よりも大きい場合には、第1制御部30は、スキミング用磁気ヘッド26、27等の金属材料を含む異物がカード挿入部4の周囲に取り付けられたと判別して、所定の異常処理を行う(ステップS35)。一方、ステップS34において、電圧値V1が閾値Vd1以下である場合には、第1制御部30は、金属材料を含む異物がカード挿入部4の周囲に取り付けられていないと判別して、所定の正常処理を行う(ステップS36)。
 その後、第1制御部30は、第1励磁用コイル16Aへの電流の供給を停止する(ステップS37)。その後、第1制御部30は、第1励磁用コイル16Aへの電流の供給を停止したときの時間T1を記憶する(ステップS38)。また、ステップS38では、今回の第1励磁用コイル16Aへの電流の供給停止時に、閾値Vr2よりも大きな第1検出用コイル17Aの電圧値V11を第1制御部30が取得したのか否かを判定するための判定フラグF2を“0”にリセットする。なお、判定フラグF2が“0”である場合には、今回の第1励磁用コイル16Aへの電流の供給停止時に閾値Vr2よりも大きな電圧値V11を第1制御部30が取得しておらず、判定フラグF2が“1”である場合には、今回の第1励磁用コイル16Aへの電流の供給停止時に閾値Vr2よりも大きな電圧値V11を第1制御部30がすでに取得している。
 その後、第1制御部30は、第1検出用コイル17Aの両端部の電圧値V11を取得する(ステップS39)。すなわち、ステップS39において、第1制御部30は、第1検出用コイル17Aの出力値を取得する。その後、第1制御部30は、判定フラグF2が“0”であるのかそれとも“1”であるのかを判断する(ステップS40)。ステップS40において、判定フラグF2が“0”である場合には、第1制御部30は、電圧値V11が閾値Vr2よりも大きいか否かを判断する(ステップS41)。
 ステップS41において、電圧値V11が閾値Vr2よりも大きい場合には、第1制御部30は、判定フラグF2を“1”に更新してから(ステップS42)、ステップS39へ戻る。なお、ステップS41において、電圧値V11が閾値Vr2よりも大きいと判断される場合は、第2励磁用コイル16Bに電流が供給されるととともに、第1金属センサ8と第2金属センサ9との距離が適正な距離であり、第2金属センサ9が正常位置に設置されている場合である。
 一方、ステップS41において、電圧値V11が閾値Vr2以下である場合には、第1制御部30は、ステップS38で記憶した時間T1と現在時間と差が時間ΔToffを超えているか否かを判断する(ステップS43)。ステップS43において、現在時間と時間T1との差が時間ΔToffを超えていない場合には、第1制御部30は、ステップS39で電圧値V11を取得した際に、第2励磁用コイル16Bへの電流の供給が開始されていない可能性があると判断して、ステップS39へ戻る。
 また、ステップS43において、現在時間と時間T1との差が時間ΔToffを超えている場合には、第1制御部30は、第2金属センサ9が第1金属センサ8から離れた距離に設置されており、第2金属センサ9が正常位置に設置されていないと判別して(すなわち、第2金属センサ9が取り外されたと判別して)、所定の異常処理を実行してから(ステップS44)、ステップS31へ戻る。
 また、ステップS40において、判定フラグF2が“1”である場合には、第1制御部30は、電圧値V11が閾値Vr2よりも大きいか否かを判断する(ステップS45)。
ステップS45において、電圧値V11が閾値Vr2以下である場合には、第1制御部30は、第2励磁用コイル16Bへの電流の供給が停止していると判別するとともに、第1金属センサ8と第2金属センサ9との距離が適正な距離であり、第2金属センサ9が正常位置に設置されていると判別して、所定の正常処理を実行してから(ステップS46)、ステップS31へ戻る。
 一方、ステップS45において、電圧値V11が閾値Vr2よりも大きい場合には、ステップS39へ戻り、第2励磁用コイル16Bへの電流の供給が停止されて電圧値V11が閾値Vr2以下となるまで、ステップS39、S40、S45を繰り返す。すなわち、本形態では、第2金属センサ9が正常位置に設置されているのか否かを判別するための閾値Vr2よりも電圧値V11が大きいことを検知した後に、電圧値V11が閾値Vr2以下となることを検知することで、第2励磁用コイル16Bへの電流の供給が停止されたことを間接的に検知している。
 上述のように、カードリーダ1が起動しても、第2制御部40は、第2励磁用コイル16Bへの電流の供給を停止している(ステップS51)。その後、第2制御部40は、第2励磁用コイル16Bへの電流の供給を停止したときの時間T2を記憶する(ステップS52)。カードリーダ1の起動直後のステップS51では、第2励磁用コイル16Bへの電流の供給が停止されているため、第2制御部40は、カードリーダ1の起動直後のステップS52では、カードリーダ1が起動したときの時間を時間T2として記憶する。
 また、ステップS52では、今回の第2励磁用コイル16Bへの電流の供給停止時に閾値Vr1よりも大きな第2検出用コイル17Bの電圧値V21を第2制御部40が取得したのか否かを判定するための判定フラグF1を“0”にリセットする。なお、判定フラグF1が“0”である場合には、今回の第2励磁用コイル16Bへの電流の供給停止時に閾値Vr1よりも大きな電圧値V21を第2制御部40が取得しておらず、判定フラグF1が“1”である場合には、今回の第2励磁用コイル16Bへの電流の供給停止時に閾値Vr1よりも大きな電圧値V21を第2制御部40がすでに取得している。
 その後、第2制御部40は、第2検出用コイル17Bの両端部の電圧値V21を取得する(ステップS53)。すなわち、ステップS53において、第2制御部40は、第2検出用コイル17Bの出力値を取得する。その後、第2制御部40は、判定フラグF1が“0”であるのかそれとも“1”であるのかを判断する(ステップS54)。ステップS54において、判定フラグF1が“0”である場合には、第2制御部40は、電圧値V21が閾値Vr1よりも大きいか否かを判断する(ステップS55)。
 ステップS55において、電圧値V21が閾値Vr1よりも大きい場合には、第2制御部40は、判定フラグF1を“1”に更新してから(ステップS56)、ステップS53へ戻る。なお、ステップS55において、電圧値V21が閾値Vr1よりも大きいと判断される場合は、第1励磁用コイル16Aに電流が供給されるととともに、第1金属センサ8と第2金属センサ9との距離が適正な距離であり、第1金属センサ8が正常位置に設置されている場合である。
 一方、ステップS55において、電圧値V21が閾値Vr1以下である場合には、第2制御部40は、ステップS52で記憶した時間T2と現在時間と差が時間ΔToffを超えているか否かを判断する(ステップS57)。ステップS57において、現在時間と時間T2との差が時間ΔToffを超えていない場合には、第2制御部40は、ステップS53で電圧値V21を取得した際に、第1励磁用コイル16Aへの電流の供給が開始されていない可能性があると判断して、ステップS53へ戻る。
 また、ステップS57において、現在時間と時間T2との差が時間ΔToffを超えている場合には、第2制御部40は、第1金属センサ8が第2金属センサ9から離れた距離に設置されており、第1金属センサ8が正常位置に設置されていないと判別して(すなわち、第1金属センサ8が取り外されたと判別して)、所定の異常処理を実行する(ステップS58)。
 また、ステップS54において、判定フラグF1が“1”である場合には、第2制御部40は、電圧値V21が閾値Vr1よりも大きいか否かを判断する(ステップS59)。
ステップS59において、電圧値V21が閾値Vr1以下である場合には、第2制御部40は、第1励磁用コイル16Aへの電流の供給が停止していると判別するとともに、第1金属センサ8と第2金属センサ9との距離が適正な距離であり、第1金属センサ8が正常位置に設置されていると判別して、所定の正常処理を実行する(ステップS60)。
 一方、ステップS59において、電圧値V21が閾値Vr1よりも大きい場合には、ステップS53へ戻り、第1励磁用コイル16Aへの電流の供給が停止されて電圧値V21が閾値Vr1以下となるまで、ステップS53、S54、S59を繰り返す。すなわち、本形態では、第1金属センサ8が正常位置に設置されているのか否かを判別するための閾値Vr1よりも電圧値V21が大きいことを検知した後に、電圧値V21が閾値Vr1以下となることを検知することで、第1励磁用コイル16Aへの電流の供給が停止されたことを間接的に検知している。
 ステップS58またはS60が終了すると、第2制御部40は、第2励磁用コイル16Bに対する電流供給信号を出力して、第2励磁用コイル16Bに電流を供給する(ステップS61)。その後、第2制御部40は、第2励磁用コイル16Bへの電流の供給が開始されてから時間ΔTonが経過したか否かを判断し(ステップS62)、時間ΔTonが経過すると、第2検出用コイル17Bの両端部の電圧値V2を取得する(ステップS63)。すなわち、ステップS63において、第2制御部40は、第2金属センサ9の出力値を取得する。
 その後、第2制御部40は、電圧値V2が所定の閾値Vd2よりも大きいか否かを判断する(ステップS64)。ステップS64において、電圧値V2が閾値Vd2よりも大きい場合には、第2制御部40は、スキミング用磁気ヘッド26、27等の金属材料を含む異物がカード挿入部4の周囲に取り付けられたと判別して、所定の異常処理を行ってから(ステップS65)、ステップS51へ戻る。一方、ステップS64において、電圧値V2が閾値Vd2以下である場合には、第2制御部40は、金属材料を含む異物がカード挿入部4の周囲に取り付けられていないと判別して、所定の正常処理を行ってから(ステップS66)、ステップS51へ戻る。
 なお、ステップS65またはステップS66を経た後のステップS51では、第2制御部40は、第2励磁用コイル16Bへの電流の供給を停止する。また、ステップS65またはステップS66を経た後のステップS52では、第2制御部40は、ステップS51において第2励磁用コイル16Bへの電流の供給を停止したときの時間T2を記憶する。
 このように本形態では、第1制御部30は、ステップS37において、第1励磁用コイル16Aへの電流の供給を停止した後、ステップS45において、第1励磁用コイル16Aへの電流の供給が停止されているときの第1検出用コイル17Aの出力値(すなわち、電圧値V11)に基づいて第2励磁用コイル16Bへの電流の供給が停止されたのか否かを判別する。また、第1制御部30は、電圧値V11が閾値Vr2以下となり、第2励磁用コイル16Bへの電流の供給が停止されたと判別すると、ステップS31に戻って第1励磁用コイル16Aへの電流の供給を開始する。
 また、第2制御部40は、ステップS51において、第2励磁用コイル16Bへの電流の供給を停止した後、ステップS59において、第2励磁用コイル16Bへの電流の供給が停止されているときの第2検出用コイル17Bの出力値(すなわち、電圧値V21)に基づいて第1励磁用コイル16Aへの電流の供給が停止されたのか否かを判別する。また、第2制御部40は、電圧値V21が閾値Vr1以下となり、第1励磁用コイル16Aへの電流の供給が停止されたと判別すると、ステップS61へ進んで第2励磁用コイル16Bへの電流の供給を開始する。
 すなわち、本形態では、第1制御部30および第2制御部40は、第1励磁用コイル16Aと第2励磁用コイル16Bとに交互に電流を供給している。すなわち、第1制御部30および第2制御部40は、2個の第1励磁用コイル16Aと第2励磁用コイル16Bとに異なるタイミングで電流を供給している。また、本形態では、第1制御部30は、ステップS39~S43において、第2励磁用コイル16Bに電流が供給されているときの第1検出用コイル17Aの出力値に基づいて第2金属センサ9が正常位置に設置されているのか否かを判別し、第2制御部40は、ステップS53~S57において、第1励磁用コイル16Aに電流が供給されているときの第2検出用コイル17Bの出力値に基づいて第1金属センサ8が正常位置に設置されているのか否かを判別している。
 なお、ΔTonおよびΔToffは、第1励磁用コイル16Aと第2励磁用コイル16Bとに交互に電流を供給することができるように、たとえば、以下のように設定されている。
 ΔTon=25(msec)、ΔToff=100(msec)
 また、本形態では、第1金属センサ8、第2金属センサ9、第1制御部30および第2制御部40が正常に動作している場合には、第1励磁用コイル16Aに流れる電流と第2励磁用コイル16Bに流れる電流とが25(msec)ごとに切り替わる。なお、ΔToffは、ΔTonよりも長い時間に設定されていることが好ましい。
 本形態においても、実施の形態1と同様の効果を得ることができる。すなわち、本形態では、第1励磁用コイル16Aと第2励磁用コイル16Bとに交互に電流が供給されているため、金属材料を含む異物がカード挿入部4に取り付けられたことを検知するために第1金属センサ8と第2金属センサ9との2個の金属センサ8、9をカードリーダ1が備えており、かつ、第1金属センサ8と第2金属センサ9との間の距離が近い場合であっても、金属材料を含む異物がカード挿入部4に取り付けられたとの誤検知を防止することが可能になる。
 また、本形態では、第1制御部30は、第2励磁用コイル16Bに電流が供給されているときの第1検出用コイル17Aの出力値に基づいて第2金属センサ9が正常位置に設置されているのか否かを判別し、第2制御部40は、第1励磁用コイル16Aに電流が供給されているときの第2検出用コイル17Bの出力値に基づいて第1金属センサ8が正常位置に設置されているのか否かを判別しているため、第1金属センサ8や第2金属センサ9が不正に取り外されていないことを検知するための構成が別途設けられていなくても、第1検出用コイル17Aの出力値に基づいて第2金属センサ9が不正に取り外されていないことを検知することが可能になり、第2検出用コイル17Bの出力値に基づいて第1金属センサ8が不正に取り外されていないことを検知することが可能になる。したがって、本形態では、カードリーダ1の構成を簡素化することが可能になる。
 また、本形態では、第1制御部30は、第2金属センサ9が正常位置に設置されているのか否かを判別するための閾値Vr2よりも電圧値V11が大きいことを検知した後に、電圧値V11が閾値Vr2以下となることを検知することで、第2励磁用コイル16Bへの電流の供給が停止されたことを間接的に検知している。すなわち、本形態では、第1制御部30は、第1励磁用コイル16Aへの電流の供給が停止されているときの第1検出用コイル17Aの出力値に基づいて第2励磁用コイル16Bへの電流の供給が停止されたのか否かを判別している。また、第2制御部40は、第1金属センサ8が正常位置に設置されているのか否かを判別するための閾値Vr1よりも電圧値V21が大きいことを検知した後に、電圧値V21が閾値Vr1以下となることを検知することで、第1励磁用コイル16Aへの電流の供給が停止されたことを間接的に検知している。すなわち、本形態では、第2制御部40は、第2励磁用コイル16Bへの電流の供給が停止されているときの第2検出用コイル17Bの出力値に基づいて第1励磁用コイル16Aへの電流の供給が停止されたのか否かを判別している。
 そのため、本形態では、上位制御部11を介して第1制御部30から第2制御部40へ、第1励磁用コイル16Aへの電流供給が停止されたことを通知する信号を送信する必要がなく、また、上位制御部11を介して第2制御部40から第1制御部30へ、第2励磁用コイル16Bへの電流供給が停止されたことを通知する信号を送信する必要がない。したがって、本形態では、カードリーダ1と上位装置との間の信号線の数を減らすことが可能になり、その結果、カードリーダ1の構成を簡素化することが可能になる。
 [他の実施の形態]
 上述した形態は、本発明の好適な形態の一例ではあるが、これに限定されるものではなく本発明の要旨を変更しない範囲において種々変形実施が可能である。
 実施の形態1では、制御部10は、ステップS2で取得した電圧値V1が閾値Vd1よりも大きいか否かをステップS3で判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別している。この他にもたとえば、制御部10は、ステップS2で取得した電圧値V1と前回のステップS2で取得した電圧値V1との変化量(差)を算出し、この変化量が所定の閾値よりも大きいか否かを判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別しても良い。
また、実施の形態1では、制御部10は、ステップS12で取得した電圧値V2が閾値Vd2よりも大きいか否かをステップS13で判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別しているが、ステップS12で取得した電圧値V2と前回のステップS12で取得した電圧値V2との変化量を算出し、この変化量が所定の閾値よりも大きいか否かを判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別しても良い。
 この場合には、金属センサ8、9の周囲温度が変動しても、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを適切に判別することが可能になる。なお、カードリーダ1の起動直後には、カードリーダ1の起動時の電圧値V1、V2を記憶するとともに、カードリーダ1の起動後の最初のステップS2、S12で取得した電圧値V1、V2とカードリーダ1の起動時の電圧値V1、V2との変化量を算出して、この変化量が所定の閾値よりも大きいか否かを判断すれば良い。
 同様に、実施の形態2では、第1制御部30は、ステップS33で取得した電圧値V1が閾値Vd1よりも大きいか否かをステップS34で判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別しているが、ステップS33で取得した電圧値V1と前回のステップS33で取得した電圧値V1との変化量を算出し、この変化量が所定の閾値よりも大きいか否かを判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別しても良い。また、実施の形態2では、第2制御部40は、ステップS63で取得した電圧値V2が閾値Vd2よりも大きいか否かをステップS64で判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別しているが、ステップS63で取得した電圧値V2と前回のステップS63で取得した電圧値V2との変化量を算出し、この変化量が所定の閾値よりも大きいか否かを判断することで、金属材料を含む異物がカード挿入部4の周囲に取り付けられたのか否かを判別しても良い。
 上述した形態では、カードリーダ1は、2個の金属センサ8、9を備えているが、カードリーダ1が備える金属センサの数は、3個以上であっても良い。実施の形態1において金属センサの数が3個以上である場合には、3個以上の金属センサの全てが制御部10に接続され、制御部10は、3個以上の金属センサのそれぞれの励磁用コイル16に異なるタイミングで電流を供給する。すなわち、制御部10は、3個以上の金属センサのそれぞれの励磁用コイル16に順次、電流を供給する。すなわち、制御部10は、3個以上の金属センサの励磁用コイル16の1個ずつに順番で電流を供給する。
 また、実施の形態2において、金属センサの数が3個以上である場合には、カードリーダ1は、3個以上の金属センサのそれぞれが接続される複数の制御部を備えており、複数の制御部は、3個以上の金属センサのそれぞれの励磁用コイル16に異なるタイミングで電流を供給する。すなわち、複数の制御部は、3個以上の金属センサのそれぞれの励磁用コイル16に順次、電流を供給する。すなわち、複数の制御部は、3個以上の金属センサの励磁用コイル16の1個ずつに順番で電流を供給する。
 上述した形態では、第1励磁用コイル16Aに電流が供給されているときの第2検出用コイル17Bの出力値に基づいて第1金属センサ8が正常位置に設置されているのか否かを判別し、第2励磁用コイル16Bに電流が供給されているときの第1検出用コイル17Aの出力値に基づいて第2金属センサ9が正常位置に設置されているのか否かを判別している。この他にもたとえば、第1金属センサ8や第2金属センサ9が正常位置に設置されているのか否かを検知するための検知機構を別途設けても良い。
 実施の形態2では、第1制御部30は、閾値Vr2よりも電圧値V11が大きいことを検知した後に、電圧値V11が閾値Vr2以下となることを検知することで、第2励磁用コイル16Bへの電流の供給が停止されたことを間接的に検知している。また、第2制御部40は、閾値Vr1よりも電圧値V21が大きいことを検知した後に、電圧値V21が閾値Vr1以下となることを検知することで、第1励磁用コイル16Aへの電流の供給が停止されたことを間接的に検知している。この他にもたとえば、上位制御部11を介して第1制御部30から第2制御部40へ、第1励磁用コイル16Aへの電流供給が停止されたことを通知する信号が送信されても良い。また、上位制御部11を介して第2制御部40から第1制御部30へ、第2励磁用コイル16Bへの電流供給が停止されたことを通知する信号が送信されても良い。
 実施の形態2では、第1励磁用コイル16Aに電流が供給される時間と第2励磁用コイル16Bに電流が供給される時間とが等しくなっているが、第1励磁用コイル16Aに電流が供給される時間と第2励磁用コイル16Bに電流が供給される時間とが異なっていても良い。また、実施の形態2では、第1励磁用コイル16Aへの電流の供給が停止される最大時間と第2励磁用コイル16Bへの電流の供給が停止される最大時間とが等しくなっているが、第1励磁用コイル16Aへの電流の供給が停止される最大時間と第2励磁用コイル16Bへの電流の供給が停止される最大時間とが異なっていても良い。
 上述した形態では、金属センサ8、9は、一対の励磁用コイル16(すなわち、2個の励磁用コイル16)を備えているが、金属センサ8、9が備える励磁用コイル16の数は1個でも良い。また、上述した形態では、カードリーダ1は、カード搬送機構を備えるカード搬送式のカードリーダであるが、本発明の構成が適用されるカードリーダは、ユーザが手動でカード2を移動させながら、磁気データの読取や記録を行う手動式のカードリーダであっても良い。たとえば、本発明の構成が適用されるカードリーダは、カードリーダ内へカード2を差し込む際、あるいは、カードリーダからカード2を引き抜く際に磁気データの読取や記録を行ういわゆるディップ式のカードリーダであっても良い。
 上述した形態では、カードリーダ1は、磁気ストライプが形成されたカード2を処理するためのカードリーダであるが、カードリーダ1は、磁気ストライプが形成されていない接触式のICカードを処理するためのカードリーダであっても良い。この場合には、たとえば、犯罪者がカードリーダ1の内部からのカード2の抜取りを妨害するための何らかの仕掛けをしてカード2を不正に取得するいわゆるフィッシングを行うための異物(金属材料を含む異物)がカード挿入部4に取り付けられたことが金属センサ8、9によって検知される。
 1 カードリーダ
 2 カード
 3 挿入口
 4 カード挿入部
 8 第1金属センサ(金属センサ)
 9 第2金属センサ(金属センサ)
 10 制御部
 15 コア
 16 励磁用コイル
 17 検出用コイル
 30 第1制御部(制御部)
 40 第2制御部(制御部)

Claims (7)

  1.  カードの挿入口が形成されるカード挿入部と、前記カード挿入部の周辺に金属材料を含む異物が取り付けられたことを検知するための複数の金属センサと、複数の前記金属センサが接続される制御部とを備え、
     前記金属センサは、磁性材料で形成されるコアと、前記コアに巻回される励磁用コイルおよび検出用コイルとを備え、
     前記制御部は、複数の前記金属センサのそれぞれの前記励磁用コイルに異なるタイミングで電流を供給することを特徴とするカードリーダ。
  2.  前記金属センサとして、第1金属センサと第2金属センサとを備え、
     前記第1金属センサは、前記励磁用コイルとして第1励磁用コイルを備えるとともに、前記検出用コイルとして第1検出用コイルを備え、
     前記第2金属センサは、前記励磁用コイルとして第2励磁用コイルを備えるとともに、前記検出用コイルとして第2検出用コイルを備え、
     前記制御部は、前記第1励磁用コイルと前記第2励磁用コイルとに交互に電流を供給することを特徴とする請求項1記載のカードリーダ。
  3.  前記制御部は、前記第2励磁用コイルに電流が供給されているときの前記第1検出用コイルの出力値に基づいて前記第2金属センサが正常位置に設置されているのか否かを判別し、前記第1励磁用コイルに電流が供給されているときの前記第2検出用コイルの出力値に基づいて前記第1金属センサが正常位置に設置されているのか否かを判別することを特徴とする請求項2記載のカードリーダ。
  4.  カードの挿入口が形成されるカード挿入部と、前記カード挿入部の周辺に金属材料を含む異物が取り付けられたことを検知するための複数の金属センサと、複数の前記金属センサのそれぞれが接続される複数の制御部とを備え、
     前記金属センサは、磁性材料で形成されるコアと、前記コアに巻回される励磁用コイルおよび検出用コイルとを備え、
     複数の前記制御部は、複数の前記金属センサのそれぞれの前記励磁用コイルに異なるタイミングで電流を供給することを特徴とするカードリーダ。
  5.  前記金属センサとして、第1金属センサと第2金属センサとを備え、
     前記制御部として、前記第1金属センサが接続される第1制御部と、前記第2金属センサが接続される第2制御部とを備え、
     前記第1金属センサは、前記励磁用コイルとして第1励磁用コイルを備えるとともに、前記検出用コイルとして第1検出用コイルを備え、
     前記第2金属センサは、前記励磁用コイルとして第2励磁用コイルを備えるとともに、前記検出用コイルとして第2検出用コイルを備え、
     前記第1制御部は、前記第1励磁用コイルへの電流の供給が停止されているときの前記第1検出用コイルの出力値に基づいて前記第2励磁用コイルへの電流の供給が停止されたのか否かを判別するとともに、前記第2励磁用コイルへの電流の供給が停止されたと判別すると、前記第1励磁用コイルへの電流の供給を開始し、
     前記第2制御部は、前記第2励磁用コイルへの電流の供給が停止されているときの前記第2検出用コイルの出力値に基づいて前記第1励磁用コイルへの電流の供給が停止されたのか否かを判別するとともに、前記第1励磁用コイルへの電流の供給が停止されたと判別すると、前記第2励磁用コイルへの電流の供給を開始することを特徴とする請求項4記載のカードリーダ。
  6.  前記第1制御部は、前記第2励磁用コイルに電流が供給されているときの前記第1検出用コイルの出力値に基づいて、前記第2金属センサが正常位置に設置されているのか否かを判別し、
     前記第2制御部は、前記第1励磁用コイルに電流が供給されているときの前記第2検出用コイルの出力値に基づいて、前記第1金属センサが正常位置に設置されているのか否かを判別することを特徴とする請求項5記載のカードリーダ。
  7.  カードの挿入口が形成されるカード挿入部と、前記カード挿入部の周辺に金属材料を含む異物が取り付けられたことを検知するための複数の金属センサとを備え、前記金属センサは、磁性材料で形成されるコアと、前記コアに巻回される励磁用コイルおよび検出用コイルとを備えるカードリーダの制御方法であって、
     複数の前記金属センサのそれぞれの前記励磁用コイルに異なるタイミングで電流を供給することを特徴とするカードリーダの制御方法。
PCT/JP2015/061857 2014-04-18 2015-04-17 カードリーダおよびカードリーダの制御方法 WO2015159974A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/304,972 US10007814B2 (en) 2014-04-18 2015-04-17 Card reader and control method for card reader

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014086084A JP6216680B2 (ja) 2014-04-18 2014-04-18 カードリーダおよびカードリーダの制御方法
JP2014-086084 2014-04-18

Publications (1)

Publication Number Publication Date
WO2015159974A1 true WO2015159974A1 (ja) 2015-10-22

Family

ID=54324175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/061857 WO2015159974A1 (ja) 2014-04-18 2015-04-17 カードリーダおよびカードリーダの制御方法

Country Status (3)

Country Link
US (1) US10007814B2 (ja)
JP (1) JP6216680B2 (ja)
WO (1) WO2015159974A1 (ja)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6539610B2 (ja) 2016-03-24 2019-07-03 日本電産サンキョー株式会社 カードリーダおよびカードリーダの制御方法
KR102505254B1 (ko) * 2016-10-13 2023-03-03 삼성전자주식회사 데이터를 송신하는 전자 장치 및 그 제어 방법
JP7113696B2 (ja) * 2018-08-07 2022-08-05 日本電産サンキョー株式会社 カードリーダ
CN110069952B (zh) * 2019-03-27 2021-07-13 百富计算机技术(深圳)有限公司 终端测试方法、装置和终端测试系统
US20230132132A1 (en) * 2021-10-22 2023-04-27 International Business Machines Corporation Card skimming detection
US20240039654A1 (en) * 2022-07-29 2024-02-01 Ncr Corporation Internal card reader skimmer disrupter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272922A (ja) * 1995-03-29 1996-10-18 Sankyo Seiki Mfg Co Ltd カ−ドリ−ダの走行路への異物挿入検出機構
WO2011093340A1 (ja) * 2010-01-27 2011-08-04 日本電産サンキョー株式会社 カードリーダ
JP2014186479A (ja) * 2013-03-22 2014-10-02 Oki Electric Ind Co Ltd 自動取引装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2351586B (en) * 1999-06-29 2003-11-12 Ncr Int Inc Self service terminal
DE102005043317B3 (de) * 2005-09-12 2007-04-12 Wincor Nixdorf International Gmbh Verfahren und Einrichtung zum Erzeugen eines elektromagnetischen Schutzfeldes für ein Kartenlesegerät
US9727850B2 (en) * 2010-03-29 2017-08-08 Forward Pay Systems, Inc. Secure electronic cash-less payment systems and methods
JP6023409B2 (ja) 2011-08-09 2016-11-09 日本電産サンキョー株式会社 カードリーダ
US9203548B2 (en) * 2012-11-27 2015-12-01 Diebold Self-Service Systems Division Of Diebold, Incorporated Automated banking machine that outputs interference signals to jam reading ability of unauthorized card reader devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272922A (ja) * 1995-03-29 1996-10-18 Sankyo Seiki Mfg Co Ltd カ−ドリ−ダの走行路への異物挿入検出機構
WO2011093340A1 (ja) * 2010-01-27 2011-08-04 日本電産サンキョー株式会社 カードリーダ
JP2014186479A (ja) * 2013-03-22 2014-10-02 Oki Electric Ind Co Ltd 自動取引装置

Also Published As

Publication number Publication date
JP2015207075A (ja) 2015-11-19
US20170185811A1 (en) 2017-06-29
JP6216680B2 (ja) 2017-10-18
US10007814B2 (en) 2018-06-26

Similar Documents

Publication Publication Date Title
WO2015159974A1 (ja) カードリーダおよびカードリーダの制御方法
JP6461670B2 (ja) カードリーダおよびカードリーダの制御方法
JP6023409B2 (ja) カードリーダ
JP6155164B2 (ja) カードリーダおよびカードリーダの制御方法
US9864891B2 (en) Automatic print speed control for indicia printer
US8985450B2 (en) Card insertion part and card reader
US8511542B2 (en) Automated teller machine and voice prompt method thereof
US10055615B2 (en) Card reader
JP6006135B2 (ja) 画像読取装置、画像読取システム、エラー判定方法、及びエラー判定プログラム
US11449690B2 (en) Card reader and control method therefof
US9557699B2 (en) Image forming apparatus, control method, and program for determining a remaining amount of recording material
US11182571B2 (en) Magnetic recording medium processing device and control method
JP6425878B2 (ja) 硬貨処理装置
KR100619054B1 (ko) 컬러 바코드를 이용하여 이미지의 인쇄를 제어하는 방법및 장치
JP2005052226A (ja) バーコードを利用したカード読み取り装置
JP6560987B2 (ja) 生体情報処理装置、生体情報処理装置の動作制御方法、および生体情報処理システム
JP2006187988A (ja) 店頭端末装置、障害案内表示方法及び障害案内表示プログラム
JP6370173B2 (ja) Mrセンサおよびカードリーダ
JP7179599B2 (ja) カードリーダ及びカードリーダ制御方法
KR101964161B1 (ko) 스마트 카드
US10083327B2 (en) Card reader and control method therefor
JP2018055557A (ja) カードリーダおよびカードリーダの制御方法
JP2006040099A (ja) 硬貨識別装置
JP6312549B2 (ja) 通帳処理装置、自動取引装置、異物検出方法
JP2019102107A (ja) カードリーダおよびカードリーダの制御方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15780666

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15304972

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 15780666

Country of ref document: EP

Kind code of ref document: A1