JP3718192B2 - Storage device - Google Patents
Storage device Download PDFInfo
- Publication number
- JP3718192B2 JP3718192B2 JP2002260766A JP2002260766A JP3718192B2 JP 3718192 B2 JP3718192 B2 JP 3718192B2 JP 2002260766 A JP2002260766 A JP 2002260766A JP 2002260766 A JP2002260766 A JP 2002260766A JP 3718192 B2 JP3718192 B2 JP 3718192B2
- Authority
- JP
- Japan
- Prior art keywords
- controller
- circuit
- scsi
- sleep
- bus
- 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.)
- Expired - Lifetime
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
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
Description
【0001】
【産業上の利用分野】
本発明は、ワークステーション,パーソナルコンピュータ等の周辺装置、特に周辺機器制御装置の半導体集積回路の低消費電力化のための構成に関する。
【0002】
【従来の技術】
従来、ワークステーション、パーソナルコンピュータ等の周辺装置、これを制御する周辺制御用のLSI(Large Scale Integrated)の低消費電力化について種々の検討がなされている。
【0003】
例えば、周辺制御用LSIでは低消費電力モード指定の専用の入力端子を有し、外部マイクロプロセッサや低消費電力コントローラからの出力信号によって、指示された期間、低消費電力モードを保つよう構成される。これによって、周辺制御用LSIの内部の、例えば基準クロックで動作するディジタル回路においては、その一部又は全部のクロックを上述した指定期間停止させることにより、低消費電力化を図っていた。又、周辺制御用LSIの内部のアナログ回路においても、指定期間中、電流源回路の一部又は全てをカットオフさせることで低消費電力化を図っていた。
【0004】
又、他の従来例として、ハードディスク、CDROM(Compact Disk Read Only Memory)、フロッピーディスクなどの周辺装置においては、アルプス電気株式会社発行の、小型ハードディスク装置、DRR040C製品仕様書(第1版)に記載のように、システムの小型軽量化のために、ホストコンピュータを構成するマイクロプロセッサ等から、コマンドを受け取り、実行しているとき以外、消費電力を抑える構造となっている。
【0005】
図20にDRR040Cの構成概略図を示す。このDRR040Cは、磁性体よりなる円板1801および該円板1801に記録された磁気情報を読み取るヘッド1802、該ヘッド1802を前記円板1801上の目的の位置まで動かすヘッドアクチュエータ1803、前記円板1801を回転させるスピンドルモーター1804、前記ヘッドアクチュエータ1803の動作を制御するアクチュエータ制御回路1805、DRR040C全体の動作を制御するCPU(Central Processing Unit)1806、該CPU1806からの制御信号により前記スピンドルモータ1804を制御するスピンドルモータ制御回路1807、前記CPU1806からのデジタル情報をアナログ情報にかえ前記アクチュエータ制御回路1805に渡すD/Aコンバータ1808、前記ヘッド1802から読み取られた信号を、波形整形し、パルス列に変換するREAD/WRITE回路1810、該READ/WRITE回路1810によって作られたパルス列をパラレルデータに変換するハードディスクコントローラ1811、前記READ/WRITE回路1810により検出された、ヘッド位置決めなどのアナログ情報をデジタル情報に変え前記CPU1806に渡すA/Dコンバータ1809、円板1801より読み取られた信号またはATバス1812から与えられた信号を一時的に保存し、ATバス1812と円板1801の読み取りの速度差を調整するバッファ1813、CPU1806により制御されATバス1812を制御するATバス制御回路1814から構成される。
【0006】
なお、ここでATバスとはPC/AT(これは、米国 IBM社の登録商標である。)のインタフェースを有するバスを意味する。
【0007】
DRR040Cは、ATバスからコマンドを受け取り実行していないとき、以下のように制御し消費電力を抑える。
1.ATバスから受け取ったコマンドがすべて完了したとき、DRR040Cは、アイドルモード(1)にはいる。アイドルモート(1)の状態にあるとき、DRR040C内のCPU1806は前記ハードディスクコントローラ1811を停止させ、前記READ/WRITE回路1810の電源を切断する。
2.アイドルモード(1)にはいってから更に5秒間ATバスからアクセスされなかったとき、DRR040Cは、アイドルモード(2)にはいる。アイドルモード(2)の状態にあるとき、DRR040C内のCPU1806は、前記アクチュエータ制御回路1805、D/Aコンバータ1808、A/Dコンバータ1809の電源を切断する。
3.アイドルモード(2)にはいってから一定時間(デフォルトは3分)ATバスからアクセスされなかったとき、DRR040Cはスタンバイモードにはいる。スタンバイモードの状態にあるとき、DRR040C内のCPU1806は、前記スピンドルモータ制御回路1807およびスピンドルモータ1804の電源を切断する。また、CPU1806もスリープ状態になる。
4.ATバスからのスリープコマンドの受信により、DRR040Cは、完全な低消費電力モードであるスリープモードにはいる。スリープモードの状態にあるとき、DRR040Cはスタンバイモードの状態から更に、ATバス制御回路1814をスリープ状態にする。スリープモードにあるとき、DRR040CはATバスからのコマンドを受け付けず、RESETによってのみ、ドライブを起動することが出来る。DRR040Cは、上記のように動作することにより、ホストコンピュータから、コマンドを受け取り実行していないとき消費電力を抑えることが出来る。
【0008】
【発明が解決しようとする課題】
上述した従来技術のうち、前者においては、低消費電力化モードを周辺制御用LSIの外部のマイクロプロセッサやコントローラが指示している。そのため、最大限の低消費電力化を実現するためには、外部のマイクロプロセッサ等が、多数回低消費電力モード指命を出す必要があり、外部のマイクロプロセッサ等の負担が大き過ぎるという問題があった。
【0009】
又、外部のマイクロプロセッサ等は、低消費電力化を指示する周辺制御用LSI内部の動作状態を正確に把握できないため、きめ細かく低消費電力化のための制御を実行できず、最大限の低消費電力化を実現できないという問題点があった。
【0010】
一方、後者の従来例においては、スタンバイモードでは、ATバス制御回路14にて消費される電流については考慮されておらず、消費電力が大きくなるという点で問題があった。又、完全な低消費電力モードであるスリープモードでは、コマンドを全く受け付けず、ホストコンピュータ等からのリセットによってのみ起動可能であり、応答性の点の考慮されておらず、ホストコンピュータのオーバーヘッドが大きくなるという問題があった。
【0011】
本発明の目的は、周辺装置、周辺機器制御装置の低消費電力化の構成を提供することにある。
【0012】
本発明の他の目的は、外部のプロセッサ等の負担を軽減しながら、消費電力を最大限に低減することができる周辺制御用LSI等の周辺制御装置を提供することにある。
【0013】
本発明の更なる目的は、外部のプロセッサ等からのコマンド待ち状態における、消費電力を削除できる周辺制御装置を提供することにある。
【0014】
本発明の更なる他の目的は、外部のプロセッサ等からのコマンド待ち状態における消費電力を削減しても、応答性の良い周辺制御装置を提供することにある。
【0015】
本発明の他の更なる目的は、SCSI(Small Computer System Interface)システムの消費電流の削減を容易に行なうことが可能であるSCSIバス制御装置を提供することにある。
【0016】
【課題を解決するための手段】
上記目的を達成するため、本発明においては、プロセッサ等の外部処理手段が接続されているバスに接続された周辺制御装置であって、外部処理手段からのアクセス開始を検出する活性化開始検出手段と、アクセス動作の終了を検出する活性化終了検出手段と、消費電力制御手段とを有し、活性化開始検出手段の出力により、消費電力制御手段が低消費電力モードの解除を行ない、活性化終了検出手段の出力により、消費電力制御手段が低消費電力モードに復帰するよう制御を行なう構成とする。
【0017】
外部処理手段による周辺制御装置のアクセスは、外部処理手段から周辺制御装置に対するコマンド設定の際や、外部処理手段による周辺制御装置のステータス検出の際に開始される。
【0018】
更に、本発明においては、ホストコンピュータやメインCPUと周辺機器を接続するバスがSCSIバスで構成されたSCSIシステムにおいて、ホストコンピュータ等による周辺機器制御装置や周辺制御用LSIのアクセス開始となるセレクションフェーズの際のSCSI用IDを検出するID認識手段を上述した活性化開始検出手段とする構成とする。
【0019】
【作用】
本発明においては、周辺制御装置や周辺制御用LSIが外部のマイクロプロセッサ等のホストコンピュータからのコマンド待ちなどの状態において、低消費電力モードにしておき、ホストコンピュータからのコマンド設定/ステータス検出などのアクセス開始時に、低消費電力モードを解除する。これにより、装置やLSI内部における累積的な、無駄な消費電力の損失を削減させ、徹底した低消費電力化を実現することができる。
【0020】
上述した、活性化開始検出手段、活性化終了検出手段、及び消費電力制御手段は周辺機器制御装置や周辺制御LSIの内部に位置する。周辺機器制御装置とは、メインCPUに対する周辺機器の制御装置であり、例えば、ファイルコントローラ、表示コントローラ、キーボードコントローラ、プリンタコントローラ、通信コントローラを意味し、周辺制御LSIとはそれらの半導体集積回路をいう。
【0021】
本発明において、消費電力制御手段は、低消費電力モードであるスリープモードにおいて、装置やLSI内部の主要部分のディジタル回路のクロック源、又はアナログ回路の電源をカットすることにより、装置やLSIの主要部分の動作を停止させ、低消費電力状態を維持する。そして、ホストコンピュータやメインCPUからのコマンド設定やステータス検出などによるアクセスが開始されると、常時動作している活性化開始検出手段がそのアクセス開始を検出し、この検出に基づき、消費電力制御手段が低消費電力モードを解除する。更に、このアクセス開始にともなう動作の終了を活性化終了検出手段が検出すると、消費電力制御手段は再度低消費電力モードを設定する。
【0022】
本発明によるSCSIシステムにおいては、SCSIのID認識手段を他の機能ブロックと分離し、コマンド待ち状態などにおいて、この他の機能ブロックをスリープモードに設定しておくことにより、SCSIシステムの消費電力の削減を容易に行うことができる。
【0023】
以上、本発明の概略を説明したが本発明はこれらの記載に限定されるものでない。又、本発明の他の側面は以下に説明する本発明の実施例から明らかになろう。
【0024】
【実施例】
以下、本発明の実施例を図面を用いて詳述する。
【0025】
図3に、本発明の周辺機器制御装置又は周辺制御用LSIが用いられる情報処理装置の構成例を示す。この情報処理装置は、ワークステーションやパーソナルコンピュータ等の基本構成であり、メインCPU14,ROM15,RAM16がバス50に接続されている。このバス50には、ファイルコントローラ17、表示コントローラ18、キーボードコントローラ19、プリンタコントローラ20、通信コントローラ21等が接続されている。又、これらのコントローラには、それぞれファイル装置22、液晶やCRTディスプレイ23、キーボード24、プリンタ25、通信路が接続されている。
【0026】
本発明の周辺制御装置又は周辺制御用LSIとは、このような情報処理装置において、ファイルコントローラ17、表示コントローラ18、キーボードコントローラ19、プリンタコントローラ20、通信コントローラ21等を意味する。
【0027】
図1は、本発明の一実施例である周辺制御装置又は一チップ構成の周辺制御用LSIを示す図である。同図の消費電力制御回路2は、同図の装置又はLSIが、バス50を介してメインCPU14からのコマンド設定又はコマンド以外のアクセスを受けていない時は、内部クロックを停止させ、レジスタ群8〜10、I/O制御回路11〜13の動作を停止させ、スリープモードとして消費電力の損失を防ぐ消費電力制御手段であり、活性化検出手段の機能をも有する。このとき、消費電力制御回路2、アドレスラッチ3、ラッチ6、アドレスデコーダ4、ゲート5は常時動作状態になっている。
【0028】
その後、メインCPU1806からのコマンド設定が発生すると、消費電力制御回路2は、メインCPU14からのチップセレクト、ライトストローブ等、およびアドレスコーダ4、ゲート5の出力により、コマンド設定開始、すなわち、活性化を検出し、内部クロックをレジスタ群8〜10及びI/O制御回路11〜13に供給する。
【0029】
これにより、レジスタ群8〜10、I/O制御回路11〜13は動作可能な状態になり、ラッチ6に保持されていたコマンドが各レジスタ群8〜10内のコマンドレジスタに移される。このため、メインCPU1806からのコマンドの実行状態になる。このコマンド処理が終了すると、I/O制御回路11〜13は、活性化終了検出手段としてのNORゲート1に対しコマンド終了信号を出力し、これらのNORゲート1出力が消費電力制御回路2に入力される。消費電力制御回路2は、これにより再び内部クロック出力を停止させ低消費電力モードに戻る。
【0030】
次にメインCPU14からのコマンド設定以外のアクセスにおいては、チップセレクト、ライトストローブ又はリードストローブにより、消費電力制御回路2は、アクセス開始、すなわち、活性化を検知し、制御用LSI又は制御装置を動作可能状態にし、低消費電力モードの解除を行なう。このとき、アドレスラッチ3、ラッチ6は常時動作状態になっている。ライトデータはラッチ6を介して内部へ、又、リードデータはゲート7を介して外部へ出力される。また、このような断続的なアクセスは、1回のサイクルが短いため、その終了を消費電力制御回路2内に設けられた活性化終了検出手段が検知し、低消費電力モードにもどす。
【0031】
次に、消費電力制御回路2の内部構成の一例を、図2のブロック図、及び図4、図5のタイミングチャートを用いて説明する。メインCPU14からアドレス、コマンドデータが、チップセレクトとライトストローブなどの制御信号と共に送られてくると、消費電力制御回路2では、チップセレクト及びライトストローブから図4に示すようにゲート26、ゲート28を介して、RSフリップフロップ29がセットされる(時点t1 )。
【0032】
又このとき、ゲート43の出力のラッチイネーブル信号によりコマンドデータがラッチ6に保持され、同様にアドレスが、ゲート28の出力アドレスラッチイネーブルによりアドレスラッチ3に保持される。RSフリップフロップ29の出力は、エッジトリガフリップフロップ31,32により周期化され、フリップフロップ32の出力は、ゲート33を介して内部クロックを作動させ、低消費電力モードを解除する(時点t2)。
【0033】
これによりフリップフロップ34の出力である内部ライトストローブが出力され、アドレスデコーダ4を経由して、コマンドライトストローブ出力がフリップフロップ41に入力される(時点t3)。このとき、コマンドライトストローブによりラッチ6に保持されたコマンドがレジスタ群8〜9のコマンドレジスタに移され、各I/O制御回路11〜13での処理がスタートする。又、フリップフロップ41の出力は、I/O制御回路11〜13のゲート1を介したコマンド終了信号を受けつけ可能な状態にする。
【0034】
その後、各I/O制御回路11〜13のコマンド処理が終了すると、ゲート1を介したコマンド終了信号が消費電力制御回路2のゲート38に入力され(時点t4)、ゲート39、フリップフロップ40を介して、RSフリップフロップ29がリセットされる(時点t5)。ゲート29の出力はフリップフロップ31,32を介してゲート33を制御し、内部クロックを停止させ、低消費電力モードにもどす(時点t6)。
【0035】
次に、メインCPU14のコマンド設定以外のアクセスの動作を図5を用いて説明する。低消費電力モード解除のシーケンスは、図4の場合と同様であるが、低消費電力モードへの復帰については、図2のフリップフロップ34の出力である内部ライトストローブ、又はフリップフロップ36の出力である内部リードストローブがアサートされると(時点t10)、ゲート35,37,39とフリップフロップ40を介してRSフリップフロップ29が図5に示すようにリセットされる(時点t11)。又、RSフリップフロップ29の出力はフリップフロップ31,32を介してゲート33を制御し、内部クロックを停止させて低消費電力モードに復帰させる(時点t12)。すなわち、本実施例においては、フリップフロップ34,36,40とゲート群35,37,38,39が活性化終了検出手段として機能することになる。
【0036】
なお、以上の実施例の説明はディジタル回路での低消費電力化について述べてきたが、アナログ回路については、図2のフリップフロップ32の出力又はRSフリップフロップ29の出力により、アナログ回路内の電流源をカットオフすることにより、低消費電力化を実現できる。
【0037】
さて、引き続き、図6以降の図面を用いて、本発明の第2の実施例を詳述する。この第2の実施例は、SCSI(Small Computer System Interface)に本発明を適用したシステムに関するものである。SCSIシステムは上述した種々の周辺装置や周辺制御装置が接続されるバス27(図3)として、SCSIバスが用いられる場合に適用される。
【0038】
一般的な、SCSIバスを制御するSCSIコントロール用LSIとしては、例えばNCR社の高度SCSIコントローラ・53C90A、53C90Bのデータシートに記載されているものがあるが、低消費電力化については配慮されていない。なお、SCSIバスの基本的なプロトコルについては、例えば1990年3月9日にANSI(American National standard for information system)に提案された、SCSI−2などを参照されたい。
【0039】
図6は、第2の実施例の原理構成を示している。同図において、SCSIシステムはSCSIバス601とSCSIコントローラ602とからなり、SCSIコントローラ602はSCSIのID認識部603と、他の機能ブロック604と電源供給の面で分離、独立している。更に他の機能ブロック604はスリープ機能を持っている。なお、605は活性化開始を意味するスリープ解除信号である。この機能ブロック604は、後で詳述するように、コマンドキューに入っているコマンドの実行が全て完了した場合に、クロック入力を切断し低消費電力モードであるスリープモードに入るので、SCSIシステムはコマンド待ち状態において、ID認識部603を除き動作を停止し、電流を消費しない。従って、消費電流を小さく抑えることが出来る。
【0040】
ID認識部603は、SCSIシステムがSCSIバスを介して他のSCSIシステムに選択されたことを検出する機能を持つ。ID認識部603が、この活性化開始検出手段としての機能により、他のSCSIシステムに選択されたことを検出すると、機能ブロック604に対して最小限必要な一部又は全ての回路を活性化させるスリープ解除信号を送出する。すなわち、最小限必要な一部又は全ての回路にクロックを入力し、活性化することができる。又、ID認識部603と他の機能ブロック604は電源が分かれており、機能ブロック604はスリープ状態になった場合その電源が切断される。そして、ID認識部603の送出したスリープ解除信号605を受けた場合に接続されるので、スリープモードでの消費電力は最小限に抑えられる。
【0041】
又、本実施例におけるSCSI制御用LSIは、スリープ状態起動用レジスタ又はスリープ状態起動用入力信号を持ち、スリープ状態設定値がセットされるか、又はスリープ状態起動用信号がアサートされると、ID認識部603を除き、回路がスリープ状態となる。さらに、SCSIコントロールLSIは、ID認識部603の送出したスリープ解除の信号を受けると、各回路ブロック毎のスリープ解除情報を管理するレジスタに設定された値に従い、各回路ブロック毎にスリープ解除を行なうので、ID認識部603での選択状態、また、システム構成によって消費電流が最小になるように制御できる。さらに、前記SCSIコントロールLSIは、通常の割込み信号とは別にID認識部603が出力される外部回路のスリープ解除信号605を持ち、該SCSIコントロールLSIが他のSCSIシステムから選択されたのを認識したとき、ID認識部603は外部回路のスリープ解除信号605をアサートするので、他のSCSIシステムからのコマンド待ち状態において切断していた他の機能ブロック用の電源回路を接続することができ、容易にスリープ状態から復活することができる。
【0042】
上述した第2の実施例の原理を実現する具体的構成を図7に示す。同図における1801〜1813は先に説明した図20の従来構造の要素と同一のものを示すためここでの説明は省略する。内部CPU1806により制御されSCSIバス601を制御するSCSIバス制御回路701、内部CPU1806から与えられたスリープ信号837により、SCSIバス制御回路701の一部の回路を除き、全ての回路の電源を切断し、又、SCSIバス制御回路701から出力されるスリープ解除信号833により、内部CPU1806、SCSIバス制御回路701及びバッファ1813の電源供給を制御する消費電力制御手段としての電源制御回路835が新たな構成要素である。
【0043】
図8に、SCSIバス制御回路701の一例のブロック図を示す。図示の都合上、図の右側がSCSIバス601に接続され、図の左側が内部バス1815に接続され、図7とは左右逆転しているので注意されたい。SCSIバス制御回路701は破線で区分けされた機能ブロック841,842,843に大きく分けられる。
【0044】
さて、同図において、内部CPUデータバス801は、CPU1806から、SCSIバス制御回路701をアクセスするためのデータバスであり、先の内部バス1815の一部を構成する。リード/ライトコントローラ802は、CPU1806、ハードディスクコントローラ1811などが出力した、RD/,WR/,CS/,DACK/,DWR/,DRD/等の信号により、SCSIバス制御回路701の内部レジスタ803〜811,815〜818,1608,FIFO819などをアクセスするタイミング信号を生成する回路である。なお、本明細書において、信号名の後“/”は反転信号を意味する。内部レジスタ803,804,805,806,807,808,809,810,811はそれぞれ、転送カウント値レジスタ、宛先IDレジスタ、コマンドレジスタ、コンフィグ1レジスタ、コンフィグ2レジスタ、同期オフセットレジスタ、同期転送周期レジスタ、タイムアウトレジスタ、クロック変換レジスタであり、CPU1806はこれらのレジスタ群に値を設定することにより、SCSIプロトコルを制御することが出来る。
【0045】
又、812はSCSIデータバスシングルエンドレシーバであり、813はSCSIデータバスシングルエンド48mAシンクドライバである。814は、SCSIバス制御信号シングルエンドレシーバ、824はSCSIバス制御信号シングルエンド48mAシンクドライバである。815,816,817,818はそれぞれ転送カウンタ、ステータスレジスタ、割込みレジスタ、シーケンスステップカウンタであり、CPU1806はこれらのレジスタ群を読むことにより、SCSIプロトコル実行状況を知ることが出来る。
【0046】
819,820は、CPU1806又はバッファ1813からSCSIバス、あるいはSCSIバス又はバッファ1813からCPU1806へ転送するデータを一時的に保存する機能を持つFIFOである。821はCPU1806、バッファ1813からSCSIバスあるいは、SCSIバスからCPU1806、バッファ1813へ転送するデータのパリティ検出器およびパリティ発生器である。823はシーケンサであり、レジスタ803〜811の設定、およびレシーバ814より与えられたSCSIバス制御信号の値に従いSCSIプロトコルを制御できる。又、その結果をステータスレジスタ816、割込みレジスタ817に出力する。
【0047】
825は本実施例における要部としてのID認識部であり、図6に示した活性化開始検出手段としてのID認識部603に当たり、機能ブロック841に入っている。ID認識部825は、SCSIバス制御信号BSY/とSEL/の値を監視し、BSY/がハイレベルで、SEL/がローレベルのとき、本実施例のIDであるOWNIDとSCSIデータバスSDBO/〜SDB7/の値と比較して、一致しているとスリープ解除信号833を出力する。
【0048】
826はスリープ制御回路である。スリープ制御回路826はシーケンサ823から与えられたスリープ設定信号830により、スリープ制御信号828、スリープ制御信号829、スリープ信号827をアサートし、ID認識部825から与えられたスリープ解除信号833によりスリープ制御信号828,829,スリープ信号827をネゲートする機能を持つ。クロック834は、スリープ制御信号828,829とアンドをとったものが、それぞれ機能ブロック842、機能ブロック843のクロックとして用いられるクロック信号である。
【0049】
835は消費電力制御手段としての電流制御回路であり、CPU1806から与えられるスリープ信号837等によって、制御されるスイッチ836と電源Vccからなる。この電流制御回路835は、ID認識部825とスリープ制御回路826とレシーバ812とレシーバ814より構成される機能ブロック841に電流を供給する電源Vcc2と、機能ブロック842,843に電流を供給する電源Vcc1とをそれぞれ独立に供給する構成を有する。すなわち電流制御回路835は、CPU1806から与えられるスリープ信号837によりVcc1をオフ状態とし、ID認識部825より与えられるスリープ解除信号833によりVcc1をオン状態とするようスイッチ836を制御する。
【0050】
次にレシーバ812,レシーバ814の詳細構成を図11、図12を用いて説明する。
【0051】
レシーバ812には、図11に示すように。SDBO/〜SDB7/ 1101,1106,1110,1114,1118,1122,1126,1130とSDBP/1134をそれぞれ入力するヒステリシス付レシーバ1102,1107,1111,1115,1119,1123,1127,1131,1135と、それらの出力した信号をクロック1103(図8のクロック834と等価なクロックである。)で同期化する3段同期化回路1104,1108,1112,1116,1120,1124,1128,1132,1136とから構成される。3段周期化回路1104〜1136はそれぞれSDBO〜SDBP内部信号1105〜1137を出力する。
【0052】
一方、レシーバ814は、基本的には図12に示すように、SCSI制御バス信号BSY/1201,SEL/1205,REQ/1209,ACK/1213,I/O/1217,C/D/1221,MSG/1225,ATN/1229,RST/1233(これらの信号の機能については先に示したSCSIプロトコルの規格書を参照されたい。)をそれぞれ入力するヒステリシス付レシーバ1202,1206,1210,1214,1218,1222,1226,1230,1234と、これらが出力した信号をクロック1103で同期化する3段周期化回路1203,1207,1211,1215,1219,1223,1227,1231,1235とから構成される。3段周期化回路1203〜1235はそれぞれBSY内部信号1204,SEL内部信号1208,REQ内部信号1212,ACK内部信号1216,I/O内部信号1220,C/D内部信号1224,MSG内部信号1228,ATN内部信号1232,RST内部信号1236を出力する。
【0053】
さて、本実施例においては、図8に明らかなようレシーバ814はスリープ制御回路826よりスリープ信号827を受けとる。このスリープ信号827に対応するため、本実施例におけるレシーバ814は、そのREQ/1209,ACK/1213,I/O/1217,C/D/1221,MSG/1225,ATN/1229,RST/1233を入力するレシーバ回路部分は、図10に示す構成となる。なお、図10においては、MSG/1225に対応するレシーバ回路部分を図示したが、REQ/1209,ACK/1213,I/O/1217,C/D1221,ATN/1229,RST/1233についても同様の構成となる。
【0054】
ここで、上述したように、スリープ信号827は、レシーバ814をスリープモードにする信号である。このスリープ信号827が活性化状態となることにより、図10の回路はREQ/1209,AGK/1213,I/O/1217,C/D/1221,MSG/1225,ATN/1229,RST/1233の値にかかわらず、REQ内部信号1212〜RST内部信号1236を非活性化状態に保ちつづけることになる。同図において、1001,1002,1003はそれぞれインバータ回路、2入力NOR回路、2入力OR回路であり、これらの動作は後に説明する。
【0055】
なお、BSY1201,SEL/1205に対応するレシーバ回路部分は、図12に示した構成そのままにしておくのは、図18,図19に示したようにSCSIプロトコルのID認識に必要な信号であり、常に動作している必要があるからであり、これら以外はSCSIプロトコルのID認識に必要な信号でないので、スリープ信号827によって制御される図10の構成をとることになる。
【0056】
次に、図8のID認識部825の一例の構成を図9を用いて説明する。ID認識部825には、レシーバ814よりBSY内部信号1204,SEL内部信号1208が入力され、レシーバ812よりSDB0〜SDB7内部信号1105〜1133が入力される。そしてスリープ解除信号833を出力する。同図において、901は本実施例のSCSIシステムのIDを保持しているOWNIDレジスタ、902はインバータ、903〜912は2入力AND回路、913は8入力OR回路である。このID認識部825の動作の詳細については後で説明する。
【0057】
続いて、図2のスリープ制御回路826の一例の構成を図13を用いて説明する。図8から明らかなように、スリープ制御回路826には、ID認識部825からのスリープ解除信号833及びシーケンサ823からのスリープ設定信号830が入力される。そして、本実施例のSCSIバス制御回路703の機能ブロック843をスリープ状態とするスリープ制御信号828と、機能ブロック842をスリープ状態とするスリープ制御信号829を出力信号とする。
【0058】
図13において、1301はスリープ解除選択レジスタであり、1302,1303は2入力ANDゲート、1304,1305はスリープ制御信号828,829をそれぞれ保持するセット/リセット型ラッチ回路、1306は2入力ORゲートである。
【0059】
さて、引き続き、上述した本発明の第2の実施例の動作を図8を中心に説明する。
【0060】
まず、本実施例の要部の説明に先立ち、SCSIの一般的なシーケンスを図17,図18,図19を用いて概略説明する。SCSIシステムは、図3に示したメインCPU14などコマンドを発行するイニシエータとしてのホストコンピュータと、図3に示したファイルコントローラ17などのターゲットとしての周辺装置から構成される。
【0061】
図17に示すように、SCSIシステムは、電源立ち上げによるリセット後、バスフリーフェーズである。このバスフリーフェーズは、SCSIバスがどのSCSIシステムによっても使用されていない状態である。図18に示すように、SCSIシステムはバスフリーフェーズにあるとき、BSY/1201,SEL/1205,SDB0/〜SDB7/1101〜1130,SDBP/1134をネゲート状態、すなわちハイレベルに保持している。次に、イニシエータは、バス権を獲得するためアービトレーションフェーズを開始する。すなわち、BSY/1201をアサートし、SDB0/〜SDB7/1101〜1130,SDBP1134にイニシエータの装置番号であるOWNIDを出力する。イニシエータは、アービトレーションフェーズにてSCSIバス上のIDをチェックし、OWNIDが一番優先順位の高いIDである場合にバス権を獲得する。イニシエータはバス権を獲得すると、SEL/1205をアサートする。
【0062】
次に、イニシエータは、コマンドを発行したいターゲットを選択するためにセレクションフェーズを開始する。すなわち、BSY/1201をネゲートし、SDB0/〜SDB7/1101〜1130,SDBP/1134にOWNIDに加えて、当該ターゲットの装置番号であるPARTNERIDを出力する。ターゲットは、BSY/1201がネゲート状態、SEL/1205がアサート状態であることを検出すると、SCSIバス上のIDと当該ターゲットのOWNIDを比較する。
【0063】
SCSIバス上のIDと当該ターゲットのOWNIDが一致している場合には、ターゲットは、BSY/1201をアサートしてイニシエータに応答する。イニシエータは、BSY/1201がアサートされたことを確認すると、SEL/1205をネゲートしセレクションフェーズを終了する。セレクションフェーズが終了すると、SCSIは、インフォメーショントランスファーフェーズにはいる。インフォメーショントランスファーフェーズでは、セレクションフェーズにて、接続されたイニシエータとターゲットとの間でコマンド、データ、メッセージ、ステータスの授受を行なう。
【0064】
全てのコマンド、データ、メッセージ、ステータスの授受が終了すると、ターゲットは、BSY/1201をネゲートし、バスフリーフェーズにはいる。また、全てのコマンド、データ、メッセージ、ステータスの授受が終了していない場合でも、ターゲットにて処理に時間がかかる場合には、ターゲットは、BSY/1201をネゲートし、バスフリーフェーズにはいることが出来る。この場合、ターゲットは、内部の処理が終了したとき、アービトレーションフェーズを起動し、リセレクションフェーズにてイニシエータを選択し、コマンド、データ、メッセージ、ステータスの授受を続行することが出来る。また、イニシエータが、ターゲットに転送するコマンドにキュータグメッセージを付加することにより、ターゲットは複数のイニシエータからのコマンドを同時に受け付けることが出来る。
【0065】
従来の、例えばNCR社製のSCSIコントロールLSI 53C90A,53C90Bは、アクセス待ち状態のとき、常にレシーバによってSCSIバスの全信号を監視し、シーケンサにてチェックすることにより、BSY/がネゲート状態で、SEL/がアサート状態であることを検出、SCSIバス上のIDをFIFOに取り込み、シーケンサにて自分のIDと比較することにより、セレクションフェーズの動作を行なっている。そのため、イニシエータからのコマンド待ち状態においても、常にシーケンサや内部回路を含めたSCSIバス制御回路全体が動作しており、消費電力が大きくなる。
【0066】
さて、本実施例の動作について述べる。CPU1806(図7)は、SCSIバス601より与えられたコマンドの実行を全て終了し、SCSIプロトコルで規定されるコマンドキューが空になると、電源制御回路835へスリープ信号837を出力する。電源制御回路835は、Vcc1をオフ状態とし、SCSIバス制御回路701のID認識部825、スリープ制御回路826、レシーバ812、レシーバ814、2つの2入力AND回路からなる機能ブロック841を除く、機能ブロック842,843の全ての回路を駆動している電源を切断し、スリープモードに入る。
【0067】
又、図10、図12に示すように本実施例のレシーバ814は、BSY/1201,SEL/1205の入力回路を除き、スリープ信号827が入力されており、スリープ状態でスリープ信号827がハイレベルのとき、2入力NOR回路1002(図10)の出力は、常にローレベルに固定される。又、2入力OR回路1003の出力は常にHighレベルに固定される。従って、SCSIバスのMSG/1225が変化しても、内部信号1228は Lowレベルに固定され変化しない。一般に、これらの回路はCMOSで作られており、信号が変化しないとき電流を消費しないので、スリープモードのとき、レシーバ814は、BSY/1201,SEL/1207の入力回路を除き電流を消費しないことになる。
【0068】
次に、SCSIバスがアービトレーションフェーズに入り、セレクションフェーズに入ると、BSY/1201はハイレベル、SEL/1205はローレベルになる。ID認識部825は、図9に示す構成であるので、インバータ902の出力は、ハイレベルとなり、2入力ANDゲート903の出力はハイレベルとなる。そして、OWNIDレジスタ901に保持されているID値と、SDB0/〜SDB7/1105〜1133の値が一致するとスリープ解除信号833はハイレベルとなる。
【0069】
例えば、OWNIDが“3”と設定されていたとすると、SDB3/1114がローレベルのときSDB3内部信号1117はハイレベルとなり、2入力AND回路908の出力はハイレベルとなる。よって、8入力OR回路913の出力はハイレベルとなる。したがって、2入力AND回路912の出力はハイレベルとなり、スリープ解除信号はハイレベルとなり、活性化開始信号として機能する。従って、電流制御回路835は、Vcc1をオン状態とし、機能ブロック843,842の電源を投入する。
【0070】
一方、スリープ制御回路826は、図13に示す構成であるので、スリープ解除信号833がハイレベルになると、スリープ解除選択レジスタ1301の値に従って、スリープ状態ラッチ1304とスリープ状態ラッチ1305をリセットし、スリープ制御信号828,829がネゲートされる。スリープ制御信号828はシーケンサ823と、パリティ発生・検出器821とFIFO819のみをスリープ状態に設定する。スリープ制御信号829は、スリープ制御信号828にて制御する回路以外のSCSIバス制御回路701内の回路をスリープモードに設定する。例えば、スリープ解除選択レジスタ1301の値が“10”のとき、スリープ解除信号833がハイレベルになると、2入力アンド回路1302の出力はハイレベルになり、2入力アンド回路1303の出力はローレベルになる。
【0071】
よって、スリープ状態ラッチ1304はリセットされ、スリープ状態ラッチ1305はセットされたままである。よって、スリープ制御信号828はローレベル、スリープ制御信号829はハイレベルとなる。したがって、シーケンサ823と、パリティ検出・発生器821とFIFO819のみがスリープ状態から解除される。シーケンサ823は、パリティ検出・発生器821にてパリティエラーが発生していないことを確認し、IDエラーが発生していないことを確認してから、他の回路をスリープモードから復帰させる。もし、パリティエラーまたはIDエラーが発生しているならば、シーケンサ823と、パリティ検出・発生器821とFIFO819は、再びスリープモードとなる。これが、本実施例において機能ブロック842,843を別個のスリープ制御信号829,828で制御する理由である。
【0072】
CPU1806は、一定時間SCSIバス制御回路701からの割込み信号を待ち、割込み信号が来ない場合には、電源制御回路835に再びスリープ信号837を出力して、SCSIバス制御回路701の機能ブロック841を除き全ての回路を駆動している電源を切断する。
【0073】
以上詳述してきた本発明の第1の実施例によれば、応答性を損なうことなくコマンド待ち状態における消費電流を最小限に抑えることができる。
【0074】
次に、本発明の第3の実施例について、図14〜図16を用いて説明する。
【0075】
一般に、各SCSIバスは、48mAシンクのオープンコレクタ又はオープンドレインのドライバを用いるため、図14に示すように、各SCSIバスの信号線には、反射が余り問題にならない規模のシステムであっても、220Ωと330Ωの終端抵抗を付ける必要があり、終端抵抗に常に5V/550Ω×18=164mAの電流が流れる。
【0076】
そこで、本実施例においては、図15に示すようにSCSIバス制御回路1500、SCSIバス601、220Ω×18本の抵抗1502、330Ω×18本の抵抗1503、440Ω×18本の抵抗1504、660Ω×18本の抵抗1506、及びスイッチ1501,1505より構成される。
【0077】
SCSIバス制御回路1500の本実施例における構成は図16に示すものとなる。同図において、外部CPUデータバス801は、CPU1806(図7)から、SCSIバス制御回路1500をアクセスするためのデータバスである。同図において、図8と同一の符号を付したブロックは図8のものと同一の機能を有するブロックでありここでは詳述しない。1601は本実施例のSCSIバス制御回路1500をコントロールするシーケンサであり、1602,1603はセレクタである。そして、1604,1606はSCSIデータバスシングルエンド48mAシンクドライバであり、先の実施例におけるドライバ813,824に対応する。1605,1607はSCSIデータバスシングルエンド24mAシンクドライバである。セレクタ1602,1603の機能は後で説明するように、48mAシンクドライバ1604,1606と24mAシンクドライバ1605,1607を切り換える機能を有する。1608はセレクタ切替レジスタであり、CPU1806によって書き込まれたセレクタ切替情報を保持する。
【0078】
なお、ここでは図7に示したハードディスク装置の概略構成は特に図示しないが、本実施例においては電源制御装置835は必要なく、CPU1806に対して、セレクタ切替情報を与えるビットスイッチがCPU1806への入力手段として機能的に追加される。
【0079】
次に、本実施例の動作について説明する。本実施例ではユーザのビットスイッチ操作に基づきCPU1806は、SCSIバス制御回路1500に対し、セレクタ1602,1603によって48mAシンクドライバ、24mAシンクドライバのどちらかを選択するよう制御信号を発生する。すなわち、CPU1806はビットスイッチの値を取り込み、内部CPUデータバス801を使って、セレクタ切換レジスタ1608に値を書き込む。セレクタ切替レジスタ1608は、この値に従いセレクタ切替信号1609を各セレクタ1602,1603に送る。
【0080】
例えば、図16に示したSCSIシステムが8台につながるような比較的大きなシステムに接続する場合、外部CPU1806はユーザによって48mAシンクドライバ対応に切替えられたビットスイッチの値をセレクタ切替レジスタ1608に書き込み、セレクタ切替レジスタ1608はその値によって、制御信号1609を制御し、セレクタ1602,1603は48mAシンクドライバ1604,1606を選択する。
【0081】
又、ユーザは図15のスイッチ1501を接続状態、スイッチ1505を非接続状態とする。このように接続することにより、SCSIプロトコルに従ったSCSIバスドライバを構成することができ、最大6m、8台まで接続可能となる。しかし、全端子アーサト状態では、48mA×18=864mAの電流を消費し、全端子ネゲート状態でも164mAの電流を消費する。
【0082】
次に、ノートパソコンのような反射の気にならない比較的小さなシステムに組み込む場合には、48mAシンクドライバは必要ないため、外部CPU1806は24mAシンクドライバ対応に切替えられたビットスイッチに基づき、セレクタ1602,1603を24mAシンクドライバを選択するように設定する。又、ユーザは図15のスイッチ1505を接続状態、スイッチ1501を非接続状態とする。このように接続することにより、24mAシンクドライバを用いたSCSIバスドライバを構成することができる。全端子アサート状態では、24mA×18=432mAの消費電流、全端子ネゲート状態でも82mAの消費電流となり、消費電流は、48mAシンクドライバを用いた場合の約半分とすることができる。
【0083】
すなわち、本実施例のSCSIコントロールLSIは、引込み電流の小さいSCSIバスドライバと、48mAシンクのSCSIバスドライバの両方を持つので、通常のSCSIシステムの場合には48mAシンクのSCSIバスドライバを使用し、反射の気にならないような小規模のSCSIシステムの場合には、引込み電流の小さいSCSIバスドライバを使用することにより、各端子のアサート時の消費電流を削減することができる。さらに、引込み電流の小さいSCSIバスドライバを使用する時、引込み電流に応じた終端抵抗を使用することにより、48mAシンクのSCSIバスドライバを使用し、220Ωと330Ωの終結抵抗を使用する場合に比べ、終端抵抗の抵抗値が大きくなるため、反射の気にならないような小規模のSCSIシステムの場合には、各端子ネゲート時の消費電流を削減することができる。
【0084】
さらに、本実施例のSCSIシステムは、引込み電流の小さいSCSIバスドライバと、48mAシンクのSCSIバスドライバを切り替え可能とし、引込み電流の小さいSCSIバスドライバ使用時には、引込み電流に応じた終端抵抗が接続され、48mAシンクのSCSIバスドライバ使用時には、220Ωと330Ωの終端抵抗が接続されることで、システムの大きさに対応して、最適なSCSIバスドライバを選択することができ、消費電流を必要最小限にすることができる。
【0085】
【発明の効果】
本発明によれば、周辺装置、周辺機器制御装置の低消費電力化が図れる。また、外部のプロセッサ等の負担を軽減しながら、消費電力を最大限に低減することができる周辺制御用LSIを提供することができる。さらに、周辺制御装置において、外部のプロセッサ等からのコマンド待ち状態における消費電力を削減し、かつ、良好な応答性を維持することができる。特に、SCSIシステムの消費電流の削減を容易に行なうことが可能である。
【図面の簡単な説明】
【図1】本発明による周辺制御装置の一実施例を示す回路ブロック図、
【図2】図1に示した消費電力制御回路2の一例を示す回路構成図、
【図3】本発明の周辺制御装置や周辺制御用LSIが用いられる情報処理装置の一例を示すブロック図、
【図4】図1に示した実施例の動作を説明するための第1のタイミングチャート、
【図5】図1に示した実施例の動作を説明するための第2のタイミングチャート、
【図6】本発明をSCSIシステテムに適用した第2の実施例の原理を説明するための概略構成図、
【図7】図6に示した本発明の第2の実施例であるSCSIシステムをハードディスク装置に適用する場合の概略構成図、
【図8】図7のSCSIバス制御回路701の一例を示す回路ブロック図、
【図9】図8に示したSCSIバス制御回路内のID認識部825の一例を示す回路図、
【図10】図8に示したレシーバ814の一例の部分的な回路図、
【図11】図8に示したレシーバ812の一例の回路図、
【図12】図8に示したレシーバ814の全体の概略的な回路図、
【図13】図8に示したスリープ制御回路826の一例の回路図、
【図14】本発明が適用されるSCSIバスの終端抵抗を説明するための回路図、
【図15】本発明の第3の実施例におけるSCSIバスの一例を示す回路図、
【図16】本発明の第3の実施例におけるSCSIバス制御回路の一例を示すブロック図、
【図17】本発明の第2、第3の実施例が適用されるSCSIシステムにおける状態遷移図、
【図18】本発明の第2、第3の実施例が適用されるSCSIシステムにおけるSCSIプロトコルの概略的シーケンスを説明するための説明図、
【図19】本発明の第2、第3の実施例が適用されるSCSIシステムにおけるSCSIプロトコルの概略的シーケンスを説明するための他の説明図、
【図20】従来のATバスを用いたハードディスク装置の一例を示す概略図。
【符号の説明】
2…低消費電力制御回路、3…アドレスラッチ、4…アドレスデコーダ、6…ラッチ、7…ゲート、8〜10…レジスタ群、11〜13…I/O制御回路、601…SCSIバス、602…SCSIコントローラ、603…ID認識部、604…ID認識部以外の機能ブロック、605…スリープ解除信号。[0001]
[Industrial application fields]
The present invention relates to a configuration for reducing power consumption of a peripheral device such as a workstation or a personal computer, particularly a semiconductor integrated circuit of a peripheral device control device.
[0002]
[Prior art]
Conventionally, various studies have been made on the reduction of power consumption of peripheral devices such as workstations and personal computers and peripheral control LSIs (Large Scale Integrated) for controlling the peripheral devices.
[0003]
For example, a peripheral control LSI has a dedicated input terminal for designating a low power consumption mode, and is configured to maintain the low power consumption mode for an instructed period by an output signal from an external microprocessor or low power consumption controller. . As a result, in the peripheral circuit LSI, for example, in a digital circuit that operates with a reference clock, a part or all of the clock is stopped for the specified period described above, thereby reducing power consumption. Also in the analog circuit inside the peripheral control LSI, the power consumption is reduced by cutting off part or all of the current source circuit during the designated period.
[0004]
As another conventional example, in the peripheral devices such as a hard disk, a CDROM (Compact Disk Read Only Memory), and a floppy disk, described in the small hard disk drive, DRR040C product specification (first edition) issued by Alps Electric Co., Ltd. Thus, in order to reduce the size and weight of the system, the power consumption is reduced except when a command is received and executed from a microprocessor or the like constituting the host computer.
[0005]
FIG. 20 shows a schematic configuration diagram of DRR040C. The DRR040C includes a
[0006]
Here, the AT bus means a bus having an interface of PC / AT (which is a registered trademark of IBM Corporation, USA).
[0007]
When the DRR040C receives and does not execute a command from the AT bus, the DRR040C controls as follows to suppress power consumption.
1. When all the commands received from the AT bus are completed, the DRR 040C is in the idle mode (1). When in the idle mode (1), the
2. DRR040C enters the idle mode (2) when it is not accessed from the AT bus for another 5 seconds after entering the idle mode (1). When in the idle mode (2), the
3. DRR040C enters standby mode when it is not accessed from the AT bus for a certain period of time after entering idle mode (2) (default is 3 minutes). When in the standby mode, the
4). Upon receipt of the sleep command from the AT bus, DRR040C enters the sleep mode, which is a complete low power consumption mode. When in the sleep mode, the DRR040C further sets the AT
[0008]
[Problems to be solved by the invention]
Among the above-described conventional techniques, in the former, the microprocessor or controller outside the peripheral control LSI instructs the low power consumption mode. Therefore, in order to achieve the maximum reduction in power consumption, it is necessary for an external microprocessor or the like to issue a low power consumption mode command many times, and there is a problem that the burden on the external microprocessor or the like is too great. there were.
[0009]
Also, since external microprocessors cannot accurately grasp the internal operating state of the peripheral control LSI that instructs low power consumption, detailed control for low power consumption cannot be performed, and maximum low power consumption is achieved. There was a problem that electric power could not be realized.
[0010]
On the other hand, in the latter conventional example, the current consumed in the AT
[0011]
An object of the present invention is to provide a configuration for reducing power consumption of peripheral devices and peripheral device control devices.
[0012]
It is another object of the present invention to provide a peripheral control device such as a peripheral control LSI that can reduce power consumption to the maximum while reducing the burden on an external processor or the like.
[0013]
A further object of the present invention is to provide a peripheral control device capable of deleting power consumption in a state waiting for a command from an external processor or the like.
[0014]
Still another object of the present invention is to provide a peripheral control device with good responsiveness even when power consumption in a command waiting state from an external processor or the like is reduced.
[0015]
Another object of the present invention is to provide a SCSI bus control device capable of easily reducing current consumption of a SCSI (Small Computer System Interface) system.
[0016]
[Means for Solving the Problems]
To achieve the above object, in the present invention, a peripheral control device connected to a bus to which external processing means such as a processor is connected, the activation start detecting means for detecting the start of access from the external processing means And an activation end detection means for detecting the end of the access operation and a power consumption control means. The output of the activation start detection means causes the power consumption control means to release the low power consumption mode and activate In accordance with the output of the end detection means, the power consumption control means is controlled to return to the low power consumption mode.
[0017]
Access to the peripheral control device by the external processing means is started when a command is set from the external processing means to the peripheral control device, or when the status of the peripheral control device is detected by the external processing means.
[0018]
Furthermore, in the present invention, in a SCSI system in which the bus connecting the host computer and the main CPU and peripheral devices is a SCSI bus, a selection phase in which access to the peripheral device control device and peripheral control LSI by the host computer or the like is started. The ID recognizing means for detecting the SCSI ID at this time is the above-described activation start detecting means.
[0019]
[Action]
In the present invention, the peripheral control device or the peripheral control LSI is set to a low power consumption mode in a state of waiting for a command from a host computer such as an external microprocessor, and the command setting / status detection from the host computer. Cancel the low power consumption mode at the start of access. As a result, it is possible to reduce cumulative and useless power loss in the device and LSI, and to realize thorough reduction in power consumption.
[0020]
The above-described activation start detection means, activation end detection means, and power consumption control means are located inside the peripheral device control device and the peripheral control LSI. The peripheral device control device is a peripheral device control device for the main CPU, and means, for example, a file controller, a display controller, a keyboard controller, a printer controller, and a communication controller, and the peripheral control LSI means a semiconductor integrated circuit thereof. .
[0021]
In the present invention, the power consumption control means cuts off the power source of the digital circuit or the analog circuit in the main part of the device or LSI in the sleep mode, which is the low power consumption mode, to thereby remove the main power of the device or LSI. The operation of the part is stopped and the low power consumption state is maintained. When the access from the host computer or the main CPU by the command setting or status detection is started, the activation start detecting means operating at all times detects the access start, and based on this detection, the power consumption control means Cancels the low power consumption mode. Further, when the activation end detection unit detects the end of the operation accompanying the start of access, the power consumption control unit sets the low power consumption mode again.
[0022]
In the SCSI system according to the present invention, the SCSI ID recognition means is separated from other functional blocks, and in the command waiting state, the other functional blocks are set in the sleep mode, thereby reducing the power consumption of the SCSI system. Reduction can be easily performed.
[0023]
The outline of the present invention has been described above, but the present invention is not limited to these descriptions. Other aspects of the present invention will become apparent from the embodiments of the present invention described below.
[0024]
【Example】
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0025]
FIG. 3 shows a configuration example of an information processing apparatus in which the peripheral device control apparatus or the peripheral control LSI of the present invention is used. This information processing apparatus has a basic configuration such as a workstation or a personal computer, and a
[0026]
The peripheral control device or peripheral control LSI of the present invention means the
[0027]
FIG. 1 is a diagram showing a peripheral control apparatus or a one-chip peripheral control LSI according to an embodiment of the present invention. The power
[0028]
Thereafter, when a command setting from the
[0029]
As a result, the
[0030]
Next, in accesses other than command setting from the
[0031]
Next, an example of the internal configuration of the power
[0032]
At this time, the command data is held in the
[0033]
As a result, the internal write strobe output from the flip-
[0034]
Thereafter, when the command processing of each of the I /
[0035]
Next, access operations other than command setting of the
[0036]
In the above description of the embodiment, the reduction of power consumption in the digital circuit has been described. However, in the analog circuit, the current in the analog circuit is determined by the output of the flip-
[0037]
Now, the second embodiment of the present invention will be described in detail with reference to FIG. 6 and subsequent drawings. The second embodiment relates to a system in which the present invention is applied to a SCSI (Small Computer System Interface). The SCSI system is applied when a SCSI bus is used as the bus 27 (FIG. 3) to which the various peripheral devices and peripheral control devices described above are connected.
[0038]
As a general SCSI control LSI for controlling the SCSI bus, for example, there is one described in the data sheet of NCR's advanced SCSI controller 53C90A, 53C90B, but low power consumption is not considered. . For the basic protocol of the SCSI bus, refer to, for example, SCSI-2 proposed by ANSI (American National Standard for Information System) on March 9, 1990.
[0039]
FIG. 6 shows the principle configuration of the second embodiment. In the figure, the SCSI system includes a
[0040]
The
[0041]
Also, the SCSI control LSI in this embodiment has a sleep state activation register or a sleep state activation input signal, and when the sleep state setting value is set or the sleep state activation signal is asserted, the ID With the exception of the
[0042]
A specific configuration for realizing the principle of the second embodiment described above is shown in FIG. In the figure,
[0043]
FIG. 8 shows a block diagram of an example of the SCSI
[0044]
In the figure, an internal
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
Next, a detailed configuration of the
[0051]
As shown in FIG. SDBO / ˜SDB7 / 1101, 1106, 1110, 1114, 1118, 1122, 1126, 1130 and receiver with
[0052]
On the other hand, the
[0053]
In this embodiment, the
[0054]
Here, as described above, the
[0055]
The receiver circuit portion corresponding to
[0056]
Next, an exemplary configuration of the
[0057]
Next, the configuration of an example of the
[0058]
In FIG. 13, 1301 is a sleep release selection register, 1302 and 1303 are 2-input AND gates, 1304 and 1305 are set / reset type latch circuits for holding
[0059]
Now, the operation of the above-described second embodiment of the present invention will be described with reference to FIG.
[0060]
First, prior to the description of the main part of the present embodiment, a general SCSI sequence will be schematically described with reference to FIGS. The SCSI system includes a host computer as an initiator that issues a command such as the
[0061]
As shown in FIG. 17, the SCSI system is in a bus-free phase after reset by power-on. This bus free phase is a state in which the SCSI bus is not used by any SCSI system. As shown in FIG. 18, when the SCSI system is in the bus free phase, BSY / 1201, SEL / 1205, SDB0 / to SDB7 / 1101-1130, and SDBP / 1134 are held in a negated state, that is, at a high level. Next, the initiator starts an arbitration phase to acquire the bus right. That is, BSY / 1201 is asserted, and the OWNID that is the device number of the initiator is output to SDB0 / ˜SDB7 / 1101-1130 and SDBP1134. The initiator checks the ID on the SCSI bus in the arbitration phase, and acquires the bus right when the OWNID is the ID with the highest priority. When the initiator acquires the bus right, the initiator asserts SEL / 1205.
[0062]
Next, the initiator starts a selection phase to select a target for which a command is to be issued. That is, BSY / 1201 is negated and PARTNERID, which is the target device number, is output to SDB0 / ˜SDB7 / 1101-1130 and SDBP / 1134 in addition to OWNID. When the target detects that BSY / 1201 is negated and SEL / 1205 is asserted, the target compares the ID on the SCSI bus with the OWN ID of the target.
[0063]
If the ID on the SCSI bus matches the OWN ID of the target, the target asserts BSY / 1201 and responds to the initiator. When the initiator confirms that BSY / 1201 is asserted, the initiator negates SEL / 1205 and ends the selection phase. When the selection phase ends, the SCSI enters the information transfer phase. In the information transfer phase, commands, data, messages and status are exchanged between the connected initiator and target in the selection phase.
[0064]
When the exchange of all commands, data, messages, and status is completed, the target negates BSY / 1201 and enters the bus free phase. Even if all commands, data, messages, and status have not been exchanged, if the target takes time to process, the target must negate BSY / 1201 and enter the bus-free phase. I can do it. In this case, the target can start the arbitration phase when internal processing is completed, select an initiator in the reselection phase, and continue to send and receive commands, data, messages, and statuses. In addition, the initiator can simultaneously accept commands from a plurality of initiators by adding a queue tag message to the command transferred to the target.
[0065]
In conventional SCSI control LSIs 53C90A and 53C90B manufactured by NCR, for example, when waiting for access, all signals on the SCSI bus are always monitored by the receiver and checked by the sequencer, so that BSY / is negated and SEL The operation of the selection phase is performed by detecting that / is in the asserted state, taking the ID on the SCSI bus into the FIFO, and comparing it with its own ID in the sequencer. For this reason, the entire SCSI bus control circuit including the sequencer and the internal circuit is always operating even in the command waiting state from the initiator, and the power consumption increases.
[0066]
Now, the operation of this embodiment will be described. The CPU 1806 (FIG. 7) completes the execution of the commands given from the
[0067]
Further, as shown in FIGS. 10 and 12, the
[0068]
Next, when the SCSI bus enters the arbitration phase and enters the selection phase, BSY / 1201 goes high and SEL / 1205 goes low. Since the
[0069]
For example, if OWNID is set to “3”, the SDB3
[0070]
On the other hand, since the
[0071]
Thus, sleep
[0072]
The
[0073]
According to the first embodiment of the present invention described above in detail, the current consumption in the command waiting state can be minimized without impairing the responsiveness.
[0074]
Next, a third embodiment of the present invention will be described with reference to FIGS.
[0075]
Generally, since each SCSI bus uses a 48 mA sink open collector or open drain driver, as shown in FIG. 14, the signal lines of each SCSI bus may be a system with a scale where reflection is not a problem. , 220Ω and 330Ω termination resistors are required, and a current of 5V / 550Ω × 18 = 164 mA always flows through the termination resistors.
[0076]
Therefore, in this embodiment, as shown in FIG. 15, the SCSI
[0077]
The configuration of the SCSI
[0078]
Although the schematic configuration of the hard disk device shown in FIG. 7 is not particularly shown here, in this embodiment, the power
[0079]
Next, the operation of this embodiment will be described. In this embodiment, the
[0080]
For example, when connecting to a relatively large system in which the SCSI system shown in FIG. 16 is connected to 8 units, the
[0081]
Further, the user sets the
[0082]
Next, when incorporated in a relatively small system such as a notebook personal computer that does not care about reflection, a 48 mA sink driver is not necessary. Set 1603 to select the 24 mA sink driver. Further, the user sets the
[0083]
That is, since the SCSI control LSI of this embodiment has both a SCSI bus driver with a small pull-in current and a SCSI bus driver with 48 mA sink, in the case of a normal SCSI system, a SCSI bus driver with 48 mA sink is used. In the case of a small-scale SCSI system that does not care about reflection, the consumption current at the time of assertion of each terminal can be reduced by using a SCSI bus driver with a small pull-in current. Furthermore, when using a SCSI bus driver with a small pull-in current, by using a termination resistor according to the pull-in current, compared to using a termination resistor of 220Ω and 330Ω by using a 48mA sink SCSI bus driver, Since the resistance value of the termination resistor is large, in the case of a small-scale SCSI system that does not bother reflection, current consumption at the time of negating each terminal can be reduced.
[0084]
Furthermore, the SCSI system of this embodiment can switch between a SCSI bus driver with a small pull-in current and a SCSI bus driver with a 48 mA sink, and when using a SCSI bus driver with a small pull-in current, a termination resistor according to the pull-in current is connected. When using a 48mA sink SCSI bus driver, 220Ω and 330Ω termination resistors are connected, so that the most suitable SCSI bus driver can be selected according to the size of the system, and the current consumption is minimized. Can be.
[0085]
【The invention's effect】
According to the present invention, the power consumption of the peripheral device and the peripheral device control device can be reduced. In addition, it is possible to provide a peripheral control LSI that can reduce power consumption to the maximum while reducing the burden on an external processor or the like. Further, in the peripheral control device, it is possible to reduce the power consumption in a state waiting for a command from an external processor or the like and to maintain a good responsiveness. In particular, it is possible to easily reduce the current consumption of the SCSI system.
[Brief description of the drawings]
FIG. 1 is a circuit block diagram showing an embodiment of a peripheral control device according to the present invention;
2 is a circuit configuration diagram showing an example of a power
FIG. 3 is a block diagram showing an example of an information processing apparatus using the peripheral control device and peripheral control LSI of the present invention;
4 is a first timing chart for explaining the operation of the embodiment shown in FIG.
FIG. 5 is a second timing chart for explaining the operation of the embodiment shown in FIG.
FIG. 6 is a schematic configuration diagram for explaining the principle of a second embodiment in which the present invention is applied to a SCSI system;
FIG. 7 is a schematic configuration diagram when the SCSI system according to the second embodiment of the present invention shown in FIG. 6 is applied to a hard disk device;
8 is a circuit block diagram showing an example of the SCSI
9 is a circuit diagram showing an example of an
10 is a partial circuit diagram of an example of the
11 is a circuit diagram of an example of the
12 is a schematic circuit diagram of the
13 is a circuit diagram of an example of a
FIG. 14 is a circuit diagram for explaining a termination resistance of a SCSI bus to which the present invention is applied;
FIG. 15 is a circuit diagram showing an example of a SCSI bus in the third embodiment of the present invention;
FIG. 16 is a block diagram showing an example of a SCSI bus control circuit in the third embodiment of the present invention;
FIG. 17 is a state transition diagram in a SCSI system to which the second and third embodiments of the present invention are applied;
FIG. 18 is an explanatory diagram for explaining a schematic sequence of a SCSI protocol in a SCSI system to which the second and third embodiments of the present invention are applied;
FIG. 19 is another explanatory diagram for explaining a schematic sequence of the SCSI protocol in the SCSI system to which the second and third embodiments of the present invention are applied;
FIG. 20 is a schematic diagram showing an example of a hard disk device using a conventional AT bus.
[Explanation of symbols]
DESCRIPTION OF
Claims (5)
記憶媒体と、前記プロセッサから前記記録媒体へのアクセスを制御するためのコマンドを受け付けるコントローラとを具備し、
前記コントローラは、前記プロセッサからのコマンドに応じた処理を実行する活性化モードと、前記コントローラ内の一部の回路への内部クロックの供給を停止するスリープモードとを有し、
前記コントローラは、前記スリープモードの間に、前記バスを介して前記プロセッサからIDを受け付け、前記プロセッサから受け付けられたIDに応答して前記スリープモードを解除し、前記コントローラ内の一部の回路へ前記内部クロックの供給を開始し、
前記コントローラは、前記コマンドに応じた処理の終了に応答して前記コントローラ内の一部の回路への前記内部クロックの供給を停止する記憶装置。A storage device connected to a bus connected to a processor,
A storage medium, and a controller that receives a command for controlling access to the recording medium from the processor,
The controller has an activation mode for executing processing according to a command from the processor, and a sleep mode for stopping supply of an internal clock to some circuits in the controller,
The controller receives an ID from the processor via the bus during the sleep mode, cancels the sleep mode in response to the ID received from the processor, and transfers to some circuits in the controller. Start supplying the internal clock;
The storage device stops the supply of the internal clock to some circuits in the controller in response to the end of the processing according to the command.
前記コントローラは、前記プロセッサから受け付けられたIDと、前記レジスタに保持するIDとを比較し、両者のIDが一致した場合に、前記スリープモードを解除し、前記コントローラ内の一部の回路へ前記内部クロックの供給を開始する請求項1に記載の記憶装置。The controller includes a register for holding an ID,
The controller compares the ID received from the processor with the ID held in the register, and when the two IDs match, cancels the sleep mode and sends the circuit to some circuits in the controller. The storage device according to claim 1 , wherein supply of an internal clock is started.
前記コントローラ内の他部の回路は、前記バスを介して前記プロセッサからIDを受け付け、前記プロセッサから受け付けられたIDに応答して前記スリープモードを解除し、前記コントローラ内の一部の回路へ前記内部クロックの供給を開始する請求項1に記載の記憶装置。Some circuits in the controller can execute processing according to a command from the processor in the activation mode,
The other circuit in the controller receives the ID from the processor via the bus, cancels the sleep mode in response to the ID received from the processor, and sends the circuit to a part of the circuit in the controller. The storage device according to claim 1 , wherein supply of an internal clock is started.
前記コントローラ内の他部の回路は、前記コントローラ内の一部の回路からの前記終了信号に応答して前記コントローラ内の一部の回路への前記クロックの供給を停止する請求項4に記載の記憶装置。When a circuit corresponding to the command from the processor is completed, a part of the circuit in the controller transmits an end signal indicating the end of the process corresponding to the command to another circuit in the controller. ,
Circuit of the other portion of the front Symbol in controller according to claim 4 for stopping the supply of the clock to some circuit inside the controller in response to the termination signal from the portion of the circuit in said controller Storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002260766A JP3718192B2 (en) | 1990-11-22 | 2002-09-06 | Storage device |
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP31845090 | 1990-11-22 | ||
JP2-318450 | 1990-11-22 | ||
JP2-328903 | 1990-11-30 | ||
JP32890390 | 1990-11-30 | ||
JP2002260766A JP3718192B2 (en) | 1990-11-22 | 2002-09-06 | Storage device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP37049899A Division JP3401221B2 (en) | 1990-11-22 | 1999-12-27 | Storage device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005112508A Division JP2005209230A (en) | 1990-11-22 | 2005-04-08 | Storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003150284A JP2003150284A (en) | 2003-05-23 |
JP3718192B2 true JP3718192B2 (en) | 2005-11-16 |
Family
ID=27339656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002260766A Expired - Lifetime JP3718192B2 (en) | 1990-11-22 | 2002-09-06 | Storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3718192B2 (en) |
-
2002
- 2002-09-06 JP JP2002260766A patent/JP3718192B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2003150284A (en) | 2003-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3034362B2 (en) | Peripheral controller and SCSI bus controller | |
JP3526920B2 (en) | Computer system and system and method for controlling peripheral bus clock signals | |
US5625807A (en) | System and method for enabling and disabling a clock run function to control a peripheral bus clock signal | |
JP4685312B2 (en) | Data processing system and power saving method | |
US7155618B2 (en) | Low power system and method for a data processing system | |
US6725385B1 (en) | Intelligent electronic power controller | |
US6601178B1 (en) | System power management partitioned across a serial bus | |
US5590341A (en) | Method and apparatus for reducing power consumption in a computer system using ready delay | |
JP4070824B2 (en) | Computer system and interrupt control device | |
JP3633998B2 (en) | Computer system | |
US8296513B1 (en) | Standby disk spin up control in disk array system using expander device | |
US7254732B2 (en) | Method and apparatus of automatic power management control for serial ATA device directly attached to SAS/SATA host controller | |
CN1983121A (en) | Direct memory access controller with self-test mechanism and global clock gating method | |
US5812875A (en) | Apparatus using a state device and a latching circuit to generate an acknowledgement signal in close proximity to the request signal for enhancing input/output controller operations | |
JPH0661075B2 (en) | Data transfer method within the computer system | |
JPH07230347A (en) | Power-down device for scsi-disk-drive | |
JP3726116B2 (en) | Boot system for PCMCIA card | |
US6016549A (en) | Peripheral unit having at least two sequencer circuits configured to control data transfers for power saving | |
JP2004514211A (en) | Power management method and configuration for bus-coupled circuit blocks | |
JP3916650B2 (en) | Storage device | |
JP2606098B2 (en) | Floppy disk controller with standby function | |
CN107656708B (en) | Electronic device and control method thereof | |
JP3892887B2 (en) | Storage device | |
JP3718192B2 (en) | Storage device | |
JP2005209230A (en) | Storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20040309 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050120 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050208 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050408 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050823 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050901 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080909 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090909 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100909 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110909 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110909 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120909 Year of fee payment: 7 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120909 Year of fee payment: 7 |