DATA CARRIER FOR THE ADAPTATION OF A CONSUMPTION TIME INTERVAL TO THE POWER CONSUMPTION OF THE DATA CARRIER

Abstract: In a data carrier (2) for the communication of communication data (KD1, KD2) with a base station, having processing means (4) for the processing of communicated communication data (KD1, KD2), and having voltage supply means (5) which are arranged to receive an external supply voltage (UEXT) applied to the data carrier during a charging time interval (TL) until a turn-on instant (te1, te2, te3) and which are adapted to supply an internal supply voltage (UINT) to the processing means (4), decoupled from the external supply voltage (UEXT), during a consumption time interval (TV1, TV2, TV3) starting at the turn-on instant (te1, te2, te3), the processing means (4) being adapted to interrupt the processing from an interruption instant (tu1, tu2, tu3), when the internal supply voltage (UINT) decreases below a threshold voltage (US), till the turn-on instant (te1, te2, te3), time measurement means (12) are now provided, which time measurement means are adapted to measure a processing time interval (TP1, TP2, TP3) defined as the time interval from the turn-on instant (te1, te2, te3) till the interruption instant (tu1, tu2, tu3), and the voltage supply means (5) are configured to adapt the consumption time interval (TV1, TV2, TV3) to the measured processing time interval (TP1, TP2, TP3).

