IC CARDS AND INFORMATION STORAGE CIRCUIT THEREFOR

Abstract: An IC card (1) having a self-identification function in the card itself comprises an input key (2) for inputting a personal identification number (PIN), a comparator (43) for comparing the PIN input via the input key (2) with a prerecorded PIN. A transaction condition signal is produced when a match is found. An external terminal (8) is provided for outputting to the outside of the card, e.g. a bank terminal, to enable transaction by use of the card. An information storage circuit suitable for use in the IC card (1) is also disclosed.

Description: This invention relates to an IC card which protects against misuse br incorporating a self-identification function into the card itself. This invention also relates to an information storage circuit suitable for use in IC cards or the like employing a solar battery. The information storage circuit can keep the stored information intact even if the voltage of the power supply fluctuates duo to its dependence on a solar battery. An example of IC (integrated circuit) card is disclosed in Japanese Patent Application Laid-open No. 1986/5389 (EP 0 167 044). The IC card disclosed therein includes a data input means, a data display means, and a power supply means to have built-in self-identification features. In other words, a password or personal identification number (PIN) is input by using a keyboard integrated into the card, and, this input personal identification number is compared with a personal identification number already stored in an internal electrically erasable read only memory (EEPROM) of the card. If the two numbers match, it means that the user of the card is its legitimate owner. Therefore, before making a transaction by using this type of IC card, the user inputs his personal identification number, using the keyboard of the card, and, after entering this personal identification number, the user presses the 'MATCH' key on the keyboard of the card to initiate the comparison of the personal identification number just entered with the identification number already stored in the card. If the two numbers match, an 'OK' message is displayed on a liquid crystal display of the card for a duration of about 10 seconds, indicating that the user of the card is the legitimate owner of the card. The card can then be used to make the transaction, only within the time interval during which the 'OK' message is being displayed. If the two numbers do not match, this 'OK' message is not displayed and the card counts up a counter in the EEPROM of the card which contains the number of times this mis-match occurred. Moreover, a message requesting the user to re-input the personal identification number is displayed on the display means of the card. However, in the type of the identification card described above, since the duration for which the card is usable for making a transaction after inputting the correct personal identification number is as short as 10 seconds, the card is associated with the following problems : (1) The transaction-enabling duration may be over while the user is queuing in front of the counter after the transaction OK is set. In such a case, the personal identification number must be input again. (2) Moreover, the card owner must input his personal identification number in the vicinity of the terminal device such as ATM, and the personal identification number may be divulged to others. Moreover, where the power supply of the prior art IC cards is a solar battery, as in Japanese Utility Model Application No.1987/68811, if the card is passed through the dark when inserted into the bank terminal, the power supply voltage drops, and as a result, the above mentioned 'OK' message disappears. This problem also occurs whenever the power supply voltage drops as a result of insufficient amount of light for the solar battery, for example when the card is turned over or is kept in a pocket. The simplest way to solve this problem is to employ an ordinary battery in the IC card instead of the solar battery, and then us a monomultivibrator circuit to hold the output signal active for a fixed time interval. However, this method is not practicable since interchanging the battery cells in the IC card is a cumbersome process. For devices like the IC cards, the output signal must be held active for a fixed time interval, after which it should be automatically deactiviated. Such devices generally are affected by the drop in the power supply voltage. SUMMARY OF THE INVENTION An object of this invention is to provide an IC card which solves the above-described problems. Another object of the present invention is to provide an information storage circuit which is not affected by fluctuations of the power supply voltage. These objects are solved by the IC card according to claim 1 and by the information storage circuit according to claim 9, respectively. According to one aspect of the present invention, there is provided an IC card having a self-identification function in the card itself, comprising an input means for inputting a personal identification number, means for comparing the personal identification number input via the input means with a personal identification number prerecorded in the IC card, a transaction condition signal generator for producing a signal permitting transaction by use of the card when a match is found by the comparing means, and an external terminal for outputting to the outside of the card said signal produced by said transaction condition signal generator. The input means can be used to input a command to select the transaction mode and input the personal identification number. The comparing means compares this personal identification number entered via the input means with the personal identification number already stored in the card. If the two personal identification numbers match, a transaction condition signal generator produces a signal. This signal is output through the external terminal, so that it can be fed to a bank terminal into which the card is inserted. The signal generator can be a personal identification number match memory which stores the data to that effect until a transaction is completed or a timer circuit stores the same data for a fixed time interval. For systems in which simpler operations are preferred, either one of the outputs of the memory and the timer circuit is used as a condition to enable transaction. For systems in which tight security is desired, both of the outputs are used as the condition to enable transaction. The reason is explained below. When the personal identification number match memory means is once set it remains set until the transaction is made at the terminal device such as the ATM. However, on the other hand, if the card is lost when it is in the set state, it can be used, although only once, by an unauthorized person. In order to overcome this drawback, the IC card of the present invention may be configured to enable the transaction by the logical 'AND' of the above mentioned output of the personal identification number match memory means and the output of the timer circuit. According to another aspect of the invention, there is provided an information storage circuit comprising a first FET with its gate connected to an input terminal, and its drain connected to a power supply, a capacitor connected between the source of the first FET and the ground, a second FET with its gate connected to the source of the first FET, its source grounded and its drain connected to an output terminal, and means for applying a pulse to the input terminal, a resistor connected between the power supply and the output terminal; wherein when the pulse is applied to the input terminal information is maintained at the output terminal for a predetermined time determined by the capacitance of the capacitor and the leakage current even if the voltage of the power supply disappears or drops. When a high potential pulse is applied to the input terminal, the first FET is turned ON and the capacitor is charged up to the power supply voltage. Since the source of the first FET connected to the capacitor is also connected to the gate of the second FET, the second FET also becomes ON, and the output terminal of the circuit becomes LOW. The voltage at the output terminal remains at the LOW level for a fixed time interval, even after the high potential pulse at the input terminal has disappeared, and until the capacitor is discharged by the leakage current of the FET. Moreover, since the power supply is isolated from the capacitor through the first and second FETs, the "LOW" output voltage is not affected by the disappearance or drop in the voltage of the power supply. BRIEF DESCRIPTION OF THE INVENTION Figure 1A and Figure 1B are perspective views, as seen from the front and the back, respectively, of an IC card of an embodiment of the invention. Figure 2 is a functional block diagram of the IC card of Figure 1A and Figure 1B. Figure 3 is a circuit diagram of an information storage circuit which can be incorporated in the IC card of the embodiment of Figure 1A, Figure 1B and Figure 2. Figure 4 is a time chart of the information storage circuit of the Figure 3. DETAILED DESCRIPTION OF THE EMBODIMENTS Figure 1A is a perspective view, as seen from the front, of an IC card of an embodiment of the present invention. Figure 1B is a perspective view, as seen from the back, of the IC card. In these figures, the reference numeral 1 designates an IC card; 2 is a keyboard for entering the personal identification number and for commanding various functions to be performed including commanding selections of the transaction mode; 3 is a display section for display for the purpose of confirmation of the key input, and for display of guidance for the purpose of instructing the procedure of operation of the keys. This display section can be formed of, for example, the standard liquid crystal displays (abbreviated as LCD hereinafter). An IC 4 is a microcomputer which comprises a central processing unit (CPU) for performing various control operations, a memory, and the like in a single chip. The microcomputor is built into the card itself. A power supply section 5 is used to supply electric power to various internal circuits of the IC card when the card is used separately from the terminal equipment such as ATM. This power supply sections can be formed of, for example, a solar battery. The mode of the operation in which the card operates without being electrically connected to external devices is referred to as the offline operation mode. The numeral 6 designates connectors used for connections of the IC card with a card reader/writer to exchange information with external terminal equipment. The mode of the operation in which the card operate exchanging information with an external device is referred to as the online operation mode. Figure 2 is a functional block diagram of an embodiment of the IC card of the present invention. In this figure, the user of the card, designated by the numeral 7, first commands the transaction mode by operating the keyboard 2 of the IC card 1. This command sets the mode judgement section 44, which remains set until a transaction is completed. Subsequently, the user inputs his personal identification number. The input personal identification number is then stored in the input personal identification number memory 41, which is constructed of an internal random access memory (referred to as RAM hereinafter) of the IC 4. The comparison section 43 compares this personal identification number with a reference personal identification number registered in a reference personal identification number memory 42, which is constructed of an internal electrically erasable programmable read only memory (EEPROM) of the IC 4. The function of the comparison section 43 can be realized by a program stored in the internal read only memory (referred to as ROM hereinafter) of the IC 4. If the comparison of these two numbers by the comparison section 43 finds a match, a pulse signal "1" is produced from the comparison section 43, and by the logical product of this output and the output from the mode judgement section 44, a logical '1' is set in the personal identification number match memory 45 which is constructed of an identical EEPROM of the IC 4. At the same time, this match of the numbers also results in the triggering of the timer circuit 46. The function of the mode judgement section 44 can be realized by a program stored in the internal ROM of the IC 4. The timer circuit 46 can be formed, for example, of a fixed time constant circuit and a switching circuit in which a capacitor is rapidly charged while the "MATCH" signal is output, and after that the capacitor is discharged over a predetermined time. These circuits may be built in the IC 4. The 'MATCH' output of the comparison section 43 is fed to the display unit as well. This gives permission of display, on condiction of the personal identification number match, of the balance stored in a balance memory 47, which is formed in the internal EEPROM of the IC 4. Although not illustrated, when the comparison section 43 finds a mismatch, a counter, formed of a memory, for counting the number of erroneous inputs is incremented by one. The outputs of the personal identification number match memory 45 and the timer circuit 46 are output through the connectors, so that they can be fed to a bank machine or terminal equipment 8 when the IC card is inserted in and electrically connected to the terminal equipment 8. A transaction enable/disable section 81 of the terminal equipment 8 enables transaction only when the output of the personal identification number match memory 45 and the output of the timer circuit 46 are both sect. In other words, it permits the transaction on the logical 'AND' condition of these two inputs. The personal identification number match memory 45 and the mode judgement section 44 are reset by a signal 8a from the terminal equipment 8 which is fed from the terminal equipment 8 through the connector, after the completion of each transaction. In the foregoing explanation, it was mentioned that the operation of the timer circuit 46 is triggered by the 'MATCH' signal from the comparison section 43. However, the drawback in this mechanism is that if the prescribed valid time duration of the output of the timer circuit 46 is over before the user, having set the personal identification number match memory 45 by entering the correct personal identification number, inserts the IC card in the terminal equipment 8, the user has to input the personal identification number again, this time probably in front of the other people, e.g., in a crowded queue, so that the personal identification number may be seen by others. In order to eliminate this problem, it is desirable that a secondary comparison section 48 be provided and a secondary reference personal identification number be registered in the reference personal identification number memory 42 so that an input secondary personal identification number can be input and a "MATCH" output from the secondary comparison section 48 will re-start the time-counting operation of the timer circuit 46. Thus, this mechanism allows the user to set the personal identification number match memory 45 by entering the primary personal identification number at the user's home or the like in order to maintain the secrecy of the personal identification number, and then re-activate the output of the timer circuit 46 just before making the transaction by entering a simple secondary personal identification number, which can be, for example, even the initials of the card owner. Of course, the primary personal identification number can be used as the secondary personal identification number as well. As has been described in detail, the above-described embodiment of the invention provides an IC card which comprises an input means, a display means, a power supply means, a personal identification number match memory means formed of a non-volatile memory for storing the input of the correct personal identification number through the input means, and a timer circuit means starting counting operation when the correct personal identification number is input, wherein the transaction is enabled only when both are set. The above-described embodiment is therefore applied to highly secure cash card systems or electronic passbook systems. Although the previous explanation assumes that the personal identification number used for verification of the authorized owner is a number, in fact, any symbols other than numbers can equally be used as a personal identification number. The term "personal identification number" as used in the appended claims should therefore be construed to include such alternatives. Moreover, the foregoing description relates to a configuration in which the IC 4 employs a single chip microcomputer, containing the CPU, the memory and the like. However, the IC may consists of plural chips and the CPU and the memory are built in separate chips. Figure 3 is a circuit diagram of an example of the information storage circuit which can be used as part of the timer circuit section 46 in Figure 2. The input terminal 51 is connected to the gate of a first FET 52; a power supply line V DD 57 is connected to the drain of the first FET 52; and a node 54 which is the source of the first FET 52 is grounded through the capacitor 53. The node 54 is also connected to the gate of a second FET 56. The drain of the second FET 56 is connected to the output terminal 55 and its source is grounded. A resistor 58 is the load resistor of the second FET 56, and is connected between the source of the second FET 56 and the power supply line V DD 57. The FETs of the above information storage circuit can be formed in a semiconductor chip of a single chip CMOS microcomputer. The first and the second FETs can be implemented by N-channel MOS FETs. The capacitor 53 can have a capacitance in the order of 30pF, and it can be either internally incorporated into the chip or it can be externally provided. The load resistor 58 can be implemented by a MOS FET. The power supply V DD can be about 1.5 V in IC cards using the solar battery. The threshold voltage of the first FET 52 can be approximately 1.2 V due to the back-bias effect, and the threshold voltage of the second FET 56 can be approximately 0.8 V. When the information storage circuit is incorporated in the timer circuit 46 of Figure 2, the input terminal 51 is connected through a level shifter 60 to the output of an AND gate 58 having one input connected to the output 44a of the mode judgement section 44. The other input of the AND gate 58 is connected to the output of an OR gate 59 receiving the outputs 43a and 48a of the comparison section 43 and the secondary comparison section 48. Thus, the timer is triggered by the logical product of the output 44a of the made judgement section 43a and the logical sum of the outputs 44a and 48a of the comparison section 43 and the secondary comparison section 48. Figure 4 shows a timing chart showing the operation of the information storage circuit. This diagram shows that the voltage of the power supply voltage V DD , due to its dependence upon the solar battery, is about 1.5 V when the amount of light falling on the card is sufficient but it drops when the card is kept in a dark place. A high potential pulse is applied to the input terminal 51. This signal can be generated, for example, when the microcomputer identifies the user by the personal identification number input through the keyboard and the 'Deposit Withdrawal OK' signal is output. This high potential pulse should be greater than the sum of the power supply voltage (1.5 V) and the threshold voltage of the first MOS FET (1.2 V). Therefore, this pulse should be higher than 2.7 V and preferably, higher than 3 V. The level shifter 60 is used to raise the level (1.5 V) of the output of the AND gate 58 to the level (3 V) required for input to the first FET 52. By applying a pulse larger than the sum of the power supply voltage and the threshold of the first FET 52, the first FET 52 can be switched to a perfectly ON state, and as a result the capacitor 53 can be charged up to the voltage of the power supply V DD . The voltage at the node 54 also rises up to the power supply voltage V DD due to the ON state of the first FET 52. When the voltage at the node 54 exceeds the threshold voltage of the second FET 56, the second FET 56 also switches ON, and the voltage at the output terminal 55 of the circuit becomes LOW. When the high voltage pulse at the input terminal disappears, the first FET 52 becomes OFF, and the capacitor 53 is isolated from the power supply V DD . However, irrespective of whether this capacitor is incorporated internally into the IC card or connected externally, a small leakage current exists between each electrode of the capacitor and the circuit board. The leakage resistance is of the order of 10¹⁰ to 10¹¹ ohm. Moreover, there is leakage current through the FETs as well, but this is very small compared to the leakage current through the capacitor. Thus, the main source of the discharge current in this circuit is the leakage current through the capacitor. Therefore, the capacitor 53 is discharged mainly due to its own extremely small leakage current. As a result, the voltage at the node 54 drops gradually. The time during which the voltage at the node 54 reduces to about half depends upon the time constant which is determined by the leakage resistance and the capacitance of the capacitor 53 as follows. T = 10¹¹ (ohm) x 30 (pF) = 50 (minutes) During this time interval, the second FET 56 is in ON state and the voltage at the output terminal 55 remains at the LOW level. Moreover, during this time interval, the voltage at the node 54 is completely isolated from the power supply voltage V DD . Therefore, the voltage at the output terminal 55 remains at the LOW level even in case of disappearance of the power supply voltage V DD as shown in Figure 4. The LOW level state at the output terminal 55 can be used as a condition for 'Deposit Withdrawal OK'. During the time interval, in which the output terminal 55 is kept LOW, the card can be inserted in a bank terminal to withdraw cash from the deposit. Since the output signal automatically is deactivated after the time interval 'T' mentioned above, it is unlikely that the card be used by an unauthorized person in case of loss or the like. The above mention time interval 'T' is not very accurate since it depends upon the leakage current of the capacitor. However, an insulation resistance of the order of 10¹⁰ to 10¹¹ ohm can be achieved without difficulty for a 30pF externally connected capacitor, giving a time interval of 30 minutes to one hour required for making transactions by using the card, during which the output signal remains LOW. The LOW level output at the terminal 55 should preferably be used in combination with HIGH level output of another circuit, e.g., the personal identification number match memory 45 in Figure 2. That is the logical product (AND) of the LOW level (signifying logical "1") of the output 45a should be used as a condition for permitting the transaction. This will prevent erroneous operation which may occur if the solar battery breaks down or disconnection occurs. An alternative is to obtain the logical product of the power supply voltage V DD and the output ("1" is signified by "LOW") of the terminal 55. The AND gate for such purposes can be built in either in external teminal equipment, as in Figure 2, or in the IC card itself. As has been described, the information storage circuit employs a simple circuit configuration but it keeps the stored information intact even if power supply voltage disappears or drops. Therefore, when employed in IC cards using a solar battery, the above-described circuit keeps the output information even if the power supply voltage disappears due to insufficient amount of light falling on the solar battery. Moreover, since the information at the output terminal automatically is deactivated after a fixed time interval, the circuit also ensures the security of the IC card. The circuit of the above-described embodiment can achieve fixed time intervals of 30 minutes to one hour which is relatively long and is suitable for use in IC cards.

Claims: An IC card having a self-identification function in the card itself, comprising an input means (2) for inputting a primary personal identification number and a secondary personal identification number, storage means (42) for storing a primary reference personal identification number and a secondary reference personal identification number. primary comparing means (43) for comparing the primary personal identification number input by use of the input means (2) with the primary personal identification number prerecorded in said storage means (42), secondary comparing means (48) for comparing the secondary personal identification number input by use of the input means (2) with a secondary personal identification number prerecorded in said storage means (42), a personal identification number match memory (45) in the form of an electrically erasable programmable read-only memory (EEPROM) for storing data indicating that a match has been found by said primary comparing means (43), a timer circuit (46) triggered into a first state when a match is found by said primary comparing means (43) or by said secondary comparing means (48), and maintaining said first state for a predetermined interval (T) and producing a signal while said first state is maintained, external terminals for outputting, to the outside of the IC card, said signal by said personal identification number match memory (45) and said signal produced by said timer circuit (46). An IC card according to claim 1, wherein said timer circuit (46) comprises an information storage circuit comprising: an input terminal (51), a first FET (52) with its gate connected to the input terminal (51), and its drain connected to a power supply (5;57), a capacitor (53) conncected between the source of the first FET (52) and the ground, a second FET (56) with its gate connected to the source of the first FET (52), its source grounded and its drain connected to an output terminal (55), and means (58,59,60) for applying a pulse to the input terminal (51) when a match has been found by said comparing means to charge said capacitor, and a resistor (58) connected between the power supply (57) and the output terminal (55) wherein when the pulse is applied to the input terminal (51) information is maintained at the output terminal (55) for a predetermined time (T) determined by the capacitance of the capacitor (53) and the leakage current even if the voltage (V DD ) of the power supply (5;57) disappears or drops. An IC card according to claim 2, wherein said means (58,59,60) applying a pulse applies a pulse which is greater than the sum of the power supply voltage (V DD ) and the threshold voltage (V th ) of the first FET (52). An IC card according to claim 1, 2 or 3, wherein said match memory (45) produces a high level output when a match is found by said comparing means (43). An IC card according to claim 2, wherein said power supply (5;57) comprises a solar battery. An IC card according to claim 3, wherein said means (58,59,60) applying a pulse comprises a level shifter (60) responsive to a logical level within the voltage range of the power supply (5;57) and producing a pulse exceeding the voltage range of the power supply. An IC card according to claim 1, wherein said storage means (42) comprises a read-only memory (ROM). An IC card according to claim 7, wherein said read-only memory comprises an electrically erasable programmable read-only memory (EEPROM). Information storage circuit comprising: a first FET(52) with its gate connected to an input terminal (51) and its drain connected to a power supply (5;57), a capacitor (53) connected between the source of the first FET (52) and the ground, a second FET (56) with its gate connected to the source of the first FET (52), its source grounded and its drain connected to an output terminal (55), means (58,59,60) for applying a pulse to the input terminal (51), and a resistor (58) connected between the power supply (5;57) and the output terminal (55), wherein when the pulse is applied to the input terminal (51) information is maintained at the output terminal (55) for a predetermined time (T) determined by the capacitance of the capacitor (53) and the leakage current even if the voltage (V DD ) of the power supply (5;57) disappears or drops. Information storage circuit according to claim 9, wherein the pulse applied to the input terminal (51) is greater than the sum of the power supply voltage (V DD ) and the threshold voltage (V th ) of the first FET (52).

Inventors: ATSUMI, SHIRO C/O OKI ELECTRIC IND. CO., LTD., KOTANI, SHINTARO C/O OKI ELECTRIC IND. CO., LTD., TANAGAWA, KOHJI C/O OKI ELECTRIC IND. CO., LTD., WATAHIKI, SADAO C/O OKI ELECTRIC IND. CO., LTD.
Applicants: OKI ELECTRIC INDUSTRY COMPANY, LIMITED
Application year: 1988
Main classification: G07F7
IPC codes: G07F7