JPH07176185A - Control device for refreshing - Google Patents

Control device for refreshing

Info

Publication number
JPH07176185A
JPH07176185A JP5320139A JP32013993A JPH07176185A JP H07176185 A JPH07176185 A JP H07176185A JP 5320139 A JP5320139 A JP 5320139A JP 32013993 A JP32013993 A JP 32013993A JP H07176185 A JPH07176185 A JP H07176185A
Authority
JP
Japan
Prior art keywords
ram
refresh
interval time
temperature
refresh interval
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.)
Pending
Application number
JP5320139A
Other languages
Japanese (ja)
Inventor
Keiji Obara
啓二 小原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5320139A priority Critical patent/JPH07176185A/en
Publication of JPH07176185A publication Critical patent/JPH07176185A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To guarantee normal memory access and to reduce power consumption by referring to stored parameters of temperature characteristic to a standard value in accordance with measured ambient temperature and correcting and adjusting a refreshing interval time of a DRAM. CONSTITUTION:A sensor 15 and a temperature measuring circuit 16 measure ambient temperature of a D-RAM3, parameters of a temperature characteristic to a standard value of a refreshing interval time (Rt) are stored in a storage element 20. First, Rt corresponding to the present temperature measured by the circuit 16 is set to a variable timer 21 referring to the characteristic stored in the element 20, a memory test of the RAM 3 is performed by a CPU1. Consequently, when operation is normal, it is judged that an actual value is longer than the present Rt, the present Rt+alpha is set to the timer 21 again, and test is performed again. When operation becomes abnormal during repeating of this operation, the present value -2alpha of the timer 21 is set again. Thereby, Rt is corrected in accordance with ambient temperature, normal memory access is guaranteed, and power consumption can be reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、携帯型コンピュータ等
のダイナミックランダムアクセスメモリ(D−RAM)
を備えて、バッテリからの電源で駆動される装置におけ
るD−RAMのリフレッシュ制御装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dynamic random access memory (D-RAM) for a portable computer or the like.
And a refresh control device for a D-RAM in a device driven by a power supply from a battery.

【0002】[0002]

【従来の技術】図5はこの種のD−RAMのリフレッシ
ュ制御装置を備えるコンピュータシステムの構成を説明
するブロック図であり、CPU1は、D−RAMコント
ローラ2を介してD−RAM3をアクセスするシステム
に対応する。以下、構成及び動作について説明する。
2. Description of the Related Art FIG. 5 is a block diagram for explaining the configuration of a computer system including a D-RAM refresh control device of this type, in which a CPU 1 accesses a D-RAM 3 via a D-RAM controller 2. Corresponding to. The configuration and operation will be described below.

【0003】CPU1はD−RAMコントローラ2に対
しアクセスしたいアドレスをアドレスバス5に供給し、
さらに、書き込みか読み出しかを指示するコマンド信号
7を出力しその結果、対象となるデータを双方向データ
バス6を介してやり取りする。
The CPU 1 supplies an address that the D-RAM controller 2 wants to access to the address bus 5,
Further, a command signal 7 for instructing write or read is output, and as a result, target data is exchanged via the bidirectional data bus 6.

【0004】一方、CPU1からそうした要求が出され
たD−RAMコントローラ2はその構成要素である、D
−RAMアクセス制御装置4において、CPU1から供
給されたアドレスをROW/COLUMNアドレスに変
換しD−RAM3のアドレスバス8に出力し、また、C
PU1から出力されたコマンド信号7をD−RAM3が
受け入れられる形式のコマンド信号10に変換し、さら
に、D−RAM3のデータバス9のバッファリングや方
向制御などを行い、CPU1とD−RAM3間のデータ
のやり取りを制御する。
On the other hand, the D-RAM controller 2 to which such a request is issued from the CPU 1 is its constituent element, D
-In the RAM access control device 4, the address supplied from the CPU 1 is converted into a ROW / COLUMN address and output to the address bus 8 of the D-RAM 3, and C
The command signal 7 output from the PU 1 is converted into a command signal 10 in a format that the D-RAM 3 can accept, and further, the data bus 9 of the D-RAM 3 is buffered and the direction is controlled. Control data exchange.

【0005】D−RAMコントローラ2は、前記したC
PU1とD−RAM3間のデータのやり取りの制御と並
行して、その構成要素であるD−RAMリフレッシュ制
御装置11で、内蔵するタイマ12等で指定されたタイ
ミングでCPU1にD−RAM3がリフレッシュサイク
ルを実行する間、D−RAM3へのアクセスを禁止させ
るためにHOLD(バス開放要求)信号13を出力し、
CPU1がそれを受け付けるとともにD−RAM3に対
しては、リフレッシュ・コマンド信号14を出力する。
The D-RAM controller 2 is the above-mentioned C
In parallel with the control of data exchange between PU1 and D-RAM3, the D-RAM3 is refreshed to the CPU1 at the timing specified by the built-in timer 12 etc. in the D-RAM refresh control device 11 which is its constituent element. During execution, the HOLD (bus release request) signal 13 is output to prohibit access to the D-RAM 3,
The CPU 1 accepts it and outputs the refresh command signal 14 to the D-RAM 3.

【0006】なお、本発明が適用されるD−RAMのリ
フレッシュに関する規格としては、そのD−RAMの最
悪の使用条件におけるリフレッシュ間隔時間という規定
があり、そのリフレッシュ間隔時間以内にそのD−RA
MのLOWアドレスの数以上のリフレッシュ・サイクル
を実行しなければならない。
As a standard for refreshing a D-RAM to which the present invention is applied, there is a definition of a refresh interval time under the worst use condition of the D-RAM, and the D-RA within the refresh interval time is defined.
More refresh cycles than the number of M LOW addresses must be performed.

【0007】そこで、従来のD−RAMリフレッシュ制
御装置11では、最も簡単な制御で済むように、D−R
AM3のリフレッシュに関する規格で規定されたリフレ
ッシュ間隔時間以内にLOWアドレスの数以上のタイム
アウトを発生するようなタイマ12を有し、このタイマ
12のタイムアウトのタイミングでCPU1にHOLD
要求を示すHOLD信号13を出し、CPU1がその要
求を受け付けるとともに、D−RAM3に対しCAS
BEFORE RAS リフレッシュ コマンド信号1
4を出力し、リフレッシュサイクルを実行させるという
ような方式が一般的であった。
Therefore, in the conventional D-RAM refresh control device 11, the D-R is controlled so that the simplest control can be performed.
It has a timer 12 for generating a timeout more than the number of LOW addresses within the refresh interval time defined by the standard relating to the refresh of AM3, and at the timing of the timeout of this timer 12, the CPU1 is held.
A HOLD signal 13 indicating a request is issued, the CPU 1 accepts the request, and the D-RAM 3 receives the CAS.
BEFORE RAS refresh command signal 1
A method in which 4 is output and a refresh cycle is executed was common.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、最近の
小型計量化が要求されるバッテリ駆動装置においては更
にD−RAMの消費電力を低下させる必要が出てきた。
特に、サスペンド−リジューム機能を有する装置におけ
るサスペンド状態においては、D−RAMの内容を保持
するための電力は、全体の50%以上を占めるようにな
ってきた。また、このサスペンド状態におけるD−RA
Mの内容を保持するための電力というのは、そのほとん
どが、リフレッシュを行うときのリフレッシュサイクル
で消費される電力である。
However, it has become necessary to further reduce the power consumption of the D-RAM in the recent battery-operated devices which are required to be miniaturized.
In particular, in the suspend state of the device having the suspend-resume function, the power for holding the contents of the D-RAM has come to account for 50% or more of the whole. In addition, D-RA in this suspended state
Most of the power for holding the contents of M is the power consumed in the refresh cycle when refreshing is performed.

【0009】よって、リフレッシュサイクルの単位時間
当たりの回数を減らすこと、つまり、リフレッシュ間隔
時間を長くすることができれば、装置の消費電力を減ら
すことができる。
Therefore, if the number of refresh cycles per unit time can be reduced, that is, the refresh interval time can be lengthened, the power consumption of the device can be reduced.

【0010】しかしながら、前述したようにリフレッシ
ュ間隔時間はD−RAMの規格で規定されており、従来
は、その規格で規定された間隔以下でリフレッシュを行
っていた。
However, as described above, the refresh interval time is defined by the D-RAM standard, and conventionally, refresh is performed at an interval equal to or less than the interval defined by the standard.

【0011】また、最近の電子機器ではD−RAMがモ
ジュール化されて交換可能な構成になっているため、様
々の種類(リフレッシュ間隔時間の温度特性および規格
値)のD−RAMが装着される可能性が出てきたため、
そのような規格に柔軟に対応できない事態も発生する等
の問題点があった。
Further, in recent electronic devices, since the D-RAM is modularized and has a replaceable structure, various types (temperature characteristics and standard values of refresh interval time) of the D-RAM are mounted. Because the possibility came out,
There are problems such as a situation in which such standards cannot be flexibly dealt with.

【0012】本発明は、上記の問題点を解消するために
なされたもので、ダイナミックRAMの動作環境温度を
測定してリフレッシュタイミングを規格されたリフレッ
シュ間隔時間を参照して可変調整することにより、消費
電力を大幅に節約し、かつ正常なメモリアクセスを保証
できるリフレッシュ制御装置を提供することを目的とす
る。
The present invention has been made to solve the above problems, and measures the operating environment temperature of the dynamic RAM and variably adjusts the refresh timing with reference to the standard refresh interval time. An object of the present invention is to provide a refresh control device capable of significantly saving power consumption and guaranteeing normal memory access.

【0013】[0013]

【課題を解決するための手段】本発明に係るリフレッシ
ュ制御装置は、ダイナミックRAMの周囲温度を測定す
る周囲温度測定手段と、前記ダイナミックRAMのリフ
レッシュ間隔時間の温度特性のパラメータおよび規格値
を記憶する記憶手段と、前記周囲温度測定手段により測
定された周囲温度に応じて前記規格値に対し前記温度特
性パラメータを参照して前記ダイナミックRAMのリフ
レッシュ間隔時間を補正調整するリフレッシュ間隔調整
手段とを有するものである。
A refresh control device according to the present invention stores ambient temperature measuring means for measuring an ambient temperature of a dynamic RAM, and parameters and standard values of temperature characteristics of refresh interval time of the dynamic RAM. Storage means and refresh interval adjusting means for correcting and adjusting the refresh interval time of the dynamic RAM by referring to the temperature characteristic parameter with respect to the standard value according to the ambient temperature measured by the ambient temperature measuring means Is.