Description: Data carrier for the adaptation of a consumption time interval to the power consumption of the data carrier The invention relates to a data carrier for the communication of communication data with a base station, having processing means for the processing of communicated communication data, and having voltage supply means which are arranged to receive an external supply voltage applied to the data carrier during a charging time interval until a turn-on instant and which are adapted to supply an internal supply voltage to the processing means, decoupled from the external supply voltage, during a consumption time interval starting at the turn-on instant, the processing means being adapted to interrupt the processing from an interruption instant, when the internal supply voltage decreases below a threshold voltage, till the turn-on instant. Such a data carrier of the type defined in the opening paragraph is known from the document WO 00/26868 and is formed by a transponder of a smart card. The known data carrier is adapted to communicate communication data from or to a base station via a contact pad of the smart card. The data carrier has processing means for processing the communication data received via the contact pad or to be output via the contact pad. The processing means then execute a processing program in which general arithmetic operations, cryptographic arithmetic operations for encrypting and decrypting confidential information or data, and further processing steps are performed during read and write access to the memory means. The power consumption of the data carrier differs depending on the processing step being carried out and on the bit combination of the data being processed. In order to preclude spying out of processed confidential data by a hacker through analysis of the power consumption in the individual processing steps, which power consumption can be detected at the contact pad, the known data carrier has special voltage supply means. These voltage supply means include a capacitor which, during a charging time interval, is charged with an external supply voltage via the contact pad until a turn-on voltage is reached at a turn-on instant. Subsequently, the capacitor, decoupled from the external supply voltage, supplies an internal supply voltage to the processing means during a consumption time interval. During a discharge time interval following the consumption time interval the capacitor is discharged to a minimum voltage, upon which it is recharged. This guarantees a decoupling of the internal power consumption from the external power consumption that can be determined by measurement via the contact pad. The processing means interrupt the execution of the processing program when during the consumption time interval the internal supply voltage decreases below a threshold voltage at an interruption instant. Thus, it is prevented that the power stored in the capacitor is inadequate to complete a processing step with a high power consumption, which could lead to erroneous computing or storage results. With the known data carrier it has proved to be a disadvantage that during processing steps with a high power consumption the processing by the processing means is already interrupted comparatively soon after the turn-on instant and the remainder of the fixed predetermined consumption time interval is not used as processing time for the execution of the processing program. As a result of this, processing steps with a high power consumption require a comparatively long processing time, which is a major disadvantage. It is an object of the invention to provide a data carrier in which processing steps with a high power consumption have a substantially shorter processing time while the high immunity against hacking of confidential data is maintained. According to the invention, in order to achieve this object with a data carrier of the type defined in the opening paragraph, there are provided time measurement means which are adapted to measure a processing time interval defined as the time interval from the turn-on instant till the interruption instant, and the voltage supply means are configured to adapt the consumption time interval to the measured processing time interval. Thus, it is achieved that the consumption time interval is measured and reduced continuously until essentially the entire consumption time interval is utilized as processing time interval. When some processing steps with a high power consumption are again followed by processing steps with a lower power consumption, the consumption time interval is extended until essentially the entire consumption time interval is utilized again as processing time interval. This has the advantage that the ratio between the processing time interval and the consumption time interval of the data carrier can be improved considerably, particularly for processing steps with a high power consumption, which enables the processing program to be executed with a higher speed. As in the data carrier in accordance with the invention the processing means also execute a plurality of processing steps in one processing time interval each, the internal power consumption remains decoupled from the external power consumption, which can be detected via the contact pad, which has the advantage that confidential information cannot be hacked. The measures as defined in claim 2 have the advantage that a reliable slow adaptation of the consumption time interval to the processing time interval is achieved as a result of the stepwise reduction of the consumption time interval. The measures as defined in claim 3 have the advantage that the consumption time interval is prolonged very rapidly when the entire processing time interval which is possible until the threshold voltage is crossed is not utilized for the execution of processing steps. The measures as defined in claim 4 have the advantage that a hacker cannot detect any patterns in the internal power consumption. The measures as defined in claim 5 have the advantage that the consumption time interval is already adapted right from the start to the directly following processing steps to be executed. The invention will now be described in more detail hereinafter with reference to an embodiment given by way of example but to which the invention is not limited. Fig. 1 shows a smart card for the contact-bound communication of communication data via a contact pad, which card has time measurement means for the measurement of the processing time interval. Fig. 2 shows the external supply voltage and the internal supply voltage of the smart card as functions of time and switching information appearing in the smart card of Fig. 1 as a function of time. Fig. 1 shows a smart card 1 which includes a data carrier 2 and a contact pad 3. The data carrier 2 is adapted to provide contact-bound communication of communication data KDl and KD2 with a base station. The base station can be, for example, an automated teller machine for dispensing cash. During such contact-bound communication communication data KDl and KD2 are transferred via the contact pad 3 of the smart card 1 and a contact pad of the base station, which both comply with the standard ISO7816. The data carrier 2 is energized with an external supply voltage UEX T from the base station via the contact pad 3. The data carrier 2 includes processing means 4 for processing the communication data KDl received from the base station and the communication data KD2 to be transferred to the base station. The processing means 4 include a microprocessor of the type 80C51 , a co-processor for encrypting and decrypting confidential information or data, memory means (ROM) for the storage of a processing program and intermediate memory means (RAM). Communication data KDl and KD2 processed by the data carrier 2 or stored in the memory means and read out during the processing may include confidential information, such as for example a bank code. This confidential information should in no way be readable by a non-authorized person, referred to as a hacker. In order to preclude this, the data carrier 2 has voltage supply means 5 which decouple an internal supply voltage UΓ NT generated by the voltage supply means 5 from the external supply voltage UE XT during the processing of confidential information by the processing means 4. Thus, it is precluded that a hacker can deduce the power consumption of the processing means 4 during the execution of a single processing step of the processing program by analyzing the power consumption of the data carrier 2, which can be detected at the contact pad 3. If such a deduction were possible, the confidential data transmitted for example from the microprocessor to the memory means via an internal data bus during a memory processing step could be hacked because the power consumption of the processing means 4 during this memory processing step depends on the number " 1 " bits and "0" bits of the confidential data. The voltage supply means 5 include a first switch 6 and a capacitor 7, which serves for power storage. The switch position of the first switch 6 and a second switch 8 is controlled by voltage control means 9 by the supply of first switch information SIl or second switch information SI2, which is illustrated in Figs. 2B and 2C and will be elucidated hereinafter. Fig. 2A shows the external supply voltage UEXT and the internal supply voltage UΓN T as functions of time, the internal supply voltage UΓNT having a periodicity in voltage supply cycles with a cycle time interval Tz- At the beginning of the cycle time interval T Z ι, from an instant tl, the voltage control means 9 do not supply first switch information SIl to the first switch 6 but they supply the second switch information SI2 to the second switch 8. Consequently, the first switch 6 is open and the second switch 8 is closed, as a result of which the external supply voltage UEX T is supplied to the capacitor 7 for a charging time interval T until a first turn-on instant t el , when the capacitor 7 has been charged to a turn-on voltage UE. The power stored in the capacitor 7 at the first turn-on instant t el serves as a power storage for the processing means 4 and further power-consuming means of the data carrier 2 during a first consumption time interval Tvt of the first voltage supply cycle. In order to decouple the processing means 4 from the external supply voltage UE T during the execution of the processing program, the voltage control means 9 stop the supply of the second switch information SI2 at the first turn-on instant t el . As a result of this, both the first switch 6 and the second switch 8 are opened and the capacitor 7 supplies the internal supply voltage UIN T to the processing means 4 and the further power-consuming means of the data carrier 2. The voltage value of the internal supply voltage UΓN T now decreases continually in dependence on the power consumption of the data carrier 2. The data carrier 2 includes a voltage measurement stage 10 adapted to measure the instantaneous voltage value of the internal supply voltage U I N T - The voltage measurement stage 10 is adapted to supply interrupt information UI to the clock generation means 11 of the data carrier 2 when the internal supply voltage UI NT decreases below a threshold voltage US during the first consumption time interval Υ ι at a first interruption instant t ul . The clock generation means 11 do not supply a clock signal CLK to the processing means 4 from the reception of the interrupt information UI until the next, i.e. a second, turn-on instant t e2 is reached. As a result, the processing means 4 execute the processing program during the first cycle time interval Tzi from the first turn-on instant t el until the first interruption instant t u i is reached and interrupt the execution of the processing program when the internal supply voltage U Γ NT decreases below the threshold voltage US during the first consumption time interval Tvi at the first interruption instant t ul . Thus, it is precluded that a processing step having a high power consumption is started with the residual power available in the capacitor 7 after the first interruption instant t ul and cannot be completed owing to an inadequate supply voltage UΓN T , which could lead to erroneous computing or storage results. After the expiry of the first consumption time interval T VΪ at an instant t2 the voltage control means 9 supply the first switch information SIl to the first switch 6, as a result of which the capacitor 7 is discharged during a discharge time interval TE until a minimum voltage UM is reached at an instant t3. The first cycle time interval Tzi of the first supply voltage cycle of the voltage supply means 5 ends at the instant t3. Discharging the capacitor 7 until the minimum voltage UM is reached has the advantage that after the first voltage supply cycle during the charging time interval T L of the subsequent second voltage supply cycle a hacker cannot draw any conclusions from the power consumption of the processing means during the first voltage supply cycle. The operation of the voltage supply means 5 as described above provides a maximal immunity to analysis attempts by a hacker but the first processing time interval P ! actually available during the first cycle time interval Tzi to the processing means 4 in order to execute the processing program is comparatively short. During subsequent voltage supply cycles with such a short processing time interval Tp the execution of the processing program, particularly in the case of several consecutive processing steps with a high power consumption, would require a comparatively long time, which would be a disadvantage. The data carrier 2 now has time measurement means 12 adapted to measure the processing time interval Tpi between the first turn-on instant t el and the first interruption instant t ul . The time measurement means 12 are formed by a counter, which is started by the voltage measurement stage 10 at the first turn-on instant t e ι and stopped at the first interruption instant t ul . The count thus determined by the counter is applied to the voltage measurement stage 10 as counter information CI and is evaluated by the voltage measurement stage 10. The voltage measurement stage 10 subsequently supplies adaptation information AI to the voltage control means 9 in order to adapt the second consumption time interval Tγ 2 - By means of the adaptation information AI the instant at which the first switch information SIl is to be supplied is changed for the following second voltage supply cycle is changed in the voltage control means 9. Thus, it is achieved that the processing time interval Tp of each voltage supply cycle is measured and the consumption time interval Ty of the next volt supply cycle is reduced until essentially the entire consumption time interval Ty is used as a processing time interval Tp. When after some voltage supply cycles with processing steps with a high power consumption again a voltage supply cycle with processing steps with a lower power consumption occurs, the consumption time interval Ty is prolonged until essentially the entire consumption time interval Ty is used again as a processing time interval Tp. This has the advantage that the ratio between the processing time interval Tp and the cycle time interval Tz of each voltage supply cycle of the data carrier 2, particularly in the case of processing steps with a high power consumption, can be improved substantially, which enables the processing program to be executed at a higher speed. Since the processing means 4 perform a plurality of processing steps during each voltage supply cycle the internal power consumption of a single processing step remains decoupled from the external power consumption, which can be determined at the contact pad, which advantageously precludes retrieval of confidential information by a hacker. It is to be noted that the consumption time interval Ty could also be made equal to the processing time interval Tp, i.e. the capacitor 7 could be discharged during the discharge time interval T E immediately after the interruption instant t u . However, this would have the big disadvantage that the processing time interval Ty has a direct influence on the cycle time interval Tz, which can be detected by a hacker, as a result of which conclusions could be drawn about the power consumption of the processing means 4. Therefore, in accordance with the invention, the consumption time interval Ty is approximated stepwise to the processing time interval Tp but the two time intervals have hardly ever the same value. Thus, it is achieved that the length of the consumption time interval Ty is adapted to the power consumption, which depends on the arithmetic operations of the processing steps of the cycle time interval Tz that is in progress. Thus, power consumption of the data carrier 2 that can be detected by a hacker also depends on the power consumption of the type of the relevant arithmetic operation but there is no dependence of the detectable power consumption on any confidential data processed with the arithmetic operations. As is apparent from Fig. 2A, the voltage control means 9 control the first switch 6 and the second switch 8 in such a manner that the second consumption time interval Ty 2 is only approximately twice as long as the second processing time interval Tp . During the second processing time interval Tp 2 the processing means 4 therefore execute approximately as many processing steps as during the first processing time interval Tp ls the second cycle time interval Tz 2 being preferably subsequently shorter than the first cycle time interval Tzi. In response to the counter information CI determined by the time measurement means 12 during the second voltage supply cycle the voltage measurement stage 10 supplies further adaptation information AI to the voltage control means 9 for a further reduction of a third consumption time interval Ty 3 during a third voltage supply cycle. This has the advantage that the third consumption time interval Ty 3 is further reduced with respect to the second consumption time interval Ty 2 and is adapted to the power consumption of the processing means 4 and further power-consuming means in the data carrier 2. During a fourth voltage supply cycle, which is not shown in Fig. 2 A and which follows the third voltage supply cycle the processing means 4 consume considerably less power than in the third voltage supply cycle. As a result of this, a fourth consumption time interval, which has already been reduced to a comparatively short length, already ends before the internal supply voltage U I T has decreased below the threshold voltage US. Subsequently, the voltage measurement stage 10 supplies adaptation infoπnation AI to the voltage control means 9 in order to prolong a fifth consumption time interval for a subsequent fifth voltage supply cycle to a nominal consumption time interval length stored in the memory means. This has the advantage that the consumption time interval Ty is prolonged very rapidly when the processing means 4 cannot utilize the entire processing time interval Tp, which is possible until the decrease below the threshold voltage US, for executing processing steps of the processing program. It is to be noted that the voltage supply means 5 may be adapted to prolong the consumption time interval to a random consumption time interval selected from a plurality of nominal consumption time intervals that are possible, when during the consumption time interval the internal supply voltage U I T has not decreased below the threshold voltage US. This would have the advantage that a hacker cannot detect any pattern in the internal power consumption. It is to be noted that memory means may be adapted to store power information characteristic of the power consumption of the processing means 4 during the execution of processing steps of the processing program, and the voltage supply means 5 may be adapted to define the consumption time interval Ty in accordance with the power information stored for the next processing steps to be executed. Thus, the power consumption of the data carrier during the execution of the processing program could be analyzed once by a persons authorized to do so and corresponding power information could be stored in the data carrier. This would have the advantage that the consumption time interval can be adapted already right from the start to the directly following processing steps and will consequently always have an optimum value. It is to be noted that the data carrier may be formed by an integrated circuit, enabling the data carrier to be manufactured cheaply. It is to be noted that a data carrier in accordance with the invention may also be adapted to provide contactless communication of communication data and that a hacker could use a field sensor to analyze the power consumption of the data carrier. This is advantageously precluded by the voltage supply means of such a data carrier and the provision of the time measurement means in accordance with the invention in the data carrier for contactless communication will in addition have the advantages described hereinbefore.

