JPH10187302A - Data storage system and method for saving power applied to the same system - Google Patents

Data storage system and method for saving power applied to the same system

Info

Publication number
JPH10187302A
JPH10187302A JP34806196A JP34806196A JPH10187302A JP H10187302 A JPH10187302 A JP H10187302A JP 34806196 A JP34806196 A JP 34806196A JP 34806196 A JP34806196 A JP 34806196A JP H10187302 A JPH10187302 A JP H10187302A
Authority
JP
Japan
Prior art keywords
power
power supply
data storage
storage system
data
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
JP34806196A
Other languages
Japanese (ja)
Inventor
Kuniaki Suzuki
國明 鈴木
Hiroshi Sukegawa
博 助川
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP34806196A priority Critical patent/JPH10187302A/en
Publication of JPH10187302A publication Critical patent/JPH10187302A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Memory System (AREA)
  • Read Only Memory (AREA)
  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To exactly execute an inside saving operation after power source interruption by realizing a power saving function for saving the power of a preliminary power source to be used at the time of power source interruption in a system using a semiconductor disk device. SOLUTION: A data storage system using a semiconductor disk device constituted of a flash EEPROM 2 is provided with a power source device 4 equipped with a preliminary power source 4A and a power supply voltage monitoring circuit 5 having a function for detecting power source interruption. A controller 3 receives the information of the detection of the power source interruption from the power supply voltage monitoring circuit 5, and executes the inside saving operation of the system by the preliminary power source 4A after transition to a power saving mode. Thus, the power consumption of the preliminary power source can be saved in the power saving mode.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータシス
テムに適用し、特にフラッシュEEPROMから構成さ
れる半導体ディスク装置を使用したデータ記憶システム
に関し、電力節約機能を備えたデータ記憶システムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is applied to a computer system, and more particularly to a data storage system using a semiconductor disk device composed of a flash EEPROM, and more particularly to a data storage system having a power saving function.

【0002】[0002]

【従来の技術】従来、コンピュータシステムでは、シス
テムの動作に必要な電力を供給するための電源装置の制
御は、コンピュータ本体の小型化と共に低消費電力化に
対する要求のために重要な要素になっている。ところ
で、コンピュータシステムではメインメモリとは異な
り、電源遮断時にデータの保存を維持できる外部記憶装
置が必要不可欠な構成要素になっている。
2. Description of the Related Art Conventionally, in a computer system, control of a power supply for supplying electric power required for operation of the system has become an important factor in order to reduce the size of a computer body and to reduce power consumption. I have. By the way, in a computer system, unlike a main memory, an external storage device capable of maintaining the storage of data when power is turned off is an essential component.

【0003】この外部記憶装置として、磁気ディスク装
置や光ディスク装置等と比較して、高速アクセスの可能
なフラッシュEEPROM(フラッシュメモリ)から構
成される半導体ディスク装置が注目されている。半導体
ディスク装置では、フラッシュEEPROMは不揮発性
であるため、電源遮断時でも書込みされたデータの保存
を維持できるが、通常ではデータレジスタ(SRAMか
らなるバッファメモリ)を介してディスクコントローラ
とのデータ転送が行なわれている。このため、緊急の電
源遮断が発生した場合に、データレジスタに保持されて
いるデータの書込み処理が終了していない状態もある。
As this external storage device, a semiconductor disk device composed of a flash EEPROM (flash memory) which can be accessed at a higher speed than the magnetic disk device, the optical disk device, and the like has attracted attention. In a semiconductor disk device, the flash EEPROM is non-volatile, so that the written data can be preserved even when the power is turned off. However, data transfer with the disk controller via a data register (buffer memory including SRAM) is normally performed. Is being done. For this reason, when an emergency power-off occurs, there is a state where the writing process of the data held in the data register is not completed.

【0004】そこで、半導体ディスク装置に使用される
電源装置は、電源遮断後でもある程度の予備電力を供給
できるようにコンデンサ(充電式バッテリ)などを使用
した予備電源を備えている。この予備電源により、電源
遮断後に例えばデータレジスタに保持されているデータ
をフラッシュEEPROMに確実に書込み、保存させ
る。このような電源遮断時にデータの保護などの処理を
実行する動作を、ここではシステムの内部待避動作と呼
ぶ。
Therefore, a power supply device used for a semiconductor disk device is provided with a standby power supply using a capacitor (rechargeable battery) or the like so that a certain amount of standby power can be supplied even after the power is turned off. With this standby power supply, for example, the data held in the data register is reliably written and stored in the flash EEPROM after the power is turned off. The operation of executing processing such as data protection when the power is turned off is referred to as a system internal save operation.

【0005】[0005]

【発明が解決しようとする課題】半導体ディスク装置を
使用したシステムでは、前記のように、電源遮断時の予
備電力を得るための予備電源を有する電源装置が使用さ
れている。しかしながら、システムの小型化や軽量化な
どに伴って、予備電源の電源容量は限定されているのが
一般的である。このため、電源遮断後に、遮断前と同様
の電力を使用すると、コンデンサなどの内部抵抗による
電圧降下が急激に発生し、システムの内部待避動作に必
要な電力が得られない場合がある。
As described above, in a system using a semiconductor disk device, a power supply device having a backup power supply for obtaining a backup power at the time of power shutdown is used. However, as the size and weight of the system are reduced, the power supply capacity of the standby power supply is generally limited. For this reason, if the same power as before the power supply is used after the power supply is cut off, a voltage drop due to the internal resistance of the capacitor or the like occurs rapidly, and the power required for the internal evacuation operation of the system may not be obtained.

【0006】そこで、本発明の目的は、半導体ディスク
装置を使用したシステムにおいて、電源遮断時に使用す
る予備電源の電力を節約するための電力節約機能を実現
して、電源遮断後の内部待避動作を確実に実行させるこ
とができるようにして、結果的にシステムの信頼性を向
上させることにある。
Accordingly, an object of the present invention is to realize a power saving function for saving power of a standby power supply used at the time of power-off in a system using a semiconductor disk device, and to perform an internal evacuation operation after the power-off. An object of the present invention is to make it possible to execute the program reliably and to improve the reliability of the system as a result.

【0007】[0007]

【課題を解決するための手段】本発明は、フラッシュE
EPROMから構成される半導体ディスク装置を使用し
たデータ記憶システムにおいて、予備電源を有する電源
手段と、電源遮断を検知する機能を有する電源監視手段
と、電源遮断の検知を通知されたときに予備電源を使用
する電力節約モードに移行させる電力節約モード手段と
を備えたシステムである。このような構成により、シス
テムに対する電源供給が緊急に遮断された場合に、電力
節約モードに移行してシステムの内部待避動作を実行す
ることになる。従って、電力節約モードにより予備電源
の消費電力を節約できるため、システムの内部待避動作
などの必要な処理を確実に実行させることが可能とな
る。
SUMMARY OF THE INVENTION The present invention provides a flash E
In a data storage system using a semiconductor disk device composed of an EPROM, a power supply unit having a standby power supply, a power supply monitoring unit having a function of detecting power shutdown, and a standby power supply when notified of the detection of the power shutdown. Power saving mode means for shifting to a power saving mode to be used. With such a configuration, when the power supply to the system is interrupted urgently, the mode is shifted to the power saving mode and the internal saving operation of the system is executed. Therefore, power consumption of the standby power supply can be reduced by the power saving mode, so that it is possible to reliably execute necessary processing such as an internal save operation of the system.

【0008】本発明の第1の態様としては、電力節約モ
ード手段として電源遮断時にシステムの内部クロックの
周波数を低下させる手段である。この内部クロックの周
波数の低下により、通常時よりも処理速度が低下する
が、消費電力も低下するため、電源容量が限定された予
備電源によりシステムの内部待避動作などの必要な処理
を確実に実行させることができる。
A first aspect of the present invention is a means for lowering the frequency of an internal clock of a system when power is cut off as a power saving mode means. Due to the decrease in the frequency of the internal clock, the processing speed is lower than usual, but the power consumption is also reduced. Can be done.

【0009】本発明の第2の態様としては、電力節約モ
ード手段として電源遮断時に同時活性化させる前記フラ
ッシュEEPROMのメモリ数を減少させるモード切替
手段である。半導体ディスク装置は通常では複数のフラ
ッシュEEPROMを同時並列に動作させているが、モ
ード切替手段により電源遮断時には例えば各フラッシュ
EEPROMをシリアル動作に切り替える。
According to a second aspect of the present invention, there is provided a mode switching means for reducing the number of memories of the flash EEPROM which are simultaneously activated when power is cut off, as a power saving mode means. Normally, the semiconductor disk device operates a plurality of flash EEPROMs in parallel at the same time. However, when the power is turned off by the mode switching means, for example, each flash EEPROM is switched to a serial operation.

【0010】本発明の第3の態様としては、電源遮断時
にホストシステムとの間でデータ転送中の場合に、デー
タ転送の終了処理を実行して、システムの内部待避動作
に必要な処理に移行させる制御手段を有する。電源遮断
によりデータ転送が中断するようなシステムの緊急停止
状態では、いわゆるハングアップ現象(システムのコン
トロール不能状態)が発生する可能性が高い。そこで、
電源遮断時に強制的にデータ転送を終了させることによ
り、ハングアップ現象の発生を防止することが可能とな
る。
According to a third aspect of the present invention, when data is being transferred to / from the host system when the power is turned off, a data transfer end process is executed, and the process shifts to a process required for the internal save operation of the system. Control means for causing In an emergency stop state of the system in which data transfer is interrupted due to power cutoff, there is a high possibility that a so-called hang-up phenomenon (system uncontrollable state) occurs. Therefore,
By forcibly terminating the data transfer when the power is turned off, it is possible to prevent the occurrence of the hang-up phenomenon.

【0011】[0011]

【発明の実施の形態】以下図面を参照して本発明の実施
の形態を説明する。図1は本発明の実施形態に関係する
半導体ディスク装置を使用したコンピュータシステムの
要部を示すブロック図である。 (コンピュータシステム)本発明のコンピュータシステ
ムは、図1に示すように、複数のフラッシュEEPRO
Mにより構成された半導体ディスク装置1を外部記憶装
置として使用する例えばパーソナルコンピュータを想定
している。半導体ディスク装置1は、フラッシュEEP
ROMからなるメモリチップ2と、コントローラ(ディ
スクコントローラ)3と、電源装置4と、本実施形態に
関係する電源電圧監視回路5とを有する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a main part of a computer system using a semiconductor disk device according to an embodiment of the present invention. (Computer System) As shown in FIG. 1, the computer system of the present invention comprises a plurality of flash EEPROMs.
For example, a personal computer using the semiconductor disk device 1 constituted by M as an external storage device is assumed. The semiconductor disk device 1 is a flash EEP
It has a memory chip 2 composed of a ROM, a controller (disk controller) 3, a power supply device 4, and a power supply voltage monitoring circuit 5 related to the present embodiment.

【0012】各メモリチップ2は、EEPROMのメモ
リセル以外に、データレジスタ2Aを有し、このデータ
レジスタ2Aをバッファとして入出力データ(I/O)
の転送を行なう。各メモリチップ2は、リードアクセス
またはライトアクセスに応じてデータのリード/ライト
時にはビジィ(BUSY)信号を出力し、またリード/
ライトが可能であればレディ(READY)信号を出力
する(R/B信号と総称する)。
Each memory chip 2 has a data register 2A in addition to the memory cells of the EEPROM, and the data register 2A serves as a buffer for input / output data (I / O).
Is transferred. Each memory chip 2 outputs a busy (BUSY) signal at the time of data read / write in response to read access or write access.
If writing is possible, a ready (READY) signal is output (generically referred to as an R / B signal).

