JP2012005170A - Storage device and charging control method - Google Patents

Storage device and charging control method Download PDF

Info

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
Application number
JP2010135057A
Other languages
Japanese (ja)
Other versions
JP5419805B2 (en
Inventor
Koki Ogishi
昂己 大岸
Fumikazu Takahashi
史一 高橋
Yoshihide Takahashi
芳秀 高橋
Takao Goto
隆雄 後藤
Kazu Mochizuki
和 望月
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.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Computer Peripherals 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 Hitachi Computer Peripherals Co Ltd filed Critical Hitachi Computer Peripherals Co Ltd
Priority to JP2010135057A priority Critical patent/JP5419805B2/en
Publication of JP2012005170A publication Critical patent/JP2012005170A/en
Application granted granted Critical
Publication of JP5419805B2 publication Critical patent/JP5419805B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

PROBLEM TO BE SOLVED: To suggest a storage device and a charging control method with high reliability capable of certainly performing data guarantee to a power failure while suppressing heating of a battery.SOLUTION: After power recovery from the power failure, all data amounts of data stored in a volatile memory in a cache memory part are acquired, an electric power amount required for performing backup of all the pieces of data stored in the volatile memory from the volatile memory to a non-volatile storage medium in the cache memory is calculated, the battery is rapidly charged until the power of the electric power amount is charged to the battery, and after charging the power of the electric power amount is charged to the battery, low-speed charging of the battery is performed with charging current lower than that in the rapid charging.

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.

特開平6−90531号公報JP-A-6-90531

ところが、ストレージ製品のバックアップ用バッテリとして広く用いられるニッケル水素(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.

本実施の形態によるストレージ装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the storage apparatus by this Embodiment. キャッシュメモリ部の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of a cache memory part. バッテリ電源部の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of a battery power supply part. キャッシュメモリ部に格納されたデータの全データ量の収集に関するバッテリ電源部のCPUの処理の説明に供するフローチャートである。It is a flowchart with which it uses for description of the process of CPU of a battery power supply part regarding collection of the total data amount of the data stored in the cache memory part. (A)−(D)は、充電制御処理の説明に供するグラフ及び波形図である。(A)-(D) are the graph and waveform diagram with which it uses for description of a charge control process. バックアップ時必要電力量換算テーブルの構成を示す概念図である。It is a conceptual diagram which shows the structure of the required electric energy conversion table at the time of backup. 第1の充電制御処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a 1st charge control process. 第2の充電制御処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a 2nd charge control process. ライト性能制限処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a write performance restriction | limiting process.

以下図面について、本発明の一実施の形態を詳述する。   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 storage device unit 2 that provides a storage area, a control unit 3 that controls reading and writing of data to the storage device unit 2 in response to a request from a host device (not shown), a storage device unit 2, and a control unit 3. And a power supply unit 4 for supplying driving power to the apparatus.

記憶デバイス部2は、1又は複数の記憶デバイス10と、DC/DCコンバータ11とを備える。   The storage device unit 2 includes one or more storage devices 10 and a DC / DC converter 11.

記憶デバイス10は、例えばSCSI(Small Computer System Interface)ディスク等の高価なディスクや、SATA(Serial AT Attachment)ディスク又は光ディスク等の安価なディスクなどから構成される。1又は複数の記憶デバイス10により提供される物理的な記憶領域上に、1又は複数の論理的なボリューム(以下、これを論理ボリュームと呼ぶ)が設定される。そしてホスト装置からのデータは、この論理ボリューム内に所定大きさのブロック又はファイルを単位として記憶される。   The storage device 10 includes, for example, an expensive disk such as a SCSI (Small Computer System Interface) disk or an inexpensive disk such as a SATA (Serial AT Attachment) disk or an optical disk. One or more logical volumes (hereinafter referred to as logical volumes) are set on a physical storage area provided by one or more storage devices 10. Data from the host device is stored in this logical volume in units of blocks or files of a predetermined size.

各論理ボリュームには、それぞれ固有の識別子(以下、これを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 / DC converter 11 boosts or reduces the drive voltage supplied from the power supply unit 4 to a predetermined voltage, and supplies the drive voltage of the predetermined voltage thus obtained to each storage device 10.

一方、コントロール部3は、コントローラ12及びキャッシュメモリ部13等の情報処理資源と、これらコントローラ12及びキャッシュメモリ部13にそれぞれ対応させて設けられたDC/DCコンバータ14,15を備えて構成される。   On the other hand, the control unit 3 includes information processing resources such as the controller 12 and the cache memory unit 13, and DC / DC converters 14 and 15 provided corresponding to the controller 12 and the cache memory unit 13, respectively. .

コントローラ12は、ストレージ装置1全体の動作制御を司るプロセッサであり、その内部に各種制御プログラムを記憶保持するためのローカルメモリ(図示せず)を備える。ローカルメモリに格納された各種制御プログラムをコントローラ12が実行することにより、例えば記憶デバイス部2の記憶デバイス10に対するデータの読書き制御などの各種制御処理が行われる。キャッシュメモリ部13は、主としてホスト装置からのアクセス要求に応じて論理ボリューム(記憶デバイス10)に読み書きされるデータを一時的に保存するために用いられる。   The controller 12 is a processor that controls the operation of the entire storage apparatus 1, and includes a local memory (not shown) for storing various control programs therein. When the controller 12 executes various control programs stored in the local memory, various control processes such as data read / write control with respect to the storage device 10 of the storage device unit 2 are performed. The cache memory unit 13 is mainly used for temporarily storing data to be read from and written to the logical volume (storage device 10) in response to an access request from the host device.

図2は、キャッシュメモリ部13の詳細構成を示す。この図2に示すように、キャッシュメモリ部13は、複数の揮発性メモリ30、メモリコントローラ31及びデータバックアップ部32から構成される。メモリコントローラ31は、各揮発性メモリ30に対してデータを読み書きする機能のほか、コントローラ12(図1)や後述するバッテリ電源部17(図1)の充放電制御部20(図1)と通信を行う通信機能を備える。またデータバックアップ部32は、例えばフラッシュメモリ等の不揮発性メモリから構成され、停電発生時に揮発性メモリに保存されているデータを退避させるために用いられる。   FIG. 2 shows a detailed configuration of the cache memory unit 13. As shown in FIG. 2, the cache memory unit 13 includes a plurality of volatile memories 30, a memory controller 31, and a data backup unit 32. The memory controller 31 communicates with the controller 12 (FIG. 1) and the charge / discharge control unit 20 (FIG. 1) of the battery power supply unit 17 (FIG. 1) described later, in addition to the function of reading / writing data from / to each volatile memory 30. A communication function is provided. The data backup unit 32 is composed of a nonvolatile memory such as a flash memory, for example, and is used for saving data stored in the volatile memory when a power failure occurs.

DC/DCコンバータ14,15は、記憶デバイス部2のDC/DCコンバータ11と同様の機能を有するもので、それぞれ電源部4から与えられる駆動電圧を所定電圧に昇圧又は減圧し、かくして得られた所定電圧の駆動電圧を対応するコントローラ12や、キャッシュメモリ部13に供給する。   The DC / DC converters 14 and 15 have functions similar to those of the DC / DC converter 11 of the storage device unit 2, and each of the DC / DC converters 14 and 15 is obtained by increasing or decreasing the drive voltage supplied from the power supply unit 4 to a predetermined voltage. A drive voltage of a predetermined voltage is supplied to the corresponding controller 12 and the cache memory unit 13.

電源部4は、AC/DCコンバータ16及びバッテリ電源部17を備えて構成される。AC/DCコンバータ16は、商用交流電源18から得られる100〔V〕の交流電圧を所定電圧の直流電圧に変換し、かくして得られた直流電圧を記憶デバイス部2のDC/DCコンバータ11と、コントロール部3のDC/DCコンバータ14,15と、バッテリ電源部17の充放電制御部20(図1)とにそれぞれ供給する。   The power supply unit 4 includes an AC / DC converter 16 and a battery power supply unit 17. The AC / DC converter 16 converts an AC voltage of 100 [V] obtained from the commercial AC power supply 18 into a predetermined DC voltage, and the DC voltage thus obtained is converted to the DC / DC converter 11 of the storage device unit 2. The DC / DC converters 14 and 15 of the control unit 3 and the charge / discharge control unit 20 (FIG. 1) of the battery power supply unit 17 are supplied.

またバッテリ電源部17は、複数のバッテリを備えるバッテリ部19と、バッテリ部19の充放電を制御する充放電制御部20とから構成される。   The battery power supply unit 17 includes a battery unit 19 including a plurality of batteries, and a charge / discharge control unit 20 that controls charging / discharging of the battery unit 19.

図3は、バッテリ部19及び充放電制御部20の詳細構成を示す。バッテリ部19は、電源部4(図1)からバッテリ電源部17の電力入出力端(図示せず)を介して直流電圧が印加される電源ラインLN1と、接地されたアースラインLN2との間に直列接続された複数のバッテリ40及び放電電流監視用抵抗R1と、バッテリ電圧センサ41、バッテリ温度センサ42及び放電電流センサ43を備えて構成される。   FIG. 3 shows a detailed configuration of the battery unit 19 and the charge / discharge control unit 20. The battery unit 19 is connected between a power supply line LN1 to which a DC voltage is applied from the power supply unit 4 (FIG. 1) via a power input / output terminal (not shown) of the battery power supply unit 17 and a ground line LN2. And a plurality of batteries 40 and a discharge current monitoring resistor R1, a battery voltage sensor 41, a battery temperature sensor 42, and a discharge current sensor 43.

バッテリ40は、例えばニッケル水素電池などから構成される。バッテリ電圧センサ41は、電源ラインLN1とバッテリ部19との接続中点におけるバッテリ部19の出力電圧を検出し、検出結果をバッテリ電圧検出信号として後述する充放電制御部20のCPU55に送信する。   The battery 40 is composed of, for example, a nickel metal hydride battery. The battery voltage sensor 41 detects the output voltage of the battery unit 19 at the midpoint of connection between the power supply line LN1 and the battery unit 19, and transmits the detection result to the CPU 55 of the charge / discharge control unit 20 described later as a battery voltage detection signal.

またバッテリ温度センサ42は、バッテリ40の温度を検出し、検出結果をバッテリ温度検出信号として充放電制御部20のCPU55に送信する。さらに放電電流センサ43は、停電発生時などにバッテリ部19から出力される放電電流の電流値を検出し、検出結果を放電電流検出信号として充放電制御部20のCPU55に送信する。   The battery temperature sensor 42 detects the temperature of the battery 40 and transmits the detection result to the CPU 55 of the charge / discharge control unit 20 as a battery temperature detection signal. Further, the discharge current sensor 43 detects the current value of the discharge current output from the battery unit 19 when a power failure occurs, and transmits the detection result to the CPU 55 of the charge / discharge control unit 20 as a discharge current detection signal.

充放電制御部20は、入力回路50、充電回路51、放電回路53、補助電源部54及びCPU(Central Processing Unit)55を備えて構成される。   The charge / discharge control unit 20 includes an input circuit 50, a charge circuit 51, a discharge circuit 53, an auxiliary power supply unit 54 and a CPU (Central Processing Unit) 55.

入力回路50は、電源ラインLN1上に介挿された突入電流防止回路60と、電源ラインLN1及びアースラインLN2間に直列接続された第1及び第2の分圧抵抗R2,R3と、停電検出用電圧センサ61とを備える。   The input circuit 50 includes an inrush current prevention circuit 60 inserted on the power supply line LN1, first and second voltage dividing resistors R2 and R3 connected in series between the power supply line LN1 and the ground line LN2, and a power failure detection. Voltage sensor 61.

突入電流防止回路60は、CPU55から与えられる突入電流防止指令信号に基づいて駆動し、ストレージ装置1の電源投入時に入力する突入電流を抑制する。また停電検出用電圧センサ61は、第1及び第2の分圧抵抗R2,R3の接続中点の電圧を検出し、検出結果を電圧検出信号としてCPU55に送信する。   The inrush current prevention circuit 60 is driven based on the inrush current prevention command signal given from the CPU 55 and suppresses the inrush current input when the storage apparatus 1 is powered on. The power failure detection voltage sensor 61 detects the voltage at the midpoint of connection between the first and second voltage dividing resistors R2 and R3, and transmits the detection result to the CPU 55 as a voltage detection signal.

充電回路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 circuit 51 includes a booster unit 70 and a constant current unit 71. The step-up unit 70 includes a step-up circuit 81 including first and second capacitors C1 and C2, a first coil L1, a diode D1, and a MOS-type FET (Metal Oxide Semiconductor Field Effect Transistor) 80; Voltage dividing resistors R4 and R5, and a boost control circuit 82.

昇圧回路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 booster circuit 81 are respectively connected between the power supply line LN1 and the ground line LN2, and the first coil L1 and the first diode D1 are connected to the first power line LN1. The first and second capacitors C1 and C2 are inserted in series. The MOS FET 80 has a drain connected to the connection midpoint of the first coil L1 and the first diode D1 in the power supply line LN1, a source connected to the ground line LN2, and a gate connected to the boost control circuit 82. Has been.

昇圧制御回路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 CPU 55, the boost control circuit 82 adjusts the voltage at the connection midpoint of the first and second voltage dividing resistors R3 and R4 to a predetermined voltage as necessary. The first MOS type FET 82 is turned on / off at a high frequency. As a result, the output voltage of the input circuit 50 is boosted in the booster 70. Specifically, when the signal level of the charge instruction signal is a logic “1” level, the boost control circuit 82 turns on the MOS FET 80 (on / off at a high frequency), and the signal level of the discharge command signal is a logic “0”. "Level, the MOS FET 80 is turned off.

定電流部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 current unit 71 includes a second coil L2, a current detection resistor R6, second and third diodes D2 and D3, a constant current circuit 84 including a MOS FET 83, and a constant current control circuit 85. The second coil L2, the current detection resistor R6, and the third diode D3 are connected in series in this order and inserted in the power supply line LN1. The MOS FET 83 has a drain connected to the connection midpoint of the first diode D1 and the second capacitor C2 of the booster circuit 81 in the power supply line LN1, a drain connected to the second coil L2, and a gate connected to the second coil L2. A constant current control circuit 85 is connected. Further, the second diode D2 is connected between the ground line LN2 and the connection midpoint of the drain of the MOS FET 83 and the second coil L2 in the power supply line LN1.

そして定電流制御回路85は、電流検出用抵抗R6の両端子の電圧をそれぞれ取得し、これら2つの電圧の電圧差が予め定められた複数の基準値のうちの充電指令信号により指定された値となるようにMOS型FET83を高周波でオン/オフさせる。具体的に、定電流制御回路85は、充電指示信号の信号レベルが論理「1」レベルのときには、MOS型FET83をオン動作(高周波でオン/オフ)させ、放電指令信号の信号レベルが論理「0」レベルのときには、MOS型FET83をオフさせる。これにより昇圧部70の出力電流が定電流部71において充電指令信号により指定された電流値に制御され、これが充電電流としてバッテリ部19に与えられる。また定電流制御回路85は、電流検出用抵抗R6の両端子間の電圧差に基づいて充電電流の電流値を求め、これを充電電流検出信号としてCPU55に送信する。   The constant current control circuit 85 acquires the voltages at both terminals of the current detection resistor R6, and the voltage difference between these two voltages is a value designated by the charge command signal among a plurality of predetermined reference values. The MOS FET 83 is turned on / off at a high frequency so that Specifically, when the signal level of the charge instruction signal is a logic “1” level, the constant current control circuit 85 turns on the MOS FET 83 (on / off at a high frequency), and the signal level of the discharge command signal is a logic “1”. At the “0” level, the MOS FET 83 is turned off. As a result, the output current of the boosting unit 70 is controlled to a current value specified by the charge command signal in the constant current unit 71, and this is supplied to the battery unit 19 as a charging current. The constant current control circuit 85 obtains the current value of the charging current based on the voltage difference between both terminals of the current detection resistor R6, and transmits this to the CPU 55 as a charging current detection signal.

放電回路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 discharge circuit 53 includes a MOS FET 86, a fourth diode D4, and an output control circuit 87. The MOS FET 86 has a source connected to a connection midpoint between the battery group of the battery unit 52 and the power supply line LN 1, and a gate connected to the output control circuit 87. The drain of the MOS FET 86 is connected to the power input / output terminal of the battery power supply unit 17 via the fourth diode D4. Then, the output control circuit 87 starts or stops the discharge of the electric power stored in the battery 40 of the battery unit 19 by turning on / off the MOS type FET 86 based on the discharge command signal given from the CPU 55. Specifically, the output control circuit 87 turns on the MOS type FET 86 when the signal level of the discharge command signal is the logic “1” level, and the MOS type when the signal level of the discharge command signal is the logic “0” level. The FET 86 is turned off.

補助電源部54は、電源部4のAC/DCコンバータ16から電源ラインLN1を介して与えられる駆動電圧を所定電圧に昇圧又は減圧してCPU55に給電する。   The auxiliary power supply unit 54 supplies power to the CPU 55 by increasing or decreasing the drive voltage supplied from the AC / DC converter 16 of the power supply unit 4 via the power supply line LN1 to a predetermined voltage.

CPU55は、入力回路50の停電検出用電圧センサ61から与えられる電圧検出信号に基づいて停電の有無を監視する。そしてCPU55は、例えば停電の発生を検出したときには、放電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET86をオン動作させ、これによりバッテリ部19からの放電を開始させる。またCPU55は、この後、電圧検出信号に基づいて停電からの復電を検出したときには、放電指令信号の信号レベルを論理「0」レベルに立ち下げることによりMOS型FET86をオフし、これによりバッテリ部19からの放電を停止させる。   The CPU 55 monitors the presence or absence of a power failure based on the voltage detection signal provided from the power failure detection voltage sensor 61 of the input circuit 50. For example, when detecting the occurrence of a power failure, the CPU 55 turns on the MOS FET 86 by raising the signal level of the discharge command signal to the logic “1” level, thereby starting the discharge from the battery unit 19. After that, when the CPU 55 detects power recovery from the power failure based on the voltage detection signal, the CPU 55 turns off the MOS FET 86 by lowering the signal level of the discharge command signal to the logic “0” level, thereby The discharge from the unit 19 is stopped.

またCPU55は、バッテリ部19のバッテリ電圧センサ41から与えられるバッテリ電圧検出信号に基づいてバッテリ部19内の出力電圧を監視し、例えばバッテリ部19の出力電圧が所定電圧以下となったときには、充電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET80,83をオン動作させ、これによりバッテリ部19のバッテリ40に対する充電を開始させる。   Further, the CPU 55 monitors the output voltage in the battery unit 19 based on the battery voltage detection signal given from the battery voltage sensor 41 of the battery unit 19, and when the output voltage of the battery unit 19 becomes a predetermined voltage or less, for example, charging is performed. The MOS type FETs 80 and 83 are turned on by raising the signal level of the command signal to the logic “1” level, thereby starting the charging of the battery unit 19 to the battery 40.

さらにCPU55は、バッテリ部19のバッテリ温度センサ42から与えられるバッテリ温度検出信号に基づいてバッテリ部19のバッテリ40の温度を監視し、当該温度が予め定められた所定温度を超えた場合には、充電指令信号の信号レベルを論理「0」レベルに立ち下げることによりMOS型FET80,83をオフさせ、これによりバッテリ部19のバッテリ40に対する充電を停止させる。   Furthermore, CPU55 monitors the temperature of the battery 40 of the battery part 19 based on the battery temperature detection signal given from the battery temperature sensor 42 of the battery part 19, and when the said temperature exceeds predetermined predetermined temperature, The MOS FETs 80 and 83 are turned off by lowering the signal level of the charge command signal to the logic “0” level, thereby stopping the charging of the battery unit 19 to the battery 40.

さらにCPU55は、充電回路51から与えられる充電電流検出信号と、バッテリ部19の放電電流センサ43から与えられる放電電流検出信号とに基づいてバッテリ部19のバッテリ40の蓄電量を監視する。具体的に、CPU55は、充電電流の電流値及び時間の積算結果から放電電流の電流値及び時間の積算結果を減算することによりバッテリ部19の蓄電量を算出する。そしてCPU55は、バッテリ部19の蓄電量に基づき、必要に応じて充電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET80,83をオン動作させ、これによりバッテリ部19に対する充電を開始させる。   Further, the CPU 55 monitors the charged amount of the battery 40 of the battery unit 19 based on the charging current detection signal provided from the charging circuit 51 and the discharge current detection signal provided from the discharge current sensor 43 of the battery unit 19. Specifically, the CPU 55 calculates the amount of power stored in the battery unit 19 by subtracting the current value of the discharge current and the time integration result from the current value of the charging current and the time integration result. Then, the CPU 55 turns on the MOS FETs 80 and 83 by raising the signal level of the charge command signal to the logic “1” level as necessary based on the charged amount of the battery unit 19, thereby Start charging.

(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 battery 40 of the battery unit 19 of the power supply unit 4 with a high current in accordance with the amount of data held in the cache memory unit 13 of the control unit 3 (FIG. 1). One of the features is that a charge control function is mounted to switch between rapid charging to be performed and low-speed charging to be performed at low speed with low current.

この場合、本ストレージ装置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 battery 40 of the battery unit 19 during the low-speed charging.

加えて、本ストレージ装置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 battery unit 19 is less than the amount of power required to back up all data held in the cache memory unit 13. Another feature is that a light performance limiting function for limiting the light performance is installed.

実際上、バッテリ電源部17の充放電制御部20のCPU55(図3)は、図4に示すように、キャッシュメモリ部13のメモリコントローラ31に対して、キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの合計データ量を定期的に問い合わせる(SP1,SP3,SP5,……)。   In practice, the CPU 55 (FIG. 3) of the charge / discharge control unit 20 of the battery power supply unit 17 makes each volatile memory 30 of the cache memory unit 13 to the memory controller 31 of the cache memory unit 13 as shown in FIG. 4. Are periodically inquired about the total amount of data stored therein (SP1, SP3, SP5,...).

またキャッシュメモリ部13のメモリコントローラ31(図2)は、かかる問合わせに応じて、かかる合計データ量をキャッシュデータ量情報としてCPU55に通知する(SP2,SP4,SP6,……)。   Further, in response to such an inquiry, the memory controller 31 of the cache memory unit 13 notifies the CPU 55 of the total data amount as cache data amount information (SP2, SP4, SP6,...).

一方、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 CPU 55 raises the signal level of the charge command signal to the logic “1” level when the storage apparatus 1 is started, and the amount of stored power is a predetermined value. The battery 40 of the battery unit 19 is rapidly charged with a constant high current (for example, 1 [A]) until it reaches (for example, 90% of the full charge) (time t0 to time t1).

またCPU55は、この後、充電指令信号の信号レベルを、例えば1分間だけ論理「1」レベルに立ち上げ、その後の2分間は論理「0」レベルに立ち下げることを繰り返すことにより、充電指令信号の信号レベルをパルス状に変化させる。これによりCPU55は、バッテリ40に対して満充電となるまで、低電流(例えば平均が0.3〔A〕)による低速充電を実行させる(時刻t1〜時刻t2)。   Thereafter, the CPU 55 repeatedly raises the signal level of the charge command signal to the logic “1” level for, for example, one minute, and then lowers the signal level to the logic “0” level for the next two minutes. The signal level of is changed in pulses. Thus, the CPU 55 causes the battery 40 to perform low-speed charging with a low current (for example, the average is 0.3 [A]) until the battery 40 is fully charged (time t1 to time t2).

またCPU55は、バッテリ40が満充電となると(時刻t2)、充電指令信号の信号レベルを論理「1」レベルに立ち下げることにより充電を休止させ、この後はバッテリ部19の放電電流センサ43(図3)から与えられる放電電流検出信号に基づいてバッテリ部19の蓄電量を監視する(時刻t2〜時刻t3)。   Further, when the battery 40 is fully charged (time t2), the CPU 55 stops the charging by lowering the signal level of the charge command signal to the logic “1” level, and thereafter, the discharge current sensor 43 ( Based on the discharge current detection signal given from FIG. 3), the charged amount of the battery unit 19 is monitored (time t2 to time t3).

またCPU55は、この間、キャッシュメモリ部13のメモリコントローラ31から与えられるキャッシュデータ量情報に基づいて、そのときキャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されている全データをデータバックアップ部32(図2)に退避させるために必要な電力量(以下、これをバックアップ時必要電力量と呼ぶ)を求める。そしてCPU55は、上述のようにして求めた現在のバッテリ部19の蓄電量と、かかる現在のバックアップ時必要電力量とを比較する。   Further, during this time, the CPU 55, based on the cache data amount information given from the memory controller 31 of the cache memory unit 13, stores all the data stored in each volatile memory 30 of the cache memory unit 13 at that time in the data backup unit 32. The amount of power required for saving to (see FIG. 2) is obtained (hereinafter referred to as the required power amount for backup). Then, the CPU 55 compares the current storage amount of the battery unit 19 obtained as described above with the current required power amount during backup.

そしてCPU55は、バッテリ部19の蓄電量がバックアップ時必要電力量を下回るタイミングで、時刻t1〜時刻t2と同様に充電指令信号の信号レベルをパルス状に変化させることにより、バッテリ部19のバッテリ40に対して低電流による低速充電を実行させ(時刻t3〜時刻t4)、やがてバッテリ40が満充電となると、充電指令信号の信号レベルを論理「1」レベルに立ち下げることにより、バッテリ40に対する充電を休止させる(時刻t4)。   Then, the CPU 55 changes the signal level of the charge command signal in a pulsed manner at the timing when the amount of power stored in the battery unit 19 falls below the required power amount at the time of backup, so that the battery 40 of the battery unit 19 is changed. The battery 40 is charged at a low speed (time t3 to time t4), and when the battery 40 eventually becomes fully charged, the signal level of the charge command signal is lowered to the logic “1” level to charge the battery 40. Is paused (time t4).

そして、CPU55は、やがて入力回路50(図3)から与えられる電圧検出信号に基づいて停電の発生を検出すると、放電指令信号の信号レベルを論理「1」レベルに立ち上げることにより、バッテリ部19のバッテリ40からの放電を開始させる(時刻t4)。またCPU55は、やがてキャッシュメモリ部13のメモリコントローラ31から、各揮発性メモリ30からデータバックアップ部32へのデータの退避が完了した旨の通知が与えられると、放電指令信号の信号レベルを論理「0」レベルに立ち下げることにより放電を停止させる(時刻t5)。   Then, when the CPU 55 eventually detects the occurrence of a power failure based on the voltage detection signal given from the input circuit 50 (FIG. 3), the battery unit 19 raises the signal level of the discharge command signal to the logic “1” level. Discharge from the battery 40 is started (time t4). When the CPU 55 receives a notification from the memory controller 31 of the cache memory unit 13 that data saving from the volatile memory 30 to the data backup unit 32 has been completed, the signal level of the discharge command signal is changed to a logical “ The discharge is stopped by falling to the “0” level (time t5).

さらにCPU55は、この後、入力回路50(図3)から与えられる電圧検出信号に基づいて停電からの復電を検出すると、充電指令信号の信号レベルを論理「1」レベルに立ち上げることにより、バッテリ部19のバッテリに対して高電流での急速充電を開始させる(時刻t6)。このときキャッシュメモリ部13のメモリコントローラ31は、停電発生時にデータバックアップ部32に退避させたデータを揮発性メモリ30に戻す処理を実行する。   Further, the CPU 55 thereafter detects the power recovery from the power failure based on the voltage detection signal given from the input circuit 50 (FIG. 3), thereby raising the signal level of the charge command signal to the logic “1” level. Rapid charging with a high current is started for the battery of the battery unit 19 (time t6). At this time, the memory controller 31 of the cache memory unit 13 executes processing for returning the data saved in the data backup unit 32 to the volatile memory 30 when a power failure occurs.

またCPU55は、キャッシュメモリ部13に対して各揮発性メモリ30にそれぞれ格納されているデータの合計データ量を問い合わせる処理を再開する。そしてCPU55は、キャッシュメモリ部13から送信されるキャッシュデータ量情報に基づいて現在のバックアップ時必要電力量を求め、バッテリ部19の蓄電量がバックアップ時必要電力量となるまで高電流による急速充電を実行させる(時刻t6〜時刻t7)。   Further, the CPU 55 resumes the process of inquiring the cache memory unit 13 about the total amount of data stored in each volatile memory 30. Then, the CPU 55 obtains the current required power amount at the time of backup based on the cache data amount information transmitted from the cache memory unit 13, and performs rapid charging with a high current until the charged amount of the battery unit 19 becomes the required power amount at the time of backup. Execute (time t6 to time t7).

さらにCPU55は、やがてかかるバッテリ部19の蓄電量がバックアップ時必要電力量を超えると、充電指令信号の信号レベルを上述したパルス状に変化させることにより、充電モードを低電流による低速充電に切替えさせ、この後、バッテリ部19のバッテリ40が満充電となるまで低速充電を行わせる(時刻t7〜時刻t8)。   Further, the CPU 55 eventually switches the charging mode to low-speed charging with a low current by changing the signal level of the charging command signal in the above-described pulse shape when the charged amount of the battery unit 19 exceeds the required power amount at the time of backup. Thereafter, low speed charging is performed until the battery 40 of the battery unit 19 is fully charged (time t7 to time t8).

次いで、CPU55は、バッテリ部19のバッテリ40が満充電となると、充電指令信号の信号レベルを論理「0」レベルに立ち下げることにより、バッテリ40に対する充電を休止させる(時刻t8)。   Next, when the battery 40 of the battery unit 19 is fully charged, the CPU 55 stops charging the battery 40 by lowering the signal level of the charge command signal to the logic “0” level (time t8).

この後、CPU55は、時刻t2〜時刻t3と同様に、バッテリ部19から与えられる電圧検出信号に基づいて現在のバッテリ部19の蓄電量を監視する。またCPU55は、これと併せて、キャッシュメモリ部13から与えられるキャッシュデータ量情報に基づいて現在のバックアップ時必要電力量を求める。そしてCPU55は、上述のようにして求めた現在のバッテリ部19の蓄電量と、かかるバックアップ時必要電力量とを比較する(時刻t8〜時刻t9)。   Thereafter, the CPU 55 monitors the current charged amount of the battery unit 19 based on the voltage detection signal given from the battery unit 19 in the same manner as at time t2 to time t3. In addition to this, the CPU 55 obtains the current required power amount for backup based on the cache data amount information given from the cache memory unit 13. Then, the CPU 55 compares the current storage amount of the battery unit 19 obtained as described above with the required power amount during backup (time t8 to time t9).

そしてCPU55は、やがてバッテリ部19の蓄電量がバックアップ時必要電力量を下回るタイミングで、上述したパルス状の充電指令信号を充電回路51に送信することにより、バッテリ部19のバッテリ40に対して低電流での低速充電を開始させ(時刻t9)、この後、時刻t7〜時刻t9について上述した制御を繰り返す。   Then, the CPU 55 eventually transmits the above-described pulsed charge command signal to the charging circuit 51 at a timing when the amount of power stored in the battery unit 19 falls below the required power amount at the time of backup, thereby reducing the battery 40 of the battery unit 19. Low-speed charging with current is started (time t9), and then the above-described control is repeated for time t7 to time t9.

以上のような本実施の形態による充電制御機能に基づく充電制御処理を実現するための手段として、かかる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 CPU 55 holds a backup required power amount conversion table 90 as shown in FIG.

このバックアップ時必要電力量換算テーブル90は、キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの全データ量に対するバックアップ時必要電力量をCPU55が換算するために利用するテーブルであり、図6に示すように、データ量欄90A及びバックアップ時必要電力量欄90Bから構成される。   The backup required power amount conversion table 90 is a table used by the CPU 55 to convert the backup required power amount with respect to the total data amount stored in each volatile memory 30 of the cache memory unit 13. 6, the data amount column 90A and the backup-time required power amount column 90B are configured.

そしてデータ量欄90Aには、キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの全データ量が例えば所定データ量刻みで順次格納され、バックアップ時必要電力量欄90Bには、予め計算又は実測により求められた、対応するデータ量のデータを揮発性メモリ30からデータバックアップ部32(図2)にバックアップするのに必要となる電力量が格納される。   In the data amount column 90A, the total amount of data stored in each volatile memory 30 of the cache memory unit 13 is sequentially stored, for example, in increments of a predetermined data amount, and in the backup necessary power amount column 90B, The amount of power required for backing up the data of the corresponding data amount, which is obtained in advance by calculation or actual measurement, from the volatile memory 30 to the data backup unit 32 (FIG. 2) is stored.

従って、例えば図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 volatile memory 30 of the cache memory unit 13 is “10 to 20” [GB], the power amount of “BB” [W] is On the other hand, when the total data amount is “20 to 30” [GB], it is indicated that the power amount of “CC” [W] is necessary.

(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 cache memory unit 13 of the charge / discharge control unit 20 (FIG. 1) related to the charge control processing according to the present embodiment. Specific processing contents of the memory controller 31 (FIG. 2) of FIG. 1 will be described.

(3−2)第1の充電制御処理
図7は、本実施の形態による充電制御機能に基づく充電制御処理のうち、ストレージ装置1の初期起動時や停電からの復電時におけるCPU55の具体的な処理内容を示す。
(3-2) First Charging Control Process FIG. 7 shows the specifics of the CPU 55 in the charging control process based on the charging control function according to the present embodiment at the initial startup of the storage apparatus 1 or at the time of power recovery from a power failure. The processing contents are shown.

CPU55は、ストレージ装置1が初期起動され又は停電から復電するとこの第1の充電制御処理を開始し、まず、今回の起動が初期起動時であるか否かを判断する(SP10)。そしてCPU55は、この判断において肯定結果を得ると、充電指令信号の信号レベルを論理「1」レベルに立ち上げることにより、バッテリ部19のバッテリ40に対して高電流による急速充電を行わせる(SP12)。   The CPU 55 starts the first charging control process when the storage device 1 is initially activated or recovers from a power failure, and first determines whether or not the current activation is at the initial activation (SP10). If the CPU 55 obtains an affirmative result in this determination, it raises the signal level of the charge command signal to a logic “1” level, thereby causing the battery 40 of the battery unit 19 to perform rapid charging with a high current (SP12). ).

そしてCPU55は、この後、充電回路51から与えられる充電電流検出信号に基づいて、急速充電を終了すべき状態(ここでは、バッテリ部19のバッテリ40の蓄電量が満充電の90%になった状態)となるのを待ち受け(SP13)、やがて急速充電を終了すべき状態となったことを確認すると、ステップSP14に進む。   Then, the CPU 55 thereafter ends the rapid charging based on the charging current detection signal given from the charging circuit 51 (here, the charged amount of the battery 40 of the battery unit 19 is 90% of the full charge). (SP13), and when it is confirmed that the state in which quick charging is to be terminated is reached, the process proceeds to step SP14.

これに対してCPU55は、ステップSP10の判断において否定結果を得ると、キャッシュメモリ部13のメモリコントローラ31から与えられるキャッシュデータ量情報とに基づいて、バッテリ部19の蓄電量がバックアップ時必要電力量を超えているか否かを判断する(SP11)。   On the other hand, if the CPU 55 obtains a negative result in the determination at step SP10, the charged amount of the battery unit 19 is determined based on the cache data amount information provided from the memory controller 31 of the cache memory unit 13, and the required power amount at the time of backup. Is determined (SP11).

そしてCPU55は、この判断において否定結果を得ると、ステップSP12に進み、これに対して肯定結果を得ると、充電指令信号の信号レベルをパルス状に変化させることにより、バッテリ部19のバッテリ40に対して低電流による低速充電を行わせる(SP14)。   If the CPU 55 obtains a negative result in this determination, it proceeds to step SP12. If it obtains an affirmative result, the CPU 55 changes the signal level of the charge command signal in a pulsed manner to the battery 40 of the battery unit 19. On the other hand, low-speed charging with a low current is performed (SP14).

続いて、CPU55は、充電回路51からの充電電流検出信号に基づいてバッテリ部19のバッテリ40が満充電となるのを待ち受け(SP15)、やがてバッテリ40が満充電となったことを認識すると、充電指令信号を論理「0」レベルに立ち下げることによりバッテリ部19のバッテリ40に対する充電を休止させる(SP16)。   Subsequently, the CPU 55 waits for the battery 40 of the battery unit 19 to be fully charged based on the charging current detection signal from the charging circuit 51 (SP15). The charging of the battery unit 19 to the battery 40 is suspended by lowering the charging command signal to the logic “0” level (SP16).

この後、CPU55は、キャッシュメモリ部13に対して当該キャッシュメモリ部13の各揮発性メモリ30にそれぞれ格納されているデータの全データ量を定期的に問い合わせ、バッテリ部19においてバックアップ時必要電力量の電力を確保しているか否かを常時監視する(SP17)。そしてCPU55は、やがてバッテリ部19における自然放電等によりバッテリ部19における蓄電量がバックアップ時必要電力量を下回るタイミングで、ステップSP14に戻り、この後、ステップSP14〜ステップSP17の処理を繰り返す。   After that, the CPU 55 periodically inquires the cache memory unit 13 about the total amount of data stored in each volatile memory 30 of the cache memory unit 13, and the battery unit 19 requires the required power amount at the time of backup. It is constantly monitored whether or not the power is secured (SP17). Then, the CPU 55 eventually returns to step SP14 at a timing when the amount of power stored in the battery unit 19 falls below the required power amount at the time of backup due to natural discharge or the like in the battery unit 19, and thereafter repeats the processing of step SP14 to step SP17.

(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 CPU 55 when the battery 40 of the battery unit 19 is charged or when charging is suspended.

CPU55は、バッテリ部19のバッテリ40の充電を開始し又は当該充電を休止すると、この第2の充電制御処理を開始し、まず、停電検出用電圧センサ61から与えられる電圧検出信号に基づいて、停電発生の有無を監視する(SP20)。   When the CPU 55 starts charging the battery 40 of the battery unit 19 or stops the charging, the CPU 55 starts the second charging control process. First, based on the voltage detection signal given from the power failure detection voltage sensor 61, The presence or absence of a power failure is monitored (SP20).

そしてCPU55は、やがて停電発生を検出すると、放電指令信号の信号レベルを論理「1」レベルに立ち上げることによりMOS型FET86をオン動作させて、バッテリ部19からの放電を開始させる(SP21)。これにより放電電流がDC/DCコンバータ15(図1)を介して駆動電流としてキャッシュメモリ部13に与えられる。そしてキャッシュメモリ部13のメモリコントローラ31(図2)は、この放電電流に基づいて駆動し、揮発性メモリ30に格納されているデータをデータバックアップ部32(図2)に退避させる。   When the CPU 55 eventually detects the occurrence of a power failure, it raises the signal level of the discharge command signal to the logic “1” level to turn on the MOS FET 86 and start discharging from the battery unit 19 (SP21). As a result, the discharge current is supplied to the cache memory unit 13 as a drive current via the DC / DC converter 15 (FIG. 1). Then, the memory controller 31 (FIG. 2) of the cache memory unit 13 is driven based on the discharge current, and the data stored in the volatile memory 30 is saved in the data backup unit 32 (FIG. 2).

次いで、CPU55は、データバックアップの完了後にキャッシュメモリ部13のメモリコントローラ31からバックアップを完了した旨の通知を受信したか否かを判断し(SP22)、否定結果を得ると、例えばユーザ操作に応じてストレージ装置1のコントローラ12から放電を停止させるべき旨の命令(放電停止命令)が与えられたか否かを判断する(SP23)。   Next, the CPU 55 determines whether or not a notification indicating that the backup has been completed is received from the memory controller 31 of the cache memory unit 13 after completion of the data backup (SP22). Then, it is determined whether or not an instruction (discharge stop instruction) to stop the discharge is given from the controller 12 of the storage apparatus 1 (SP23).

またCPU55は、この判断において否定結果を得ると、現在のバッテリ部19の蓄電量が予め定められた所定電圧(放電終了電圧)に達したか否かを判断する(SP24)。そしてCPU55は、この判断において否定結果を得ると、入力回路50の停電検出用電圧センサ61から与えられる電圧検出信号に基づいて、復電したか否かを判断する(SP25)。   If the CPU 55 obtains a negative result in this determination, it determines whether or not the current charged amount of the battery unit 19 has reached a predetermined voltage (discharge end voltage) (SP24). If the CPU 55 obtains a negative result in this determination, it determines whether or not power has been restored based on the voltage detection signal provided from the power failure detection voltage sensor 61 of the input circuit 50 (SP25).

さらにCPU55は、この判断において否定結果を得るとステップSP22に戻り、この後、ステップSP22、ステップSP23、ステップSP24又はステップSP25において肯定結果を得るまでステップSP22〜ステップSP25のループを繰り返す。   Further, when the CPU 55 obtains a negative result in this determination, it returns to step SP22, and thereafter repeats the loop of step SP22 to step SP25 until an affirmative result is obtained at step SP22, step SP23, step SP24 or step SP25.

そしてCPU55は、やがてステップSP22、ステップSP23、ステップSP24又はステップSP25のいずれかにおいて肯定結果を得ると、放電指令信号の信号レベルを論理「0」レベルに立ち下げることによりMOS型FET86をオフさせる(SP28)。これによりバッテリ部19からの放電が停止され、キャッシュメモリ部13に対する駆動電流の供給が停止される。そしてCPU55は、所定のシャットダウン処理を実行し(SP29)、この後、この第2の充電制御処理を終了する。   When the CPU 55 eventually obtains an affirmative result in any of step SP22, step SP23, step SP24 or step SP25, it turns off the MOS FET 86 by lowering the signal level of the discharge command signal to the logic “0” level ( SP28). As a result, the discharge from the battery unit 19 is stopped, and the supply of the drive current to the cache memory unit 13 is stopped. Then, the CPU 55 executes a predetermined shutdown process (SP29), and thereafter ends the second charge control process.

(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 memory controller 31 of the cache memory unit 13 regarding the write performance restriction function.

メモリコントローラ31は、ストレージ装置1の電源が投入されると、このライト性能制限処理を開始し、まず、バッテリ電源部17(図1)のCPU55に対して、バックアップ時必要電力量の電力がバッテリ部19に蓄電されているか否かを問い合わせる(SP30)。   When the power to the storage device 1 is turned on, the memory controller 31 starts this write performance restriction process. First, the CPU 55 of the battery power supply unit 17 (FIG. 1) supplies the required amount of power during backup to the battery. An inquiry is made as to whether or not electricity is stored in the unit 19 (SP30).

そしてメモリコントローラ31は、バックアップ時必要電力量の電力がバッテリ部19に蓄電されていないときには、現在、ライト性能を制限しているか否かを判断する(SP31)。そしてメモリコントローラ31は、この判断において肯定結果を得るとステップSP30に戻り、これに対して否定結果を得ると、コントローラ12(図1)に対してライト性能を制限するよう依頼する。かくしてコントローラ12は、この依頼に応じて、例えばホスト装置からのライト要求を一部受け付けない、又はライト要求に対する応答を遅くするなどしてライト性能を制限する。そしてメモリコントローラ31は、この後ステップSP30に戻る。   The memory controller 31 determines whether or not the write performance is currently limited when the amount of power required for backup is not stored in the battery unit 19 (SP31). If the memory controller 31 obtains a positive result in this determination, it returns to step SP30. If it obtains a negative result, it requests the controller 12 (FIG. 1) to limit the write performance. Thus, in response to this request, the controller 12 limits the write performance, for example, by not accepting a part of the write request from the host device or delaying the response to the write request. Then, the memory controller 31 returns to step SP30.

一方、メモリコントローラ31は、ステップSP30の判断において肯定結果を得ると、現在、ライト性能を制限しているか否かを判断する(SP33)。そしてメモリコントローラ31は、この判断において肯定結果を得るとステップSP30に戻り、これに対して否定結果を得ると、コントローラ12に対してライト性能の制限を解除するよう依頼する。かくしてコントローラ12は、この依頼に応じて、ライト性能の制限を解除する。そしてメモリコントローラ31は、この後ステップSP30に戻る。   On the other hand, if the memory controller 31 obtains a positive result in the determination at step SP30, it determines whether the write performance is currently limited (SP33). If the memory controller 31 obtains a positive result in this determination, it returns to step SP30, and if it obtains a negative result, it requests the controller 12 to release the restriction on the write performance. Thus, the controller 12 releases the restriction on the write performance in response to this request. Then, the memory controller 31 returns to step SP30.

(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 cache memory unit 13 and the battery of the battery unit 19 at that time 40, when the amount of electricity stored in the battery unit 19 is lower than the required power amount at the time of backup, rapid charging is performed with a high current. If it exceeds, charge at low speed with low current is performed.

従って、本ストレージ装置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 battery 40 of the battery unit 19 is small, and the period during which data backup cannot be guaranteed is suppressed to a short period by rapid charging, while generating heat. Near full charge with a large amount, the amount of heat generated by the battery 40 can be suppressed by low-speed charging. As a result, a highly reliable storage apparatus that can reliably guarantee data against power failure while suppressing heat generation of the battery 40 can be realized.

また本ストレージ装置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 battery 40 with a low current separately from the charging circuit 51 that charges the battery 40 with a high current. It is not necessary to provide a charging circuit for charging the battery, and the complication of the configuration of the entire system can be prevented accordingly.

(5)他の実施の形態
なお上述の実施の形態においては、バッテリ電源部17を図3のように構成するようにした場合について述べたが、本発明はこれに限らず、この他種々の構成を広く適用することができる。
(5) Other Embodiments In the above-described embodiment, the case where the battery power supply unit 17 is configured as shown in FIG. 3 has been described. However, the present invention is not limited to this, and various other types are also described. The configuration can be widely applied.

また上述の実施の形態においては、停電時に、キャッシュメモリ部13の揮発性メモリ30に格納されているデータのバックアップ先とするデータバックアップ部32を不揮発性メモリにより構成するようにした場合について述べたが、本発明はこれに限らず、例えばデータバックアップ部32をハードディスクや光ディスクなどの不揮発性記憶媒体から構成するようにしても良い。また記憶デバイス10が提供する記憶領域上に作成された特定の論理ボリュームをバックアップ先とするようにしても良い。   Further, in the above-described embodiment, the case where the data backup unit 32 as a backup destination of data stored in the volatile memory 30 of the cache memory unit 13 is configured by a nonvolatile memory at the time of a power failure has been described. However, the present invention is not limited to this. For example, the data backup unit 32 may be configured from a nonvolatile storage medium such as a hard disk or an optical disk. Further, a specific logical volume created on a storage area provided by the storage device 10 may be used as a backup destination.

さらに上述の実施の形態においては、キャッシュメモリ部13の揮発性メモリ30に格納されたデータをデータバックアップ部32にバックアップするのに必要な電力量を、図6について上述したバックアップ時必要電力量換算テーブル90を参照して求めるようにした場合について述べたが、本発明はこれに限らず、例えば所定の演算式を用いた演算により求めるようにしても良く、かかる電力量の求め方としては、この他種々の求め方を広く適用することができる。   Furthermore, in the above-described embodiment, the amount of power required to back up the data stored in the volatile memory 30 of the cache memory unit 13 to the data backup unit 32 is converted into the amount of power required for backup described above with reference to FIG. Although the case of obtaining with reference to the table 90 has been described, the present invention is not limited to this. For example, it may be obtained by calculation using a predetermined arithmetic expression. Various other ways of obtaining can be widely applied.

本発明は、キャッシュメモリに格納されたデータを停電発生時に不揮発性記憶媒体に退避させる停電時バックアップ機能が搭載されたストレージ装置に広く適用することができる。   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)

1又は複数の記憶デバイスを有する記憶デバイス部と、前記記憶デバイスが提供する記憶領域に読み書きするデータを一時的に格納するキャッシュメモリ部と、前記記憶デバイスに対するデータの読み書きを制御するコントロール部と、停電時に前記キャッシュメモリ部に駆動電力を供給するバッテリ電源部とを有するストレージ装置において、
前記キャッシュメモリ部は、
前記記憶装置が提供する記憶領域に読み書きするデータを一時的に格納する揮発性メモリと、
前記揮発性メモリに格納された前記データを一時的にバックアップするための不揮発性記憶媒体と、
前記揮発性メモリに対するデータの読み書きを制御すると共に、前記揮発性メモリに格納されたデータを必要に応じて前記不揮発性記憶媒体に退避させるメモリコントローラと
を備え、
前記バッテリ電源部は、
バッテリと、
前記バッテリの充放電を制御する充放電制御部と
を備え、
前記充放電制御部は、
停電からの復電後に、前記メモリコントローラから通知される前記揮発性メモリに格納されたデータの全データ量を取得し、すべての当該データを前記揮発性メモリから前記不揮発性記憶媒体にバックアップするために必要な電力量を求め、当該電力量の電力を前記バッテリに充電するまで前記バッテリを急速充電し、当該電力量の電力を前記バッテリに充電した後は、前記急速充電時よりも低い充電電流で当該バッテリを低速充電する
ことを特徴とするストレージ装置。
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又は複数の記憶デバイスを有する記憶デバイス部と、前記記憶デバイスが提供する記憶領域に読み書きするデータを一時的に格納するキャッシュメモリ部と、前記記憶デバイスに対するデータの読み書きを制御するコントロール部と、停電時に前記キャッシュメモリ部に駆動電力を供給するバッテリ電源部とを有するストレージ装置における充電制御方法において、
前記キャッシュメモリ部は、
前記記憶装置が提供する記憶領域に読み書きするデータを一時的に格納する揮発性メモリと、
前記揮発性メモリに格納された前記データを一時的にバックアップするための不揮発性記憶媒体と、
前記揮発性メモリに対するデータの読み書きを制御すると共に、前記揮発性メモリに格納されたデータを必要に応じて前記不揮発性記憶媒体に退避させるメモリコントローラと
を有し、
前記バッテリ電源部は、
バッテリと、
前記バッテリの充放電を制御する充放電制御部と
を有し、
停電からの復電後に、前記充放電制御部が、前記メモリコントローラから通知される前記揮発性メモリに格納されたデータの全データ量を取得する第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.
前記第3のステップにおいて、前記充放電制御部は、
前記急速充電時に、一定電流値の充電電流を印加するようにして前記バッテリを急速充電し、前記低速充電時には、パルス状の充電電流を印加するようにして前記バッテリを低速充電する
ことを特徴とする請求項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.
前記第3のステップにおいて、前記充放電制御部は、
前記ストレージ装置の初期起動時には、所定量の電力を充電するまで前記バッテリを急速充電し、当該バッテリに前記所定量の電力を充電した後は、当該バッテリを低速充電する
ことを特徴とする請求項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.
前記第3のステップにおいて、前記メモリコントローラは、
前記キャッシュメモリ部の前記揮発性メモリに格納されている全データを前記不揮発性記憶媒体にバックアップするのに要する電力量が前記バッテリに蓄電されていないときには、ホスト装置からのライト要求に対するライト性能を制限する
ことを特徴とする請求項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.
JP2010135057A 2010-06-14 2010-06-14 Storage device and charge control method Expired - Fee Related JP5419805B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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