【0014】また、リフレッシュ間隔調整手段は、CP
Uとのコマンドアクセスを実行して補正されたフレッシ
ュ間隔時間を調整可能に構成したものである。
The refresh interval adjusting means is CP
It is configured such that the fresh interval time corrected by executing command access with U can be adjusted.

【0015】[0015]

【作用】本発明においては、リフレッシュ制御装置は、
周囲温度測定手段により測定された周囲温度に応じてリ
フレッシュ間隔調整手段が記憶された規格値に対し温度
特性パラメータを参照してダイナミックRAMのリフレ
ッシュ間隔時間を補正調整して、環境温度に対応してダ
イナミックRAMのリフレッシュ間隔を可変しても、正
常なメモリアクセスを保証しつつ、消費電力を格段に節
減するものである。
In the present invention, the refresh controller is
According to the ambient temperature measured by the ambient temperature measuring means, the refresh interval adjusting means refers to the temperature characteristic parameter with respect to the stored standard value to correct and adjust the refresh interval time of the dynamic RAM to correspond to the ambient temperature. Even if the refresh interval of the dynamic RAM is varied, normal memory access is guaranteed and power consumption is significantly reduced.

【0016】また、リフレッシュ間隔調整手段は、CP
Uとのコマンドアクセスを実行して補正されたフレッシ
ュ間隔時間を調整可能して、交換可能なダイナミックR
AMに対応して柔軟にリフレッシュ間隔時間を補正調整
するものである。
The refresh interval adjusting means is CP
Exchangeable dynamic R with adjustable fresh interval time by executing command access with U
The refresh interval time is flexibly adjusted and adjusted according to AM.

【0017】[0017]

【実施例】【Example】

〔第1実施例〕図1は本発明の第1実施例を示すリフレ
ッシュ制御装置の構成を示すブロック図であり、図5と
同一のものには同一の符号を付してある。
[First Embodiment] FIG. 1 is a block diagram showing the configuration of a refresh control device according to a first embodiment of the present invention. The same parts as those in FIG. 5 are designated by the same reference numerals.

【0018】図において、15は前記D−RAM3の周
囲温度の情報を得るためD−RAM3の周辺に配置され
たセンサ、16は前記センサ15からの情報を後述する
リフレッシュ間隔調整手段12が理解できる温度情報に
変換するための温度測定回路、17は前記センサ15お
よび温度測定回路16とで構成される周囲温度測定手段
である。
In the figure, 15 is a sensor arranged around the D-RAM 3 to obtain information on the ambient temperature of the D-RAM 3, and 16 is information which can be understood by a refresh interval adjusting means 12 which will be described later. A temperature measuring circuit for converting into temperature information, and 17 is an ambient temperature measuring means composed of the sensor 15 and the temperature measuring circuit 16.

【0019】12はリフレッシュ間隔調整手段で、前記
D−RAM3のリフレッシュ間隔時間の温度特性パラメ
ータや規格値を記憶する記憶素子20及び可変タイマ2
1を備えていて、前記周囲温度測定手段17からの温度
情報18を使用してリフレッシュ間隔時間の温度補正を
することができ、その補正されたリフレッシュ間隔時間
以内にD−RAM3のLOWアドレスの数のタイムアウ
ト時にCPU1にHOLD(バス開放要求)信号13を
出力し、CPU1がそれを受け付けるとともにD−RA
M3に対しては、CAS BEFORE RASリフレ
ッシュ・コマンド信号14を出力する。
Reference numeral 12 is a refresh interval adjusting means, which is a storage element 20 for storing temperature characteristic parameters and standard values of the refresh interval time of the D-RAM 3 and a variable timer 2.
1, the temperature information 18 from the ambient temperature measuring means 17 can be used to correct the temperature of the refresh interval time, and the number of LOW addresses of the D-RAM 3 can be corrected within the corrected refresh interval time. Output a HOLD (bus release request) signal 13 to the CPU 1 at time-out, and the CPU 1 accepts it and D-RA
The CAS BEFORE RAS refresh command signal 14 is output to M3.

【0020】図2はこの種のD−RAMの周囲温度Ta
(℃)とリフレッシュ間隔時間tREF (mS)との関係
を示す特性図である。
FIG. 2 shows the ambient temperature Ta of this type of D-RAM.
FIG. 6 is a characteristic diagram showing a relationship between (° C.) and refresh interval time t REF (mS).

【0021】この図に示すように、温度特性C1〜C3
のように3種類の特性があるのは、D−RAMのICチ
ップ毎のばらつきを示している。
As shown in this figure, temperature characteristics C1 to C3
The fact that there are three types of characteristics as described above indicates variations among IC chips of the D-RAM.

【0022】このような特性に対して、D−RAMの規
格で規定されたリフレッシュ間隔時間は、規格値C4の
ような特性を示す。これは、前述した温度特性C1〜C
3のようなD−RAMの特性に対し最悪の使用条件(周
囲温度に関しては、70℃が一般的)、つまり70℃に
おける値にマージンを持たせて決めたものであるからで
ある。前述したようなD−RAMの温度特性を考慮すれ
ば、仮想特性C5に示されるような特性で規定しても差
し支えない。
In contrast to such characteristics, the refresh interval time defined by the D-RAM standard shows characteristics such as the standard value C4. This is the temperature characteristics C1 to C described above.
This is because it is determined by giving the margin to the worst use condition (70 ° C. is generally used for the ambient temperature), that is, the value at 70 ° C. for the characteristics of the D-RAM as shown in FIG. Considering the temperature characteristic of the D-RAM as described above, the characteristic may be defined by the virtual characteristic C5.

【0023】従って、従来のD−RAMリフレッシュ制
御装置のようにD−RAMの規格で規定されたリフレッ
シュ間隔時間でリフレッシュを行った場合には、常温
(20℃)においては実際に必要な間隔の1/10以下
の間隔でリフレッシュを行っていることになる。
Therefore, when the refresh is performed at the refresh interval time defined by the D-RAM standard as in the conventional D-RAM refresh control device, at the room temperature (20 ° C.), the actually required interval is maintained. This means that refresh is performed at intervals of 1/10 or less.

【0024】つまり、実際に必要な電力の10倍以上の
電力を使用していることになる。低温(0℃)において
は、実に100倍近い電力を使用していることになる。
That is, it means that 10 times or more the electric power actually used is used. At low temperature (0 ° C.), it means that the electric power used is almost 100 times higher.

【0025】そこで、本発明に係るリフレッシュ制御装
置は、D−RAM3の周囲温度を測定する周囲温度測定
手段17を有し、前記D−RAM3のリフレッシュ間隔
時間の温度特性のパラメータおよび規格値を記憶してお
くメモリを備え、周囲温度測定手段17により測定され
た周囲温度に応じて規格値に対し前記温度特性パラメー
タを参照してリフレッシュ間隔調整手段12が温度補正
をすることにより、図2の仮想特性C5に示すような特
性を作り出すことができ、その値を満たすように前記D
−RAM3のリフレッシュ間隔時間を調整することによ
り、D−RAM3の周囲温度に応じて最適な間隔のリフ
レッシュを行うことができるものである。
Therefore, the refresh control device according to the present invention has the ambient temperature measuring means 17 for measuring the ambient temperature of the D-RAM 3, and stores the parameter and standard value of the temperature characteristic of the refresh interval time of the D-RAM 3. 2, the refresh interval adjusting unit 12 corrects the temperature by referring to the temperature characteristic parameter with respect to the standard value according to the ambient temperature measured by the ambient temperature measuring unit 17, and thus the virtual temperature in FIG. It is possible to create a characteristic as shown in the characteristic C5, and to satisfy the value, the above D
By adjusting the refresh interval time of the RAM 3, it is possible to perform refresh at an optimum interval according to the ambient temperature of the D-RAM 3.

【0026】また、温度特定パラメータや規格値等をR
OM等の記憶素子等にまとめておくと、D−RAMモジ
ュールを交換するときにその記憶素子等または、その内
容、またはその複数の内容の1つを指し示しているテー
ブルアドレス等も同時に交換することにより、種々の種
類のD−RAMに対応することができる。
Further, the temperature specifying parameter, standard value, etc. are set to R
When the D-RAM module is replaced, the storage element or the contents thereof, or a table address indicating one of the plurality of contents is also replaced at the same time when the D-RAM module is replaced. Thus, various types of D-RAM can be supported.

【0027】具体的には、リフレッシュ間隔調整手段1
2は、前記D−RAM3のリフレッシュ間隔時間の温度
特性C1〜C3(図2参照)のパラメータおよび規格値
C4またはリフレッシュ間隔時間t1 を記憶しておくこ
とが可能で、周囲温度測定手段17により測定された周
囲温度に応じて規格値に対し温度特性パラメータを使い
温度補正、例えば図2の特性C2をリフレッシュ間隔時
間tREF の軸の値の小さい方向へ、温度Ta=70℃に
おいて、規格値C4と交差するまで平行移動させるよう
な演算を行うことができる。
Specifically, the refresh interval adjusting means 1
2, the parameters of the temperature characteristics C1 to C3 (see FIG. 2) of the refresh interval time of the D-RAM 3 and the standard value C4 or the refresh interval time t 1 can be stored. Temperature correction is performed using a temperature characteristic parameter with respect to the standard value according to the measured ambient temperature, for example, the characteristic C2 in FIG. 2 is set to the standard value at the temperature Ta = 70 ° C. in the direction in which the axis value of the refresh interval time t REF becomes smaller. It is possible to perform a calculation such that the parallel movement is performed until it intersects with C4.

【0028】すなわち、図2の仮想特性C5、それが困
難な場合には、例えば10℃間隔の近似仮想特性C6を
作り出すことができる。
That is, the virtual characteristic C5 shown in FIG. 2, or if it is difficult, the approximate virtual characteristic C6 at intervals of 10 ° C. can be created.

【0029】そして、その時の温度において仮想特性C
5に適合するようなリフレッシュ間隔時間を内蔵する可
変タイマに設定する。この可変タイマは、その設定され
たリフレッシュ間隔時間内に制御しているD−RAM3
のLOWアドレスの数のタイムアウトを発生する。
The virtual characteristic C at the temperature at that time
Set a variable timer with a built-in refresh interval time that conforms to 5. This variable timer controls the D-RAM 3 which is controlled within the set refresh interval time.
Generate a timeout for the number of LOW addresses.

【0030】そして、そのタイムアウトのタイミング
で、CPU1にリフレッシュサイクルの間D−RAM3
へのアクセスを禁止させるためにHOLD(バス開放要
求)信号13を出力し、CPU1がそれを受け付けると
ともにD−RAMに対して、CAS BEFORE R
ASリフレッシュ・コマンド信号14を出力し、D−R
AM3にリフレッシュサイクルを実行させる。
Then, at the timing of the time-out, the CPU 1 receives the D-RAM 3 during the refresh cycle.
A HOLD (bus release request) signal 13 is output to prohibit access to the CPU, and the CPU 1 accepts it and the CAS BEFORE R to the D-RAM.
AS refresh command signal 14 is output and DR
Make AM3 perform a refresh cycle.

【0031】以上の動作の繰り返しにより、このD−R
AMリフレッシュ制御装置は、測定された温度環境に最
適な可変間隔でD−RAM3に要求されるリフレッシュ
を行うことができ、そのD−RAMの内容(データ)を
保持し続けることができる。
By repeating the above operation, this DR
The AM refresh control device can perform the required refresh of the D-RAM 3 at variable intervals optimal for the measured temperature environment, and can continue to hold the content (data) of the D-RAM.

【0032】上記第1実施例によれば、該D−RAMを
使用した装置が通常使用される温度(20〜25℃)に
おいて、リフレッシュに伴う消費電力を約1/10にす
ることができる。特に、従来のサスペンド−リジューム
機能を有する携帯型電子機器においては、そのサスペン
ド時の消費電力の半分以上がD−RAMの内容を保持す
るために使われていることを考慮すると、本発明を採用
すると、サスペンド時の消費電力を約半分にすることが
できる。
According to the first embodiment, the power consumption associated with refreshing can be reduced to about 1/10 at the temperature (20 to 25 ° C.) at which the device using the D-RAM is normally used. Particularly, in the conventional portable electronic device having the suspend-resume function, considering that more than half of the power consumption at the time of suspend is used for holding the contents of the D-RAM, the present invention is adopted. Then, the power consumption during suspension can be reduced to about half.

【0033】また、低温時にはサスペンド時のD−RA
Mの内容を保持するため消費電力を無視できる程までに
減らすことができるため、携帯型電子機器の電力源とし
てよく採用されるNi−Cd電池の低温時に放電効率が
かなり落ちるという欠点を補うことができ、そのような
機器に大きな効果が期待できる。
D-RA during suspend at low temperature
Since the power consumption can be reduced to a negligible level because the content of M is retained, the drawback of the Ni-Cd battery, which is often used as a power source for portable electronic devices, at the time of low temperature is considerably reduced. It is possible to expect such a device to have a great effect.

【0034】しかも、D−RAMをモジュール化し修理
やメモリの増設のためにそれを交換したり、追加する時
にD−RAMのリフレッシュ間隔時間の温度特性や規格
値が異なるD−RAMモジュールであっても、リフレッ
シュ間隔調整手段に記憶されているパラメータを変更す
るだけで対応できる。 〔第2実施例〕また、メーカからの出荷されるD−RA
M3は、実際に必要なリフレッシュ間隔時間において、
図2の温度特性C1〜C3に示されるようにかなりのば
らつきがある。そして、D−RAMの規格で規定される
リフレッシュ間隔時間はばらつきの下限のものに対して
10倍程以上のマージンを持たせて規定されている。
In addition, the D-RAM is a D-RAM module in which the temperature characteristic and the standard value of the refresh interval time of the D-RAM are different when the D-RAM is modularized and is replaced or added to repair or add memory. Also, this can be dealt with only by changing the parameter stored in the refresh interval adjusting means. [Second Embodiment] D-RA shipped from the manufacturer
M3 is the actual required refresh interval time,
There are considerable variations as shown by the temperature characteristics C1 to C3 in FIG. The refresh interval time specified by the D-RAM standard is specified with a margin of about 10 times or more with respect to the lower limit of the variation.

【0035】さらに、ばらつきの上限のほうにあるD−
RAMに対しては、実に100倍程度のマージンがあ
る。
Further, D- near the upper limit of the variation
There is a margin of about 100 times that for RAM.

【0036】そこで、D−RAMの実力値を有効に活用
することを考える。そのために、上記第1実施例で説明
したリフレッシュ間隔調整手段12を、リフレッシュ間
隔調整手段12が作り出した仮想特性C5の各温度にお
ける値を読み出したり、可変タイマに任意の値を読み出
したり、可変タイマに任意の値を設定できる等のCPU
1からのアクセスを受け付けられるように機能拡張す
る。
Therefore, it will be considered to effectively utilize the actual value of the D-RAM. Therefore, the refresh interval adjusting means 12 described in the first embodiment is used to read the value at each temperature of the virtual characteristic C5 created by the refresh interval adjusting means 12, to read an arbitrary value to the variable timer, and to use the variable timer. CPU that can set any value to
The function is expanded so that access from 1 can be accepted.

【0037】図3は本発明の第2実施例を示すリフレッ
シュ制御装置の構成を示すブロック図であり、図1と同
一のものには同一の符号を付してある。
FIG. 3 is a block diagram showing the structure of a refresh control device according to the second embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals.

【0038】同図において、12Aは機能拡張されたリ
フレッシュ間隔調整手段、19はCPU1が前記リフレ
ッシュ間隔調整手段12AをアクセスするためのI/O
コマンド信号である。それ以外は、図1と全く同じであ
り、前記実施例1で説明しているため省略する。
In the figure, reference numeral 12A is a refresh interval adjusting means whose function is expanded, and 19 is an I / O for the CPU 1 to access the refresh interval adjusting means 12A.
It is a command signal. Other than that, it is exactly the same as that of FIG. 1, and since it has been described in the first embodiment, the description thereof is omitted.

【0039】この様に構成されたリフレッシュ制御装置
において、CPU1は工場出荷時やパワーオン時のシス
テムイニシャライズ時等にROM(D−RAMのアクセ
スが正常に行われなくてもプログラムを実行できるも
の)等に納められた図4のフローチャートに示すような
実力リフレッシュ間隔時間の実力値、つまり、実力リフ
レッシュ間隔時間の判定処理を行う。
In the refresh controller thus constructed, the CPU 1 is a ROM (which can execute a program even if the D-RAM is not normally accessed) at the time of factory initialization or system initialization at power-on. A determination process of the ability value of the ability refresh interval time, that is, the ability refresh interval time as shown in the flowchart of FIG.

【0040】図4は本発明に係るリフレッシュ制御装置
における実力リフレッシュ間隔時間判定処理手順の一例
を示すフローチャートである。なお、(1)〜(5)は
各ステップを示す。
FIG. 4 is a flow chart showing an example of the procedure of the ability refresh interval time determination processing in the refresh control device according to the present invention. Note that (1) to (5) indicate each step.

【0041】なお、説明をわかりやすくするために現在
のD−RAMの周囲温度が20℃であるとし、前記第1
実施例で説明した特性と同じ特性のD−RAMを使用す
るものとする。
In order to make the explanation easy to understand, it is assumed that the current ambient temperature of the D-RAM is 20 ° C.
It is assumed that a D-RAM having the same characteristics as those described in the embodiment is used.

【0042】まず、ステップ(1)において、基本とな
るリフレッシュ間隔時間、すなわち、仮想特性図(図2
のC5)の20℃に対応する値(図2のt6 )を可変タ
イマ21に設定する。次に、ステップ(2)においてこ
のD−RAMが現在設定されているリフレッシュ間隔時
間で正常に動作できるかどうかを確認するためのメモリ
テストを行う。そして、ステップ(3)でその結果を見
て正常であれば実力値は現在設定されているリフレッシ
ュ間隔時間よりも長いと判断できるのでステップ(4)
へ進む。ステップ(4)では、可変タイマに現在設定さ
れている値よりももう少し長いリフレッシュ間隔時間を
設定するために可変タイマに現在設定されている値を読
み出した後、それに適当な増分値αを加算したものを再
び可変タイマに書き込む。その後、ステップ(2)に戻
り、再度メモリテストを行い、ステップ(3)でその結
果を判断する。
First, in step (1), a basic refresh interval time, that is, a virtual characteristic diagram (see FIG. 2).
The value (t 6 in FIG. 2) corresponding to 20 ° C. of C5) is set in the variable timer 21. Next, in step (2), a memory test is performed to confirm whether this D-RAM can operate normally within the currently set refresh interval time. If the result is normal in step (3), it can be determined that the ability value is longer than the currently set refresh interval time, so step (4)
Go to. In step (4), the value currently set in the variable timer is read in order to set a refresh interval time slightly longer than the value currently set in the variable timer, and then an appropriate increment value α is added to it. Write things back to the variable timer. After that, the process returns to step (2), the memory test is performed again, and the result is judged in step (3).

【0043】以上のステップ(2)〜(4)を繰り返
し、ステップ(3)において正常でない結果がでると、
その時の可変タイマの値(図2のリフレッシュ間隔時間
9 )は実力値を越えていると判断できるので、ステッ
プ(5)において、その時の可変タイマの値から、マー
ジンを考慮し2α(実行値ーαとなる)を減算した値を
実力リフレッシュ間隔時間値(図2のリフレッシュ間隔
時間t8 )として、可変タイマに設定する。そして、実
力リフレッシュ間隔時間判定プログラムを終了する。
When the above steps (2) to (4) are repeated and an abnormal result is obtained in step (3),
Since it can be determined that the value of the variable timer at that time (refresh interval time t 9 in FIG. 2) exceeds the actual value, in step (5), 2α (execution value) is taken into consideration from the value of the variable timer at that time. The value obtained by subtracting (-α) is set in the variable timer as the actual refresh interval time value (refresh interval time t 8 in FIG. 2). Then, the ability refresh interval time determination program is ended.

