WO2005085882A1 - 周波数センサおよび半導体装置 - Google Patents

周波数センサおよび半導体装置 Download PDF

Info

Publication number
WO2005085882A1
WO2005085882A1 PCT/JP2004/018146 JP2004018146W WO2005085882A1 WO 2005085882 A1 WO2005085882 A1 WO 2005085882A1 JP 2004018146 W JP2004018146 W JP 2004018146W WO 2005085882 A1 WO2005085882 A1 WO 2005085882A1
Authority
WO
WIPO (PCT)
Prior art keywords
frequency
frequency sensor
semiconductor device
clock signal
signal
Prior art date
Application number
PCT/JP2004/018146
Other languages
English (en)
French (fr)
Inventor
Rie Itoh
Eiichi Sadayuki
Original Assignee
Matsushita Electric Industrial Co., Ltd.
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co., Ltd. filed Critical Matsushita Electric Industrial Co., Ltd.
Priority to US10/592,427 priority Critical patent/US7504865B2/en
Priority to JP2006510613A priority patent/JPWO2005085882A1/ja
Priority to EP04821716A priority patent/EP1734371A4/en
Publication of WO2005085882A1 publication Critical patent/WO2005085882A1/ja

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/06Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into an amplitude of current or voltage
    • G01R23/09Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into an amplitude of current or voltage using analogue integrators, e.g. capacitors establishing a mean value by balance of input signals and defined discharge signals or leakage

Definitions

  • the present invention relates to a frequency sensor that can be used to prevent unauthorized analysis of a device requiring high security, such as an IC card, and a semiconductor device having the sensor.
  • FIG. 17 and FIG. 18 are diagrams showing a conventional frequency sensor and its signal waveform.
  • the frequency sensor includes an edge detection circuit 171, an n-bit counter (n is an integer of 2 or more) 172, and a state storage device 173.
  • the reference clock signal 174 is input to the n-bit counter 172 and the state storage device 173.
  • the clock input signal 175 is input to the edge detection circuit 171.
  • the edge detection output signal 176 is output from the edge detection circuit 171 to the state storage device 173.
  • the reset signal 177 is input to the edge detection circuit 171, the n-bit counter 172, and the state storage device 173.
  • the state reset signal 178 is output from the n-bit counter 172 to the state storage device 173.
  • the edge detection circuit 171 detects a rising edge of the clock input signal 175.
  • the n-bit counter 172 is reset by the reset signal 177 and counts up by ⁇ 1 "at the rising edge of the reference clock signal 174.
  • the state storage device 173 checks whether the count value reaches nL or not. If not, the count-up continues at the rising edge of the reference clock signal 174. If the count value reaches nL by continuing the count-up, it means that the count value is larger than Tmin, that is, the frequency is smaller than Fmin.
  • the n-bit counter 172 outputs the state reset signal 178, and the state storage device 173 outputs the low frequency detection signal LF_Alarm.
  • the count value has not reached nL but the rising edge of the clock input signal 175 If detected, the state storage device 173 checks whether the count value is less than nH. If the count value is smaller than nH, the clock input signal 175 indicates that the frequency is higher than the allowable frequency, and the n-bit counter 172 is reset.
  • the state storage device 173 outputs the high frequency detection signal HF_Alarm, and the initial processing power is repeated by the reset signal 177.
  • the reference clock is generated and counted by the counter to detect whether or not the clock input signal is within the allowable frequency range.
  • Patent Document 1 European Patent No. 1136830 (Pages 2-4, Fig. 14)
  • Patent Document 2 Japanese Patent Application Laid-Open No. 9-16281 (Pages 5-8, Figure 1-2)
  • the setting of the frequency of the reference clock signal is set sufficiently higher than the frequency of the input clock signal so that the setting of the high-frequency detection frequency can be changed.
  • the reference clock signal must be set to a frequency 10 times the maximum frequency specification of the input clock signal. Increasing the frequency of the reference clock signal in this manner is a problem because it increases power consumption.
  • the reference clock When the frequency of the clock signal is increased, it is necessary to increase the number of counters in order to detect a low frequency, which causes a problem that the circuit scale is increased.
  • the present invention has been made to solve the above-described problems of the related art, and provides a frequency sensor having a small current consumption and a small circuit scale, and a semiconductor device having such a frequency sensor. It is intended to be.
  • the frequency sensor according to the present invention has a configuration in which the reference clock signal is not used and the capacitance and the resistance are used, and the frequency is detected based on the charging / discharging time for the capacitance.
  • the frequency sensor according to claim 1 of the present invention includes a charging unit that charges a capacitor when an input clock signal is in a predetermined state, and a charging unit that charges the capacitor when the input clock signal is in an inverted state of the predetermined state.
  • the frequency sensor according to claim 1 of the present invention is configured as described above, so that the input clock signal charges and discharges the capacitance, and the time constant determined by the capacitance and the resistance is the time constant of the input clock signal. Since the frequency is reflected, the frequency of the input clock signal can be detected without using a clock signal having a higher frequency than the input clock signal.
  • the charging unit and the discharging unit are MOS transistors of opposite conductivity types. It is assumed that.
  • the frequency sensor according to claim 2 of the present invention is configured as described above, and has a very small circuit configuration composed of a resistor, a capacitor, and two MOS transistors, so that only the input clock signal is used. Can be detected.
  • the frequency sensor according to claim 3 of the present invention provides a first conductivity type first MOS transistor having an input clock signal input to the gate and a source connected to the first power supply potential, A second MOS transistor of a second conductivity type having an input clock signal input thereto and having a source connected to a second power supply potential; a resistor connected between the drains of the first and second MOS transistors; A capacitor connected between the drain of the second MOS transistor and the second power supply potential, wherein a terminal signal of a connection node between the capacitor and the resistor is provided. The frequency of the input clock signal is detected.
  • the frequency sensor according to claim 3 of the present invention is configured as described above, so that the frequency can be detected only by the input clock signal.
  • an inverter whose input is connected to a connection node between the capacitor and the resistor, and a gate are provided.
  • a third MOS transistor of a second conductivity type having a drain connected to the input of the inverter, a source connected to the second power supply potential, and a drain connected to the output of the inverter; The frequency of the input clock signal is detected by an output signal of the inverter instead of a terminal signal of a connection node.
  • the inverter and the third MOS transistor accelerate the change of the terminal signal at the connection node between the capacitance and the resistance, by being configured as described above.
  • the time required for frequency detection can be reduced.
  • a switch for switching between enabling and disabling a resistor instead of the resistor is provided in the frequency sensor according to claim 1 or 3.
  • a resistor block having a switch-equipped resistor is provided in the frequency sensor according to claim 1 or 3.
  • the resistance value can be adjusted, and the time constant can be easily changed.
  • a switch for switching between enabling and disabling a capacity is used instead of the capacity.
  • the present invention is characterized in that a capacity block having a capacity with a switch is provided.
  • a frequency sensor according to claim 7 of the present invention is characterized in that, in the frequency sensor according to claim 5, the switch is configured by a fuse.
  • a frequency sensor according to claim 8 of the present invention is characterized in that, in the frequency sensor according to claim 6, the switch is configured by a fuse.
  • the setting of the switch for realizing the required time constant can be fixed by cutting the fuse.
  • the switch is set to ON / OFF by data stored in a nonvolatile memory. It is characterized by the following.
  • the frequency sensor according to claim 10 of the present invention is the frequency sensor according to claim 6, wherein ON / OFF of the switch is set by data stored in a nonvolatile memory. It is assumed that.
  • a frequency sensor according to claim 11 of the present invention includes two frequency sensors according to claim 1 or 3, wherein one of the frequency sensors has the clock signal force and the other has a frequency signal of The inverted signal of the clock signal is input.
  • the frequency sensor according to claim 11 of the present invention is configured as described above, so that both the high period and the low period of the clock signal have a frequency higher than the allowable range or a low frequency. , The frequency can be detected.
  • the frequency sensor according to claim 12 of the present invention is the frequency sensor according to claim 1 or 3, further comprising a self-diagnosis unit that checks whether the frequency sensor operates normally or not. It is characterized by the following.
  • the self-diagnosis unit includes a high-frequency generation circuit that generates a high frequency from the input clock signal; A switching unit for switching an input signal between the input clock signal and a high-frequency clock signal output from the high-frequency generation circuit; and detecting whether or not the frequency sensor operates normally by detecting a detection signal of the frequency sensor. And a judgment circuit for judging the condition.
  • the frequency sensor according to claim 13 of the present invention is configured as described above to generate a high-frequency signal inside the self-diagnosis unit and to perform self-diagnosis as to whether the frequency sensor is operating normally. It becomes possible.
  • the self-diagnosis unit includes a low-frequency generation circuit that generates a low frequency from the input clock signal.
  • a switching unit that switches a signal input to the frequency sensor between the input clock signal and a low-frequency clock signal output from the low-frequency generation circuit.
  • a determination circuit that detects a detection signal of the frequency sensor to determine whether or not the frequency sensor operates normally.
  • the frequency sensor according to claim 14 of the present invention is configured as described above to generate a low-frequency signal inside the self-diagnosis unit and perform self-diagnosis as to whether the frequency sensor is operating normally. It is possible to do.
  • a semiconductor device configured such that the frequency sensor according to claim 1 or 3 and the input clock signal are input, and the operation is controlled according to a detection signal of the frequency sensor. And a semiconductor device main body.
  • a semiconductor device according to a sixteenth aspect of the present invention is the semiconductor device according to the fifteenth aspect, wherein the semiconductor device body is reset by the detection signal. .
  • the semiconductor device according to claim 16 of the present invention is configured as described above, so that when a clock signal input to the semiconductor device deviates from an allowable frequency, the semiconductor device is automatically reset. As a result, security can be improved.
  • a semiconductor device is the semiconductor device according to the fifteenth aspect, wherein the semiconductor device main body stops operating in response to the detection signal. is there.
  • the semiconductor device according to claim 17 of the present invention is configured as described above, and automatically stops operation when a clock signal input to the semiconductor device deviates from an allowable frequency, Security can be enhanced.
  • the semiconductor device body erases stored sensitive data stored by the detection signal. Alternatively, it is characterized by being destroyed.
  • the semiconductor device according to claim 18 of the present invention is configured as described above, so that when a clock signal input to the semiconductor device deviates from an allowable frequency, confidentiality is automatically required. Data can be erased or destroyed, and security can be improved.
  • the frequency sensor of the present invention can realize a frequency sensor with a small circuit scale by the above configuration.
  • FIG. 1 is a diagram showing a semiconductor device having a frequency sensor according to Embodiment 1 of the present invention.
  • FIG. 2 is a diagram showing signal timings of a frequency sensor according to Embodiment 1 of the present invention.
  • FIG. 3 is a diagram showing a semiconductor device having a frequency sensor according to Embodiment 2 of the present invention.
  • FIG. 4 is a diagram showing signal timings of a frequency sensor according to Embodiment 2 of the present invention.
  • FIG. 5 (a)] is a diagram showing a semiconductor device having a frequency sensor according to Embodiment 3 of the present invention.
  • FIG. 5 (b) is a diagram showing a semiconductor device having a frequency sensor according to Embodiment 3 of the present invention.
  • FIG. 6 is a diagram illustrating a resistance block of a frequency sensor according to Embodiment 3 of the present invention.
  • FIG. 7 is a diagram illustrating a capacitance block of a frequency sensor according to Embodiment 3 of the present invention.
  • FIG. 8 is a diagram illustrating a resistance block of a frequency sensor according to Embodiment 4 of the present invention.
  • FIG. 9 is a diagram illustrating a capacitance block of a frequency sensor according to Embodiment 4 of the present invention.
  • FIG. 10 is a diagram illustrating a resistance block of a frequency sensor according to a fifth embodiment of the present invention.
  • FIG. 11 is a diagram illustrating a capacitance block of a frequency sensor according to Embodiment 5 of the present invention.
  • FIG. 12 (a) is a diagram showing a semiconductor device having a frequency sensor according to a sixth embodiment of the present invention.
  • FIG. 12 (b)] is a diagram showing a semiconductor device having a frequency sensor according to Embodiment 6 of the present invention.
  • FIG. 13 is a diagram showing a frequency sensor according to Embodiment 7 of the present invention.
  • FIG. 14 is a diagram showing signal timings of a frequency sensor according to Embodiment 7 of the present invention.
  • FIG. 15 is a diagram showing a frequency sensor according to Embodiment 8 of the present invention.
  • FIG. 16 is a diagram showing signal timings of a frequency sensor according to Embodiment 8 of the present invention.
  • FIG. 17 is a diagram showing a conventional frequency sensor.
  • FIG. 18 is a diagram showing signal timings of a conventional frequency sensor.
  • FIG. 1 is a diagram showing a semiconductor device having a built-in frequency sensor according to Embodiment 1 of the present invention.
  • a semiconductor device 100 has a semiconductor device main body 100a, a frequency sensor 100b, and a result determination circuit.
  • the frequency sensor 100b includes a resistance element 13, a capacitor 14, an inverter 15, a P-channel type MOS transistor 16 as a charging unit or a first conductivity type first MOS transistor, a discharging unit or a second conductivity type second MOS transistor.
  • An N-channel MOS transistor 17 as a MOS transistor and an N-channel MOS transistor 18 as a third MOS transistor of the second conductivity type are provided.
  • the clock signal input terminal 11 is for inputting a clock signal CLK to a semiconductor device 100 such as an IC card, etc., for which security is required.
  • the high frequency detection signal output terminal 12 is for outputting the high frequency detection signal OUT1 from the frequency sensor 100b.
  • the result determination circuit ⁇ determines whether the high frequency detection signal OUT1 indicates that a clock signal having a higher frequency than the original input clock signal is input to the semiconductor device, and controls the semiconductor device body 100a. It is.
  • the output side of the inverter 15 is connected to the high frequency detection signal output terminal 12.
  • One end of the capacitor 14 is grounded.
  • the drain of the P-channel MOS transistor 16, one end of the resistor 13, the other end of the capacitor 14, the input side of the inverter 15, and the drain of the N-channel MOS transistor 18 are connected to the terminal signal of the capacitor or the connection between the capacitor and the resistor. Connected to each other at A 1 as a node.
  • the source of the P-channel MOS transistor 16 is connected to the power supply voltage VDD as the first power supply potential, and the gate is connected to the clock signal input terminal n.
  • the N-channel MOS transistor 17 has a source connected to the ground potential GND as the second power supply potential, a drain connected to the other end of the resistor 13, and a gate connected to the clock signal input terminal 11.
  • the source of the N-channel type MOS transistor 18 is connected to the ground potential, and the gate side is connected to the output side of the S inverter 15 . Further, the clock signal CLK from the clock signal input terminal 11 is input to the semiconductor device body 100a.
  • the P-channel MOS transistor 16 functioning as a charging unit turns off
  • the N-channel MOS transistor 17 functioning as a discharging unit turns on
  • the capacitance 14 Discharges.
  • the potential at point A1 gradually decreases according to VDD * exp (-t / RC).
  • R is the value of the resistance element 13
  • C is the value of the capacitance 14, and * represents multiplication.
  • the inverter 15 and the N-channel MOS transistor 18 accelerate the potential drop at the point A1.
  • the lower limit level L is set according to the permitted frequency. This setting can be made by setting the value R of the resistance element 13 and the value C of the capacitance 14.
  • the potential at the point A1 is It falls below the lower limit level L, which causes the high frequency detection signal OUT1 to output High indicating normal. If the frequency is higher than the allowed frequency, the potential at point A1 does not exceed the lower limit level, and a low signal indicating an error is output.
  • X determines this and resets the semiconductor device body 100a, stops the operation, or erases or destroys sensitive data.
  • the frequency sensor according to the first embodiment outputs Low indicating an abnormality from the high frequency detection signal output terminal 12 when the frequency is higher than the permitted frequency.
  • the semiconductor device when a high frequency clock signal out of the allowable range is input, the result is determined by the result determination circuit ⁇ ⁇ to reset and operate the semiconductor device body 100a.
  • the result determination circuit ⁇ ⁇ By configuring to stop or to erase or destroy sensitive data, a semiconductor device with high security can be realized.
  • FIG. 3 is a diagram illustrating a semiconductor device having a built-in frequency sensor according to the second embodiment of the present invention.
  • a semiconductor device 100 has a semiconductor device main body 100a, a frequency sensor 100c, and a result determination circuit 100y.
  • the frequency sensor 100c has the same configuration as that of the frequency sensor 100b in Fig. 1 with an inverter 39 added thereto. That is, the frequency sensor 100c includes a resistor 33, a capacitor 34, inverters 35 and 39, a P-channel MOS transistor 36 functioning as a charging unit or a first MOS transistor of the first conductivity type, and a discharging unit. It has an N-channel MOS transistor 37 functioning as a second MOS transistor of the second conductivity type, and an N-channel MOS transistor 38 functioning as a third MOS transistor of the second conductivity type.
  • the clock signal input terminal 31 is for inputting the clock signal CLK to the semiconductor device 100, such as an IC card, which requires security.
  • the low frequency detection signal output terminal 32 is for outputting the low frequency detection signal OUT2 from this frequency sensor 100c.
  • the result determination circuit 100y determines whether the low frequency detection signal OUT2 indicates that a clock signal having a lower frequency than the original input clock signal is input to the semiconductor device, and controls the semiconductor device body 100a. It is.
  • the output side of the inverter 35 is connected to the input side of the inverter 39.
  • One end of the capacitor 34 is grounded.
  • the drain of the P-channel MOS transistor 36, one end of the resistor element 33, the other end of the capacitor 34, the input side of the inverter 35, and the drain of the N-channel MOS transistor 38 It is connected at point A2 as a connection node.
  • the P-channel MOS transistor 36 has a source connected to the power supply voltage VDD as the first power supply potential, and a gate connected to the clock signal input terminal 31.
  • the N-channel MOS transistor 37 has a source connected to the ground potential GND as the second power supply potential, a drain connected to the other end of the resistor element 33, and a gate connected to the clock signal input terminal 31.
  • the N-channel MOS transistor 38 has a source connected to the ground potential and a gate connected to the output side of the inverter 35. Further, the input side of the inverter 39 is connected to the output side of the inverter 35, and the output side is connected to the low frequency detection signal output terminal 32.
  • the clock signal CLK from the clock signal input terminal 31 is input to the semiconductor device body 100a.
  • the P-channel MOS transistor 36 functioning as a charging unit is turned on, the N-channel MOS transistor 37 functioning as a discharging unit is turned off, and the capacitor 34 is charged.
  • the P-channel MOS transistor 36 functioning as a charging unit is turned off, the N-channel MOS transistor 37 functioning as a discharging unit is turned on, and the capacitor 34 is discharged.
  • the potential at point A2 gradually decreases according to VDD * exp (-tZRC).
  • R is the value of the resistance element 33
  • C is the value of the capacitance 34
  • * represents multiplication.
  • Inverter 35 and N-channel MOS transistor 38 accelerate the drop.
  • the lower limit level L is set according to the permitted frequency. This setting can be made by setting the value R of the resistor 33 and the value C of the capacitor 34. As shown in FIG.
  • the point A2 when the clock signal 31 has an allowable frequency, the point A2 receives a low level from the clock input signal 31 before exceeding the lower limit level, thereby charging the capacitor. Is started. At this time, the low frequency detection signal OUT2 outputs High indicating normal. If the frequency is lower than the permitted frequency, the potential at point A2 exceeds the lower limit level L, and a low signal indicating an error is output.
  • the result determination circuit 100y determines this, and resets the semiconductor device body 100a, stops the operation, or erases sensitive data. Perform destruction.
  • the frequency sensor according to the second embodiment outputs Low indicating an abnormality from the low frequency detection signal output terminal 32 when the frequency is lower than the permitted frequency. This makes it possible to detect that a low frequency outside the allowable range is input without using a reference clock signal.
  • the result determination circuit 100y determines this, resets the semiconductor device body, and stops the operation. Alternatively, by erasing or destroying sensitive data, a semiconductor device with high security can be realized.
  • FIGS. 5 (a), 5 (b), 6 and 7 are views showing a semiconductor device having a built-in frequency sensor according to Embodiment 3 of the present invention.
  • a semiconductor device 100 has a semiconductor device main body 100a, a frequency sensor 100d, and a result determination circuit.
  • the frequency sensor 100d corresponds to the frequency sensor 100b of FIG. 1 in which the resistance element 13 and the capacitance 14 are replaced with a resistance block 53 and a capacitance block 54. That is, the frequency sensor 100d includes a resistance block 53, a capacitance block 54, an inverter 55, a P-channel MOS transistor 56 functioning as a charging unit or a first MOS transistor of the first conductivity type, a discharging unit or the second conductivity type. An N-channel MOS transistor 57 functioning as a second MOS transistor and an N-channel MOS transistor 58 functioning as a second conductive third MOS transistor are provided.
  • the clock signal input terminal 51 is for inputting the clock signal CLK to a semiconductor device 100 such as an IC card, which requires security.
  • the high frequency detection signal output terminal 52 is for outputting the high frequency detection signal OUT1 having the frequency sensor capability.
  • the result determination circuit ⁇ determines whether the high frequency detection signal OUT1 indicates that a clock signal having a higher frequency than the original input clock signal is input to the semiconductor device, and controls the semiconductor device body 100a. belongs to.
  • the output side of the inverter 55 is connected to the high frequency detection signal output terminal 52.
  • One end of the capacity block 54 is grounded.
  • the P-channel MOS transistor 56 has a source connected to the power supply voltage VDD as the first power supply potential, and a gate connected to the clock signal input terminal 51.
  • the N-channel MOS transistor 57 has a source connected to the ground potential GND as the second power supply potential, a drain connected to the other end of the resistor block 53, and a gate connected to the clock signal input terminal 51.
  • the N-channel MOS transistor 58 has a source connected to the ground potential and a gate connected to the output side of the inverter 55.
  • FIG. 6 is a configuration diagram of the resistance block 53 in FIG. 5 (a).
  • the resistance block 53 is composed of resistance elements 5311a, 5311b, 5311c, ..., 531 In, and switches 5312a, 53 12b, 5312c, ..., 5312n. , 53In and a resistance element 531 having no switch are connected in series with each other.
  • FIG. 7 is a configuration diagram of the capacity block 54 in FIG. 5 (a).
  • a capacitance block 54 is composed of a capacitance 5411a, 5411b, 5411c,..., 541 In and a switch 5412a, 5412b, 5412c,. , 541b, 541c, ⁇ , 541 ⁇ are connected in parallel with each other between the point A1 and the ground potential GND.
  • the resistance element and the capacitance according to the first and second embodiments are disposed in the resistance block and the capacitance block having the above-described configurations. It is equivalent to a replacement. Therefore, the operation is the same as in the first and second embodiments.
  • the resistance elements with switches 531a, 531b, 531c, ... 531 ⁇ have cutting switches connected to both ends of each resistance element, and the resistance is cut by turning on / off. 'The connection can be switched. When the switch is ON, the resistor is disconnected, and when the switch is OFF, the resistor is connected.
  • the switches can be set individually, and the resistance elements can have different resistance values. Thereby, the resistance value of the resistance block 53 can be adjusted.
  • the resistance value of the resistance element 53 la with switch is 10 k ⁇
  • the resistance value of 531b is 5 kQ
  • the resistance value of 531c-531 ⁇ is 4 kQ each, and all the switches are in the ON state.
  • the switched capacitors 541a, 541b, 541c, ⁇ , 541 ⁇ in Fig. 7 have a disconnecting switch connected to one end of each capacitor. 'The connection can be switched. When the switch is ON, the capacitance is connected, and when the switch is OFF, the capacitance is disconnected.
  • the switches can be set individually, and the capacities can have different values. Thereby, the capacity of the capacity block 54 can be adjusted.
  • the total capacitance is to be reduced by 35fF.
  • the switches 541a and 541b with switches can be turned off.
  • the frequency sensor according to the third embodiment includes the switched resistance elements 531a, 531b, 531c, ..., 531 ⁇ in the resistance block 53, and the switched capacitance 541a in the capacitance block 54.
  • the time constant can be adjusted after design by switching ON / OFF the switches 541b, 541c, ⁇ , 541 ⁇ . Therefore, in addition to the same effects as those of the first embodiment, it becomes possible to suppress the manufacturing variation of the frequency sensor or the semiconductor device incorporating the same.
  • the resistance element and the capacitance in the second embodiment may be replaced with a resistance block and a capacitance block.
  • FIGS. 8 and 9 show a resistance block 53 in the frequency sensor according to the fourth embodiment of the present invention.
  • the resistance block 53 and the capacitance block 54 correspond to those obtained by replacing the resistance element with a switch and the capacitance with a switch in FIGS. 6 and 7 with a resistance element with a fuse and a capacitance with a fuse.
  • the resistance block 53 is connected to fuses 5322a, 5322b, 5322c,..., 5322 ⁇ at both ends of the resistance elements 5321a, 5321b, 5321c,. 532a, 532b, 532c, 532, 532 ⁇ , and ⁇ resistor without fuse
  • the capacitance block 54 the capacitance 5421a, 5421b, 5421c,..., 5421n and the fuse 5422a, 5422b, 5422c,.
  • the 542a, 542b, 542c, 542, 542 ⁇ configured with lj connection are connected to the A1 point and the ground potential G.
  • the frequency sensor of the fourth embodiment corresponds to a frequency sensor in which the resistance element and the capacitance in the first and second embodiments are replaced with the resistance block and the capacitance block having the above-described configurations. Therefore, the operation is the same as in the first and second embodiments.
  • the resistance elements 532a, 532b, 532c, ... 532 ⁇ with a fuse in Fig. 8 have fuses connected to both ends of each resistance element. It becomes possible. Fuses can be blown individually, and each resistor can have a different resistance. This allows the resistance block It is possible to adjust the resistance of step 53.
  • the resistance value of the resistance element with a fuse 532a is 10 k ⁇
  • the resistance value of the 532b is 5 kQ
  • the resistance value up to 532c—532 ⁇ is 4 kQ
  • all the fuses are in the connection state. If you want to increase the total resistance by 15k ⁇ , you can cut off the fuses of the resistance elements 532a and 5 32b with a fuse!
  • the fuses 542a, 542b, 542c, ... 542 ⁇ in Fig. 9 have a fuse connected to one end of each capacitor, and can be cut by a laser cutter or the like as necessary. It becomes possible. The fuses can be blown individually, and the capacitances can have different values. Thus, the capacity of the capacity block 54 can be adjusted.
  • the capacity of the fused capacity 542a is 15fF
  • the capacity of the 542b is 20fF
  • the capacity of the 542c-542n is 40fF each, and all the fuses are connected
  • the fuses of the capacitors 542a and 542b with a fuse may be blown.
  • the frequency sensor of the fourth embodiment increases the time constant when the fuses 532a, 532b, 532c,... If you want to cut and reduce the time constant, you can adjust the time constant after design by cutting the fuses with fuses 542a, 542b, 542c, It is possible to suppress manufacturing variations.
  • FIG. 10 and FIG. 11 are diagrams showing the resistance block 53 and the capacitance block 54 of the frequency sensor according to the fifth embodiment of the present invention.
  • the resistance block 53 and the capacitance block 54 correspond to the switches in the switched resistance elements and the switched capacitances shown in FIGS. 6 and 7 which are replaced by switches using transistors.
  • the resistance block 53 has switches 5332a, 5332b, and 5331a, 5331b, 5331c,. , 332c,..., 533 ⁇ connected to each other, and a resistance element 533 without a switch connected in series with each other.
  • the switches 5332a, 5332b, 5332c,..., 5332 ⁇ are controlled on and off by inputting the result of decoding the data stored in the nonvolatile memory 101a by the decoder 102a to the gate. You.
  • the capacity block 54, capacity 5431a, 5431b, 5431c, ⁇ , 543 In and switch 5432a, 5432b, 5432c, ⁇ , 5432 ⁇ are directly It is constructed by connecting in parallel the switched capacitors 543a, 543b, 543c, ⁇ , 543 ⁇ formed by lj connection between the point A1 and the ground potential GND.
  • the switches 5432a, 5432b, 5432c,..., 5432 ⁇ are turned on and off by inputting the result of decoding the data stored in the nonvolatile memory 101b by the decoder 102b to the gate.
  • the frequency sensor of the fifth embodiment corresponds to a frequency sensor in which the resistance element and the capacitance in the first and second embodiments are replaced with the resistance block and the capacitance block having the above-described configuration. Therefore, the operation is the same as in the first and second embodiments.
  • trimming data for switching the switches of the resistance elements with switches 533a, 533b, 533c,... ⁇ 533 ⁇ in FIG. 10 is obtained in advance.
  • This value reflects the variation after manufacture of the frequency sensor or the semiconductor device in which the frequency sensor is built, and this value is stored in the nonvolatile memory 101a.
  • This trimming data is read from the nonvolatile memory 101a and transferred to the decoder 102a in a start-up routine or the like of the semiconductor device.
  • the decoder 102a outputs switch switching signals 103a, 103b, 103c,..., 103 ⁇ . When this signal is High, the switch is ON, and when it is Low, the switch is OFF.
  • the resistance value can be adjusted as in the third embodiment of the present invention.
  • the same adjustment can be made for the capacitance in FIG.
  • the frequency sensor of the fifth embodiment has the advantages of the first and second embodiments, Of the switched resistive elements 533a, 533b, 533c,... ⁇ 533 ⁇ in the resistive block 53 and the switched capacities 543a, 543b, 543c,.
  • the time constant can be adjusted after the design by the trimming data for switching the switch, and the variation in the manufacture of the frequency sensor or the semiconductor device incorporating the same can be suppressed.
  • a channel MOS transistor may be used instead of the channel MOS transistor.
  • the same operation is performed by setting the switch switching signals 103a, 103b, 103c,... ⁇ 103 ⁇ and 104a, 104b, 104c,... ⁇ 104n from the decoders as inverted signals in the case of the channel type MOS transistor. Is possible.
  • a bidirectional transfer gate in which an N-channel MOS transistor and a P-channel MOS transistor are connected in parallel may be used.
  • the same operation can be performed by inputting a switch switching signal from a decoder to the gate of the N-channel MOS transistor and inputting an inverted signal of the switch switching signal to the P-channel MOS transistor.
  • FIGS. 12 (a) and 12 (b) are views showing a semiconductor device having a built-in frequency sensor according to Embodiment 6 of the present invention.
  • the semiconductor device 100 has a semiconductor device main body 100a, a frequency sensor 10Of, and a result determination circuit.
  • the frequency sensor 100f includes a high-side high-frequency sensor 124, a low-side high-frequency sensor 126, an inverter 122, and a NAND gate 128.
  • the clock signal input terminal 121 is for inputting the clock signal CLK to the semiconductor device 100 such as an IC card which requires security.
  • the high frequency detection signal output terminal 129 is for outputting the high frequency detection signal OUT1 from the frequency sensor 100e.
  • the clock input signal CLK is input to the high-side high-frequency sensor 124 and the inverter 122.
  • the inverter 122 outputs a clock inversion signal 123 obtained by inverting the clock signal CLK to the low-side high-frequency sensor 126.
  • the high-side high-frequency sensor 124 outputs the high-side high-frequency detection signal 125, and the low-side high-frequency sensor 126 outputs the low-side high-frequency detection signal 127. Is output.
  • the NAND gate 128 outputs a NAND of the high-side high-frequency detection signal 125 and the low-side high-frequency detection signal 127 as a high-frequency detection signal OUT1.
  • the high-side high-frequency sensor 124 has the same configuration as the frequency sensor 100b according to the first embodiment of the present invention. When the high period of the clock input signal CLK is shorter than the allowable range, the high-side high-frequency sensor 124 Outputs Low indicating an abnormality from the frequency detection signal 125.
  • the configuration of the low-side high-frequency sensor 126 has the same configuration as that of the frequency sensor 100b according to the first embodiment of the present invention, and the period in which the clock inversion signal 123 is high, that is, the low period of the clock signal CLK is allowed.
  • the Low side high frequency detection signal 127 outputs Low indicating abnormality.
  • the NAND gate 128 When either the high-side high-frequency detection signal 125 or the low-side high-frequency detection signal 127 outputs a low signal indicating an abnormality, the NAND gate 128 outputs a high signal indicating an abnormality as the high-frequency detection signal OUT1. Is output.
  • the frequency sensor according to the sixth embodiment can detect a high frequency abnormality in both the high period and the low period of the clock signal CLK.
  • the result determination circuit ⁇ determines this, and resets the semiconductor device main body, stops the operation, or By erasing or destroying sensitive data, it is possible to realize a semiconductor device with high security.
  • the high-side high-frequency sensor and the low-side high-frequency sensor each have a configuration similar to that of the frequency sensor 100c of the second embodiment of the present invention.
  • the low-frequency sensor 144 and the low-side low-frequency sensor 146 it is possible to detect low-frequency abnormalities in both the high and low periods of the clock input signal.
  • the result determination circuit 100y determines this, and resets the semiconductor device body, stops operation, Alternatively, by erasing or destroying confidential data, a highly secure semiconductor device can be realized.
  • FIGS. 13 and 14 show a semiconductor device according to Example 7 of the present invention.
  • the semiconductor device 100 includes a semiconductor device 100a, a high-frequency sensor 138, a self-test circuit 130, and a controller 200.
  • the high-frequency sensor has a configuration similar to those of the first, third, and fifth embodiments.
  • the self-test circuit 130 includes a high-frequency generation circuit 130a and a selector 137 as a switching unit.
  • the high frequency generation circuit 130a receives the clock signal C input from the clock signal input terminal 131.
  • Delay circuit 132 for delaying LK
  • inverter 133 for inverting the output signal of delay circuit 132
  • the output signal C1 of the inverter 133 and the clock signal CLK are input to the NAND gate 134
  • an inverter 135 for inverting the output signal XOUT of the NAND gate 134.
  • the selector 137 outputs the clock signal CLK or the output signal of the high-frequency generation circuit 130a according to the self-test mode signal TEST input from the self-test mode signal input terminal 136.
  • the high-frequency sensor 138 receives the output signal B1 of the selector as an input.
  • the result determination circuit 139 outputs the output signal RESULT to the determination signal output terminal 1310 and the semiconductor device body 100a.
  • the controller 200 is controlled by the semiconductor device main body 100a and generates a self-test mode signal TEST.
  • the clock signal CLK is also supplied to the semiconductor device main body 100a and the controller 200.
  • the semiconductor device reader Z writer 300 supplies a clock signal to the semiconductor device 100 and
  • the signal OUT is output from the selector 137.
  • the signal OUT is an inverted signal of the logical product XOUT of the clock signal CLK and the signal C1 obtained by delaying and inverting the clock signal CLK.
  • the output signal OUT has a higher frequency than the allowable frequency of the high-frequency sensor 138, that is, a high period is shorter. Therefore, the output signal OUT Is input to the high-frequency sensor 138, when the sensor itself operates normally, a signal indicating abnormality is output to the result determination circuit 139. If the sensor itself has failed, it outputs a signal indicating normal. As a result, the determination signal RESULT indicating normal or abnormal is output from the result determining circuit 139.
  • the controller 200 notifies the semiconductor device main body 100a that the self test mode signal TEST has been output High, and the semiconductor device main body 100a sends the signal together with the output signal indicating that the result determination circuit 139 is abnormal to the semiconductor device main body 100a.
  • the semiconductor device reader Z writer 300 determines that the semiconductor device 100 is in the self-test state and is abnormal, and the result judgment circuit 139 indicates that the semiconductor device 100 is abnormal.
  • the high frequency sensor 138 of the semiconductor device 100 is informed that it is normal by displaying characters on a display (not shown) or the like.
  • the semiconductor device reader / writer 300 notifies that the high-frequency sensor 138 has failed by displaying characters or the like.
  • the result determination circuit 139 determines this, and A control signal for resetting, stopping the operation, or erasing or destroying data is output to the device main body 100a as the determination signal RESULT.
  • the frequency sensor according to the seventh embodiment includes the delay circuit 132 that generates a frequency higher than the permitted frequency, thereby enabling the high-frequency sensor itself. It is possible to make a self-diagnosis as to whether it is normal or faulty. This makes it possible to provide a highly reliable frequency sensor or a semiconductor device incorporating the same.
  • FIG. 15 and FIG. 16 are views showing a frequency sensor according to Embodiment 8 of the present invention.
  • the frequency sensor according to the eighth embodiment includes a low-frequency sensor 155 and a low-frequency generation circuit 150a instead of the high-frequency sensor 138 and the high-frequency generation circuit 130a according to the seventh embodiment.
  • the low-frequency sensor has a configuration similar to those of the second, fourth, and sixth embodiments.
  • the frequency dividing circuit 152 divides the frequency of the clock signal 151 so as to be detected by the low frequency sensor 155.
  • the block configuration of the eighth embodiment is the same as that of the seventh embodiment.
  • the operation of the eighth embodiment is similar to the operation of the seventh embodiment. That is, when executing the self-test, High is output from the controller 200 as the self-test mode signal TEST. At this time, the clock signal CLK divided by the divider circuit 152 is output from the selector 154. This output signal is input to the low-frequency sensor 155, and when the sensor itself operates normally, a signal indicating an abnormality is output to the result determination circuit 156. When the sensor itself has failed, it outputs a signal indicating normality. As a result, the result determination circuit 156 outputs a determination signal RESULT indicating normal or abnormal.
  • the semiconductor device reader Z writer 300 indicates whether the frequency sensor is normal or not, based on the test mode signal from the semiconductor device body 100a and the determination signal RESULT.
  • the result determination circuit 156 determines this, and A control signal for resetting, stopping the operation, or erasing or destroying data is output to the semiconductor device body 100a as the determination signal RESULT.
  • the frequency sensor of the eighth embodiment further includes the frequency dividing circuit 152 that generates a frequency lower than the permitted frequency. It is possible to self-diagnose whether the body is normal or faulty. This makes it possible to provide a highly reliable frequency sensor or a semiconductor device incorporating the same.
  • the third MOS transistor and the inverter of the second conductivity type are used to accelerate the change in the potential at the points A1 and A2. It is also possible to omit the third MOS transistor and the inverter.
  • the resistance block shows the resistance elements with switches connected in series with each other
  • the capacitance block shows the resistance with switches connected in parallel with each other. It may be constituted by a network.
  • the input clock signal is directly supplied to the frequency sensor and the semiconductor device main body.
  • the increase in power consumption is inconspicuous,
  • the input clock signal may be manually multiplied or divided in frequency by one or both of V and the deviation.
  • the force frequency sensor in which the semiconductor device has a built-in frequency sensor may be externally provided.
  • the semiconductor device is assumed to be an IC card or an LSI. If the memory or the written data requires confidentiality, other semiconductor devices are required. It may be.
  • the resistance block and the capacitance block are each configured to generate a switch switching signal by a dedicated nonvolatile memory and a decoder S, and these are a common nonvolatile memory and a decoder. May be caused by the following.
  • these nonvolatile memories and decoders are provided in the semiconductor device main body and the frequency sensor.
  • the semiconductor device such as a semiconductor device reader Z writer that can be mounted in any part of the self-test circuit.
  • the high frequency generation circuit and the low frequency generation circuit may have a configuration other than the configurations shown in the seventh and eighth embodiments.
  • the self-test mode signal TEST may be generated by the controller 200 by a device other than the controller 200, such as the semiconductor device body 100a. !,.
  • the semiconductor device reader / writer Z is shown as an example of an external device connected to the semiconductor device, it may be another device such as an ATM, an automatic ticket gate, and the like.
  • the input or output of the clock signal CLK, the self-test mode signal TEST, the high-frequency detection signal OUT1, the low-frequency detection signal OUT2, and the determination signal RESULT is performed via the terminal.
  • the operation may be performed via a node instead of a terminal.
  • terminals and nodes may be provided on the periphery of the IC chip of the semiconductor device, or may be pins provided so that the package force for protecting the semiconductor device also protrudes.
  • the frequency sensor is provided inside the semiconductor device. It may be provided outside the semiconductor device.
  • the frequency sensor and the semiconductor device according to the present invention are suitable for use in enhancing the security of sensitive data such as an IC card.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

 LSIを許容範囲外の周波数で動作させることへの対抗手段として、基準クロックを発生させ、それをカウントすることによって検知する周波数センサがある。しかしながら、この手法では、消費電力、および回路規模の増大を招くという問題点があった。  そこで、本発明では、抵抗素子(13)と容量(14)とを設け、容量(14)への充放電時間によって周波数を検知することで、消費電流、および回路規模の小さい周波数センサが実現できる。また、複数の抵抗、および容量から構成し、各々にスイッチを接続することで、製造後に時定数を調節することができ、製造バラツキを抑えることが可能となる。さらに、周波数センサ自身が正常に動作するか否かの自己診断回路を設けることによって、信頼性の高い周波数センサを提供することができる。

Description

明 細 書
周波数センサおよび半導体装置
技術分野
[0001] 本発明は、 ICカードなど高セキュリティが要求される装置の不正解析防止に使用可 能な周波数センサ、および該センサを有する半導体装置に関するものである。
背景技術
[0002] 近年、半導体集積回路の進歩は目覚しぐチップ内に搭載可能な情報処理機能や データは飛躍的に増大してきている。し力しながら、 ICチップを搭載する ICカードなど
、データ等の機密を要する半導体装置においては、そのセキュリティが確保されるこ とがこの種の半導体装置の本格的な普及を図る上で重要である。
[0003] 即ち、この種のセキュリティが要求される LSIに対し、許容範囲外の周波数を入力し て動作させ、機密情報の漏出などをされることは大きな脅威である。このような脅威に 対抗する手段として、入力クロック信号等の周波数を検知する周波数センサが重要と なってきている(例えば、特許文献 1、特許文献 2参照)。
[0004] 以下に従来の周波数センサの一例について説明する。
図 17および図 18は、従来の周波数センサおよびその信号波形を示す図である。 図において、この周波数センサは、エッジ検出回路 171、 nビットカウンタ (nは 2以 上の整数) 172、および状態記憶装置 173を有する。
基準クロック信号 174は nビットカウンタ 172および状態記憶装置 173に入力される 。クロック入力信号 175はエッジ検出回路 171に入力される。また、エッジ検出出力 信号 176は前記エッジ検出回路 171から状態記憶装置 173に出力される。リセット信 号 177はエッジ検出回路 171、 nビットカウンタ 172、および状態記憶装置 173に入 力される。状態リセット信号 178は nビットカウンタ 172から状態記憶装置 173に出力 される。
[0005] 以上のように構成された周波数センサについて、図 17および図 18を用いて、以下 にその動作を説明する。
[0006] まず、この周波数センサが搭載されたシステムの許容周波数範囲の限界値を Fmin, Fmaxとすると、 1周期の許容時間は Tmin=l/Fmin以内、 Tmax=l/Fmax以上、即ち、 nビットカウンタ 172のカウント値は nL以内、 nH以上(nL〉nH)となる。
[0007] エッジ検出回路 171は、クロック入力信号 175の立ち上がりエッジを検出する。 nビ ットカウンタ 172は、リセット信号 177でリセットされ、基準クロック信号 174の立ち上が りエッジで〃 1"ずつカウントアップする。状態記憶装置 173は、カウント値が nLに達す る力否かをチェックし、まだの場合は基準クロック信号 174の立ち上がりエッジでカウ ントアップを続ける。カウントアップを続けることでカウント値が nLに達した場合は、 Tminより大きいことを意味する。即ち、周波数は Fminより小さいため、 nビットカウンタ 1 72は状態リセット信号 178を出力し、これにより、状態記憶装置 173は低周波数検知 信号 LF_Alarmを出力する。カウント値が nLまで達していないがクロック入力信号 175 の立ち上がりエッジが検出された場合、状態記憶装置 173はカウント値が nHより小さ いか否かをチェックする。カウント値が nHより大きい場合は、許容周波数範囲であるこ とを意味し、 nビットカウンタ 172はリセットされる。カウント値が nHより小さい場合は、ク ロック入力信号 175は許容周波数よりも高周波数であることを意味し、状態記憶装置 173は高周波数検知信号 HF_Alarmを出力する。そして、リセット信号 177によって、 最初の処理力 繰り返される。
[0008] 以上のように、基準クロックを発生し、それをカウンタによってカウントして!/、くことに よって、クロック入力信号が許容周波数範囲内である力否かを検知する。
なお、検知周波数の設定変更は nHと nLの値を変更することにより行う。 特許文献 1 :欧州特許第 1136830号明細書 (第 2— 4頁、第 1 4図)
特許文献 2:特開平 9-16281号公報 (第 5-8頁、第 1-2図)
発明の開示
発明が解決しょうとする課題
[0009] し力しながら、上記従来の周波数センサでは、高周波数の検知周波数の設定を変 更できるようにするため、基準クロック信号の周波数の設定を入力クロック信号の周波 数よりも十分高くする必要がある。例えば、基準クロック信号は入力クロック信号の最 大周波数仕様の 10倍の周波数に設定する必要がある。このように基準クロック信号 の周波数を高くすることは、消費電力の増大を招くため問題である。また、基準クロッ ク信号の周波数を高くすると、低周波数の検知を行うためにカウンタのカウンタ数を 大きくする必要などが生じ、回路規模の増大を招き問題である。
[0010] 本発明は上記のような従来のものの問題点を解決するためになされたもので、消費 電流、および回路規模の小さい周波数センサ、およびこのような周波数センサを有す る半導体装置を提供することを目的としている。
課題を解決するための手段
[0011] そこで本発明の周波数センサでは、基準クロック信号を用いるのではなぐ容量と抵 抗とを有し、容量への充放電時間によって周波数の検知を行う構成とした。
[0012] 即ち、本発明の請求項 1に係る周波数センサは、入力クロック信号が所定の状態の ときに、容量に充電する充電部と、前記入力クロック信号が前記所定の状態の反転 状態のときに、抵抗を介して前記容量を放電する放電部とを備え、前記容量の端子 信号によって前記入力クロック信号の周波数を検出することを特徴とするものである。
[0013] 本発明の請求項 1に係る周波数センサは、上述のように構成することで、入力クロッ ク信号が容量を充,放電し、その容量と抵抗とで決まる時定数が入力クロック信号の 周波数を反映するため、入力クロック信号より高周波数のクロック信号を別途用いるこ となぐ入力クロック信号の周波数の検知が可能となる。
[0014] また、本発明の請求項 2に係る周波数センサは、請求項 1に記載の周波数センサに おいて、前記充電部と前記放電部とは互いに反対導電型の MOSトランジスタ力 なる ことを特徴とするものである。
[0015] 本発明の請求項 2に係る周波数センサは、上述のように構成することで、抵抗,容 量および 2つの MOSトランジスタによるごく小回路規模の構成により、入力クロック信 号のみでその周波数の検知が可能となる。
[0016] また、本発明の請求項 3に係る周波数センサは、ゲートに入力クロック信号が入力さ れソースが第 1の電源電位に接続された第 1導電型の第 1の MOSトランジスタと、ゲー トに入力クロック信号が入力されソースが第 2の電源電位に接続された第 2導電型の 第 2の MOSトランジスタと、前記第 1および第 2の MOSトランジスタのドレイン間に接続 された抵抗と、前記第 2の MOSトランジスタのドレインと前記第 2の電源電位との間に 接続された容量とを備え、前記容量と前記抵抗との接続ノードの端子信号によって 前記入力クロック信号の周波数を検出することを特徴とするものである。
[0017] 本発明の請求項 3に係る周波数センサは、上述のように構成することで、入力クロッ ク信号のみでその周波数の検知が可能となる。
[0018] また、本発明の請求項 4に係る周波数センサは、請求項 3に記載の周波数センサに おいて、入力が前記容量と前記抵抗との接続ノードに接続されたインバータと、ゲー トが前記インバータの出力に、ドレインが前記インバータの入力に、ソースが前記第 2 の電源電位にそれぞれ接続された第 2導電型の第 3の MOSトランジスタとをさらに備 え、前記容量と前記抵抗との接続ノードの端子信号に代えて前記インバータの出力 信号によって前記入力クロック信号の周波数を検出することを特徴とするものである。
[0019] 本発明の請求項 4に係る周波数センサは、上述のように構成することで、インバータ と第 3の MOSトランジスタとが容量と抵抗との接続ノードの端子信号の変化を加速す るので、周波数の検知に要する時間の短縮が可能となる。
[0020] また、本発明の請求項 5に係る周波数センサは、請求項 1または 3に記載の周波数 センサにおいて、前記抵抗に代えて、抵抗を有効にするか無効にするかを切り替え るスィッチを有するスィッチ付き抵抗を有する抵抗ブロックを設けたことを特徴とするも のである。
[0021] 本発明の請求項 5に係る周波数センサは、上述のように構成することで、抵抗値の 調節が可能となり、時定数の変更が容易に可能となる。
[0022] また、本発明の請求項 6に係る周波数センサは、請求項 1または 3に記載の周波数 センサにおいて、前記容量に代えて、容量を有効にするか無効にするかを切り替え るスィッチを有するスィッチ付き容量を有する容量ブロックを設けたことを特徴とするも のである。
[0023] 本発明の請求項 6に係る周波数センサは、上述のように構成することで、容量の調 節が可能となり、時定数の変更が容易に可能となる。
[0024] また、本発明の請求項 7に係る周波数センサは、請求項 5に記載の周波数センサに ぉ ヽて、前記スィッチはヒューズから構成されることを特徴とするものである。
[0025] 本発明の請求項 7に係る周波数センサは、上述のように構成することで、所要の時 定数を実現するためのスィッチの設定を、ヒューズを切断することで固定できる。 [0026] また、本発明の請求項 8に係る周波数センサは、請求項 6に記載の周波数センサに ぉ ヽて、前記スィッチはヒューズから構成されることを特徴とするものである。
[0027] 本発明の請求項 8に係る周波数センサは、上述のように構成することで、所要の時 定数を実現するためのスィッチの設定を、ヒューズを切断することで固定できる。
[0028] また、本発明の請求項 9に係る周波数センサは、請求項 5に記載の周波数センサに おいて、前記スィッチは、不揮発性メモリに格納されたデータによって ON/OFFが設 定されることを特徴とするものである。
[0029] 本発明の請求項 9に係る周波数センサは、上述のように構成することで、所要の時 定数を実現するためのスィッチの設定を、データを変更することで容易に変更できる
[0030] また、本発明の請求項 10に係る周波数センサは、請求項 6に記載の周波数センサ において、前記スィッチは、不揮発性メモリに格納されたデータによって ON/OFFが 設定されることを特徴とするものである。
[0031] 本発明の請求項 10に係る周波数センサは、上述のように構成することで、所要の 時定数を実現するためのスィッチの設定を、データを変更することで容易に変更でき る。
[0032] また、本発明の請求項 11に係る周波数センサは、請求項 1または 3に記載の周波 数センサを 2つ備え、一方の周波数センサには前記クロック信号力 他方の周波数セ ンサには前記クロック信号の反転信号力 それぞれ入力されることを特徴とするもの である。
[0033] 本発明の請求項 11に係る周波数センサは、上述のように構成することで、前記クロ ック信号の High期間および Low期間がともに許容範囲より高い周波数である旨、もし くは低 、周波数である旨を検出することが可能となる。
[0034] また、本発明の請求項 12に係る周波数センサは、請求項 1または 3に記載の周波 数センサにおいて、当該周波数センサが正常動作する力否かを検査する自己診断 部を備えたことを特徴とするものである。
[0035] 本発明の請求項 12に係る周波数センサは、上述のように構成することで、周波数 センサが正常動作して 、るか否かを自己診断することが可能となる。 [0036] また、本発明の請求項 13に係る周波数センサは、請求項 12記載の周波数センサ において、前記自己診断部は、前記入力クロック信号から高周波を発生する高周波 発生回路と、前記周波数センサに入力する信号を、前記入力クロック信号と前記高 周波発生回路から出力される高周波クロック信号との間で切り替える切り替え部と、 前記周波数センサの検知信号を検出して前記周波数センサが正常動作するか否か を判定する判定回路とを有することを特徴とするものである。
[0037] 本発明の請求項 13に係る周波数センサは、上述のように構成することで、自己診 断部内部で高周波信号を発生し、周波数センサが正常動作しているか否かを自己 診断することが可能となる。
[0038] また、本発明の請求項 14に係る周波数センサは、請求項 12に記載の周波数セン サにおいて、前記自己診断部は、前記入力クロック信号から低周波を発生する低周 波発生回路と、前記周波数センサに入力する信号を、前記入力クロック信号と前記 低周波発生回路から出力される低周波クロック信号との間で切り替える切り替え部と
、前記周波数センサの検知信号を検出して前記周波数センサが正常動作する力否 かを判定する判定回路とを有することを特徴とするものである。
[0039] 本発明の請求項 14に係る周波数センサは、上述のように構成することで、自己診 断部内部で低周波信号を発生し、周波数センサが正常動作しているか否かを自己 診断することが可能となる。
[0040] また、本発明の請求項 15に係る半導体装置は、請求項 1または 3に記載の周波数 センサと、前記入力クロック信号が入力され、前記周波数センサの検知信号に応じて 動作が制御される半導体装置本体とを備えたことを特徴とするものである。
[0041] 本発明の請求項 15に係る半導体装置は、上述のように構成することで、半導体装 置に入力されるクロック信号の周波数を検知することが可能となる。
[0042] また、本発明の請求項 16に係る半導体装置は、請求項 15に記載の半導体装置に おいて、前記半導体装置本体は、前記検知信号によりリセットされることを特徴とする ものである。
[0043] 本発明の請求項 16に係る半導体装置は、上述のように構成することで、半導体装 置に入力されるクロック信号が許容周波数から外れた場合に、自動的にリセットがか かり、セキュリティを高めることが可能となる。
[0044] また、本発明の請求項 17に係る半導体装置は、請求項 15に記載の半導体装置に おいて、前記半導体装置本体は、前記検知信号により動作を停止することを特徴と するものである。
[0045] 本発明の請求項 17に係る半導体装置は、上述のように構成することで、半導体装 置に入力されるクロック信号が許容周波数から外れた場合に、自動的に動作を停止 し、セキュリティを高めることが可能となる。
[0046] また、本発明の請求項 18に係る半導体装置は、請求項 15に記載の半導体装置に おいて、前記半導体装置本体は、前記検知信号により、記憶している機密を要する データを消去あるいは破壊することを特徴とするものである。
[0047] 本発明の請求項 18に係る半導体装置は、上述のように構成することで、半導体装 置に入力されるクロック信号が許容周波数から外れた場合に、自動的に機密を要す るデータを消去あるいは破壊し、セキュリティを高めることが可能となる。
発明の効果
[0048] 本発明の周波数センサは、上記構成によって、回路規模の小さい周波数センサを 実現することが可能となる。
また、時定数を製造後に切り替えることができるスィッチを設けることで、製造バラッ キの少ない周波数センサおよび半導体装置を提供することが可能となる。
さらに、周波数センサ自身が正常に動作する力否かの自己診断回路を設けること で、信頼性の高 、周波数センサおよび半導体装置を提供することが可能となる。 図面の簡単な説明
[0049] [図 1]図 1は、本発明の実施例 1に係る周波数センサを有する半導体装置を示す図で ある。
[図 2]図 2は、本発明の実施例 1に係る周波数センサの信号タイミングを示す図である
[図 3]図 3は、本発明の実施例 2に係る周波数センサを有する半導体装置を示す図で ある。
[図 4]図 4は、本発明の実施例 2に係る周波数センサの信号タイミングを示す図である 圆 5(a)]図 5 (a)は、本発明の実施例 3に係る周波数センサを有する半導体装置を示 す図である。
圆 5(b)]図 5 (b)は、本発明の実施例 3に係る周波数センサを有する半導体装置を示 す図である。
[図 6]図 6は、本発明の実施例 3に係る周波数センサの抵抗ブロックを説明する図で ある。
[図 7]図 7は、本発明の実施例 3に係る周波数センサの容量ブロックを説明する図で ある。
[図 8]図 8は、本発明の実施例 4に係る周波数センサの抵抗ブロックを説明する図で ある。
[図 9]図 9は、本発明の実施例 4に係る周波数センサの容量ブロックを説明する図で ある。
[図 10]図 10は、本発明の実施例 5に係る周波数センサの抵抗ブロックを説明する図 である。
[図 11]図 11は、本発明の実施例 5に係る周波数センサの容量ブロックを説明する図 である。
[図 12(a)]図 12 (a)は、本発明の実施例 6に係る周波数センサを有する半導体装置を 示す図である。
圆 12(b)]図 12 (b)は、本発明の実施例 6に係る周波数センサを有する半導体装置を 示す図である。
[図 13]図 13は、本発明の実施例 7に係る周波数センサを示す図である。
[図 14]図 14は、本発明の実施例 7に係る周波数センサの信号タイミングを示す図で ある。
[図 15]図 15は、本発明の実施例 8に係る周波数センサを示す図である。
[図 16]図 16は、本発明の実施例 8に係る周波数センサの信号タイミングを示す図で ある。
[図 17]図 17は、従来の周波数センサを示す図である。 [図 18]図 18は、従来の周波数センサの信号タイミングを示す図である, 符号の説明
11 クロック信号入力端子
12 高周波数検知信号出力端子
13 抵抗素子
14 容量
15 インバータ
16 Pチャネル型 MOSトランジスタ
17、 18 Nチャネル型 MOSトランジスタ
31 クロック信号入力端子
32 低周波数検知信号出力端子
33 抵抗素子
34 容量
35 インバータ
36 Pチャネル型 M〇Sトランジスタ
37、 38 Nチャネル型 MOSトランジスタ
39 インバータ
51 クロック信号入力端子
52 高周波数検知信号出力端子
53 抵抗ブロック
54 容量ブロック
55 インバータ
56 Pチャネル型 MOSトランジスタ
57、 58 Nチャネル型 MOSトランジスタ
100 半導体装置
100a 半導体装置本体
100b, 100c, 100d 周波数センサ
100x、 100y 結果判定回路 101a, 103b 不揮発性メモリ
102a、 103b デコーダ
103a, 103b, 103c,…ゝ 103n スィッチ切替信号 104a, 104b, 104c,…ゝ 104n スィッチ切替信号 121 クロック信号入力端子
122 インバータ
123 クロック反転信号
124 High側高周波数センサ
125 High側高周波数検知信号
126 Low側高周波数センサ
127 Low側高周波数検知信号
128 NANDゲート
129 高周波数検知信号出力端子
130 セノレフテスト回路
130a 高周波数発生回路
131 クロック信号入力端子
132 遅延回路
133、 135 インバータ
134 NANDゲート
136 セルフテストモード信号入力端子
137 セレクタ
138 高周波数センサ
139 結果判定回路
1310 判定信号出力端子
144 High側低周波数センサ
146 Low側低周波数センサ
150 セノレフテスト回路
150a 低周波数発生回路 151 クロック信号入力端子
152 分周回路
153 セルフテストモード信号入力端子
154 セレクタ
155 低周波数センサ
156 結果判定回路
157 判定信号出力端子
200 コントローラ
300 半導体装置リーダ Zライタ
531、 5311a, 5311b, 5311c,…ゝ 5311η 抵抗素子 531a, 531b, 531c,…ゝ 531n スィッチ付き抵抗素子 5312a, 5312b, 5312c, · · ·、 5312η スィッチ 5411a、 5411b、 5411c、 · · ·、 5411η 容量
541a, 541b, 541c,…ゝ 541n スィッチ付き容量 5412a, 5412b, 5412c,…ゝ 5412η スィッチ
532、 5321a, 5321b, 5321c,…ゝ 5321η 抵抗素子 532a, 532b, 532c, · · ·, 532n ヒューズ付き抵抗素子 5422a, 5422b, 5422c,…ゝ 5422η ヒューズ 542a, 542b, 542c,…ゝ 542n ヒューズ付き容量 5421a、 5421b、 5421c、 · · ·、 5421η 容量
533、 5331a, 5331b, 5331c…ゝ 5331η 抵抗素子 533a, 533b, 533c…ゝ 533n スィッチ付き抵抗素子 5332a, 5332b, 5332c- - - , 5332η スィッチ
543、 5431a, 5431b, 5431c…ゝ 5431η 容量 543a, 543b, 543c…ゝ 543n スィッチ付き容量 5432a、 5432b、 5432。· ·、 5432η スィッチ
CLK クロック信号
VDD 電源電圧 GND 接地電圧
OUT1 高周波数検知信号
OUT2 低周波数検知信号
TEST セルフテストモード信号
RESULT 判定信号
171 エッジ検出回路
172 nビットカウンタ
173 状態記憶装置
174 基準クロック信号
175 クロック入力信号
176 エッジ検出出力信号
177 リセット信号
178 状態リセット信号
発明を実施するための最良の形態
[0051] 以下、本発明の実施の形態を、図面を参照しながら説明する。
実施例 1
[0052] 図 1は、本発明の実施例 1に係る周波数センサを内蔵した半導体装置を示す図で ある。
図において、半導体装置 100は、半導体装置本体 100a、周波数センサ 100b、お よび結果判定回路 ΙΟΟχを有する。
周波数センサ 100bは、抵抗素子 13、容量 14、インバータ 15、充電部あるいは第 1 導電型の第 1の MOSトランジスタとしての Pチャネル型 MOSトランジスタ 16、放電部あ るいは第 2導電型の第 2の MOSトランジスタとしての Nチャネル型 MOSトランジスタ 17 、第 2導電型の第 3の MOSトランジスタとしての Nチャネル型 MOSトランジスタ 18を有 する。
[0053] クロック信号入力端子 11は ICカード等のセキュリティが要求される半導体装置 100 にクロック信号 CLKを入力するためのものである。高周波数検知信号出力端子 12は この周波数センサ 100bからの高周波数検知信号 OUT1を出力するためのものであ る。結果判定回路 ΙΟΟχはこの高周波数検知信号 OUT1が半導体装置に本来の入 カクロック信号よりも高周波数のクロック信号が入力された旨を示す場合を判定し、半 導体装置本体 100aを制御するためのものである。
[0054] インバータ 15は出力側が高周波数検知信号出力端子 12に接続されている。容量 14は一端が接地されている。 Pチャネル型 MOSトランジスタ 16のドレイン、抵抗素子 13の一端、容量 14の他端、インバータ 15の入力側、および Nチャネル型 MOSトラン ジスタ 18のドレインは、容量の端子信号あるいは容量と抵抗との接続ノードとしての A 1点において互いに接続されている。また、 Pチャネル型 MOSトランジスタ 16はソース が第丄の電源電位としての電源電圧 VDD、ゲートがクロック信号入力端子 nに接続 されている。 Nチャネル型 MOSトランジスタ 17はソースが第 2の電源電位としての接 地電位 GNDに、ドレインが抵抗素子 13の他端に、ゲートがクロック信号入力端子 11 に接続されている。 Nチャネル型 MOSトランジスタ 18はソースが接地電位に、ゲート 力 Sインバータ15の出力側に接続されている。また、半導体装置本体 100aにはクロッ ク信号入力端子 11からのクロック信号 CLKが入力されて 、る。
[0055] 以上のように構成された本実施例 1による周波数センサについて、以下、その動作 を図 2のタイミングチャートを参照しながら説明する。
[0056] クロック入力信号 CLKが所定の状態である Lowになるとき、充電部として機能する P チャネル型 MOSトランジスタ 16は ON、放電部として機能する Nチャネル型 MOSトラン ジスタ 17は OFFし、容量 14が充電される。
[0057] クロック信号 CLKが所定の状態の反転状態である Highになると、充電部として機能 する Pチャネル型 MOSトランジスタ 16は OFF、放電部として機能する Nチャネル型 MOSトランジスタ 17は ONし、容量 14は放電する。このとき、 A1点の電位は VDD * ex p (-t/RC)に従って徐々に降下していく。但し、 Rは抵抗素子 13の値、 Cは容量 14 の値であり、 *は乗算を表わす。インバータ 15と Nチャネル型 MOSトランジスタ 18と は A1点の電位の降下を加速する。ここで許容された周波数に応じて下限レベル Lを 設定しておく。この設定は抵抗素子 13の値 R、および容量 14の値 Cを設定すること で可能である。
[0058] 図 2に示すように、クロック信号 11が許容された周波数である場合、 A1点の電位は 下限レベル Lを越えて低下し、これによつて、高周波数検知信号 OUT1は正常を示 す Highを出力する。許容された周波数より高い場合、 A1点の電位は下限レベルを越 えないため、異常を示す Lowが出力される。
[0059] また、この高周波数検知信号 OUT1として Lowが出力されると、結果判定回路 100
Xはこれを判定して半導体装置本体 100aのリセット,動作の停止,あるいは機密を要 するデータの消去や破壊を行う。
[0060] 以上のように、本実施例 1による周波数センサは、許容された周波数より高い場合 には、高周波数検知信号出力端子 12から異常を示す Lowを出力する。これによつて
、基準クロック信号を用いることなく許容範囲外の高周波数が入力されたことを検知 することが可能となる。
[0061] また、本実施例 1による半導体装置は、許容範囲外の高周波数のクロック信号が入 力されると、結果判定回路 ΙΟΟχによりこれを判定して半導体装置本体 100aのリセッ ト,動作の停止,あるいは機密を要するデータの消去や破壊を行うように構成してお くことにより、セキュリティの高い半導体装置を実現することが可能となる。
実施例 2
[0062] 図 3は、本発明の実施例 2に係る周波数センサを内蔵する半導体装置を示す図で ある。
図において、半導体装置 100は、半導体装置本体 100a、周波数センサ 100c、お よび結果判定回路 100yを有する。
[0063] この周波数センサ 100cは、図 1の周波数センサ 100bと同様の構成にインバータ 3 9を付カ卩したものである。即ち、周波数センサ 100cは、抵抗素子 33、容量 34、インバ ータ 35および 39、充電部あるいは第 1導電型の第 1の MOSトランジスタとして機能す る Pチャネル型 MOSトランジスタ 36、放電部ある 、は第 2導電型の第 2の MOSトランジ スタとして機能する Nチャネル型 MOSトランジスタ 37、第 2導電型の第 3の MOSトラン ジスタとして機能する Nチャネル型 MOSトランジスタ 38を有する。
[0064] クロック信号入力端子 31は ICカード等のセキュリティが要求される半導体装置 100 にクロック信号 CLKを入力するためのものである。低周波数検知信号出力端子 32は この周波数センサ 100cからの低周波数検知信号 OUT2を出力するためのものであ る。結果判定回路 100yはこの低周波数検知信号 OUT2が半導体装置に本来の入 カクロック信号よりも低周波数のクロック信号が入力された旨を示す場合を判定し、半 導体装置本体 100aを制御するためのものである。
[0065] インバータ 35は出力側がインバータ 39の入力側に接続されている。容量 34は一 端が接地されている。 Pチャネル型 MOSトランジスタ 36のドレイン、抵抗素子 33の一 端、容量 34の他端、インバータ 35の入力側、および Nチャネル型 MOSトランジスタ 3 8のドレインは、容量の端子信号あるいは容量と抵抗との接続ノードとしての A2点に おいて接続されている。また、 Pチャネル型 MOSトランジスタ 36はソースが第 1の電源 電位としての電源電圧 VDDに、ゲートがクロック信号入力端子 31に接続されている 。 Nチャネル型 MOSトランジスタ 37はソースが第 2の電源電位としての接地電位 GN Dに、ドレインが抵抗素子 33の他端に、ゲートがクロック信号入力端子 31に接続され ている。 Nチャネル型 MOSトランジスタ 38はソースが接地電位に、ゲートがインバータ 35の出力側に接続されている。さらに、インバータ 39は入力側がインバータ 35の出 力側に接続され、出力側が低周波数検知信号出力端子 32に接続されている。また、 半導体装置本体 100aにはクロック信号入力端子 31からのクロック信号 CLKが入力 されている。
[0066] 以上のように構成された本実施例 2による周波数センサについて、以下、その動作 を図 4のタイミングチャートを参照しながら説明する。
[0067] クロック入力信号 31が Lowのとき、充電部として機能する Pチャネル型 MOSトランジ スタ 36は ON、放電部として機能する Nチャネル型 MOSトランジスタ 37は OFFし、容 量 34が充電される。
[0068] クロック信号 31が Highになると、充電部として機能する Pチャネル型 MOSトランジス タ 36は OFF、放電部として機能する Nチャネル型 MOSトランジスタ 37は ONし、容量 3 4は放電する。このとき、 A2点の電位は VDD * exp (-tZRC)に従って徐々に降下し ていく。但し、 Rは抵抗素子 33の値、 Cは容量 34の値であり、 *は乗算を表わす。ィ ンバータ 35と Nチャネル型 MOSトランジスタ 38とはその降下を加速する。ここで許容 された周波数に応じて下限レベル Lを設定しておく。この設定は抵抗素子 33の値 R、 および容量 34の値 Cを設定することで可能である。 [0069] 図 4に示すように、クロック信号 31が許容された周波数である場合、 A2点は下限レ ベルを越える前に、クロック入力信号 31から Lowが入力されることによって、容量の充 電が開始される。このとき、低周波数検知信号 OUT2は正常を示す Highを出力する 。許容された周波数より低い場合、 A2点の電位は下限レベル Lを越えるため、異常 を示す Lowが出力される。
[0070] また、この低周波数検知信号 OUT2として Lowが出力されると、結果判定回路 100 yはこれを判定して、半導体装置本体 100aのリセット,動作の停止,あるいは機密を 要するデータの消去や破壊を行う。
[0071] 以上のように、本実施例 2による周波数センサは、許容された周波数より低い場合 には、低周波数検知信号出力端子 32から異常を示す Lowを出力する。これによつて 、基準クロック信号を用いることなく許容範囲外の低周波数が入力されたことを検知 することが可能となる。
[0072] また、本実施例 2による半導体装置は、許容範囲外の低周波数のクロック信号が入 力されると、結果判定回路 100yによりこれを判定して半導体装置本体のリセット,動 作の停止,あるいは機密を要するデータの消去や破壊を行うように構成しておくこと により、セキュリティの高い半導体装置を実現することが可能となる。
実施例 3
[0073] 図 5 (a) ,図 5 (b) ,図 6および図 7は、本発明の実施例 3に係る周波数センサを内蔵 する半導体装置を示す図である。
図において、半導体装置 100は、半導体装置本体 100a、周波数センサ 100dおよ び結果判定回路 ΙΟΟχを有する。
[0074] 周波数センサ 100dは図 1の周波数センサ 100bにおける抵抗素子 13および容量 1 4を抵抗ブロック 53および容量ブロック 54に置き換えたものに相当する。即ち、周波 数センサ 100dは、抵抗ブロック 53、容量ブロック 54、インバータ 55、充電部あるいは 第 1導電型の第 1の MOSトランジスタとして機能する Pチャネル型 MOSトランジスタ 56 、放電部あるいは第 2導電型の第 2の MOSトランジスタとして機能する Nチャネル型 MOSトランジスタ 57、第 2導電型の第 3の MOSトランジスタとして機能する Nチャネル 型 MOSトランジスタ 58を有する。 [0075] クロック信号入力端子 51は ICカード等のセキュリティが要求される半導体装置 100 にクロック信号 CLKを入力するためのものである。高周波数検知信号出力端子 52は この周波数センサ力もの高周波数検知信号 OUT1を出力するためのものである。結 果判定回路 ΙΟΟχはこの高周波数検知信号 OUT1が半導体装置に本来の入力クロ ック信号よりも高周波数のクロック信号が入力された旨を示す場合を判定し、半導体 装置本体 100aを制御するためのものである。
[0076] インバータ 55は出力側が高周波数検知信号出力端子 52に接続されている。容量 ブロック 54は一端が接地されている。 Pチャネル型 MOSトランジスタ 56のドレイン、抵 抗ブロック 53の一端、容量ブロック 54の他端、インバータ 55の入力側、および Pチヤ ネル型 MOSトランジスタ 58のドレインは、 A1点にお!/ヽて互 ヽに接続されて!、る。
[0077] また、 Pチャネル型 MOSトランジスタ 56はソースが第 1の電源電位としての電源電圧 VDDに、ゲートがクロック信号入力端子 51に接続されている。 Nチャネル型 MOSトラ ンジスタ 57はソースが第 2の電源電位としての接地電位 GNDに、ドレインが抵抗ブロ ック 53の他端に、ゲートがクロック信号入力端子 51に接続されている。 Nチャネル型 MOSトランジスタ 58はソースが接地電位に、ゲートがインバータ 55の出力側に接続さ れている。
[0078] 図 6は図 5 (a)における抵抗ブロック 53の構成図である。図において、抵抗ブロック 53は、抵抗素子 5311a, 5311b, 5311c, · ··, 531 Inの両端にスィッチ 5312a, 53 12b, 5312c, · ··, 5312n力それぞれ接続されたスィッチ付き抵抗素子 53 la, 531b , 531c, · ··, 53 Inと、スィッチを持たない抵抗素子 531とが互いに直列接続されて 構成されている。
[0079] 図 7は図 5 (a)における容量ブロック 54の構成図である。図において、容量ブロック 54は、容量 5411a, 5411b, 5411c, · ··, 541 Inとスィッチ 5412a, 5412b, 5412 c, · ··, 5412ηとをそれぞれ直列接続することで構成されたスィッチ付き容量 541a, 541b, 541c, · ··, 541ηを A1点と接地電位 GNDとの間に互いに並列接続すること で構成されている。
[0080] 以上のように構成された本実施例 3の周波数センサは、実施例 1, 2における抵抗 素子および容量を、上述のような構成を有する抵抗ブロックおよび容量ブロックに置 き換えたものに相当する。従って、その動作は実施例 1, 2と同様である。
[0081] 以下ではこの抵抗ブロックおよび容量ブロックの抵抗値および容量値の調整につ いて説明する。
[0082] 図 6におけるスィッチ付き抵抗素子 531a、 531b, 531c,…ゝ 531ηは、各抵抗素 子の両端に切断用のスィッチが接続されており、これを ON/OFFすることによって抵 抗の切断'接続の切替えが可能である。スィッチが ON状態で抵抗切断、 OFF状態で 抵抗接続となる。スィッチは個々に設定することが可能であり、また、抵抗素子はそれ ぞれ別々の抵抗値を持つことが可能である。これによつて、抵抗ブロック 53の抵抗値 調節が可能である。
[0083] 一例を示すと、スィッチ付き抵抗素子 53 laの抵抗値が 10k Ω、 531bの抵抗値が 5 k Q、 531c— 531ηまでの抵抗値が各々 4kQであり、すべてのスィッチが ON状態の 場合、全体の抵抗値を 15k Ω増やしたいときには、スィッチ付き抵抗素子 531aと 53 lbのスィッチを OFFすればよ!ヽ。
[0084] また、図 7におけるスィッチ付き容量 541a、 541b, 541c, · ··、 541ηは、各容量の 一端に切断用のスィッチが接続されており、これを ON/OFFすることによって容量の 切断'接続の切替えが可能である。スィッチが ON状態で容量接続、 OFF状態で容量 切断となる。スィッチは個々に設定することが可能であり、また、容量はそれぞれ別々 の値を持つことが可能である。これによつて、容量ブロック 54の容量調節が可能であ る。
[0085] 例えば、スィッチ付き容量 541aの容量が 15fF、 541bの容量が 20fF、 541c— 54 Inまでの容量が各々 40fFであり、すべてのスィッチが ON状態の場合、全体の容量 を 35fF減らしたいときには、スィッチ付き容量 541aと 541bのスィッチを OFFすれば よい。
[0086] 以上のように、本実施例 3の周波数センサは、抵抗ブロック 53内のスィッチ付き抵 抗素子 531a、 531b, 531c, · ··、 531η,および容量ブロック 54内のスィッチ付き容 量 541a、 541b, 541c, · ··、 541ηのスィッチを ON/OFF切替えすることによって、設 計後に時定数を調節できる。従って、実施例 1と同様の効果に加え、周波数センサ、 あるいはこれを内蔵する半導体装置の製造バラツキを抑えることが可能となる。 [0087] なお、図 5 (b)に示すように、実施例 2における抵抗素子および容量を抵抗ブロック および容量ブロックに置き換えるようにしてもょ 、。
[0088] この場合、図番が 70番台に変わっているだけで、実施例 2と同様の構成を有し、実 施例 2と同様の効果に加え、周波数センサ、およびこれを内蔵する半導体装置の製 造バラツキを抑えることが可能となる。
実施例 4
[0089] 図 8および図 9は、本発明の実施例 4に係る周波数センサにおける抵抗ブロック 53
、容量ブロック 54の構成図である。
図において、この抵抗ブロック 53および容量ブロック 54は図 6および図 7のスィッチ 付き抵抗素子およびスィッチ付き容量を、ヒューズ付き抵抗素子およびヒューズ付き 容量に置き換えたものに相当する。
[0090] 図 8にお!/ヽて、抵抗ブロック 53ίま、抵抗素子 5321a, 5321b, 5321c, · · ·, 5321η の両端にヒューズ 5322a, 5322b, 5322c, · · ·, 5322η力 ^それぞれ接続されたヒュ ーズ付き抵抗素子 532a, 532b, 532c, · · ·, 532ηと、ヒューズを持たな ヽ抵抗素子
532とが互 、に直列接続されて構成されて!、る。
[0091] また、図 9にお!/ヽて、容量ブロック 54ίま、容量 5421a, 5421b, 5421c, · · ·, 5421 nとヒューズ 5422a, 5422b, 5422c, · · ·, 5422ηとをそれぞれ直歹 lj接続することで 構成されたヒューズ付き容量 542a, 542b, 542c, · · ·, 542ηを、 A1点と接地電位 G
NDとの間に互 、に並列接続することで構成されて!、る。
[0092] 本実施例 4の周波数センサは、実施例 1, 2における抵抗素子および容量を、上述 のような構成を有する抵抗ブロックおよび容量ブロックに置き換えたものに相当する。 従って、その動作は実施例 1, 2と同様である。
[0093] 以下ではこの抵抗ブロックおよび容量ブロックの抵抗値および容量値の調整につ いて説明する。
[0094] 図 8におけるヒューズ付き抵抗素子 532a、 532b, 532c,…ゝ 532ηは、各抵抗素 子の両端にヒューズが接続されており、必要に応じてレーザカッターなどで切断する ことで抵抗接続が可能となる。ヒューズは個々に切断することが可能であり、また、抵 抗素子はそれぞれ別々の抵抗値を持つことが可能である。これによつて、抵抗ブロッ ク 53の抵抗調節が可能である。
[0095] 一例を示すと、ヒューズ付き抵抗素子 532aの抵抗値が 10k Ω、 532bの抵抗値が 5 k Q、 532c— 532ηまでの抵抗値が各々 4k Qであり、すべてのヒューズが接続状態 の場合、全体の抵抗値を 15k Ω増やしたいときには、ヒューズ付き抵抗素子 532aと 5 32bのヒューズを切断すればよ!、。
[0096] また、図 9におけるヒューズ付き容量 542a、 542b, 542c,…ゝ 542ηは、各容量の 一端にヒューズが接続されており、必要に応じてレーザカッターなどで切断することで 容量の切断が可能となる。ヒューズは個々に切断することが可能であり、また、容量は それぞれ別々の値を持つことが可能である。これによつて、容量ブロック 54の容量調 節が可能である。
[0097] 例えば、ヒューズ付き容量 542aの容量が 15fF、 542bの容量が 20fF、 542c— 54 2nまでの容量が各々 40fFであり、すべてのヒューズが接続状態の場合、全体の容 量を 35fF減らしたいときには、ヒューズ付き容量 542aと 542bのヒューズを切断すれ ばよい。
[0098] 以上のように、本実施例 4の周波数センサは、実施例 1, 2の効果に加え、時定数を 増やした ヽときにはヒューズ付き抵抗素子 532a、 532b, 532c,…ゝ 532ηのヒューズ を切断し、時定数を減らしたいときにはヒューズ付き容量 542a、 542b, 542c, · · ·、 5 42ηのヒューズを切断することによって、設計後に時定数を調節でき、周波数センサ あるいはこれを内蔵する半導体装置の製造バラツキを抑えることが可能となる。
実施例 5
[0099] 図 10および図 11は、本発明の実施例 5に係る周波数センサの抵抗ブロック 53およ び容量ブロック 54を示す図である。
同図において、実施例 3の周波数センサと同じ構成要素には同じ符号を付している 。この抵抗ブロック 53および容量ブロック 54は図 6および図 7のスィッチ付き抵抗素 子およびスィッチ付き容量におけるスィッチを、トランジスタによるスィッチに置き換え たものに相当する。
[0100] 図 10にお!/ヽて、抵抗ブロック 53ίま、抵抗素子 5331a, 5331b, 5331c, · · ·, 5331 nの両端に Nチャネル型 MOSトランジスタから構成されるスィッチ 5332a, 5332b, 5 332c, · · ·, 5332η力それぞれ接続されたスィッチ付き抵抗素子 533a, 533b, 533c , · · ·, 533ηと、スィッチを持たない抵抗素子 533とが互いに直列接続されて構成され て ヽる。また、これらスィッチ 5332a, 5332b, 5332c, · · ·, 5332ϋは不揮発' |4メモジ 101aに記憶されたデータをデコーダ 102aによりデコードした結果をゲートに入力す ることにより、そのオン,オフが制御される。
[0101] また、図 11にお!/ヽて、容量ブロック 54ίま、容量 5431a, 5431b, 5431c, · · ·, 543 Inとスィッチ 5432a, 5432b, 5432c, · · ·, 5432ηとをそれぞれ直歹 lj接続することで 構成されたスィッチ付き容量 543a, 543b, 543c, · · ·, 543ηを A 1点と接地電位 GN Dとの間に互いに並列接続することで構成されている。また、これらスィッチ 5432a, 5432b, 5432c, · · ·, 5432ηは不揮発性メモリ 101bに記憶されたデータをデコーダ 102bによりデコードした結果をゲートに入力することにより、そのオン,オフが制御さ れる。
[0102] 本実施例 5の周波数センサは、実施例 1, 2における抵抗素子および容量を、上述 のような構成を有する抵抗ブロックおよび容量ブロックに置き換えたものに相当する。 従って、その動作は実施例 1, 2と同様である。
[0103] 以下ではこの抵抗ブロックおよび容量ブロックの抵抗値および容量値の調整につ いて説明する。
[0104] まず、図 10におけるスィッチ付き抵抗素子 533a、 533b, 533c,…ゝ 533ηの各ス イッチを切替えるためのトリミングデータを予め求めておく。この値は周波数センサあ るいはこれが内蔵された半導体装置の製造後のバラツキを反映したものであり、これ を不揮発性メモリ 101aに格納しておく。このトリミングデータは、半導体装置のスター トアップルーチン等において不揮発性メモリ 101aから読み出されデコーダ 102aに転 送される。デコーダ 102a力らは、スィッチ切替信号 103a、 103b, 103c,…ゝ 103η が出力され、この信号が Highのときはスィッチが ON、 Lowのときはスィッチが OFFとな る。
[0105] これによつて、本発明の実施例 3と同様に抵抗値の調節が可能となる。また、図 11 における容量に関しても、同様の調節が可能となる。
[0106] 以上のように、本実施例 5の周波数センサは、実施例 1, 2の効果に加え、不揮発性 メモリ 101aおよび 101bにそれぞれ格納された、抵抗ブロック 53内のスィッチ付き抵 抗素子 533a、 533b, 533c,…ゝ 533η,および容量ブロック 54内のスィッチ付き容 量 543a、 543b, 543c,…ゝ 543ηのスィッチを切替えるトリミングデータによって、設 計後に時定数を調節でき、周波数センサあるいはこれを内蔵する半導体装置の製造 バラツキを抑えることが可能となる。
[0107] なお、本発明の実施例 5において、 Νチャネル型 MOSトランジスタに代えて Ρチヤネ ル型 MOSトランジスタを用いてもよい。この場合は、デコーダからのスィッチ切替信号 103a, 103b, 103c,…ゝ 103ηおよび 104a、 104b, 104c,…ゝ 104nを、 Νチヤネ ル型 MOSトランジスタの場合の反転信号とすることで、同様の動作が可能である。
[0108] また、 Nチャネル型 MOSトランジスタに代えて、 Nチャネル型 MOSトランジスタと Pチ ャネル型 MOSトランジスタとを並列に接続した双方向トランスファゲートを用いてもよ い。この場合は、 Nチャネル型 MOSトランジスタのゲートにはデコーダからのスィッチ 切替信号を、 Pチャネル型 MOSトランジスタにはこのスィッチ切替信号の反転信号を それぞれ入力することで、同様の動作が可能である。
実施例 6
[0109] 図 12 (a) ,図 12 (b)は、本発明の実施例 6に係る周波数センサを内蔵する半導体 装置を示す図である。
図 12 (a)において、半導体装置 100は、半導体装置本体 100a、周波数センサ 10 Ofおよび結果判定回路 ΙΟΟχを有する。
[0110] 周波数センサ 100fは、 High側高周波数センサ 124、 Low側高周波数センサ 126、 インバータ 122、 NANDゲート 128を有する。
[0111] クロック信号入力端子 121は ICカード等のセキュリティが要求される半導体装置 10 0にクロック信号 CLKを入力するためのものである。高周波数検知信号出力端子 12 9はこの周波数センサ 100eからの高周波数検知信号 OUT1を出力するためのもの である。クロック入力信号 CLKは High側高周波数センサ 124およびインバータ 122 に入力される。インバータ 122はクロック信号 CLKを反転したクロック反転信号 123を Low側高周波数センサ 126に出力する。 High側高周波数センサ 124は High側高周 波数検知信号 125を、 Low側高周波数センサ 126は Low側高周波数検知信号 127 をそれぞれ出力する。 NANDゲート 128は、 High側高周波数検知信号 125と Low側 高周波数検知信号 127との NANDを高周波数検知信号 OUT1として出力する。
[0112] 以上のように構成された本実施例 6の周波数センサについて、以下、その動作を説 明する。
[0113] High側高周波数センサ 124は、本発明の実施例 1の周波数センサ 100bと同様の 構成となっており、クロック入力信号 CLKの High期間が許容範囲より短い高周波数 の場合に High側高周波数検知信号 125から異常を示す Lowを出力する。
[0114] また、 Low側高周波数センサ 126の構成も本発明の実施例 1の周波数センサ 100b と同様の構成を有し、クロック反転信号 123が High期間、即ち、クロック信号 CLKの Low期間が許容範囲より短い高周波数の場合に、 Low側高周波数検知信号 127から 異常を示す Lowを出力する。
[0115] High側高周波数検知信号 125、または Low側高周波数検知信号 127のいずれか 力も異常を示す Lowが出力されると、 NANDゲート 128からは異常を示す Highが高周 波数検知信号 OUT1として出力される。
[0116] 以上のように、本実施例 6の周波数センサは、クロック信号 CLKの High期間、 Low 期間の両方の高周波数異常検知が可能となる。
[0117] また、本実施例 6の半導体装置は、この高周波数異常検知信号が出力されると、結 果判定回路 ΙΟΟχによりこれを判定して半導体装置本体のリセット,動作の停止,ある いは機密を要するデータの消去や破壊を行うように構成しておくことにより、セキユリ ティの高 、半導体装置を実現することが可能となる。
[0118] なお、図 12 (b)に示すように、 High側高周波数センサおよび Low側高周波数センサ をそれぞれ本発明の実施例 2の周波数センサ 100cと同様の構成である High側低周 波数センサ 144、 Low側低周波数センサ 146とすることで、クロック入力信号の High 期間、 Low期間の両方の低周波数異常検知が可能となる。
[0119] また、この図 12 (b)に示す半導体装置は、この低周波数異常検知信号が出力され ると、結果判定回路 100yによりこれを判定して半導体装置本体のリセット,動作の停 止,あるいは機密を要するデータの消去や破壊を行うように構成しておくことにより、 セキュリティの高い半導体装置を実現することが可能となる。 実施例 7
[0120] 図 13および図 14は、本発明の実施例 7に係る半導体装置を示す図である。
図 13において、半導体装置 100は、半導体装置 100a,高周波数センサ 138,セ ルフテスト回路 130およびコントローラ 200を有する。
[0121] 高周波数センサは実施例 1, 3, 5と同様の構成を有する。
セルフテスト回路 130は、高周波発生回路 130a、切り替え部としてのセレクタ 137
、および結果判定回路 139を有する。
[0122] 高周波発生回路 130aは、クロック信号入力端子 131から入力されるクロック信号 C
LKを遅延する遅延回路 132、遅延回路 132の出力信号を反転するインバータ 133
、インバータ 133の出力信号 C1とクロック信号 CLKとが入力される NANDゲート 134
、 NANDゲート 134の出力信号 XOUTを反転するインバータ 135とを有する。
[0123] セレクタ 137はセルフテストモード信号入力端子 136より入力されるセルフテストモ ード信号 TESTに応じて、クロック信号 CLKまたは高周波発生回路 130aの出力信号
OUTのいずれかを選択する。高周波数センサ 138はセレクタの出力信号 B1を入力と する。結果判定回路 139はその出力信号 RESULTを判定信号出力端子 1310およ び半導体装置本体 100aに出力する。
[0124] コントローラ 200は半導体装置本体 100aにより制御されるとともに、セルフテストモ ード信号 TESTを発生する。クロック信号 CLKは、半導体装置本体 100aおよびコント ローラ 200にも供給される。
[0125] 半導体装置リーダ Zライタ 300は半導体装置 100にクロック信号を供給するとともに
、半導体装置 100との間でデータのやりとりを行う。
[0126] 以上のように構成された本実施例 7の周波数センサについて、以下、その動作を説 明する。
[0127] セルフテストを実行するとき、コントローラ 200からセルフテストモード信号 TESTとし て Highが出力される。このとき、信号 OUTがセレクタ 137から出力される。ここで、信 号 OUTはクロック信号 CLKと、クロック信号 CLKを遅延処理させたのち反転した信 号 C1との論理積 XOUTの反転信号となる。この出力信号 OUTは、高周波数センサ 1 38の許容周波数よりも高周波数、即ち Highの期間が短い。このため、出力信号 OUT が高周波数センサ 138へ入力されると、センサ自身が正常動作するときは、結果判 定回路 139へ異常を示す信号を出力する。また、センサ自身が故障しているときは 正常を示す信号を出力する。これによつて、結果判定回路 139からは正常または異 常を示す判定信号 RESULTが出力される。
[0128] この時、コントローラ 200はセルフテストモード信号 TESTとして Highを出力した旨を 半導体装置本体 100aに通知し、半導体装置本体 100aはこれを結果判定回路 139 の異常である旨の出力信号とともに半導体装置リーダ/ライタ 300に通知する。上述 のように、テストモード状態における異常,正常はその逆を意味しているので、半導体 装置リーダ Zライタ 300は、半導体装置 100がセルフテスト状態であり、かつ異常で ある旨が結果判定回路 139より通知されているとき、この半導体装置 100の高周波 数センサ 138は正常である旨を、図示しない表示器等に文字表示を行うこと等で通 知する。逆にセルフテスト状態において結果判定回路 139が正常である旨を出力す る場合、半導体装置リーダ/ライタ 300は、高周波数センサ 138が故障している旨を、 文字表示等で通知する。
[0129] また、セルフテストを実行しないときには、セルフテストモード信号 TESTとして Lowが 出力される。セレクタ 137からクロック信号 CLKが出力され、これによつて、通常動作 時に使用するクロック信号 CLKが高周波数センサ 138に入力され、それに応じた結 果が結果判定回路 139から出力される。
[0130] この場合、実施例 1で述べたように、通常動作時に高周波数センサ 138より結果判 定回路 139に異常を示す Lowが出力された場合、結果判定回路 139はこれを判定し 、半導体装置本体 100aにそのリセット,動作の停止,あるいはデータの消去や破壊 を行う制御信号を、その判定信号 RESULTとして出力する。
[0131] 以上のように、本実施例 7の周波数センサは、実施例 1, 3, 5の効果に加え、許可 された周波数より高い周波数を生成する遅延回路 132によって、高周波数センサ自 身が正常か故障かを自己診断することが可能となる。これによつて、信頼性の高い周 波数センサあるいはこれを内蔵する半導体装置を提供することができる。
実施例 8
[0132] 図 15および図 16は、本発明の実施例 8に係る周波数センサを示す図である。 この実施例 8における周波数センサは、実施例 7における高周波数センサ 138およ び高周波発生回路 130aに代えて、低周波数センサ 155および低周波発生回路 15 Oaを設けたものである。
[0133] 低周波数センサは実施例 2, 4, 6と同様の構成を有する。
分周回路 152は、低周波数センサ 155で検知されるようにクロック信号 151を分周 する。
[0134] この実施例 8のブロック構成は実施例 7と同様である。
以上のように構成された本実施例 8の周波数センサについて、以下、その動作を説 明する。
[0135] この実施例 8の動作も実施例 7の動作と同様である。即ち、セルフテストを実行する とき、コントローラ 200からセルフテストモード信号 TESTとして Highが出力される。この とき、分周回路 152によって分周されたクロック信号 CLKがセレクタ 154から出力され る。この出力信号は、低周波数センサ 155へ入力され、センサ自身が正常動作する ときは、結果判定回路 156へ異常を示す信号を出力する。また、センサ自身が故障 しているときは正常を示す信号を出力する。これによつて、結果判定回路 156からは 正常または異常を示す判定信号 RESULTが出力される。半導体装置本体 100aから のテストモードである旨の信号およびこの判定信号 RESULTにより、半導体装置リー ダ Zライタ 300は周波数センサが正常か故障力を表示する。
[0136] また、セルフテストを実行しないときには、セルフテストモード信号 TESTとして Lowが 出力され、セレクタ 154からクロック信号 CLKが出力される。これによつて、通常動作 時には使用するクロック信号が低周波数センサ 155に入力され、それに応じた結果 が結果判定回路 156から出力される。
[0137] この場合、実施例 2で述べたように、通常動作時に低周波数センサ 155より結果判 定回路 156に異常を示す Lowが出力された場合、結果判定回路 156はこれを判定し て、半導体装置本体 100aにそのリセット,動作の停止,あるいはデータの消去や破 壊を行う制御信号を、その判定信号 RESULTとして出力する。
[0138] 以上のように、本実施例 8の周波数センサは、実施例 2, 4, 6の効果に加え、許可 された周波数より低い周波数を生成する分周回路 152によって、低周波数センサ自 身が正常か故障かを自己診断することが可能となる。これによつて、信頼性の高い周 波数センサあるいはこれを内蔵する半導体装置を提供することができる。
[0139] なお、上記実施例 1ないし 3では、第 2導電型の第 3の MOSトランジスタおよびイン バータにより A1点および A2点の電位の変化を加速するようにした力 これら第 2導 電型の第 3の MOSトランジスタおよびインバータを省略することも可能である。
[0140] また、上記実施例 3な 、し 5では、抵抗ブロックはスィッチ付き抵抗素子を互いに直 列接続し、容量ブロックはスィッチ付き容量を互いに並列接続したものを示した力 こ れら以外の回路網により構成してもよい。
[0141] さらに、上記実施例 1ないし 8では、周波数センサと半導体装置本体とに入力クロッ ク信号を直接供給するようにしたが、消費電力の増加が目立たない範囲であれば、
V、ずれか一方あるいは両方に、入力クロック信号を周波数遁倍あるいは分周したもの を人力するようにしてもよ 、。
[0142] また、上記実施例 1ないし 8では、半導体装置に周波数センサを内蔵するものとした 力 周波数センサは外付けとしてもよい。
[0143] さらに、上記実施例 1ないし 8では、半導体装置は ICカードや LSIであるとした力 記 憶あるいは書き込まれたデータに秘匿性が要求されるものであれば、これら以外の半 導体装置であってもよい。
[0144] また、上記実施例 5では抵抗ブロックと容量ブロックとは専用の不揮発性メモリおよ びデコーダによりそれぞれのスィッチ切替信号を発生するようにした力 S、これらは共通 の不揮発性メモリおよびデコーダにより発生するようにしてもよい。
[0145] また、これら不揮発性メモリおよびデコーダは半導体装置本体内,周波数センサ内
,セルフテスト回路内のいずれに搭載してもよぐ半導体装置リーダ Zライタ等、半導 体装置外に搭載してもよい。
[0146] さらに、上記実施例 7および 8では、セルフテスト回路内に高周波発生回路および 低周波発生回路の一方のみを設けたものを示したが、これらを共に設けるようにして ちょい。
[0147] また、高周波数発生回路や低周波数発生回路は上記実施例 7および 8に示した構 成以外の構成としてもよい。 [0148] また、上記実施例 7および 8では、コントローラ 200によりセルフテストモード信号 TESTを発生するようにした力 半導体装置本体 100a等、コントローラ 200以外の装 置によりこれを発生するようにしてもよ!、。
[0149] また、半導体装置と接続される外部装置の一例として半導体装置リーダ Zライタを 示したが、これは ATM, 自動改札機等、他の装置であってもよい。
[0150] また、上記実施例 1ないし 8では、クロック信号 CLK,セルフテストモード信号 TEST, 高周波数検知信号 OUTl,低周波数検知信号 OUT2,判定信号 RESULTの入力ある いは出力は端子を介して行うようにしたが、端子の代わりにノードを介して行うようにし てもよい。
[0151] また、これらの端子やノードは半導体装置の ICチップの周縁に設けたものであって もよいし、半導体装置を保護するパッケージ力も突出するように設けたピンであっても よい。
[0152] さらに、周波数センサを半導体装置内に設けたものを示したが、半導体装置の外 部に設けるようにしてもよい。
産業上の利用可能性
[0153] 以上のように、本発明に係る周波数センサおよび半導体装置は、 ICカードなどの機 密を要するデータのセキュリティを高める用途に好適である。

Claims

請求の範囲
[1] 入力クロック信号が所定の状態のときに、容量に充電する充電部と、
前記入力クロック信号が前記所定の状態の反転状態のときに、抵抗を介して前記 容量を放電する放電部とを備え、
前記容量の端子信号によって前記入力クロック信号の周波数を検出する、 ことを特徴とする周波数センサ。
[2] 請求項 1に記載の周波数センサにおいて、
前記充電部と前記放電部とは互いに反対導電型の MOSトランジスタ力 なる、 ことを特徴とする周波数センサ。
[3] ゲートに入力クロック信号が入力されソースが第 1の電源電位に接続された第 1導 電型の第 1の MOSトランジスタと、
ゲートに入力クロック信号が入力されソースが第 2の電源電位に接続された第 2導 電型の第 2の MOSトランジスタと、
前記第 1および第 2の MOSトランジスタのドレイン間に接続された抵抗と、 前記第 2の MOSトランジスタのドレインと前記第 2の電源電位との間に接続された容 量とを備え、
前記容量と前記抵抗との接続ノードの端子信号によって前記入力クロック信号の周 波数を検出する、
ことを特徴とする周波数センサ。
[4] 請求項 3に記載の周波数センサにおいて、
入力が前記容量と前記抵抗との接続ノードに接続されたインバータと、 ゲートが前記インバータの出力に、ドレインが前記インバータの入力に、ソースが前 記第 2の電源電位にそれぞれ接続された第 2導電型の第 3の MOSトランジスタとをさ らに備え、
前記容量と前記抵抗との接続ノードの端子信号に代えて前記インバータの出力信 号によって前記入力クロック信号の周波数を検出する、
ことを特徴とする周波数センサ。
[5] 請求項 1または 3に記載の周波数センサにおいて、 前記抵抗に代えて、抵抗を有効にするか無効にするかを切り替えるスィッチを有す るスィッチ付き抵抗を有する抵抗ブロックを設けた、
ことを特徴とする周波数センサ。
[6] 請求項 1または 3に記載の周波数センサにおいて、
前記容量に代えて、容量を有効にするか無効にするかを切り替えるスィッチを有す るスィッチ付き容量を有する容量ブロックを設けた、
ことを特徴とする周波数センサ。
[7] 請求項 5に記載の周波数センサにおいて、
前記スィッチはヒューズから構成される、
ことを特徴とする周波数センサ。
[8] 請求項 6に記載の周波数センサにおいて、
前記スィッチはヒューズから構成される、
ことを特徴とする周波数センサ。
[9] 請求項 5に記載の周波数センサにおいて、
前記スィッチは、不揮発性メモリに格納されたデータによって ON/OFFが設定され る、
ことを特徴とする周波数センサ。
[10] 請求項 6に記載の周波数センサにおいて、
前記スィッチは、不揮発性メモリに格納されたデータによって ON/OFFが設定され る、
ことを特徴とする周波数センサ。
[11] 請求項 1または 3に記載の周波数センサを 2つ備え、
一方の周波数センサには前記クロック信号が、他方の周波数センサには前記クロッ ク信号の反転信号が、それぞれ入力される、
ことを特徴とする周波数センサ。
[12] 請求項 1または 3に記載の周波数センサにおいて、
当該周波数センサが正常動作する力否かを検査する自己診断部を備えた、 ことを特徴とする周波数センサ。
[13] 請求項 12記載の周波数センサにおいて、
前記自己診断部は、
前記入力クロック信号から高周波を発生する高周波発生回路と、
前記周波数センサに入力する信号を、前記入力クロック信号と前記高周波発生回 路から出力される高周波クロック信号との間で切り替える切り替え部と、
前記周波数センサの検知信号を検出して前記周波数センサが正常動作する力否 かを判定する判定回路とを有する、
ことを特徴とする周波数センサ。
[14] 請求項 12に記載の周波数センサにおいて、
前記自己診断部は、
前記入力クロック信号から低周波を発生する低周波発生回路と、
前記周波数センサに入力する信号を、前記入力クロック信号と前記低周波発生回 路から出力される低周波クロック信号との間で切り替える切り替え部と、
前記周波数センサの検知信号を検出して前記周波数センサが正常動作する力否 かを判定する判定回路とを有する、
ことを特徴とする周波数センサ。
[15] 請求項 1または 3に記載の周波数センサと、
前記入力クロック信号が入力され、前記周波数センサの検知信号に応じて動作が 制御される半導体装置本体とを備えた、
ことを特徴とする半導体装置。
[16] 請求項 15に記載の半導体装置において、
前記半導体装置本体は、前記検知信号によりリセットされる、
ことを特徴とする半導体装置。
[17] 請求項 15に記載の半導体装置において、
前記半導体装置本体は、前記検知信号により動作を停止する、
ことを特徴とする半導体装置。
[18] 請求項 15に記載の半導体装置において、
前記半導体装置本体は、前記検知信号により、記憶している機密を要するデータ を消去あるいは破壊する、 ことを特徴とする半導体装置。
PCT/JP2004/018146 2004-03-09 2004-12-06 周波数センサおよび半導体装置 WO2005085882A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US10/592,427 US7504865B2 (en) 2004-03-09 2004-12-06 Frequency sensor and semiconductor device
JP2006510613A JPWO2005085882A1 (ja) 2004-03-09 2004-12-06 周波数センサおよび半導体装置
EP04821716A EP1734371A4 (en) 2004-03-09 2004-12-06 FREQUENCY SENSOR AND SEMICONDUCTOR DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004066055 2004-03-09
JP2004-066055 2004-03-09