Claims: CLAIMS: 1. A data carrier (2) for the communication of communication data (KDl , KD2) with a base station, having processing means (4) for the processing of communicated communication data (KDl, KD2), and having - voltage supply means (5) which are arranged to receive an external supply voltage (U EXT ) applied to the data carrier during a charging time interval (TL) until a turn-on instant (t el , , t e3 ) and which are adapted to supply an internal supply voltage (U INT ) to the processing means (4), decoupled from the external supply voltage (U EXT ), during a consumption time interval (Ty l5 Ty 2 , Ty 3 ) starting at the turn-on instant (t el , 2, te 3 ), the processing means (4) being adapted to interrupt the processing from an interruption instant (t u i, , t u3 ), when the internal supply voltage (U I NT) decreases below a threshold voltage (US), till the turn-on instant (t el , t β , t e3 ), characterized in that there are provided time measurement means (12) which are adapted to measure a processing time interval (Tpi, Tp 2 , Tp 3 ) defined as the time interval from the turn-on instant (t el , t e2 , t e3 ) till the interruption instant (t ul , t u2 , t u3 ), and the voltage supply means (5) are adapted to adapt the consumption time interval (Tyi, Ty 2 , Ty 3 ) to the measured processing time interval (Tp 1; Tp 2 , Tp 3 ). 2. A data carrier (2) as claimed in claim 1 , characterized in that the voltage supply means (5) are adapted to reduce the consumption time interval (Ty l5 Ty 2 , Ty 3 ) stepwise when the consumption time interval (Tyi, Ty , Ty 3 ) is longer than the processing time interval (Tpi, Tp 2 , Tp 3 ). 3. A data carrier (2) as claimed in claim 1, characterized in that the voltage supply means (5) are adapted to prolong the consumption time interval (Tyr, Ty 2 , Ty 3 ) to a nominal consumption time interval when the internal supply voltage (UI NT ) does not decrease below the threshold voltage (US) during the consumption time interval (Ty ls Ty 2 , Ty 3 ). 4. A data carrier (2) as claimed in claim 1, characterized in that the voltage supply means (5) are adapted to prolong the consumption time interval (Ty l5 Ty 2 , Ty 3 ) to a random consumption time interval selected at random from a plurality of possible nominal consumption time intervals when the internal supply voltage (U INT ) does not decrease below the threshold voltage (US) during the consumption time interval (Ty l3 Ty 2 , Ty 3 ). 5. A data carrier (2) as claimed in claim 1, characterized in that memory means are adapted to store power information characteristic of the power consumption of the processing means (4) during the execution of processing steps of the processing program, and the voltage supply means (5) are adapted to define the consumption time interval (Ty 1? Ty 2 , Ty 3 ) in accordance with the power information stored for the next processing steps to be executed.

Inventors: FEUSER MARKUS, THUERINGER PETER, ULLY KLAUS, FEUSER, MARKUS, THUERINGER, PETER, ULLY, KLAUS
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2001
Main classification: G06K19
IPC codes: G06K7, H04L29