【0044】このようにして、CPU1によりそのD−
RAM3の現在の温度、つまり20℃の実力リフレッシ
ュ間隔時間(図2のt8 )を設定されたリフレッシュ間
隔調整手段12Aは、前記第1実施例で説明したリフレ
ッシュ間隔調整手段12と同様に、周囲温度測定手段1
7からの温度情報をもとにその20℃の実力リフレッシ
ュ間隔時間に対しその他の各温度における温度補正を行
うことができるため、図2に示す実力特性C7に示すよ
うな実力特性を作り出すことができ、その実力特性に対
応したリフレッシュ間隔時間でD−RAM3のリフレッ
シュを行うことができる。この様に、リフレッシュ間隔
調整手段12Aは、CPU1とのコマンドアクセスを実
行して補正されたフレッシュ間隔時間を可変調整可能し
て、交換可能なダイナミックRAMに対応して柔軟にリ
フレッシュ間隔時間を補正調整することができる。
In this way, the D-
The refresh interval adjusting means 12A in which the current temperature of the RAM 3, that is, the actual refresh interval time of 20 ° C. (t 8 in FIG. 2) is set, is the same as the refresh interval adjusting means 12 described in the first embodiment. Temperature measuring means 1
Based on the temperature information from 7, it is possible to perform temperature correction at each other temperature for the actual refresh interval time of 20 ° C. Therefore, it is possible to create an actual characteristic as shown by an actual characteristic C7 shown in FIG. Therefore, the D-RAM 3 can be refreshed at the refresh interval time corresponding to the ability characteristic. In this way, the refresh interval adjusting means 12A can variably adjust the fresh interval time corrected by executing the command access with the CPU 1, and flexibly adjust and adjust the refresh interval time corresponding to the replaceable dynamic RAM. can do.

【0045】よって、第1実施例の効果に対して、さら
に10倍以上の長さのリフレッシュ間隔時間を可変設定
することができる。
Therefore, it is possible to variably set the refresh interval time which is 10 times or more longer than the effect of the first embodiment.

【0046】上記第2実施例によれば、第1実施例に比
してさらに大幅に消費電力を減らすことができるため
に、C−MOS・RAMのように小さなバックアップ電
池で内容を保持することができるようになるため大変便
利である。
According to the second embodiment, the power consumption can be further reduced as compared with the first embodiment. Therefore, the contents are held by a small backup battery such as a C-MOS RAM. It is very convenient because you can do it.

【0047】また、リフレッシュ間隔調整手段が記憶し
ているパラメータ等を変更するために、ROM等の記憶
素子を交換する必要が発生しても、CPUとのデータの
やり取りをすることができため、電気的書き換え可能な
記憶素子(EEPROM)を使用して、CPUからその
内容(上述したパラメータ等)を変更することができる
ため、交換作業が不要となる効果も期待できる。
Even if it is necessary to replace the storage element such as the ROM in order to change the parameters or the like stored in the refresh interval adjusting means, the data can be exchanged with the CPU. Since an electrically rewritable storage element (EEPROM) can be used to change the contents (parameters and the like described above) from the CPU, an effect that replacement work is unnecessary can be expected.

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
周囲温度測定手段により測定された周囲温度に応じてリ
フレッシュ間隔調整手段が記憶された規格値に対し温度
特性パラメータを参照してダイナミックRAMのリフレ
ッシュ間隔時間を補正調整するので、環境温度に対応し
てダイナミックRAMのリフレッシュ間隔を可変して
も、正常なメモリアクセスを保証しつつ、消費電力を格
段に節減することができる。
As described above, according to the present invention,
The refresh interval adjusting unit corrects and adjusts the refresh interval time of the dynamic RAM with reference to the temperature characteristic parameter with respect to the stored standard value according to the ambient temperature measured by the ambient temperature measuring unit. Even if the refresh interval of the dynamic RAM is changed, it is possible to significantly reduce power consumption while ensuring normal memory access.

【0049】また、リフレッシュ間隔調整手段は、CP
Uとのコマンドアクセスを実行して補正されたフレッシ
ュ間隔時間を調整可能して、交換可能なダイナミックR
AMに対応して柔軟にリフレッシュ間隔時間を補正調整
することができる。
The refresh interval adjusting means is CP
Exchangeable dynamic R with adjustable fresh interval time by executing command access with U
The refresh interval time can be flexibly adjusted and adjusted according to AM.

【0050】従って、消費電力を大幅に節約し、かつ正
常なメモリアクセスを保証できるという優れた効果を奏
する。
Therefore, there is an excellent effect that power consumption is greatly saved and normal memory access can be guaranteed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1実施例を示すリフレッシュ制御装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a refresh control device showing a first embodiment of the present invention.

【図2】この種のD−RAMの周囲温度とリフレッシュ
間隔時間との関係を示す特性図である。
FIG. 2 is a characteristic diagram showing the relationship between the ambient temperature and the refresh interval time of this type of D-RAM.

【図3】本発明の第2実施例を示すリフレッシュ制御装
置の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a refresh control device showing a second embodiment of the present invention.

【図4】本発明に係るリフレッシュ制御装置における実
力リフレッシュ間隔時間判定処理手順の一例を示すフロ
ーチャートである。
FIG. 4 is a flow chart showing an example of an ability refresh interval time determination processing procedure in the refresh control device according to the present invention.

【図5】この種のD−RAMのリフレッシュ制御装置を
備えるコンピュータシステムの構成を説明するブロック
図である。
FIG. 5 is a block diagram illustrating a configuration of a computer system including a D-RAM refresh control device of this type.

【符号の説明】[Explanation of symbols]

1 CPU 2 D−RAMコントローラ 3 D−RAM 4 D−RAMアクセス制御装置 11 D−RAMリフレッシュ制御装置 12 リフレッシュ間隔調整手段 15 センサ 16 温度測定回路 17 周囲温度測定手段 20 記憶素子 21 可変タイマ 1 CPU 2 D-RAM controller 3 D-RAM 4 D-RAM access control device 11 D-RAM refresh control device 12 refresh interval adjusting means 15 sensor 16 temperature measuring circuit 17 ambient temperature measuring means 20 storage element 21 variable timer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ダイナミックRAMの周囲温度を測定す
る周囲温度測定手段と、前記ダイナミックRAMのリフ
レッシュ間隔時間の温度特性のパラメータおよび規格値
を記憶する記憶手段と、前記周囲温度測定手段により測
定された周囲温度に応じて前記規格値に対し前記温度特
性パラメータを参照して前記ダイナミックRAMのリフ
レッシュ間隔時間を補正調整するリフレッシュ間隔調整
手段とを有することを特徴とするリフレッシュ制御装
置。
1. An ambient temperature measuring means for measuring an ambient temperature of a dynamic RAM, a storage means for storing a temperature characteristic parameter and a standard value of a refresh interval time of the dynamic RAM, and an ambient temperature measuring means. A refresh control device comprising: refresh interval adjusting means for correcting and adjusting a refresh interval time of the dynamic RAM by referring to the temperature characteristic parameter with respect to the standard value according to an ambient temperature.
【請求項2】 リフレッシュ間隔調整手段は、CPUと
のコマンドアクセスを実行して補正されたフレッシュ間
隔時間を調整可能に構成したことを特徴とする請求項1
記載のリフレッシュ制御装置。
2. The refresh interval adjusting means is configured to adjust the fresh interval time corrected by executing command access with the CPU.
The refresh control device described.
JP5320139A 1993-12-20 1993-12-20 Control device for refreshing Pending JPH07176185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5320139A JPH07176185A (en) 1993-12-20 1993-12-20 Control device for refreshing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5320139A JPH07176185A (en) 1993-12-20 1993-12-20 Control device for refreshing

Publications (1)

Publication Number Publication Date
JPH07176185A true JPH07176185A (en) 1995-07-14

Family

ID=18118148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5320139A Pending JPH07176185A (en) 1993-12-20 1993-12-20 Control device for refreshing

Country Status (1)

Country Link
JP (1) JPH07176185A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030011257A (en) * 2001-07-06 2003-02-07 인피네온 테크놀로지스 아게 Dram refresh timing adjustment device, system, and method
US7543106B2 (en) 2005-11-04 2009-06-02 Samsung Electronics Co., Ltd. Apparatus and method for controlling refresh of semiconductor memory device according to positional information of memory chips
JP2010231883A (en) * 2010-06-17 2010-10-14 Renesas Electronics Corp Semiconductor device
JP4700223B2 (en) * 2001-05-18 2011-06-15 株式会社バッファロー DRAM device and DRAM device refresh method
US8473674B2 (en) 2007-10-05 2013-06-25 Fujitsu Limited Information processing device including a plurality of cells to store data, storage control device that controls a storage section including a plurality of cells to store data, and storage control method of controlling a refresh operation of a storage section including a plurality of cells to store data
US8711650B2 (en) 2000-05-26 2014-04-29 Renesas Electronics Corporation Semiconductor device including multi-chip

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8711650B2 (en) 2000-05-26 2014-04-29 Renesas Electronics Corporation Semiconductor device including multi-chip
JP4700223B2 (en) * 2001-05-18 2011-06-15 株式会社バッファロー DRAM device and DRAM device refresh method
KR20030011257A (en) * 2001-07-06 2003-02-07 인피네온 테크놀로지스 아게 Dram refresh timing adjustment device, system, and method
US7543106B2 (en) 2005-11-04 2009-06-02 Samsung Electronics Co., Ltd. Apparatus and method for controlling refresh of semiconductor memory device according to positional information of memory chips
US8473674B2 (en) 2007-10-05 2013-06-25 Fujitsu Limited Information processing device including a plurality of cells to store data, storage control device that controls a storage section including a plurality of cells to store data, and storage control method of controlling a refresh operation of a storage section including a plurality of cells to store data
JP2010231883A (en) * 2010-06-17 2010-10-14 Renesas Electronics Corp Semiconductor device

Similar Documents

Publication Publication Date Title
US8225031B2 (en) Memory module including environmental optimization
US20070067599A1 (en) Memory controller having programmable initialization sequence
JP2008522345A (en) DRAM refresh based on temperature
KR0169288B1 (en) Microcomputer system
JPH0675672A (en) Method and system for controlling utilization of electric power
EP0092976A2 (en) Memory writing control apparatus
US20040174763A1 (en) Memory subsystem voltage control and method
US20050002268A1 (en) Semiconductor memory device and electronic apparatus
JP2002366421A (en) Memory control circuit and memory control method
US4313180A (en) Refresh system for a dynamic memory
JPH03269376A (en) Testing device for semiconductor device
JPH0612866A (en) Data processing system and method for refreshing dram
US6597615B2 (en) Refresh control for semiconductor memory device
JPH07176185A (en) Control device for refreshing
JP4700223B2 (en) DRAM device and DRAM device refresh method
US5297098A (en) Control apparatus for data storage apparatus
US20020027821A1 (en) Refresh control for semiconductor memory device
JP2003044303A (en) Computer system
JP2007299227A (en) Information processing apparatus and method for booting the same
JPH07320018A (en) Memory card, electronic equipment using memory card, and method for setting access speed of memory card
CN113257301A (en) Method and device for automatically updating DRAM refresh interval
KR20210103069A (en) Memory test device and operation method thereof
JPS6259396B2 (en)
JP2682000B2 (en) PROM programmer
JPH05120870A (en) Refreshing method for d-ram