US20130064330A1 - Semiconductor device and communication device - Google Patents
Semiconductor device and communication device Download PDFInfo
- Publication number
- US20130064330A1 US20130064330A1 US13/670,406 US201213670406A US2013064330A1 US 20130064330 A1 US20130064330 A1 US 20130064330A1 US 201213670406 A US201213670406 A US 201213670406A US 2013064330 A1 US2013064330 A1 US 2013064330A1
- Authority
- US
- United States
- Prior art keywords
- signal
- type
- modulation period
- code
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/02—Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
- H04L27/06—Demodulator circuits; Receiver circuits
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0008—General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10297—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
- H04L25/4904—Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using self-synchronising codes, e.g. split-phase codes
Definitions
- the present invention relates to a semiconductor device and a communication device for communication control. More specifically, the present invention relates to a technology that is appropriately applicable to IC cards and the other NFC (Near Field Communication) terminals designed for electromagnetic induction communication.
- NFC Near Field Communication
- JICSAP Japan IC Card System Application Council
- the type-A system pauses an RF (Radio Frequency) operating magnetic field and performs 100% ASK (amplitude shift keying) modulation.
- a Modified Miller code is used for modulated signals.
- the type-B system performs 10% ASK modulation on the RF operating magnetic field.
- An NRZ (Non Return to Zero) code is used for modulated signals.
- the high-speed type performs 10% ASK modulation on the RF operating magnetic field.
- a Manchester code is used for modulated signals.
- a communication terminal such as the IC card has decoders compatible with the communication systems.
- the communication terminal such as the IC card uses a determination circuit to determine whether or not the decoders successfully decode data.
- a selection circuit needs to select an output from the decoder that successfully decodes data.
- Patent Document 1 describes an example of providing a reader/writer with multiple decoding circuits and selection circuits in accordance with communication systems.
- a proximity communication terminal such as a combination card may be compatible with multiple communication systems using multiple communication means corresponding to the communication systems.
- the circuit scale increases. This does not affect desktop reader/writers but may be a critical issue for portable devices such IC cards and portable communication terminals in consideration for miniaturization and weight saving.
- Patent Document 1 describes determination of a communication system by measuring an interval between rising and trailing edges of a binarized signal. However, Patent Document 1 does not describe a specific determination method or application thereof to reproduction of received data. Patent Document 1 simply discloses an idea of time measurement for the type determination.
- a reception logic circuit determines and decodes code types for reception signals coded with different codes.
- the reception logic circuit determines one of code types for a demodulation signal corresponding to the reception signal based on a difference between codes detected during a modulation period or a non-modulation period occurring in the demodulation signal.
- the reception logic circuit decodes the code type in accordance with the determined code type based on the modulation period or the non-modulation period that alternately occurs in the demodulation signal. In this manner, the received data is reproduced. There is no need for a decoder specific to each code.
- FIG. 1 is a block diagram exemplarily showing a reception logic circuit
- FIG. 2 is a block diagram exemplarily showing a non-contact IC card as an example of the communication device according to the invention
- FIG. 3 is an explanatory diagram exemplarily showing a type-A modulation code
- FIG. 4 is an explanatory diagram exemplarily showing a type-B modulation code
- FIG. 5 is an explanatory diagram exemplarily showing a high-speed type modulation code
- FIG. 6 is a waveform diagram showing a demodulation signal waveform at initiation of packet reception
- FIG. 7 is a flowchart showing a code type determination operation, i.e., a communication system determination operation
- FIG. 8 is a waveform diagram showing a 2-bit signal coded with the type-A modulation code
- FIG. 9 is a waveform diagram showing a 2-bit signal coded with the type-B modulation code
- FIG. 10 is a waveform diagram showing a 2-bit signal coded with an FLC modulation code
- FIG. 11 is a timing chart exemplarily showing a type-A decode operation
- FIG. 12 is a timing chart exemplarily showing a type-B decode operation
- FIG. 13 is a timing chart exemplarily showing a high-speed type (FLC) decode operation
- FIG. 14 is a block diagram showing another example of the reception logic circuit
- FIG. 15 is a block diagram showing yet another example of the reception logic circuit.
- FIG. 16 is a simplified block diagram exemplarily showing a case where the invention is applied to a mobile telephone provided with the NFC system.
- a semiconductor device comprises: a demodulation circuit for demodulating a modulated signal that is coded with a specified code type and is received at an antenna; and a reception logic circuit for decoding a demodulation signal that is output from the demodulation circuit.
- the reception logic circuit determines one of multiple code types for the demodulation signal and decodes the demodulation signal in accordance with a determined code type to reproduce reception data.
- the code type is determined based on a difference between codes appearing in a demodulation signal during one of a modulation period and a non-modulation period.
- the demodulation signal is decoded in accordance with a determined code type based on a state of one of a modulation period and a non-modulation period alternately appearing in the demodulation signal.
- the above-mentioned reception logic circuit does not need a decoder specific to each code type. It is possible to reduce the scale of the circuit for determining and decoding code types of reception signals that are coded with different code types.
- the reception logic circuit comprises: a timer that measures one of a modulation period and a non-modulation period appearing in a demodulation signal; a determination section that determines a code type based on a measurement value measured by the timer; and a decode section that uses a result measured by the timer in accordance with a determined code type, decodes the demodulation signal, and reproduces reception data. It is possible to determine and decode a code type based on a measurement result from the timer.
- the timer measures a period by counting a clock signal synchronized with a carrier clock signal extracted from a modulated signal. This is convenient when a carrier clock can be extracted from a reception signal.
- the code types mainly comprise Modified Miller, NRZ, and Manchester codes.
- the determination section determines an NRZ code when the timer detects an excess of a measurement value for the non-modulation period over a value equivalent to half an encode time unit for each of Modified Miller and NRZ codes during a modulation period in a demodulation signal.
- the determination section determines a Modified Miller code when a demodulation signal enters a non-modulation period before excess over the value equivalent to half the encode time unit and a measurement value for the non-modulation period is detected to exceed the value equivalent to half the encode time unit during the non-modulation period.
- the determination section determines a Manchester code when a demodulation signal reenters a modulation period before a measurement value for the non-modulation period exceeds the value equivalent to half the encode time unit. It is possible to easily determine the Modified Miller, NRZ, and Manchester codes.
- the Manchester code comprises multiple code types corresponding to different data transmission rates.
- the determination section determines a transmission rate difference in the Manchester code in accordance with an increase in a measurement value for a modulation period. It is possible to determine Manchester codes having different transmission rates.
- the timer measures each non-modulation period when a Modified Miller code is determined as a code type.
- the decode section reverses a logical value at each excess of a timer measurement value over a threshold value and synchronizes a reverse timing with the encode time unit to generate a decode signal.
- the Modified Miller code can be easily decoded.
- the threshold value is equivalent to a period exceeding half the encode time unit. It is possible to reduce possibilities of a decoding error due to an effect of duty variations in a demodulation signal waveform during the encode time unit.
- the timer when an NRZ is determined as a code type, the timer repeatedly measures a period equivalent to 1/n of an encode time unit from initiation of a non-modulation period and measures a period equivalent to 1/n of an encode time unit from initiation of a modulation period.
- the decode section When an NRZ code is determined as a code type, the decode section reverses a logical value at each excess of the timer measurement value over a threshold value and synchronizes a reverse timing with the encode time unit to generate a decode signal.
- the NRZ code can be easily decoded.
- the threshold value is equivalent to a period half the encode time unit. It is possible to reduce possibilities of a decoding error due to an effect of duty variations in a demodulation signal waveform.
- the timer measures a period overlapping with a non-modulation period and a period overlapping with a modulation period for each specified period before and after a boundary for an encode time unit.
- the decode section reverses a logical value at each excess of the timer measurement value over a threshold value and synchronizes a reverse timing with the encode time unit to generate a decode signal.
- the Manchester code can be easily decoded.
- the specified period before and after a boundary for an encode time unit comprises a period equivalent to a quarter of an encode time unit before and after the same. It is possible to reduce possibilities of a decoding error due to an effect of duty variations in a demodulation signal waveform.
- the semiconductor device further comprises: a reception data buffer that temporarily stores reception data output from the reception logic circuit; a transmission data buffer that temporarily stores transmission data; a transmission logic circuit that encodes transmission data output from the transmission data buffer in accordance with a code type determined by the reception logic circuit; a modulation circuit that modulates a carrier into a data signal based on an encoding signal generated by the transmission logic circuit; and a central processing unit that controls operations of the reception logic circuit and the transmission logic circuit and provides access control for the reception data buffer and the transmission data buffer.
- the semiconductor device can be configured as a microcontroller or a microcomputer.
- a communication device performs communication based on electromagnetic induction using a carrier and includes a data processing device.
- the data processing device comprises: a demodulation circuit for demodulating a modulated signal that is coded with a specified code type and is received at an antenna; and a reception logic circuit for decoding a demodulation signal that is output from the demodulation circuit.
- the reception logic circuit determines one of multiple code types for the demodulation signal and decodes the demodulation signal in accordance with a determined code type to reproduce reception data.
- the code type is determined based on a difference between codes appearing in a demodulation signal during one of a modulation period and a non-modulation period.
- the demodulation signal is decoded in accordance with a determined code type based on a state of one of a modulation period and a non-modulation period alternately appearing in the demodulation signal.
- the reception logic circuit does not require a decoder specific to each code. It is possible to reduce the scale of the circuit for determining and decoding code types of reception signals that are coded with different code types. Consequently, the communication device can be miniaturized.
- the reception logic circuit comprises: a timer that measures one of a modulation period and a non-modulation period appearing in a demodulation signal; a determination section that determines a code type based on a measurement value measured by the timer; and a decode section that decodes the demodulation signal in accordance with a determined code type and reproduces reception data. It is possible to determine and decode a code type based on a measurement result from the timer.
- FIG. 2 shows a non-contact IC card as an example of the communication device according to the invention.
- the reference numeral 1 represents a non-contact IC card (CRD).
- the non-contact IC card 1 is provided with an antenna 3 and a microcomputer (MCU) 4 for the IC card on a card substrate.
- the microcomputer 4 is an example of the semiconductor device according to the invention.
- the microcomputer 4 is formed on a single semiconductor substrate made of single-crystalline silicon using a complementary MOS integrated-circuit manufacturing technology, for example.
- the microcomputer 4 includes a non-contact communication analog section (CFCALG) 11 , a non-contact communication logic section (CFCLGC) 12 , a central processing unit (CPU) 13 , memory (MRY) 14 such as RAM, the other circuit (OTHC) 15 containing a timer and nonvolatile memory, and a bus (BUS) 16 .
- CFCALG non-contact communication analog section
- CFCLGC non-contact communication logic section
- CPU central processing unit
- MRY such as RAM
- OHC other circuit
- BUS bus
- the non-contact communication analog section 11 includes a reception circuit (RCVC) 20 , a demodulation circuit (DMDL) 21 , and a modulation circuit (MDL) 22 .
- RCVC reception circuit
- DMDL demodulation circuit
- MDL modulation circuit
- the non-contact communication logic section 12 includes a reception logic circuit (RXLGC) 30 , a reception data buffer (RXDBUF) 31 , a transmission logic circuit (TXLGC) 32 , a transmission data buffer (TXDBUF) 33 , and a control logic section (CNTLGC) 34 .
- RXLGC reception logic circuit
- RXDBUF reception data buffer
- TXLGC transmission logic circuit
- TXDBUF transmission data buffer
- CNTLGC control logic section
- the antenna 3 provides a closed loop coil. A change in an electric current flowing through the coil allows the antenna 3 to generate an electromagnetic wave. A change in a magnetic flux passing through the coil as the antenna 3 applies an electric current to the antenna 3 .
- the reception circuit 20 receives a current flowing through the antenna 3 .
- the reception circuit 20 synchronizes, detects, and outputs the current to the demodulation circuit 21 .
- the demodulation circuit 21 demodulates a demodulation signal 23 supplied from the reception circuit 20 and supplies the signal to the reception logic circuit 30 .
- the reception logic circuit 30 determines a code type of the demodulation signal 23 supplied from the demodulation circuit 21 .
- the reception logic circuit 30 decodes the demodulation signal 23 in accordance with the determined code type.
- the reception logic circuit 30 supplies the reception data buffer 31 with reception data 35 resulting from the decoding.
- the determined code type is supplied to the control logic section 34 .
- the reference numeral 36 generically represents a signal that is input and output between the reception logic circuit 30 and the control logic section 34 .
- the CPU 13 transfers reception data stored in the reception data buffer 31 to the memory 14 .
- the CPU 13 sequentially processes data based on the data.
- the CPU 13 transfers such data to the transmission data buffer 33 from the memory 14 via the bus 16 .
- the transmission logic circuit 32 receives information about the determined code type from the control logic section 34 .
- the transmission data buffer 33 outputs transmission data 37
- the transmission logic circuit 32 encodes that data in accordance with the code type.
- the transmission logic circuit 32 then supplies a modulation control signal 38 to the modulation circuit 22 .
- the reference numeral 39 generically represents a signal that is input and output between the transmission logic circuit 32 and the control logic section 34 .
- the modulation circuit 22 varies an impedance of the coil as the antenna 3 viewed from outside in accordance with the modulation control signal 38 received from the transmission logic circuit 32 .
- the reader/writer outputs an electromagnetic wave as a carrier to generate a magnetic field due to a high-frequency wave around the antenna 3 .
- the magnetic field around the antenna 3 varies as the impedance of the coil as the antenna 3 varies.
- the carrier as an electromagnetic wave output from the reader/writer is modulated in accordance with the modulation control signal 38 .
- Data supplied from the CPU 13 to the transmission data buffer 33 is transmitted to the reader/writer that outputs electromagnetic waves.
- Transmission rate information is contained in the determined code type information received from the control logic 34 . Based on the transmission rate information, it is possible to control the transmission rate of a signal transmitted from the antenna 3 .
- a device called an initiator is used for proximity communication based on the electromagnetic induction so as to initially output an electromagnetic wave and start the communication.
- the initiator transmits a command to a communication destination referred to as a target.
- the communication destination returns a response to the command to establish the proximity communication.
- As a communication destination the target returns a response to the command from the initiator.
- the embodiment provides an example where the reader/writer works as an initiator and the IC card works as a target.
- the IC card 1 uses the above-mentioned type A, type B, and high-speed type as transmission code specifications.
- the type A encodes data using Modified Miller as the code type during data transmission from the reader/writer to the IC card.
- the type A encodes data using Manchester as the code type during data transmission from the IC card to the reader/writer.
- the type B encodes data using NRZ as the code type during data transmission from the reader/writer to the IC card.
- the type B encodes data using NRZ-L (Non Return to Zero-Level) as the code type during data transmission from the IC card to the reader/writer.
- the type A or B uses 106 kbps (kilobits per second), 212 kbps, 424 kbps, or 847 kbps as a data transmission rate.
- the type B uses 106 kbps as the data transmission rate.
- the type A and the type B use 106 kbps for initial communication between the reader/writer and the IC card.
- the high-speed type uses Manchester as the code type for encoding during data transmission between the reader/writer and the IC card.
- the high-speed type selects 212 kbps, 424 kbps, or 847 kbps as the data transmission rate.
- the selected transmission rate is used for the communication from the beginning.
- FIG. 3 exemplarily shows a modulation code for the type A.
- FIG. 4 exemplarily shows a modulation code for the type B.
- FIG. 5 exemplarily shows a modulation code for the high-speed type.
- FIGS. 3 and 4 each show a 128-pulse period for the carrier equivalent to one etu (encode time unit) using the transmission rate of 106 kbps.
- the “H” period corresponds to a non-modulation period.
- the “L” period corresponds to a modulation period.
- the reception logic circuit 30 determines whether the demodulation signal 23 demodulated in the demodulation circuit 21 uses the type A, the type B, or the high-speed type as the code type.
- the reception logic circuit 30 decodes the demodulation signal 23 in accordance with a determination result.
- the reception logic circuit 30 uses a signal 36 to supply the control logic section 34 with the determination result which includes a code type.
- the control logic section 34 uses a signal 39 to supply the transmission logic circuit 32 with the determination result.
- the transmission logic circuit 32 encodes the transmission data 37 using the specified code type to generate the modulation control signal 38 .
- FIG. 1 shows an example of the reception logic circuit 30 .
- a clock extraction circuit (CKEXT) 24 is included in the non-contact communication analog section 11 and generates a carrier extraction clock signal 25 from the carrier in response to output from the reception circuit 20 .
- a clock pulse generator (CPG) 26 Based on the carrier extraction clock signal 25 , a clock pulse generator (CPG) 26 generates an operation clock signal 27 equivalent to the carrier frequency.
- the operation clock signal 27 is used as an operation reference clock for the reception logic circuit 30 and the other circuits.
- the carrier extraction clock signal 25 has the frequency of 13.56 MHz, for example.
- the reception logic circuit 30 includes a timer 40 , a determination section (determination circuit) 45 , and a decode section 50 .
- the timer 40 measures a modulation period or a non-modulation period appearing in the demodulation signal 23 .
- the determination section (determination circuit) 45 determines the code type of the demodulation signal 23 based on a value measured by the timer 40 .
- the decode section 50 demodulates the demodulation signal 23 using a result measured by the timer in accordance with the determined code type and reproduces the reception data.
- the code type determination result from the determination section 45 just corresponds to the type A, the type B, or the high-speed type as the transmission code specification for the active electromagnetic wave communication and indicates which communication system is to be used.
- the code type determination result from the determination section 45 is equivalent to a communication system determination result and a transmission rate determination result.
- the above-mentioned communication is performed as packet communication using a specified format.
- the determination section 45 checks the beginning preamble to determine the code type.
- the control logic section 34 uses a signal 52 to initialize the determination section 45 .
- a signal 51 is also initialized accordingly.
- the timer 40 is provided with an operation mode for determining the code type and starts determining the code type in response to input of the modulated signal 23 .
- the preamble is followed by a synch code and a data section.
- the timer 40 and the decode section 50 receive the signal 51 concerning results of the code type determination for the sync code and the data section from the determination section 45 .
- the timer 40 and the decode section 50 accordingly perform a timer operation and a decode operation to decode the corresponding demodulation signal.
- the timer 40 includes a non-modulation period measuring timer (TMRN) 41 and a modulation period measuring timer (TMRM) 42 , for example.
- the non-modulation period measuring timer (TMRN) 41 measures a non-modulation period in the demodulation signal 23 in accordance with an operation mode indicated by the signal 51 .
- the signal 51 indicates the operation mode such as a code type determination operation mode, a first timer operation mode corresponding to the type-A communication system, a second timer operation mode corresponding to the type-B communication system, or a third timer operation mode corresponding to the high-speed type communication system.
- the modulation period measuring timer (TMRM) 42 measures a modulation period in the demodulation signal 23 in accordance with an operation mode indicated by the signal 51 .
- the signal 51 indicates the operation mode such as the code type determination operation mode, the first timer operation mode corresponding to the type-A communication system, the second timer operation mode corresponding to the type-B communication system, or the third timer operation mode corresponding to the high-speed type communication system.
- the decode section 50 includes a timer value comparison circuit (CMPTBL) 46 , a toggle circuit (TGGL) 48 , a latch circuit (LAT) 49 , and an etu clock generation circuit (ETUGNR) 47 .
- the timer value comparison circuit 46 compares measurement values 43 and 44 from the measuring timers 41 and 42 with a threshold value selected based on the determination signal 51 from the determination section 45 .
- the timer value comparison circuit 46 outputs a control signal 53 corresponding to a comparison result to the toggle circuit 48 .
- the determination result indicated by the signal 51 and immediately preceding bit (previous bit) fed back from the latch circuit 49 determine which of the measurement values 43 and 44 is to be used for the determination or which threshold value is to be used for the comparison.
- the latch circuit 49 latches and outputs a value (immediately preceding bit value).
- the toggle circuit 48 is fed back with the output value as a signal 35 .
- the toggle circuit 48 selectively reverses the input value and outputs it to the latch circuit 49 .
- the selective reversal occurs when the control signal 53 changes.
- the latch timing of the latch circuit 49 corresponds to every cycle of an etu clock signal 54 .
- An etu clock generation circuit 47 outputs the etu clock signal based on the determination result supplied from the signal 51 .
- the cycle of the etu clock signal is equivalent to one bit of reception data and differs from one of the communication systems to another.
- the following describes operations for determining the code types or the communication systems.
- An SOC indicates the beginning of a communication frame according to the type-A communication system.
- An SOF indicates the beginning of a communication frame according to the type-B communication system.
- a preamble indicates the beginning of a communication frame according to the high-speed type communication system.
- An initial communication frame contains “0” for each of the SOC, SOF, and preamble.
- the determination section 45 checks the measurement values 43 and 44 and recognizes the characteristic of the signal “0” transmitted from the reader/writer.
- Communication frame structures of the communication systems are described in ISO14443-A, ISO14443-B, and the high-speed IC card system standardized by Japan IC Card System Application Council (JICSAP).
- FIG. 6 shows a demodulation signal waveform when the packet reception starts.
- One bit is shown for TYPE-A (type-A communication system) and TYPE-B (type-B communication system).
- Two bits are shown for FLC-212 kbps (212 kbps high-speed type communication system).
- Four bits are shown for FLC-424 kbps (424 kbps high-speed type communication system).
- Eight bits are shown for FLC-847 kbps (847 kbps high-speed type communication system). All the communication systems initially receive data “0s”.
- FIG. 7 exemplarily shows a flowchart showing a code type determination operation, i.e., a communication system determination operation.
- the determination operation starts when a demodulation signal set to “L” is received in a reception wait state (S 1 ).
- the operation zeros a counter value n 1 of the modulation period measuring timer when the “L” demodulation signal 23 is received (S 2 ).
- the operation increments the modulation period measuring timer while receiving the modulation portion (“L”) of the demodulation signal 23 (S 3 ).
- a counter clock (fc) to be counted is assumed to be the operation clock signal 27 that is generated from the clock generation circuit 26 such as a PLL circuit for inputting the carrier extraction clock signal (13.56 MHz) 25 .
- the frequency of the operation clock signal 27 is equal to the frequency of 13.56 MHz of the carrier extraction clock signal 25 but is not limited thereto.
- the modulation period measuring timer 42 compares the counter value n 1 with a value nb that is assumed to be 64.
- the operation may receive the non-modulation portion (“H”) in the demodulation signal 23 (S 5 ).
- the operation zeros the counter value n 2 of the non-modulation period measuring timer 41 (S 6 ).
- the operation increments the non-modulation period measuring timer 41 while receiving the non-modulation portion of the demodulation signal 23 (S 7 ).
- the counter clock fc is assumed to be the operation clock signal 27 that is generated from the clock generation circuit 26 based on the carrier extraction clock signal (13.56 MHz) 25 .
- the non-modulation period measuring timer 41 compares the counter value n 2 with a value na that is assumed to be 64.
- the value of na or nb is not limited to 64 because some margin is provided.
- the operation may omit steps S 1 to S 4 and start from step S 5 .
- the operation may re-receive the modulation portion (“H”) of the demodulation signal 23 (S 9 ).
- the operation zeros the counter value n 1 of the modulation period measuring timer 42 .
- the operation increments the modulation period measuring timer 42 while receiving the modulation portion of the demodulation signal 23 (S 10 ).
- the communication system may be assumed to be FLC-212 kbps (S 13 ).
- the communication system may be assumed to be FLC-847 kbps (S 14 ). Otherwise, the communication system may be assumed to be FLC-424 kbps (S 15 ).
- the FLC high-speed type communication fills the first 48 bits of data with successive “0s” as logical values. The determination precision may be improved by returning to step S 5 to repeat the operation. Though not shown in the drawing, the operation may zero the counter value n 1 of the modulation period measuring timer 42 when receiving the modulation portion at step S 9 .
- the operation may maintain the non-modulation period measuring timer value measured at step S 7 .
- the operation may compare the maintained non-modulation period measuring timer value with the appropriately settled threshold value nf 2 .
- nf 2 the communication system may be assumed to be FLC-212 kbps. Otherwise, the operation may compare the maintained timer value 2 with the appropriately settled threshold value nf 8 .
- n 2 ⁇ nf 8 the communication system may be assumed to be FLC-847.
- the communication system may be assumed to be FLC-424 kbps. This method can simplify the determination flow without the need for step S 11 as the measurement operation.
- FIG. 8 shows a 2-bit signal coded with the modulation code according to the type-A system.
- FIG. 9 shows a 2-bit signal coded with the modulation code according to the type-B system.
- FIG. 10 shows a 2-bit signal coded with the modulation code according to the type-FLC system.
- a change in data from “0” to “1” or from “1” to “0” causes the non-modulation period (“H” period) to be longer than that for the unchanged data “0” or “1”.
- the modulation changes to the demodulation or vice versa when data changes from “0” to “1” or vice versa.
- the modulation or demodulation remains unchanged when data remains “0” or “1”.
- a change in data from “0” to “1” or from “1” to “0” causes the modulation period or the non-modulation period to be longer than that for the unchanged data “0” or “1”.
- the type-A system, the type-B system, and the FLC system each initially receive data “0” from the reader/writer.
- the type-A system When decoding a reception signal, the type-A system continuously uses the non-modulation period measuring timer 41 for the communication system determination. During the type-A communication as mentioned above, a change in data from “0” to “1” or from “0” to “1” causes the continuous non-modulation period to be longer than that for the unchanged data.
- the timer value comparison circuit 46 is supplied with an appropriate determination threshold value.
- the timer value comparison circuit 46 generates a data reversal control signal 53 when a count value of the non-modulation period measuring timer matches the determination threshold value.
- the latch circuit 49 latches data “0” in advance because data “0” is initially received from the reader/writer.
- the toggle circuit 48 as a data reversal circuit receives the data reversal control signal 53 .
- the toggle circuit 48 reverses the most recent decode signal (previous value of the latch circuit 49 ) received from the latch circuit 49 and transmits the signal to the latch circuit 49 .
- the latch circuit 49 latches the output signal from the toggle circuit 48 in synchronization with the etu clock signal cycle. In this manner, the type-A system can decode reception signals.
- the type-B system When decoding a reception signal, the type-B system continuously uses the non-modulation period measuring timer 41 and the modulation period measuring timer 42 used for the communication type determination. According to the type-B system, as mentioned above, the modulation changes to the demodulation or vice versa when data changes from “0” to “1” or vice versa. The modulation or demodulation remains unchanged when data remains “0” or “1”.
- the timer value comparison circuit 46 is supplied with an appropriate determination threshold value.
- the data reversal control signal 53 is activated when a measurement value of the non-modulation period measuring timer 41 matches the determination threshold value and the latch circuit 49 contains the most recent decode signal set to “0”.
- the data reversal control signal 53 is also activated when a measurement value of the modulation period measuring timer 42 matches the determination threshold value and the latch circuit 49 contains the most recent decode signal set to “1”.
- the latch circuit 49 latches data “0” in advance because data “0” is initially received from the reader/writer.
- the toggle circuit 48 receives the data reversal control signal 53 .
- the toggle circuit 48 reverses the most recent decode signal received from the latch circuit 49 and transmits the signal to the latch circuit 49 .
- the latch circuit 49 latches the output signal from the toggle circuit 48 in synchronization with the etu clock signal cycle. In this manner, the type-B system can decode reception signals.
- the high-speed type FLC system When decoding a reception signal, the high-speed type FLC system continuously uses the non-modulation period measuring timer 41 and the modulation period measuring timer 42 used for the communication type determination. According to the FLC communication system, as mentioned above, a change in data from “0” to “1” or from “1” to “0” causes the modulation period or the non-modulation period to be longer than that for the unchanged data.
- the timer value comparison circuit 46 is supplied with an appropriate determination threshold value.
- the data reversal control signal 53 is generated when a measurement value of the non-modulation period measuring timer 41 matches the determination threshold value.
- the data reversal control signal 53 is also generated when a measurement value of the modulation period measuring timer 42 matches the determination threshold value.
- the latch circuit 49 latches data “0” in advance because data “0” is initially received from the reader/writer.
- the toggle circuit 48 receives the data reversal control signal 53 .
- the toggle circuit 48 reverses the most recent decode signal received from the latch circuit 49 and transmits the signal to the latch circuit 49 .
- the latch circuit 49 latches data from the toggle circuit 48 in synchronization with the etu clock signal 54 . In this manner, the FLC system can decode reception signals.
- the timer value comparison circuit 46 may be supplied with determination threshold values for the type-A, type-B, and FLC systems.
- the signal 51 from the determination section 45 is used to select the determination threshold value appropriate to the communication system and the transmission rate.
- An output from the latch circuit 49 is fed back to the timer value comparison circuit 46 .
- the decode section 50 may function as a decoder that can vary the decode system in accordance with a communication system determination result.
- the single decode function circuit can decode reception data in accordance with multiple communication systems.
- the type-A or type-B system can set the transmission rate to 212 kbps, 424 kbps, or 847 kbps in accordance with the communication with the reader/writer after the first communication at 106 kbps.
- the CPU 13 When the communication system or the communication rate is known, the CPU 13 provides control to stop operations of the determination section 45 , for example.
- the CPU 13 transmits the communication system or the communication rate to the decode section 50 .
- the timer value comparison circuit 46 is supplied with determination threshold values for 212 kbps, 424 kbps, and 847 kbps corresponding to the type-A and type-B systems. It is also possible to decode reception data at the transmission rates of 212 kbps, 424 kbps, and 847 kbps corresponding to the type-A and type-B systems.
- FIG. 11 is a timing chart exemplarily showing a type-A decode operation.
- the non-modulation period measuring timer 41 measures the operation clock signal 27 that is equivalent to the carrier extraction clock frequency (13.56 MHz) during an “H” period as the non-modulation period. Initiation of an “L” period as the modulation period zeros the measurement value.
- FIG. 11 indicates the measurement value (count value) 43 as c.u.
- the data transmission rate is 106 kbps.
- the cycle for one bit of data is equivalent to 128 cycles of a carrier.
- the timer value comparison circuit 46 compares the measurement value with the determination threshold value. An excess of the measurement value c.u over the determination threshold value reverses an output 56 from the toggle circuit 48 .
- the output is synchronized with the etu clock signal and is latched with the latch circuit 49 to generate the decode signal 35 .
- the determination threshold value varies with the most recent decode value. When the previous decode value is “1”, the count value reaches 112 to reverse an output from the toggle circuit 48 (t 2 and t 4 ). Further, the count value reaches 192 to reverse an output from the toggle circuit 48 (t 3 ). When the previous decode value is “0”, the count value reaches 112 to reverse an output from the toggle circuit 48 (t 1 ).
- the determination threshold value may be determined appropriately in accordance with how an etu duty varies.
- FIG. 12 is a timing chart exemplarily showing a type-B decode operation.
- the non-modulation period measuring timer 41 starts counting the operation clock signal 27 in synchronization with initiation of the “H” period as the non-modulation period (t 1 ).
- the operation clock signal 27 is equivalent to the carrier extraction clock frequency (13.56 MHz).
- the decode operation reverses an output from the toggle circuit 48 .
- the decode operation stops the measurement operation of the non-modulation period measuring timer 41 and zeros the measurement value of the modulation period measuring timer 42 .
- the modulation period measuring timer 42 starts counting the operation clock signal 27 in synchronization with initiation of the “L” period as the modulation period (t 3 ).
- the operation clock signal 27 is equivalent to the carrier extraction clock frequency (13.56 MHz).
- the decode operation reverses an output from the toggle circuit 48 .
- the decode operation stops the measurement operation of the modulation period measuring timer 42 and zeros the measurement value of the non-modulation period measuring timer 41 .
- the determination threshold value 64 may be used for measurement values. The determination threshold value may be determined in accordance with how a duty varies.
- FIG. 13 is a timing chart exemplarily showing a high-speed type (FLC) decode operation.
- the high-speed type decode operation controls count operations of the measuring timers 42 and 41 using timer enable signals ENB-TMRM and ENB-TMRN generated by the timer value comparison circuit 46 .
- a window clock WCLK is used to generate the timer enable signals ENB-TMRM and ENB-TMRN.
- the data transmission rate is set to 212 kbps.
- the cycle for one bit of data is equivalent to 64 cycles of a carrier.
- the window clock WCLK is assumed to be a signal that is delayed a quarter cycle from the etu clock signal 54 .
- the timer enable signal ENB-TMRN during the non-modulation period is assumed to be an AND signal between the window clock WCLK and the demodulation signal 23 when “0” is detected as the most recent decode value to be fed back from the latch circuit 49 .
- the timer enable signal ENB-TMRN goes low when “1” is detected as the most recent decode value to be fed back.
- the timer enable signal ENB-TMRM during the modulation period is assumed to be an AND signal between the window clock WCLK and the demodulation signal 23 when “1” is detected as the most recent decode value to be fed back from the latch circuit 49 .
- the timer enable signal ENB-TMRM goes low when “0” is detected as the most recent decode value to be fed back.
- the non-modulation period measuring timer 41 performs a measurement operation when the timer enable signal ENB-TMRN is set to “H”.
- the modulation period measuring timer 42 performs a measurement operation when the timer enable signal ENB-TMRM is set to “H”.
- the timer value comparison circuit 46 reverses an output from the toggle circuit 48 (t 1 , t 2 , t 3 , t 4 ).
- the determination threshold value 32 may be used for measurement values because the window clock WCLK is used.
- the window clock WCLK provides a countermeasure against duty variations.
- the above-mentioned reception logic circuit 30 does not need a decoder specific to each code type. It is possible to reduce the scale of the circuit for determining and decoding code types of reception signals that are coded with different code types. This is preferable for devices such as an IC card that needs to be miniaturized.
- FIG. 14 shows another example of the reception logic circuit.
- a reception logic circuit 30 A in FIG. 14 differs from the equivalent in FIG. 1 as follows.
- a period measuring timer (TMR) 60 is used as the non-modulation period measuring timer and the modulation period measuring timer.
- a reception signal demodulated by the demodulation circuit 21 is supplied to the determination section 45 and the timer value comparison circuit 46 .
- the period measuring timer 60 measures a non-modulation period and a modulation period as needed on a time-shared basis.
- the determination section 45 and the timer value comparison circuit 46 can determine whether a measurement value output from a timer 40 A corresponds to the non-modulation period or the modulation period.
- a reception signal demodulated by the demodulation circuit 21 is supplied to the determination section 45 and the timer value comparison circuit 46 . It is possible to reduce the number of components for providing the function equivalent to that shown in FIG. 1 .
- FIG. 15 is a block diagram showing yet another example of the reception logic circuit.
- a reception logic circuit 30 B in FIG. 15 includes a non-modulation period measuring timer and a modulation period measuring timer independently for data decoding and communication system determination.
- a non-modulation period measuring timer 41 B and a modulation period measuring timer 42 B of a timer 40 C are newly added and are specialized for the communication system determination.
- the timers are capable of settling count-up intervals and timings independently for data decoding and communication system determination. The design can be facilitated.
- FIG. 16 exemplarily shows a case where the invention is applied to a mobile telephone (MBLPHN) 70 provided with the NFC system.
- the reference symbol CFCDGL generically signifies the digital circuitry except the non-contact communication analog section 11 in the microcomputer 4 in FIG. 2 .
- the mobile telephone is mounted with the microcomputer (MCU) 4 used for the IC card in FIG. 2 .
- the microcomputer 4 is coupled to a host controller (HSTCNT) 71 and a secure module (SCRMDL) 72 .
- the host controller (HSTCNT) 71 is coupled to an operation section (OPRTN) 73 , a display section (DSP) 74 , and a mobile communication section (MBLCOM) 75 .
- the secure module 72 is used for authentication processes, for example.
- the host controller 71 provides overall control. This example can miniaturize additional circuits when the mobile telephone 70 is mounted with the same interface function as the non-contact IC card.
- the code types are not limited to those described above.
- the modulation systems used for communication are not limited to ASK (Amplitude Shift Keying) and may include PSK (Phase Shift Keying), QAM (Quadrature Amplitude Modulation), and the like.
- the present invention may be widely applied to not only IC cards and mobile telephones but also the other mobile terminals.
Abstract
There is a need for reducing the scale of a circuit that determines and decodes code types for reception signals coded with different codes. A reception logic circuit determines and decodes code types for reception signals coded with different codes. The reception logic circuit determines one of code types for a demodulation signal corresponding to the reception signal based on a difference between codes detected during a modulation period or a non-modulation period occurring in the demodulation signal. The reception logic circuit decodes the code type in accordance with the determined code type based on the modulation period or the non-modulation period that alternately occurs in the demodulation signal. In this manner, the received data is reproduced. There is no need for a decoder specific to each code.
Description
- The disclosure of Japanese Patent Application No. 2008-296563 filed on Nov. 20, 2008 including the specification, drawings and abstract is incorporated herein by reference in its entirety.
- The present invention relates to a semiconductor device and a communication device for communication control. More specifically, the present invention relates to a technology that is appropriately applicable to IC cards and the other NFC (Near Field Communication) terminals designed for electromagnetic induction communication.
- There are several currently available IC card systems having non-contact interfaces. Examples include ISO14443-A (type-A system) and ISO14443-B (type-B system) standardized by ISO, and the high-speed IC card system (referred to as high-speed type) standardized by Japan IC Card System Application Council (JICSAP).
- During data transfer from a reader/writer to the IC card, for example, the type-A system pauses an RF (Radio Frequency) operating magnetic field and performs 100% ASK (amplitude shift keying) modulation. A Modified Miller code is used for modulated signals.
- During data transfer from a reader/writer to the IC card, for example, the type-B system performs 10% ASK modulation on the RF operating magnetic field. An NRZ (Non Return to Zero) code is used for modulated signals.
- During data transfer between a reader/writer and the IC card, for example, the high-speed type performs 10% ASK modulation on the RF operating magnetic field. A Manchester code is used for modulated signals.
- For communication using multiple communication systems, a communication terminal such as the IC card has decoders compatible with the communication systems. The communication terminal such as the IC card uses a determination circuit to determine whether or not the decoders successfully decode data. A selection circuit needs to select an output from the decoder that successfully decodes data.
Patent Document 1 describes an example of providing a reader/writer with multiple decoding circuits and selection circuits in accordance with communication systems. - Patent Document 1: Japanese patent laid-open No. 2002-342725
- A proximity communication terminal such as a combination card may be compatible with multiple communication systems using multiple communication means corresponding to the communication systems. As a result, the circuit scale increases. This does not affect desktop reader/writers but may be a critical issue for portable devices such IC cards and portable communication terminals in consideration for miniaturization and weight saving. In terms of a reader/writer,
Patent Document 1 describes determination of a communication system by measuring an interval between rising and trailing edges of a binarized signal. However,Patent Document 1 does not describe a specific determination method or application thereof to reproduction of received data.Patent Document 1 simply discloses an idea of time measurement for the type determination. - It is an object of the present invention to be capable of reducing the scale of a circuit that determines and decodes code types for reception signals coded with different codes.
- These and other objects and novel features of the invention may be readily ascertained by referring to the following description and appended drawings.
- The following summarizes representative aspects of the present invention disclosed in the specification.
- A reception logic circuit determines and decodes code types for reception signals coded with different codes. The reception logic circuit determines one of code types for a demodulation signal corresponding to the reception signal based on a difference between codes detected during a modulation period or a non-modulation period occurring in the demodulation signal. The reception logic circuit decodes the code type in accordance with the determined code type based on the modulation period or the non-modulation period that alternately occurs in the demodulation signal. In this manner, the received data is reproduced. There is no need for a decoder specific to each code.
- The following summarizes an effect resulting from the representative aspects of the present invention disclosed in the specification.
- It is possible to reduce the scale of a circuit that determines and decodes code types for reception signals coded with different codes.
-
FIG. 1 is a block diagram exemplarily showing a reception logic circuit; -
FIG. 2 is a block diagram exemplarily showing a non-contact IC card as an example of the communication device according to the invention; -
FIG. 3 is an explanatory diagram exemplarily showing a type-A modulation code; -
FIG. 4 is an explanatory diagram exemplarily showing a type-B modulation code; -
FIG. 5 is an explanatory diagram exemplarily showing a high-speed type modulation code; -
FIG. 6 is a waveform diagram showing a demodulation signal waveform at initiation of packet reception; -
FIG. 7 is a flowchart showing a code type determination operation, i.e., a communication system determination operation; -
FIG. 8 is a waveform diagram showing a 2-bit signal coded with the type-A modulation code; -
FIG. 9 is a waveform diagram showing a 2-bit signal coded with the type-B modulation code; -
FIG. 10 is a waveform diagram showing a 2-bit signal coded with an FLC modulation code; -
FIG. 11 is a timing chart exemplarily showing a type-A decode operation; -
FIG. 12 is a timing chart exemplarily showing a type-B decode operation; -
FIG. 13 is a timing chart exemplarily showing a high-speed type (FLC) decode operation; -
FIG. 14 is a block diagram showing another example of the reception logic circuit; -
FIG. 15 is a block diagram showing yet another example of the reception logic circuit; and -
FIG. 16 is a simplified block diagram exemplarily showing a case where the invention is applied to a mobile telephone provided with the NFC system. - The following provides an overview about preferred embodiments of the invention disclosed in this specification. The overview contains parenthesized reference numerals with reference to the drawings. The reference numerals just show examples belonging to the concept of the components to which the reference numerals are assigned.
- <1> A semiconductor device according to the invention comprises: a demodulation circuit for demodulating a modulated signal that is coded with a specified code type and is received at an antenna; and a reception logic circuit for decoding a demodulation signal that is output from the demodulation circuit. The reception logic circuit determines one of multiple code types for the demodulation signal and decodes the demodulation signal in accordance with a determined code type to reproduce reception data. The code type is determined based on a difference between codes appearing in a demodulation signal during one of a modulation period and a non-modulation period. The demodulation signal is decoded in accordance with a determined code type based on a state of one of a modulation period and a non-modulation period alternately appearing in the demodulation signal.
- The above-mentioned reception logic circuit does not need a decoder specific to each code type. It is possible to reduce the scale of the circuit for determining and decoding code types of reception signals that are coded with different code types.
- <2> In the semiconductor device according to
item 1, the reception logic circuit comprises: a timer that measures one of a modulation period and a non-modulation period appearing in a demodulation signal; a determination section that determines a code type based on a measurement value measured by the timer; and a decode section that uses a result measured by the timer in accordance with a determined code type, decodes the demodulation signal, and reproduces reception data. It is possible to determine and decode a code type based on a measurement result from the timer. - <3> In the semiconductor device according to item 2, the timer measures a period by counting a clock signal synchronized with a carrier clock signal extracted from a modulated signal. This is convenient when a carrier clock can be extracted from a reception signal.
- <4> In the semiconductor device according to item 2, the code types mainly comprise Modified Miller, NRZ, and Manchester codes.
- <5> In the semiconductor device according to
item 4, the determination section determines an NRZ code when the timer detects an excess of a measurement value for the non-modulation period over a value equivalent to half an encode time unit for each of Modified Miller and NRZ codes during a modulation period in a demodulation signal. The determination section determines a Modified Miller code when a demodulation signal enters a non-modulation period before excess over the value equivalent to half the encode time unit and a measurement value for the non-modulation period is detected to exceed the value equivalent to half the encode time unit during the non-modulation period. The determination section determines a Manchester code when a demodulation signal reenters a modulation period before a measurement value for the non-modulation period exceeds the value equivalent to half the encode time unit. It is possible to easily determine the Modified Miller, NRZ, and Manchester codes. - <6> In the semiconductor device according to
item 5, the Manchester code comprises multiple code types corresponding to different data transmission rates. When determining the Manchester code, the determination section determines a transmission rate difference in the Manchester code in accordance with an increase in a measurement value for a modulation period. It is possible to determine Manchester codes having different transmission rates. - <7> In the semiconductor device according to
item 5, the timer measures each non-modulation period when a Modified Miller code is determined as a code type. When a Modified Miller code is determined as a code type, the decode section reverses a logical value at each excess of a timer measurement value over a threshold value and synchronizes a reverse timing with the encode time unit to generate a decode signal. The Modified Miller code can be easily decoded. - <8> In the semiconductor device according to item 7, the threshold value is equivalent to a period exceeding half the encode time unit. It is possible to reduce possibilities of a decoding error due to an effect of duty variations in a demodulation signal waveform during the encode time unit.
- <9> In the semiconductor device according to
item 5, when an NRZ is determined as a code type, the timer repeatedly measures a period equivalent to 1/n of an encode time unit from initiation of a non-modulation period and measures a period equivalent to 1/n of an encode time unit from initiation of a modulation period. When an NRZ code is determined as a code type, the decode section reverses a logical value at each excess of the timer measurement value over a threshold value and synchronizes a reverse timing with the encode time unit to generate a decode signal. The NRZ code can be easily decoded. - <10> In the semiconductor device according to
item 9, the threshold value is equivalent to a period half the encode time unit. It is possible to reduce possibilities of a decoding error due to an effect of duty variations in a demodulation signal waveform. - <11> In the semiconductor device according to
item 5, when a Manchester code is determined as a code type, the timer measures a period overlapping with a non-modulation period and a period overlapping with a modulation period for each specified period before and after a boundary for an encode time unit. When a Manchester code is determined as a code type, the decode section reverses a logical value at each excess of the timer measurement value over a threshold value and synchronizes a reverse timing with the encode time unit to generate a decode signal. The Manchester code can be easily decoded. - <12> In the semiconductor device according to
item 11, the specified period before and after a boundary for an encode time unit comprises a period equivalent to a quarter of an encode time unit before and after the same. It is possible to reduce possibilities of a decoding error due to an effect of duty variations in a demodulation signal waveform. - <13> The semiconductor device according to
item 1 further comprises: a reception data buffer that temporarily stores reception data output from the reception logic circuit; a transmission data buffer that temporarily stores transmission data; a transmission logic circuit that encodes transmission data output from the transmission data buffer in accordance with a code type determined by the reception logic circuit; a modulation circuit that modulates a carrier into a data signal based on an encoding signal generated by the transmission logic circuit; and a central processing unit that controls operations of the reception logic circuit and the transmission logic circuit and provides access control for the reception data buffer and the transmission data buffer. The semiconductor device can be configured as a microcontroller or a microcomputer. - <14> A communication device according to the invention performs communication based on electromagnetic induction using a carrier and includes a data processing device. The data processing device comprises: a demodulation circuit for demodulating a modulated signal that is coded with a specified code type and is received at an antenna; and a reception logic circuit for decoding a demodulation signal that is output from the demodulation circuit. The reception logic circuit determines one of multiple code types for the demodulation signal and decodes the demodulation signal in accordance with a determined code type to reproduce reception data. The code type is determined based on a difference between codes appearing in a demodulation signal during one of a modulation period and a non-modulation period. The demodulation signal is decoded in accordance with a determined code type based on a state of one of a modulation period and a non-modulation period alternately appearing in the demodulation signal.
- The reception logic circuit does not require a decoder specific to each code. It is possible to reduce the scale of the circuit for determining and decoding code types of reception signals that are coded with different code types. Consequently, the communication device can be miniaturized.
- <15> In the semiconductor device according to
item 14, the reception logic circuit comprises: a timer that measures one of a modulation period and a non-modulation period appearing in a demodulation signal; a determination section that determines a code type based on a measurement value measured by the timer; and a decode section that decodes the demodulation signal in accordance with a determined code type and reproduces reception data. It is possible to determine and decode a code type based on a measurement result from the timer. - The following describes the embodiments in more detail.
-
FIG. 2 shows a non-contact IC card as an example of the communication device according to the invention. Thereference numeral 1 represents a non-contact IC card (CRD). Thenon-contact IC card 1 is provided with anantenna 3 and a microcomputer (MCU) 4 for the IC card on a card substrate. Themicrocomputer 4 is an example of the semiconductor device according to the invention. Themicrocomputer 4 is formed on a single semiconductor substrate made of single-crystalline silicon using a complementary MOS integrated-circuit manufacturing technology, for example. Themicrocomputer 4 includes a non-contact communication analog section (CFCALG) 11, a non-contact communication logic section (CFCLGC) 12, a central processing unit (CPU) 13, memory (MRY) 14 such as RAM, the other circuit (OTHC) 15 containing a timer and nonvolatile memory, and a bus (BUS) 16. - The non-contact
communication analog section 11 includes a reception circuit (RCVC) 20, a demodulation circuit (DMDL) 21, and a modulation circuit (MDL) 22. - The non-contact
communication logic section 12 includes a reception logic circuit (RXLGC) 30, a reception data buffer (RXDBUF) 31, a transmission logic circuit (TXLGC) 32, a transmission data buffer (TXDBUF) 33, and a control logic section (CNTLGC) 34. - The
antenna 3 provides a closed loop coil. A change in an electric current flowing through the coil allows theantenna 3 to generate an electromagnetic wave. A change in a magnetic flux passing through the coil as theantenna 3 applies an electric current to theantenna 3. - The
reception circuit 20 receives a current flowing through theantenna 3. Thereception circuit 20 synchronizes, detects, and outputs the current to thedemodulation circuit 21. Thedemodulation circuit 21 demodulates ademodulation signal 23 supplied from thereception circuit 20 and supplies the signal to thereception logic circuit 30. Thereception logic circuit 30 determines a code type of thedemodulation signal 23 supplied from thedemodulation circuit 21. Thereception logic circuit 30 decodes thedemodulation signal 23 in accordance with the determined code type. Thereception logic circuit 30 supplies thereception data buffer 31 withreception data 35 resulting from the decoding. The determined code type is supplied to thecontrol logic section 34. Thereference numeral 36 generically represents a signal that is input and output between thereception logic circuit 30 and thecontrol logic section 34. TheCPU 13 transfers reception data stored in thereception data buffer 31 to thememory 14. TheCPU 13 sequentially processes data based on the data. When data needs to be transmitted to the other devices such as a reader/writer, theCPU 13 transfers such data to thetransmission data buffer 33 from thememory 14 via thebus 16. - The
transmission logic circuit 32 receives information about the determined code type from thecontrol logic section 34. When thetransmission data buffer 33outputs transmission data 37, thetransmission logic circuit 32 encodes that data in accordance with the code type. Thetransmission logic circuit 32 then supplies amodulation control signal 38 to themodulation circuit 22. Thereference numeral 39 generically represents a signal that is input and output between thetransmission logic circuit 32 and thecontrol logic section 34. Themodulation circuit 22 varies an impedance of the coil as theantenna 3 viewed from outside in accordance with themodulation control signal 38 received from thetransmission logic circuit 32. The reader/writer outputs an electromagnetic wave as a carrier to generate a magnetic field due to a high-frequency wave around theantenna 3. The magnetic field around theantenna 3 varies as the impedance of the coil as theantenna 3 varies. The carrier as an electromagnetic wave output from the reader/writer is modulated in accordance with themodulation control signal 38. Data supplied from theCPU 13 to thetransmission data buffer 33 is transmitted to the reader/writer that outputs electromagnetic waves. Transmission rate information is contained in the determined code type information received from thecontrol logic 34. Based on the transmission rate information, it is possible to control the transmission rate of a signal transmitted from theantenna 3. A device called an initiator is used for proximity communication based on the electromagnetic induction so as to initially output an electromagnetic wave and start the communication. The initiator transmits a command to a communication destination referred to as a target. The communication destination returns a response to the command to establish the proximity communication. As a communication destination, the target returns a response to the command from the initiator. The embodiment provides an example where the reader/writer works as an initiator and the IC card works as a target. - The
IC card 1 uses the above-mentioned type A, type B, and high-speed type as transmission code specifications. The type A encodes data using Modified Miller as the code type during data transmission from the reader/writer to the IC card. The type A encodes data using Manchester as the code type during data transmission from the IC card to the reader/writer. The type B encodes data using NRZ as the code type during data transmission from the reader/writer to the IC card. The type B encodes data using NRZ-L (Non Return to Zero-Level) as the code type during data transmission from the IC card to the reader/writer. The type A or B uses 106 kbps (kilobits per second), 212 kbps, 424 kbps, or 847 kbps as a data transmission rate. The type B uses 106 kbps as the data transmission rate. The type A and thetype B use 106 kbps for initial communication between the reader/writer and the IC card. The high-speed type uses Manchester as the code type for encoding during data transmission between the reader/writer and the IC card. The high-speed type selects 212 kbps, 424 kbps, or 847 kbps as the data transmission rate. The selected transmission rate is used for the communication from the beginning.FIG. 3 exemplarily shows a modulation code for the type A.FIG. 4 exemplarily shows a modulation code for the type B.FIG. 5 exemplarily shows a modulation code for the high-speed type.FIGS. 3 and 4 each show a 128-pulse period for the carrier equivalent to one etu (encode time unit) using the transmission rate of 106 kbps. In the drawings, the “H” period corresponds to a non-modulation period. The “L” period corresponds to a modulation period. - The
reception logic circuit 30 determines whether thedemodulation signal 23 demodulated in thedemodulation circuit 21 uses the type A, the type B, or the high-speed type as the code type. Thereception logic circuit 30 decodes thedemodulation signal 23 in accordance with a determination result. Thereception logic circuit 30 uses asignal 36 to supply thecontrol logic section 34 with the determination result which includes a code type. Thecontrol logic section 34 uses asignal 39 to supply thetransmission logic circuit 32 with the determination result. Thetransmission logic circuit 32 encodes thetransmission data 37 using the specified code type to generate themodulation control signal 38. The following describes in detail the configuration of thereception logic circuit 30 for code determination and decoding. -
FIG. 1 shows an example of thereception logic circuit 30. - A clock extraction circuit (CKEXT) 24 is included in the non-contact
communication analog section 11 and generates a carrierextraction clock signal 25 from the carrier in response to output from thereception circuit 20. Based on the carrierextraction clock signal 25, a clock pulse generator (CPG) 26 generates anoperation clock signal 27 equivalent to the carrier frequency. Theoperation clock signal 27 is used as an operation reference clock for thereception logic circuit 30 and the other circuits. The carrierextraction clock signal 25 has the frequency of 13.56 MHz, for example. - The
reception logic circuit 30 includes atimer 40, a determination section (determination circuit) 45, and adecode section 50. Thetimer 40 measures a modulation period or a non-modulation period appearing in thedemodulation signal 23. The determination section (determination circuit) 45 determines the code type of thedemodulation signal 23 based on a value measured by thetimer 40. Thedecode section 50 demodulates thedemodulation signal 23 using a result measured by the timer in accordance with the determined code type and reproduces the reception data. The code type determination result from thedetermination section 45 just corresponds to the type A, the type B, or the high-speed type as the transmission code specification for the active electromagnetic wave communication and indicates which communication system is to be used. In the present specification, the code type determination result from thedetermination section 45 is equivalent to a communication system determination result and a transmission rate determination result. The above-mentioned communication is performed as packet communication using a specified format. Thedetermination section 45 checks the beginning preamble to determine the code type. When the communication is inactive, thecontrol logic section 34 uses asignal 52 to initialize thedetermination section 45. Asignal 51 is also initialized accordingly. In this manner, thetimer 40 is provided with an operation mode for determining the code type and starts determining the code type in response to input of the modulatedsignal 23. The preamble is followed by a synch code and a data section. Thetimer 40 and thedecode section 50 receive thesignal 51 concerning results of the code type determination for the sync code and the data section from thedetermination section 45. Thetimer 40 and thedecode section 50 accordingly perform a timer operation and a decode operation to decode the corresponding demodulation signal. - The
timer 40 includes a non-modulation period measuring timer (TMRN) 41 and a modulation period measuring timer (TMRM) 42, for example. The non-modulation period measuring timer (TMRN) 41 measures a non-modulation period in thedemodulation signal 23 in accordance with an operation mode indicated by thesignal 51. Thesignal 51 indicates the operation mode such as a code type determination operation mode, a first timer operation mode corresponding to the type-A communication system, a second timer operation mode corresponding to the type-B communication system, or a third timer operation mode corresponding to the high-speed type communication system. The modulation period measuring timer (TMRM) 42 measures a modulation period in thedemodulation signal 23 in accordance with an operation mode indicated by thesignal 51. Thesignal 51 indicates the operation mode such as the code type determination operation mode, the first timer operation mode corresponding to the type-A communication system, the second timer operation mode corresponding to the type-B communication system, or the third timer operation mode corresponding to the high-speed type communication system. - The
decode section 50 includes a timer value comparison circuit (CMPTBL) 46, a toggle circuit (TGGL) 48, a latch circuit (LAT) 49, and an etu clock generation circuit (ETUGNR) 47. The timervalue comparison circuit 46 compares measurement values 43 and 44 from themeasuring timers determination signal 51 from thedetermination section 45. The timervalue comparison circuit 46 outputs acontrol signal 53 corresponding to a comparison result to thetoggle circuit 48. The determination result indicated by thesignal 51 and immediately preceding bit (previous bit) fed back from thelatch circuit 49 determine which of the measurement values 43 and 44 is to be used for the determination or which threshold value is to be used for the comparison. Thelatch circuit 49 latches and outputs a value (immediately preceding bit value). Thetoggle circuit 48 is fed back with the output value as asignal 35. Thetoggle circuit 48 selectively reverses the input value and outputs it to thelatch circuit 49. The selective reversal occurs when thecontrol signal 53 changes. The latch timing of thelatch circuit 49 corresponds to every cycle of anetu clock signal 54. An etuclock generation circuit 47 outputs the etu clock signal based on the determination result supplied from thesignal 51. The cycle of the etu clock signal is equivalent to one bit of reception data and differs from one of the communication systems to another. - The following describes operations for determining the code types or the communication systems.
- An SOC indicates the beginning of a communication frame according to the type-A communication system. An SOF indicates the beginning of a communication frame according to the type-B communication system. A preamble indicates the beginning of a communication frame according to the high-speed type communication system. An initial communication frame contains “0” for each of the SOC, SOF, and preamble. To determine the communication system, the
determination section 45 checks the measurement values 43 and 44 and recognizes the characteristic of the signal “0” transmitted from the reader/writer. Communication frame structures of the communication systems are described in ISO14443-A, ISO14443-B, and the high-speed IC card system standardized by Japan IC Card System Application Council (JICSAP). -
FIG. 6 shows a demodulation signal waveform when the packet reception starts. One bit is shown for TYPE-A (type-A communication system) and TYPE-B (type-B communication system). Two bits are shown for FLC-212 kbps (212 kbps high-speed type communication system). Four bits are shown for FLC-424 kbps (424 kbps high-speed type communication system). Eight bits are shown for FLC-847 kbps (847 kbps high-speed type communication system). All the communication systems initially receive data “0s”. -
FIG. 7 exemplarily shows a flowchart showing a code type determination operation, i.e., a communication system determination operation. The determination operation starts when a demodulation signal set to “L” is received in a reception wait state (S1). The operation zeros a counter value n1 of the modulation period measuring timer when the “L”demodulation signal 23 is received (S2). The operation increments the modulation period measuring timer while receiving the modulation portion (“L”) of the demodulation signal 23 (S3). A counter clock (fc) to be counted is assumed to be theoperation clock signal 27 that is generated from theclock generation circuit 26 such as a PLL circuit for inputting the carrier extraction clock signal (13.56 MHz) 25. The frequency of theoperation clock signal 27 is equal to the frequency of 13.56 MHz of the carrierextraction clock signal 25 but is not limited thereto. The modulationperiod measuring timer 42 compares the counter value n1 with a value nb that is assumed to be 64. At step S4, the operation determines whether or not n1>nb=64. The condition n1>nb=64, when satisfied, makes it possible to determine that the communication system is TYPE-B (106 kbps), i.e., that the code type is NRZ (S17). This is because the communication system is limited to TYPE-B (106 kbps) when the first bit of reception data indicates the modulation period longer than or equal to 64/fc. - When the condition n1>nb=64 is not satisfied at step S4, the operation may receive the non-modulation portion (“H”) in the demodulation signal 23 (S5). Upon reception of the non-modulation portion, the operation zeros the counter value n2 of the non-modulation period measuring timer 41 (S6). The operation then increments the non-modulation
period measuring timer 41 while receiving the non-modulation portion of the demodulation signal 23 (S7). Similarly, the counter clock fc is assumed to be theoperation clock signal 27 that is generated from theclock generation circuit 26 based on the carrier extraction clock signal (13.56 MHz) 25. The non-modulationperiod measuring timer 41 compares the counter value n2 with a value na that is assumed to be 64. At step S8, the operation determines whether or not the condition n2>na=64 is satisfied. The condition n2>na=64, when satisfied, makes it possible to determine that the communication system is TYPE-A (106 kbps), i.e., that the code type is Modified Miller (S16). This is because the communication system is limited to TYPE-A (106 kbps) when the first bit of reception data indicates the non-modulation period longer than or equal to 64/fc. The value of na or nb is not limited to 64 because some margin is provided. Since TYPE-A ensures 100% modulation, no clock is normally extracted from a carrier during the modulation period. When theclock generation circuit 45 such as a PLL circuit does not complement the modulation period with a clock, the operation may omit steps S1 to S4 and start from step S5. - When the condition n2>na=64 is not satisfied at step S8, the operation may re-receive the modulation portion (“H”) of the demodulation signal 23 (S9). Upon reception of the modulation portion, the operation zeros the counter value n1 of the modulation
period measuring timer 42. The operation then increments the modulationperiod measuring timer 42 while receiving the modulation portion of the demodulation signal 23 (S10). The operation determines whether or not the condition of the counter value n1>nf2=24 is satisfied, where nf2=24 is 1.5 times the modulation period “L” at 424 kbps (S11). When the condition is satisfied, the communication system may be assumed to be FLC-212 kbps (S13). Otherwise, the operation determines whether or not the condition of n1>nf8=12 is satisfied, where nf8=12 is 0.75 times the modulation period “L” at 424 kbps (S12). When the condition is satisfied, the communication system may be assumed to be FLC-847 kbps (S14). Otherwise, the communication system may be assumed to be FLC-424 kbps (S15). The FLC high-speed type communication fills the first 48 bits of data with successive “0s” as logical values. The determination precision may be improved by returning to step S5 to repeat the operation. Though not shown in the drawing, the operation may zero the counter value n1 of the modulationperiod measuring timer 42 when receiving the modulation portion at step S9. The operation may maintain the non-modulation period measuring timer value measured at step S7. The operation may compare the maintained non-modulation period measuring timer value with the appropriately settled threshold value nf2. When n2>nf2 is satisfied, the communication system may be assumed to be FLC-212 kbps. Otherwise, the operation may compare the maintained timer value 2 with the appropriately settled threshold value nf8. When n2<nf8 is satisfied, the communication system may be assumed to be FLC-847. When the condition is not satisfied, the communication system may be assumed to be FLC-424 kbps. This method can simplify the determination flow without the need for step S11 as the measurement operation. - The following describes decode operations corresponding to the communication system determination results.
-
FIG. 8 shows a 2-bit signal coded with the modulation code according to the type-A system.FIG. 9 shows a 2-bit signal coded with the modulation code according to the type-B system.FIG. 10 shows a 2-bit signal coded with the modulation code according to the type-FLC system. - According to the type-A system, a change in data from “0” to “1” or from “1” to “0” causes the non-modulation period (“H” period) to be longer than that for the unchanged data “0” or “1”.
- According to the type-B system, the modulation changes to the demodulation or vice versa when data changes from “0” to “1” or vice versa. The modulation or demodulation remains unchanged when data remains “0” or “1”.
- According to the FLC system, a change in data from “0” to “1” or from “1” to “0” causes the modulation period or the non-modulation period to be longer than that for the unchanged data “0” or “1”.
- The type-A system, the type-B system, and the FLC system each initially receive data “0” from the reader/writer.
- When decoding a reception signal, the type-A system continuously uses the non-modulation
period measuring timer 41 for the communication system determination. During the type-A communication as mentioned above, a change in data from “0” to “1” or from “0” to “1” causes the continuous non-modulation period to be longer than that for the unchanged data. The timervalue comparison circuit 46 is supplied with an appropriate determination threshold value. The timervalue comparison circuit 46 generates a datareversal control signal 53 when a count value of the non-modulation period measuring timer matches the determination threshold value. Thelatch circuit 49 latches data “0” in advance because data “0” is initially received from the reader/writer. Thetoggle circuit 48 as a data reversal circuit receives the datareversal control signal 53. Thetoggle circuit 48 reverses the most recent decode signal (previous value of the latch circuit 49) received from thelatch circuit 49 and transmits the signal to thelatch circuit 49. Thelatch circuit 49 latches the output signal from thetoggle circuit 48 in synchronization with the etu clock signal cycle. In this manner, the type-A system can decode reception signals. - When decoding a reception signal, the type-B system continuously uses the non-modulation
period measuring timer 41 and the modulationperiod measuring timer 42 used for the communication type determination. According to the type-B system, as mentioned above, the modulation changes to the demodulation or vice versa when data changes from “0” to “1” or vice versa. The modulation or demodulation remains unchanged when data remains “0” or “1”. The timervalue comparison circuit 46 is supplied with an appropriate determination threshold value. The datareversal control signal 53 is activated when a measurement value of the non-modulationperiod measuring timer 41 matches the determination threshold value and thelatch circuit 49 contains the most recent decode signal set to “0”. The datareversal control signal 53 is also activated when a measurement value of the modulationperiod measuring timer 42 matches the determination threshold value and thelatch circuit 49 contains the most recent decode signal set to “1”. Thelatch circuit 49 latches data “0” in advance because data “0” is initially received from the reader/writer. Thetoggle circuit 48 receives the datareversal control signal 53. Thetoggle circuit 48 reverses the most recent decode signal received from thelatch circuit 49 and transmits the signal to thelatch circuit 49. Thelatch circuit 49 latches the output signal from thetoggle circuit 48 in synchronization with the etu clock signal cycle. In this manner, the type-B system can decode reception signals. - When decoding a reception signal, the high-speed type FLC system continuously uses the non-modulation
period measuring timer 41 and the modulationperiod measuring timer 42 used for the communication type determination. According to the FLC communication system, as mentioned above, a change in data from “0” to “1” or from “1” to “0” causes the modulation period or the non-modulation period to be longer than that for the unchanged data. The timervalue comparison circuit 46 is supplied with an appropriate determination threshold value. The datareversal control signal 53 is generated when a measurement value of the non-modulationperiod measuring timer 41 matches the determination threshold value. The datareversal control signal 53 is also generated when a measurement value of the modulationperiod measuring timer 42 matches the determination threshold value. Thelatch circuit 49 latches data “0” in advance because data “0” is initially received from the reader/writer. Thetoggle circuit 48 receives the datareversal control signal 53. Thetoggle circuit 48 reverses the most recent decode signal received from thelatch circuit 49 and transmits the signal to thelatch circuit 49. Thelatch circuit 49 latches data from thetoggle circuit 48 in synchronization with theetu clock signal 54. In this manner, the FLC system can decode reception signals. - The timer
value comparison circuit 46 may be supplied with determination threshold values for the type-A, type-B, and FLC systems. Thesignal 51 from thedetermination section 45 is used to select the determination threshold value appropriate to the communication system and the transmission rate. An output from thelatch circuit 49 is fed back to the timervalue comparison circuit 46. Thedecode section 50 may function as a decoder that can vary the decode system in accordance with a communication system determination result. The single decode function circuit can decode reception data in accordance with multiple communication systems. The type-A or type-B system can set the transmission rate to 212 kbps, 424 kbps, or 847 kbps in accordance with the communication with the reader/writer after the first communication at 106 kbps. When the communication system or the communication rate is known, theCPU 13 provides control to stop operations of thedetermination section 45, for example. TheCPU 13 transmits the communication system or the communication rate to thedecode section 50. The timervalue comparison circuit 46 is supplied with determination threshold values for 212 kbps, 424 kbps, and 847 kbps corresponding to the type-A and type-B systems. It is also possible to decode reception data at the transmission rates of 212 kbps, 424 kbps, and 847 kbps corresponding to the type-A and type-B systems. - The following describes specific timings of decode operations in accordance with communication system determination results.
-
FIG. 11 is a timing chart exemplarily showing a type-A decode operation. During the type-A decode operation, the non-modulationperiod measuring timer 41 measures theoperation clock signal 27 that is equivalent to the carrier extraction clock frequency (13.56 MHz) during an “H” period as the non-modulation period. Initiation of an “L” period as the modulation period zeros the measurement value.FIG. 11 indicates the measurement value (count value) 43 as c.u. The data transmission rate is 106 kbps. The cycle for one bit of data is equivalent to 128 cycles of a carrier. The timervalue comparison circuit 46 compares the measurement value with the determination threshold value. An excess of the measurement value c.u over the determination threshold value reverses anoutput 56 from thetoggle circuit 48. The output is synchronized with the etu clock signal and is latched with thelatch circuit 49 to generate thedecode signal 35. The determination threshold value varies with the most recent decode value. When the previous decode value is “1”, the count value reaches 112 to reverse an output from the toggle circuit 48 (t2 and t4). Further, the count value reaches 192 to reverse an output from the toggle circuit 48 (t3). When the previous decode value is “0”, the count value reaches 112 to reverse an output from the toggle circuit 48 (t1). The determination threshold value may be determined appropriately in accordance with how an etu duty varies. -
FIG. 12 is a timing chart exemplarily showing a type-B decode operation. During the type-B decode operation, the non-modulationperiod measuring timer 41 starts counting theoperation clock signal 27 in synchronization with initiation of the “H” period as the non-modulation period (t1). Theoperation clock signal 27 is equivalent to the carrier extraction clock frequency (13.56 MHz). When the measurement value reaches the determination threshold value (t2), the decode operation reverses an output from thetoggle circuit 48. In addition, the decode operation stops the measurement operation of the non-modulationperiod measuring timer 41 and zeros the measurement value of the modulationperiod measuring timer 42. The modulationperiod measuring timer 42 starts counting theoperation clock signal 27 in synchronization with initiation of the “L” period as the modulation period (t3). Theoperation clock signal 27 is equivalent to the carrier extraction clock frequency (13.56 MHz). When the measurement value reaches the determination threshold value (t4), the decode operation reverses an output from thetoggle circuit 48. In addition, the decode operation stops the measurement operation of the modulationperiod measuring timer 42 and zeros the measurement value of the non-modulationperiod measuring timer 41. For example, thedetermination threshold value 64 may be used for measurement values. The determination threshold value may be determined in accordance with how a duty varies. -
FIG. 13 is a timing chart exemplarily showing a high-speed type (FLC) decode operation. The high-speed type decode operation controls count operations of themeasuring timers value comparison circuit 46. A window clock WCLK is used to generate the timer enable signals ENB-TMRM and ENB-TMRN. For example, the data transmission rate is set to 212 kbps. The cycle for one bit of data is equivalent to 64 cycles of a carrier. In this case, the window clock WCLK is assumed to be a signal that is delayed a quarter cycle from theetu clock signal 54. The timer enable signal ENB-TMRN during the non-modulation period is assumed to be an AND signal between the window clock WCLK and thedemodulation signal 23 when “0” is detected as the most recent decode value to be fed back from thelatch circuit 49. The timer enable signal ENB-TMRN goes low when “1” is detected as the most recent decode value to be fed back. The timer enable signal ENB-TMRM during the modulation period is assumed to be an AND signal between the window clock WCLK and thedemodulation signal 23 when “1” is detected as the most recent decode value to be fed back from thelatch circuit 49. The timer enable signal ENB-TMRM goes low when “0” is detected as the most recent decode value to be fed back. The non-modulationperiod measuring timer 41 performs a measurement operation when the timer enable signal ENB-TMRN is set to “H”. The modulationperiod measuring timer 42 performs a measurement operation when the timer enable signal ENB-TMRM is set to “H”. When themeasurement value value comparison circuit 46 reverses an output from the toggle circuit 48 (t1, t2, t3, t4). Thedetermination threshold value 32 may be used for measurement values because the window clock WCLK is used. The window clock WCLK provides a countermeasure against duty variations. - The above-mentioned
reception logic circuit 30 does not need a decoder specific to each code type. It is possible to reduce the scale of the circuit for determining and decoding code types of reception signals that are coded with different code types. This is preferable for devices such as an IC card that needs to be miniaturized. -
FIG. 14 shows another example of the reception logic circuit. Areception logic circuit 30A inFIG. 14 differs from the equivalent inFIG. 1 as follows. A period measuring timer (TMR) 60 is used as the non-modulation period measuring timer and the modulation period measuring timer. A reception signal demodulated by thedemodulation circuit 21 is supplied to thedetermination section 45 and the timervalue comparison circuit 46. In this example, theperiod measuring timer 60 measures a non-modulation period and a modulation period as needed on a time-shared basis. Thedetermination section 45 and the timervalue comparison circuit 46 can determine whether a measurement value output from atimer 40A corresponds to the non-modulation period or the modulation period. Again, a reception signal demodulated by thedemodulation circuit 21 is supplied to thedetermination section 45 and the timervalue comparison circuit 46. It is possible to reduce the number of components for providing the function equivalent to that shown inFIG. 1 . -
FIG. 15 is a block diagram showing yet another example of the reception logic circuit. Areception logic circuit 30B inFIG. 15 includes a non-modulation period measuring timer and a modulation period measuring timer independently for data decoding and communication system determination. A non-modulationperiod measuring timer 41B and a modulationperiod measuring timer 42B of atimer 40C are newly added and are specialized for the communication system determination. The timers are capable of settling count-up intervals and timings independently for data decoding and communication system determination. The design can be facilitated. -
FIG. 16 exemplarily shows a case where the invention is applied to a mobile telephone (MBLPHN) 70 provided with the NFC system. The reference symbol CFCDGL generically signifies the digital circuitry except the non-contactcommunication analog section 11 in themicrocomputer 4 inFIG. 2 . The mobile telephone is mounted with the microcomputer (MCU) 4 used for the IC card inFIG. 2 . Themicrocomputer 4 is coupled to a host controller (HSTCNT) 71 and a secure module (SCRMDL) 72. The host controller (HSTCNT) 71 is coupled to an operation section (OPRTN) 73, a display section (DSP) 74, and a mobile communication section (MBLCOM) 75. Thesecure module 72 is used for authentication processes, for example. Thehost controller 71 provides overall control. This example can miniaturize additional circuits when themobile telephone 70 is mounted with the same interface function as the non-contact IC card. - While there have been described specific preferred embodiments of the present invention, it is to be distinctly understood that the present invention is not limited thereto but may be otherwise variously embodied within the spirit and scope of the invention.
- For example, the code types are not limited to those described above. The modulation systems used for communication are not limited to ASK (Amplitude Shift Keying) and may include PSK (Phase Shift Keying), QAM (Quadrature Amplitude Modulation), and the like. The present invention may be widely applied to not only IC cards and mobile telephones but also the other mobile terminals.
Claims (2)
1. A semiconductor device comprising:
a demodulation circuit for demodulating a modulated signal that is coded with a specified code type and is received at an antenna; and
a reception logic circuit for decoding a demodulation signal that is output from the demodulation circuit,
wherein the reception logic circuit determines one of a plurality of code types for the demodulation signal and decodes the demodulation signal in accordance with a determined code type to reproduce reception data,
wherein the code type is determined based on a difference between codes appearing in a demodulation signal during one of a modulation period and a non-modulation period, and
wherein the demodulation signal is decoded in accordance with the determined code type based on a state of one of the modulation period and the non-modulation period alternately appearing in the demodulation signal.
2-15. (canceled)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/670,406 US20130064330A1 (en) | 2008-11-20 | 2012-11-06 | Semiconductor device and communication device |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008296563A JP5225816B2 (en) | 2008-11-20 | 2008-11-20 | Semiconductor device |
JP2008-296563 | 2008-11-20 | ||
US12/620,783 US8325786B2 (en) | 2008-11-20 | 2009-11-18 | Semiconductor device and communication device |
US13/670,406 US20130064330A1 (en) | 2008-11-20 | 2012-11-06 | Semiconductor device and communication device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/620,783 Continuation US8325786B2 (en) | 2008-11-20 | 2009-11-18 | Semiconductor device and communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
US20130064330A1 true US20130064330A1 (en) | 2013-03-14 |
Family
ID=42172053
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/620,783 Active 2031-02-28 US8325786B2 (en) | 2008-11-20 | 2009-11-18 | Semiconductor device and communication device |
US13/670,406 Abandoned US20130064330A1 (en) | 2008-11-20 | 2012-11-06 | Semiconductor device and communication device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/620,783 Active 2031-02-28 US8325786B2 (en) | 2008-11-20 | 2009-11-18 | Semiconductor device and communication device |
Country Status (2)
Country | Link |
---|---|
US (2) | US8325786B2 (en) |
JP (1) | JP5225816B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247869A (en) * | 2019-02-21 | 2019-09-17 | 北京遥感设备研究所 | 2FSK decoding system and method based on data encoding type and verification mode |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5339138B2 (en) * | 2009-03-25 | 2013-11-13 | ソニー株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
KR20110096808A (en) * | 2010-02-23 | 2011-08-31 | 삼성전자주식회사 | Receiving data compensation method for improving data receiving rate and receiving modem circuit thereof |
KR101610916B1 (en) * | 2010-02-23 | 2016-04-11 | 삼성전자주식회사 | Receiving system for use in near field communication and mode detection method therefore |
JP2013543668A (en) * | 2010-09-09 | 2013-12-05 | ゼットティーイー (ユーエスエー) インコーポレイテッド | 16QAM optical signal generation |
CN102468988A (en) * | 2010-11-11 | 2012-05-23 | 上海华虹集成电路有限责任公司 | Device for automatically detecting signal protocol type in international standardization organization/international electrotechnical commission (ISO/IEC) 14443 protocol |
CN102779259B (en) * | 2011-05-12 | 2015-08-19 | 国民技术股份有限公司 | A kind of communication mode adaptive approach, module and contactless IC card |
FR2980874B1 (en) * | 2011-09-30 | 2018-06-08 | Proton World International N.V. | CONFIGURING THE TYPE OF MODULATION OF A NEAR FIELD COMMUNICATION ROUTER |
FR2980873B1 (en) | 2011-09-30 | 2015-08-07 | Proton World Int Nv | CONFIGURATION OF A NEAR FIELD COMMUNICATION ROUTER TYPE OF MODULATION |
DE112013000582T5 (en) * | 2012-01-16 | 2014-11-13 | Maxim Integrated Products, Inc. | Method and apparatus for differential communication |
CN102970263B (en) * | 2012-10-24 | 2015-05-13 | 哈尔滨工业大学 | Signal modulation and demodulation method in visible light communication based on combined modified difference pulse code modulation (MDPCM)-MRZOPAM |
JP5850260B2 (en) * | 2013-01-25 | 2016-02-03 | ソニー株式会社 | Signal processing apparatus, signal processing method, and recording medium |
JP6410235B6 (en) * | 2015-12-16 | 2023-12-15 | ネオフォーカル システムズ、インコーポレイテッド | Systems and methods for lighting power and control systems |
JP6530468B2 (en) * | 2017-11-06 | 2019-06-12 | ネオフォーカル システムズ、インコーポレイテッドNeofocal Systems,Inc. | Electronic lighting system and method |
EP3584948A1 (en) | 2018-06-19 | 2019-12-25 | STMicroelectronics razvoj polprevodnikov d.o.o. | Protocol detection and decoding in multiprotocol tag, and corresponding integrated circuit |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000172806A (en) * | 1998-12-08 | 2000-06-23 | Hitachi Ltd | Non-contact ic card |
JP4824195B2 (en) * | 2001-05-18 | 2011-11-30 | 日本信号株式会社 | Non-contact type IC card reader / writer and control method thereof |
JP2003016394A (en) * | 2001-06-29 | 2003-01-17 | Denso Corp | Ic card reader |
JP3687599B2 (en) * | 2001-12-06 | 2005-08-24 | ソニー株式会社 | COMMUNICATION DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM |
JP2006060363A (en) * | 2004-08-18 | 2006-03-02 | Renesas Technology Corp | Semiconductor integrated circuit and non-contact ic card |
JP4576935B2 (en) * | 2004-09-02 | 2010-11-10 | 株式会社日立製作所 | Non-contact electronic device |
JP4325545B2 (en) * | 2004-11-25 | 2009-09-02 | 株式会社デンソーウェーブ | Non-contact IC card reader / writer |
JP4692807B2 (en) * | 2004-12-21 | 2011-06-01 | ソニー株式会社 | Contact-type data communication device, transmission / reception device, and transmission / reception method |
JP4378643B2 (en) * | 2005-08-01 | 2009-12-09 | ソニー株式会社 | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
CN101326537B (en) * | 2005-10-18 | 2010-10-13 | 松下电器产业株式会社 | Non-contact data carrier |
JP4891708B2 (en) * | 2006-08-31 | 2012-03-07 | 株式会社東芝 | Information communication medium |
JP4954645B2 (en) * | 2006-09-07 | 2012-06-20 | 東芝テック株式会社 | Wireless communication apparatus and wireless communication method |
JP5148251B2 (en) * | 2007-11-19 | 2013-02-20 | フェリカネットワークス株式会社 | IC card, information processing apparatus, communication method discrimination method, and program |
JP2009271861A (en) * | 2008-05-09 | 2009-11-19 | Fuji Electric Holdings Co Ltd | Noncontact type communication device, and decoding part thereof |
-
2008
- 2008-11-20 JP JP2008296563A patent/JP5225816B2/en not_active Expired - Fee Related
-
2009
- 2009-11-18 US US12/620,783 patent/US8325786B2/en active Active
-
2012
- 2012-11-06 US US13/670,406 patent/US20130064330A1/en not_active Abandoned
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247869A (en) * | 2019-02-21 | 2019-09-17 | 北京遥感设备研究所 | 2FSK decoding system and method based on data encoding type and verification mode |
Also Published As
Publication number | Publication date |
---|---|
JP2010122945A (en) | 2010-06-03 |
US8325786B2 (en) | 2012-12-04 |
JP5225816B2 (en) | 2013-07-03 |
US20100124258A1 (en) | 2010-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8325786B2 (en) | Semiconductor device and communication device | |
US8250451B2 (en) | IC card, information processing device, communication type identification method, and program | |
CN101826898B (en) | Communication device and communication method | |
US20210081622A1 (en) | Integrated circuits and methods for protocol detection and decoding in near field communications | |
US8543056B2 (en) | Communication device, communication method, and program | |
US8616456B2 (en) | Passive RFID transponder and RFID reader | |
US7760835B2 (en) | Wireless communications devices, methods of processing a wireless communication signal, wireless communication synchronization methods and a radio frequency identification device communication method | |
US6886752B2 (en) | Portable electronic apparatus, IC card and reader/writer | |
US9686041B2 (en) | End of communication detection | |
JP5428364B2 (en) | Non-contact communication device and decoding unit thereof | |
JP4159187B2 (en) | Carrier synchronous demodulator for PSK signal | |
US8045648B2 (en) | Amplitude-shift-keying (ASK) radio-frequency (RF) signal decoding device and method thereof | |
US8310345B2 (en) | Receiving apparatus | |
JP2010198396A (en) | Wireless tag reader/writer and communication method of the same | |
US10771187B1 (en) | Adaptive coding for wireless communication | |
JP2010109782A (en) | Communications device, communicating mobile terminal, and reader/writer for non-contact ic card | |
US8045640B2 (en) | Two-level demodulation method and device | |
JP2008306317A (en) | Bit clock generating circuit, bit clock phase correction method, and non-contact ic card | |
JP3519147B2 (en) | Information recording medium and data transmission method for information recording medium | |
JP3972812B2 (en) | Non-contact IC card reader / writer | |
CN117596311A (en) | Multi-protocol decoding circuit of RFID chip | |
JP2004220117A (en) | Reader/writer of noncontact information medium | |
CN107896138A (en) | A kind of interpretation method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |