JP2012005170A - Storage device and charging control method - Google Patents
Storage device and charging control method Download PDFInfo
- Publication number
- JP2012005170A JP2012005170A JP2010135057A JP2010135057A JP2012005170A JP 2012005170 A JP2012005170 A JP 2012005170A JP 2010135057 A JP2010135057 A JP 2010135057A JP 2010135057 A JP2010135057 A JP 2010135057A JP 2012005170 A JP2012005170 A JP 2012005170A
- Authority
- JP
- Japan
- Prior art keywords
- battery
- charging
- charge
- unit
- power
- 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.)
- Granted
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Power Sources (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
Description
本発明はストレージ装置及び充電制御方法に関し、特に、キャッシュメモリに格納されたデータを停電発生時に不揮発性記憶媒体に退避させる停電時バックアップ機能が搭載されたストレージ装置に適用して好適なものである。 The present invention relates to a storage apparatus and a charging control method, and is particularly suitable for application to a storage apparatus equipped with a backup function during a power failure that saves data stored in a cache memory to a nonvolatile storage medium when a power failure occurs. .
従来、ストレージ装置においては、ハードディスク装置等の記憶デバイスが提供する記憶領域をホスト装置に提示し、ホスト装置からの要求に応じてかかる記憶領域にデータを読み書きする。このようなストレージ装置では、頻繁に使用されるデータに対するアクセス速度を向上させることなどを目的として、記憶デバイスに読み書きされるデータを揮発性メモリからなるキャッシュメモリに一時的に保存することが行われている。 Conventionally, in a storage apparatus, a storage area provided by a storage device such as a hard disk apparatus is presented to the host apparatus, and data is read from or written to the storage area in response to a request from the host apparatus. In such a storage apparatus, for the purpose of improving the access speed for frequently used data, data read / written to / from the storage device is temporarily stored in a cache memory including a volatile memory. ing.
ところで、ストレージ装置において、データ保管は最も重要な性能である。停電等が発生した場合にもデータを保護することは当然であり、データ喪失は社会的な問題にも繋がる。このような事情に鑑み、近年では、停電が発生したときにバッテリによってキャッシュメモリ等に対する電源供給を行いながら、キャッシュメモリに格納されているデータを不揮発性メモリなどに退避(バックアップ)させる停電時バックアップ機能が搭載されたストレージ装置が製品化されている。 Incidentally, data storage is the most important performance in a storage device. In the event of a power outage or the like, it is natural to protect the data, and data loss also leads to social problems. In view of these circumstances, in recent years, when a power failure occurs, power is supplied to the cache memory, etc. by the battery, and the data stored in the cache memory is backed up (backed up) to the nonvolatile memory, etc. The storage device with the function is commercialized.
この場合、上述のような停電時バックアップ機能により「確実なバックアップ」を行うためには、かかるバックアップに必要な電力量を常にバッテリが蓄えている必要があり、このため、例えば停電によりバッテリの蓄電量が用いられた後の復電時や、自然放電により蓄電量が低下した後に、停電に備えて少しでも早く必要量の電力を充電することが必要となる。 In this case, in order to perform “reliable backup” by the backup function at the time of power failure as described above, it is necessary that the battery always stores the amount of power necessary for such backup. It is necessary to charge the required amount of power as soon as possible in preparation for a power failure after power is restored after the amount is used or after the amount of power storage is reduced due to spontaneous discharge.
なお、下記特許文献1には、例えばビデオカメラに用いられるバッテリの充電方式として、満充電までは所定レートの充電電流による急速充電を行い、その後は同じ所定レートのパルス状の充電電流による低速充電を行うことが開示されている。 In Patent Document 1 below, for example, as a battery charging method used in a video camera, rapid charging is performed with a charging current at a predetermined rate until full charging, and then slow charging with a pulsed charging current at the same predetermined rate is performed. Is disclosed.
ところが、ストレージ製品のバックアップ用バッテリとして広く用いられるニッケル水素(Ni-MH)電池は、満充電が近くなると発熱が大きくなり、満充電を超えて充電すると更に発熱が大きくなる特性を有する。 However, a nickel metal hydride (Ni-MH) battery widely used as a backup battery for storage products has a characteristic that heat generation increases when the battery is fully charged, and further heat generation occurs when the battery is charged beyond the full charge.
バッテリの発熱は、バッテリの劣化を進行させるほか、バッテリの信頼性を低下させることとなる。さらには、バッテリから放射された熱はストレージ製品内に拡散されるため、ストレージ装置の信頼性を低下させることにも繋がるため、できる限りバッテリの発熱量を低減することが望ましい。 The heat generated by the battery not only causes deterioration of the battery but also reduces the reliability of the battery. Furthermore, since the heat radiated from the battery is diffused in the storage product, the reliability of the storage apparatus is also lowered. Therefore, it is desirable to reduce the heat generation amount of the battery as much as possible.
この場合、この発熱量は、充電電流が高レートになるほど大きくなる。従って、発熱を抑止するためには極力低電流で充電するのが望ましい。しかしながら、バッテリの充電を定電流で行うと、充電時間が長くなり、上述のように急速充電を必要とするストレージ装置の充電方式としては、不適切な問題がある。 In this case, the amount of heat generation increases as the charging current increases. Therefore, it is desirable to charge with a current as low as possible in order to suppress heat generation. However, if the battery is charged with a constant current, the charging time becomes long, and there is an inappropriate problem as a charging method for a storage apparatus that requires rapid charging as described above.
一方、ストレージ製品の性能としては、記憶容量及びデータ速度で比較される。サイズや価格が許される限り性能を向上したいものである。従って、バッテリなど、直接的に性能と評価されないものについては、極力シンプルに構成することが必要となる。 On the other hand, the performance of storage products is compared by storage capacity and data rate. We want to improve performance as long as size and price are allowed. Therefore, it is necessary to configure a battery or the like that is not directly evaluated as performance as simple as possible.
本発明は以上の点を考慮してなされたもので、バッテリの発熱を抑えながら停電に対するデータ保証を確実に行い得る信頼性の高いストレージ装置及び充電制御方法を提案しようとするものである。 The present invention has been made in consideration of the above points, and an object of the present invention is to propose a highly reliable storage apparatus and charge control method capable of reliably guaranteeing data against power failure while suppressing heat generation of the battery.
かかる課題を解決するため本発明においては、1又は複数の記憶デバイスを有する記憶デバイス部と、前記記憶デバイスが提供する記憶領域に読み書きするデータを一時的に格納するキャッシュメモリ部と、前記記憶デバイスに対するデータの読み書きを制御するコントロール部と、停電時に前記キャッシュメモリ部に駆動電力を供給するバッテリ電源部とを有するストレージ装置において、前記キャッシュメモリ部は、前記記憶装置が提供する記憶領域に読み書きするデータを一時的に格納する揮発性メモリと、前記揮発性メモリに格納された前記データを一時的にバックアップするための不揮発性記憶媒体と、前記揮発性メモリに対するデータの読み書きを制御すると共に、前記揮発性メモリに格納されたデータを必要に応じて前記不揮発性記憶媒体に退避させるメモリコントローラとを備え、前記バッテリ電源部は、バッテリと、前記バッテリの充放電を制御する充放電制御部とを備え、前記充放電制御部は、停電からの復電後に、前記メモリコントローラから通知される前記揮発性メモリに格納されたデータの全データ量を取得し、すべての当該データを前記揮発性メモリから前記不揮発性記憶媒体にバックアップするために必要な電力量を求め、当該電力量の電力を前記バッテリに充電するまで前記バッテリを急速充電し、当該電力量の電力を前記バッテリに充電した後は、前記急速充電時よりも低い充電電流で当該バッテリを低速充電することを特徴とする。 In order to solve this problem, in the present invention, a storage device unit having one or a plurality of storage devices, a cache memory unit for temporarily storing data to be read and written in a storage area provided by the storage device, and the storage device In a storage device having a control unit that controls reading and writing of data to and from a battery power supply unit that supplies driving power to the cache memory unit in the event of a power failure, the cache memory unit reads and writes to a storage area provided by the storage device A volatile memory for temporarily storing data, a non-volatile storage medium for temporarily backing up the data stored in the volatile memory, and reading and writing of data to and from the volatile memory; The data stored in the volatile memory is The battery power supply unit includes a battery and a charge / discharge control unit that controls charging / discharging of the battery, and the charge / discharge control unit is configured to recover power after a power failure. , Obtaining the total amount of data stored in the volatile memory notified from the memory controller, and calculating the amount of power required to back up all the data from the volatile memory to the nonvolatile storage medium. The battery is rapidly charged until the battery is charged with the amount of power, and after the battery is charged with the amount of power, the battery is charged at a low speed with a charging current lower than that during the quick charge. It is characterized by doing.
また本発明においては、1又は複数の記憶デバイスを有する記憶デバイス部と、前記記憶デバイスが提供する記憶領域に読み書きするデータを一時的に格納するキャッシュメモリ部と、前記記憶デバイスに対するデータの読み書きを制御するコントロール部と、停電時に前記キャッシュメモリ部に駆動電力を供給するバッテリ電源部とを有するストレージ装置における充電制御方法において、前記キャッシュメモリ部は、前記記憶装置が提供する記憶領域に読み書きするデータを一時的に格納する揮発性メモリと、前記揮発性メモリに格納された前記データを一時的にバックアップするための不揮発性記憶媒体と、前記揮発性メモリに対するデータの読み書きを制御すると共に、前記揮発性メモリに格納されたデータを必要に応じて前記不揮発性記憶媒体に退避させるメモリコントローラとを有し、前記バッテリ電源部は、バッテリと、前記バッテリの充放電を制御する充放電制御部とを有し、停電からの復電後に、前記充放電制御部が、前記メモリコントローラから通知される前記揮発性メモリに格納されたデータの全データ量を取得する第1のステップと、前記充放電制御部が、前記揮発性メモリに格納されたすべてのデータを前記揮発性メモリから前記不揮発性記憶媒体にバックアップするために必要な電力量を求める第2のステップと、前記充放電制御部が、当該電力量の電力を前記バッテリに充電するまで前記バッテリを急速充電し、当該電力量の電力を前記バッテリに充電した後は、前記急速充電時よりも低い充電電流で当該バッテリを低速充電する第3のステップとを備えることを特徴とする。 In the present invention, a storage device unit having one or more storage devices, a cache memory unit for temporarily storing data to be read / written in a storage area provided by the storage device, and reading / writing data from / to the storage device In a charging control method in a storage device having a control unit to control and a battery power supply unit that supplies driving power to the cache memory unit in the event of a power failure, the cache memory unit reads and writes data in a storage area provided by the storage device A volatile memory for temporarily storing data, a non-volatile storage medium for temporarily backing up the data stored in the volatile memory, and controlling the reading and writing of data to and from the volatile memory. If necessary, the data stored in the volatile memory The battery power supply unit includes a battery and a charge / discharge control unit that controls charge / discharge of the battery, and the charge / discharge control is performed after power is restored from a power failure. A first step of acquiring a total data amount of data stored in the volatile memory notified from the memory controller; and all data stored in the volatile memory by the charge / discharge control unit. A second step of obtaining the amount of power required to back up the volatile memory from the volatile memory to the non-volatile storage medium, and until the charge / discharge control unit charges the battery with the amount of power. A third step of charging the battery at a low speed with a charging current lower than that at the time of the rapid charging after the battery is rapidly charged and charging the battery with the amount of power; Characterized in that it comprises.
本発明によれば、バッテリの蓄電量が少なく、キャッシュメモリ部におけるデータのバックアップを保証できない期間を急速充電により短い期間に抑えながら、発熱量が大きい満充電近くでは低速充電によりバッテリの発熱量を抑えることができる。かくするにつき、バッテリの発熱を抑えながら停電に対するデータ保証を確実に行い得る信頼性の高いストレージ装置及び充電制御方法を実現できる。 According to the present invention, while the amount of power stored in the battery is small and the backup of data in the cache memory unit cannot be ensured to a short period by rapid charging, the amount of heat generated by the battery is reduced by low-speed charging near the full charge where the heat generation amount is large. Can be suppressed. Accordingly, it is possible to realize a highly reliable storage apparatus and charge control method capable of reliably guaranteeing data against power failure while suppressing heat generation of the battery.
以下図面について、本発明の一実施の形態を詳述する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
(1)本実施の形態によるストレージ装置の構成
図1において、1は全体として本実施の形態によるストレージ装置を示す。このストレージ装置は、記憶領域を提供する記憶デバイス部2と、図示しないホスト装置からの要求に応じて記憶デバイス部2に対するデータの読み書きを制御するコントロール部3と、記憶デバイス部2及びコントロール部3に対して駆動電力を供給する電源部4とを備えて構成される。
(1) Configuration of Storage Device According to this Embodiment In FIG. 1, reference numeral 1 denotes a storage device according to this embodiment as a whole. The storage device includes a
記憶デバイス部2は、1又は複数の記憶デバイス10と、DC/DCコンバータ11とを備える。
The
記憶デバイス10は、例えばSCSI(Small Computer System Interface)ディスク等の高価なディスクや、SATA(Serial AT Attachment)ディスク又は光ディスク等の安価なディスクなどから構成される。1又は複数の記憶デバイス10により提供される物理的な記憶領域上に、1又は複数の論理的なボリューム(以下、これを論理ボリュームと呼ぶ)が設定される。そしてホスト装置からのデータは、この論理ボリューム内に所定大きさのブロック又はファイルを単位として記憶される。
The
各論理ボリュームには、それぞれ固有の識別子(以下、これをLUN(Logical Unit number)と呼ぶ)が付与される。本実施の形態の場合、論理ボリュームに対するデータの入出力は、このLUNと、各論理ブロックにそれぞれ付与されるその論理ブロックに固有の番号(LBA:Logical Block Address)とを組み合わせたものをアドレスとして、当該アドレス及びデータ長を指定して行われる。 Each logical volume is given a unique identifier (hereinafter referred to as LUN (Logical Unit number)). In the case of this embodiment, the input / output of data to / from a logical volume is performed by combining this LUN and a unique number (LBA: Logical Block Address) assigned to each logical block as an address. This is done by designating the address and data length.
DC/DCコンバータ11は、電源部4から与えられる駆動電圧を所定電圧に昇圧又は減圧し、かくして得られた所定電圧の駆動電圧を各記憶デバイス10に供給する。
The DC /
一方、コントロール部3は、コントローラ12及びキャッシュメモリ部13等の情報処理資源と、これらコントローラ12及びキャッシュメモリ部13にそれぞれ対応させて設けられたDC/DCコンバータ14,15を備えて構成される。
On the other hand, the
コントローラ12は、ストレージ装置1全体の動作制御を司るプロセッサであり、その内部に各種制御プログラムを記憶保持するためのローカルメモリ(図示せず)を備える。ローカルメモリに格納された各種制御プログラムをコントローラ12が実行することにより、例えば記憶デバイス部2の記憶デバイス10に対するデータの読書き制御などの各種制御処理が行われる。キャッシュメモリ部13は、主としてホスト装置からのアクセス要求に応じて論理ボリューム(記憶デバイス10)に読み書きされるデータを一時的に保存するために用いられる。
The
図2は、キャッシュメモリ部13の詳細構成を示す。この図2に示すように、キャッシュメモリ部13は、複数の揮発性メモリ30、メモリコントローラ31及びデータバックアップ部32から構成される。メモリコントローラ31は、各揮発性メモリ30に対してデータを読み書きする機能のほか、コントローラ12(図1)や後述するバッテリ電源部17(図1)の充放電制御部20(図1)と通信を行う通信機能を備える。またデータバックアップ部32は、例えばフラッシュメモリ等の不揮発性メモリから構成され、停電発生時に揮発性メモリに保存されているデータを退避させるために用いられる。
FIG. 2 shows a detailed configuration of the
DC/DCコンバータ14,15は、記憶デバイス部2のDC/DCコンバータ11と同様の機能を有するもので、それぞれ電源部4から与えられる駆動電圧を所定電圧に昇圧又は減圧し、かくして得られた所定電圧の駆動電圧を対応するコントローラ12や、キャッシュメモリ部13に供給する。
The DC /
電源部4は、AC/DCコンバータ16及びバッテリ電源部17を備えて構成される。AC/DCコンバータ16は、商用交流電源18から得られる100〔V〕の交流電圧を所定電圧の直流電圧に変換し、かくして得られた直流電圧を記憶デバイス部2のDC/DCコンバータ11と、コントロール部3のDC/DCコンバータ14,15と、バッテリ電源部17の充放電制御部20(図1)とにそれぞれ供給する。
The
またバッテリ電源部17は、複数のバッテリを備えるバッテリ部19と、バッテリ部19の充放電を制御する充放電制御部20とから構成される。
The battery
図3は、バッテリ部19及び充放電制御部20の詳細構成を示す。バッテリ部19は、電源部4(図1)からバッテリ電源部17の電力入出力端(図示せず)を介して直流電圧が印加される電源ラインLN1と、接地されたアースラインLN2との間に直列接続された複数のバッテリ40及び放電電流監視用抵抗R1と、バッテリ電圧センサ41、バッテリ温度センサ42及び放電電流センサ43を備えて構成される。
FIG. 3 shows a detailed configuration of the
バッテリ40は、例えばニッケル水素電池などから構成される。バッテリ電圧センサ41は、電源ラインLN1とバッテリ部19との接続中点におけるバッテリ部19の出力電圧を検出し、検出結果をバッテリ電圧検出信号として後述する充放電制御部20のCPU55に送信する。
The
またバッテリ温度センサ42は、バッテリ40の温度を検出し、検出結果をバッテリ温度検出信号として充放電制御部20のCPU55に送信する。さらに放電電流センサ43は、停電発生時などにバッテリ部19から出力される放電電流の電流値を検出し、検出結果を放電電流検出信号として充放電制御部20のCPU55に送信する。
The
充放電制御部20は、入力回路50、充電回路51、放電回路53、補助電源部54及びCPU(Central Processing Unit)55を備えて構成される。
The charge /
入力回路50は、電源ラインLN1上に介挿された突入電流防止回路60と、電源ラインLN1及びアースラインLN2間に直列接続された第1及び第2の分圧抵抗R2,R3と、停電検出用電圧センサ61とを備える。
The
突入電流防止回路60は、CPU55から与えられる突入電流防止指令信号に基づいて駆動し、ストレージ装置1の電源投入時に入力する突入電流を抑制する。また停電検出用電圧センサ61は、第1及び第2の分圧抵抗R2,R3の接続中点の電圧を検出し、検出結果を電圧検出信号としてCPU55に送信する。
The inrush
充電回路51は、昇圧部70及び定電流部71から構成される。昇圧部70は、第1及び第2のコンデンサC1,C2、第1のコイルL1、ダイオードD1並びにMOS型のFET(Metal Oxide Semiconductor Field Effect Transistor)80からなる昇圧回路81と、第1及び第2の分圧抵抗R4,R5と、昇圧制御回路82とを備える。
The charging
昇圧回路81を構成する第1及び第2のコンデンサC1,C2は、それぞれ電源ラインLN1及びアースラインLN2間にそれぞれ接続され、第1のコイルL1及び第1のダイオードD1は、電源ラインLN1における第1及び第2のコンデンサC1,C2間に直列に挿入されている。またMOS型FET80は、ドレインが電源ラインLN1における第1のコイルL1及び第1のダイオードD1の接続中点に接続されると共に、ソースがアースラインLN2と接続され、ゲートが昇圧制御回路82と接続されている。
The first and second capacitors C1 and C2 constituting the
昇圧制御回路82は、電源ラインLN1における第1のダイオードD1及び第2のコンデンサC2の接続中点と、アースラインLN2との間に直列接続された第1及び第2の分圧抵抗R4,R5の接続中点の電圧を監視する。そして昇圧制御回路82は、CPU55からの充電指令信号に基づき、必要に応じて、かかる第1及び第2の分圧抵抗R3,R4の接続中点の電圧が予め定められた電圧となるように第1のMOS型FET82を高周波でオン/オフさせる。これにより入力回路50の出力電圧が昇圧部70において昇圧される。具体的に、昇圧制御回路82は、充電指示信号の信号レベルが論理「1」レベルのときには、MOS型FET80をオン動作(高周波でオン/オフ)させ、放電指令信号の信号レベルが論理「0」レベルのときには、MOS型FET80をオフさせる。
The step-up control circuit 82 includes first and second voltage dividing resistors R4 and R5 connected in series between the connection midpoint of the first diode D1 and the second capacitor C2 in the power supply line LN1 and the ground line LN2. Monitor the voltage at the midpoint of the connection. Based on the charge command signal from the
定電流部71は、第2のコイルL2、電流検出用抵抗R6、第2及び第3のダイオードD2,D3並びにMOS型FET83からなる定電流回路84と、定電流制御回路85とを備える。第2のコイルL2、電流検出用抵抗R6及び第3のダイオードD3は、この順番で直列に接続されて電源ラインLN1に介挿されている。またMOS型FET83は、ドレインが電源ラインLN1における昇圧回路81の第1のダイオードD1及び第2のコンデンサC2の接続中点に接続されると共に、ドレインが第2のコイルL2と接続され、ゲートが定電流制御回路85と接続されている。さらに第2のダイオードD2は、電源ラインLN1におけるMOS型FET83のドレイン及び第2のコイルL2の接続中点と、アースラインLN2との間に接続されている。
The constant
そして定電流制御回路85は、電流検出用抵抗R6の両端子の電圧をそれぞれ取得し、これら2つの電圧の電圧差が予め定められた複数の基準値のうちの充電指令信号により指定された値となるようにMOS型FET83を高周波でオン/オフさせる。具体的に、定電流制御回路85は、充電指示信号の信号レベルが論理「1」レベルのときには、MOS型FET83をオン動作(高周波でオン/オフ)させ、放電指令信号の信号レベルが論理「0」レベルのときには、MOS型FET83をオフさせる。これにより昇圧部70の出力電流が定電流部71において充電指令信号により指定された電流値に制御され、これが充電電流としてバッテリ部19に与えられる。また定電流制御回路85は、電流検出用抵抗R6の両端子間の電圧差に基づいて充電電流の電流値を求め、これを充電電流検出信号としてCPU55に送信する。
The constant
放電回路53は、MOS型FET86、第4のダイオードD4及び出力制御回路87から構成される。MOS型FET86は、ソースがバッテリ部52のバッテリ群と電源ラインLN1との接続中点に接続され、ゲートが出力制御回路87に接続されている。またMOS型FET86のドレインは第4のダイオードD4を介してこのバッテリ電源部17の電力入出力端に接続されている。そして出力制御回路87は、CPU55から与えられる放電指令信号に基づいてMOS型FET86をオン/オフすることにより、バッテリ部19のバッテリ40に蓄積された電力の放電を開始又は停止させる。具体的に、出力制御回路87は、放電指令信号の信号レベルが論理「1」レベルのときには、MOS型FET86をオン動作させ、放電指令信号の信号レベルが論理「0」レベルのときには、MOS型FET86をオフさせる。
The
補助電源部54は、電源部4のAC/DCコンバータ16から電源ラインLN1を介して与えられる駆動電圧を所定電圧に昇圧又は減圧してCPU55に給電する。
The auxiliary
CPU55は、入力回路50の停電検出用電圧センサ61から与えられる電圧検出信号に基づいて停電の有無を監視する。そしてCPU55は、例えば停電の発生を検出したときには、放電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET86をオン動作させ、これによりバッテリ部19からの放電を開始させる。またCPU55は、この後、電圧検出信号に基づいて停電からの復電を検出したときには、放電指令信号の信号レベルを論理「0」レベルに立ち下げることによりMOS型FET86をオフし、これによりバッテリ部19からの放電を停止させる。
The
またCPU55は、バッテリ部19のバッテリ電圧センサ41から与えられるバッテリ電圧検出信号に基づいてバッテリ部19内の出力電圧を監視し、例えばバッテリ部19の出力電圧が所定電圧以下となったときには、充電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET80,83をオン動作させ、これによりバッテリ部19のバッテリ40に対する充電を開始させる。
Further, the
さらにCPU55は、バッテリ部19のバッテリ温度センサ42から与えられるバッテリ温度検出信号に基づいてバッテリ部19のバッテリ40の温度を監視し、当該温度が予め定められた所定温度を超えた場合には、充電指令信号の信号レベルを論理「0」レベルに立ち下げることによりMOS型FET80,83をオフさせ、これによりバッテリ部19のバッテリ40に対する充電を停止させる。
Furthermore, CPU55 monitors the temperature of the
さらにCPU55は、充電回路51から与えられる充電電流検出信号と、バッテリ部19の放電電流センサ43から与えられる放電電流検出信号とに基づいてバッテリ部19のバッテリ40の蓄電量を監視する。具体的に、CPU55は、充電電流の電流値及び時間の積算結果から放電電流の電流値及び時間の積算結果を減算することによりバッテリ部19の蓄電量を算出する。そしてCPU55は、バッテリ部19の蓄電量に基づき、必要に応じて充電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET80,83をオン動作させ、これによりバッテリ部19に対する充電を開始させる。
Further, the
(2)本実施の形態による充電制御処理
次に、ストレージ装置1に搭載された本実施の形態による充電制御機能について説明する。本ストレージ装置1には、コントロール部3(図1)のキャッシュメモリ部13に保持されたデータのデータ量に応じて、電源部4のバッテリ部19のバッテリ40に対する充電を、高電流で急速に行う急速充電と、低電流で低速に行う低速充電とで切り替えて行う点を充電制御機能が搭載されている点を特徴の1つとしている。
(2) Charging Control Processing According to the Present Embodiment Next, the charging control function according to the present embodiment installed in the storage device 1 will be described. The storage device 1 rapidly charges the
この場合、本ストレージ装置1は、かかる低速充電時に、バッテリ部19のバッテリ40に対してパルス状の充電電流を印加することにより、平均すると充電電流が低電流となるように制御する。
In this case, the storage device 1 controls the charging current to be a low current on average by applying a pulsed charging current to the
加えて、本ストレージ装置1は、バッテリ部19の蓄電量が、キャッシュメモリ部13に保持された全データをバックアップするのに必要とされる電力量に満たないときには、ホスト装置からのライト要求に対するライト性能を制限するライト性能制限機能が搭載されている点をもう1つの特徴としている。
In addition, the storage device 1 responds to a write request from the host device when the amount of power stored in the
実際上、バッテリ電源部17の充放電制御部20のCPU55(図3)は、図4に示すように、キャッシュメモリ部13のメモリコントローラ31に対して、キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの合計データ量を定期的に問い合わせる(SP1,SP3,SP5,……)。
In practice, the CPU 55 (FIG. 3) of the charge /
またキャッシュメモリ部13のメモリコントローラ31(図2)は、かかる問合わせに応じて、かかる合計データ量をキャッシュデータ量情報としてCPU55に通知する(SP2,SP4,SP6,……)。
Further, in response to such an inquiry, the
一方、CPU55は、図5(A)〜(C)に示すように、ストレージ装置1の起動時、充電指令信号の信号レベルを論理「1」レベルに立ち上げ、蓄電量が予め定められた値(例えば満充電の90パーセントの蓄電量)となるまで、バッテリ部19のバッテリ40に対して一定の高電流(例えば1〔A〕)による急速充電を実行させる(時刻t0〜時刻t1)。
On the other hand, as shown in FIGS. 5A to 5C, the
またCPU55は、この後、充電指令信号の信号レベルを、例えば1分間だけ論理「1」レベルに立ち上げ、その後の2分間は論理「0」レベルに立ち下げることを繰り返すことにより、充電指令信号の信号レベルをパルス状に変化させる。これによりCPU55は、バッテリ40に対して満充電となるまで、低電流(例えば平均が0.3〔A〕)による低速充電を実行させる(時刻t1〜時刻t2)。
Thereafter, the
またCPU55は、バッテリ40が満充電となると(時刻t2)、充電指令信号の信号レベルを論理「1」レベルに立ち下げることにより充電を休止させ、この後はバッテリ部19の放電電流センサ43(図3)から与えられる放電電流検出信号に基づいてバッテリ部19の蓄電量を監視する(時刻t2〜時刻t3)。
Further, when the
またCPU55は、この間、キャッシュメモリ部13のメモリコントローラ31から与えられるキャッシュデータ量情報に基づいて、そのときキャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されている全データをデータバックアップ部32(図2)に退避させるために必要な電力量(以下、これをバックアップ時必要電力量と呼ぶ)を求める。そしてCPU55は、上述のようにして求めた現在のバッテリ部19の蓄電量と、かかる現在のバックアップ時必要電力量とを比較する。
Further, during this time, the
そしてCPU55は、バッテリ部19の蓄電量がバックアップ時必要電力量を下回るタイミングで、時刻t1〜時刻t2と同様に充電指令信号の信号レベルをパルス状に変化させることにより、バッテリ部19のバッテリ40に対して低電流による低速充電を実行させ(時刻t3〜時刻t4)、やがてバッテリ40が満充電となると、充電指令信号の信号レベルを論理「1」レベルに立ち下げることにより、バッテリ40に対する充電を休止させる(時刻t4)。
Then, the
そして、CPU55は、やがて入力回路50(図3)から与えられる電圧検出信号に基づいて停電の発生を検出すると、放電指令信号の信号レベルを論理「1」レベルに立ち上げることにより、バッテリ部19のバッテリ40からの放電を開始させる(時刻t4)。またCPU55は、やがてキャッシュメモリ部13のメモリコントローラ31から、各揮発性メモリ30からデータバックアップ部32へのデータの退避が完了した旨の通知が与えられると、放電指令信号の信号レベルを論理「0」レベルに立ち下げることにより放電を停止させる(時刻t5)。
Then, when the
さらにCPU55は、この後、入力回路50(図3)から与えられる電圧検出信号に基づいて停電からの復電を検出すると、充電指令信号の信号レベルを論理「1」レベルに立ち上げることにより、バッテリ部19のバッテリに対して高電流での急速充電を開始させる(時刻t6)。このときキャッシュメモリ部13のメモリコントローラ31は、停電発生時にデータバックアップ部32に退避させたデータを揮発性メモリ30に戻す処理を実行する。
Further, the
またCPU55は、キャッシュメモリ部13に対して各揮発性メモリ30にそれぞれ格納されているデータの合計データ量を問い合わせる処理を再開する。そしてCPU55は、キャッシュメモリ部13から送信されるキャッシュデータ量情報に基づいて現在のバックアップ時必要電力量を求め、バッテリ部19の蓄電量がバックアップ時必要電力量となるまで高電流による急速充電を実行させる(時刻t6〜時刻t7)。
Further, the
さらにCPU55は、やがてかかるバッテリ部19の蓄電量がバックアップ時必要電力量を超えると、充電指令信号の信号レベルを上述したパルス状に変化させることにより、充電モードを低電流による低速充電に切替えさせ、この後、バッテリ部19のバッテリ40が満充電となるまで低速充電を行わせる(時刻t7〜時刻t8)。
Further, the
次いで、CPU55は、バッテリ部19のバッテリ40が満充電となると、充電指令信号の信号レベルを論理「0」レベルに立ち下げることにより、バッテリ40に対する充電を休止させる(時刻t8)。
Next, when the
この後、CPU55は、時刻t2〜時刻t3と同様に、バッテリ部19から与えられる電圧検出信号に基づいて現在のバッテリ部19の蓄電量を監視する。またCPU55は、これと併せて、キャッシュメモリ部13から与えられるキャッシュデータ量情報に基づいて現在のバックアップ時必要電力量を求める。そしてCPU55は、上述のようにして求めた現在のバッテリ部19の蓄電量と、かかるバックアップ時必要電力量とを比較する(時刻t8〜時刻t9)。
Thereafter, the
そしてCPU55は、やがてバッテリ部19の蓄電量がバックアップ時必要電力量を下回るタイミングで、上述したパルス状の充電指令信号を充電回路51に送信することにより、バッテリ部19のバッテリ40に対して低電流での低速充電を開始させ(時刻t9)、この後、時刻t7〜時刻t9について上述した制御を繰り返す。
Then, the
以上のような本実施の形態による充電制御機能に基づく充電制御処理を実現するための手段として、かかるCPU55は、図6に示すようなバックアップ時必要電力量換算テーブル90を保持している。
As a means for realizing the charge control processing based on the charge control function according to the present embodiment as described above, the
このバックアップ時必要電力量換算テーブル90は、キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの全データ量に対するバックアップ時必要電力量をCPU55が換算するために利用するテーブルであり、図6に示すように、データ量欄90A及びバックアップ時必要電力量欄90Bから構成される。
The backup required power amount conversion table 90 is a table used by the
そしてデータ量欄90Aには、キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの全データ量が例えば所定データ量刻みで順次格納され、バックアップ時必要電力量欄90Bには、予め計算又は実測により求められた、対応するデータ量のデータを揮発性メモリ30からデータバックアップ部32(図2)にバックアップするのに必要となる電力量が格納される。
In the
従って、例えば図6には、キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されたデータの全データ量が「10〜20」〔GB〕のときには、「BB」〔W〕の電力量が必要となるのに対して、かかる全データ量が「20〜30」〔GB〕のときには、「CC」〔W〕の電力量が必要であることが示されている。
Therefore, for example, in FIG. 6, when the total amount of data stored in each
(3)本実施の形態による充電制御処理に関するCPUの処理
次に、かかる本実施の形態による充電制御処理に関連する充放電制御部20(図1)のCPU55(図3)及びキャッシュメモリ部13(図1)のメモリコントローラ31(図2)の具体的な処理内容について説明する。
(3) CPU processing related to charge control processing according to the present embodiment Next, the CPU 55 (FIG. 3) and the
(3−2)第1の充電制御処理
図7は、本実施の形態による充電制御機能に基づく充電制御処理のうち、ストレージ装置1の初期起動時や停電からの復電時におけるCPU55の具体的な処理内容を示す。
(3-2) First Charging Control Process FIG. 7 shows the specifics of the
CPU55は、ストレージ装置1が初期起動され又は停電から復電するとこの第1の充電制御処理を開始し、まず、今回の起動が初期起動時であるか否かを判断する(SP10)。そしてCPU55は、この判断において肯定結果を得ると、充電指令信号の信号レベルを論理「1」レベルに立ち上げることにより、バッテリ部19のバッテリ40に対して高電流による急速充電を行わせる(SP12)。
The
そしてCPU55は、この後、充電回路51から与えられる充電電流検出信号に基づいて、急速充電を終了すべき状態(ここでは、バッテリ部19のバッテリ40の蓄電量が満充電の90%になった状態)となるのを待ち受け(SP13)、やがて急速充電を終了すべき状態となったことを確認すると、ステップSP14に進む。
Then, the
これに対してCPU55は、ステップSP10の判断において否定結果を得ると、キャッシュメモリ部13のメモリコントローラ31から与えられるキャッシュデータ量情報とに基づいて、バッテリ部19の蓄電量がバックアップ時必要電力量を超えているか否かを判断する(SP11)。
On the other hand, if the
そしてCPU55は、この判断において否定結果を得ると、ステップSP12に進み、これに対して肯定結果を得ると、充電指令信号の信号レベルをパルス状に変化させることにより、バッテリ部19のバッテリ40に対して低電流による低速充電を行わせる(SP14)。
If the
続いて、CPU55は、充電回路51からの充電電流検出信号に基づいてバッテリ部19のバッテリ40が満充電となるのを待ち受け(SP15)、やがてバッテリ40が満充電となったことを認識すると、充電指令信号を論理「0」レベルに立ち下げることによりバッテリ部19のバッテリ40に対する充電を休止させる(SP16)。
Subsequently, the
この後、CPU55は、キャッシュメモリ部13に対して当該キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの全データ量を定期的に問い合わせ、バッテリ部19においてバックアップ時必要電力量の電力を確保しているか否かを常時監視する(SP17)。そしてCPU55は、やがてバッテリ部19における自然放電等によりバッテリ部19における蓄電量がバックアップ時必要電力量を下回るタイミングで、ステップSP14に戻り、この後、ステップSP14〜ステップSP17の処理を繰り返す。
After that, the
(3−3)第2の充電制御処理
一方、図8は、バッテリ部19のバッテリ40の充電時又は充電休止時におけるCPU55の具体的な処理内容を示す。
(3-3) Second Charging Control Processing On the other hand, FIG. 8 shows specific processing contents of the
CPU55は、バッテリ部19のバッテリ40の充電を開始し又は当該充電を休止すると、この第2の充電制御処理を開始し、まず、停電検出用電圧センサ61から与えられる電圧検出信号に基づいて、停電発生の有無を監視する(SP20)。
When the
そしてCPU55は、やがて停電発生を検出すると、放電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET86をオン動作させて、バッテリ部19からの放電を開始させる(SP21)。これにより放電電流がDC/DCコンバータ15(図1)を介して駆動電流としてキャッシュメモリ部13に与えられる。そしてキャッシュメモリ部13のメモリコントローラ31(図2)は、この放電電流に基づいて駆動し、揮発性メモリ30に格納されているデータをデータバックアップ部32(図2)に退避させる。
When the
次いで、CPU55は、データバックアップの完了後にキャッシュメモリ部13のメモリコントローラ31からバックアップを完了した旨の通知を受信したか否かを判断し(SP22)、否定結果を得ると、例えばユーザ操作に応じてストレージ装置1のコントローラ12から放電を停止させるべき旨の命令(放電停止命令)が与えられたか否かを判断する(SP23)。
Next, the
またCPU55は、この判断において否定結果を得ると、現在のバッテリ部19の蓄電量が予め定められた所定電圧(放電終了電圧)に達したか否かを判断する(SP24)。そしてCPU55は、この判断において否定結果を得ると、入力回路50の停電検出用電圧センサ61から与えられる電圧検出信号に基づいて、復電したか否かを判断する(SP25)。
If the
さらにCPU55は、この判断において否定結果を得るとステップSP22に戻り、この後、ステップSP22、ステップSP23、ステップSP24又はステップSP25において肯定結果を得るまでステップSP22〜ステップSP25のループを繰り返す。
Further, when the
そしてCPU55は、やがてステップSP22、ステップSP23、ステップSP24又はステップSP25のいずれかにおいて肯定結果を得ると、放電指令信号の信号レベルを論理「0」レベルに立ち下げることによりMOS型FET86をオフさせる(SP28)。これによりバッテリ部19からの放電が停止され、キャッシュメモリ部13に対する駆動電流の供給が停止される。そしてCPU55は、所定のシャットダウン処理を実行し(SP29)、この後、この第2の充電制御処理を終了する。
When the
(3−4)ライト性能制限処理
一方、図9は、ライト性能制限機能に関するキャッシュメモリ部13のメモリコントローラ31により実行されるライト性能制限処理の処理手順を示す。
(3-4) Write Performance Restriction Processing On the other hand, FIG. 9 shows a processing procedure of write performance restriction processing executed by the
メモリコントローラ31は、ストレージ装置1の電源が投入されると、このライト性能制限処理を開始し、まず、バッテリ電源部17(図1)のCPU55に対して、バックアップ時必要電力量の電力がバッテリ部19に蓄電されているか否かを問い合わせる(SP30)。
When the power to the storage device 1 is turned on, the
そしてメモリコントローラ31は、バックアップ時必要電力量の電力がバッテリ部19に蓄電されていないときには、現在、ライト性能を制限しているか否かを判断する(SP31)。そしてメモリコントローラ31は、この判断において肯定結果を得るとステップSP30に戻り、これに対して否定結果を得ると、コントローラ12(図1)に対してライト性能を制限するよう依頼する。かくしてコントローラ12は、この依頼に応じて、例えばホスト装置からのライト要求を一部受け付けない、又はライト要求に対する応答を遅くするなどしてライト性能を制限する。そしてメモリコントローラ31は、この後ステップSP30に戻る。
The
一方、メモリコントローラ31は、ステップSP30の判断において肯定結果を得ると、現在、ライト性能を制限しているか否かを判断する(SP33)。そしてメモリコントローラ31は、この判断において肯定結果を得るとステップSP30に戻り、これに対して否定結果を得ると、コントローラ12に対してライト性能の制限を解除するよう依頼する。かくしてコントローラ12は、この依頼に応じて、ライト性能の制限を解除する。そしてメモリコントローラ31は、この後ステップSP30に戻る。
On the other hand, if the
(4)本実施の形態の効果
以上のように本実施の形態では、停電後の復電時、キャッシュメモリ部13に格納されているデータの全データ量と、そのときのバッテリ部19のバッテリ40の蓄電量とに基づいて、バッテリ部19における蓄電量がバックアップ時必要電力量を下回っている状態のときには高電流による急速充電を行い、その後、バッテリ部19における蓄電量がバックアップ時必要電力量を上回ったときには、低電流による低速充電を行う。
(4) Effects of the present embodiment As described above, in the present embodiment, at the time of power recovery after a power failure, the total amount of data stored in the
従って、本ストレージ装置1によれば、図5(D)に示すように、バッテリ部19のバッテリ40の蓄電量が少なく、データのバックアップを保証できない期間を急速充電により短い期間に抑えながら、発熱量が大きい満充電近くでは低速充電によりバッテリ40の発熱量を抑えることができる。かくするにつき、バッテリ40の発熱を抑えながら停電に対するデータ保証を確実に行い得る信頼性の高いストレージ装置を実現できる。
Therefore, according to the storage device 1, as shown in FIG. 5D, the amount of power stored in the
また本ストレージ装置1によれば、充電電流をパルス状にすることによって低電流を形成するようにしているため、例えば高電流によりバッテリ40を充電する充電回路51とは別個に低電流によりバッテリ40を充電するための充電回路を設ける必要がなく、その分、システム全体としての構成の複雑化を防止することができる。
Further, according to the present storage device 1, since a low current is formed by making the charging current into a pulse shape, for example, the
(5)他の実施の形態
なお上述の実施の形態においては、バッテリ電源部17を図3のように構成するようにした場合について述べたが、本発明はこれに限らず、この他種々の構成を広く適用することができる。
(5) Other Embodiments In the above-described embodiment, the case where the battery
また上述の実施の形態においては、停電時に、キャッシュメモリ部13の揮発性メモリ30に格納されているデータのバックアップ先とするデータバックアップ部32を不揮発性メモリにより構成するようにした場合について述べたが、本発明はこれに限らず、例えばデータバックアップ部32をハードディスクや光ディスクなどの不揮発性記憶媒体から構成するようにしても良い。また記憶デバイス10が提供する記憶領域上に作成された特定の論理ボリュームをバックアップ先とするようにしても良い。
Further, in the above-described embodiment, the case where the
さらに上述の実施の形態においては、キャッシュメモリ部13の揮発性メモリ30に格納されたデータをデータバックアップ部32にバックアップするのに必要な電力量を、図6について上述したバックアップ時必要電力量換算テーブル90を参照して求めるようにした場合について述べたが、本発明はこれに限らず、例えば所定の演算式を用いた演算により求めるようにしても良く、かかる電力量の求め方としては、この他種々の求め方を広く適用することができる。
Furthermore, in the above-described embodiment, the amount of power required to back up the data stored in the
本発明は、キャッシュメモリに格納されたデータを停電発生時に不揮発性記憶媒体に退避させる停電時バックアップ機能が搭載されたストレージ装置に広く適用することができる。 The present invention can be widely applied to storage apparatuses equipped with a backup function during a power failure that saves data stored in a cache memory to a nonvolatile storage medium when a power failure occurs.
1……ストレージ装置、3……コントロール部、4……電源部、10……記憶デバイス、13……キャッシュメモリ部、17……バッテリ電源部、19……バッテリ部、20……充放電制御部、30……揮発性メモリ、31……メモリコントローラ、32……データバックアップ部、50……入力回路、51……充電回路、53……放電回路、55……CPU。 DESCRIPTION OF SYMBOLS 1 ... Storage apparatus, 3 ... Control part, 4 ... Power supply part, 10 ... Storage device, 13 ... Cache memory part, 17 ... Battery power supply part, 19 ... Battery part, 20 ... Charge-discharge control , 30... Volatile memory, 31... Memory controller, 32... Data backup unit, 50... Input circuit, 51.
Claims (8)
前記キャッシュメモリ部は、
前記記憶装置が提供する記憶領域に読み書きするデータを一時的に格納する揮発性メモリと、
前記揮発性メモリに格納された前記データを一時的にバックアップするための不揮発性記憶媒体と、
前記揮発性メモリに対するデータの読み書きを制御すると共に、前記揮発性メモリに格納されたデータを必要に応じて前記不揮発性記憶媒体に退避させるメモリコントローラと
を備え、
前記バッテリ電源部は、
バッテリと、
前記バッテリの充放電を制御する充放電制御部と
を備え、
前記充放電制御部は、
停電からの復電後に、前記メモリコントローラから通知される前記揮発性メモリに格納されたデータの全データ量を取得し、すべての当該データを前記揮発性メモリから前記不揮発性記憶媒体にバックアップするために必要な電力量を求め、当該電力量の電力を前記バッテリに充電するまで前記バッテリを急速充電し、当該電力量の電力を前記バッテリに充電した後は、前記急速充電時よりも低い充電電流で当該バッテリを低速充電する
ことを特徴とするストレージ装置。 A storage device unit having one or a plurality of storage devices, a cache memory unit that temporarily stores data to be read and written in a storage area provided by the storage device, a control unit that controls reading and writing of data to the storage device, In a storage device having a battery power supply unit that supplies driving power to the cache memory unit during a power failure,
The cache memory unit
A volatile memory for temporarily storing data to be read and written in a storage area provided by the storage device;
A non-volatile storage medium for temporarily backing up the data stored in the volatile memory;
A memory controller for controlling reading and writing of data to and from the volatile memory, and for saving data stored in the volatile memory to the nonvolatile storage medium as necessary,
The battery power supply is
Battery,
A charge / discharge control unit for controlling charge / discharge of the battery,
The charge / discharge control unit
To obtain the total amount of data stored in the volatile memory notified from the memory controller after power recovery from a power failure, and to back up all the data from the volatile memory to the nonvolatile storage medium After charging the battery until the battery is charged with the amount of power required for charging, and charging the battery with the power of the amount of power, the charging current is lower than that during the quick charge. The storage device is characterized in that the battery is charged at a low speed.
前記急速充電時には、一定電流値の充電電流を印加するようにして前記バッテリを急速充電し、前記低速充電時には、パルス状の充電電流を印加するようにして前記バッテリを低速充電する
ことを特徴とする請求項1に記載のストレージ装置。 The charge / discharge control unit
The battery is rapidly charged by applying a charging current having a constant current value during the rapid charging, and the battery is charged slowly by applying a pulsed charging current during the low-speed charging. The storage device according to claim 1.
前記ストレージ装置の初期起動時には、所定量の電力を充電するまで前記バッテリを急速充電し、当該バッテリに前記所定量の電力を充電した後は、当該バッテリを低速充電する
ことを特徴とする請求項1に記載のストレージ装置。 The charge / discharge control unit
The initial charge of the storage device is performed by rapidly charging the battery until a predetermined amount of electric power is charged, and after charging the battery with the predetermined amount of electric power, the battery is charged at a low speed. The storage apparatus according to 1.
前記キャッシュメモリ部の前記揮発性メモリに格納されている全データを前記不揮発性記憶媒体にバックアップするのに要する電力量が前記バッテリに蓄電されていないときには、ホスト装置からのライト要求に対するライト性能を制限する
ことを特徴とする請求項1に記載のストレージ装置。 The memory controller is
When the amount of power required to back up all data stored in the volatile memory of the cache memory unit to the nonvolatile storage medium is not stored in the battery, the write performance for the write request from the host device is The storage apparatus according to claim 1, wherein the storage apparatus is limited.
前記キャッシュメモリ部は、
前記記憶装置が提供する記憶領域に読み書きするデータを一時的に格納する揮発性メモリと、
前記揮発性メモリに格納された前記データを一時的にバックアップするための不揮発性記憶媒体と、
前記揮発性メモリに対するデータの読み書きを制御すると共に、前記揮発性メモリに格納されたデータを必要に応じて前記不揮発性記憶媒体に退避させるメモリコントローラと
を有し、
前記バッテリ電源部は、
バッテリと、
前記バッテリの充放電を制御する充放電制御部と
を有し、
停電からの復電後に、前記充放電制御部が、前記メモリコントローラから通知される前記揮発性メモリに格納されたデータの全データ量を取得する第1のステップと、
前記充放電制御部が、前記揮発性メモリに格納されたすべてのデータを前記揮発性メモリから前記不揮発性記憶媒体にバックアップするために必要な電力量を求める第2のステップと、
前記充放電制御部が、当該電力量の電力を前記バッテリに充電するまで前記バッテリを急速充電し、当該電力量の電力を前記バッテリに充電した後は、前記急速充電時よりも低い充電電流で当該バッテリを低速充電する第3のステップと
を備えることを特徴とする充電制御方法。 A storage device unit having one or a plurality of storage devices, a cache memory unit that temporarily stores data to be read and written in a storage area provided by the storage device, a control unit that controls reading and writing of data to the storage device, In a charging control method in a storage device having a battery power supply unit that supplies driving power to the cache memory unit during a power failure,
The cache memory unit
A volatile memory for temporarily storing data to be read and written in a storage area provided by the storage device;
A non-volatile storage medium for temporarily backing up the data stored in the volatile memory;
A memory controller for controlling reading and writing of data to and from the volatile memory, and for saving data stored in the volatile memory to the nonvolatile storage medium as necessary,
The battery power supply is
Battery,
A charge / discharge control unit for controlling charge / discharge of the battery,
A first step in which the charge / discharge control unit acquires the total amount of data stored in the volatile memory notified from the memory controller after power recovery from a power failure;
A second step in which the charge / discharge control unit obtains an amount of power required to back up all data stored in the volatile memory from the volatile memory to the nonvolatile storage medium;
The charge / discharge control unit rapidly charges the battery until the battery is charged with the amount of power, and after charging the battery with the amount of power, the charging current is lower than that during the quick charge. A charge control method comprising: a third step of charging the battery at a low speed.
前記急速充電時に、一定電流値の充電電流を印加するようにして前記バッテリを急速充電し、前記低速充電時には、パルス状の充電電流を印加するようにして前記バッテリを低速充電する
ことを特徴とする請求項5に記載の充電制御方法。 In the third step, the charge / discharge control unit includes:
The battery is rapidly charged by applying a charging current having a constant current value during the rapid charging, and the battery is charged at low speed by applying a pulsed charging current during the low-speed charging. The charge control method according to claim 5.
前記ストレージ装置の初期起動時には、所定量の電力を充電するまで前記バッテリを急速充電し、当該バッテリに前記所定量の電力を充電した後は、当該バッテリを低速充電する
ことを特徴とする請求項5に記載の充電制御方法。 In the third step, the charge / discharge control unit includes:
The initial charge of the storage device is performed by rapidly charging the battery until a predetermined amount of electric power is charged, and after charging the battery with the predetermined amount of electric power, the battery is charged at a low speed. 5. The charge control method according to 5.
前記キャッシュメモリ部の前記揮発性メモリに格納されている全データを前記不揮発性記憶媒体にバックアップするのに要する電力量が前記バッテリに蓄電されていないときには、ホスト装置からのライト要求に対するライト性能を制限する
ことを特徴とする請求項5に記載の充電制御方法。 In the third step, the memory controller
When the amount of power required to back up all data stored in the volatile memory of the cache memory unit to the nonvolatile storage medium is not stored in the battery, the write performance for the write request from the host device is The charge control method according to claim 5, wherein the charge control method is limited.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010135057A JP5419805B2 (en) | 2010-06-14 | 2010-06-14 | Storage device and charge control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010135057A JP5419805B2 (en) | 2010-06-14 | 2010-06-14 | Storage device and charge control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012005170A true JP2012005170A (en) | 2012-01-05 |
JP5419805B2 JP5419805B2 (en) | 2014-02-19 |
Family
ID=45536530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010135057A Expired - Fee Related JP5419805B2 (en) | 2010-06-14 | 2010-06-14 | Storage device and charge control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5419805B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014010610A (en) * | 2012-06-29 | 2014-01-20 | Fujitsu Ltd | Control device, power supply device, and power control method |
JP2014010395A (en) * | 2012-07-02 | 2014-01-20 | Konica Minolta Inc | Electronic apparatus |
WO2015136655A1 (en) * | 2014-03-13 | 2015-09-17 | 株式会社日立製作所 | Storage system and control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61254032A (en) * | 1985-04-30 | 1986-11-11 | 横河電機株式会社 | Backup power source unit |
JPH0556574A (en) * | 1991-08-28 | 1993-03-05 | Funai Denki Kenkyusho:Kk | Charge control method in cordless communication device |
JPH0690531A (en) * | 1992-07-21 | 1994-03-29 | Sony Corp | Charger |
JPH0727256U (en) * | 1993-10-12 | 1995-05-19 | 株式会社東芝 | Full charge detection circuit |
JPH0865902A (en) * | 1994-08-18 | 1996-03-08 | Mitsubishi Electric Corp | Charger for equipment using secondary battery |
-
2010
- 2010-06-14 JP JP2010135057A patent/JP5419805B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61254032A (en) * | 1985-04-30 | 1986-11-11 | 横河電機株式会社 | Backup power source unit |
JPH0556574A (en) * | 1991-08-28 | 1993-03-05 | Funai Denki Kenkyusho:Kk | Charge control method in cordless communication device |
JPH0690531A (en) * | 1992-07-21 | 1994-03-29 | Sony Corp | Charger |
JPH0727256U (en) * | 1993-10-12 | 1995-05-19 | 株式会社東芝 | Full charge detection circuit |
JPH0865902A (en) * | 1994-08-18 | 1996-03-08 | Mitsubishi Electric Corp | Charger for equipment using secondary battery |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014010610A (en) * | 2012-06-29 | 2014-01-20 | Fujitsu Ltd | Control device, power supply device, and power control method |
JP2014010395A (en) * | 2012-07-02 | 2014-01-20 | Konica Minolta Inc | Electronic apparatus |
WO2015136655A1 (en) * | 2014-03-13 | 2015-09-17 | 株式会社日立製作所 | Storage system and control method |
US9690664B2 (en) | 2014-03-13 | 2017-06-27 | Hitachi, Ltd. | Storage system and method for controlling the same |
Also Published As
Publication number | Publication date |
---|---|
JP5419805B2 (en) | 2014-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7126857B2 (en) | Storage subsystem with embedded circuit for protecting against anomalies in power signal from host | |
US8667331B2 (en) | Storage system and control method for storing write data requested by a host computer | |
CN110430504B (en) | Charging control method, charging control device, charging box and computer readable storage medium | |
US20110126046A1 (en) | Saving information to flash memory during power failure | |
TWI514124B (en) | State control device, information processing device, computer program product, and semiconductor device | |
US10175902B2 (en) | Managing host communication with a regulator in a low power mode | |
JP2013225297A (en) | Control apparatus, control method, program and semiconductor device | |
US9110649B2 (en) | Storage apparatus, control apparatus and control method | |
US11836358B2 (en) | Data storage device power provisions | |
JP5419805B2 (en) | Storage device and charge control method | |
WO2017114236A1 (en) | Charging method and device, and solid state disk | |
WO2024078231A1 (en) | Data protection circuit, method and apparatus, and electronic device and storage medium | |
CN109782888A (en) | Power-down protection circuit, electronic equipment and the method for DRAM data | |
CN104020835A (en) | Information processing apparatus and operation state control method | |
US20240086089A1 (en) | System and method for managing solid state storage devices in low temperature environment | |
JP2020144783A (en) | Information processor, method and program of power supply thereof | |
CN108767344B (en) | Method and device for optimizing power supply of intelligent sound equipment battery | |
US11658589B2 (en) | Electrically commutated motor driving device and control method thereof | |
JP6231752B2 (en) | Device control apparatus and device control method | |
CN112783806B (en) | Control device and method under SSD data storage | |
CN110307142B (en) | Control method of air compressor and air compressor | |
JP2015038643A (en) | Auxiliary power supply control circuit, storage device, auxiliary power supply control method | |
CN115413089A (en) | Automatic control method and device for single-fire switch | |
JP2021157769A (en) | Turbo support for systems with limited battery power | |
KR20160043829A (en) | Apparatus and Method for Controlling Relay having Function of Protecting Pre-Charge Relay |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120702 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20130826 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20130826 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20131022 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131119 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |