SEMICONDUCTOR INTEGRATED CIRCUIT DEVICE AND NONCONTACT IC CARD
The present invention is directed to shorten time required to establish a connection and enable information to be actually transmitted/received in a noncontact IC card adaptable to a plurality of communication methods. A semiconductor integrated circuit device of the invention includes: a single demodulating circuit capable of demodulating an input signal; a plurality of sampling circuits each capable of sampling output signals of the demodulating circuit synchronously with a predetermined clock signal; a plurality of detection circuits capable of detecting headers of output signals of the corresponding sampling circuits; a plurality of processing circuits capable of performing a predetermined data process on the basis of detection results of the corresponding detection circuits; and a communication method determining circuit capable of determining a match to a preset communication method from results of the header detection by the plurality of detection circuits. By performing processes adapted to a plurality of different communication methods in parallel, time required to establish a connection and enable information to be actually transmitted/received is reduced.
Latest Patents:
The present application claims priority from Japanese patent application No. 2004-238151 filed on Aug. 18, 2004, the content of which is hereby incorporated by reference into this application.
BACKGROUND OF THE INVENTIONThe present invention relates to an IC card technique and, more particularly, to a noncontact IC card adaptable to a plurality of different communication methods and a semiconductor integrated circuit device mounted on the noncontact IC.
Cards having a conventional noncontact interface are adapted to a number of methods such as ISO14443-A and ISO14443-B set by the ISO standard and an IC card method for high-speed processing (called a “high-speed type”) set by Japan IC card system application council (JICSAP). In recent years, a contact/noncontact combination card is being spread. Also in the non-contact type, a combination card adapted to a plurality of different communication methods is in demand.
As an example of a noncontact IC card communication establishing method and system of searching for a communication method while switching it and establishing a connection between a noncontact IC card having a function of switching a plurality of communication interfaces and a reader-writer, a technique disclosed in Japanese Unexamined Patent Publication No. 2003-233787 is known. In the technique, at the time of establishing a communication method between a noncontact IC card and a reader-writer, when a modulation signal from the outside is received, based on repeatability of the modulation signal, the signal is distinguished from noise. By obtaining a match while sequentially switching a demodulating method at the ante stage and a coding method at the post stage, a communication method adapted to the signal from the noncontact IC card or the reader-writer is detected and a communication is established between the noncontact IC card and the reader-writer.
Japanese Unexamined Patent Publication No. 2003-044801 discloses a portable information processing device having a plurality of information transmitting means for performing communication with the outside, identifying means of detecting information transmitting means via which information is transmitted, and control means for obtaining default application information adapted to the information transmitting means detected by the identifying means with reference to a default application management table in which correspondence between the information transmitting means and the default application is set, and selecting the default application.
SUMMARY OF THE INVENTIONThe inventors herein have found that the technique disclosed in Japanese Unexamined Patent Publication No. 2003-233787 employs a method of searching for the communication method while switching it and establishing a connection, so that it takes time to establish a connection. For example, a demodulation circuit is selected by a demodulation selector disposed on the input side of the plurality of demodulating circuits, and whether demodulation can be made or not is determined each time the demodulating circuit is selected. When it is determined that demodulation cannot be made, the next demodulating circuit is selected and whether demodulation can be made by the selected demodulating circuit or not is determined. When it is determined that demodulation can be performed, a plurality of decoding circuits are sequentially selected by a coding selector disposed on the output side of the plurality of demodulating circuits. Each time the decoding circuit is selected, whether input data can be decoded or not is determined. Consequently, it takes time to establish a connection and enable information to be actually transmitted/received between a noncontact IC card and a reader-writer.
In Japanese Unexamined Patent Publication No. 2003-044801, an OS executing unit of a CPU includes identifying means having the function of identifying transmitting means (contact/noncontact type and communication protocol) before analysis of a command transmitted from an external terminal (reader-writer) and notifying of the result. The communication protocol used is determined by a communication module in a lower layer of the OS and notified to the OS. A concrete method of determining a communication protocol is not described.
An object of the invention is to provide a technique for shortening time required to establish a connection and enable information to be actually transmitted/received in a noncontact IC card adaptable to a plurality of communication methods.
The above and other objects and novel features of the invention will become apparent from the description of the specification and the appended drawings.
An outline of representative ones of inventions disclosed in the specification will be briefly described as follows.
A semiconductor integrated circuit device includes: a demodulating circuit capable of demodulating an input signal; a plurality of sampling circuits which are commonly connected to an output of the demodulating circuit and each capable of sampling output signals of the demodulating circuit synchronously with a predetermined clock signal; a plurality of detection circuits arranged in correspondence with the sampling circuits and capable of detecting headers of output signals of the corresponding sampling circuits; a plurality of processing circuits disposed in correspondence with the plurality of detection circuits and capable of performing a predetermined data process on the basis of detection results of the corresponding detection circuits; and a communication method determining circuit capable of determining a match to a preset communication method from results of the header detection by the plurality of detection circuits.
With the configuration, an output signal of the single demodulating circuit is input the plurality of sampling circuits, output signals of the plurality of sampling circuits are input to the plurality of corresponding detection circuits, and detection results of the plurality of detection circuits are transmitted to the plurality of corresponding processing circuits. Consequently, processes corresponding to a plurality of communication methods different from each other are performed in parallel. Thus, time required to establish a connection and enable information to be actually transmitted/received is shortened as compared with a conventional method of sequentially selecting circuits by using a selector.
In the configuration, the plurality of sampling circuits can operate in parallel with each other, the plurality of detection circuits can operate in parallel with each other, and the plurality of processing circuits can operate exclusively on the basis of a result of determination of the communication method determining circuit.
As other concrete modes, the device can be constructed as follows.
A semiconductor integrated circuit device may include: a demodulating circuit capable of demodulating an input signal; a first sampling circuit capable of sampling output signals of the demodulating circuit synchronously with a predetermined clock signal; a second sampling circuit capable of sampling output signals of the demodulating circuit, which are the same as those input to the first sampling circuit, synchronously with a predetermined clock signal in parallel with the sampling operation of the first sampling circuit; a first detection circuit capable of detecting a header in an output signal of the first sampling circuit; a second detection circuit operating in parallel with the first detection circuit and capable of detecting a header in an output signal of the second sampling circuit; a first processing circuit receiving a detection result of the first detection circuit and capable of performing a predetermined data process; a second processing circuit receiving a detection result of the second detection circuit and capable of performing a predetermined data process; and a communication method determining circuit capable of determining a match to a preset communication method from detection results of the first and second detection circuits. The first and second processing circuits operate exclusively on the basis of a determination result of the communication method determining circuit. In this case, the first detection circuit detects a preamble in an output signal of the first sampling circuit, and the second detection circuit detects an SOF (Start Of Frame) in an output signal of the second sampling circuit.
A semiconductor integrated circuit device may include: a demodulating circuit capable of demodulating an input signal; a first sampling circuit capable of sampling output signals of the demodulating circuit synchronously with a predetermined clock signal; a second sampling circuit capable of sampling output signals of the demodulating circuit, which are the same as those input to the first sampling circuit, synchronously with a predetermined clock signal in parallel with the sampling operation of the first sampling circuit; a first detection circuit capable of detecting a header in an output signal of the first sampling circuit; a second detection circuit capable of detecting a header in an output signal of the second sampling circuit, which is the same as that input to the first sampling circuit, in parallel with the sampling operation of the first detection circuit; a first processing circuit receiving a detection result of the first detection circuit and capable of performing a predetermined data process; a second processing circuit receiving a detection result of the second detection circuit and capable of performing a predetermined data process; and a communication method determining circuit capable of determining a match to a preset communication method from output signals of the first and second sampling circuits. The first and second processing circuits operate exclusively on the basis of a determination result of the communication method determining circuit. The communication method determining circuit can determine a match to either a first communication method conformed with ISO14443-A or a second communication method conformed with ISO14443-B.
A semiconductor integrated circuit device may include: a demodulating circuit capable of demodulating an input signal; a first sampling circuit capable of sampling output signals of the demodulating circuit synchronously with a predetermined clock signal; a second sampling circuit capable of sampling output signals of the demodulating circuit, which are the same as those input to the first sampling circuit, synchronously with a predetermined clock signal in parallel with the sampling operation of the first sampling circuit; a first detection circuit capable of detecting a header in an output signal of the first sampling circuit; a second detection circuit operating in parallel with the first detection circuit and capable of detecting a header in an output signal of the first sampling circuit; a third detection circuit operating in parallel with the first and second detection circuits and capable of detecting a header in an output signal of the second sampling circuit; a fourth detection circuit operating in parallel with the first, second, and third detection circuits and capable of detecting a header in an output signal of the second sampling circuit; a first processing circuit receiving a detection result of the first detection circuit and capable of performing a predetermined data process; a second processing circuit receiving a detection result of the second detection circuit and capable of performing a predetermined data process; a third processing circuit receiving a detection result of the third detection circuit and capable of performing a predetermined data process; a fourth processing circuit receiving a detection result of the fourth detection circuit and capable of performing a predetermined data process; and a communication method determining circuit capable of determining a match to a preset communication method from detection results of the first, second, third, and fourth detection circuits. The first, second, third, and fourth processing circuits operate exclusively on the basis of a determination result of the communication method determining circuit.
By mounting a semiconductor integrated circuit with any of the above-described configurations, a noncontact IC card adaptable to a plurality of reader-writers of different communication methods can be constructed.
An effect obtained by the representative ones of the inventions disclosed in the specification is briefly described as follows.
In short, time required to establish a connection in a noncontact IC card adaptable to a plurality of communication methods can be shortened.
BRIEF DESCRIPTION OF THE DRAWINGS
The noncontact IC card CD-003 includes, although not limited, an antenna coil 11, a rectifying circuit 12, a power source circuit 13, a CPU 20, a demodulating circuit 14, a modulating circuit 15, a noncontact control circuit 16, a ROM (Read Only Memory) 17, a RAM (Random Access Memory) 18, an EEPROM (Electrically Erasable Programmable Read Only Memory) 19, and a CPU (Central Processing Unit). The components except for the antenna coil 11 are formed on a single semiconductor substrate such as a single-crystal silicon substrate or the like by a known semiconductor integrated circuit manufacturing technique.
The antenna coil 11 enables power supply from the reader-writer RW-001 or RW-002 side and transmission/reception of various information by electromagnetic induction with the reader-writer RW-001 or RW-002. The rectifying circuit 12 rectifies the induced current obtained by the antenna coil 11. The rectified output is supplied to the power supply circuit 13. On the basis of an output of the rectifying circuit 12, the power supply circuit 13 generates a power source voltage for operating an internal circuit in the noncontact IC card CD-003. The demodulating circuit 14 demodulates a modulation signal transmitted from the reader-writer RW-001 or RW-002 via the antenna coil 11, thereby outputting a binary signal. The binary signal output from the demodulating circuit 14 is transmitted to the noncontact control circuit 16 at the post stage. The modulating circuit 15 modulates a predetermined carrier wave on the basis of a signal transmitted from the noncontact control circuit 16. An output signal of the modulating circuit 15 is transmitted to the reader-writer RW-001 or RW-002 via the antenna coil 11. The noncontact control circuit 16 executes various controls for transmitting/receiving information in a state where it is not in contact with the reader-writer RW-001 or RW-002 in accordance with a predetermined communication protocol. In the ROM 17, an OS (Operating System) as a basic program executed by the CPU 20 is stored. The RAM 18 is used as a temporary memory area of data, a work area of a computing process in the CPU 20, or the like. In the EEPROM 19, an application program to be executed by the CPU 20 is stored. The noncontact control circuit 16, ROM 17, RAM 18, EEPROM 19, and CPU 20 are coupled to each other so as to be able to transmit/receive signals to/from each other via a bus 21.
The noncontact control circuit 16 includes a first sampling circuit 161-1, a second sampling circuit 161-2, a first detection circuit 162-1, a second detection circuit 162-2, and a communication method determining circuit 163. The first sampling circuit 161-1 samples output signals of the demodulating circuit 14 synchronously with a predetermined clock signal. An output signal of the first sampling circuit 161-1 is transmitted to the first detection circuit 162-1 disposed in correspondence with the first sampling circuit 161-1. The second sampling circuit 161-2 samples output signals of the demodulating circuit 14 synchronously with a predetermined clock signal. An output signal of the second sampling circuit 161-2 is transmitted to the second detection circuit 162-2 disposed in correspondence with the second sampling circuit 161-2. The communication method determining circuit 163 determines a matched preset communication method from the result of header detection of the first detection circuit 162-1 and the header detection result of the second detection circuit 162-2. Since the communication method T-01 is set as ISO14443-B and the communication method T-002 is set as high-speed type (refer to
As described above, the high-speed type has the coding method 1 (Manchester coding) and the header type 1 (preamble) of the packet format, and the ISO14443-B type has the coding method 2 (NRZ) and the header type 2 (SOF) of the packet format. Consequently, preamble detection is performed in header detection 31 in the first detection circuit 162-1, and SOF detection is performed in the header detection of the second detection circuit 162-2.
For example, as shown in
On the other hand, a reader signal R-2 of the ISO14443-B type has SOF (FM-2) as the header of the ISO14443-B type. When the SOF (FM-2) is detected in the header detection 41 in the second detection circuit 162-2, the detection result SS-2 of the header detection 41 in the second detection circuit 162-2 is asserted to the high level, thereby transmitting a signal indicating that the SOF (FM-2) is detected to the communication method determining circuit 163. At this time, the detection result SS-1 of the header detection 31 in the first detection circuit 162-1 is maintained in the low level state.
In the case where the header detection result SS-1 is asserted to the high level, the communication method determining circuit 163 supplies a signal indicative of a match to the “high-speed type” as match/mismatch information to the CPU 20. In the case where the header detection result SS-2 is asserted to the high level, a signal indicative of a match to the “ISO14443-B type” is supplied as match/mismatch information to the CPU 20.
In the first detection circuit 162-1, other than the header detection 31, SYNC (sync) code detection 32, data length detection 33, data detection 34, and CRC (error correcting code) detection 35 are performed, and a detection result is transmitted to a first processing circuit 201-1. The first processing circuit 201-1 is, although not limited, processing means which is realized by execution of a predetermined program in the CPU 20.
In the second detection circuit 162-1, other than the header detection 41, data detection 42 and EOF (End Of Frame) detection 43 are performed. The detection result is transmitted to a second processing circuit 201-2. The second processing circuit 202-2 is, although not limited, processing means which is realized by execution of a predetermined program in the CPU 20.
As shown in
The embodiment can obtain the following effects.
(1) The semiconductor integrated circuit device of the invention includes: the single demodulating circuit 14 capable of demodulating an input signal; the first and second sampling circuits 161-1 and 161-2-each capable of sampling output signals of the demodulating circuit synchronously with a predetermined clock signal; the first and second detection circuits 162-1 and 162-2 capable of detecting headers of output signals of the corresponding sampling circuits; the first and second processing circuits 201-1 and 201-2 capable of performing a predetermined data process on the basis of detection results of the corresponding detection circuits; and the communication method determining circuit 163 capable of determining a match to a preset communication method from results of the header detection by the plurality of detection circuits. Since the first and second sampling circuits 161-1 and 161-2 capable of sampling signals operate in parallel and the first and second detection circuits 162-1 and 162-2 operate in parallel, time required to establish a connection and enable information to be actually transmitted/received is reduced more than the conventional method of determining a proper circuit by sequentially selecting circuits by a selector.
(2) By exclusively performing a process in the first processing circuit 201-1 and a process in the second processing circuit 201-2 in accordance with a result of determination in the communication method determining circuit 163, the process can be efficiently performed.
Other examples of the configuration will now be described.
The configuration shown in
The configuration shown in
The configuration shown in
Although the invention achieved by the inventors herein has been concretely described above, obviously, the invention is not limited to the concrete examples but may be variously modified without departing from the gist.
In the above, the case where the invention achieved by the inventors herein is applied to a semiconductor integrated circuit to be mounted on an IC card in the field of utilization as the background has been described. However, the invention is not limited to the case.
The invention can be applied on condition that at least a single demodulating circuit capable of demodulating an input signal is provided.
Claims
1. A semiconductor integrated circuit device comprising:
- a demodulating circuit capable of demodulating an input signal;
- a plurality of sampling circuits which are commonly connected to an output of said demodulating circuit and each capable of sampling output signals of said demodulating circuit synchronously with a predetermined clock signal;
- a plurality of detection circuits arranged in correspondence with said sampling circuits and capable of detecting headers of output signals of said corresponding sampling circuits;
- a plurality of processing circuits disposed in correspondence with said plurality of detection circuits and capable of performing a predetermined data process on the basis of detection results of said corresponding detection circuits; and
- a communication method determining circuit capable of determining a match to a preset communication method from results of the header detection by said plurality of detection circuits.
2-7. (canceled)
Type: Application
Filed: Dec 5, 2007
Publication Date: Apr 17, 2008
Applicants: ,
Inventors: Yutaka NAKADAI (Yachiyo), Yasuyoshi Nakajima (Kokubunji), Norihisa Yamamoto (Kodaira), Toshiaki Shibata (Kodaire)
Application Number: 11/951,052
International Classification: H03D 3/00 (20060101);