CN113470709B - Temperature sensing circuit and sensing method thereof - Google Patents
Temperature sensing circuit and sensing method thereof Download PDFInfo
- Publication number
- CN113470709B CN113470709B CN202010247617.9A CN202010247617A CN113470709B CN 113470709 B CN113470709 B CN 113470709B CN 202010247617 A CN202010247617 A CN 202010247617A CN 113470709 B CN113470709 B CN 113470709B
- Authority
- CN
- China
- Prior art keywords
- signal
- circuit
- counting
- voltage
- generate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/21—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
- G11C11/34—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
- G11C11/40—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
- G11C11/401—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
- G11C11/406—Management or control of the refreshing or charge-regeneration cycles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3037—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Dram (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及一种存储装置,且特别是涉及一种用以提供刷新请求信号的温度感测电路及其感测方法。The present invention relates to a storage device, and in particular to a temperature sensing circuit for providing a refresh request signal and a sensing method thereof.
背景技术Background technique
动态随机存取存储器(Dynamic RAM,DRAM)包括多个存储单元(memory cell),存储单元用以储存数据的比特,每一比特是根据累积在存储单元的电容器上的电位高低来决定。由于累积在电容器上的电荷会逐渐放电而在一段时间后导致在电位判断上的困难。从电容器上的电荷开始放电到无法确实判断数据的逻辑电位(“0”或“1”)的这段时间称为刷新时间。必须每隔较刷新时间短的一段时间提供刷新请求信号以刷新(refresh)存储单元并保持(hold)数据。而刷新间隔(refresh interval)是指在两个刷新请求信号之间的时间间隔。Dynamic random access memory (DRAM) includes multiple memory cells, which are used to store bits of data. Each bit is determined by the potential accumulated on the capacitor of the memory cell. The charge accumulated on the capacitor will gradually discharge, which will cause difficulties in judging the potential after a period of time. The time from the discharge of the charge on the capacitor to the inability to accurately judge the logical potential of the data ("0" or "1") is called the refresh time. A refresh request signal must be provided at a time shorter than the refresh time to refresh the memory cell and hold the data. The refresh interval refers to the time interval between two refresh request signals.
在DRAM中,存储单元相对于不同温度具有不同的保持时间(retention time),从而适用不同的刷新间隔。举例来说,当DRAM存储单元由55℃减少为20℃时,其保持时间增加了约4倍,适用于4倍的刷新间隔。因此,现有技术利用多个温度阈值将操作温度分为多个区段,每一个区段具有不同的刷新间隔。例如利用55℃与20℃两个温度阈值将操作温度分为三个温度区段:大于55℃、小于55℃且大于20℃、以及小于20℃,并调整小于55℃且大于20℃的温度区段的时间间隔为大于55℃的温度区段的4倍,且调整小于20℃的时间间隔为大于55℃的温度区段的16倍,以根据不同温度提供不同刷新间隔的刷新请求信号。In DRAM, memory cells have different retention times relative to different temperatures, so different refresh intervals are applicable. For example, when a DRAM memory cell is reduced from 55°C to 20°C, its retention time increases by about 4 times, which is applicable to a 4-fold refresh interval. Therefore, the prior art uses multiple temperature thresholds to divide the operating temperature into multiple sections, each section having a different refresh interval. For example, the operating temperature is divided into three temperature sections using two temperature thresholds of 55°C and 20°C: greater than 55°C, less than 55°C and greater than 20°C, and less than 20°C, and the time interval of the temperature section less than 55°C and greater than 20°C is adjusted to 4 times that of the temperature section greater than 55°C, and the time interval of the temperature section less than 20°C is adjusted to 16 times that of the temperature section greater than 55°C, so as to provide refresh request signals with different refresh intervals according to different temperatures.
然而,现有技术在稍高于温度阈值处的电流消耗会增加。举例来说,在稍高于55℃但还未变动刷新间隔的温度,以及稍高于20℃但还未变动刷新间隔的温度中,由于刷新间隔尚未变动,因此刷新请求信号的刷新频率分别相较于55℃与20℃还高4倍,将导致较大的刷新电流消耗。另一种做法是使用更多的温度阈值将操作温度分隔为更多温度区段,然而在电路上需要添加更多的计数器、温度感测电路与选择器。除了增加成本,更多的计数器也将使得计数器位(counter bits)减少,从而导致较低的刷新间隔分辨率。However, the current consumption of the prior art increases at a temperature slightly higher than the temperature threshold. For example, at a temperature slightly higher than 55°C but the refresh interval has not changed, and at a temperature slightly higher than 20°C but the refresh interval has not changed, since the refresh interval has not changed, the refresh frequency of the refresh request signal is 4 times higher than that at 55°C and 20°C, respectively, which will result in a larger refresh current consumption. Another approach is to use more temperature thresholds to divide the operating temperature into more temperature segments, but more counters, temperature sensing circuits, and selectors need to be added to the circuit. In addition to increasing costs, more counters will also reduce counter bits, resulting in lower refresh interval resolution.
发明内容Summary of the invention
因此,本发明提供一种温度感测电路,可以高分辨率提供对应温度的平均刷新间隔而不需增加时钟频率与消耗电流。Therefore, the present invention provides a temperature sensing circuit that can provide an average refresh interval corresponding to the temperature with high resolution without increasing the clock frequency and consuming current.
在本发明的一方面中,提供一种温度感测电路,适用于存储装置。温度感测电路包括振荡器、计数电路、控制电路、感测电路与选择电路。振荡器用以提供振荡信号。计数电路耦接振荡器,用以计数振荡信号以产生第一计数信号,并用以产生第二计数信号。控制电路耦接计数电路,用以对第二计数信号进行逻辑运算以产生致能信号以及感测调整信号。感测电路耦接控制电路,依据感测调整信号来分压参考电压以产生参考温度电压,并依据致能信号比较参考温度电压与监控电压以产生决定信号。选择电路耦接振荡器、计数电路与感测电路,选择电路依据决定信号动态选择振荡信号与第一计数信号其中一者,并依据所动态选择的振荡信号与第一计数信号其中一者来产生刷新请求信号的脉冲。In one aspect of the present invention, a temperature sensing circuit is provided, which is suitable for a storage device. The temperature sensing circuit includes an oscillator, a counting circuit, a control circuit, a sensing circuit and a selection circuit. The oscillator is used to provide an oscillation signal. The counting circuit is coupled to the oscillator, and is used to count the oscillation signal to generate a first counting signal, and is used to generate a second counting signal. The control circuit is coupled to the counting circuit, and is used to perform a logic operation on the second counting signal to generate an enable signal and a sensing adjustment signal. The sensing circuit is coupled to the control circuit, and divides the reference voltage according to the sensing adjustment signal to generate a reference temperature voltage, and compares the reference temperature voltage with the monitoring voltage according to the enable signal to generate a decision signal. The selection circuit is coupled to the oscillator, the counting circuit and the sensing circuit, and the selection circuit dynamically selects one of the oscillation signal and the first counting signal according to the decision signal, and generates a pulse of a refresh request signal according to one of the dynamically selected oscillation signal and the first counting signal.
在本发明的另一方面中,提供一种感测方法,适用于存储装置。存储装置具有温度感测电路,温度感测电路具有振荡器、计数电路、控制电路、感测电路与选择电路。感测方法包括:提供振荡信号;计数振荡信号以产生第一计数信号,并产生第二计数信号。对第二计数信号进行逻辑运算以产生致能信号以及感测调整信号。依据感测调整信号来分压参考电压以产生参考温度电压,并依据致能信号比较参考温度电压与监控电压,以产生决定信号。依据决定信号动态选择振荡信号与第一计数信号其中一者,并依据所动态选择的振荡信号与第一计数信号其中一者来产生刷新请求信号的脉冲。In another aspect of the present invention, a sensing method is provided, which is applicable to a storage device. The storage device has a temperature sensing circuit, and the temperature sensing circuit has an oscillator, a counting circuit, a control circuit, a sensing circuit and a selection circuit. The sensing method includes: providing an oscillation signal; counting the oscillation signal to generate a first counting signal, and generating a second counting signal. Performing a logical operation on the second counting signal to generate an enable signal and a sensing adjustment signal. Dividing a reference voltage according to the sensing adjustment signal to generate a reference temperature voltage, and comparing the reference temperature voltage with a monitoring voltage according to the enable signal to generate a decision signal. Dynamically selecting one of the oscillation signal and the first counting signal according to the decision signal, and generating a pulse of a refresh request signal according to one of the dynamically selected oscillation signal and the first counting signal.
基于上述,本发明的温度感测电路可依据存储单元的温度动态调整刷新请求信号中具有不同刷新间隔时间的脉冲的比例,以提供高平均刷新间隔,以及提供平均刷新间隔相对于温度的高分辨率,而不需增加时钟频率与消耗电流。Based on the above, the temperature sensing circuit of the present invention can dynamically adjust the ratio of pulses with different refresh interval times in the refresh request signal according to the temperature of the storage unit to provide a high average refresh interval and provide a high resolution of the average refresh interval relative to the temperature without increasing the clock frequency and consuming current.
为了使得本发明的前述特征和优点便于理解,下文详细描述带有附图的示例性实施例。应理解,前述一般描述和以下详细描述都是示例性的,且意图提供对所要求的本发明的进一步解释。To make the aforementioned features and advantages of the present invention easier to understand, the following detailed description of exemplary embodiments with accompanying drawings is described in detail. It should be understood that both the foregoing general description and the following detailed description are exemplary and are intended to provide further explanation of the invention as claimed.
然而,应理解,本发明内容可不含有本发明的所有方面和实施例,且因此不意味着以任何方式加以限制或约束。此外,本发明将包含对本领域技术人员显而易见的改进和修改。However, it should be understood that the present invention may not contain all aspects and embodiments of the present invention, and therefore is not meant to be limited or restricted in any way. In addition, the present invention will include improvements and modifications that are obvious to those skilled in the art.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
包含附图以提供对本发明的进一步理解,且附图并入本说明书中并构成本说明书的一部分。所述附图示出本发明的实施例,且与描述一起用以解释本发明的原理。The accompanying drawings are included to provide a further understanding of the present invention and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the present invention and together with the description serve to explain the principles of the present invention.
图1是依据本发明一实施例所示出的温度感测电路的方块图;FIG1 is a block diagram of a temperature sensing circuit according to an embodiment of the present invention;
图2是依据本发明一实施例所示出的温度感测电路的电路示意图;FIG2 is a circuit diagram of a temperature sensing circuit according to an embodiment of the present invention;
图3是依据本发明一实施例所示出的温度感测电路的控制时序图;FIG3 is a control timing diagram of a temperature sensing circuit according to an embodiment of the present invention;
图4是依据本发明一实施例所示出的控制电路中的计数信号CNT_N与感测调整信号ST的转换表;FIG. 4 is a conversion table of a counting signal CNT_N and a sensing adjustment signal ST in a control circuit according to an embodiment of the present invention;
图5是依据本发明一实施例所示出的刷新请求信号的产生时序图;5 is a timing diagram of generating a refresh request signal according to an embodiment of the present invention;
图6A是依据本发明一实施例所示出的经估计的刷新请求的平均间隔统计表;FIG6A is a statistical table showing an estimated average interval of refresh requests according to an embodiment of the present invention;
图6B是依据本发明一实施例所示出的经估计的刷新请求的平均间隔对温度的X-Y图;FIG6B is an X-Y graph showing an estimated average interval between refresh requests versus temperature according to an embodiment of the present invention;
图7是依据本发明另一实施例所示出的温度感测电路的方块图;FIG7 is a block diagram of a temperature sensing circuit according to another embodiment of the present invention;
图8是依据本发明另一实施例所示出的温度感测电路的电路示意图;FIG8 is a circuit diagram of a temperature sensing circuit according to another embodiment of the present invention;
图9是依据本发明另一实施例所示出的温度感测电路的时序图;FIG9 is a timing diagram of a temperature sensing circuit according to another embodiment of the present invention;
图10A是依据本发明另一实施例所示出的经估计的刷新请求的平均间隔统计表;FIG. 10A is a statistical table showing an estimated average interval of refresh requests according to another embodiment of the present invention;
图10B是依据本发明另一实施例所示出的经估计的刷新请求的平均间隔对温度的X-Y图;FIG. 10B is an X-Y graph showing an estimated average interval between refresh requests and temperature according to another embodiment of the present invention;
图11A是依据本发明又一实施例所示出的经估计的刷新请求的平均间隔统计表;图11B是依据本发明又一实施例所示出的经估计的刷新请求的平均间隔对温度的X-Y图;FIG. 11A is a statistical table of estimated average intervals of refresh requests according to another embodiment of the present invention; FIG. 11B is an X-Y graph of estimated average intervals of refresh requests versus temperature according to another embodiment of the present invention;
图12是依据本发明一实施例所示出的温度感测电路的操作方法的流程图。FIG. 12 is a flow chart of an operating method of a temperature sensing circuit according to an embodiment of the present invention.
附图标号说明Description of Figure Numbers
10、20:温度感测电路10, 20: Temperature sensing circuit
110:振荡器110: Oscillator
120:计数电路120: Counting circuit
130:控制电路130: Control circuit
140:感测电路140: Sensing circuit
150:选择电路150: Select Circuit
210~230:计数器210~230: Counter
240:分压电路240: Voltage divider circuit
250:开关串250: Switch string
251~252:选择器251-252: Selector
260:监控电压产生电路260: Monitoring voltage generation circuit
270:比较器270: Comparator
280:锁存器280: Latch
CNT_1、CNT_N、CNT_4:计数信号CNT_1, CNT_N, CNT_4: counting signals
COUNT:刷新脉冲计数COUNT: refresh pulse count
D1:二极管D1: diode
DET:决定信号DET: Decision signal
EN:致能信号EN:Enable signal
GND:接地电压GND: Ground voltage
IC:电流源IC: Current Source
OSC:振荡信号OSC: Oscillating signal
R1~R8:分压电阻R1~R8: voltage divider resistor
REFREQ:刷新请求信号REFREQ: refresh request signal
S1210~S1250:步骤S1210~S1250: Steps
ST:感测调整信号ST: Sense adjustment signal
SUM:刷新脉冲总和SUM: refresh pulse sum
SW1~SW7:开关SW1~SW7:Switch
T0~T3:时间T0~T3: Time
VC:经比较电压VC: Comparison voltage
VMON:监控电压VMON: monitor voltage
VREF:参考电压VREF: reference voltage
VRT:参考温度电压VT20~VT80:默认温度电压VRT: reference temperature voltage VT20~VT80: default temperature voltage
具体实施方式Detailed ways
参照图1,温度感测电路10适用于存储装置(未示出)。温度感测电路10包括振荡器110、计数电路120、控制电路130、感测电路140以及选择电路150。在此实施例中,温度感测电路10用以提供刷新请求信号REFREQ至存储装置中的刷新电路(未示出),以驱使刷新电路刷新存储装置中的存储单元(未示出)。在本发明中,温度感测电路10计数振荡信号OSC以产生用以对应存储单元各温度的参考温度电压VRT,并通过比较对应存储单元目前温度的监控电压VMON以及对应各温度的参考温度电压VRT,来动态调整刷新请求信号REFREQ的平均刷新间隔,使得刷新请求信号REFREQ具有相对高的平均刷新间隔,并提供针对温度具高分辨率的刷新间隔,而不需增加振荡信号OSC的频率。1 , a temperature sensing circuit 10 is suitable for a memory device (not shown). The temperature sensing circuit 10 includes an oscillator 110, a counting circuit 120, a control circuit 130, a sensing circuit 140, and a selection circuit 150. In this embodiment, the temperature sensing circuit 10 is used to provide a refresh request signal REFREQ to a refresh circuit (not shown) in the memory device to drive the refresh circuit to refresh the memory cells (not shown) in the memory device. In the present invention, the temperature sensing circuit 10 counts the oscillation signal OSC to generate a reference temperature voltage VRT corresponding to each temperature of the memory cell, and dynamically adjusts the average refresh interval of the refresh request signal REFREQ by comparing the monitoring voltage VMON corresponding to the current temperature of the memory cell and the reference temperature voltage VRT corresponding to each temperature, so that the refresh request signal REFREQ has a relatively high average refresh interval and provides a refresh interval with high resolution for temperature without increasing the frequency of the oscillation signal OSC.
请同时参照图1与图2。振荡器110用以提供振荡信号OSC至计数电路120与选择电路150。在一实施例中,振荡器110可以是现有的压控振荡器(voltage-controlledoscillator,VCO),而振荡信号OSC可以是具固定频率的脉冲信号,但本发明不限于此。Please refer to FIG. 1 and FIG. 2 simultaneously. The oscillator 110 is used to provide an oscillation signal OSC to the counting circuit 120 and the selecting circuit 150. In one embodiment, the oscillator 110 may be a conventional voltage-controlled oscillator (VCO), and the oscillation signal OSC may be a pulse signal with a fixed frequency, but the present invention is not limited thereto.
计数电路120耦接振荡器110,计数电路120接收振荡信号OSC,并计数振荡信号OSC以产生计数信号CNT_1及CNT_N。在一实施例中,计数电路120可以计数振荡信号OSC的脉冲数量,而计数电路120可以是现有的同步计数器或其他计数器,但本发明不限于此。具体而言,在一实施例中,计数电路120包括计数器210~230。The counting circuit 120 is coupled to the oscillator 110. The counting circuit 120 receives the oscillation signal OSC and counts the oscillation signal OSC to generate counting signals CNT_1 and CNT_N. In one embodiment, the counting circuit 120 can count the number of pulses of the oscillation signal OSC, and the counting circuit 120 can be an existing synchronous counter or other counter, but the present invention is not limited thereto. Specifically, in one embodiment, the counting circuit 120 includes counters 210-230.
计数器210耦接振荡器110,用以接收并计数振荡信号OSC的脉冲数量,以产生计数信号CNT_4。在一实施例中,计数器210每计数4个振荡信号OSC的上沿(rising edge),便产生一个计数信号CNT_4的脉冲,因此计数信号CNT_4的周期为振荡信号OSC的4倍。且每当计数器210计数4个振荡信号OSC的脉冲时,将计数器210的计数归0。The counter 210 is coupled to the oscillator 110 to receive and count the number of pulses of the oscillation signal OSC to generate a counting signal CNT_4. In one embodiment, the counter 210 generates a pulse of the counting signal CNT_4 every time it counts four rising edges of the oscillation signal OSC, so the period of the counting signal CNT_4 is four times that of the oscillation signal OSC. And every time the counter 210 counts four pulses of the oscillation signal OSC, the count of the counter 210 is reset to 0.
计数器220耦接在计数器210与选择电路150之间,用以接收并计数计数信号CNT_4的脉冲数量,以产生计数信号CNT_1。在一实施例中,计数器220每计数4个计数信号CNT_4的上沿,便产生一个计数信号CNT_1的脉冲,因此计数信号CNT_1的周期为计数信号CNT_4的4倍,且计数信号CNT_1的周期为振荡信号OSC的16倍。且每当计数器220计数4个计数信号CNT_4时,将计数器210的计数归0。The counter 220 is coupled between the counter 210 and the selection circuit 150, and is used to receive and count the number of pulses of the counting signal CNT_4 to generate the counting signal CNT_1. In one embodiment, the counter 220 generates a pulse of the counting signal CNT_1 every time it counts four rising edges of the counting signal CNT_4, so the period of the counting signal CNT_1 is four times that of the counting signal CNT_4, and the period of the counting signal CNT_1 is 16 times that of the oscillation signal OSC. And every time the counter 220 counts four counting signals CNT_4, the count of the counter 210 is reset to 0.
计数器230用以接收并计数振荡信号OSC的脉冲数量,以产生所述计数信号CNT_N。在一实施例中,计数器230每计数N个振荡信号OSC的上沿,便产生一个计数信号CNT_N的脉冲,因此计数信号CNT_N的周期为振荡信号OSC的N倍。且每当计数器230计数N个振荡信号OSC时,将计数器230的计数归0。在一实施例中,N可以为16的倍数,例如是16、64。The counter 230 is used to receive and count the number of pulses of the oscillation signal OSC to generate the counting signal CNT_N. In one embodiment, the counter 230 generates a pulse of the counting signal CNT_N every time it counts N rising edges of the oscillation signal OSC, so the period of the counting signal CNT_N is N times that of the oscillation signal OSC. And every time the counter 230 counts N oscillation signals OSC, the count of the counter 230 is reset to 0. In one embodiment, N can be a multiple of 16, such as 16 or 64.
必须说明的是,计数器210与220用以协助选择电路150调整刷新请求信号REFREQ的刷新间隔,而计数器230用以通过控制电路130产生所选择的参考温度电压VRT,具体将于后文阐述。此外,本发明并未限制计数器210~230计数信号的方式。It should be noted that counters 210 and 220 are used to assist selection circuit 150 in adjusting the refresh interval of refresh request signal REFREQ, and counter 230 is used to generate the selected reference temperature voltage VRT through control circuit 130, which will be described in detail later. In addition, the present invention does not limit the way in which counters 210-230 count signals.
控制电路130耦接计数电路120,在一实施例中,控制电路130可以是中央处理器、微处理器、特殊应用集成电路、现场可编程逻辑栅数组或类似组件或上述组件的组合。其中控制电路130被编程为执行以下将描述的功能或步骤:控制电路130接收计数信号CNT_N,并对计数信号CNT_N进行逻辑运算以产生致能信号EN以及感测调整信号ST。The control circuit 130 is coupled to the counting circuit 120. In one embodiment, the control circuit 130 may be a central processing unit, a microprocessor, a special application integrated circuit, a field programmable logic gate array or a similar component or a combination of the above components. The control circuit 130 is programmed to perform the functions or steps described below: The control circuit 130 receives the counting signal CNT_N, and performs a logic operation on the counting signal CNT_N to generate an enable signal EN and a sensing adjustment signal ST.
在一实施例中,当控制电路130依据计数信号CNT_N检测到振荡信号OSC的脉冲数量等于一默认数量时,控制电路130致能(enable)所述致能信号EN,并将致能信号EN提供至感测电路140。具体而言,在一实施例中,每当控制电路130接收到计数信号CNT_N的脉冲时,即当计数器230计数16个振荡信号OSC的脉冲时,此时控制电路130将提供至感测电路140的致能信号EN致能为高逻辑电平(high logic level),以致能感测电路140。In one embodiment, when the control circuit 130 detects that the number of pulses of the oscillation signal OSC is equal to a default number according to the counting signal CNT_N, the control circuit 130 enables the enable signal EN and provides the enable signal EN to the sensing circuit 140. Specifically, in one embodiment, whenever the control circuit 130 receives a pulse of the counting signal CNT_N, that is, when the counter 230 counts 16 pulses of the oscillation signal OSC, the control circuit 130 enables the enable signal EN provided to the sensing circuit 140 to a high logic level to enable the sensing circuit 140.
请参照图2与图4,在一实施例中,控制电路130依据一个默认转换表如图4,对计数信号CNT_N进行逻辑转换,以产生感测调整信号ST,其中感测调整信号ST的逻辑值对应存储器的多个默认温度。具体而言,请参照图4,在一实施例中,计数信号CNT_N具有4个bit即bit0A~bit3A,而感测调整信号ST具有3个bit即bit0B~bit2B。举例来说,当计数信号CNT_N为6即0110时,控制电路130依据图4对计数信号CNT_N进行逻辑转换,取计数信号CNT_N的bit0A~bit2A的值来产生感测调整信号ST,故此时感测调整信号ST为6(即110)。当计数信号CNT_N为7即0111时,控制电路130依据图4对计数信号CNT_N进行逻辑转换,取计数信号CNT_N的bit0A~bit2A的值即111来产生感测调整信号ST,但逻辑转换默认将111转换为000,故此时感测调整信号ST为0(即000)。Please refer to FIG. 2 and FIG. 4. In one embodiment, the control circuit 130 performs a logic conversion on the counting signal CNT_N according to a default conversion table as shown in FIG. 4 to generate a sensing adjustment signal ST, wherein the logic value of the sensing adjustment signal ST corresponds to a plurality of default temperatures of the memory. Specifically, please refer to FIG. 4. In one embodiment, the counting signal CNT_N has 4 bits, namely bit0A to bit3A, and the sensing adjustment signal ST has 3 bits, namely bit0B to bit2B. For example, when the counting signal CNT_N is 6, namely 0110, the control circuit 130 performs a logic conversion on the counting signal CNT_N according to FIG. 4, and takes the values of bit0A to bit2A of the counting signal CNT_N to generate the sensing adjustment signal ST, so at this time the sensing adjustment signal ST is 6 (i.e. 110). When the counting signal CNT_N is 7, i.e., 0111, the control circuit 130 performs a logic conversion on the counting signal CNT_N according to FIG. 4 , and takes the value of bit0A to bit2A of the counting signal CNT_N, i.e., 111, to generate the sensing adjustment signal ST. However, the logic conversion converts 111 to 000 by default, so the sensing adjustment signal ST is 0 (i.e., 000) at this time.
请参照图4的转换表与图5中关于计数信号CNT_N与感测调整信号ST的时序,每一个计数信号CNT_N的逻辑值各别对应的感测调整信号ST的逻辑值。在一实施例中,当计数信号CNT_N为0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15时,控制电路130进行逻辑运算后对应产生感测调整信号ST为0、1、2、3、4、5、6、0、0、1、2、3、0、1、0、0。然本发明不以此为限。Please refer to the conversion table of FIG4 and the timing of the counting signal CNT_N and the sensing adjustment signal ST in FIG5 , each logic value of the counting signal CNT_N corresponds to the logic value of the sensing adjustment signal ST. In one embodiment, when the counting signal CNT_N is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, the control circuit 130 performs a logic operation and generates a corresponding sensing adjustment signal ST of 0, 1, 2, 3, 4, 5, 6, 0, 0, 1, 2, 3, 0, 1, 0, 0. However, the present invention is not limited thereto.
参照图2,感测电路140耦接控制电路130,并接收致能信号EN、感测调整信号ST以及参考电压VREF。感测电路140依据感测调整信号ST来分压参考电压VREF以产生参考温度电压VRT,感测电路140并依据致能信号EN比较参考温度电压VRT与监控电压VMON以产生决定信号DET。在一实施例中,感测电路140包括分压电路240、开关串250、监控电压产生电路260、比较器270与锁存器280。2 , the sensing circuit 140 is coupled to the control circuit 130 and receives an enable signal EN, a sensing adjustment signal ST, and a reference voltage VREF. The sensing circuit 140 divides the reference voltage VREF according to the sensing adjustment signal ST to generate a reference temperature voltage VRT. The sensing circuit 140 compares the reference temperature voltage VRT with the monitoring voltage VMON according to the enable signal EN to generate a decision signal DET. In one embodiment, the sensing circuit 140 includes a voltage divider circuit 240, a switch string 250, a monitoring voltage generating circuit 260, a comparator 270, and a latch 280.
具体来说,感测电路140可以通过分压电路240分压参考电压VREF,并依据感测调整信号ST导通开关串250中的一个开关,以产生参考温度电压VRT。感测电路140可通过监控电压产生电路260产生监控电压VMON,并通过致能信号EN致能比较器250来比较参考温度电压VRT与监控电压VMON,并依据比较结果以产生经比较电压VC并提供至锁存器280。感测电路140通过锁存器280锁存(latch)经比较电压VC,以产生决定信号DET并提供至选择电路150。Specifically, the sensing circuit 140 can divide the reference voltage VREF through the voltage divider circuit 240, and turn on a switch in the switch string 250 according to the sensing adjustment signal ST to generate the reference temperature voltage VRT. The sensing circuit 140 can generate the monitoring voltage VMON through the monitoring voltage generating circuit 260, and enable the comparator 250 through the enable signal EN to compare the reference temperature voltage VRT with the monitoring voltage VMON, and generate the compared voltage VC according to the comparison result and provide it to the latch 280. The sensing circuit 140 latches the compared voltage VC through the latch 280 to generate the decision signal DET and provide it to the selection circuit 150.
分压电路240具有彼此串联的多个分压电阻R1~R8,分压电阻R1~R8耦接在参考电压VREF与接地电压GND之间,并通过分压参考电压VREF与接地电压GND之间的电压差以产生多个默认温度电压VT20~VT80。其中分压电阻R1与R2之间的分压为默认温度电压VT20,分压电阻R2与R3之间的分压为默认温度电压VT30,分压电阻R3与R4之间的分压为默认温度电压VT40,分压电阻R4与R5之间的分压为默认温度电压VT50,分压电阻R5与R6之间的分压为默认温度电压V60,分压电阻R6与R7之间的分压为默认温度电压VT70,分压电阻R7与R8之间的分压为默认温度电压VT80。The voltage divider circuit 240 has a plurality of voltage divider resistors R1-R8 connected in series, the voltage divider resistors R1-R8 are coupled between a reference voltage VREF and a ground voltage GND, and generate a plurality of default temperature voltages VT20-VT80 by dividing the voltage difference between the reference voltage VREF and the ground voltage GND. The voltage divided between the voltage divider resistors R1 and R2 is the default temperature voltage VT20, the voltage divided between the voltage divider resistors R2 and R3 is the default temperature voltage VT30, the voltage divided between the voltage divider resistors R3 and R4 is the default temperature voltage VT40, the voltage divided between the voltage divider resistors R4 and R5 is the default temperature voltage VT50, the voltage divided between the voltage divider resistors R5 and R6 is the default temperature voltage V60, the voltage divided between the voltage divider resistors R6 and R7 is the default temperature voltage VT70, and the voltage divided between the voltage divider resistors R7 and R8 is the default temperature voltage VT80.
开关串250耦接控制电路130以及分压电路240,具有多个开关SW1~SW7。多个开关SW1~SW7的每一个的第一端接收多个默认温度电压VT20~VT80的其中一个。在一实施例中,开关SW1的第一端接收默认温度电压VT20,开关SW2的第一端接收默认温度电压VT30,开关SW3的第一端接收默认温度电压VT40,开关SW4的第一端接收默认温度电压VT50,开关SW5的第一端接收默认温度电压VT60,开关SW6的第一端接收默认温度电压VT70,开关SW7的第一端接收默认温度电压VT80。所有开关SW1~SW7的第二端彼此耦接在一起。开关串250依据感测调整信号ST来导通多个开关SW1~SW7的其中一个,并将该导通的多个开关SW1~SW7的其中一所对应的多个默认温度电压VT20~VT80的其中一个提供至多个开关SW1~SW7的第二端,以便产生参考温度电压VRT。在一实施例中,当开关SW1导通时,参考温度电压VRT相等于默认温度电压VT20,以此类推。在一实施例中,感测调整信号ST的逻辑值与参考温度电压VRT的对应关系式为VRT[10*(8-i)]=ST[i],i=0-6。举例而言,当i为0时,VRT[80])=ST[0]。在一实施例中,感测调整信号ST的逻辑值与参考温度电压VRT的详细对应关系如下述表一。The switch string 250 is coupled to the control circuit 130 and the voltage divider circuit 240, and has a plurality of switches SW1-SW7. The first end of each of the plurality of switches SW1-SW7 receives one of the plurality of default temperature voltages VT20-VT80. In one embodiment, the first end of the switch SW1 receives the default temperature voltage VT20, the first end of the switch SW2 receives the default temperature voltage VT30, the first end of the switch SW3 receives the default temperature voltage VT40, the first end of the switch SW4 receives the default temperature voltage VT50, the first end of the switch SW5 receives the default temperature voltage VT60, the first end of the switch SW6 receives the default temperature voltage VT70, and the first end of the switch SW7 receives the default temperature voltage VT80. The second ends of all the switches SW1-SW7 are coupled together. The switch string 250 turns on one of the plurality of switches SW1-SW7 according to the sensing adjustment signal ST, and provides one of the plurality of default temperature voltages VT20-VT80 corresponding to the one of the plurality of switches SW1-SW7 turned on to the second ends of the plurality of switches SW1-SW7, so as to generate the reference temperature voltage VRT. In one embodiment, when the switch SW1 is turned on, the reference temperature voltage VRT is equal to the default temperature voltage VT20, and so on. In one embodiment, the corresponding relationship between the logic value of the sensing adjustment signal ST and the reference temperature voltage VRT is VRT[10*(8-i)]=ST[i], i=0-6. For example, when i is 0, VRT[80])=ST[0]. In one embodiment, the detailed corresponding relationship between the logic value of the sensing adjustment signal ST and the reference temperature voltage VRT is shown in Table 1 below.
<表一><Table 1>
监控电压产生电路260用以提供监控电压VMON。在一实施例中,监控电压产生电路260包括定电流源IC与二极管D1。定电流源IC用以提供定电流,而二极管D1耦接在定电流源IC与接地电压GND之间,用以依据定电流来产生监控电压VMON。本发明并未限制定电流源IC的类型。The monitoring voltage generating circuit 260 is used to provide the monitoring voltage VMON. In one embodiment, the monitoring voltage generating circuit 260 includes a constant current source IC and a diode D1. The constant current source IC is used to provide a constant current, and the diode D1 is coupled between the constant current source IC and the ground voltage GND to generate the monitoring voltage VMON according to the constant current. The present invention does not limit the type of the constant current source IC.
比较器270耦接开关串250与监控电压产生电路260,用以依据致能信号EN来比较参考温度电压VRT与监控电压VMON,以便产生经比较电压VC。在一实施例中,比较器270具有正输入端、负输入端、致能端与输出端。比较器270的正输入端耦接监控电压产生电路260以接收监控电压VMON,比较器270的负输入端耦接开关串250以接收参考温度电压VRT。比较器270的致能端耦接控制电路130,用以接收致能信号EN以决定是否进行比较操作。当致能信号EN被禁能(disable)时(例如是低逻辑电平),比较器270不比较参考温度电压VRT与监控电压VMON。当致能信号EN被致能时(例如是高逻辑电平),比较器270比较参考温度电压VRT与监控电压VMON,并将比较结果输出为经比较电压VC。当监控电压VMON小于参考温度电压VRT时,比较器270输出一被禁能的经比较电压VC(例如是低逻辑电平)。当监控电压VMON大于参考温度电压VRT时,比较器270输出一被致能的经比较电压VC(例如是高逻辑电平)。The comparator 270 is coupled to the switch string 250 and the monitoring voltage generating circuit 260, and is used to compare the reference temperature voltage VRT with the monitoring voltage VMON according to the enable signal EN, so as to generate a compared voltage VC. In one embodiment, the comparator 270 has a positive input terminal, a negative input terminal, an enable terminal and an output terminal. The positive input terminal of the comparator 270 is coupled to the monitoring voltage generating circuit 260 to receive the monitoring voltage VMON, and the negative input terminal of the comparator 270 is coupled to the switch string 250 to receive the reference temperature voltage VRT. The enable terminal of the comparator 270 is coupled to the control circuit 130, and is used to receive the enable signal EN to determine whether to perform a comparison operation. When the enable signal EN is disabled (for example, a low logic level), the comparator 270 does not compare the reference temperature voltage VRT with the monitoring voltage VMON. When the enable signal EN is enabled (for example, a high logic level), the comparator 270 compares the reference temperature voltage VRT with the monitoring voltage VMON, and outputs the comparison result as the compared voltage VC. When the monitoring voltage VMON is less than the reference temperature voltage VRT, the comparator 270 outputs a disabled compared voltage VC (eg, a low logic level). When the monitoring voltage VMON is greater than the reference temperature voltage VRT, the comparator 270 outputs an enabled compared voltage VC (eg, a high logic level).
锁存器280耦接比较器270,用以锁存经比较电压VC,以产生决定信号DET并提供给选择电路150。在一实施例中,当致能信号EN被禁能时,锁存器280以保持状态作为决定信号DET并输出至选择电路150。当致能信号EN被致能时,锁存器280锁存比较电压VC并输出刷新的决定信号DET至选择电路150。The latch 280 is coupled to the comparator 270 to latch the compared voltage VC to generate a decision signal DET and provide it to the selection circuit 150. In one embodiment, when the enable signal EN is disabled, the latch 280 holds the comparison voltage VC and outputs the decision signal DET to the selection circuit 150. When the enable signal EN is enabled, the latch 280 latches the comparison voltage VC and outputs the refreshed decision signal DET to the selection circuit 150.
参照图1与图2,选择电路150耦接振荡器110、计数电路120与感测电路140,选择电路150依据决定信号DET动态选择振荡信号OSC与计数信号CNT_1中的其中一个信号,并依据所动态选择的振荡信号OSC与计数信号CNT_1来产生刷新请求信号REFREQ的脉冲。在一实施例中,选择电路150包括选择器251与252,选择器251耦接在振荡器110与感测电路140之间,而选择器252耦接在计数电路120与感测电路140之间。其中选择器251与252依据决定信号DET的逻辑电平而交替启动,以共同产生刷新请求信号REFREQ,具体时序于后文说明。1 and 2, the selection circuit 150 is coupled to the oscillator 110, the counting circuit 120 and the sensing circuit 140. The selection circuit 150 dynamically selects one of the oscillation signal OSC and the counting signal CNT_1 according to the determination signal DET, and generates a pulse of the refresh request signal REFREQ according to the dynamically selected oscillation signal OSC and the counting signal CNT_1. In one embodiment, the selection circuit 150 includes selectors 251 and 252, wherein the selector 251 is coupled between the oscillator 110 and the sensing circuit 140, and the selector 252 is coupled between the counting circuit 120 and the sensing circuit 140. The selectors 251 and 252 are alternately activated according to the logic level of the determination signal DET to jointly generate the refresh request signal REFREQ, and the specific timing is described later.
在一实施例中,当决定信号DET被致能时,选择器251输出振荡信号OSC的脉冲而选择器252不输出信号,当决定信号DET被禁能时,选择器252输出计数信号CNT_1的脉冲而选择器251不输出信号,以共同产生刷新请求信号REFREQ。In one embodiment, when the decision signal DET is enabled, the selector 251 outputs a pulse of the oscillation signal OSC and the selector 252 outputs no signal. When the decision signal DET is disabled, the selector 252 outputs a pulse of the counting signal CNT_1 and the selector 251 outputs no signal to jointly generate the refresh request signal REFREQ.
图3是依据本发明一实施例所示出的温度感测电路的控制时序图。参照图2与图3,在一实施例中,计数信号CNT_4的周期为振荡信号OSC的4倍,计数信号CNT_1的周期为计数信号CNT_4的4倍,而计数信号CNT_N的周期为计数信号CNT_1的4倍。因此在一实施例中,计数信号CNT_N的周期为振荡信号OSC的64倍。控制电路130依据图4的转换表对计数信号CNT_N进行逻辑转换,而产生感测调整信号ST。感测电路140中的开关串250依据感测调整信号ST而导通多个开关SW1~SW7中的一个,以接收对应的多个默认温度电压VT20~VT80中的一个,并藉以产生参考温度电压VRT。以图3为例,时序从左至右,参考温度电压VRT的值依序等于默认温度电压VT60、VT50、VT80以及VT70。感测电路140中的监控电压产生电路260产生监控电压VMON。在此实施例中,监控电压VMON相当于默认温度电压VT60与VT50之间的默认温度电压VT55(未示出)。FIG. 3 is a control timing diagram of a temperature sensing circuit according to an embodiment of the present invention. Referring to FIG. 2 and FIG. 3, in one embodiment, the period of the count signal CNT_4 is 4 times that of the oscillation signal OSC, the period of the count signal CNT_1 is 4 times that of the count signal CNT_4, and the period of the count signal CNT_N is 4 times that of the count signal CNT_1. Therefore, in one embodiment, the period of the count signal CNT_N is 64 times that of the oscillation signal OSC. The control circuit 130 performs a logic conversion on the count signal CNT_N according to the conversion table of FIG. 4 to generate a sensing adjustment signal ST. The switch string 250 in the sensing circuit 140 turns on one of the multiple switches SW1 to SW7 according to the sensing adjustment signal ST to receive one of the corresponding multiple default temperature voltages VT20 to VT80 and thereby generate a reference temperature voltage VRT. Taking FIG. 3 as an example, from left to right in the timing sequence, the value of the reference temperature voltage VRT is equal to the default temperature voltages VT60, VT50, VT80 and VT70 in sequence. The monitoring voltage generating circuit 260 in the sensing circuit 140 generates the monitoring voltage VMON. In this embodiment, the monitoring voltage VMON corresponds to a default temperature voltage VT55 (not shown) between the default temperature voltages VT60 and VT50.
于时间T0至时间T1之间,致能信号EN被禁能,比较器270不比较参考温度电压VRT与监控电压VMON,此时决定信号DET被禁能(例如是低逻辑电平)。Between time T0 and time T1 , the enable signal EN is disabled, and the comparator 270 does not compare the reference temperature voltage VRT with the monitoring voltage VMON. At this time, the determination signal DET is disabled (eg, at a low logic level).
于时间T1,致能信号EN被致能,比较器270比较参考温度电压VRT与监控电压VMON。由于此时的参考温度电压VRT(此时相等于VT50)大于监控电压VMON,因此比较器270产生被致能的经比较电压VC(未示出),并且由于致能信号EN被致能,锁存器280产生被致能的决定信号DET(例如是高逻辑电平)。At time T1, the enable signal EN is enabled, and the comparator 270 compares the reference temperature voltage VRT with the monitoring voltage VMON. Since the reference temperature voltage VRT (equal to VT50 at this time) is greater than the monitoring voltage VMON, the comparator 270 generates an enabled compared voltage VC (not shown), and since the enable signal EN is enabled, the latch 280 generates an enabled decision signal DET (e.g., a high logic level).
接着,在时间T1与时间T2之间,由于致能信号EN被禁能,比较器270不比较参考温度电压VRT与所述监控电压VMON,此时锁存器280锁存此前被致能的经比较电压VC,以使锁存器280保持被致能的决定信号DET的逻辑电平。Next, between time T1 and time T2, since the enable signal EN is disabled, the comparator 270 does not compare the reference temperature voltage VRT with the monitoring voltage VMON. At this time, the latch 280 latches the previously enabled compared voltage VC to keep the enabled logic level of the decision signal DET.
于时间T2,致能信号EN被致能,比较器270比较参考温度电压VRT与监控电压VMON。由于此时的参考温度电压VRT(此时相等于VT80)小于监控电压VMON,因此比较器270产生被禁能的经比较电压VC(未示出),并且由于致能信号EN被致能,锁存器280产生被禁能的决定信号DET。At time T2, the enable signal EN is enabled, and the comparator 270 compares the reference temperature voltage VRT with the monitoring voltage VMON. Since the reference temperature voltage VRT (equal to VT80 at this time) is less than the monitoring voltage VMON, the comparator 270 generates a disabled compared voltage VC (not shown), and since the enable signal EN is enabled, the latch 280 generates a disabled decision signal DET.
接着,在时间T2与时间T3之间,由于致能信号EN被禁能,比较器270不比较参考温度电压VRT与监控电压VMON,此时锁存器280锁存此前被禁能的经比较电压VC,以使锁存器280保持被禁能的决定信号DET的逻辑电平。Next, between time T2 and time T3, since the enable signal EN is disabled, the comparator 270 does not compare the reference temperature voltage VRT with the monitoring voltage VMON. At this time, the latch 280 latches the previously disabled compared voltage VC, so that the latch 280 maintains the logic level of the disabled decision signal DET.
参照图2与图3,选择电路150依据决定信号DET动态选择振荡信号OSC与计数信号CNT_1其中之一,并依据所动态选择的振荡信号OSC与计数信号CNT_1其中之一来产生刷新请求信号REFREQ。举例来说,在时间T0与时间T1之间,决定信号DET被禁能,因此选择电路150中的选择器252输出计数信号CNT_1的脉冲而选择器251不输出信号。在时间T1与时间T2之间,决定信号DET被致能,因此选择电路150中的选择器251输出振荡信号OSC的脉冲而选择器252不输出信号。在时间T2与时间T3之间,决定信号DET被禁能,因此选择电路150中的选择器252输出计数信号CNT_1的脉冲而选择器251不输出信号。2 and 3 , the selection circuit 150 dynamically selects one of the oscillation signal OSC and the count signal CNT_1 according to the decision signal DET, and generates the refresh request signal REFREQ according to the dynamically selected one of the oscillation signal OSC and the count signal CNT_1. For example, between time T0 and time T1, the decision signal DET is disabled, so the selector 252 in the selection circuit 150 outputs a pulse of the count signal CNT_1 and the selector 251 does not output a signal. Between time T1 and time T2, the decision signal DET is enabled, so the selector 251 in the selection circuit 150 outputs a pulse of the oscillation signal OSC and the selector 252 does not output a signal. Between time T2 and time T3, the decision signal DET is disabled, so the selector 252 in the selection circuit 150 outputs a pulse of the count signal CNT_1 and the selector 251 does not output a signal.
图5是依据本发明一实施例所示出的刷新请求信号的产生时序图。图6A是依据本发明一实施例所示出的经估计的刷新请求的平均间隔统计表。参照图2、图4、图5与图6A,在一实施例中,控制电路130依据图4的转换表对计数信号CNT_N进行逻辑转换,而产生感测调整信号ST,其对应请参照图5中的计数信号CNT_N与感测调整信号ST。感测电路140中的开关串250依据感测调整信号ST而导通多个开关SW1~SW7中的一个,以接收多个默认温度电压VT20~VT80中的一个,并藉以产生参考温度电压VRT,其对应请参照图5中的感测调整信号ST与参考温度电压VRT。当监控电压VMON在默认温度电压VT50与VT60之间(例如VT55)时,且当参考温度电压VRT为默认温度电压VT20~VT50时,感测电路140致能决定信号DET(即高逻辑电平H);当参考温度电压VRT为默认温度电压VT60~VT80时,感测电路140禁能决定信号DET(即低逻辑电平L)。当决定信号DET被禁能时,选择电路150中的选择器252输出计数信号CNT_1的脉冲而选择器251不输出信号;当决定信号DET被致能时,选择电路150中的选择器251输出振荡信号OSC的脉冲而选择器252不输出信号。因此,选择器251与252依据决定信号DET的逻辑电平而交替启动,以共同产生刷新请求信号REFREQ,其对应请参照图5中的决定信号DET与刷新请求信号REFREQ。在一实施例中,每个时间段的刷新请求信号REFREQ的刷新脉冲计数COUNT如图5所示,且整个周期(即计数信号CNT_N从逻辑值0至15)的刷新请求信号REFREQ的刷新脉冲总和SUM为91,请参照图6A中温度55℃对应的刷新脉冲总和91。在另一情境中,当监控电压VMON在默认温度电压VT60与VT70之间(例如VT65)时,则参考温度电压VRT为默认温度电压VT60时所对应的决定信号改变为高逻辑电平H。因此,刷新脉冲总和SUM相应变为121,请参照图6A中温度65℃对应刷新脉冲总和121。FIG. 5 is a timing diagram of the generation of a refresh request signal according to an embodiment of the present invention. FIG. 6A is a statistical table of the average interval of refresh requests estimated according to an embodiment of the present invention. Referring to FIG. 2 , FIG. 4 , FIG. 5 and FIG. 6A , in one embodiment, the control circuit 130 performs a logic conversion on the count signal CNT_N according to the conversion table of FIG. 4 to generate a sensing adjustment signal ST, which corresponds to the count signal CNT_N and the sensing adjustment signal ST in FIG. 5 . The switch string 250 in the sensing circuit 140 turns on one of the multiple switches SW1 to SW7 according to the sensing adjustment signal ST to receive one of the multiple default temperature voltages VT20 to VT80 and thereby generates a reference temperature voltage VRT, which corresponds to the sensing adjustment signal ST and the reference temperature voltage VRT in FIG. 5 . When the monitoring voltage VMON is between the default temperature voltage VT50 and VT60 (e.g., VT55), and when the reference temperature voltage VRT is the default temperature voltage VT20-VT50, the sensing circuit 140 enables the decision signal DET (i.e., high logic level H); when the reference temperature voltage VRT is the default temperature voltage VT60-VT80, the sensing circuit 140 disables the decision signal DET (i.e., low logic level L). When the decision signal DET is disabled, the selector 252 in the selection circuit 150 outputs a pulse of the counting signal CNT_1 and the selector 251 does not output a signal; when the decision signal DET is enabled, the selector 251 in the selection circuit 150 outputs a pulse of the oscillation signal OSC and the selector 252 does not output a signal. Therefore, the selectors 251 and 252 are alternately activated according to the logic level of the decision signal DET to jointly generate the refresh request signal REFREQ, which corresponds to the decision signal DET and the refresh request signal REFREQ in FIG. 5 . In one embodiment, the refresh pulse count COUNT of the refresh request signal REFREQ in each time period is shown in FIG. 5 , and the refresh pulse sum SUM of the refresh request signal REFREQ in the entire cycle (i.e., the count signal CNT_N from logic value 0 to 15) is 91, please refer to the refresh pulse sum 91 corresponding to the temperature of 55° C. in FIG. 6A . In another scenario, when the monitoring voltage VMON is between the default temperature voltage VT60 and VT70 (e.g., VT65), the decision signal corresponding to the reference temperature voltage VRT being the default temperature voltage VT60 changes to a high logic level H. Therefore, the refresh pulse sum SUM becomes 121 accordingly, please refer to the refresh pulse sum 121 corresponding to the temperature of 65° C. in FIG. 6A .
参照图6A,以存储器为温度55℃为例,刷新脉冲计数[1](即整个周期中单一时间段的刷新请求信号REFREQ为1个脉冲的刷新脉冲计数COUNT的数量)为11,刷新脉冲计数[16](即整个周期中单一时间段的刷新请求信号REFREQ为16个脉冲的刷新脉冲计数COUNT的数量)为5,刷新脉冲总和SUM为91,而平均刷新脉冲个数为5.69(即刷新脉冲总和SUM除以16),平均刷新间隔为2.81(即16除以平均刷新脉冲个数),其他温度则以此类推,不再赘述。由图6A可知,存储器具不同温度时,温度感测电路10可以提供具不同平均刷新间隔的刷新请求信号REFREQ。6A , taking the memory at a temperature of 55° C. as an example, the refresh pulse count [1] (i.e., the number of refresh pulse counts COUNT of the refresh request signal REFREQ of 1 pulse in a single time period of the entire cycle) is 11, the refresh pulse count [16] (i.e., the number of refresh pulse counts COUNT of the refresh request signal REFREQ of 16 pulses in a single time period of the entire cycle) is 5, the refresh pulse sum SUM is 91, and the average number of refresh pulses is 5.69 (i.e., the refresh pulse sum SUM divided by 16), and the average refresh interval is 2.81 (i.e., 16 divided by the average number of refresh pulses). The same is true for other temperatures, which will not be described in detail. As shown in FIG. 6A , when the memory has different temperatures, the temperature sensing circuit 10 can provide a refresh request signal REFREQ with different average refresh intervals.
图6B是依据本发明一实施例所示出的经估计的刷新请求的平均间隔对温度的X-Y图。参照图6A与6B,温度感测电路10在温度为20℃~80℃中每10℃提供不同的平均刷新间隔,从而实现高刷新间隔分辨率。换言之,温度感测电路10可依据存储器温度来动态调整刷新脉冲计数[1]与刷新脉冲计数[16]分别在整个周期所占的比例,以调整平均刷新间隔,进而改善平均刷新间隔对温度的分辨率。由于不需增加更多的选择电路、计数器与温度传感器(未示出)来进行多温度逐步控制,可进一步降低电流消耗。FIG. 6B is an X-Y graph of the estimated average interval of refresh requests versus temperature according to an embodiment of the present invention. Referring to FIGS. 6A and 6B , the temperature sensing circuit 10 provides different average refresh intervals every 10° C. in the temperature range of 20° C. to 80° C., thereby achieving high refresh interval resolution. In other words, the temperature sensing circuit 10 can dynamically adjust the proportion of the refresh pulse count [1] and the refresh pulse count [16] in the entire cycle according to the memory temperature to adjust the average refresh interval, thereby improving the resolution of the average refresh interval versus temperature. Since there is no need to add more selection circuits, counters, and temperature sensors (not shown) to perform multi-temperature step-by-step control, current consumption can be further reduced.
图7是依据本发明另一实施例所示出的温度感测电路的方块图。图7与图1大致相同,不再赘述。图7与图1差别在于,图7中温度感测电路20中的计数电路120还接收刷新请求信号REFREQ,并依据刷新请求信号REFREQ来产生计数信号CNT_N。FIG7 is a block diagram of a temperature sensing circuit according to another embodiment of the present invention. FIG7 is substantially the same as FIG1 and will not be described in detail. The difference between FIG7 and FIG1 is that the counting circuit 120 in the temperature sensing circuit 20 in FIG7 further receives a refresh request signal REFREQ and generates a counting signal CNT_N according to the refresh request signal REFREQ.
图8是依据本发明另一实施例所示出的温度感测电路的电路示意图。图8与图2大致相同,不再赘述。图8与图2差别在于,图8中温度感测电路20中的计数器230用以接收并计数刷新请求信号REFREQ的脉冲数量,以产生计数信号CNT_N。在另一实施例中,计数器230每计数1个刷新请求信号REFREQ的上沿,便产生一个计数信号CNT_N的脉冲,因此计数信号CNT_N的周期为刷新请求信号REFREQ的1倍。FIG8 is a circuit diagram of a temperature sensing circuit according to another embodiment of the present invention. FIG8 is substantially the same as FIG2 and will not be described in detail. The difference between FIG8 and FIG2 is that the counter 230 in the temperature sensing circuit 20 in FIG8 is used to receive and count the number of pulses of the refresh request signal REFREQ to generate a counting signal CNT_N. In another embodiment, the counter 230 generates a pulse of the counting signal CNT_N each time it counts a rising edge of the refresh request signal REFREQ, so the period of the counting signal CNT_N is 1 times that of the refresh request signal REFREQ.
图9是依据本发明另一实施例所示出的温度感测电路的时序图。参照图9,在另一实施例中,温度感测电路20中的计数器230用以接收并计数刷新请求信号REFREQ的脉冲数量,以产生计数信号CNT_N。温度感测电路20中的控制电路130依据图4的转换表对计数信号CNT_N进行逻辑转换,而产生感测调整信号ST,并产生致能信号EN。其对应请参照图9中的计数信号CNT_N与感测调整信号ST。温度感测电路20中的感测电路140中的开关串250依据感测调整信号ST而导通多个开关SW1~SW7中的一个,以接收多个默认温度电压VT20~VT80中的一个,并产生参考温度电压VRT,其对应请参照图9中的感测调整信号ST与参考温度电压VRT。当监控电压VMON在默认温度电压VT50与VT60之间(例如VT55)时,且当参考温度电压VRT为默认温度电压VT20~VT50时,感测电路140禁能决定信号DET;当参考温度电压VRT为默认温度电压VT60~VT80时,感测电路140致能决定信号DET。当决定信号DET被致能时,选择电路150中的选择器252输出计数信号CNT_1的脉冲而选择器251不输出信号;当决定信号DET被禁能时,选择电路150中的选择器251输出振荡信号OSC的脉冲而选择器252不输出信号。因此,选择器251与252依据决定信号DET的逻辑电平而交替启动,以共同产生刷新请求信号REFREQ,其对应请参照图9中的决定信号DET与刷新请求信号REFREQ。在另一实施例中,每个时间段的刷新请求信号REFREQ的刷新间隔如图9所示,且整个周期(即计数信号CNT_N从逻辑值0至15)的刷新请求信号REFREQ的总刷新间隔为61。FIG. 9 is a timing diagram of a temperature sensing circuit according to another embodiment of the present invention. Referring to FIG. 9 , in another embodiment, the counter 230 in the temperature sensing circuit 20 is used to receive and count the number of pulses of the refresh request signal REFREQ to generate a counting signal CNT_N. The control circuit 130 in the temperature sensing circuit 20 performs a logic conversion on the counting signal CNT_N according to the conversion table of FIG. 4 to generate a sensing adjustment signal ST and an enable signal EN. Please refer to the counting signal CNT_N and the sensing adjustment signal ST in FIG. 9 for the corresponding. The switch string 250 in the sensing circuit 140 in the temperature sensing circuit 20 turns on one of the multiple switches SW1 to SW7 according to the sensing adjustment signal ST to receive one of the multiple default temperature voltages VT20 to VT80 and generate a reference temperature voltage VRT, which please refer to the sensing adjustment signal ST and the reference temperature voltage VRT in FIG. 9 for the corresponding. When the monitoring voltage VMON is between the default temperature voltage VT50 and VT60 (e.g., VT55), and when the reference temperature voltage VRT is the default temperature voltage VT20-VT50, the sensing circuit 140 disables the decision signal DET; when the reference temperature voltage VRT is the default temperature voltage VT60-VT80, the sensing circuit 140 enables the decision signal DET. When the decision signal DET is enabled, the selector 252 in the selection circuit 150 outputs a pulse of the counting signal CNT_1 and the selector 251 does not output a signal; when the decision signal DET is disabled, the selector 251 in the selection circuit 150 outputs a pulse of the oscillation signal OSC and the selector 252 does not output a signal. Therefore, the selectors 251 and 252 are alternately activated according to the logic level of the decision signal DET to jointly generate the refresh request signal REFREQ, which corresponds to the decision signal DET and the refresh request signal REFREQ in FIG. 9 . In another embodiment, the refresh interval of the refresh request signal REFREQ in each time period is as shown in FIG. 9 , and the total refresh interval of the refresh request signal REFREQ in the entire cycle (ie, the count signal CNT_N from logic value 0 to 15) is 61.
图10A是依据本发明另一实施例所示出的经估计的刷新请求的平均间隔统计表。参照图10A,以存储器为温度55℃为例,刷新脉冲计数[16]为3,刷新脉冲计数[1]为13,平均刷新间隔为3.81,其他温度则以此类推,不再赘述。因此由图10A可知,在另一实施例中,当存储器具不同温度时,温度感测电路20可以提供具不同平均刷新间隔的刷新请求信号REFREQ。FIG. 10A is a statistical table showing the estimated average interval of refresh requests according to another embodiment of the present invention. Referring to FIG. 10A , taking the memory at a temperature of 55° C. as an example, the refresh pulse count [16] is 3, the refresh pulse count [1] is 13, and the average refresh interval is 3.81. The same is true for other temperatures, which will not be described in detail. Therefore, it can be seen from FIG. 10A that in another embodiment, when the memory has different temperatures, the temperature sensing circuit 20 can provide a refresh request signal REFREQ with different average refresh intervals.
图10B是依据本发明另一实施例所示出的经估计的刷新请求的平均间隔对温度的X-Y图。参照图10A与10B,温度感测电路20在温度为20℃~80℃中每10℃提供不同的平均刷新间隔,从而实现高刷新间隔分辨率。换言之,温度感测电路20可依据存储器温度来动态调整刷新脉冲计数[16]与刷新脉冲计数[1]在整个周期所占的比例,以调整平均刷新间隔,进而改善平均刷新间隔对温度的分辨率。由于不需增加更多的选择电路、计数器与温度传感器(未示出)来进行多温度逐步控制,可进一步降低电流消耗。FIG. 10B is an X-Y graph of the estimated average interval of refresh requests versus temperature according to another embodiment of the present invention. Referring to FIGS. 10A and 10B , the temperature sensing circuit 20 provides different average refresh intervals every 10° C. in the temperature range of 20° C. to 80° C., thereby achieving high refresh interval resolution. In other words, the temperature sensing circuit 20 can dynamically adjust the proportion of the refresh pulse count [16] and the refresh pulse count [1] in the entire cycle according to the memory temperature to adjust the average refresh interval, thereby improving the resolution of the average refresh interval versus temperature. Since there is no need to add more selection circuits, counters, and temperature sensors (not shown) to perform multi-temperature step-by-step control, current consumption can be further reduced.
图11A是依据本发明又一实施例所示出的经估计的刷新请求的平均间隔统计表。图11B是依据本发明又一实施例所示出的经估计的刷新请求的平均间隔对温度的X-Y图。参照图11A与图11B,其与图6A、图6B、图10A与图10B的差别在于,图11A与图11B中温度感测电路10或温度感测电路20的默认温度之间的步进(step)是可调的,而非将步进固定为10℃。在又一实施例中,例如可以在室温附近的温度使用较小的步进,例如是5℃,则可在室温附近得到较高的平均刷新间隔对温度的分辨率。举例而言,如图11A与图11B,在又一实施例中,于温度30℃~50℃之间仅为5℃的步进,而在温度30℃~50℃之外的步进则大于5℃,显然温度30℃~50℃之间平均刷新间隔对温度的分辨率已被提升。意即,本发明还可以通过调整温度感测电路10或温度感测电路20的多个默认温度电压VT20~VT80之间的步进,从而使刷新请求信号REFREQ的平均刷新间隔在不同温度下的分辨率不相同。换句话说,分辨率可以是不均匀的,从而本发明可以在电路组件数量不变动的前提下,改变特定温度区间的分辨率。FIG. 11A is a statistical table of the estimated average interval of refresh requests according to another embodiment of the present invention. FIG. 11B is an X-Y diagram of the estimated average interval of refresh requests versus temperature according to another embodiment of the present invention. Referring to FIG. 11A and FIG. 11B, the difference between FIG. 6A, FIG. 6B, FIG. 10A and FIG. 10B is that the step between the default temperatures of the temperature sensing circuit 10 or the temperature sensing circuit 20 in FIG. 11A and FIG. 11B is adjustable, rather than fixing the step to 10°C. In another embodiment, for example, a smaller step, such as 5°C, can be used at a temperature near room temperature, so that a higher resolution of the average refresh interval to temperature can be obtained near room temperature. For example, as shown in FIG. 11A and FIG. 11B, in another embodiment, the step between the temperature of 30°C to 50°C is only 5°C, while the step outside the temperature of 30°C to 50°C is greater than 5°C. Obviously, the resolution of the average refresh interval to temperature between the temperature of 30°C to 50°C has been improved. That is, the present invention can also adjust the steps between the multiple default temperature voltages VT20-VT80 of the temperature sensing circuit 10 or the temperature sensing circuit 20, so that the average refresh interval of the refresh request signal REFREQ has different resolutions at different temperatures. In other words, the resolution can be non-uniform, so that the present invention can change the resolution of a specific temperature range without changing the number of circuit components.
图12是依据本发明一实施例所示出的温度感测电路的操作方法的流程图。参照图12,于步骤S1210,振荡器110提供振荡信号OSC。于步骤S1220,计数电路120计数振荡信号OSC以产生计数信号CNT_1,计数电路120并产生计数信号CNT_N。接着,于步骤S1230,控制电路130对计数信号CNT_N进行逻辑运算,以产生致能信号EN以及感测调整信号ST。于步骤S1240,感测电路140依据感测调整信号ST来分压参考电压VREF以产生参考温度电压VRT,依据致能信号EN的逻辑电平来比较参考温度电压VRT与监控电压VMON,并依据比较结果产生决定信号DET。于步骤S1250,选择电路150依据决定信号DET动态选择振荡信号OSC与计数信号CNT_1中的其中一者,并依据所动态选择的振荡信号OSC与计数信号CNT_1的其中一者来产生刷新请求信号REFREQ的脉冲。FIG. 12 is a flow chart of an operation method of a temperature sensing circuit according to an embodiment of the present invention. Referring to FIG. 12 , in step S1210, the oscillator 110 provides an oscillation signal OSC. In step S1220, the counting circuit 120 counts the oscillation signal OSC to generate a counting signal CNT_1, and the counting circuit 120 also generates a counting signal CNT_N. Next, in step S1230, the control circuit 130 performs a logic operation on the counting signal CNT_N to generate an enable signal EN and a sensing adjustment signal ST. In step S1240, the sensing circuit 140 divides the reference voltage VREF according to the sensing adjustment signal ST to generate a reference temperature voltage VRT, compares the reference temperature voltage VRT with the monitoring voltage VMON according to the logic level of the enable signal EN, and generates a decision signal DET according to the comparison result. In step S1250 , the selection circuit 150 dynamically selects one of the oscillation signal OSC and the counting signal CNT_1 according to the determination signal DET, and generates a pulse of the refresh request signal REFREQ according to the dynamically selected one of the oscillation signal OSC and the counting signal CNT_1 .
综上所述,本发明的温度感测电路及其感测方法可以动态调整刷新请求信号的平均刷新间隔,以改善平均刷新间隔对温度的分辨率。本发明通过动态选择振荡信号与计数信号,来调整不同刷新间隔的刷新脉冲在整个周期所占的比例,从而调整平均刷新间隔,进而改善平均刷新间隔对温度的分辨率。由于不需要运用添加更多的选择电路、计数器与温度传感器来进行多温度逐步控制,可进一步降低电流消耗,且无须增加振荡信号的频率。此外,根据本发明一实施例,本发明还可使平均刷新间隔对温度的分辨率为不均匀配置,从而提高对目标温度区域的分辨率。In summary, the temperature sensing circuit and sensing method of the present invention can dynamically adjust the average refresh interval of the refresh request signal to improve the resolution of the average refresh interval to the temperature. The present invention adjusts the proportion of refresh pulses with different refresh intervals in the entire cycle by dynamically selecting an oscillation signal and a counting signal, thereby adjusting the average refresh interval and improving the resolution of the average refresh interval to the temperature. Since there is no need to add more selection circuits, counters and temperature sensors to perform multi-temperature step-by-step control, current consumption can be further reduced without increasing the frequency of the oscillation signal. In addition, according to one embodiment of the present invention, the present invention can also make the resolution of the average refresh interval to the temperature unevenly configured, thereby improving the resolution of the target temperature area.
本领域技术人员将明白,在不脱离本发明的范围或精神的情况下,可对所公开的实施例的结构做出各种修改和变化。鉴于前述内容,希望本发明涵盖属于随附权利要求和其等效物的范围内的本发明的修改和变化。Those skilled in the art will appreciate that various modifications and changes may be made to the structure of the disclosed embodiments without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention encompasses modifications and changes of the present invention within the scope of the appended claims and their equivalents.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010247617.9A CN113470709B (en) | 2020-03-31 | 2020-03-31 | Temperature sensing circuit and sensing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010247617.9A CN113470709B (en) | 2020-03-31 | 2020-03-31 | Temperature sensing circuit and sensing method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113470709A CN113470709A (en) | 2021-10-01 |
CN113470709B true CN113470709B (en) | 2024-04-12 |
Family
ID=77865794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010247617.9A Active CN113470709B (en) | 2020-03-31 | 2020-03-31 | Temperature sensing circuit and sensing method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113470709B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1637942A (en) * | 2003-12-29 | 2005-07-13 | 海力士半导体有限公司 | Semiconductor memory device with optimum refresh cycle according to temperature variation |
TW200620287A (en) * | 2004-12-07 | 2006-06-16 | Elite Semiconductor Esmt | Temperature-dependent DRAM self-refresh circuit |
CN104979000A (en) * | 2014-04-09 | 2015-10-14 | 力旺电子股份有限公司 | Sensing device and data sensing method thereof |
CN105043580A (en) * | 2014-04-16 | 2015-11-11 | 矽统科技股份有限公司 | Single Chip Temperature Sensing Device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100861371B1 (en) * | 2007-06-25 | 2008-10-01 | 주식회사 하이닉스반도체 | Temperature sensor and semiconductor memory device using same |
KR20130015940A (en) * | 2011-08-05 | 2013-02-14 | 에스케이하이닉스 주식회사 | Semiconductor memory device comprising teperature test circuit |
KR102338628B1 (en) * | 2017-12-29 | 2021-12-10 | 에스케이하이닉스 주식회사 | Temperature sensor circuit and semiconductor device including it |
-
2020
- 2020-03-31 CN CN202010247617.9A patent/CN113470709B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1637942A (en) * | 2003-12-29 | 2005-07-13 | 海力士半导体有限公司 | Semiconductor memory device with optimum refresh cycle according to temperature variation |
TW200620287A (en) * | 2004-12-07 | 2006-06-16 | Elite Semiconductor Esmt | Temperature-dependent DRAM self-refresh circuit |
CN104979000A (en) * | 2014-04-09 | 2015-10-14 | 力旺电子股份有限公司 | Sensing device and data sensing method thereof |
CN105043580A (en) * | 2014-04-16 | 2015-11-11 | 矽统科技股份有限公司 | Single Chip Temperature Sensing Device |
Non-Patent Citations (1)
Title |
---|
一种新颖的微处理器电源监控芯片的设计;应建华;苏丽琼;;通信电源技术(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113470709A (en) | 2021-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8325550B2 (en) | Semiconductor memory device and method of controlling auto-refresh | |
US8675438B2 (en) | Methods of operating DRAM devices having adjustable internal refresh cycles that vary in response to on-chip temperature changes | |
KR100287979B1 (en) | Detection method and circuit of flash memory with multilevel cells | |
KR100611775B1 (en) | Semiconductor memory device with optimal refresh cycle according to temperature change | |
US6847244B2 (en) | Variable duty cycle clock generation circuits and methods and systems using the same | |
TWI420534B (en) | Duty correction circuit | |
US10090828B2 (en) | Duty-cycle correction circuit and method | |
US9000813B2 (en) | Waveform generation circuit | |
US20230297130A1 (en) | Clock duty cycle adjustment and calibration circuit and method of operating same | |
US7863955B2 (en) | Semiconductor device and operation method thereof | |
US11536613B2 (en) | Temperature sensing circuit and sensing method thereof | |
CN113470709B (en) | Temperature sensing circuit and sensing method thereof | |
CN108231123A (en) | A kind of calibration method of semiconductor storage unit | |
KR20090089460A (en) | Fluctuation correction method, pll circuit and semiconductor integrated circuit | |
TWI725773B (en) | Temperature sensing circuit and sensing method thereof | |
JP6876174B1 (en) | Temperature sensing circuit and its sensing method | |
KR102303926B1 (en) | Temperature sensing circuit and sensing method thereof | |
US7596029B2 (en) | Flash memory device including unified oscillation circuit and method of operating the device | |
US7786774B2 (en) | Phase synchronization apparatus | |
US12158497B2 (en) | Electronic circuit performing analog built-in self test and operating method thereof | |
US11573584B2 (en) | Voltage generation circuits | |
CN117169589A (en) | Frequency detection circuit and electronic equipment | |
CN112398461A (en) | Voltage generating circuit and integrated circuit including the same | |
US8692607B2 (en) | Control circuit for an internal voltage generation circuit | |
CN115664382B (en) | Oscillator circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |