An embodiment mode and embodiments of the invention will be described below, with reference to the drawings. However, the invention can be carried out in many different modes, and it will be readily apparent to those skilled in the art that various changes can be made to the modes and details described herein without departing from the spirit and scope of the invention. Therefore, the invention should not be construed as being limited to the description of the embodiment mode and embodiments. Note that in the drawings which illustrate the embodiment mode and embodiments, parts which are the same or which have the same function are assigned the same reference numerals, and repetitive description of such parts is omitted.
In this embodiment mode, a device structure of the invention for realizing a function of reducing power consumption at the time of an anti-collision operation and flowcharts relating to the invention will be described.
In
As shown in
Further, the main program 201 is stored in the ROM 103 (see
The command determination routine 201A refers to a program code having a function of executing a decision process concerning a specific command.
The UID value processing routine 201B refers to a program code having a function of executing UID value processing in an anti-collision process.
The mask value comparison routine 201C refers to a program code having a function of executing comparison processing of a mask value in the anti-collision process.
The N-slot power consumption reduction routine 201D refers to a program code having a function of executing power consumption reduction processing in the anti-collision process.
The N-slot counter routine 201E refers to a program code having a function of executing comparison processing of a slot counter value and a slot register value used in the anti-collision process.
These plurality of routines will be described in greater detail below.
The RAM 104 includes a transmit data register 203, a receive data register 204, a slot register 205, a comparison register 206, and the like (see
The transmit data register 203 has a function of storing data transmitted by the semiconductor device.
The receive data register 204 has a function of storing data that the semiconductor device receives.
The slot register 205 is a region that stores a slot register value. The slot register value is a slot that transmits data in the N-slot power consumption reduction routine 201D, which will be described below. The slot is the number of semiconductor devices that can be anti-collision processed simultaneously.
The comparison register 206 is a region that stores a mask value obtained from a value which starts from a bit which is x bits (where x equals a pointer value) from the least significant bit of a UID value.
Since the amount of information in the RAM 104 is less than that in the ROM 103, the area of the RAM 104 is small.
The SOF 301 and the EOF 306 simply show the start and end of the signal.
The command 303 is a signal which stipulates whether or not the reader/writer performs an anti-collision process. In a case where an anti-collision process is to be performed, the command 303 has the information “1”. In cases other than that (commands to perform normal reading or the like), the command 303 has information other than “1”.
The data 304 includes data for an anti-collision process.
The CRC 305 has information which is a unique value generated from data in order to prevent misidentification of data. The CRC 305 includes information which is a CRC flag “1” in a case where the data is correct, and a CRC flag “0” in a case where the data is incorrect.
The pointer 307 shows addresses of signals inside the UID of each semiconductor device.
The mask length 308 shows the length of a mask value of a signal transmitted from the reader/writer to the semiconductor device.
The mask value 309 shows the mask value of the signal transmitted from the reader/writer to the semiconductor device.
Next, an operation of the main program in the semiconductor device in
First, the reset circuit 110 included in the semiconductor device receives the receive signal 120 and outputs a reset signal 130 to the digital portion 106 to reset the digital portion 106 (S401). When the digital portion 106 is reset, the clock generator circuit 111 outputs a system clock signal 131 to the controller 105 and starts an operation of the controller 105. When the digital portion 106 is reset, the demodulation circuit 112 starts demodulating the receive signal 120, and outputs the demodulated receive data 122 to the code extraction circuit 118. The code extraction circuit 118 extracts a control code from the demodulated receive data 122 and writes the control code to the control register 117 as a control signal 124. When the signal from the code extraction circuit 118 is written to the control register 117, the clock generator circuit 111 starts supplying CPU clock signals 132 to the CPU 102.
When the signal from the code extraction circuit 118 is written to the control register 117, the CPU included in the semiconductor device starts an operation (S402). The CPU 102 determines whether or not an SOF (start of frame) is included in the control code in the control register 117 (S403). If an SOF is included in the control code, the main program is read from the ROM 103 (S404). Next, the main program is executed (S409). On the other hand, if an SOF is not included in the control code in the control register 117, the CPU returns to the state it was in after the initial reset 401. Note that after the main program has been executed, the CPU 102 returns to the state it was in after the initial reset (S401).
Next, a signal related to reception will be described with reference to the timing chart shown in
In
After the reset period 1708, the demodulation circuit 112 starts demodulating the first signal 1701. The first signal 1701 is an electromagnetic wave which oscillates at a carrier wave frequency. “Demodulation” refers to conversion to a digital value of “1” when the amplitude is maximum and “0” when the amplitude is minimum. The first signal 1701 is demodulated by the demodulation circuit 112 and output to the code extraction circuit 118 as the fourth signal 1704. The code extraction circuit 118 extracts the fifth signal 1705 from the fourth signal 1704 and writes the fifth signal 1705 to the control register 117. Specifically, the code extraction circuit 118 extracts the binary bits of the fourth signal 1704 as a hexadecimal figure which is the fifth signal 1705. Further, the clock generator circuit 111 starts outputting clocks to the sixth signal 1706 when the fifth signal 1705 is written to the control register 117. Note that the period of time from when the reset period 1708 has finished to when the writing to the control register 117 has finished is a reception processing period 1709.
The CPU 102 starts an operation when the signal is written to the control register 117. The period of time after the writing has finished is referred to as a computation period 1710.
Note that preferably a structure where a power supply voltage is not supplied to the digital portion 106 in the period of awaiting reception 1707 is employed, since power consumption can be reduced by employing such a structure. Specifically, a power supply line of the digital portion 106 is preferably independent of a power supply line of the other circuits, and an electrical connection between the power supply line of the digital portion 106 and the power supply circuit 109 is preferably cut off by the power supply control circuit 114.
Next, routines in the main program for realizing a function shown in
First, an operation of the main program will be described while referring to the flowchart shown in
Next, processing details of the plurality of routines in the semiconductor device in
When a UID value 111011110011 from Example 1 in Table 1 (indicated by reference numeral 700 in
When a UID value 001110110100 from Example 2 in Table 1 (indicated by reference numeral 710 in
When a UID value 010111010101 from Example 3 in Table 1 (indicated by reference numeral 720 in
Next, a flowchart of the mask value comparison routine 201C is shown in
Meanwhile, when the mask length value is a value other than 0, the CPU 102 splits the process according to a value of a CRC flag (S612). The CPU 102 determines the CRC (S612). When the CRC flag is 0, the OUTJUDGE flag is set to 0. Further, when the CPU 102 determines the CRC (S612) and the CRC flag is 1, the CPU 102 reads values which start from a bit which is x bits (where x equals a pointer value) from the least significant bit of the UID value of each semiconductor device (S614). Next, the read value of the UID is right-shifted by a number of bits equal to the pointer value (S620), and the value of a number of least significant bits equal to the mask length is then stored in the comparison register 206 (S615). Finally, the CPU 102 reads the mask value stored in the control register 117 (S616) and compares the values stored in the comparison register 206 (the values which start from a bit which is x bits (where x equals the pointer value) from the least significant bit of the UID value of each semiconductor device) with the mask value (a mask value which is transmitted from the reader/writer and stored in the control register 117) (S617). If the values correspond, the CPU 102 sets the OUTJUDGE flag to 1 (S619). On the other hand, if they do not correspond, the CPU 102 sets the OUTJUDGE flag to 0 (S618).
When a mask value 0011 of the UID value 111011110011 (indicated by reference numeral 800 in
When a mask value 0000 of the UID value 001110110100 (indicated by reference numeral 810 in
When a mask value 10101 of the UID value 010111010101 (indicated by reference numeral 820 in
Next,
Meanwhile, in S626, if the OUTJUDGE flag is 0, the main program is terminated (S504). Next, the CPU 102 compares the slot register value stored in the RAM with the slot counter value, using the N-slot counter routine 201E. If the values correspond, the CPU 102 writes the UID value of each semiconductor device to the control register 117 (S630). Meanwhile, if they do not correspond, the CPU 102 writes 0 to the control register 117 (S631). Next, the CPU 102 starts transmission of data to the reader/writer (S629), and the controller 105 stops the CPU 102 (S632). When transmission of the data has finished, the controller 105 makes the CPU 102 operate again (S633). Next, the CPU 102 increases the slot counter value by 1 (S634). The CPU 102 determines the slot counter value (S635). When the slot counter value is N (here, N is 16), the main program is terminated (S504). In S635, when the slot counter value is less than N (here, N is 16), the CPU 102 once again compares the slot register value stored in the slot register with the slot counter value, using the N-slot counter routine 201E. Note that here, the slot counter value refers to the number of times the slot counter routine is executed.
When a slot register value 15 from Example 1 in Table 3 is used in the N-slot power consumption reduction routine, the CPU 102 compares the slot register value with the slot counter value using the slot counter routine, in S628. Only when the values correspond to each other, the CPU 102 writes the UID value 111011110011 to the control register 117. Therefore, in S629, the UID value 111011110011 is transmitted to the reader/writer only when the slot counter value is 15. When the slot counter value is a value other than 15, 0 is transmitted to the reader/writer.
When a slot register value 5 from Example 2 in Table 3 is used in the N-slot power consumption reduction routine, the CPU 102 compares the slot register value with the slot counter value using the slot counter routine, in S628. Only when the values correspond to each other, the CPU 102 writes the UID value 001110110100 to the control register 117. Therefore, in S629, the UID value 001110110100 is transmitted to the reader/writer only when the slot counter value is 5. When the slot counter value is a value other than 5, 0 is transmitted to the reader/writer.
When a slot register value 2 from Example 3 in Table 3 is used in the N-slot power consumption reduction routine, the CPU 102 compares the slot register value with the slot counter value using the slot counter routine, in S628. Only when the values correspond to each other, the CPU 102 writes the UID value 010111010101 to the control register 117. Therefore, in S629, the UID value 010111010101 is transmitted to the reader/writer only when the slot counter value is 2. When the slot counter value is a value other than 2, 0 is transmitted to the reader/writer.
Next, a signal related to transmission will be described, with reference to the timing chart shown in
After the computation period 1804, when transmission of data to the reader/writer is started, the encoder circuit 119 encodes data in the control register 117, and outputs it to the modulation circuit 113 as the third signal 1803. Further, the clock generator circuit 111 stops supplying clocks to the CPU. Specifically, the second signal 1802 is set to “1” or “0” (in this embodiment mode, it is set to 0). That is, “CPU stop” which is S632 in
Next, the modulation circuit 113 modulates the third signal 1803 and transmits it to the reader/writer as the first signal 1801. The first signal 1801 is an electromagnetic wave that oscillates at a frequency of a carrier wave. Modulation refers to conversion to an analog value with “1” as the amplitude maximum and “0” as the amplitude minimum. When modulation has finished, the clock generator circuit 111 starts supplying clocks to the CPU again. That is, “CPU operation”, which is S633 in
By employing the above-described mode, in a semiconductor device having a function of reducing power consumption when an anti-collision operation is performed, by using a controller, a central processing unit is stopped when a signal is transmitted to the outside, so power consumption is reduced. Therefore, when an arithmetic circuit operates simultaneously with a storage device and a modulation circuit, that is, when the modulation circuit modulates a carrier and thereby a communication signal is transmitted from an antenna, power can be stabilized and operation during the transmission can be performed reliably. Further, in a semiconductor device having a function of repeatedly performing a transmit operation a plurality of times, it is not necessary to remake the semiconductor device from the stage of mask design due to a change in the specifications accompanying a change in a method of operation. Therefore, manufacturing cost and manufacturing time can be reduced. Further, there are no concerns such as whether a semiconductor device which is remade due to a change in mask design will malfunction.
Note that this embodiment mode may be freely combined with any part of the embodiments in this specification.
Next, an example of a structure of the above-described semiconductor device will be described, with reference to the drawings.
As shown in
As shown in
Note that there is no particular limitation on the connection between the connecting terminal 445 and the antenna 107. For example, the antenna 107 and the connecting terminal 445 may be connected using a wire bonding connection or a bump connection. Further, an ACF (anisotropic conductive film) can be used to attach the connecting terminal 445 and the antenna 107 to each other.
The element formation layer 430 includes parts of the analog portion 115, excluding the antenna 107, and the digital portion 106 of the semiconductor device shown in
Note that here, thin film transistors are used in the resonant circuit 108 and the digital portion 106; however, each circuit also includes a resistive element, a capacitative element, a rectifying element, and the like.
Further, as the element formation layer 430, a MOS transistor formed on a Si wafer may be used.
Forms of an antenna which can be used in a semiconductor device of the invention are described below. As an antenna form which can be used in the semiconductor device, a coiled antenna such as the one shown in
Here, an example is shown in
Further, the appropriate length for the antenna differs according to the frequency used for reception. Therefore, generally, the length preferably corresponds to a wavelength divided by an integer. For example, in a case where the frequency is 2.45 GHz, the length of the antenna may be about 60 mm (½ a wavelength) or about 30 mm (¼ of a wavelength).
A frequency of a signal transmitted or received between the antenna 107 and the reader/writer may be 125 kHz, 13.56 MHz, 915 MHz, 2.45 GHz, or the like. Each of these frequencies is set by ISO standards or the like. Of course, the frequency of the signal transmitted or received between the antenna 107 and the reader/writer is not limited to this, and for example, any of the following frequencies can also be used: 300 GHz to 3 THz, which is a submillimeter wave, 30 GHz to 300 GHz, which is a millimeter wave, 3 GHz to 30 GHz, which is a microwave, 300 MHz to 3 GHz, which is an ultrahigh frequency wave, 30 MHz to 300 MHz, which is a very high frequency wave, 3 MHz to 30 MHz, which is a high frequency wave, 300 kHz to 3 MHz, which is a medium frequency wave, 30 kHz to 300 kHz, which is a low frequency wave, or 3 kHz to 30 kHz, which is a very low frequency wave. Further, a signal transmitted or received between the antenna 107 and the reader/writer is a modulated carrier wave. As a method of modulating the carrier wave, analog modulation or digital modulation may be used. Amplitude modulation, phase modulation, frequency modulation, or spread spectrum may also be used. Preferably, amplitude modulation or frequency modulation is used.
As a method of transmitting a signal for the above-described semiconductor device which is capable of inputting and outputting data contactlessly, an electromagnetic coupling method, an electromagnetic induction method, a microwave method, or the like can be used. Preferably, the transmission method is selected as appropriate taking an intended use of the device into account, and an antenna which is suitable for the transmission method is provided.
In this embodiment mode, a structure including a booster antenna circuit (hereinafter referred to as a booster antenna) for a semiconductor device described in the embodiment mode and embodiment above will be described with reference to the drawings.
Note that the booster antenna described in this embodiment refers to an antenna (which is hereinafter referred to as a booster antenna) having a size larger than that of an antenna (which is hereinafter referred to as a chip antenna or an antenna circuit) included in the semiconductor device which receives a signal from the reader/writer and outputs the signal to an integrated circuit. The booster antenna refers to an antenna that can efficiently transmit a signal that is sent from a reader/writer or a charger to the destination of the signal, the semiconductor device, by resonating the signal at a frequency band which is used and magnetically coupling the chip antenna with the booster antenna itself through a magnetic field. Since the booster antenna is magnetically coupled with the chip antenna through the magnetic field, there is no need to directly connect the booster antenna to the chip antenna and the integrated circuit, which is advantageous. Further, a capacitative element may be provided in the booster antenna to control capacitance.
There is no particular limitation on the form of the antennas of the chip antenna 107 and the booster antenna. For example, an antenna with the form shown in
Further, in this embodiment, signals received by the antenna 107 and a booster antenna 1401 are preferably communicated by an electromagnetic induction method. Therefore, a structure including a coiled antenna 107 and a coiled booster antenna 1401 is preferable.
As shown in
The forms of the booster antenna 1401 and the chip antenna 107 are not limited to those shown in the drawings. Various forms can be used, as long as the transmitting and receiving frequencies tune in with each other. Preferably, the booster antenna 1401 takes the form of a loop antenna, while the chip antenna 107 takes the form of a miniature loop antenna. Note that the arrangement and structure of the semiconductor device are not limited to this, and the area ratio between the chip antenna 107 and the booster antenna 1401 can be selected as appropriate. In
The semiconductor device of this embodiment has the booster antenna in addition to the structure described in Embodiment 1. Therefore, the semiconductor device of this embodiment has the advantage of being able to transmit and receive data between an RFID and a reader/writer more reliably.
In this embodiment, uses of a semiconductor device of the invention that exchanges data by radio communication will be described. A semiconductor device of the invention can be used as a so-called ID label, ID tag, or ID card, which is provided in, for example, bills, coins, securities, bearer bonds, documents (such as driver's licenses or resident's cards), packaging containers (such as wrapping paper or bottles), storage media (such as DVD software or video tapes), vehicles (such as bicycles), personal belongings (such as bags or glasses), foods, plants, animals, clothing, everyday articles, tags on goods such as an electronic appliance or on packs. An electronic appliance refers to a liquid crystal display device, an EL display device, a television set (also called simply a TV set, a TV receiver, or a television receiver), a mobile phone, or the like.
In this embodiment, applications of the invention and an example of a product which includes an application of the invention are described with reference to
In addition, the efficiency of a system such as an inspection system can be improved by provision of the semiconductor device of the invention in, for example, packaging containers, storage media, personal belongings, foods, clothing, everyday articles, electronic appliances, or the like, although this is not illustrated here. Further, by providing the semiconductor device on or in a vehicle, counterfeit and theft can be prevented. Living things such as animals can be easily identified by implanting the individual living things with the semiconductor device. For example, year of birth, sex, breed, or the like can be easily discerned by implanting the semiconductor device in living things such as domestic animals.
Thus, a semiconductor device of the invention can be applied to any goods (including living things).
This embodiment can be freely combined with the preceding embodiment mode and embodiments.
This application is based on Japanese Patent Application serial no. 2006-160516 filed in Japan Patent Office on 9 Jun., 2006, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2006-160516 | Jun 2006 | JP | national |