Publications (1)

Publication Number Publication Date
WO2005085882A1 true WO2005085882A1 (ja) 2005-09-15

Family

ID=34918297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/018146 WO2005085882A1 (ja) 2004-03-09 2004-12-06 周波数センサおよび半導体装置

Country Status (5)

Country Link
US (1) US7504865B2 (ja)
EP (1) EP1734371A4 (ja)
JP (1) JPWO2005085882A1 (ja)
CN (1) CN100454027C (ja)
WO (1) WO2005085882A1 (ja)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2052270B1 (en) * 2006-08-08 2010-03-24 Freescale Semiconductor, Inc. Real time clock monitoring method and system
JP2010038780A (ja) * 2008-08-06 2010-02-18 Sanyo Electric Co Ltd 周波数検出回路
US8320403B2 (en) 2010-06-29 2012-11-27 Excelitas Canada, Inc. Multiplexed sensor array
CN115334264B (zh) * 2022-08-17 2024-04-09 中国电子科技集团公司第四十四研究所 Cmos图像传感器片上时钟产生电路、模块及方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6372217A (ja) * 1986-09-12 1988-04-01 Nec Corp 制御信号発生回路
JPS63233378A (ja) * 1987-03-20 1988-09-29 Nippon Signal Co Ltd:The 故障検出装置
JPH01255044A (ja) * 1988-04-05 1989-10-11 Sanyo Electric Co Ltd マイクロプロセッサの暴走保護方式
JPH0755823A (ja) * 1993-08-19 1995-03-03 Juki Corp 周波数−電圧変換回路
JP2004054904A (ja) * 2002-05-31 2004-02-19 Hitachi Ltd メモリカード、システム、半導体処理装置および不揮発性メモリ装置

Family Cites Families (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02197980A (ja) * 1989-01-27 1990-08-06 Matsushita Electric Ind Co Ltd Icカードリードライト装置とicカード装置
US5486778A (en) * 1993-03-10 1996-01-23 Brooktree Corporation Input buffer for translating TTL levels to CMOS levels
JPH07140242A (ja) * 1993-11-15 1995-06-02 Matsushita Electric Works Ltd 超音波センサ
JP3256616B2 (ja) * 1993-12-22 2002-02-12 株式会社東芝 原子炉の安全保護装置
US5477180A (en) * 1994-10-11 1995-12-19 At&T Global Information Solutions Company Circuit and method for generating a clock signal
US5619155A (en) 1995-06-02 1997-04-08 United Microelectronics Corporation IC-chip operation inhibitor
JPH09126604A (ja) * 1995-10-31 1997-05-16 Mitsubishi Electric Corp 空気調和装置の制御装置
JPH09186577A (ja) * 1996-01-05 1997-07-15 Kawasaki Steel Corp 出力バッファ回路
TW364199B (en) * 1996-09-25 1999-07-11 Matsushita Electric Ind Co Ltd Frequency-voltage transfer circuit, delay decision circuit, power managing system, method for adjusting the input/output characters of the frequency-voltage transfer circuit and device for automatic adjustment
JPH10123171A (ja) * 1996-10-18 1998-05-15 Hokuriku Electric Ind Co Ltd 三軸加速度センサの診断方法及び三軸加速度センサの自己診断装置
JPH10288635A (ja) * 1997-04-16 1998-10-27 Nec Ic Microcomput Syst Ltd 周波数検出回路
JPH1114663A (ja) * 1997-06-27 1999-01-22 Mitsubishi Electric Corp 物理量センサ
JPH1127116A (ja) * 1997-07-02 1999-01-29 Tadahiro Omi 半導体集積回路、電圧コントロールディレイライン、ディレイロックドループ、自己同期パイプライン式デジタルシステム、電圧制御発振器、およびフェーズロックドループ
JP3572893B2 (ja) * 1997-09-29 2004-10-06 三菱電機株式会社 路側通信装置
IT1296427B1 (it) * 1997-11-14 1999-06-25 Sgs Thomson Microelectronics Circuito di ingresso bus-hold in grado di ricevere segnali di ingresso con livelli di tensione superiori alla propria tensione di
JP4178658B2 (ja) * 1998-06-30 2008-11-12 株式会社デンソー 容量式物理量検出装置
JP2000295098A (ja) * 1999-04-06 2000-10-20 Oki Electric Ind Co Ltd フェーズロックループ回路
JP2001027648A (ja) * 1999-07-13 2001-01-30 Matsushita Electric Ind Co Ltd 加速度センサ
JP3691310B2 (ja) * 1999-10-21 2005-09-07 富士通株式会社 周波数測定回路
JP2001196851A (ja) * 2000-01-11 2001-07-19 Fuji Electric Co Ltd クロック発振停止検出回路
EP1136830A1 (de) 2000-03-22 2001-09-26 Infineon Technologies AG Frequenzsensor für digitale Signale und Verfahren zur Frequenzüberwachung eines digitalen Signales
JP2002043906A (ja) * 2000-07-24 2002-02-08 Oki Electric Ind Co Ltd 発振停止検出回路
JP2002055130A (ja) * 2000-08-14 2002-02-20 Nec Microsystems Ltd 周波数判定回路、データ処理装置
JP4620852B2 (ja) * 2000-10-02 2011-01-26 大日本印刷株式会社 Icチップ
JP2002152019A (ja) * 2000-11-13 2002-05-24 Nec Eng Ltd クロック断検出回路
JP3466151B2 (ja) * 2000-11-21 2003-11-10 沖電気工業株式会社 駆動回路
US6600328B2 (en) * 2001-08-22 2003-07-29 Hewlett-Packard Development Company, L.P. Analog method and circuit for monitoring digital events performance
JP2003188717A (ja) * 2001-12-17 2003-07-04 Citizen Watch Co Ltd 発振停止検出回路およびこれを用いた電子時計
JP3935925B2 (ja) * 2002-03-04 2007-06-27 富士通株式会社 出力バッファ回路
JP2003264453A (ja) * 2002-03-12 2003-09-19 Citizen Watch Co Ltd クロック異常検出回路
US20030225962A1 (en) 2002-05-31 2003-12-04 Hitachi, Ltd. Memory card and memory card system
JP3957587B2 (ja) * 2002-08-02 2007-08-15 Necエンジニアリング株式会社 クロック断検出回路
US7183792B2 (en) * 2003-04-01 2007-02-27 Micron Technology, Inc. Method and system for detecting a mode of operation of an integrated circuit, and a memory device including same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6372217A (ja) * 1986-09-12 1988-04-01 Nec Corp 制御信号発生回路
JPS63233378A (ja) * 1987-03-20 1988-09-29 Nippon Signal Co Ltd:The 故障検出装置
JPH01255044A (ja) * 1988-04-05 1989-10-11 Sanyo Electric Co Ltd マイクロプロセッサの暴走保護方式
JPH0755823A (ja) * 1993-08-19 1995-03-03 Juki Corp 周波数−電圧変換回路
JP2004054904A (ja) * 2002-05-31 2004-02-19 Hitachi Ltd メモリカード、システム、半導体処理装置および不揮発性メモリ装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1734371A4 *

Also Published As

Publication number Publication date
JPWO2005085882A1 (ja) 2007-08-09
CN1926435A (zh) 2007-03-07
US7504865B2 (en) 2009-03-17
US20070194629A1 (en) 2007-08-23
EP1734371A1 (en) 2006-12-20
EP1734371A4 (en) 2011-01-26
CN100454027C (zh) 2009-01-21

Similar Documents

Publication Publication Date Title
EP1019910B1 (en) Selective power distribution circuit for an integrated circuit
KR100333026B1 (ko) 부분양호메모리집적회로로부터이용가능부분을효과적으로얻기위한방법
US7978549B2 (en) Fuse circuit and semiconductor memory device including the same
KR100415698B1 (ko) 앤티퓨즈수리용온칩프로그램전압발생기
US6320809B1 (en) Low voltage level power-up detection circuit
US8599635B2 (en) Fuse circuit and semiconductor memory device including the same
WO2005085882A1 (ja) 周波数センサおよび半導体装置
US11520658B2 (en) Non-volatile memory on chip
KR100791075B1 (ko) 파워 업 리셋 회로 및 이를 구비한 반도체 장치
US20200285780A1 (en) Cross domain voltage glitch detection circuit for enhancing chip security
US5793224A (en) Voltage generator for antifuse programming
US20130062605A1 (en) Semiconductor chip
USRE38154E1 (en) Method and circuit for detecting a fault in a clock signal for microprocessor electronic devices including memory elements
KR20140085012A (ko) 반도체 집적회로 및 그의 구동방법
US6654300B2 (en) Semiconductor memory device having internal circuit screening function
WO2003007309A1 (en) Zero static power fuse cell for integrated circuits
KR100543192B1 (ko) 프로그래머블 퓨즈 회로 및 그를 구비한 반도체메모리장치
KR100360792B1 (ko) 파워온리셋회로및이것을이용한제어장치
JP2000029546A (ja) 半導体集積回路装置
EP0800178B1 (en) Auto-saving circuit for programming set-up elements in non-volatile memory devices
KR20030049667A (ko) 퓨즈박스 내의 전류소모를 최소화한 반도체장치
JPH056700A (ja) Epromからの誤読データ検出回路
JPH09312573A (ja) デコーダ回路およびそのテスト方法
JPH0991990A (ja) メモリ回路

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2006510613

Country of ref document: JP

Ref document number: 200480042345.8

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 10592427

Country of ref document: US

Ref document number: 2007194629

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Ref document number: DE

WWE Wipo information: entry into national phase

Ref document number: 2004821716

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2004821716

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 10592427

Country of ref document: US