【0013】コントローラ3は、各メモリチップ2とデ
ータや制御信号(R/B信号やチップセレクト信号CE
など)を交換するための内部インターフェース11と、
ホストシステムの外部バス6とのデータ転送を行なうた
めの外部インターフェース12と、マイクロプロセッサ
(MPU)10と、内部クロックCLを発生するための
クロック発生回路13とを有する。MPU10は、半導
体ディスク装置1のメイン制御装置であり、図示しない
ROMに格納されたプログラムを実行することにより、
リード/ライトコマンド処理などの各種の制御動作を実
行する(プログラムと共にファームウェアとも呼ぶ)。
クロック発生回路13は、MPU10などのコントロー
ラ3の内部動作に必要な内部クロックCLを出力する。
The controller 3 communicates data and control signals (R / B signals and chip select signals CE) with each memory chip 2.
Internal interface 11 for exchanging
The host system includes an external interface 12 for performing data transfer with the external bus 6 of the host system, a microprocessor (MPU) 10, and a clock generation circuit 13 for generating an internal clock CL. The MPU 10 is a main control device of the semiconductor disk device 1 and executes a program stored in a ROM (not shown) to
Performs various control operations such as read / write command processing (also called firmware together with programs).
The clock generation circuit 13 outputs an internal clock CL required for the internal operation of the controller 3 such as the MPU 10.

【0014】電源装置4は、半導体ディスク装置1の動
作に必要な電力を供給する電源本体と、例えば大容量の
コンデンサ(充電式バッテリ)などからなる予備電源4
Aを有する。予備電源4Aは、電源本体の電力供給の停
止(電源遮断)時に、所定の電源容量分の予備電力を供
給する。電源電圧監視回路5は、電源装置4がオンして
から電源電圧を監視し、電源遮断(電源オフ)を検知し
て検出信号PLをコントローラ3に出力する。
The power supply device 4 includes a power supply main body for supplying power required for the operation of the semiconductor disk device 1 and a backup power supply 4 including, for example, a large-capacity capacitor (rechargeable battery).
A. The standby power supply 4A supplies standby power for a predetermined power supply capacity when the power supply of the power supply main body is stopped (power cutoff). The power supply voltage monitoring circuit 5 monitors the power supply voltage after the power supply device 4 is turned on, detects power interruption (power off), and outputs a detection signal PL to the controller 3.

【0015】ホストシステムは、外部バス6を介して半
導体ディスク装置1などの周辺デバイスと接続されるコ
ンピュータ本体であり、マイクロプロセッサ(CPU)
7およびメインメモリ(DRAM)8を有する。ここ
で、半導体ディスク装置1は、具体的には、例えばPC
カードコントローラにより制御されるフラッシュメモリ
カードやフラッシュ記憶ドライブとしてホストシステム
に接続される。 (第1の実施形態の電力節約動作)前述のようなシステ
ム構成において、本実施形態は、電源装置4の電源遮断
が発生したときに、予備電源4Aからの電力供給に切替
わると共に、コントローラ3は電力節約モードによる動
作を実行して、半導体ディスク装置1の制御、具体的に
は後述するシステムの内部待避動作を実行する。
The host system is a computer main unit connected to peripheral devices such as the semiconductor disk device 1 via the external bus 6, and includes a microprocessor (CPU).
7 and a main memory (DRAM) 8. Here, the semiconductor disk device 1 is specifically, for example, a PC
It is connected to a host system as a flash memory card or flash storage drive controlled by a card controller. (Power Saving Operation of the First Embodiment) In the system configuration as described above, in the present embodiment, when the power supply of the power supply device 4 is cut off, the power supply is switched to the power supply from the standby power supply 4A and the controller 3 Executes an operation in the power saving mode to control the semiconductor disk device 1, specifically, to execute an internal save operation of the system described later.

【0016】以下図4のフローチャートを参照して、本
実施形態の電力節約モードによる動作を具体的に説明す
る。まず、電源装置4がオンして半導体ディスク装置1
に電力供給が開始されると、コントローラ3はホストシ
ステムからのリード/ライトアクセスに要求に応じて、
各メモリチップ2を制御する(ステップS1)。即ち、
リードアクセスであれば、コントローラ3はチップセレ
クト信号CEにより、アクセス対象のデータを格納した
メモリチップ2を選択して、データレジスタ2Aを介し
てデータを読出す。コントローラ3は、内部インターフ
ェース11を介して読出したデータを入力して、外部イ
ンターフェース12を介してホストシステムに転送す
る。また、ライトアクセスであれば、コントローラ3は
外部インターフェース12を介してホストシステムから
ライトデータを入力し、内部インターフェース11を介
して選択したメモリチップ2にデータを出力する。メモ
リチップ2は、データをデータレジスタ2Aにバッファ
した後に書込み動作を実行する。
Hereinafter, the operation in the power saving mode of the present embodiment will be specifically described with reference to the flowchart of FIG. First, the power supply device 4 is turned on and the semiconductor disk device 1
Is started, the controller 3 responds to a request for read / write access from the host system,
Each memory chip 2 is controlled (step S1). That is,
In the case of read access, the controller 3 selects the memory chip 2 storing the data to be accessed by the chip select signal CE, and reads the data via the data register 2A. The controller 3 inputs the read data via the internal interface 11 and transfers the data to the host system via the external interface 12. In the case of write access, the controller 3 inputs write data from the host system via the external interface 12 and outputs data to the selected memory chip 2 via the internal interface 11. The memory chip 2 executes a write operation after buffering data in the data register 2A.

【0017】ここで、電源電圧監視回路5は、電源装置
4の電源電圧を監視しており、緊急や異常等を含む電源
遮断の発生を検知する。即ち、電源遮断(電源オフ)が
発生すると、電源電圧監視回路5はそれを検知して検出
信号PLをコントローラ3に出力する(ステップS2〜
S4)。
Here, the power supply voltage monitoring circuit 5 monitors the power supply voltage of the power supply device 4 and detects the occurrence of power interruption including emergency or abnormality. That is, when a power interruption (power off) occurs, the power supply voltage monitoring circuit 5 detects this and outputs a detection signal PL to the controller 3 (steps S2 to S2).
S4).

