The present invention relates to integrated circuits operated using voltages that are a function of temperature, and temperature sensors suitable for use on integrated circuits.
In many integrated circuits, including memory devices, the memory array cells in the circuit behave in a manner that is affected by chip temperature. It is desirable to provide circuitry suitable for implementation on integrated circuits to provide temperature information, and use this information to adjust voltages and other references applied to circuits on the integrated circuit, including as operating voltages for the memory array.
To reduce the disadvantage of temperature effects on the memory operation, a temperature sensing component is provided on an integrated circuit memory system. The temperature sensing components are also suitable for other uses.
An integrated circuit is described which includes a memory and peripheral circuits used to automatically adjust operating voltages in dependence on output of a temperature sensor. The temperature sensor includes a reference circuit that generates a first reference with a first non-zero temperature coefficient and a second reference with a second temperature coefficient having a different magnitude than the first non-zero temperature coefficient, using first and second reference currents, wherein the second reference current can be a process-variation independent function of the first reference current, such as being proportional independent of process variation. A detector circuit on the integrated circuit, having temperature and process variation compensation, converts a difference between the first and second references into a digital signal indicating temperature on the integrated circuit.
An embodiment is described in which the detector comprises a timing generator including a circuit to pre-charge a capacitive node, and then discharge a voltage on the node, with a constant current, a comparator circuit that generates a first timing signal, when the voltage on the capacitive node matches the first reference, and generates a second timing signal when the voltage on the capacitive node matches the second reference, and a counter which counts a number of clock cycles of a clock signal between the first and second timing signals to produce the digital signal indicating temperature. An embodiment can include an oscillator that generates the clock signal having a clock period which is a function of the second reference current and the second reference. The oscillator can be a relaxation oscillator that alternately charges a capacitive node to a third reference having the second temperature coefficient, and discharges the capacitive node using a clock current having a magnitude proportional to the constant current.
An embodiment is described in which the detector includes a voltage divider to generate a set of comparator input voltages, the voltages in the set of comparator input voltages having magnitudes dependent on the second reference, and varying from a lower magnitude to a higher magnitude; and a set of comparators having parallel outputs, having first inputs having voltages set in dependence on the first reference and second inputs connected to respective comparator input voltages in the set of comparator input voltages. The parallel outputs of the set of comparators provide the digital signal indicating temperature.
A circuit is described herein that couples a temperature sensor output to peripheral circuits, a memory array, or both. With the temperature information, voltage bias and current bias can be applied in the peripheral circuits, memory array, or both that can compensate for or reduce the temperature effects on memory operations.
Other aspects and advantages of the present invention can be seen on review of the drawings, the detailed description and the claims, which follow.
A detailed description of embodiments of the present invention is provided with reference to the
Peripheral circuits for array like that of
In operation, a NAND flash array like that of
Peripheral circuits as described herein are designed to automatically adjust a word line voltage read level 30 according to temperature so as to maintain read margin across the range of temperature for which the device is specified to operate. In a similar manner, the peripheral circuits can be configured to adjust other voltages in the array in order to maintain effective operation across the specified temperature range for a variety of memory operations, including program, erase, and read operations.
For the purposes of this description, a voltage is proportional to absolute temperature across the temperature range of the output of the temperature sensor. Likewise, a voltage has zero temperature coefficient across the temperature range of the output of the temperature sensor.
The inputs to the reference generator 50 include an enable signal EN and optionally a control signal TRIM that can be used to adjust components of the reference generator 50.
The outputs of the reference generator are applied to a detector stage 51, which includes an oscillator 52 in this example. The detector stage 51 reduces an output clock TCLK, a first timing signal VPTATD that indicates the timing of which the first reference voltage VPTAT crosses a threshold which is a function of VREF, and a second timing signal VZTCD which indicates the timing of which the second reference voltage VZTC crosses the threshold which is a function of VREF. The clock TCLK, the first timing signal VPTATD and second timing signal VZTCD are applied to a counter 53. The output of the counter 53 is a digital signal indicating the temperature of the integrated circuit at the temperature sensor
The counter 53 is enabled by the toggling of the timing signal VPTATD and counts up at a constant rate in response to the clock TCLK. The counter is stopped by the toggling of the timing signal VZTCD after interval of time ΔT, which is a function of ΔV. The output of the counter is applied as a digital signal indicating temperature.
The circuit includes a p-channel MOS transistor 150 connected between a supply terminal such as VDD, and node 151. The gate of transistor 150 is connected to an enable signal ENB active low in this example. When the enable signal ENB is low, power is applied to node 151 to drive the reference circuit.
P-channel MOS transistor 100 has one terminal connected to node 151, and a second terminal connected to n-channel MOS transistor 101. The gate and the drain of transistor 101 are connected together.
Transistor 101 has a second terminal connected to a resistor R1, which is in turn connected to bipolar transistor 102. Bipolar transistor 102 has its base connected to its collector, and its emitter connected to the reference VSS. A reference node VSS is typically connected to a DC ground. In other embodiments the reference node can be connected to AC ground or other DC voltage reference.
P-channel MOS transistor 103 has one terminal connected to node 151, and a second terminal connected to n-channel MOS transistor 104. The gate of transistor 104 is connected to the gate of transistor 103. Transistor 104 has a second terminal connected to a bipolar transistor 105. Bipolar transistor 105 has its base connected to its collector, and its emitter connected to the reference VSS. The gate of transistor 103 is connected to the drain of transistor 103, and to the gate of transistor 100. The bipolar transistors 102 and 105 have different sizes. In this example, transistor 102 has a base width that is four times that of transistor 105. Since transistors 100 and 103, and transistors 101 and 104 are connected in a current mirror relationship, the currents I1 and I2 through the transistors 102 and 105 are equal. Because the current densities are different, the base to emitter voltages VBE1 and VBE2 are also different. Therefore, the current I1 through transistor 102 is that current that generates a voltage drop across the resistor R1 that is equal to the difference between VBE1 and VBE2. This voltage drop should be proportional to absolute temperature.
The circuit includes p-channel MOS transistor 106 which is connected between node 151 and resistor R2. Transistor 106 has its gate connected to the gate of transistor 100 in a current mirror relationship. Resistor R2 is connected to a reference VSS. Because of the current mirror relationship, the current I3 through resistor R2 tracks the current I1, and generates the voltage VPTAT.
The circuit includes p-channel MOS transistor 107 connected between node 151, and a “+” input of an operational amplifier 109. Also, the input to the operational amplifier 109 is connected across resistor R3 and bipolar transistor 108 to VSS. Bipolar transistor 108 in this example is sized so that it is close to equal to the size of transistor 102, having a base four times the width of the base of transistor 105 in this example.
The circuit includes n-channel MOS transistor 110 connected between node 151, and a resistor R4. Resistor R4 is connected to a series combination of resistors R5 and R6, which are in turn connected to VSS. The node between resistor R4 and resistor R5 generates a voltage TMBG which is connected to the “−” input of the operational amplifier 109. The output of the operational amplifier drives the gate of transistor 110 in a manner that maintains the voltage VREF constant. A voltage having a zero temperature coefficient VZTC is provided at a node between resistors R5 and R6. The resistances of the transistors R5 and R6 can be tunable to set the desired level of the VZTC.
In this circuit, the following relationships are established:
I1=I2=I3=I4=(VBE2−VBE1)/R1=ΔVBE21/R1
VPTAT=I3*R2=ΔVBE21*(R2/R1)
TMBG=VBE3+I4*R3=VBE3+ΔVBE21*(R3/R1)=VBE3+(R3/R1)VT ln N
I5=TMBG/(R5+R6)
VREF=TMBG*(R4+R5+R6)/(R5+R6)
VZTC=TMBG*(R6/R5+R6)
As a result, the reference generator shown in
The circuit includes p-channel MOS transistor 200 connected in series with n-channel MOS transistor 201 between the node 251 and VSS. The gate of transistor 201 is connected to a bias voltage NBIAS. The drain and gate of transistor 200 are connected together.
The circuit includes p-channel MOS transistor 202 connected in series with n-channel MOS transistor 203 between the node 251 and VSS. The gate of transistor 202 is connected to the gate of transistor 200 in a current mirror fashion. The gate and drain of transistor 203 are connected together. The current I6 through transistor 201, and the current I7 through transistor 203 have magnitudes determined by the relative sizes of transistors 200 and 202. A voltage NB is produced of the gate of transistor 203.
The circuit includes an oscillator 260 which generates a clock signal TCLK. The inputs to the oscillator 260 illustrated in
The circuit in
The circuit includes capacitor 270 connected between the node between transistor 204 and transistor 205. The voltage VCOMP across the capacitor is applied to the “−” inputs of comparators 275 and 276. The “+” inputs of comparators 275 and 276 are connected to the voltages VPTAT and VZTC produced by the reference circuit of
The current IDISCH through transistor 206 is driven to be a function of the current I7 through transistor 203 as a result of the connection of the gate of transistor 205 to bias voltage NB at the gate transistor 203.
In operation, when the signal EN is low, the capacitor 270 is charged to VDD. When the enable signal EN switches high, the capacitor 270 is discharged by the constant current IDISCH.
The circuit includes p-channel MOS transistor 301, n-channel MOS transistor 302, and n-channel MOS transistor 303 connected in series between VDD and VSS. The gates of transistors 301 and 303 are connected to feedback signal ENXB, active low. The gate of transistor 302 is connected to the bias voltage NB, as a result of which a current IDIS_OSC is generated through transistor 303 that is a function of the constant current IDISCH.
A capacitor 304 has a first terminal connected to the node between transistors 301 and 302, and a second terminal connected to VSS. The voltage on the first terminal of the capacitor is connected to the “−” input of comparator 305. The “+” input of the comparator 305 is connected to the voltage VREF produced by the reference circuit of
The circuit includes p-channel MOS transistor 306, n-channel MOS transistor 307, and n-channel MOS transistor 308 connected in series between VDD and VSS. The gates of transistors 306 and 308 are connected to feedback signal ENYB, active low. The gate of transistor 307 is connected to the bias voltage NB, as a result of which a current IDIS_OSC is generated through transistor 308 that is a function of the constant current IDISCH. In this example, IDIS_OSC in transistor 303 is about equal to the current in transistor 308.
A capacitor 309 has a first terminal connected to the node between transistors 306 and 307, and a second terminal connected to VSS. The voltage on the first terminal of the capacitor is connected to the “−” input of comparator 310. The “+” input of the comparator 310 is connected to the voltage VREF produced by the reference circuit of
The second input to the NAND gate 320 is the output of the inverter 312. The output of the NAND gate 320 is connected as an input to NAND gate 321. The second input to the NAND gate 330 is the output of the inverter 311. The output of the NAND gate 330 is connected as an input to the NAND gate 331.
The second input of the NAND gate 321 is the output of NAND gate 331. The second input of the NAND gate 331 is the output of the NAND gate 321.
The output of NAND gate 321 is also applied as an input to NOR gate 322. The second input to the NOR gate 322 is the enable signal ENB. The output of NAND gate 331 is also applied as an input to NAND gate 332. The second input to the NAND gate 332 is the enable signal ENB.
The output of the NAND gate 332 is the feedback signal ENXB. The output of the NOR gate 322 is the feedback signal ENYB.
The output of the NAND gate 332 is applied to inverter 333, the output of which is the clock signal TCLK in this embodiment. The output of the NOR gate 322 is also applied to inverter 323, in this example, the output of which can be used as a complement clock, or for other purposes.
In operation, when ENXB is low, the relaxation oscillator charges capacitor 304 to VDD. When ENXB is high, the capacitor 304 is discharged by the current IDIS_OSC until it reaches the reference voltage VREF. This triggers the logic to toggle ENXB low, and ENYB high. When ENYB is low, the relaxation oscillator charges the capacitor 309 to VDD. When ENYB is high, the capacitor 309 is discharged by the current IDIS_OSC until it reaches the reference voltage VREF. This triggers the logic to toggle ENXB high and ENYB low. This cycle alternates to produce the clock signal TCLK.
In this embodiment, the discharge current generated in the oscillator in response to NB, and the discharge current IDISCH in transistor 206 can be proportional to one another. Thus, the ratio of change in temperature to the period of the clock signal TCLK will be independent of process variations, at least across process corners encountered in typical fabrication lines. So, process variations in process that affect the operation of the MOS transistors, the current and the capacitance to do not result in inaccurate temperature sensing.
In the circuit of
Also, the circuit includes a detector having temperature compensation based on the second reference, to convert a difference between the first and second references into a digital signal indicating temperature on the integrated circuit.
The circuit includes a p-channel MOS transistor 450 connected between the supply VDD and a node 451. The gate of the transistor 450 is connected to receive an enable signal ENB, active low, and applies power to node 451 when ENB is low.
The circuit includes p-channel MOS transistor 400 connected in series with n-channel MOS transistor 401 between node 451 and VSS. Also, the circuit includes p-channel MOS transistor 402 connected in series with n-channel MOS transistor 403 between node 451 and VSS. The gates of transistors 401 and 403 are connected together, and to the drain of transistor 403. Also, the gate of transistor 400 is connected to its drain, and to the drain of transistor 403.
The circuit includes p-channel MOS transistor 404 connected in series with p-channel MOS transistor 405, n-channel MOS transistor 406, resistor R1, and bipolar transistor 407 between the node 451 and VSS. Also, p-channel MOS transistor 410 is connected in series with p-channel MOS transistor 411, n-channel MOS transistor 412, and bipolar transistor 413. Bipolar transistor 407 has a base width four times greater than that of bipolar transistor 413 in this example. The gates of transistors 406 and 412 are connected together, and to the drain of transistor 412. The gates of transistors 405 and 411 are connected together. The gates of transistors 404 and 410 connected together, and to the node between transistors 405 and 406. A current I1 and a current I2 are generated as a function of the difference in VBE1 and VBE2 and the resistance R1.
A p-channel MOS transistor 414 is connected in series with p-channel MOS transistor 415 and resistor R2, between node 451 and VSS. The voltage VPTAT is generated at the node between transistor 415 and resistor R2.
A p-channel MOS transistor 416 is connected in series with p-channel MOS transistor 417, resistor R3, and bipolar transistor 418 between node 451 and VSS. The bipolar transistor 418 is sized with a base width equal to that of bipolar transistor 407 in this example. The voltage TMBGSRC is generated at the node between transistor 417, and the resistor R3. This node is connected as the “+” input to operational amplifier 420.
The circuit includes n-channel MOS transistor 421, connected in series with a tunable resistor divider R4 between node 451 and VSS. The node between resistor divider R4 and transistor 421, is also connected to the “−” input of operational amplifier 430. A voltage VREF is generated at a node in the resistor divider R4, which is applied as the “+” input to operational amplifier 430.
The circuit includes n-channel MOS transistor 431, connected in series with a resistor ladder, tunable resistor 432, and resistor R5 between node 451 and VSS. The resistor ladder includes resistors 450 to 459 connected in series between the transistor 431 and the tunable resistor 432, tapped with contacts between the resistors. The voltage VRFB on the node between resistor R5 and the tunable resistor 432 is fed back to the “−” input of the operational amplifier 430.
The tunable resistor 432 in the tunable resistor divider R4 can be trimmed for the purposes of calibration or other operating characteristics of the device.
The resistor ladder produces voltages VN3, VN2, VN1, V0, V1, . . . V7 at the taps between adjacent resistors in the series connected resistors 450 to 459, in this example as a function of the reference VREF which has a zero temperature coefficient. The circuit includes a set of comparators having inputs connected to respective ones of the voltages produced by the resistor ladder, and providing outputs HIN3, HIN2, HIN1, HI0, HI1, HI7 in this example. The “+” inputs of all of the comparators in the set of comparators receives the reference voltage VPTAT on line 433. In the illustrated example, the outputs HIN3, HIN2, HIN1, HI0, HI1, . . . HI7 are a digital signal indicating temperature, and are generated in parallel. The output HIN3 indicates that the voltage is greater than −30° for example. HIN2 indicates greater than −20°. HIN1 indicates greater than −10°. HI0 indicates greater than 0°, and so on until signal HI7 indicates a temperature greater than 70°.
In the circuit, the signal VPTAT will vary with temperature. The signals TMBGSRC, VBGFB, VREF, VN[3:1] and V[7:0] will have a zero temperature coefficient or otherwise lower temperature coefficient than VPTAT. The resistance ratio of the resistor ladder is adjusted so that the voltage VPTAT is equal to the data voltage at the corresponding temperatures.
In this circuit, assuming uniform transistor sizes in the mirror transistors, the following relationships are established:
I1=I2=I3=I4=(VBE2−VBE1)/R1=ΔVBE21/R1
VPTAT=I3*R2=ΔVBE21*(R2/R1)
TMBGSRC=VBE3+I4*R3=VRE3+ΔVBE21*(R3/R1)=VBE3+(R3/R1)VTlnN
I5=TMBGSRC/R4
I6=VREF/R5
The circuit shown in
While the present invention is disclosed by reference to the preferred embodiments and examples detailed above, it is to be understood that these examples are intended in an illustrative rather than in a limiting sense. It is contemplated that modifications and combinations will readily occur to those skilled in the art, which modifications and combinations will be within the spirit of the invention and the scope of the following claims.
This application claims the benefit of U.S. Provisional Patent Application No. 63/010,683 filed 16 Apr. 2020, which application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63010683 | Apr 2020 | US |