In the drawings:
a) and 1(b) are explanatory views showing a mechanical and electrical structure of a magnetic data reading device for performing a demodulation method for magnetic data in accordance with an embodiment of the present invention;
a) through 3(i) are explanatory views for explaining a demodulation method for magnetic data in accordance with an embodiment of the present invention.
An embodiment of the present invention will be described below with reference to the accompanying drawings.
a) and 1(b) are explanatory views showing a mechanical and electrical structure of a magnetic data reading device for performing a demodulation method for magnetic data in accordance with an embodiment of the present invention. In this embodiment, a magnetic data reading device is a card reader 1. Therefore,
In
Magnetic data on the magnetic card 20 which is carried into the inside of the card reader 1 are read out by a magnetic head 11. In other words, the magnetic head 11 contacts with a magnetic stripe and relatively slides on the magnetic stripe on a surface of the magnetic card 20 to perform reading of the magnetic data. The magnetic data which are read out are sent to a reproducing circuit 32 shown in
As shown in
The reproducing circuit 32 has a function to form a digital signal from magnetic data (analog signal) which are read. For example, the reproducing circuit 32 is structured of a band pass filter BPF, an amplifier such as an OP amp, a capacitor and the like, a differential circuit, an integration circuit, a comparator and the like. Only an analog signal having a frequency with a specified bandwidth is passed through the band pass filter BPF to remove a high frequency noise from the analog signal. Further, the amplitude of the analog signal where the high frequency noise has been removed is amplified by the amplifier. In addition, peak points or zero crossing points of the analog signal whose amplitude has been amplified are detected by the differential circuit or the integration circuit and then, on the basis of the peak points or the zero crossing points, a digital signal in which a Hi-level and a Lo-level are alternately changed is generated.
Next, the digital signal generated in the reproducing circuit 32 is transferred to the CPU 31. The CPU 31 that receives this digital signal stores inversion time intervals of the digital signal to the RAM 34 as time data. After carrying of the magnetic card 20 has finished, the time data stored in the RAM 34 are read out to generate bit data.
Generating process of the bit data will be described in detail with reference to
In
When the time data are judged to be smaller than the demagnetization judging time interval by the CPU 31 (step S1: NO), the time data are compared with the bit reference time interval (step S2). More specifically, the CPU 31 refers to the bit reference time interval which is previously stored in the ROM 33 to judge whether or not the time data, which are read out from the RAM 34, is larger than the bit reference time interval which is used to judge the bit to be “0” or “1”. In this case, when the time data are larger than the bit reference time interval (step S2: YES), the time data are decided to be bit “0” (step S3) and, when the time data are smaller than the bit reference time interval (step S2: NO), the time data are decided to be bit “1” (step S4).
After that, the CPU 31 judges whether or not judgments on all time data have finished (step S5) and, when not finished, processes of the step S1 through the step S5 are repeated. When judgments for all time data have finished, generating processes of the bit data are finished (step S6). After that, data characters of the track in the magnetic stripe are formed from the generated bit data and error detection of the data characters is performed to determine whether the read magnetic data are correct or not. The determination result is transferred as a response to a host device (ATM, for example) and, in this manner, demodulation of the magnetic data is finished.
In the demodulation method for magnetic data in accordance with an embodiment of the present embodiment, in the process of the step S1 in
a) through 3(i) are explanatory views for explaining demodulation method for magnetic data in accordance with an embodiment of the present invention.
As shown in
However, when abnormality occurs in a digital signal due to demagnetization, for example, as shown in the center portion of
On the contrary, in a demodulation method in accordance with an embodiment of the present embodiment, the demagnetization judging time interval shown in
As described above, according to the demodulation method for magnetic data in accordance with the embodiment, incorrect judgment is prevented that data in a track have been read out correctly although they have wrong bit data, and thus demodulation accuracy can be enhanced. Further, since generation of incorrect bit data is discontinued, processing time is reduced. In addition, as shown in
When the card reader 1 has received a reading command from its host device and data on a magnetic stripe have been read out, in a case that abnormal data are detected, the card reader 1 commonly returns an abnormality notice to the host device. The abnormality notice may include abnormality contents to inform which portion of data on the magnetic stripe has abnormality. The abnormality contents may include, for example, start code is not detected, end code is not detected, parity check is abnormally detected, LRC characters are not detected, and a wrong LRC character is detected. Therefore, when an abnormality content in which demagnetization is occurred in the magnetic data is added to these contents, abnormality content of magnetic data can be informed to the host device.
The demodulation method for magnetic data in accordance with an embodiment of the present invention is effectively applicable to enhance demodulation accuracy.
While the description above refers to particular embodiments of the present invention, it will be understood that many modifications may be made without departing from the spirit thereof. The accompanying claims are intended to cover such modifications as would fall within the true scope and spirit of the present invention.
The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims, rather than the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
Number | Date | Country | Kind |
---|---|---|---|
2006-141778 | May 2006 | JP | national |