Non-contact IC recording medium

Abstract: A non-contact IC recording medium for executing data transmission/reception in non-contact with a reader/writer. The non-contact IC recording medium comprises a first circuit (7) for detecting a synchronization (sync) signal sent from a reader/writer to generate a first clock (b), a second circuit (2, 3) for generating a second clock (c) having a predetermined frequency relationship with the clock for driving the data processing in a signal processing circuit (1) incorporated, a third circuit (15-17) for writing m (m : integer ≧ 2) number items of transfer information output from the signal processing circuit using the second clock (c) and reading them using the first clock, a fourth circuit (13) for creating an interruption signal (d) from the start bit in at least the first transfer information in the m number of items of transfer information to place the subsequent m number of items of transfer information in a wait state, and a fifth circuit (22) for releasing the wait state of the subsequent m number of items of information by the fourth means using the stop bit in the (m - 1)-th transfer information the m number of items of information output from the third means.

Description: The present invention relates to a card-shaped or coin-shaped IC recording medium, particularly to non-contact IC recording medium provided with a receiving coil and a transmission coil, in which when mounted in a reader/writer, these coils are magnetically connected with the corresponding coils of the reader/writer so that a non-contact data transmission/reception paths are formed between the recording medium and the reader/writer. In recent years, attention has been paid to an IC card incorporating an IC circuit such as a memory to store large capacity data. In order to store data in such an IC card or read the data from the IC card, the IC card is mounted in a reader/writer. Then, the electric contact on the IC card is brought into contact with that of the reader/writer so that the IC card is electrically connected with the reader/writer. Meanwhile, the electric contact is attached to the IC card so that it is exposed externally. And also, usually such an IC card is always carried with a user so that dust is likely to be stuck to the electric contact or static electricity is likely to be generated there. If dust is stucked to the electric contact, contact state between the respective electric contacts of the IC card and the reader/writer will become poor. If static electricity is generated at the electric contact of the IC card, a high voltage will be applied to the IC module within the IC card so that IC module may be destroyed. In order to obviate these problems, a means of connecting an IC card with a reader/writer through magnetic coupling has been proposed. This is referred to as a non-contact IC card. As disclosed in JP-A-61-226888, in this IC card, a card body is provided with coils for data transmission and data reception whereas a reader/writer is also provided with the corresponding coils for data transmission and data reception. When the non-contact IC card is mounted in the reader/writer, the corresponding coils are magnetically coupled with each other to form two-route data transfer paths having different directions. In this way, the data transfer paths are formed in a non-contact manner through magnetic coupling so that the above problem attendant on an IC card provided with an electric contact does not arise. Meanwhile, in order to drive the microcomputer incorporated in the non-contact IC card, a clock is required. In a system of the IC card provided with an electric contact, the clock is supplied from the reader/writer to the IC card. Therefore, in the non-contact IC card, it can be proposed to supply the clock from the reader/writer. However, this requires undesired provision of a coil for clock transfer. In order to obviate such difficulty, it can be proposed to provide a clock generating means within the non-contact IC card. However, this means has also the following defect. In order to stabilize the data transfer rate between the reader/writer and the non-contact IC card, usually, the reader/writer includes a quartz oscillator which is very stable as the clock generating means. Therefore, in order for the non-contact IC card to process the data transferred from the reader/writer at such a stable transfer rate and also transfer the processed data to the reader/writer, the clock generating means to be incorporated in the non-contact IC card must be a quartz oscillator which is stable and can generate the clock at the frequency which is exactly equal to that of the clock in the reader/writer. However, it is very difficult to locate the quartz oscillator, which has a comparatively large size and thickness, within a limited inner space of the non-contact IC card. An object of the present invention is to solve the problem described above and to provide IC recording medium which can use a means of generating a clock at the frequency different from that of the clock in a reader/writer. In accordance with the present invention, there is provided a non-contact IC recording medium having a receiving coil and a transmission coil and a signal processing circuit which outputs, in data transmission, data at least provided with a start bit and a stop bit for every m items as transfer information, where m is an integer ≥ 2, wherein in data transmission and reception, a synchronisation (sync) signal is received from a reader/writer through the receiving coil, the IC recording medium comprising: first means fcr detecting the sync signal sent from the reader/writer to generate a first clock at the frequency corresponding to the data transfer rate between the medium and the reader/writer; second means for generating a second clock having a predetermined frequency relationship with the first clock and a higher frequency than said first clock for driving the signal processing circuit; third means for writing therein items of transfer information output from the signal processing circuit using the second clock, and for reading said items of transfer information using the first clock and transferring the items of transfer information in synchronism with said first clock; fourth means for generating an interruption signal from the start bit in at least the first item of transfer information in the m items of transfer information output from said signal processing circuit to place the signal processing circuit in a wait state keeping the subsequent m items of transfer information; and fifth means for generating an interruption releasing signal for each stop bit in the (m - 1)-th item of the transfer information, the m items of transfer information being output from the third means, thus releasing the wait state of the signal processing circuit set by said fourth means to permit the output of the subsequent m items of transfer information from the signal processing circuit, whereby said transfer information output from said third means is transferred to said reader/writer through said transmission coil. In operation, the second clock has the frequency higher than the first clock. The m number of items of transfer information output from the signal processing circuit are in synchronism with the second clock. If the third means writes them using the second clock and reads out them using the first clock, the m number of transfer information read out will become synchronous with the first clock so that the reader/writer can take in the transfer information. Thus, the baud rate of the transfer information will be converted so that the information can be taken in the reader/writer by the third means. In this way, the frequency of the clock used in the non-contact IC recording medium may be different from the clock frequency in the reader/writer and may be varied. Therefore, the clock generating means for the non-contact IC recording medium may be constituted by an oscillator such as a CR oscillator and a ringing oscillator which can be small-sized and thin unlike the quartz oscillator. In the signal processing circuit, the subsequent m number of items of information are placed in a wait condition by the fourth means, and their wait condition is released by the fifth means to sent them number of items of information to the third means. As a result, the subsequent m number of items of information will be output from the signal processing circuit after the transfer information stored in the third means is read to provide sufficient time lag. Therefore, such a situation as in connection with the third means, write catches up with and passes read does not occur but all times of information output from the signal processing circuit will be transferred with no lack. Another aspect of the invention provides a non-contact IC recording medium having a receiving coil, a transmission coil and a signal processing circuit, which serve to execute signal transmission and reception in a start-stop synchronisation manner, wherein in data transmission and reception, a sync signal is received through said receiving coil, comprising: first means for detecting the sync signal sent from a reader/writer to generate a first clock at a frequency corresponding to the data transfer rate between the medium and the reader/writer; second means for generating a second and a third clock having a predetermined frequency relationship with the first clock, for driving the signal processing circuit, the frequency of said second clock being higher than that of said first clock, the frequency of said third clock being lower than that of said first clock; third means for writing therein transfer data serially output from the signal processing circuit using the third clock, reading the transfer data therefrom using the first clock, and transferring the transfer data using said first clock; and fourth means for writing therein the transfer data transmitted from the reader/writer using the first clock and reading the transfer data therefrom using the second clock, and transferring the transfer data using said second clock to said signal processing circuit, whereby said transfer data output from said third means is transferred to said reader/writer through the transmission coil. Yet another aspect of the invention provides a non-contact IC recording medium comprising: first means for detecting a sync signal sent from a reader/writer to generate a first clock at a frequency corresponding to the data transfer rate between the medium and the reader/writer; second means for generating a second clock having a predetermined frequency relationship with said first clock and a higher frequency than said first clock for driving a signal processing circuit; third means (8,9,11,12;510,511) for writing therein a transfer information which is in synchronism with a synchronisation signal received from the reader/writer , and for reading the transfer information therefrom using the second clock (c,d,e), and transferring the transfer information to the signal processing circuit (1), whereby a processing of said transfer information is processed in synchronism with said second clock. Incidentally, the non-contact IC recording medium in the present invention refers to a recording medium designed in a portable shape such as a card, a coin and a key which can transmit/receive data through magnetic coupling, store the received data in an incorporated memory such an EEPROM located in the recording medium by means of CPU also located within the recording medium, and transmit the data stored in the incorporated memory to a reader/writer through CPU. The invention will be further described by way of non-limitative example, with reference to the accompanying drawings, in which:- Figure 1A is a block diagram of one embodiment of the non-contact IC card according to the present invention; Figure 1B is a format of transforming information; Figure 2 is a timing chart of the general information outputting operation in the signal processing circuit in Figure 1A; Figure 3 is a timing chart of the operation of the embodiment of Figure 1A; Figure 4 is a block diagram of another embodiment of the non-contact IC card according to the present invention; and Figure 5 is a block diagram of a further embodiment of the present invention. Now referring to the drawings, several embodiments of the present invention will be explained below. Figure 1A is a block diagram of one embodiment of the IC card according to the present invention. In Figure 1A, when the non-contact IC card 40 is mounted in a reader/writer 39, the coil 6 is magnetically coupled with the corresponding coil 35 of the reader/writer to form a transfer path, and the coil 24 is also magnetically coupled with the corresponding coil 36 of the reader/writer to form another transfer path. Reader/writer 39 controls data stored in memory 38 by CPU37, and transmits it from transmission coil 35 to IC card 40 after modulation in modulation circuit 32, in synchronism with a clock signal generated in clock generator 33. While, a data signal transmitted from transmission coil 24 of IC card 40 is received by receiving coil 36, and the data signal is supplied to CPU 37 after demodulation by demodulation circuit 34. Furthermore, the data signal is processed in CPU 37, and is stored in memory 38 afterwards. Such a state permits data communication to be performed between the non-contact IC card and the reader/writer. The data communication is usually executed in a start-stop synchronization system. As shown in Fig. 1B, the data format in the data communication in the start-stop synchronous system is composed of 11 bits consisting of 1 start bit, 8 data bits, 1 parity bit and 1 stop bit. This information composed of 11 bits will be referred to as transfer information. In the case of data communication between the reader/writer and the non-contact IC card in the start-stop synchronous system, the data are usually transferred at the transfer rate (baud rate) of 9600 (bps). In the non-contact IC card, in which transfer paths are formed by the magnetic coupling means using coils, the transfer information will be transferred with an amplitude-modulated carrier wave for example. Now it is assumed that data are to be transferred from the reader/writer to the non-contact IC card. In this case, the modulated transfer information sent through the coil 6 is received by the receiving circuit 4 and is subjected to processing such as demodulation. The transfer information (a) from the receiving circuit 4 is alternately distributed to the shift registers 8 and 9 by the switch 7. Specifically, the switch 7 selects the shift register 8 to which one item of the information (a) is to be sent, and thereafter the switch 7 selects the shift register 9 for which the subsequent item of the transfer information (a). The sync signal separating circuit 5 separates the sync signal from the received transfer information to produce a shift clock (b) in phase with each of the bits of the transfer information. This in-phase signal can be detected in terms of e.g. the edge of the start bit of the demodulated transfer information. The shift clock (b) will be produced on the basis of this edge detection timing at the period defined by the above transfer rate of 9600 (bps). The selecting circuit 11, when the transfer information (a) is supplied to the shift register 8 by the switch 7, selects the shift clock (b). Then, each bit of the transfer information is successively transferred into the shift register 8 by the shift clock (b). Thus, the transfer information (a) is stored there. Likewise, the selecting circuit 12, when the transfer information (a) is supplied to the shift register 9 by the switch 7, selects the shift clock (b). Thus, the transfer information is stored there. On the other hand, the clock generated by the clock generating circuit 2 is supplied to the signal processing circuit 1 which include a CPU (central processing unit), and also supplied to the frequency dividing circuit 3 which frequency-divides the supplied clock to form a shift clock (c). It should be noted that the signal processing circuit 1 is driven by a clock to execute the processing such as data processing. The clock generating circuit 2 is constituted by an oscillator such as a CR (capacitance-register) oscillator and ringing oscillator which are different from a quartz oscillator. Although the clock generating circuit 2 is inferior to the quartz oscillator in stability, its output frequency can be set so that the frequency (c) of the shift clock output from the frequency divider 3 is always higher than that of the shift clock (b) output from the sync separating circuit 5. Since the frequency of the shift clock (b) is 9600 Hz which is equal to the data transfer rate, the frequency of the shift clock (c) can be set for e.g. 10000 Hz which is slightly higher than 9600 Hz. The shift clock (c) is supplied to the selecting circuits 11 and 12. Immediately after one item of the transfer information has been stored in the shift register 8 clocked by shift clock (b), the switch 7 is exchanged to select the shift register 9. At the same time, the switch 10 selects the shift register 8 so that the selecting circuit 11 selects the shift clock (c). Then, each bit of the transfer information stored in the shift register 8 is shifted in synchronism with the shift clock (c) to be output one bit by one bit. Thus, the transfer information will be read out. The transfer information read from the shift register 8 is supplied to the signal processing circuit 1 through the switch 10. Since the transfer information is in synchronism with the shift clock (c) which is obtained by frequency-dividing the clock to be supplied to the signal processing circuit 1, the signal processing circuit 1 can process the transfer information, for example, store it in an EEPROM 26 incorporated in the card. If the subsequent item of transfer information (a) is output from the receiving circuit while the transfer information is read from the shift register 8, this transfer information will be stored in the other shift register 9. Immediately after write of the transfer information in the shift register is completed, the switch 10 is exchanged to select the shift register 9. The selecting circuit 12 selects the shift clock (c) so that the transfer information will be read out from the shift register 9. The transfer information thus read out will be supplied to the signal processing circuit 1 through the switch 10. In this way, in the case of data reception, one item of transfer information is alternately written or stored in the shift registers 8 and 9 clocked by clock (b), and the transfer information is immediately read out clocked by clock (c) from the shift registers 8 or 9 whose write has been completed; the transfer information read will be supplied to the signal processing circuit 1. This means that the baud rate of the transfer information output from the shift registers 8 and 9 is always defined by the frequency of the clock generated from the clock generating circuit 2. Therefore, even if the clock frequency in the reader/writer which defines the baud rate of the transfer information received by the receiving circuit 4 is not in a fixed relation with the clock frequency of the clock generating circuit 2 so that the frequencies of the shift clocks (b) and (c) are not equal to each other, or the clock frequency of the clock generating circuit 2 is varied, the signal processing circuit 1 can always take in the received transfer information to be processed. For the reason described, the clock generating circuit 2 may be a CR oscillator or ringing oscillator which are inferior to a quartz oscillator in their stability, but can be made small-sized and thin. The description hitherto made relates to the operation of data reception. Next, the operation of data transmission will be explained. In this case also, a sync signal is sent with an amplitude-modulated carrier wave through the coil 6 from the reader/writer. Then, the shift clock at 9600 Hz is produced from the sync signal separating circuit 5. This shift clock is supplied to the selecting circuits 18 to 20. The shift clock at 10000 Hz produced by the frequency dividing circuit 3 is also supplied to the selecting circuits 18 to 20. The signal processing circuit 1 reads, from the incorporated EEPROM 26, the data to be processed and sent to the reader/writer to create the transfer information of 11 bits previously mentioned. The transfer information is stored for each item of information in the two shift registers 1A and 1B and thereafter output therefrom. More specifically, unless an interruption signal (d) is sent from the interruption signal generating circuit 13, as shown in Fig. 2, the two items of created information (A) and (B) are stored in the shift registers 1A and 1B, respectively. Thereafter, the transfer information (A) stored in the shift register 1A is serially output and also the transfer information (B) stored in the shift register 1B is serially transferred to the shift register 1A. Immediately after output of the transfer information (A) is completed, output of the transfer information (B) is started. When the output of the transfer information (B) is completed, subsequent two items of transfer information (C) and (D) are stored in the shift registers 1A and 1B, respectively. These items of transfer information(C) and (D) will be output from the shift register 1A in the same manner as described above. In this way, the data are output for every two items of information from the signal processing circuit 1. The transfer information, once stored in the shift registers 1A and 1B, is automatically output from the signal processing circuit 1 so that output of the transfer information cannot be stopped. The interruption generating circuit 13 serves to stop, in terms of an interruption signal (d), storage of the transfer information in the shift registers 1A and 1B in the signal processing circuit to set the wait state for the transfer information. The interruption releasing circuit 22 serves to release, by an interruption releasing signal (e), the wait state for the transfer information to permit storage of the transfer information in the shift registers 1A and 1B. Referring to Figs. 1A and 3, a more detailed process of the data transfer will be explained below. First, the signal processing circuit 1 causes two items of transfer information(A) and (B) to be stored in the shift registers 1A and 1B, respectively, and outputs the information serially from the transfer information (A). In outputting the transfer information (A), the switch 14 selects the shift register 15 and the selecting circuit 18 selects the shift clock (c) from the frequency dividing circuit 3. The transfer information (A) will be passed through the interruption generating circuit 13 and the switch 14 and supplied to the shift register 15; thus the transfer information (A) will be stored in the shift register 15. Then, the interruption generating circuit 13 detects the start bit of the transfer information(A) to generate the interruption signal (d) so that the signal processing circuit 1 is placed in a wait condition of inhibiting storage of the subsequent items of information (C) and (D) in the shift registers 1A and 1B. When storage of the transfer information (A) in the shift register 15 is completed, the switch 14 is exchanged to the side of the shift register 16 and the selecting circuit 19 selects the shift clock (c) so that the transfer information (B) subsequently output from the signal processing will be stored in the shift register 16. Then, although the interruption generating circuit 13 detects the start bit of the transfer information (B), the signal processing circuit 1 has already been placed in the wait state so that it is not necessarily required to generate the interruption signal (d). Concurrently with the above operation, the selecting circuit 18 selects the shift clock (b) sent from the sync separating circuit 5 so that the transfer information (A) will be serially output from the shift register 15. Then, the switch 21 selects the shift register 15. The baud rate of the transfer information (A) output from the shift register 15 is 9600 (bps) which is defined by the shift clock (b), and hence the clock frequency of the reader/writer. The transfer information (A) is passed through the switch 21 and the interruption releasing circuit 22 and subjected to the processing for transmission by the transmission circuit 23. Thereafter, the transfer information (A) will be transferred to the reader/writer through the transfer path. The interruption releasing circuit 22 detects the stop bit STP of the transfer information (A) to generate an interruption releasing signal, thus releasing the wait state of the signal processing circuit 1. When storage of the transfer information (B) is completed in the shift register 16, the selecting circuit 19 does not select both shift clocks (b) and (c), but places the shift register 16 in a wait condition until read of the transfer information (A) from the shift register 15 is completed. Now assuming that the frequency of the shift clock (b) is 9600 Hz, that of the shift clock (c) 10000 Hz, and the transfer information consists of 11 bits, the time Tw required to store or write the transfer information in the shift register 15 or 16 is 11 ÷ 10000 Hz = 1.10 msec The time Tr required for read is 11 ÷ 9600 Hz = 1.15 msec it can be seen that it takes a longer time for read by 0.05 msec than for write. When read of the transfer information (A) from the shift register 15 is completed, the switch 21 selects the shift register 16 and the selecting circuit 19 selects the shift clock (b). Thus, the transfer information (B) is read out serially from the shift register 16, and is supplied to the transmission circuit 23 through the switch 21 and the interruption releasing circuit 22. The transfer information (B) is subjected to the processing for transmission by the transmission circuit 23. Thereafter, the transfer information (A) will be transferred to the reader/write through the transfer path. Then, the interruption releasing circuit 22 does not generate the interruption releasing signal (e) even if it detects the stop bit of the transfer information (B). Further, when the interruption releasing circuit 22 generates the interruption releasing signal (e) in response to the stop bit STP of the transfer information (A) so that the wait state of the signal processing circuit 1 is released, the subsequent two items of transfer information (C) and (D) stored in the shift registers 1A and 1B will be output in this order. In short, the transfer information (C) starts to be output from the signal processing circuit 1 at substantially the same timing as that of starting to read the transfer information (B) from the shift register 16. Simultaneously with outputting of the transfer information (C) from the signal processing circuit 1, the switch 14 selects the shift register 17 and the selecting circuit 20 selects the shift clock (c). Thus, the transfer information (C) is stored in the shift register 17. In this case, the interruption generating circuit 13 detects the start bit ST to generate the interruption signal (d), thus placing the signal processing circuit in a wait state. The succeeding process is the same as the process described above. Specifically, when write or the transfer information (C) in the shift register 17 is completed, the switch 21 selects the shift register 17 and the selecting circuit 20 selects the shift clock (b) so that the transfer information (C) is read out from the shift register 17 and transferred to the reader/writer. Concurrently with this, the switch 14 selects the shift register 15 and the selecting circuit 18 selects the shift clock (c) so that the subsequent transfer information (D) output from the signal processing circuit 1 is stored in the shift register 15. Then, the interruption releasing circuit 22 detects the stop bit STP of the transfer information (C) output from the shift register 17 to generate the interruption releasing signal (e), thereby releasing the wait state of the signal processing circuit 1. Thus, write of the subsequent items of transfer information(E) and (F) in the shift registers 1A and 1B is permitted. At this time, the write of the transfer information (D) in the shift register 15 has been already completed. Successively, the same operation as described above will be repeated. However, attention should be paid to the following matter. The interruption generating circuit 13 may generate the interruption signal (d) for each start bit of the transfer information supplied. On the other hand, the interruption releasing signal (e) should be generated for each stop bit of the earlier of two items of the transfer information simultaneously stored in the shift registers 1A and 1B. This can be realized by counting the detected stop bit of each transfer information and generating the interruption releasing signal (e) only when the counted value is 2n - 1 (n = 1, 2, 3, ...). On the basis of the operation explained hitherto, write of two items of transfer information in the shift registers 1A and 1B is always made when two items of transfer information have been read from two shift registers of shift registers 15 to 17. Therefore, if the two items of transfer information are serially output from the signal processing circuit, two of the shift registers 15 to 17 are necessarily vacant. Accordingly, the write of the transfer information will never catch up with its read. As a result, even if the clock frequency in the reader/writer is different from that in the non-contact IC card, and the clock frequency in the non-contact IC varies, the shift registers 15 to 17 can convert the baud rates of data transfer between the reader/writer and the non-contact IC card and also within the non-contact IC card so that they are required rates. Additionally, although in the above embodiment, the signal processing circuit 1 includes two shift registers and the transfer information is output for every two items of information, shift registers to the number of m (m : integer ≧ 2) may be provided and the transfer information may be output for every m items of information. In this case, it should be noted that shift registers to the number of (m + 1) are provided instead of three shift registers 15 to 17, and the interruption releasing circuit 22 generates the interruption releasing signal (e) in response to the stop bit of the (m - 1)-th information of m items of transfer information. Further, although in the embodiment described above, the receiving coil 6 and the transmission coil 24 are individually provided, one coil having both functions may be used so that the signal passing through a communication control circuit is separately controlled for the receiving circuit 4 and the transmission circuit 23. In Fig. 4, a modified embodiment is shown. In the structure of Fig. 4, reception and transmission of transfer information through input/output coil 6 is carried out by input gate 42, 42', and output gate 41, 41' which are controlled by CPU. In accordance with this embodiment, the oscillator which is inferior to a quartz oscillator in their stability and serves to generate the clock at the frequency different from that of the clock used in the reader/writer can be used as clock generating means to perform the data processing in the signal processing circuit incorporated in a non-contact IC card and the data transfer between it and the reader/writer. Now referring to Fig. 5 an explanation will be given of another embodiment of the present invention. Fig. 5 is a block diagram of another embodiment of the non-contact IC card according to the present invention. In Figure 5, 1a and 1b denote memory comprising registers and, for instance, EEPROM. In Fig. 5, if the non-contact IC card is mounted in a reader/writer (not shown), the receiving coil 58 is magnetically coupled with the corresponding coil of the reader/writer to form a transfer path, and the transmission coil 59 is also magnetically coupled with the corresponding coil of the reader/writer to form another transfer path. Such a state permits data communication to be performed between the non-contact IC card and the reader/writer. The data communication is usually executed in a start-stop synchronization system. The data format in the data communication in the start-stop synchronous system is completed of 11 bits consisting of 1 start bit, 8 data bits, 1 parity bit and 1 stop bit. This information composed of 11 bit will be referred to as transfer data. In the case of data communication between the reader/writer and the non-contact IC card in the start-stop synchronous system, the data are usually transferred at the transfer rate (baud rate) of 9600 (bps). In the non-contact IC card, in which transfer paths are formed by the magnetic coupling means using coils, the transfer data will be transferred with an amplitude-modulated carrier wave, for example. Now it is assumed that data are to be transferred from the reader/writer to the non-contact IC card. In this case, the modulated transfer data sent through the coil 58 is received by the receiving circuit 55 and is subjected to the processing such as demodulation. The sync signal separating circuit 57 and the frequency dividing circuit 54 separate the sync signal from the received transfer data to produce a shift clock (b) in phase with each of the bits of the transfer data. This in-phase signal can be detected in terms of e.g. the edge of the start bit of the demodulated transfer data. The shift clock (b) will be produced on the basis of this edge detection timing at the period defined by the above transfer rate of 9600 (bps). The transfer data are stored in synchronism with the clock (b) in the shift register 510. As soon as the stop bit of the transfer data (a) has been stored in the shift registers 510, the transfer data (a) of 11 bits are collectively transferred to the shift register 511 and stored therein. On the other hand, the clock generated by the clock generating circuit 2 or 53 is supplied to the signal processing circuit 1 which is a CPU (central processing unit) via the clock exchange circuit 4, and the output from the clock generating circuit 2 is supplied to the frequency dividing circuit 515 which frequency-divides the supplied clock to form a shift clock (f). It should be noted that the signal processing circuit is driven by a clock to execute the processing such as data processing. Incidentally, the transfer data thus received stored in the memory such as an EEPROM by CPU. Now it is assumed that the clock generating circuit 2 is constituted by e.g. a CR oscillator, and generates a clock (d) at the frequency which is always higher than that of the clock (c) output from the sync signal separating circuit 57. And it is also assumed that the clock generating circuit 53 is constituted by e.g. a CR oscillator, and generates a clock (e) at the frequency which is always lower than that of the clock (c) output from the sync signal separating circuit 57. Therefore, the frequency relationship among the clocks (d), (e) and (c) produced from the clock generating circuits 2 and 53, and the sync signal separating circuit 57 can be represented by d > c > e. Immediately after storage of one item of transfer data in the shift register 510 has been completed, the transfer data of 11 bits are collectively transferred to the shift register 511 and stored therein. Each of the bits of the transfer data stored in the shift register 511 is shifted in synchronism with the shift clock (f) to be output one bit by one bit. Thus, the transfer data will be read out. Since the transfer data are in synchronism with the shift clock (f) which is obtained by frequency-dividing the clock to be supplied to the signal processing circuit 1, the signal processing circuit 1 can process the transfer data. Further, since the shift clock (f) is a relation of f > b with the shift clock (b), the transfer data will never overflow in the shift register. This means that the baud rate of the transfer data output from the shift register 511 is always defined by the frequency of the clock generated from the clock generating circuit 2. Therefore, even if the clock frequency in the reader/writer which defines the baud rate of the transfer data received by the receiving circuit 55 is not in a fixed relation with the clock frequency of the clock generating circuit 2 so that the frequencies of the shift clocks (b) and (f) are not equal to each, or the clock frequency of the clock generating circuit 2 is varied, the signal processing circuit 1 can always take in the received transfer data to be processed. For the reason described, the clock generating circuit 2 may be a CR oscillator which is inferior to a quartz oscillator in their stability, but can be made small-sized and thin. The description hitherto made relates to the operation of data reception in this embodiment. Next, the operation of data transmission will be explained. In this case also, a carrier wave is sent through the receiving coil 58 from the reader/writer. Then, the shift clock at 9600 Hz is produced through the sync signal separating circuit 57 and the frequency dividing circuit 514. On the other hand, output transfer data (g) is transferred in synchronism with a shift clock (h) which is obtained by frequency-dividing the clock (e) from the clock generating circuit 53. The transfer data are previously stored in the memory such as an EEPROM and their transfer is controlled by CPU. The transfer data are stored in the shift register 513 one bit by one bit. Immediately after the data of 11 bits has been entirely stored, it is collectively stored in the shift register 512. The transfer data (g) stored in the shift register 512 is transferred to the transmission circuit 56 in synchronism with the shift clock (b) one bit by one bit and thereafter transferred to the reader/writer through the transmission coil. As a result, even if the clock frequency in the reader/writer is different from that in the non-contact IC card, and the clock frequency in the non-contact IC varies, the shift registers 510 to 513 can convert the baud rates of data transfer between the reader/writer and the non-contact IC card and also within the non-contact IC card so that they are required rates. Further, although in the embodiment described above, the receiving coil 58 and the transmission coil 59 are individually provided, one coil having both functions may be used so that the signal passing through a communication control circuit is separately controlled for the receiving circuit 55 and the transmission circuit 56. Finally, an explanation will be given of a method for detecting the temperature in the non-contact IC card according to this embodiment. When the non-contact IC card is mounted in the reader/writer (not shown), the non-contact IC card is activated and also supply of the carrier wave from the reader/writer starts. Thus the clock (c) is produced from the sync signal separating circuit 57 and the clock (d) is produced from the clock generating circuit 2. The difference between the frequencies of these clocks (c) and (d) is detected by a frequency comparing circuit 516 and the data is sent to the signal processing circuit 1. The signal processing circuit 1 takes in the data at regular time intervals. A difference between the data first taken in and that later taken in is compared with the data stored in the memory 1b of the signal processing circuit 1, thus detecting the temperature of the entire circuit. In this type of IC card, generation of heat in electric power circuit after continuous operation is observed. For avoiding deformation of IC card or erroneous operation on account of the generated heat, it is necessary to make an alert or cut off circuitry automatically to inhibit use of the IC card when its temperature exceeds a certain limit. The detection of temperature is carried out by comparing a frequency deviation of CR oscillator which is caused by temperature rise with a synchronising signal supplied from reader/writer 39, and as a result an operation of CPU1 can be stopped by the detection. Furthermore in the IC recording medium of the invention, processing speed is increased to realize more rapid processing comparing to conventional IC recording medium in which CPU is operated in synchronism with the synchronization signal supplied from reader/writer since the CPU of this invention is operated by a clock signal of higher frequency than a synchronization signal supplied from the reader/writer.

Claims: A non-contact IC recording medium (40) having a receiving coil (6) and a transmission coil (24) and a signal processing circuit (1) which outputs, in data transmission, data at least provided with a start bit and a stop bit for every m items as transfer information, where m is an integer ≥ 2, wherein in data transmission and reception, a synchronisation (sync) signal is received from a reader/writer (39) through the receiving coil, the IC recording medium (40) comprising: first means (5) for detecting the sync signal sent from the reader/writer to generate a first clock (b) at the frequency corresponding to the data transfer rate between the medium (40) and the reader/writer (39); second means (2,3) for generating a second clock (c) having a predetermined frequency relationship with the first clock (b) and a higher frequency than said first clock (b) for driving the signal processing circuit (1) ; third means (15-20) for writing therein items of transfer information output from the signal processing circuit using the second clock (c), and for reading said items of transfer information using the first clock (b) and transferring the items of transfer information in synchronism with said first clock (b); fourth means (13) for generating an interruption signal from the start bit in at least the first item of transfer information in the m items of transfer information output from said signal processing circuit (1) to place the signal processing circuit (1) in a wait state keeping the subsequent m items of transfer information; and fifth means (22) for generating an interruption releasing signal for each stop bit in the (m - 1)-th item of the transfer information, the m items of transfer information being output from the third means (15-20), thus releasing the wait state of the signal processing circuit (1) set by said fourth means (13) to permit the output of the subsequent m items of transfer information from the signal processing circuit (1), whereby said transfer information output from said third means (15-20) is transferred to said reader/writer (39) through said transmission coil (24). A non-contact IC recording medium according to claim 1, wherein said second means (2,3) for generating the second clock (c), is a CR oscillator. A non-contact IC recording medium according to claim 2, wherein said third means (15-20) comprise shift registers (15-17). A non-contact IC recording medium according to claim 1, wherein said signal processing circuit (1) comprises plural registers (1A,1B). A non-contact IC recording medium according to claim 1, wherein said medium (40) is designed in a card shape. A non-contact IC recording medium having a receiving coil (58), a transmission coil (59) and a signal processing circuit (1), which serve to execute signal transmission and reception in a start-stop synchronisation manner, wherein in data transmission and reception, a sync signal is received through said receiving coil (58), comprising: first means (57) for detecting the sync signal sent from a reader/writer (39) to generate a first clock (c) at a frequency corresponding to the data transfer rate between the medium (40) and the reader/writer (39); second means (2,53) for generating a second and a third clock (d,e) having a predetermined frequency relationship with the first clock (c), for driving the signal processing circuit (1), the frequency of said second clock (d) being higher than that of said first clock (c), the frequency of said third clock (e) being lower than that of said first clock (c); third means (512,513,514,517) for writing therein transfer data serially output from the signal processing circuit (1) using the third clock (e), reading the transfer data therefrom using the first clock (c), and transferring the transfer data using said first clock (c); and fourth means (510,511,514,515) for writing therein the transfer data transmitted from the reader/writer (39) using the first clock (c) and reading the transfer data therefrom using the second clock (d), and transferring the transfer data using said second clock (d) to said signal processing circuit (1), whereby said transfer data output from said third means (512,513,514,517) is transferred to said reader/writer (39) through the transmission coil (59). A non-contact IC recording medium according to claim 6, wherein with a frequency difference or a phase difference between said first clock (c) and said second or third clock (d,e) being stored in said signal processing circuit (1) prior to starting signal transmission/ reception, a change in the frequency difference or the phase difference is detected to detect the temperature change in the medium (40). A non-contact IC recording medium comprising: first means (5;57) for detecting a sync signal sent from a reader/writer (39) to generate a first clock (b;c) at a frequency corresponding to the data transfer rate between the medium (40) and the reader/writer (39); second means (2,3;53) for generating a second clock (c;d,e) having a predetermined frequency relationship with said first clock (b;c) and a higher frequency than said first clock (b;c) for driving a signal processing circuit (1); third means (8,9,11,12;510,511) for writing therein a transfer information which is in synchronism with a synchronisation signal received from the reader/writer, and for reading the transfer information therefrom using the second clock (c,d,e), and transferring the transfer information to the signal processing circuit (1), whereby a processing of said transfer information is processed in synchronism with said second clock (c;d,e). A non-contact IC recording medium according to claim 8, wherein said third means (8,9,11,12;510,511) comprises shift registers (8,9,510,511).

Inventors: KATAYAMA YOSUKE, KATAYAMA, YOSUKE
Applicants: HITACHI MAXELL, NTT DATA TSUSHIN KK, HITACHI MAXELL LTD., NTT DATA COMMUNICATIONS SYSTEMS CORPORATION
Application year: 1991
Main classification: G06K7
IPC codes: G06K7, G06K19