【0018】コントローラ3は、電源電圧監視回路5か
らの電源遮断の通知を受けて、電力節約モードに切替え
て、通常では例えば5V電圧の動作を例えば3Vの低電
圧モードの動作に切り替える(ステップS11のYE
S)。そして、コントローラ3は、電源遮断時に必要な
電源オフ時処理であるシステムの内部待避動作などを実
行する(ステップS12)。システムの内部待避動作と
は、例えば電源遮断時に書込みデータがデータレジスタ
2Aに保持されているが、メモリチップ2に書込まれる
前の状態において、データレジスタ2Aからデータが確
実に書込まれて保存させるための動作である。これによ
り、電源遮断時にデータの保護を確実に実現することが
できる。 (変形例1)前記の電力節約モードの変形例として、ク
ロック発生回路13により生成される内部クロックCL
の周波数を切り替える機能を想定する。即ち、例えばM
PU10は電源電圧監視回路5からの電源遮断の通知を
受けると、クロック発生回路13を制御して、内部クロ
ックCLの周波数を低下させる(ステップS5,S
6)。これにより、MPU10は動作クロックの周波数
が低下するため、動作速度が低下するが、消費電力も減
少する。従って、結果的にコントローラ3は電力節約モ
ードによる動作となる。 (変形例2)電力節約モードの変形例として、フラッシ
ュEEPROMの同時活性化メモリ数を減少させる機能
を想定する。具体的には図2を参照して、本変形例に関
係するコントローラ3の内部構成を説明する。
The controller 3 receives the power-off notification from the power-supply voltage monitoring circuit 5, switches to the power saving mode, and normally switches the operation at, for example, 5V voltage to the operation at, for example, 3V low voltage mode (step S11). YE
S). Then, the controller 3 executes an internal evacuation operation of the system, which is a power-off process required when the power is turned off (step S12). The internal save operation of the system means that, for example, when the power is turned off, the write data is held in the data register 2A, but before the data is written into the memory chip 2, the data is surely written from the data register 2A and saved. This is the operation for causing the As a result, data protection can be reliably achieved when the power is turned off. (Modification 1) As a modification of the power saving mode, the internal clock CL generated by the clock generation circuit 13 is used.
It is assumed that the function of switching the frequency of the signal is used. That is, for example, M
When the PU 10 receives the power cut-off notification from the power supply voltage monitoring circuit 5, the PU 10 controls the clock generation circuit 13 to lower the frequency of the internal clock CL (Steps S5 and S5).
6). As a result, the MPU 10 operates at a lower frequency because the frequency of the operation clock is lower, but the power consumption is also lower. Therefore, as a result, the controller 3 operates in the power saving mode. (Modification 2) As a modification of the power saving mode, a function of reducing the number of simultaneously activated memories of the flash EEPROM is assumed. Specifically, an internal configuration of the controller 3 related to the present modification will be described with reference to FIG.

【0019】即ち、内部インターフェース11は、各メ
モリチップ2からそれぞれR/B信号を並列に入力し
て、入出力データの転送を制御するインターフェースコ
ントローラ11Aに相当する機能を備えている。通常で
は、インターフェースコントローラ11Aは、各メモリ
チップ2を同時に活性化して各R/B信号を並列に入力
している。本変形例は、モード切替回路11Cと選択機
能付きオアゲート回路(OR回路)11Bを設けた構成
である。
That is, the internal interface 11 has a function corresponding to an interface controller 11A for inputting R / B signals from the respective memory chips 2 in parallel and controlling the transfer of input / output data. Normally, the interface controller 11A simultaneously activates each memory chip 2 and inputs each R / B signal in parallel. This modification has a configuration in which a mode switching circuit 11C and an OR gate circuit (OR circuit) 11B having a selection function are provided.

【0020】OR回路11Bは通常時には動作せず、各
メモリチップ2からのR/B信号を選択的にインターフ
ェースコントローラ11Aに出力する。モード切替回路
11Cは、電源電圧監視回路5からの電源遮断の検出信
号PLを入力すると、OR回路11Bを動作させる(ス
テップS7,S8のYES)。これにより、インターフ
ェースコントローラ11Aは同時並列ではなく、例えば
シリアルに各メモリチップ2を制御して、OR回路11
Bを介してR/B信号を選択的に入力する(ステップS
9)。これにより、同時活性化メモリ数を減少させるこ
とにより、結果的に消費電力の低減化を図ることができ
る。
The OR circuit 11B does not operate normally, and selectively outputs the R / B signal from each memory chip 2 to the interface controller 11A. When the mode switching circuit 11C receives the power-off detection signal PL from the power-supply voltage monitoring circuit 5, the mode switching circuit 11C operates the OR circuit 11B (Steps S7 and S8: YES). Thereby, the interface controller 11A controls each memory chip 2 in a serial manner, for example, not in a simultaneous
R / B signal is selectively input via B (step S
9). As a result, by reducing the number of simultaneously activated memories, power consumption can be reduced as a result.

【0021】なお、本変形例において、モード切替回路
11CとOR回路11Bとを使用するハードウェア構成
ではなく、ファームウェア(MPU10)により同時活
性化メモリ数を減少させる機能でもよい(ステップS8
のNO,S10)。即ち、MPU10は、電源電圧監視
回路5からの電源遮断の通知を受けると、シリアルに各
メモリチップ2をアクセス制御して、同時活性化メモリ
数を減少させる。
In this modified example, instead of the hardware configuration using the mode switching circuit 11C and the OR circuit 11B, a function of reducing the number of simultaneously activated memories by the firmware (MPU 10) may be used (step S8).
NO, S10). That is, when the MPU 10 receives the power-off notification from the power-supply voltage monitoring circuit 5, it serially controls access to each memory chip 2 to reduce the number of simultaneously activated memories.

【0022】以上のように本実施形態によれば、電源電
圧監視回路5からの電源遮断の通知がなされると、コン
トローラ3は各種の電力節約モードに切替えて、消費電
力を抑制しながらシステムの内部待避動作などの処理を
実行する。この電力節約モードへの切り替えにより、電
源遮断後に使用される予備電源4Aの消費電力を抑制す
ることができるため、限定された容量の予備電源4Aを
有効に使用して、システムの内部待避動作などの処理を
確実に行なうことが可能となる。 (第2の実施形態)図3のブロック図と図5のフローチ
ャートは第2の実施形態に関係する図である。第2の実
施形態は、電源遮断時にホストシステムとのデータ転送
が継続中の場合に対する処理である。
As described above, according to the present embodiment, when the power supply voltage monitoring circuit 5 notifies the power supply is cut off, the controller 3 switches to various power saving modes to reduce the power consumption while controlling the system. Executes a process such as an internal evacuation operation. By switching to the power saving mode, the power consumption of the standby power supply 4A used after the power is turned off can be suppressed. Therefore, the standby power supply 4A having a limited capacity is effectively used, and the internal evacuation operation of the system and the like are performed. Can be surely performed. (Second Embodiment) The block diagram of FIG. 3 and the flowchart of FIG. 5 are diagrams related to the second embodiment. The second embodiment is a process for a case where the data transfer with the host system is continuing when the power is turned off.

【0023】本実施形態では、図3に示すように、コン
トローラ3において、外部インターフェース12には電
源電圧監視回路5からの電源遮断の通知(検出信号P
L)を受けたときに、データ転送中であればデータ転送
の終了処理を実行する制御回路12Aが設けられてい
る。以下、図5のフローチャートを参照して、具体的に
説明する。
In the present embodiment, as shown in FIG. 3, in the controller 3, the power supply voltage monitoring circuit 5 notifies the external interface 12 of the power cutoff (the detection signal P
When receiving L), a control circuit 12A is provided for executing a data transfer end process if data transfer is in progress. Hereinafter, a specific description will be given with reference to the flowchart of FIG.

【0024】まず第1の実施形態と同様に、電源装置4
がオンして半導体ディスク装置1に電力供給が開始され
ると、コントローラ3はホストシステムからのリード/
ライトアクセスに要求に応じて、各メモリチップ2を制
御する(ステップS20)。コントローラ3は、外部イ
ンターフェース12を介してホストシステムとの間で、
リードデータまたはライトデータのデータ転送動作を実
行する。
First, similarly to the first embodiment, the power supply 4
Is turned on and the power supply to the semiconductor disk device 1 is started, the controller 3 reads / writes data from the host system.
Each memory chip 2 is controlled according to a request for write access (step S20). The controller 3 communicates with the host system via the external interface 12.
A data transfer operation of read data or write data is performed.

【0025】一方、電源電圧監視回路5は、電源装置4
の電源電圧を監視しており、緊急や異常等を含む電源遮
断の発生を検知する。即ち、電源遮断(電源オフ)が発
生すると、電源電圧監視回路5はそれを検知して検出信
号PLをコントローラ3に出力する(ステップS21〜
S23)。
On the other hand, the power supply voltage monitoring circuit 5
The power supply voltage of the power supply is monitored to detect the occurrence of power supply interruption including emergency or abnormality. That is, when a power interruption (power off) occurs, the power supply voltage monitoring circuit 5 detects this and outputs a detection signal PL to the controller 3 (steps S21 to S21).
S23).

【0026】ここで、本実施形態では、コントローラ3
が外部インターフェース12を介してホストシステムと
の間でデータ転送中であれば、制御回路12Aはデータ
転送の終了処理を実行する(ステップS24,S2
5)。即ち、制御回路12Aは、外部インターフェース
12に設けられているインターフェース・レジスタ群の
中で、ステータスレジスタ12Bに転送終了フラグをセ
ットする。MPU10は、常にステータスレジスタ12
Bを参照して、データ転送状態を監視しているため、転
送終了フラグがセットされると、データ転送が実際には
終了していなくても、データ転送が終了したと認識す
る。
Here, in this embodiment, the controller 3
Is in data transfer with the host system via the external interface 12, the control circuit 12A executes a data transfer end process (steps S24 and S2).
5). That is, the control circuit 12A sets the transfer end flag in the status register 12B in the interface register group provided in the external interface 12. The MPU 10 always has the status register 12
Since the data transfer state is monitored with reference to B, when the transfer end flag is set, it is recognized that the data transfer has been completed even though the data transfer is not actually completed.

【0027】コントローラ3は、前述したように、電源
電圧監視回路5からの電源遮断の通知を受けると、電力
節約モードに切替えてシステムの内部待避動作などに移
行する(ステップS26)。
When the controller 3 receives the power-off notification from the power-supply voltage monitoring circuit 5 as described above, the controller 3 switches to the power saving mode and shifts to the internal saving operation of the system (step S26).

【0028】以上のように本実施形態によれば、特に電
源遮断が緊急または異常により発生した場合に、ホスト
システムとの間でデータ転送が継続中であれば、データ
転送が中断する事態となる。このようなデータ転送の中
断するような事態は、ホストシステムに対する応答も中
断することなり、いわゆるハングアップ現象(システム
停止によるコントロール不能状態)が発生する可能性が
ある。そこで、本実施形態は、電源遮断が発生したとき
に、データ転送の終了処理を実行することにより、例え
ばMPU10によりホストシステムに対する応答を継続
させることができる。従って、見掛け上ではデータ転送
とホストシステムに対する応答の中断を防止して、ハン
グアップ現象の発生を未然に防止することができる。
As described above, according to the present embodiment, the data transfer is interrupted if the data transfer with the host system is continued especially when the power supply is shut down due to an emergency or abnormality. . Such a situation in which the data transfer is interrupted also interrupts the response to the host system, so that a so-called hang-up phenomenon (a state in which control is impossible due to a system stop) may occur. Therefore, in the present embodiment, when power interruption occurs, by executing a data transfer end process, for example, the MPU 10 can continue to respond to the host system. Therefore, apparently, interruption of data transfer and response to the host system can be prevented, and the occurrence of a hang-up phenomenon can be prevented.

【0029】[0029]

【発明の効果】以上詳述したように本発明によれば、半
導体ディスク装置を使用したシステムにおいて、電源遮
断時に予備電源を使用してシステムの内部待避動作など
を実行させるときに、電力節約機能により予備電源の消
費電力を節約することができる。従って、電源遮断時
に、限定された容量の予備電源を使用するシステムの内
部待避動作などの処理を確実に実行することができる。
これにより、結果的に電源遮断時のデータ保護などを実
現できるため、システムの信頼性を向上させることが可
能となる。
As described above in detail, according to the present invention, in a system using a semiconductor disk device, a power saving function is provided when a standby power supply is used to execute an internal evacuation operation of the system when a power supply is cut off. As a result, the power consumption of the standby power supply can be saved. Therefore, when the power supply is cut off, it is possible to reliably execute a process such as an internal evacuation operation of the system using the backup power supply having the limited capacity.
As a result, data protection or the like at the time of power shutdown can be realized as a result, so that the reliability of the system can be improved.

【0030】また、電源遮断時にデータ転送の終了処理
を実行することにより、システムのハングアップ現象の
発生を未然に防止できるため、電源遮断時でもシステム
を確実に動作させることが可能となる。
Further, by executing the data transfer termination processing when the power is turned off, it is possible to prevent the occurrence of a system hang-up phenomenon, so that the system can be reliably operated even when the power is turned off.

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

【図1】本発明の実施形態に関係する半導体ディスク装
置を使用したコンピュータシステムの要部を示すブロッ
ク図。
FIG. 1 is an exemplary block diagram showing a main part of a computer system using a semiconductor disk device according to an embodiment of the present invention;

【図2】第1の実施形態に関係するシステムの要部を示
すブロック図。
FIG. 2 is a block diagram showing a main part of a system related to the first embodiment.

【図3】第2の実施形態に関係するシステムの要部を示
すブロック図。
FIG. 3 is a block diagram showing a main part of a system related to the second embodiment.

【図4】第1の実施形態に関係する動作を説明するため
のフローチャート。
FIG. 4 is a flowchart for explaining an operation related to the first embodiment;

【図5】第2の実施形態に関係する動作を説明するため
のフローチャート。
FIG. 5 is a flowchart for explaining an operation related to the second embodiment;

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

1…半導体ディスク装置 2…フラッシュEEPROM(メモリチップ) 2A…データレジスタ 3…コントローラ 4…電源装置 4A…予備電源 5…電源電圧監視回路 6…外部バス 7…CPU(ホストシステム) 8…メインメモリ 10…MPU 11…内部インターフェース 11A…インターフェースコントローラ 11B…選択機能付きオアゲート回路(OR回路) 11C…モード切替回路 12…外部インターフェース 12A…制御回路 12B…ステータスレジスタ 13…クロック発生回路 DESCRIPTION OF SYMBOLS 1 ... Semiconductor disk device 2 ... Flash EEPROM (memory chip) 2A ... Data register 3 ... Controller 4 ... Power supply device 4A ... Stand-by power supply 5 ... Power supply voltage monitoring circuit 6 ... External bus 7 ... CPU (host system) 8 ... Main memory 10 ... MPU 11 ... Internal interface 11A ... Interface controller 11B ... OR gate circuit with selection function (OR circuit) 11C ... Mode switching circuit 12 ... External interface 12A ... Control circuit 12B ... Status register 13 ... Clock generation circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G11C 16/06 G11C 17/00 632D ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI G11C 16/06 G11C 17/00 632D

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 フラッシュEEPROMから構成される
半導体ディスク装置を使用したデータ記憶システムであ
って、 システムに電力を供給し、電源遮断後に所定の動作に必
要な予備電力を供給する予備電源を有する電源手段と、 前記電源の電源電圧を監視し、電源遮断を検知する機能
を有する電源監視手段と、 前記電源監視手段から電源遮断の検知を通知されたとき
に、前記予備電源を使用する電力節約モードに移行させ
る電力節約モード手段とを具備したことを特徴とするデ
ータ記憶システム。
1. A data storage system using a semiconductor disk device composed of a flash EEPROM, comprising: a power supply having a backup power supply for supplying power to the system and supplying a backup power required for a predetermined operation after the power is turned off. Means, a power supply monitoring means having a function of monitoring a power supply voltage of the power supply and detecting power cutoff, and a power saving mode of using the backup power supply when notified of the detection of power cutoff from the power supply monitoring means. And a power saving mode means for shifting to (b).
【請求項2】 前記電力節約モード手段は前記システム
の内部クロックの周波数を低下させる手段を有すること
を特徴とする請求項1記載のデータ記憶システム。
2. The data storage system according to claim 1, wherein said power saving mode means includes means for reducing a frequency of an internal clock of said system.
【請求項3】 前記電力節約モード手段は、通常の電源
電圧に対して低電圧モードに切り替えて、前記電源遮断
後にシステムの内部待避動作に必要な処理を実行する手
段を有することを特徴とする請求項1記載のデータ記憶
システム。
3. The power saving mode means includes means for switching to a low voltage mode with respect to a normal power supply voltage and executing processing necessary for an internal evacuation operation of the system after the power supply is cut off. The data storage system according to claim 1.
【請求項4】 複数のフラッシュEEPROMから構成
される半導体ディスク装置を使用したデータ記憶システ
ムであって、 システムに電力を供給し、電源遮断後に所定の動作に必
要な予備電力を供給する予備電源を有する電源手段と、 前記電源の電源電圧を監視し、電源遮断を検知する機能
を有する電源監視手段と、 前記電源監視手段から電源遮断の検知を通知されたとき
に、同時活性化させる前記フラッシュEEPROMのメ
モリ数を減少させるモード切替手段とを具備したことを
特徴とするデータ記憶システム。
4. A data storage system using a semiconductor disk device composed of a plurality of flash EEPROMs, comprising: a backup power supply for supplying power to the system and supplying a backup power required for a predetermined operation after a power shutdown. Power supply means having the function of monitoring the power supply voltage of the power supply and detecting power cutoff; and the flash EEPROM which is simultaneously activated when notified of the power cutoff from the power supply monitoring means. A data switching system for reducing the number of memories.
【請求項5】 前記モード切替手段は、システムのコン
トローラを構成するファームウェアにより構成されてお
り、前記電源遮断後に同時活性化させる前記フラッシュ
EEPROMのメモリ数を減少させることを特徴とする
請求項3記載のデータ記憶システム。
5. The system according to claim 3, wherein said mode switching means is constituted by firmware constituting a controller of a system, and reduces the number of memories of said flash EEPROM which are simultaneously activated after said power supply is cut off. Data storage system.
【請求項6】 前記モード切替手段は、前記各フラッシ
ュEEPROMのレディ/ビジィ信号を入力して前記各
フラッシュEEPROMの入出力を制御するコントロー
ラの内部に設けられて、 前記各フラッシュEEPROM毎に独立して出力される
各レディ/ビジィ信号を入力するオアゲート回路を有
し、前記電源遮断後に前記オアゲート回路を動作させて
各レディ/ビジィ信号を選択的に前記コントローラに入
力して、同時活性化させる前記フラッシュEEPROM
のメモリ数を減少させるように構成されていることを特
徴とする請求項3記載のデータ記憶システム。
6. The mode switching means is provided inside a controller that inputs a ready / busy signal of each of the flash EEPROMs and controls input / output of each of the flash EEPROMs, and is independent of each of the flash EEPROMs. An OR gate circuit for inputting each ready / busy signal to be output to the controller. After the power is cut off, the OR gate circuit is operated to selectively input each ready / busy signal to the controller to simultaneously activate the ready / busy signal. Flash EEPROM
4. The data storage system according to claim 3, wherein the number of memories is reduced.
【請求項7】 複数のフラッシュEEPROMから構成
される半導体ディスク装置を使用したデータ記憶システ
ムであって、 システムに電力を供給し、電源遮断後に所定の動作に必
要な予備電力を供給する予備電源を有する電源手段と、 前記電源の電源電圧を監視し、電源遮断を検知する機能
を有する電源監視手段と、 ホストシステムからのリードアクセスまたはライトアク
セスに応じて、前記各フラッシュEEPROMから読出
したデータまたは前記各フラッシュEEPROMに書込
むデータを前記ホストシステムとの間で転送するインタ
ーフェース手段と、 前記電源監視手段から電源遮断の検知を通知されたとき
に、前記ホストシステムとのデータ転送が継続している
場合でもデータ転送の終了処理を実行して、前記電源遮
断後にシステムの内部待避動作に必要な処理に移行させ
る制御手段とを具備したことを特徴とするデータ記憶シ
ステム。
7. A data storage system using a semiconductor disk device composed of a plurality of flash EEPROMs, comprising: a backup power supply for supplying power to the system and supplying a backup power required for a predetermined operation after power is turned off. A power supply means having a function of monitoring a power supply voltage of the power supply and detecting a power supply cutoff; and a data read from each of the flash EEPROMs in response to a read access or a write access from a host system. Interface means for transferring data to be written to each flash EEPROM to and from the host system; and data transfer with the host system when notification of power-off detection is notified from the power supply monitoring means. However, after executing the data transfer end process, the system Data storage system, characterized in that it and a control means for shifting the processing required within retracting operation of the arm.
【請求項8】 複数のフラッシュEEPROMから構成
される半導体ディスク装置を使用し、電源遮断後に所定
の動作に必要な予備電力を供給する予備電源を有する電
源手段、及び前記電源の電源電圧を監視し、電源遮断を
検知する機能を有する電源監視手段を有するデータ記憶
システムに適用する電力節約方法であって、 前記電源監視手段により電源遮断の検知を受信する処理
と、 前記電源遮断の検知に応じて電力節約モードに切替える
処理と、 前記電力節約モードによるシステムの内部待避動作に必
要な処理とからなることを特徴とする電力節約方法。
8. A power supply means using a semiconductor disk device composed of a plurality of flash EEPROMs and having a backup power supply for supplying a backup power required for a predetermined operation after the power is turned off, and monitoring a power supply voltage of the power supply. A power saving method applied to a data storage system having a power monitoring unit having a function of detecting power shutdown, comprising: receiving a power shutdown detection by the power monitoring unit; and responding to the power shutdown detection. A power saving method, comprising: a process of switching to a power saving mode; and a process required for an internal evacuation operation of the system in the power saving mode.
【請求項9】 複数のフラッシュEEPROMから構成
される半導体ディスク装置を使用し、電源遮断後に所定
の動作に必要な予備電力を供給する予備電源を有する電
源手段、及び前記電源の電源電圧を監視し、電源遮断を
検知する機能を有する電源監視手段を有するデータ記憶
システムに適用する電力節約方法であって、 前記電源監視手段により電源遮断の検知を受信する処理
と、 前記電源遮断の検知を受信したときに、ホストシステム
との間で、前記各フラッシュEEPROMに対するリー
ドアクセスまたはライトアクセスに応じたデータ転送が
継続しているか否かを判定する処理と、 前記データ転送が継続中の場合にデータ転送の終了処理
を実行して、前記電源遮断後にシステムの内部待避動作
に移行させる処理とからなることを特徴とする電力節約
方法。
9. A power supply means using a semiconductor disk device composed of a plurality of flash EEPROMs and having a backup power supply for supplying a backup power required for a predetermined operation after the power is turned off, and monitoring a power supply voltage of the power supply. A power saving method applied to a data storage system having a power monitoring unit having a function of detecting power shutdown, comprising: receiving a power shutdown detection by the power monitoring unit; and receiving the power shutdown detection. A process of determining whether data transfer in response to a read access or a write access to each of the flash EEPROMs with the host system is continued; and determining whether the data transfer is ongoing when the data transfer is ongoing. Executing a termination process and shifting to an internal evacuation operation of the system after the power is cut off. And power saving method.
JP34806196A 1996-12-26 1996-12-26 Data storage system and method for saving power applied to the same system Pending JPH10187302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34806196A JPH10187302A (en) 1996-12-26 1996-12-26 Data storage system and method for saving power applied to the same system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34806196A JPH10187302A (en) 1996-12-26 1996-12-26 Data storage system and method for saving power applied to the same system

Publications (1)

Publication Number Publication Date
JPH10187302A true JPH10187302A (en) 1998-07-14

Family

ID=18394488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34806196A Pending JPH10187302A (en) 1996-12-26 1996-12-26 Data storage system and method for saving power applied to the same system

Country Status (1)

Country Link
JP (1) JPH10187302A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000187535A (en) * 1998-12-14 2000-07-04 Internatl Business Mach Corp <Ibm> Power saving mode computer
JP2002082829A (en) * 2000-09-06 2002-03-22 Nec Kofu Ltd Device and method for controlling power consumption
JP2002351737A (en) * 2001-05-29 2002-12-06 Mitsubishi Electric Corp Semiconductor storage device
JP2007193810A (en) * 2006-01-18 2007-08-02 Apple Inc Interleaving policies for flash memory
JP2009540432A (en) * 2006-06-09 2009-11-19 マイクロン テクノロジー, インク. Method and apparatus for managing operation of memory device
JP2010044629A (en) * 2008-08-13 2010-02-25 Nec Corp Server blade, blade server device, server blade control method, program, and recording medium
JP2010067263A (en) * 2008-07-18 2010-03-25 Marvell World Trade Ltd Selectively accessing memory
JP2015032328A (en) * 2013-08-01 2015-02-16 富士通セミコンダクター株式会社 Semiconductor storage device and writing method therefor, and memory system
JP2018085163A (en) * 2012-05-25 2018-05-31 株式会社半導体エネルギー研究所 Semiconductor device
US10656692B2 (en) 2014-09-11 2020-05-19 Toshiba Memory Corporation Memory system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000187535A (en) * 1998-12-14 2000-07-04 Internatl Business Mach Corp <Ibm> Power saving mode computer
JP2002082829A (en) * 2000-09-06 2002-03-22 Nec Kofu Ltd Device and method for controlling power consumption
JP2002351737A (en) * 2001-05-29 2002-12-06 Mitsubishi Electric Corp Semiconductor storage device
JP4694040B2 (en) * 2001-05-29 2011-06-01 ルネサスエレクトロニクス株式会社 Semiconductor memory device
US7793059B2 (en) 2006-01-18 2010-09-07 Apple Inc. Interleaving policies for flash memory
JP2007193810A (en) * 2006-01-18 2007-08-02 Apple Inc Interleaving policies for flash memory
US8248881B2 (en) 2006-06-09 2012-08-21 Micron Technology, Inc. Method and apparatus for managing behavior of memory devices
JP2009540432A (en) * 2006-06-09 2009-11-19 マイクロン テクノロジー, インク. Method and apparatus for managing operation of memory device
US8432765B2 (en) 2006-06-09 2013-04-30 Micron Technology, Inc. Method and apparatus for managing behavior of memory devices
JP2010067263A (en) * 2008-07-18 2010-03-25 Marvell World Trade Ltd Selectively accessing memory
JP2010044629A (en) * 2008-08-13 2010-02-25 Nec Corp Server blade, blade server device, server blade control method, program, and recording medium
JP2018085163A (en) * 2012-05-25 2018-05-31 株式会社半導体エネルギー研究所 Semiconductor device
JP2015032328A (en) * 2013-08-01 2015-02-16 富士通セミコンダクター株式会社 Semiconductor storage device and writing method therefor, and memory system
US10656692B2 (en) 2014-09-11 2020-05-19 Toshiba Memory Corporation Memory system

Similar Documents

Publication Publication Date Title
JP6334828B2 (en) Solid state drive with self-refresh power saving mode
US8019929B2 (en) Data processing apparatus and data control circuit for use therein
JP4515093B2 (en) CPU power-down method and apparatus therefor
US20050283572A1 (en) Semiconductor integrated circuit and power-saving control method thereof
JP3302847B2 (en) Storage device
US8683249B2 (en) Switching a processor and memory to a power saving mode when waiting to access a second slower non-volatile memory on-demand
US20100169687A1 (en) Data storage device and power-saving control method for data storage device
JP2012529692A (en) Pause memory operations to reduce read latency in memory arrays
JP2008225916A (en) Power reduction device in data backup
US8046635B2 (en) Data processing device and data control circuit for use therein
JPH10187302A (en) Data storage system and method for saving power applied to the same system
JPH0876872A (en) Computer device
US10042650B2 (en) Computer startup method, startup apparatus, state transition method and state transition apparatus
JP2912349B1 (en) Disk array control method and disk array device
CN113986001A (en) Chip and control method
US20130073792A1 (en) Electronic apparatus using nand flash and memory management method thereof
JP4503003B2 (en) Power supply backup system and electronic device having the same
JPH086866A (en) Power source controller of electronic computer
JPS62269253A (en) Power failure processing system for semiconductor memory device
JPH06259172A (en) Battery operation type information processor
JPH0934805A (en) Semiconductor disk device
JP4098400B2 (en) Semiconductor disk device
US20240168532A1 (en) Method for addressing power outage, arithmetic logic apparatus
US20090249100A1 (en) Circuit system
JP2000081921A (en) Computer system