JP2011203970A - Disk device - Google Patents

Disk device Download PDF

Info

Publication number
JP2011203970A
JP2011203970A JP2010070165A JP2010070165A JP2011203970A JP 2011203970 A JP2011203970 A JP 2011203970A JP 2010070165 A JP2010070165 A JP 2010070165A JP 2010070165 A JP2010070165 A JP 2010070165A JP 2011203970 A JP2011203970 A JP 2011203970A
Authority
JP
Japan
Prior art keywords
capacitor
switch
power
disk device
time
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
JP2010070165A
Other languages
Japanese (ja)
Inventor
Takenori Hoshino
武徳 星野
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2010070165A priority Critical patent/JP2011203970A/en
Publication of JP2011203970A publication Critical patent/JP2011203970A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)
  • Stand-By Power Supply Arrangements (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a disk device 1 which includes a capacitor Cs supplying power at power failure, stores data in a nonvolatile memory 14 via a volatile memory 15, and stores the data stored in the volatile memory 15 to the nonvolatile memory 14 at power failure, while accurately measuring capacity of the capacitor Cs and to reliably determine service life of the capacitor Cs.SOLUTION: The disk device includes: a load 21 for measurement as a load of the capacitor Cs; switches SW1 and SW2 provided on a power input side and a power output side with respect to the capacitor Cs, respectively; and a switch SW3 provided between the capacitor Cs and the load 21 for measurement and turned on and off inversely with on/off of the switches SW1 and SW2. The switch SW3 is turned on at a predetermined time. Discharge time Ta until the capacitor Cs becomes equal to or lower than a predetermined voltage Va is measured. The capacity of the capacitor Cs is estimated on the basis of the discharge time Ta.

Description

本発明は、半導体ディスク装置等のディスク装置における電源バックアップ用のキャパシタの寿命を判定する技術に関するものである。   The present invention relates to a technique for determining the life of a power backup capacitor in a disk device such as a semiconductor disk device.

フラッシュメモリ等の不揮発性メモリから構成される半導体ディスク装置では、使用される不揮発性メモリの特長により、書込み速度が遅く、書換え回数に制限がある。   In a semiconductor disk device composed of a nonvolatile memory such as a flash memory, the writing speed is slow and the number of rewrites is limited due to the characteristics of the nonvolatile memory used.

この問題を解決するために、高速な書込みが可能なDRAM等の揮発性メモリをキャッシュメモリとして使用し、一旦、揮発性メモリに書込んだ後に不揮発性メモリに書き込むようにして高速化し、かつ、書込み回数を減らしたライトバックキャッシュ方式が採用されている。   In order to solve this problem, a volatile memory such as a DRAM capable of high-speed writing is used as a cache memory, the speed is increased by writing to the nonvolatile memory after writing to the volatile memory, and A write-back cache method with a reduced number of writes is used.

そして、このライトバックキャッシュ方式では、電源遮断時の揮発性メモリのデータ消失を防止するためにスーパーキャパシタ等の大容量のキャパシタを備え、電源遮断時に、キャパシタに充電した電力を用いてライトバックキャッシュデータの書き出し処理を行い、揮発性メモリの内容を不揮発性メモリに書き出すようになっている(例えば、特許文献1、特許文献2参照)。   In this write-back cache system, a large-capacity capacitor such as a supercapacitor is provided to prevent the loss of data in the volatile memory when the power is cut off. Data is written out, and the contents of the volatile memory are written into the nonvolatile memory (see, for example, Patent Document 1 and Patent Document 2).

図14に上記従来技術のディスク装置100の構成を示す。同図に示したように、従来のディスク装置100は電源を構成する電源入力部120とメモリ等から構成されるメモリ本体部10とからなる。   FIG. 14 shows the configuration of the conventional disk device 100. As shown in the figure, the conventional disk device 100 includes a power input unit 120 that constitutes a power source and a memory main body 10 that comprises a memory and the like.

そして、電源入力部120には、キャパシタCsが備えられており、DC入力Vccからの電力をキャパシタCsに充電し、ダイオードD1〜D3によりDC入力Vccからの電力とキャパシタCsからの電力のダイオード論理和をとり、DC出力Vddとしてメモリ本体部10へ供給するようになっている。なお、以下の説明では、ダイオードD2の電圧降下分は便宜上無視できる程度に小さいものとしている。   The power input unit 120 includes a capacitor Cs. The capacitor Cs is charged with power from the DC input Vcc, and the diode logic of the power from the DC input Vcc and the power from the capacitor Cs by the diodes D1 to D3. The sum is taken and supplied to the memory body 10 as a DC output Vdd. In the following description, the voltage drop of the diode D2 is assumed to be small enough to be ignored for convenience.

一方、メモリ本体部10は、全体を制御する制御部13と、図示しない上位装置等からI/F部11を経由して送信されてくるライトデータやディスク装置100の管理データを一時的に保持する揮発性メモリ15と、前記ライトデータを保持する不揮発性メモリ14とからなる。   On the other hand, the memory main unit 10 temporarily holds the control unit 13 that controls the whole and the write data transmitted from the host device (not shown) via the I / F unit 11 and the management data of the disk device 100. The volatile memory 15 and the nonvolatile memory 14 that holds the write data.

以上の構成により、従来のディスク装置100は図15のタイムチャート図のように動作する。すなわち、まず、電圧VsのDC入力Vccが投入されると(タイミングT1)、ダイオードD3を経由して電源がメモリ本体部10に供給され、メモリ本体部10が起動し、メモリ本体部10が起動時の処理を行う間にダイオードD1を経由して供給される電源によりキャパシタCsが充電される(タイミングT2)。   With the above configuration, the conventional disk device 100 operates as shown in the time chart of FIG. That is, first, when the DC input Vcc of the voltage Vs is turned on (timing T1), power is supplied to the memory body 10 via the diode D3, the memory body 10 is activated, and the memory body 10 is activated. During the time processing, the capacitor Cs is charged by the power supplied via the diode D1 (timing T2).

そして、メモリ本体部10が起動時の処理を終了し通常動作に移行し、I/F部11を経由して上位装置等から送信されてくるライトデータやディスク装置100の管理データが、一旦、揮発性メモリ15に書き込まれた後、順次、不揮発性メモリに書き込まれる。   Then, the memory main unit 10 finishes the process at the time of startup and shifts to the normal operation, and the write data and the management data of the disk device 100 transmitted from the host device etc. via the I / F unit 11 are temporarily stored. After being written to the volatile memory 15, it is sequentially written to the nonvolatile memory.

そして、DC入力Vccが遮断されたときには(タイミングT3)、キャパシタCsに充電された電力を用いて、キャパシタCsの電圧、すなわちDC出力Vddがメモリ本体部10の稼動可能な電圧Vwまで低下する間に(タイミングT4)、前述のライトバックキャッシュデータの書き出し処理として揮発性メモリ15に書き込まれたデータを不揮発性メモリ14に書き込むようになっている。   When the DC input Vcc is cut off (timing T3), the voltage of the capacitor Cs, that is, the DC output Vdd is decreased to the operable voltage Vw of the memory body 10 using the power charged in the capacitor Cs. At (timing T4), the data written in the volatile memory 15 is written into the nonvolatile memory 14 as the write-back cache data writing process described above.

ところで、揮発性メモリ15の電源をバックップするキャパシタCsは大容量キャパシタとしてスーパーキャパシタや電解キャパシタなどで構成するため、経年変化により劣化し、容量が減少し十分な容量を確保することができなくなる場合がある。   By the way, the capacitor Cs that backs up the power source of the volatile memory 15 is composed of a supercapacitor, an electrolytic capacitor, or the like as a large-capacity capacitor. There is.

このように、キャパシタCsの容量が減少すると、ライトバックキャッシュデータの書き出しに要する時間の間、電源をバックアップすることが困難となり、揮発性メモリ15に書き込まれているデータをすべて不揮発性メモリ14に書き込めなくなる。   Thus, when the capacity of the capacitor Cs decreases, it becomes difficult to back up the power supply during the time required for writing the write-back cache data, and all the data written in the volatile memory 15 is stored in the nonvolatile memory 14. It becomes impossible to write.

このため、事前にキャパシタCsの寿命推定を行い、キャパシタCsの寿命をアラーム等により警告する必要がある。   For this reason, it is necessary to estimate the life of the capacitor Cs in advance and warn the life of the capacitor Cs by an alarm or the like.

そして、このキャパシタCsの寿命を予測する技術として、充電電圧や周囲温度を継続して測定し、キャパシタCsの寿命を推定する技術はあった(例えば、特許文献3参照)。   As a technique for predicting the life of the capacitor Cs, there is a technique for continuously measuring the charging voltage and the ambient temperature to estimate the life of the capacitor Cs (see, for example, Patent Document 3).

特開2006−163753号公報JP 2006-163753 A 特開2006−252535号公報JP 2006-252535 A 特表2009−503724号公報Special table 2009-503724

しかしながら、上記従来の技術では、キャパシタの充電電圧や周囲温度という間接的な測定値を用いてキャパシタの寿命を推定しているため、容量の推定誤差が発生し、ライトバックキャッシュデータの書き出しに要する時間を十分に確保できず、ライトバックキャッシュデータをすべて書き出すことができないというおそれがあった。   However, in the above conventional technique, the life of the capacitor is estimated using indirect measured values such as the charging voltage and the ambient temperature of the capacitor, so that an estimation error of the capacity occurs and it is necessary to write out the write-back cache data. There was a risk that sufficient time could not be secured and all write-back cache data could not be written out.

本発明は、前述の課題を解決するため次の構成を採用する。すなわち、電源遮断時に電源を供給できるキャパシタを備え、揮発性メモリを経由して不揮発性メモリにデータを格納し電源遮断時に前記揮発性メモリに格納されたデータを前記不揮発性メモリに格納できるディスク装置であって、前記キャパシタの負荷となる負荷手段と、前記キャパシタへの電源入力側と電源出力側にそれぞれ備える第1のスイッチと第2のスイッチと、前記キャパシタと前記負荷手段との間に備え、前記第1のスイッチと第2のスイッチのオンオフと背反してオンオフする第3のスイッチとからなるスイッチ手段と、を備え、所定の時に、前記第3のスイッチをオンとし前記キャパシタが所定の電圧以下となるまでの放電時間を測定し当該放電時間に基づいて前記キャパシタの容量を推定できるようにした。   The present invention employs the following configuration in order to solve the above-described problems. That is, a disk device having a capacitor capable of supplying power when the power is shut off, storing data in the nonvolatile memory via the volatile memory, and storing the data stored in the volatile memory in the nonvolatile memory when the power is shut off The load means serving as a load of the capacitor, the first switch and the second switch provided on the power input side and the power output side to the capacitor, respectively, and provided between the capacitor and the load means. Switch means comprising a third switch that turns on and off the first switch and the second switch, and at a predetermined time, the third switch is turned on at a predetermined time. The discharge time until the voltage became lower than the voltage was measured, so that the capacity of the capacitor could be estimated based on the discharge time.

本発明のディスク装置によれば、電源遮断時に電源を供給できるキャパシタを備え、揮発性メモリを経由して不揮発性メモリにデータを格納し電源遮断時に前記揮発性メモリに格納されたデータを前記不揮発性メモリに格納できるディスク装置であって、前記キャパシタの負荷となる負荷手段と、前記キャパシタへの電源入力側と電源出力側にそれぞれ備える第1のスイッチと第2のスイッチと、前記キャパシタと前記負荷手段との間に備え、前記第1のスイッチと第2のスイッチのオンオフと背反してオンオフする第3のスイッチとからなるスイッチ手段と、を備え、所定の時に、前記第3のスイッチをオンとし前記キャパシタが所定の電圧以下となるまでの放電時間を測定し当該放電時間に基づいて前記キャパシタの容量を推定できるようにしたので、高精度にキャパシタの容量を推定でき、確実にキャパシタの寿命を判定することができる。   According to the disk device of the present invention, the capacitor is provided that can supply power when the power is shut off, stores data in the nonvolatile memory via the volatile memory, and stores the data stored in the volatile memory when the power is shut off. A disk device that can be stored in a volatile memory, comprising: a load means serving as a load of the capacitor; a first switch and a second switch provided on a power input side and a power output side to the capacitor; the capacitor; Switch means comprising a first switch and a third switch that is turned on and off opposite to the on / off state of the second switch, and the third switch is provided at a predetermined time. It is possible to estimate the capacity of the capacitor based on the discharge time by measuring the discharge time until the capacitor is turned on and below the predetermined voltage. Having to, with high accuracy can be estimated the capacitance of the capacitor, it can be reliably determined the lifetime of the capacitor.

実施例1のディスク装置の構成図である。1 is a configuration diagram of a disk device of Example 1. FIG. 実施例1の測定用負荷回路の構成図である。1 is a configuration diagram of a measurement load circuit in Example 1. FIG. 実施例1のディスク装置の電源入力部の動作説明図である。6 is an operation explanatory diagram of a power input unit of the disk device of Embodiment 1. FIG. 実施例1のディスク装置の電源入力部の動作説明図である。6 is an operation explanatory diagram of a power input unit of the disk device of Embodiment 1. FIG. 実施例1のディスク装置の電源入力部のタイムチャート図である。FIG. 3 is a time chart diagram of a power input unit of the disk device according to the first embodiment. 実施例2のディスク装置の電源入力部のタイムチャート図である。FIG. 6 is a time chart diagram of a power input unit of the disk device according to the second embodiment. 実施例3のディスク装置の構成図である。FIG. 6 is a configuration diagram of a disk device according to a third embodiment. 実施例3のディスク装置の電源入力部の動作説明図である。FIG. 11 is an operation explanatory diagram of a power input unit of the disk device of Example 3. 実施例3のディスク装置の電源入力部の動作説明図である。FIG. 11 is an operation explanatory diagram of a power input unit of the disk device of Example 3. 実施例3のディスク装置の電源入力部の動作説明図である。FIG. 11 is an operation explanatory diagram of a power input unit of the disk device of Example 3. 実施例3のディスク装置の電源入力部のタイムチャート図である。FIG. 6 is a time chart diagram of a power input unit of the disk device according to the third embodiment. 実施例4のディスク装置の電源入力部のタイムチャート図である。FIG. 6 is a time chart diagram of a power input unit of a disk device of Example 4. 実施例5のディスク装置の電源入力部のタイムチャート図である。FIG. 10 is a time chart diagram of a power input unit of a disk device according to a fifth embodiment. 従来のディスク装置の構成図である。It is a block diagram of a conventional disk device. 従来のディスク装置の動作を示すタイムチャート図である。It is a time chart which shows operation | movement of the conventional disc apparatus.

以下、本発明に係わる実施の形態例を、図面を用いて説明する。なお、図面に共通する要素には同一の符号を付す。   Embodiments of the present invention will be described below with reference to the drawings. In addition, the same code | symbol is attached | subjected to the element common to drawing.

(構成)
図1に実施例1のディスク装置1の構成を示す。同図に示したように、実施例1のディスク装置1は電源を構成する電源入力部20とメモリ等から構成されるメモリ本体部10とからなる。なお、メモリ本体部10は従来のディスク装置の構成と同様であるので簡略化のためにその詳細な説明は省略する。
(Constitution)
FIG. 1 shows the configuration of a disk device 1 according to the first embodiment. As shown in FIG. 1, the disk device 1 according to the first embodiment includes a power input unit 20 that constitutes a power source and a memory main unit 10 that includes a memory and the like. Since the memory main body 10 has the same configuration as that of the conventional disk device, detailed description thereof is omitted for the sake of brevity.

そして、電源入力部20は、ダイオードD1、ダイオードD2がそれぞれスイッチSW1、スイッチSW2を経由してキャパシタCsに接続されており、DC入力Vccからの電力を充電し、DC入力Vccからの電力とキャパシタCsからの電力のダイオード論理和となるDC出力Vddがメモリ本体部10に供給される構成となっている。なお、以下の説明では、ダイオードD2の電圧降下分は便宜上無視できる程度に小さいものとしている。   In the power input unit 20, the diode D1 and the diode D2 are connected to the capacitor Cs via the switch SW1 and the switch SW2, respectively, and the power from the DC input Vcc is charged, and the power and the capacitor from the DC input Vcc are charged. A DC output Vdd, which is a diode logical sum of power from Cs, is supplied to the memory body 10. In the following description, the voltage drop of the diode D2 is assumed to be small enough to be ignored for convenience.

電源入力部20は、キャパシタCsにスイッチSW3が接続され、キャパシタCs側の負荷手段としての測定用負荷21が接続されている。なお、スイッチSW1〜SW3はリレー回路やFETなどのオンオフ素子で構成すればよい。   In the power supply input unit 20, the switch SW3 is connected to the capacitor Cs, and a measurement load 21 is connected as load means on the capacitor Cs side. The switches SW1 to SW3 may be configured by on / off elements such as relay circuits and FETs.

測定用負荷21の構成の一例を図2に示す。同図に示したように、実施例1のディスク装置1の測定用負荷21は、キャパシタCsの負荷となる負荷回路21aと、キャパシタCsの電圧である入力電圧Vxを測定する電圧測定回路21bからなり、電圧測定回路21bの測定結果は、図示しないD/Aコンバータ等を経由して制御部12などから参照できる信号として電圧測定結果信号Vzが出力される。   An example of the configuration of the measurement load 21 is shown in FIG. As shown in the figure, the measurement load 21 of the disk device 1 according to the first embodiment includes a load circuit 21a that is a load of the capacitor Cs and a voltage measurement circuit 21b that measures an input voltage Vx that is a voltage of the capacitor Cs. Thus, the measurement result of the voltage measurement circuit 21b is output as a voltage measurement result signal Vz as a signal that can be referred to from the control unit 12 or the like via a D / A converter (not shown).

(動作)
以上の構成により実施例1のディスク装置1は、以下のように動作する。この動作を図3、図4の動作説明図および図5のタイムチャート図を用いて詳細に説明する。
(Operation)
With the above configuration, the disk device 1 according to the first embodiment operates as follows. This operation will be described in detail with reference to the operation explanatory diagrams of FIGS. 3 and 4 and the time chart of FIG.

まず、図3は通常時の電源入力部20の各スイッチSW1〜SW3の状態と電流の流れを示す。同図に示したように、通常時は、スイッチSW1およびSW2をオンとし、スイッチSW3をオフとして、DC入力Vccからの電流をキャパシタCs流し、キャパシタCsからメモリ本体部10にDCを出力する。このとき、キャパシタCsに充電が行われる。   First, FIG. 3 shows the states of the switches SW1 to SW3 of the power input unit 20 and the current flow in a normal state. As shown in the figure, normally, the switches SW1 and SW2 are turned on, the switch SW3 is turned off, the current from the DC input Vcc flows through the capacitor Cs, and DC is output from the capacitor Cs to the memory body 10. At this time, the capacitor Cs is charged.

図4はキャパシタCsの容量測定時の各スイッチSW1〜SW3の状態と電流の流れを示す。同図に示したように、スイッチSW1およびSW2をオフとし、スイッチSW3をオンして、測定用負荷21に電流を流し、キャパシタCsの電圧、すなわち電圧測定結果信号Vzが所定の基準電圧Va以下となるまでの時間Taを測定する。以上のように、スイッチSW1およびSW2のオンオフとスイッチSW3のオンオフは背反の動作となっている。   FIG. 4 shows the states of the switches SW1 to SW3 and the current flow when measuring the capacitance of the capacitor Cs. As shown in the figure, the switches SW1 and SW2 are turned off, the switch SW3 is turned on, a current is passed through the measurement load 21, and the voltage of the capacitor Cs, that is, the voltage measurement result signal Vz is equal to or lower than a predetermined reference voltage Va. The time Ta until is reached is measured. As described above, the on / off of the switches SW1 and SW2 and the on / off of the switch SW3 are contrary to each other.

次に、図5のタイムチャート図を用いてさらに詳細に実施例1のディスク装置1の動作を説明する。   Next, the operation of the disk device 1 according to the first embodiment will be described in more detail with reference to the time chart of FIG.

まず、電源を投入すると電圧VsのDC入力Vccが立ち上り(タイミングT1)、通常モードとしてスイッチSW1およびSW2がオン、SW3がオフの状態となっているので、キャパシタCsに充電が行われる。そして、充電が完了すると容量測定モードとしてスイッチSW1およびSW2をオフとし、スイッチSW3をオンとして、キャパシタCsの容量測定を開始する(タイミングT5)。   First, when the power is turned on, the DC input Vcc of the voltage Vs rises (timing T1), and since the switches SW1 and SW2 are on and SW3 is off in the normal mode, the capacitor Cs is charged. When charging is completed, the switches SW1 and SW2 are turned off as the capacity measurement mode, the switch SW3 is turned on, and the capacity measurement of the capacitor Cs is started (timing T5).

そして、キャパシタCsから測定用負荷21に電流が流れ、キャパシタCsの電圧、すなわち電圧測定結果信号Vzが所定の基準電圧Va以下となるまでの時間Taを測定する。   Then, a current Ta flows from the capacitor Cs to the measurement load 21, and a time Ta until the voltage of the capacitor Cs, that is, the voltage measurement result signal Vz becomes equal to or lower than a predetermined reference voltage Va is measured.

そして、測定した時間Taに基づいてライトバックキャッシュデータの書き出し時間を十分にとれない容量に低下していると制御部12が判定したときはキャパシタCsが寿命となっているとし、例えば、標準プロトコルのSMART情報等により上位に通知する。なお、スーパーキャパシタなどの電気二重層キャパシタでは放電により直線的に電圧が下がるため、所定の基準電圧Va以下となるまでの時間Taにより容量を推定することができる。   Then, when the control unit 12 determines that the write-back cache data write time has been reduced to a capacity that cannot be taken sufficiently based on the measured time Ta, the capacitor Cs has reached the end of its life. Is notified to the upper level by the SMART information. In addition, in an electric double layer capacitor such as a supercapacitor, the voltage drops linearly due to discharge, so that the capacity can be estimated from the time Ta until the voltage drops below a predetermined reference voltage Va.

そして、容量測定を終了した後(タイミングT6)、スイッチSW1およびSW2をオンとし、スイッチSW3をオフに戻し、再びキャパシタCsに充電を行い、充電が完了すると(タイミングT7)、メモリ本体部10は揮発性メモリ15を経由した不揮発性メモリ14へのデータ書き込みを行う通常動作に移行する。   After the capacitance measurement is finished (timing T6), the switches SW1 and SW2 are turned on, the switch SW3 is turned off, the capacitor Cs is charged again, and when the charging is completed (timing T7), the memory body 10 The process shifts to a normal operation for writing data to the nonvolatile memory 14 via the volatile memory 15.

なお、上記通常動作に移行するまでの時間、すなわちタイミングT1からT7は、メモリ本体部10の起動時間が1秒程度で、キャパシタCsの充電時間が1秒程度で、キャパシタCsの測定時間が3秒程度で、再充電時間が1秒程度であるので、計6秒程度となる。従って、ディスク装置の起動時間が通常10秒程度であるので、この間に通常動作に移行することができ、容量を測定するためにディスク装置1の起動時間が遅くなることはない。   Note that the time until the transition to the normal operation, that is, the timings T1 to T7, is that the activation time of the memory body 10 is about 1 second, the charging time of the capacitor Cs is about 1 second, and the measurement time of the capacitor Cs is 3 Since the recharge time is about 1 second in about seconds, the total is about 6 seconds. Accordingly, since the startup time of the disk device is normally about 10 seconds, the normal operation can be shifted during this time, and the startup time of the disk device 1 is not delayed in order to measure the capacity.

そして、通常動作中に、DC入力Vccが遮断された場合は、キャパシタCsに充電した電力を使用して、揮発性メモリ15のライトバックキャッシュデータを不揮発性メモリ14に書き出して終了する(タイミングT3〜T4)。   When the DC input Vcc is cut off during normal operation, the power charged in the capacitor Cs is used to write the write-back cache data of the volatile memory 15 to the nonvolatile memory 14 and finish (timing T3). ~ T4).

(実施例1の効果)
以上のように実施例1のディスク装置によれば、電源遮断時に電源を供給できるキャパシタを備え、揮発性メモリを経由して不揮発性メモリにデータを格納し電源遮断時に前記揮発性メモリに格納されたデータを前記不揮発性メモリに格納できるディスク装置であって、前記キャパシタの負荷となる負荷手段と、前記キャパシタへの電源入力側と電源出力側にそれぞれ備える第1のスイッチと第2のスイッチと、前記キャパシタと前記負荷手段との間に備え、前記第1のスイッチと第2のスイッチのオンオフと背反してオンオフする第3のスイッチとからなるスイッチ手段と、を備え、起動時の前記キャパシタへの充電完了後に、前記第3のスイッチをオンとし前記キャパシタが所定の電圧以下となるまでの放電時間を測定し当該放電時間に基づいて前記キャパシタの容量を推定できるようにしたので、精度よくキャパシタの容量を推定でき、確実にキャパシタの寿命を判定することができる。
(Effect of Example 1)
As described above, the disk device according to the first embodiment includes the capacitor that can supply power when the power is shut off, stores data in the nonvolatile memory via the volatile memory, and stores the data in the volatile memory when the power is shut off. A disk device capable of storing the stored data in the nonvolatile memory, a load means serving as a load of the capacitor, a first switch and a second switch respectively provided on a power input side and a power output side to the capacitor, A switch means provided between the capacitor and the load means, and comprising a third switch that is turned on and off contrary to on and off of the first switch and the second switch, and the capacitor at the time of start-up After completion of charging, the third switch is turned on to measure the discharge time until the capacitor becomes a predetermined voltage or less. Since to be able to estimate the capacity of the capacitor Zui, accuracy can be estimated the capacitance of the capacitor, can be reliably determined the lifetime of the capacitor.

(構成)
実施例2のディスク装置の構成は、実施例1と同様であるので、簡略化のためにその詳細な説明は省略する。
(Constitution)
Since the configuration of the disk device of the second embodiment is the same as that of the first embodiment, detailed description thereof is omitted for the sake of brevity.

(動作)
実施例2のディスク装置の動作を図6のタイムチャートを用いて以下詳細に説明する。なお、キャパシタCsの容量測定を開始するタイミングT5から再び充電を完了し通常動作に移行するタイミングT7までに行うメモリ本体部10の限定動作Aのほかは実施例1の動作と同様であるので、簡略化のためにその詳細な説明は省略する。
(Operation)
The operation of the disk device of the second embodiment will be described in detail below with reference to the time chart of FIG. Note that the operation is the same as that of the first embodiment except for the limited operation A of the memory body 10 that is performed from the timing T5 at which the capacitance measurement of the capacitor Cs is started to the timing T7 at which charging is completed again and the normal operation is started. Detailed description thereof is omitted for simplification.

上記限定動作Aは、不揮発性メモリ14からデータを読み出すリード処理は通常動作と同様に行うことを可能とするとともに、不揮発性メモリ14に書込むライト処理の場合は受け付けたライトデータを直ちに不揮発性メモリ14に書き込み、揮発性メモリ15を用いたライトバックキャッシュ動作は行わないようにしたものである。   In the limited operation A, the read process for reading data from the nonvolatile memory 14 can be performed in the same manner as the normal operation. In the write process for writing to the nonvolatile memory 14, the received write data is immediately nonvolatile. Write to the memory 14 and write-back cache operation using the volatile memory 15 are not performed.

以上のように限定動作Aを設けることにより、タイミングT5〜タイミングT7までの限定動作Aにおいては、ライトデータを、都度、不揮発性メモリ14に書き込むようにするために書込み速度は低下するが、キャパシタCsの容量を測定する間もリードライト動作を行うことができる。   By providing the limited operation A as described above, in the limited operation A from the timing T5 to the timing T7, the write speed is decreased in order to write the write data to the nonvolatile memory 14 each time. The read / write operation can be performed while measuring the capacity of Cs.

(実施例2の効果)
以上のように実施例2のディスク装置によれば、キャパシタの容量測定を開始するタイミングから再び充電を完了し通常動作に移行するタイミングまでの間、ライトデータを直ちに不揮発性メモリに書き込むようにしたので、不揮発性メモリへのアクセスが可能となるまでの時間を短くすることができる。
(Effect of Example 2)
As described above, according to the disk device of the second embodiment, the write data is immediately written to the nonvolatile memory from the timing when the capacitance measurement of the capacitor is started until the timing when the charging is completed again and the normal operation is started. As a result, the time until the nonvolatile memory can be accessed can be shortened.

(構成)
図7に実施例3のディスク装置1の構成を示す。同図に示したように、実施例3のディスク装置1では、電源入力部20にキャパシタCsa、Csbの2個を備え、ダイオードD1a、ダイオードD2aがそれぞれスイッチSW1a、スイッチSW2aを経由してキャパシタCsaに接続されておりDC入力Vccからの電力を充電し、一方、ダイオードD1b、ダイオードD2bがそれぞれスイッチSW1b、スイッチSW2bを経由してキャパシタCsbに接続されており、DC入力Vccからの電力を充電し、DC入力Vccからの電力とキャパシタCsaおよびCsbからの電力のダイオード論理和となるDC出力Vddがメモリ本体部10に供給される構成となっている。
(Constitution)
FIG. 7 shows the configuration of the disk device 1 according to the third embodiment. As shown in the figure, in the disk device 1 of the third embodiment, the power input unit 20 includes two capacitors Csa and Csb, and the diode D1a and the diode D2a are connected to the capacitor Csa via the switch SW1a and the switch SW2a, respectively. And the diode D1b and the diode D2b are connected to the capacitor Csb via the switches SW1b and SW2b, respectively, and charge the power from the DC input Vcc. In this configuration, a DC output Vdd, which is a diode OR of the power from the DC input Vcc and the power from the capacitors Csa and Csb, is supplied to the memory body 10.

また、キャパシタCsaおよびCsbがそれぞれスイッチSW3a、SW3bを経由して共用する測定用負荷21に接続された構成となっている。なお、メモリ本体部10は従来のディスク装置の構成と同様であるので簡略化のためにその詳細な説明は省略する。   Further, the capacitors Csa and Csb are connected to the measurement load 21 shared via the switches SW3a and SW3b, respectively. Since the memory main body 10 has the same configuration as that of the conventional disk device, detailed description thereof is omitted for the sake of brevity.

(動作)
実施例3のディスク装置1の動作を図8〜図10の動作説明図および図11のタイムチャート図を用いて以下詳細に説明する。
(Operation)
The operation of the disk device 1 according to the third embodiment will be described in detail below with reference to the operation explanatory diagrams of FIGS. 8 to 10 and the time chart of FIG.

図8は、通常時の電源入力部20の各スイッチSW1a〜SW3a、SW1b〜SW3bの状態と電流の流れを示す。同図に示したように、スイッチSW1aおよびSW2aをオンとしスイッチSW3aをオフとし、さらにスイッチSW1bおよびSW2bをオンとしSW3bをオフとして、DC入力Vccからの電流をキャパシタCaとCbに流して充電しながらそれぞれダイオードD2aおよびD2bを経由してメモリ本体部10にも出力する。このとき、DC入力VccもダイオードD3を経由して前記出力とのダイオード論理和としてメモリ本体部10に出力される。   FIG. 8 shows the states of the switches SW1a to SW3a and SW1b to SW3b of the power input unit 20 at normal times and the flow of current. As shown in the figure, the switches SW1a and SW2a are turned on, the switch SW3a is turned off, the switches SW1b and SW2b are turned on and SW3b is turned off, and the current from the DC input Vcc is supplied to the capacitors Ca and Cb for charging. However, the data is also output to the memory body 10 via the diodes D2a and D2b. At this time, the DC input Vcc is also output to the memory main body 10 via the diode D3 as a diode logical sum with the output.

図9は、キャパシタCsaの容量測定時の各スイッチSW1a〜SW3aおよびSW1b〜SW3bの状態と電流の流れを示す。スイッチSW1aおよびSW2aをオフとし、スイッチSW3aをオンとし、キャパシタCsaに接続された測定用負荷21に電流を流し、キャパシタCsaの電圧、すなわち電圧測定結果信号Vzが所定の基準電圧Va以下となるまでの時間Taを測定する。この間、キャパシタCsbは充電されながらメモリ本体部10へのDC電圧の出力が続けられる。   FIG. 9 shows the states of the switches SW1a to SW3a and SW1b to SW3b and the current flow when measuring the capacitance of the capacitor Csa. The switches SW1a and SW2a are turned off, the switch SW3a is turned on, and a current is passed through the measurement load 21 connected to the capacitor Csa until the voltage of the capacitor Csa, that is, the voltage measurement result signal Vz becomes equal to or lower than a predetermined reference voltage Va. The time Ta is measured. During this time, the output of the DC voltage to the memory body 10 is continued while the capacitor Csb is charged.

図10は、キャパシタCsbの容量測定時の各スイッチSW1a〜SW3a、SW1b〜SW3bの状態と電流の流れを示す。スイッチSW1bおよびSW2bをオフとし、スイッチSW3bをオンとし、キャパシタCsbからの電流を測定用負荷21に電流を流し、キャパシタCsbの電圧、すなわち電圧測定結果信号Vzが所定の基準電圧Vb以下となるまでの時間Tbを測定する。この間、キャパシタCsaは充電されながらメモリ本体部10へのDC電圧の出力が続けられる。   FIG. 10 shows the states of the switches SW1a to SW3a and SW1b to SW3b and the current flow when measuring the capacitance of the capacitor Csb. The switches SW1b and SW2b are turned off, the switch SW3b is turned on, the current from the capacitor Csb is passed through the measurement load 21, and the voltage of the capacitor Csb, that is, the voltage measurement result signal Vz is equal to or lower than the predetermined reference voltage Vb. The time Tb is measured. During this time, the output of the DC voltage to the memory body 10 is continued while the capacitor Csa is charged.

図11のタイムチャート図を用いてさらに詳細に実施例3のディスク装置1の動作を説明する。まず、電源投入後、図8の通常の状態としキャパシタCsa、Csbに充電を開始し(タイミングT1)、充電が完了すると図9のキャパシタCsaの容量測定時の状態にしてキャパシタCsaの容量測定を行う(タイミングT5)。   The operation of the disk device 1 according to the third embodiment will be described in more detail with reference to the time chart of FIG. First, after the power is turned on, the capacitors Csa and Csb are charged in the normal state of FIG. 8 (timing T1). When the charging is completed, the capacitance measurement of the capacitor Csa is performed in the state at the time of measuring the capacitance of the capacitor Csa in FIG. Perform (timing T5).

このとき、キャパシタCsbの容量のみで揮発性メモリ15上のライトバックキャッシュデータを不揮発性メモリ14に書き出せるだけのデータ量のみ揮発性メモリ15を書き込むように制限した限定動作Bを開始する。   At this time, the limited operation B is started in which only the amount of data that can write the write-back cache data on the volatile memory 15 to the nonvolatile memory 14 with only the capacity of the capacitor Csb is written.

そして、キャパシタCsaの容量測定を終了すると、図8の通常の状態に戻してキャパシタCsaに再び充電し(タイミングT6)、充電が完了すると図10のキャパシタCsbの容量測定時の状態としてキャパシタCsbの容量測定を行う(タイミングT7)。   When the capacitance measurement of the capacitor Csa is completed, the normal state of FIG. 8 is restored and the capacitor Csa is charged again (timing T6). When the charging is completed, the state of the capacitor Csb of FIG. The capacity is measured (timing T7).

このとき、キャパシタCsaの容量のみで揮発性メモリ15上のライトバックキャッシュデータを不揮発性メモリ14に書き出せるだけのデータ量のみ揮発性メモリ15を書き込むように制限した限定動作Bを継続する。   At this time, the limited operation B in which only the amount of data that can write the write-back cache data on the volatile memory 15 to the nonvolatile memory 14 with only the capacity of the capacitor Csa is written to the volatile memory 15 is continued.

そして、キャパシタCsbの容量測定を終了すると、図8の通常の状態に戻し(タイミングT8)、キャパシタCsbに再び充電し、充電を完了すると通常動作を開始して(タイミングT9)、揮発性メモリ15へのデータのライトバックキャッシュ動作を開始する。これによりタイミングT5にて開始した限定動作Bが終了する。   When the capacitance measurement of the capacitor Csb is completed, the normal state of FIG. 8 is restored (timing T8), the capacitor Csb is charged again, and when the charging is completed, normal operation is started (timing T9). Start write-back caching of data to Thereby, the limited operation B started at the timing T5 is completed.

そして、通常動作中に、DC入力Vccが遮断された場合は、キャパシタCsa、Csbに充電した電力を使用して、揮発性メモリ15のライトバックキャッシュデータを不揮発性メモリ14に書き出して終了する(タイミングT3〜T4)。   When the DC input Vcc is cut off during normal operation, the power stored in the capacitors Csa and Csb is used to write the write-back cache data of the volatile memory 15 to the nonvolatile memory 14 and the process ends ( Timing T3-T4).

(実施例3の効果)
以上のように実施例3のディスク装置によれば、電源入力部にキャパシタを2個備え、DC入力をそれぞれのダイオードおよびスイッチを経由してキャパシタに接続し、DC入力からの電力と各キャパシタからの電力のダイオード論理和となるDC出力をメモリ本体部に供給し、各キャパシタをそれぞれのスイッチを経由して共用する測定用負荷に接続する構成とし、一方のキャパシタの容量の測定を行う間に、他方のキャパシタの容量に応じたライトバック可能なデータ量のみを揮発性メモリを経由して書き込む限定動作Bを行えるようにしたので、いずれのキャパシタの容量測定の間もライトバックキャッシュ動作を可能とすることができ、書込み速度を低下させることなく不揮発性メモリへのアクセスが可能となるまでの時間を短くすることができる。
(Effect of Example 3)
As described above, according to the disk device of the third embodiment, the power input section includes two capacitors, and the DC input is connected to the capacitors via the respective diodes and switches. A DC output that is a logical OR of the power of the diode is supplied to the memory body, and each capacitor is connected to a shared measurement load via each switch, while the capacitance of one capacitor is measured. Since the limited operation B, in which only the amount of data that can be written back according to the capacity of the other capacitor is written via the volatile memory, can be performed, the write-back cache operation can be performed during the capacity measurement of any capacitor. And shorten the time until the nonvolatile memory can be accessed without reducing the writing speed. It is possible.

(構成)
実施例4のディスク装置の構成は、実施例3と同様であるので、簡略化のためにその詳細な説明は省略する。
(Constitution)
Since the configuration of the disk device of the fourth embodiment is the same as that of the third embodiment, detailed description thereof is omitted for the sake of brevity.

(動作)
実施例4のディスク装置1の動作を図12のタイムチャートを用いて以下詳細に説明する。なお、図11を用いて説明した起動から通常動作までのタイミングT1からT9までの動作は実施例3のディスク装置の動作と同様であるので、簡略化のためにその詳細な説明は省略する。
(Operation)
The operation of the disk device 1 according to the fourth embodiment will be described in detail below with reference to the time chart of FIG. Since the operation from the timing T1 to T9 from the start to the normal operation described with reference to FIG. 11 is the same as the operation of the disk device of the third embodiment, detailed description thereof is omitted for simplification.

実施例4のディスク装置1では、起動直後にキャパシタCsa、Csbの容量測定を実施してから所定の時間、例えば24時間を経過するごとに、スイッチSW1a〜SW3aを同図のように切り替え、キャパシタCsaの容量測定を開始する(タイミングT11)。このとき、通常動作から前述の限定動作Bに切り換える。   In the disk device 1 according to the fourth embodiment, the switches SW1a to SW3a are switched as shown in the figure every time a predetermined time, for example, 24 hours elapses after the capacitance measurement of the capacitors Csa and Csb is performed immediately after starting. The capacity measurement of Csa is started (timing T11). At this time, the normal operation is switched to the limited operation B described above.

そして、キャパシタCsaの容量測定が終了すると、スイッチSW1a〜SW3aを同図のように切り替え、再びキャパシタCsaの充電を開始する(タイミングT12)。そして、充電が完了すると、スイッチSW1b〜SW3bを同図のように切り替え、Csbの容量測定を開始する(タイミングT13)。そして、キャパシタCsbの容量測定が終了すると、スイッチSW1b〜SW3bを同図のように切り替え、再びキャパシタCsbを充電する。   Then, when the capacitance measurement of the capacitor Csa is completed, the switches SW1a to SW3a are switched as shown in the figure, and charging of the capacitor Csa is started again (timing T12). When the charging is completed, the switches SW1b to SW3b are switched as shown in the figure, and the Csb capacity measurement is started (timing T13). Then, when the capacitance measurement of the capacitor Csb is completed, the switches SW1b to SW3b are switched as shown in the figure, and the capacitor Csb is charged again.

そして、キャパシタCsbの充電が完了すると、限定動作Bから通常動作に戻す(タイミングT14)。以上の動作を所定の時間経過ごとに繰返すことにより、長期間停止しないディスク装置であっても、定期的にキャパシタCsa、Csbの容量を測定しキャパシタCsa、Csbの寿命の確認を行うことができる。   When the charging of the capacitor Csb is completed, the limited operation B is returned to the normal operation (timing T14). By repeating the above operation every predetermined time, even a disk device that does not stop for a long period of time can periodically measure the capacities of the capacitors Csa and Csb and check the lifetime of the capacitors Csa and Csb. .

(実施例4の効果)
以上のように実施例4のディスク装置によれば、起動直後にキャパシタの容量測定をしてから所定の時間を経過するごとに、キャパシタの容量測定を行えるようにしたので、サーバなどのディスク装置のように長期間停止しないディスク装置であっても、キャパシタの容量を正確に推定することができ、キャパシタの寿命を確実に判定することができる。
(Effect of Example 4)
As described above, according to the disk device of the fourth embodiment, the capacitance of the capacitor can be measured every time a predetermined time elapses after the capacitance of the capacitor is measured immediately after startup. Thus, even in a disk device that does not stop for a long time, the capacity of the capacitor can be accurately estimated, and the life of the capacitor can be reliably determined.

(構成)
実施例5のディスク装置の構成は、実施例1または実施例3のディスク装置の構成と同様であるので、簡略化のために、その詳細な説明は省略する。なお、実施例5のディスク装置の以下の説明では、図1の実施例1のディスク装置1の構成の場合を一例として説明する。
(Constitution)
Since the configuration of the disk device according to the fifth embodiment is the same as the configuration of the disk device according to the first or third embodiment, detailed description thereof is omitted for the sake of brevity. In the following description of the disk device of the fifth embodiment, the case of the configuration of the disk device 1 of the first embodiment shown in FIG. 1 will be described as an example.

(動作)
以上の構成により実施例5のディスク装置の動作を図13のタイムチャートを用いて説明する。
(Operation)
The operation of the disk apparatus of the fifth embodiment having the above configuration will be described with reference to the time chart of FIG.

同図は、キャパシタCsが正常な場合のキャパシタCsの電圧のタイムチャートを実線で、寿命等により劣化した場合のキャパシタCsの電圧のタイムチャートを破線で示している。このように、容量測定時(タイミングT21〜T24)においても、電源遮断時(タイミングT25〜)においても、容量の減少に比例した傾きにて電圧が降下する。   In the figure, the time chart of the voltage of the capacitor Cs when the capacitor Cs is normal is indicated by a solid line, and the time chart of the voltage of the capacitor Cs when it is deteriorated due to the lifetime or the like is indicated by a broken line. As described above, the voltage drops at a slope proportional to the decrease in the capacity both during the capacity measurement (timing T21 to T24) and when the power is shut off (timing T25 to T25).

実施例5のディスク装置1では、この特性を利用して、キャパシタの容量測定時に所定の基準電圧Vaまで降下する時間Taを測定することにより、電源遮断時にメモリ本体部動作可能電圧Vwまで降下する時間、すなわちライトバックキャッシュデータの書出しを行える時間Twを推定し、容量測定の際の測定結果となる時間Taに基づいて電源遮断時に書き出し可能なライトバックキャッシュデータ量を算出し、通常動作(2)におけるライトバックキャッシュデータ量を制限する。   In the disk device 1 according to the fifth embodiment, by using this characteristic, the time Ta that drops to a predetermined reference voltage Va when measuring the capacitance of the capacitor is measured, so that the voltage drops to the memory body operable voltage Vw when the power is turned off. The time, ie, the time Tw at which the write-back cache data can be written is estimated, and the write-back cache data amount that can be written at the time of power-off is calculated based on the time Ta that is the measurement result at the time of capacity measurement. ) To limit the amount of write-back cache data.

例えば、時間Ta=3秒程度のときの書き出し可能なライトバックキャッシュデータ量が300KBとした場合は、時間Ta=2秒程度のときは書き出し可能なライトバックキャッシュデータ量を200KBとする。   For example, when the amount of write-back cache data that can be written when the time Ta is about 3 seconds is 300 KB, the amount of write-back cache data that can be written is about 200 KB when the time Ta is about 2 seconds.

なお、キャパシタCsが2つやそれ以上の場合は、それぞれの容量測定の際に所定の基準電圧VaやVbまで降下する時間TaやTbを求め、その合計時間に基づいて電源遮断時に書き出し可能なライトバックキャッシュデータ量を算出し、通常動作(2)におけるライトバックキャッシュデータ量を制限するようにすればよい。   When there are two or more capacitors Cs, the times Ta and Tb that fall to the predetermined reference voltages Va and Vb are obtained at the time of each capacitance measurement, and a write that can be written when the power is shut off based on the total time The back cache data amount may be calculated to limit the write back cache data amount in the normal operation (2).

(実施例5の効果)
以上のように実施例5のディスク装置によれば、起動時または起動後の所定時間経過ごとに測定用負荷を接続し所定の基準電圧まで降下する放電時間を求め、当該放電時間に基づいて通常動作におけるライトバックキャッシュデータ量を制限するようにしたので、キャパシタが劣化した場合でもキャパシタの容量に応じた運用を継続することができる。
(Effect of Example 5)
As described above, according to the disk device of the fifth embodiment, the measurement load is connected at the time of starting or every elapse of a predetermined time after the activation, and the discharge time to drop to the predetermined reference voltage is obtained. Since the amount of write-back cache data in the operation is limited, the operation according to the capacity of the capacitor can be continued even when the capacitor is deteriorated.

《その他の変形例》
以上の実施例の説明では半導体ディスク装置の例として説明したが、ライトバックキャッシュメモリを搭載したRAID装置やディスクドライブ装置などにおいても本発明を適用することができる。
<< Other modifications >>
In the above description of the embodiment, the semiconductor disk device has been described as an example. However, the present invention can also be applied to a RAID device or a disk drive device equipped with a write-back cache memory.

また、実施例3および実施例4のディスク装置において、2個のキャパシタを用いた例として説明したが、それぞれのキャパシタに実施例3および実施例4と同様にスイッチおよび共用する測定用負荷を接続するようにすれば、3つ以上のキャパシタを設けるようにしてもよい。   In the disk devices of the third and fourth embodiments, the description has been given of the example using two capacitors. However, as in the third and fourth embodiments, a switch and a shared measurement load are connected to each capacitor. If so, three or more capacitors may be provided.

以上述べたように、本発明は、電源バックアップ用キャパシタを備えた半導体ディスク装置等のディスク装置に広く用いることができる。   As described above, the present invention can be widely used for disk devices such as a semiconductor disk device including a power backup capacitor.

1 ディスク装置
10 メモリ本体部
11 I/F部
12 制御部
14 揮発性メモリ
15 不揮発性メモリ
20 電源入力部
21 測定用負荷
21a 負荷回路
21b 電圧測定回路
D1〜D3、D1a〜D3a、D1b〜D3b ダイオード
Va 基準電圧
Vw メモリ本体動作可能電圧
Vcc DC入力
Vdd DC出力
Vz 電圧測定結果信号
SW1〜SW3、SW1a〜SW3a、SW1b〜SW3b スイッチ
Cs、Csa、Csb キャパシタ
DESCRIPTION OF SYMBOLS 1 Disk apparatus 10 Memory main-body part 11 I / F part 12 Control part 14 Volatile memory 15 Non-volatile memory 20 Power supply input part 21 Measuring load 21a Load circuit 21b Voltage measuring circuit D1-D3, D1a-D3a, D1b-D3b Diode Va Reference voltage Vw Memory main body operable voltage Vcc DC input Vdd DC output Vz Voltage measurement result signals SW1 to SW3, SW1a to SW3a, SW1b to SW3b Switches Cs, Csa, Csb Capacitors

Claims (6)

電源遮断時に電源を供給できるキャパシタを備え、揮発性メモリを経由して不揮発性メモリにデータを格納し電源遮断時に前記揮発性メモリに格納されたデータを前記不揮発性メモリに格納できるディスク装置であって、
前記キャパシタの負荷となる負荷手段と、
前記キャパシタへの電源入力側と電源出力側にそれぞれ備える第1のスイッチと第2のスイッチと、前記キャパシタと前記負荷手段との間に備え前記第1のスイッチと第2のスイッチのオンオフと背反してオンオフする第3のスイッチとからなるスイッチ手段と、を備え、
所定の時に、前記第3のスイッチをオンとし前記キャパシタが所定の電圧以下となるまでの放電時間を測定し当該放電時間に基づいて前記キャパシタの容量を推定できるようにしたことを特徴とするディスク装置。
A disk device comprising a capacitor capable of supplying power when the power is shut off, storing data in the nonvolatile memory via a volatile memory, and storing data stored in the volatile memory in the nonvolatile memory when the power is shut off. And
Load means to be a load of the capacitor;
A first switch and a second switch provided on a power input side and a power output side to the capacitor, respectively, and a first switch and a second switch provided between the capacitor and the load means. And a switch means comprising a third switch that is turned on and off,
A disk characterized in that, at a predetermined time, the third switch is turned on to measure a discharge time until the capacitor falls below a predetermined voltage, and the capacity of the capacitor can be estimated based on the discharge time. apparatus.
入力電源と前記第1のスイッチ間に備えた第1のダイオードと、
出力電源と前記第2のスイッチ間に備えた第2のダイオードと、
前記入力電源と出力電源間に備えた第3のダイオードとからなる整流手段を備えたことを特徴とする請求項1記載のディスク装置。
A first diode provided between an input power supply and the first switch;
A second diode provided between an output power supply and the second switch;
2. The disk device according to claim 1, further comprising a rectifying unit comprising a third diode provided between the input power source and the output power source.
前記所定の時の測定開始から前記キャパシタが充電されるまでは、直ちに不揮発性メモリにライトデータを格納するようにしたことを特徴とする請求項1記載のディスク装置。   2. The disk device according to claim 1, wherein the write data is immediately stored in the nonvolatile memory from the start of measurement at the predetermined time until the capacitor is charged. 前記所定の時は、起動時または前回の容量測定の時から所定の時間経過した毎としたことを特徴とする請求項1記載のディスク装置。   2. The disk apparatus according to claim 1, wherein the predetermined time is set every time a predetermined time elapses from the time of starting or the previous capacity measurement. 電源遮断時に電源を供給できるキャパシタを複数備え、
前記負荷手段と前記スイッチ手段と前記スイッチ手段と、をそれぞれのキャパシタごとに備えたことを特徴とする請求項1記載のディスク装置。
Equipped with multiple capacitors that can supply power when the power is shut off,
2. The disk device according to claim 1, wherein the load unit, the switch unit, and the switch unit are provided for each capacitor.
前記キャパシタが所定の電圧以下となるまでの前記放電時間に基づいて、前記揮発性メモリを経由して前記不揮発性メモリに格納するデータ量を制限するようにしたことを特徴とする請求項1記載のディスク装置。   2. The amount of data stored in the non-volatile memory via the volatile memory is limited based on the discharge time until the capacitor becomes a predetermined voltage or less. Disk unit.
JP2010070165A 2010-03-25 2010-03-25 Disk device Pending JP2011203970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010070165A JP2011203970A (en) 2010-03-25 2010-03-25 Disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010070165A JP2011203970A (en) 2010-03-25 2010-03-25 Disk device

Publications (1)

Publication Number Publication Date
JP2011203970A true JP2011203970A (en) 2011-10-13

Family

ID=44880554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010070165A Pending JP2011203970A (en) 2010-03-25 2010-03-25 Disk device

Country Status (1)

Country Link
JP (1) JP2011203970A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9891974B2 (en) 2014-09-10 2018-02-13 Toshiba Memory Corporation Memory system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9891974B2 (en) 2014-09-10 2018-02-13 Toshiba Memory Corporation Memory system
US10489227B2 (en) 2014-09-10 2019-11-26 Toshiba Memory Corporation Memory system

Similar Documents

Publication Publication Date Title
CN108733537B (en) Method and apparatus for intelligent backup capacitor management
US8468370B2 (en) Systems, methods and devices for control of the operation of data storage devices using solid-state memory and monitoring energy used therein
JP5402693B2 (en) Disk array device control method and disk array device
JP5232516B2 (en) Disk array device
JP5906966B2 (en) Control device, power supply device, and power control method
US20120023365A1 (en) Methods and systems for monitoring write operations of non-volatile memory
KR20110015273A (en) User device including auxiliary power supply
US20100180068A1 (en) Storage device
US9915705B2 (en) Battery control device and battery charge capacity diagnosis method
EP2889773A1 (en) Method for backing up data during memory system power-down, and memory system controller
CN101145391A (en) Ferroelectric memory apparatus and control method of the same
US9465426B2 (en) Method for backing up data in a case of power failure of storage system, and storage system controller
KR20170028096A (en) Method for inspecting auxiliary power supply and electronic device adopting the same
US7321521B2 (en) Assessing energy requirements for a refreshed device
CN115004504B (en) System and method for PLP capacitor health check
JP2011203905A (en) Memory system
US20200025834A1 (en) Power supply device, power supply control method, and storage device
JP2020017133A (en) Storage apparatus and control method thereof
US7089435B2 (en) Storage unit having normal and backup power sources for use in retaining data when normal power fails
CN112201284B (en) Memory system and method of operating the same
KR20200057866A (en) Storage device including nonvolatile memory device and operating method thereof
US10489227B2 (en) Memory system
CN111522587B (en) Electronic device and device wake-up method
US20230307939A1 (en) Auxiliary power circuit, electronic device, and method for operating auxiliary power circuit
JP2011203970A (en) Disk device