JP4698479B2 - USB device and power supply control method - Google Patents
USB device and power supply control method Download PDFInfo
- Publication number
- JP4698479B2 JP4698479B2 JP2006138911A JP2006138911A JP4698479B2 JP 4698479 B2 JP4698479 B2 JP 4698479B2 JP 2006138911 A JP2006138911 A JP 2006138911A JP 2006138911 A JP2006138911 A JP 2006138911A JP 4698479 B2 JP4698479 B2 JP 4698479B2
- Authority
- JP
- Japan
- Prior art keywords
- usb device
- power
- usb
- master
- host computer
- 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 - Fee Related
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
本発明は、USBインタフェースを実装したデバイス(以下、「USBデバイス」と記す)を実装したUSB装置に関し、特に複数のUSBデバイスを実装しバスパワー給電タイプのUSB装置に対する給電制御に関する。 The present invention relates to a USB device on which a device (hereinafter referred to as “USB device”) mounted with a USB interface is mounted, and more particularly to power supply control for a USB device of a bus power supply type in which a plurality of USB devices are mounted.
パソコンと周辺機器を接続する標準的なインタフェース規格の一つとしてUSBが周知である。USBはシリアルバス規格であり、そのシリアルバスは2本の差動信号線(D+、D−),電源線(+5V)およびグランド線(GND)の4本により構成され、専用のUSBケーブルによって、ホストコンピュータとUSB装置が接続される。USBデバイスへの電源供給には、ホストコンピュータからUSBデバイスへ給電するバスパワー給電方法がよく利用される。 USB is well known as one of standard interface standards for connecting a personal computer and peripheral devices. USB is a serial bus standard, and the serial bus is composed of four differential signal lines (D +, D-), a power supply line (+5 V), and a ground line (GND). A host computer and a USB device are connected. For power supply to the USB device, a bus power supply method for supplying power from the host computer to the USB device is often used.
これまでは、単一機能を持たせ、USBデバイスを一つだけ実装するUSB装置が多かったが、複数のUSBデバイスが実装されたUSB装置も次々と開発されている。また、近年では、家庭内で常時起動の装置も増えている。例えば、家庭内サーバやNAS(Network Attached Storage)などである。これらの装置に接続されるUSB装置は、省電力化の必要性が重要視され、通常動作時の省電力化や、一時的に使用しないデバイスの動作を停止することで消費電力を低くする省電力機能を保持することを考慮に入れて開発されている。 Until now, many USB devices have a single function and mount only one USB device. However, USB devices on which a plurality of USB devices are mounted have been developed one after another. In recent years, the number of devices that are always activated in the home has increased. For example, a home server or NAS (Network Attached Storage). For USB devices connected to these devices, the necessity of power saving is regarded as important, and power saving during normal operation and power consumption can be reduced by stopping the operation of devices that are not used temporarily. It has been developed with consideration given to maintaining the power function.
図10は、従来のUSB装置の一例(文献公知発明に係るものではない)を示す。このUSB装置20は、2つのUSBデバイス21a,21bを実装し、USBデバイス21の外部に、USBコントローラ23およびCPU24を備えた電力管理部22を設けて、省電力状態への切替え機能を電力管理部22が管理するようにしている。
FIG. 10 shows an example of a conventional USB device (not related to a known literature invention). This
通常動作時には、ホストコンピュータ1からVBUSと電源スイッチ25を介して、USBデバイス21のUSBコントローラ7,CPU8およびETCデバイス9へ電力を供給している。ETCデバイス9とは、USBデバイス21の内でUSBコントローラ7とCPU8を除いた余の部分をいう。
During normal operation, power is supplied from the
USBデバイス21を消費電力状態へ切り替える場合は、ホストコンピュータ1から電力管理部22のUSBコントローラ23を経由しCPU24に、どのUSBデバイス21を省電力状態に切り替えたいかを伝える。CPU24は、その指示に従い、該当のUSBデバイス21、例えばUSBデバイス21aの電源供給スイッチ25aを制御し、USBデバイス21aへの電源供給を完全にシャットダウンする。
When switching the USB device 21 to the power consumption state, the
また、省電力状態からの復旧には、同様にホストコンピュータ1から電力管理部22へ復旧の通知をして動作状態へ復帰させる。この方法では、消費電力状態においては、電源スイッチ25を使用することによりUSBデバイス21への電源供給を完全にシャットダウンしているため、USBコントローラ7とCPU8は省電力状態から復旧するための動作に備えて電源が供給された状態である必要がなく、不必要な電力供給がなくなり省電力化効果が大きい。
Similarly, for recovery from the power saving state, the
また、ホスト機器からトランシーバに電源を供給し、複数のUSBデバイスを実装したUSB装置に対するバスパワー給電に関するものではないが、USBデバイスの内部で省電力化効果の増強を図ったものとして、従来技術の他の例(例えば、特許文献1参照)を簡略化し、かつトランシーバをUSB装置に置き換えて図11に示す。 Also, it is not related to bus power supply for USB devices that supply power to the transceiver from the host device and mount multiple USB devices. Another example (see, for example, Patent Document 1) is simplified and the transceiver is replaced with a USB device as shown in FIG.
このUSB装置30は、USBデバイス31のUSBコントローラ7,CPU8への電源供給の各箇所に、それぞれレギュレータ32、レギュレータ33を配備し、電源の供給を調整することによって、消費電力を低くするための対策を実現させている。レギュレータ32はUSBコントローラ7を動作させるための電源回路であり、レギュレータ33はCPU8動作させるための電源回路である。なお、主電源34はVBUS電圧やその他の電圧(図示省略)により定電圧を発生する電源回路である。
This
ホストコンピュータ1からの省電力状態への切り替え指示があった場合、USBコントローラ7は、そのことをCPU8へ通知すると共に、ホストコンピュータ1からの復帰信号を検出する機能と、復帰信号を検出したときにレギュレータ33をオンする機能のみを動作させ、残りの機能を全て停止する。CPU8は、USBコントローラ7から通知を受けると、レギュレータ32を省電力状態に設定する。レギュレータ32は、USBコントローラ7の上記機能を動作させるのに必要な電力量のみが発生できる程度に出力電流量を削減する。
When there is an instruction from the
続いて、CPU8は、レギュレータ33および主電源34をオフする。この結果、USBコントローラ7およびレギュレータ32以外の回路への電源電圧の供給が絶たれ、これらの飼いどの動作が停止する。
Subsequently, the CPU 8 turns off the
しかしながら、上述した第1の従来技術(図10)では、USB装置20に、各USBデバイス21の省電力化を管理するための電力管理部22が必要になるため、電力管理部22の動作をさせるための電力は常に必須になる。また、電力管理部22は、CPU8による制御を受けているため、別途CPU8のファームウェア等ソフトの開発コストが追加となってしまう。更に、ホストコンピュータ1との接続時に、電力管理部22用のドライバが必要になる。
However, in the first conventional technique (FIG. 10) described above, the
また、上述した第2の従来技術(図11)では、省電力状態の場合であっても、少なくともUSBコントローラ7には、常時、電源の供給がされているため、USB装置30に一つのUSBデバイス31のみを実装した場合はともかく、複数のUSBデバイスが実装された場合には、全てのUSBコントローラ7におけるトータルの電力は無視できない程度となる。
In the second prior art (FIG. 11) described above, even in the power saving state, at least the USB controller 7 is always supplied with power, so one
そこで、本発明の目的は、複数のUSBデバイスを実装しバスパワー給電タイプのUSB装置において、特別のソフトを必要とせずに、省電力状態時の消費電力を極力低くしたUSB装置および給電制御方法を提供することにある。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a USB device and a power supply control method in which a plurality of USB devices are mounted and the power consumption is reduced as much as possible without requiring special software in a bus power power supply type USB device. Is to provide.
本発明のUSB装置は、複数のUSBデバイス(図1の3a,3b)を実装しホストコンピュータ(図1の1)からUSBケーブルを経て電源が供給されるUSB装置(図1の2)において、各USBデバイスは、ホストコンピュータと当該USBデバイスの認識処理を実施認識後はホストコンピュータとの間でデータの送受信制御を行なうUSBコントローラ(図1の7)と、USBコントローラを経由したホストコンピュータからの指示に従い当該USBデバイスの制御を司るCPU(図1の8)と、当該USBデバイスの内でUSBコントローラおよびCPUを除いた余の回路部分であるETCデバイス(図1の9)と、ホストコンピュータからの電源をUSBコントローラのみに給電する第1電源スイッチ(図1の4)と、USBコントローラによりオンオフ制御されて第1電源スイッチを経たホストコンピュータからの電源をCPUのみに給電する第2電源スイッチ(図1の5)と、CPUによりオンオフ制御されて第2電源スイッチを経たホストコンピュータからの電源をETCデバイスのみに給電する第3電源スイッチ(図1の6)で構成し、各USBデバイスのCPUからオン/オフを制御されてホストコンピュータから供給される電源を取り込む制御部電源スイッチ(図1の11)と、各USBデバイスのCPUからデータを読み書きすることが可能であってUSBデバイス毎に起動優先順位,起動状態,起動間隔およびマスター権限が記録されている起動制御テーブル(図1の12)と、各USBデバイスのCPUから任意のUSBデバイスの第1電源スイッチに対して電源供給をオン/オフ制御する電源制御部(図1の13)を有する共通起動制御部(図1の10)を設けたことを特徴とする。 The USB device of the present invention is a USB device (2 in FIG. 1) in which a plurality of USB devices (3a, 3b in FIG. 1) are mounted and power is supplied from a host computer (1 in FIG. 1) via a USB cable. Each USB device performs recognition processing between the host computer and the USB device. After the recognition, the USB controller (7 in FIG. 1) that controls data transmission / reception between the host computer and the host computer via the USB controller. A CPU (8 in FIG. 1) that controls the USB device according to the instruction, an ETC device (9 in FIG. 1) that is the remaining circuit portion of the USB device excluding the USB controller and CPU, and a host computer A first power switch (4 in FIG. 1) for supplying power to the USB controller only, and a USB controller A second power switch (5 in FIG. 1) that supplies power only to the CPU from the host computer that has been turned on / off by the controller and passed through the first power switch, and a host computer that has been turned on / off by the CPU and passed through the second power switch Is a third power switch (6 in FIG. 1) that supplies power only to the ETC device, and is controlled by the CPU of each USB device to be turned on / off, and takes in power supplied from the host computer. (11 in FIG. 1) and an activation control table (FIG. 1) that can read and write data from the CPU of each USB device and records activation priority, activation status, activation interval, and master authority for each USB device. 1 of 12) and the power of the CPU of each USB device to the first power switch of any USB device A common start control unit (10 in FIG. 1) having a power control unit (13 in FIG. 1) for controlling on / off of the power supply is provided.
本発明の第1の給電制御方法は、上記USB装置とホストコンピュータの接続時における給電制御方法であって、USBデバイスの内の一つをマスターUSBデバイスとして当該第1電源スイッチをオンに初期設定する第1段階と、ホストコンピュータに接続されるとマスターUSBデバイスが起動制御テーブルを読み出す第2段階(図6のステップA1〜A3)と、優先順位の最も高く起動状態がオンであるUSBデバイスがマスターUSBデバイスであった場合は、ETCデバイスへ電源を供給しUSBコントローラはホストコンピュータと認識処理を開始する第3段階(ステップA4〜A6)と、優先順位の最も高く起動状態がオンであるUSBデバイスがマスターUSBデバイスでなかった場合は、起動優先順位が最も高く起動状態がオンであるUSBデバイスにマスター権限を委譲するために記録を書き替え電源制御部に対して新マスターUSBデバイスへの電源供給を指示する第4段階(ステップA1,A7)と、新マスターUSBデバイスにおいて第1電源スイッチをオン、旧マスターUSBデバイスにおいて第1電源スイッチをオフする第5段階(ステップA8,A9)と、新マスターUSBデバイスにおいて起動制御テーブルを読み出す第6段階(ステップA10〜A12)と、自身が優先順位の最も高く起動状態がオンであるUSBデバイスを確認の上、当該ETCデバイスへの電源供給をすると共に、ホストコンピュータと認識処理を開始し自身がマスターUSBデバイスであることをホストコンピュータに報告する第7段階(ステップA13〜A16)と、第7段階において自身が優先順位の最も高く起動状態がオンであるUSBデバイスに該当しない場合は、起動状態がオンの全USBデバイスの起動が完了したことを確認の上で制御部電源スイッチをオフにする第8段階(ステップA18,A19)と、第3段階ないしは第7段階の後で、または第8段階において全USBデバイスの起動が完了していない場合は、マスターUSBデバイスは、次の優先順位の最も高く起動状態がオンであるUSBデバイスを新マスターUSBデバイスとして第5段階へ戻る第9段階(ステップA17)を有することを特徴とする。 A first power supply control method according to the present invention is a power supply control method when the USB device is connected to a host computer. One of the USB devices is set as a master USB device, and the first power switch is initially set to ON. The second stage (steps A1 to A3 in FIG. 6) in which the master USB device reads the activation control table when connected to the host computer, and the USB device with the highest priority and the activated state is turned on. If it is a master USB device, the USB controller supplies power to the ETC device and the USB controller starts recognition processing with the host computer (steps A4 to A6), and the USB that has the highest priority and the activation state is on. If the device is not a master USB device, it has the highest boot priority and the boot state is on. The fourth stage (steps A1 and A7) of instructing the power supply control unit to supply power to the new master USB device to transfer the master authority to the USB device, and the first power supply in the new master USB device The fifth stage (steps A8 and A9) in which the switch is turned on and the first power switch is turned off in the old master USB device, and the sixth stage (steps A10 to A12) in which the startup control table is read in the new master USB device. After confirming the USB device with the highest priority and the activated state is on, power is supplied to the ETC device, and the host computer starts recognition processing and reports to the host computer that it is the master USB device. a seventh step of (step A13~A16), most own priority in the seventh step In the eighth stage (steps A18 and A19), if the USB device in which the activation state is on is not applicable, the control unit power switch is turned off after confirming that the activation of all the USB devices in the activation state is on is completed. ) And after the third or seventh stage, or when all USB devices have not been activated in the eighth stage, the master USB device has the next highest priority and the activated state is on. It has a ninth stage (step A17) in which the USB device is set as a new master USB device and the process returns to the fifth stage .
より具体的には、上記第5段階において、旧マスターUSBデバイスの第1電源スイッチをオフすることによりオフされた制御部電源スイッチは、新マスターUSBデバイスの第1電源スイッチをオンすることによりオンされる。 More specifically, in the fifth stage, the control unit power switch turned off by turning off the first power switch of the old master USB device is turned on by turning on the first power switch of the new master USB device. Is done.
本発明の第2の給電制御方法は、上記USB装置の省電力状態への移行時における給電制御方法であって、ホストコンピュータからマスターUSBデバイスに対して任意のUSBデバイスを省電力状態へ移行させるための指示を行なう第1段階(図7のステップB1)と、省電力状態への移行対象のUSBデバイスがマスターUSBデバイス以外であった場合、マスターUSBデバイスのCPUは電源制御部に対し当該USBデバイスへの電源供給を停止する指示を出す第2段階(ステップB2,B3)と、省電力状態への移行対象のUSBデバイスがマスターUSBデバイスであった場合、マスターUSBデバイスのCPUは、マスターの権限を自身以外の優先順位の最も高く起動状態がオンであるUSBデバイスへ委譲させるため、起動制御テーブルのマスターのパラメータをマスターUSBデバイスから委譲先のUSBデバイスへ書き換える第3段階(ステップB4)と、マスターUSBデバイスは、自身の起動状態をオフへ書き替えてホストコンピュータへマスターが移行したことを報告する第4段階(ステップB5,B6)と、マスターであったUSBデバイスは、自分に対する電源供給を停止するため電源制御部に電源供給停止指示を出し電源制御部は当該第1電源スイッチをオフにする第5段階(ステップB7)を有することを特徴とする。 A second power supply control method according to the present invention is a power supply control method at the time of transition of the USB device to a power saving state, in which an arbitrary USB device is shifted from the host computer to the master USB device to the power saving state. And when the USB device to be shifted to the power saving state is other than the master USB device, the CPU of the master USB device sends the USB to the power control unit. In the second stage (steps B2 and B3) for issuing an instruction to stop power supply to the device, and when the USB device to be shifted to the power saving state is a master USB device, the CPU of the master USB device In order to transfer the authority to the USB device with the highest priority other than itself and the activation state being on, the activation control table The third step (step B4) in which the master USB device is rewritten from the master USB device to the delegation destination USB device, and the master USB device rewrites its startup state to OFF and indicates that the master has transferred to the host computer. The fourth stage (steps B5 and B6) to be reported and the master USB device issue a power supply stop instruction to the power supply control unit to stop power supply to itself, and the power supply control unit turns off the first power switch. It is characterized by having a fifth stage (step B7).
本発明の第3の給電制御方法は、上記USB装置の省電力状態からの復旧時における給電制御方法であって、ホストコンピュータからマスターUSBデバイスに対して任意のUSBデバイスを省電力状態から復旧させるための指示を行なう第1段階(図8のステップC1)と、復旧対象が一つの場合、マスターUSBデバイスは電源制御部へ当該USBデバイスに対する電源供給指示を出し同時に起動制御テーブルに当該USBデバイスの起動状態をオンに書き替える第2段階(ステップC2〜C4)と、当該USBデバイスにおいて第1電源スイッチ〜第3電源スイッチがオンしETCデバイスへの電源供給をすると共にホストコンピュータと認識処理を開始しUSBデバイスとしての動作を開始する第3段階(ステップC5〜C7)と、復旧対象が複数の場合、マスターUSBデバイスは起動制御テーブルの読出し処理を行い、復旧対象のUSBデバイスの内で優先順位の最も高いUSBデバイスから順次に電源制御部へ電源供給指示を出し同時に起動制御テーブルに当該USBデバイスの起動状態をオンに書き替える第4段階(ステップC2,C8〜C9)と、当該USBデバイスにおいて第1電源スイッチ〜第3電源スイッチがオンしETCデバイスへの電源供給をすると共にホストコンピュータと認識処理を開始しUSBデバイスとしての動作を開始する第5段階(ステップC6)を有することを特徴とする。 A third power supply control method according to the present invention is a power supply control method at the time of recovery from the power saving state of the USB device, and recovers an arbitrary USB device from the power saving state from the host computer to the master USB device. In the first stage (step C1 in FIG. 8) for giving an instruction for the recovery, and when there is one recovery target, the master USB device issues a power supply instruction to the USB device to the power supply control unit, and at the same time, the USB control device The second stage (steps C2 to C4) in which the activation state is turned on, and the first power switch to the third power switch are turned on in the USB device to supply power to the ETC device and start recognition processing with the host computer. The third stage (steps C5 to C7) for starting the operation as a USB device, and multiple recovery targets In this case, the master USB device reads the activation control table, issues a power supply instruction to the power control unit sequentially from the USB device with the highest priority among the USB devices to be restored, and simultaneously stores the USB in the activation control table. In the fourth stage (steps C2, C8 to C9) of rewriting the activation state of the device to ON, the first power switch to the third power switch are turned on in the USB device to supply power to the ETC device and the host computer. It has a fifth stage (step C6) in which recognition processing is started and operation as a USB device is started.
本発明の第4の給電制御方法は、上記USB装置の全USBデバイス省電力化時における給電制御方法であって、ホストコンピュータからマスターUSBデバイスに対して、現在起動しているUSBデバイスの全てを省電力状態へ移行するための指示を行なう第1段階(図9のステップD1)と、マスターUSBデバイスのCPUは電源制御部に対し自分以外のUSBデバイスへの電源供給を停止する指示を出す第2段階(ステップD2)と、CPUは当該第3電源スイッチをオフし同時にホストコンピュータへ全てのUSBデバイスの起動が停止することを報告する第3段階(ステップD3)と、CPUは当該第2電源スイッチをオフにしする第4段階(ステップD4)を有することを特徴とする A fourth power supply control method according to the present invention is a power supply control method when all the USB devices of the USB device are in power saving mode. All the USB devices that are currently activated from the host computer to the master USB device are controlled. In the first stage (step D1 in FIG. 9) for giving an instruction to shift to the power saving state, the CPU of the master USB device issues an instruction to stop the power supply to the USB device other than itself to the power control unit. In step 2 (step D2), the CPU turns off the third power switch and simultaneously reports to the host computer that all USB devices have stopped starting. In step 3 (step D3), the CPU Characterized by having a fourth stage (step D4) for switching off
本発明によれば、以下のようにしてUSB装置の消費電力を極力小さくする効果が得られる。しかも、USBデバイスのCPUは、給電制御に関しては電源スイッチのオンオフ制御と起動制御テーブルの読み書きを行なうだけであるため特別のソフトを必要としない。 According to the present invention, an effect of minimizing the power consumption of the USB device can be obtained as follows. Moreover, the CPU of the USB device does not require special software for power supply control because it only performs on / off control of the power switch and reading / writing of the activation control table.
1.起動状態を管理するマスターUSBデバイスが固定されておらず、マスターUSBデバイスを省電力状態にしたい場合でも、他の起動しているUSBデバイスにマスター権限を移行させることができるため、マスターのUSBコントローラやCPUを常時起動しておく必要がない。 1. Even if the master USB device that manages the startup state is not fixed and you want to put the master USB device in the power saving state, the master authority can be transferred to another active USB device. There is no need to keep the CPU running at all times.
2.全てのUSBデバイスが省電力状態にある場合は、マスターUSBデバイスのUSBコントローラ以外は、各種デバイスへの電源接続そのものが切断されるため、完全な電力供給停止状態である。 2. When all the USB devices are in the power saving state, the power supply connection to the various devices other than the USB controller of the master USB device is cut off, so that the power supply is completely stopped.
3.一つ以上のUSBデバイスが起動状態の場合は、起動状態のUSBデバイスの中からマスターUSBデバイスの権限を与え、省電力の管理を実施するため、起動USBデバイス以外のUSBデバイスは、各種デバイスへの電源接続そのものが切断されるので、完全な電力供給停止状態であり、消費電力を最小にすることを可能にする。 3. When one or more USB devices are in the activated state, the USB device other than the activated USB device is transferred to various devices in order to grant the authority of the master USB device from the activated USB devices and perform power saving management. Since the power supply connection itself is disconnected, the power supply is completely stopped and the power consumption can be minimized.
4.共通起動制御部を使用する場合は、適時電源供給をオンし、使用後電源供給を停止することによって、USBデバイスの省電力状態に関わらず、必要時以外の各種デバイスへの電源接続そのものが切断されるため、完全な電力供給停止状態となる。 4). When using the common activation control unit, the power supply connection to various devices other than when necessary is cut off regardless of the power saving state of the USB device by turning on the power supply in a timely manner and stopping the power supply after use. Therefore, the power supply is completely stopped.
以下、本発明の実施の形態について図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[構成の説明]
本発明の実施の形態について図面を参照して詳細に説明する。図1は、本発明のUSB装置の一実施例を示すブロック図である。図1において、ホストコンピュータ1とUSB装置2はUSBケーブルで接続されており、太線がUSBインタフェースの電源ラインを示す。すなわち、USB装置2は、ホストコンピュータ1からUSBケーブルを介してバスパワー給電される。
[Description of configuration]
Embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a USB device of the present invention. In FIG. 1, a
USB装置2は、2つのUSBデバイス3a,3bと、USBデバイス3a,3bに対する共通起動制御部10から構成される。USB装置2がホストコンピュータ1に接続されると、ホストコンピュータ1とUSB装置2内の各USBデバイス3とでUSBデバイス3の認識処理が実施され、完了後にホストコンピュータ1が各USBデバイス3に対し制御できるようになる。
The
USBデバイス3は、各々が独立したUSBデバイスであり、ホストコンピュータ1と直接接続することによって、動作させることもできる。USBデバイス3の具体例としては、ハードディスク,フラッシュメモリ,モデム,LANアダプタ等がある。また、USBデバイス3は、USBコントローラ7,CPU8,3つの電源スイッチ4〜6およびETCデバイス9から構成される。
Each
USBコントローラ7は、USBのインタフェースを制御する一般的なUSBコントローラチップである。USBコントローラ7は、ホストコンピュータ1にUSBケーブルに接続されることによって、ホストコンピュータ1との認識処理を実施し、認識後はホストコンピュータ1との間でデータの送受信の制御が可能となる。
The USB controller 7 is a general USB controller chip that controls a USB interface. The USB controller 7 performs recognition processing with the
CPU7は、USBコントローラ7を経由した、ホストコンピュータ1からの指示に従いUSBデバイス3の制御を司る。ETCデバイス9は、USBデバイス3の内でUSBコントローラ7,CPU8および電源スイッチ4〜6を除いた余の回路部分をいう。例えば、ハードディスク部分であり、フラッシュメモリ部分である。
The CPU 7 controls the
電源スイッチ4は、USBデバイス3の電源の入力部に第1の電源スイッチとして実装され、ホストコンピュータ1からUSBケーブルを経て供給される電源をUSBコントローラ7と電源スイッチ5に給電する。この電源スイッチ4への電源供給のオン/オフのスイッチング制御は、共通起動制御部10の電源制御部13によって行なわれる。
The
電源スイッチ5は、USBコントローラ7とCPU8の間に第2の電源スイッチとして実装され、電源スイッチ4から給電される電源をCPU8と電源スイッチ6に給電する。この電源スイッチ5への電源供給のオン/オフのスイッチング制御はUSBコントローラ7によって行なわれる。
The
電源スイッチ6は、CPU8とETCデバイス9の間に第3の電源スイッチとして実装され、電源スイッチ5から給電される電源をETCデバイス9に給電する。この電源スイッチ6への電源供給のオン/オフのスイッチング制御はCPU8によって行なわれる。
The
共通起動制御部10は、制御部電源スイッチ11,起動制御テーブル12および電源制御部13から構成される。起動制御テーブル12は、各USBデバイス3のCPUバスと接続され、共通CPUバスにて、各CPU8からデータを読み書きすることが可能なメモリである。メモリは、不揮発性であって、電源が供給されていない場合でも、書き込まれたデータが消去されることはない。メモリ内には、USBデバイス3毎に、起動優先順位,起動状態,起動間隔およびマスター権限がテーブルとして記録されている。起動状態とは、ホストコンピュータとの最初の接続時など最初にUSB装置に電源が供給された時の各USBデバイスの起動する/しないの区別をいう。なお、起動制御テーブル12の内容は、常時、ホストコンピュータ1からマスターUSBデバイス経由で書き換えることは可能であるため、起動制御を簡単に変更できる。
The common
起動制御テーブル12は、全てのUSBデバイスから共通に使用でき、不揮発性のメモリによるテーブルを保持しているため、ホストコンピュータ1に起動情報を保存しておく必要がない。このことは、ホストコンピュータ1を変更したとしても、同条件で起動制御がされることを可能としている。
Since the activation control table 12 can be used in common by all USB devices and holds a table with a nonvolatile memory, it is not necessary to store activation information in the
また、起動制御テーブル12において、起動間隔のパラメータをUSBデバイス毎に用意しているため、各USBデバイスの起動動作を重複させることがなく、かつホストコンピュータとの認識処理においても複数のUSBデバイスがホストコンピュータと同時に認識処理されることはない。 In addition, since the activation control parameter is prepared for each USB device in the activation control table 12, the activation operation of each USB device is not duplicated and a plurality of USB devices are also recognized in the recognition process with the host computer. Recognition processing is not performed simultaneously with the host computer.
電源制御部13は、各USBデバイス3のCPU8から、任意のUSBデバイス3の電源スイッチ4に対して、電源供給をオン/オフの制御をすることを可能にする。また、最初の起動用として、USB装置2がホストコンピュータ1に接続された時は、初期設定として、USBデバイス3aをマスターとし、USBデバイス3aの電源スイッチ4aに対して電源オンの状態にする。また、全ての電源スイッチ4が電源オフにはならないよう制限する機能がある。
The
制御部電源スイッチ11は、ホストコンピュータ1からUSBケーブルを経て供給される電源を共通起動制御部10へは給電するための電源スイッチであり、各USBデバイス3のCPU8からオン/オフ制御することが可能である。
The control unit power switch 11 is a power switch for supplying the power supplied from the
[動作の説明]
以上のように構成された本 の実施の形態の動作について説明する。
[Description of operation]
The operation of the embodiment configured as described above will be described.
(1)USB装置2とホストコンピュータ1の接続時
USB装置2とホストコンピュータ1が接続された場合について、図2および図3に示す起動制御テーブル12の内容例と、図6に示すフローチャートを参照して説明する。起動制御テーブル12は、図2に示すような初期状態で保存されているとし、デバイスNo1はUSBデバイス3a、デバイスNo2はUSBデバイス3b、デバイスNo3はUSBデバイス3c、デバイスNo4はUSBデバイス3d、デバイスNo5はUSBデバイス3e、デバイスNo6はUSBデバイス3fと対応させる。
(1) When the
なお、図2〜図5は、図1のようにUSBデバイス3が2つしかない場合は、起動優先順位の遷移等を説明し難いことから、USBデバイス3を6つとして設けたものである。ここでの説明は、図1をベースに進めるが、適時に図2〜図5を参照して説明する。
2 to 5 are provided with six
USB装置2をホストコンピュータ1と接続すると、初回の接続であるので、USBデバイス3aの電源スイッチ4aがオンとなっており、ホストコンピュータ1からの電源はUSBコントローラ7aに供給される。USBコントローラ7aは起動後、電源スイッチ5aをオンにし(図6のステップA1)、CPU8aへの電源を供給させる。CPU8aは、起動後に共通起動制御部10の制御部電源スイッチ11をオンにし(ステップA2)、共通起動制御部10を起動した後、起動制御テーブル12の読出し処理を行う(ステップA3)。
When the
CPU8aは、起動制御テーブル12を参照し、優先順位の最も高く起動状態がオンであるUSBデバイス3を確認する(ステップA4)。図2のように、優先順位の最も高く起動状態がオンであるUSBデバイス3が、マスターであるUSBデバイス3aであった場合、すなわち自分自身であった場合は、自身のUSBデバイスの電源スイッチ6aをオンにし(ステップA5)、ETCデバイス9aへ電源を供給する。そして、USBコントローラ7aはホストコンピュータ1と認識処理を開始する(ステップA6)。
The
一方、起動制御テーブル12を参照し、図3の例のように、起動優先順位が最も高く起動状態がオンであるUSBデバイス3が自身以外のデバイスNo2であるUSBデバイス3bである場合、CPU8aは、USBデバイス3bにマスター権限を移行させるため、起動制御テーブル12のデバイスNo2にマスターのパラメータの付加をする(ステップA7)。このように、マスターのパラメータが付加されたUSBデバイス3をマスターUSBデバイスという。
On the other hand, referring to the activation control table 12, as shown in the example of FIG. 3, when the
次に、マスターUSBデバイス3bに対する電源を供給するため、CPU8aは、電源制御部13に対し、新しいマスターUSBデバイス3bへの電源供給指示を出す。電源制御部13は電源スイッチ4bをオンにして(ステップA8)マスターUSBデバイス3bの起動を開始させる。その後、自身のUSBデバイス3aに対する電源供給を止めるため、CPU8aは電源制御部13に電源供給停止指示を出す。電源制御部13は電源スイッチ4aをオフにして(ステップA9)USBデバイス3aの動作は停止する。このとき、USBデバイス3aは、CPU8aが共通起動制御部10の制御電源スイッチ11をオンにしていた状態も停止するため、共通起動制御部10も同時に起動を停止する。
Next, in order to supply power to the
マスターUSBデバイス3bは、電源スイッチ4bがオンになることから、USBコントローラ7bが起動し、電源スイッチ5bをオンにし(ステップA10)、CPU8bへの電源を供給させる。CPU8bは起動後、共通起動制御部10の制御部電源スイッチ11をオンにして(ステップA11)、共通起動制御部10を起動した後、起動制御テーブル12の読出し処理を行う(ステップA12)。
Since the
CPU8bは、起動制御テーブル12を参照し、優先順位の最も高く起動状態がオンであるUSBデバイス3を確認する(ステップA13)。この場合は、自身のUSBデバイス3bが該当する筈なので、電源スイッチ6bをオンにし(ステップA14)、ETCデバイス9bへの電源供給をすると共に、ホストコンピュータ1と認識処理を開始する(ステップA15)。この時、同時に自分自身がマスターUSBデバイス3であることをホストコンピュータ1に報告する(ステップA16)。以上はマスターUSBデバイスにおける処理である。
The
ステップA6またはステップA16の後に、マスターUSBデバイスは、起動制御テーブル12を読み出して、次の優先順位の最も高く起動状態がオンであるUSBデバイス3を確認し(ステップA17)、そのUSBデバイス3(第2USBデバイスと称し、図3の例ではデバイスNo4のUSBデバイス3dが該当する)に対し、電源制御部13への電源供給指示を出す(ステップA8)。ここからステップA13までが繰り返される。但し、上記説明でのマスターUSBデバイスは第2USBデバイスに読み替えされたい。
After step A6 or step A16, the master USB device reads the activation control table 12, confirms the
ステップA13において、今回は自身のUSBデバイス3bが該当優先順位の最も高く起動状態がオンであるUSBデバイス3に該当しないので、全ての起動するべきUSBデバイス3の起動が完了したかを確認し(ステップA18)、完了なら制御部電源スイッチ11をオフにし(ステップA19)、共通起動制御部10の電源供給を停止する。
In step A13, this time, the
一方、未完ならステップA17へ戻る。この時、各USBデバイス3を起動させる間隔は、起動制御テーブル12に保存されている起動間隔以上となるよう制御する。例えば、図3〜図5では、USBデバイス3bの起動間隔は10secである。マスターUSBデバイス3bへの起動指示を出してから、10secの時間を経過させた後に新マスターUSBデバイス3dの起動指示を実施する。
On the other hand, if incomplete, the process returns to step A17. At this time, the activation interval of each
このように、共通起動制御部10を使用する場合は、適時に電源供給をオンし、使用後は電源供給を停止させる。また、マスターUSBデバイス3bによって、起動指示がされた(電源制御部13へ電源供給指示が出された)第2USBデバイス3d等のマスターではないUSBデバイス3は、電源スイッチ4がオンになった後、USBコントローラ7が起動し、電源スイッチ5をオンにしCPU8への電源を供給させる。
Thus, when using the common
CPU8は起動後、起動制御テーブル部12へ起動制御テーブル12の読出し処理を行い、自分がマスターであるかどうかを確認する。ここで、マスターでないことを確認した後、電源スイッチ6をオンにし、ETCデバイス9への電源供給をすると共に、ホストコンピュータ1と認識処理を開始し、USBデバイスとしての動作が開始される。
After the activation, the CPU 8 reads the activation control table 12 to the activation control table unit 12 and confirms whether or not it is the master. Here, after confirming that it is not the master, the
(2)省電力状態への移行時
次に、省電力状態への移行時について、図3および図4に示す起動制御テーブル12の内容例と、図7に示すフローチャートを参照して説明する。省電力状態への移行時は、ホストコンピュータ1からマスターUSBデバイスに対して、任意のUSBデバイス3を省電力状態へ移行させるための指示がされる(図7のステップB1)。
(2) Transition to Power Saving State Next, transition to the power saving state will be described with reference to a content example of the activation control table 12 shown in FIGS. 3 and 4 and a flowchart shown in FIG. At the time of shifting to the power saving state, the
省電力状態への移行対象のUSBデバイスがマスターUSBデバイス以外であった場合は(ステップB2)、マスターUSBデバイスのCPUは、電源制御部12に対し当該USBデバイスへの電源供給を停止する指示を出す(ステップB3)。この動作により、当該USBデバイスはホストコンピュータからの電源供給が完全に遮断された省電力状態へ移行される。 When the USB device to be shifted to the power saving state is other than the master USB device (step B2), the CPU of the master USB device instructs the power supply control unit 12 to stop the power supply to the USB device. (Step B3). With this operation, the USB device is shifted to a power saving state in which power supply from the host computer is completely cut off.
一方、省電力状態への移行対象のUSBデバイス3がマスターUSBデバイスであった場合(ステップB2)、マスターUSBデバイスのCPUは、マスターの権限を自身以外の優先順位の最も高く起動状態がオンであるUSBデバイス3へ委譲させるため、起動制御テーブル12のマスターのパラメータをマスターUSBデバイスから委譲先のUSBデバイスへ書き換える(ステップB4)。図3の例で、省電力状態への移行対象のUSBデバイス3が3bである場合、デバイスNo4のUSBデバイス3dにマスターの権限が委譲される。
On the other hand, when the
また、図3におけるマスターUSBデバイス3bは、図4に示すように、自身の起動状態をオフへ書き替える(ステップB5)。そして、ホストコンピュータ1へマスターが第2USBデバイスへ移行したことを報告する(ステップB6)。その後、マスターであったUSBデバイス3b(元USBデバイスという)は、自分に対する電源供給を停止するため、電源制御部13に電源供給停止指示を出す。
Further, as shown in FIG. 4, the
電源制御部13は電源スイッチ4bをオフにし(ステップB7)、この結果、元USBデバイス3bはホストコンピュータ1からの電源供給が完全に遮断された省電力状態となる。これらの一連動作により、第2USBデバイス3dが、マスターUSBデバイスに切り替わり、元マスターUSBデバイス3bは電力を全く消費しない省電力状態へ移行する。
The
(3)省電力状態からの復旧時
次に、省電力状態から復旧する場合について、図4および図5に示す起動制御テーブル12の内容例と、図8に示すフローチャートを参照して説明する。省電力状態への移行時は、ホストコンピュータ1からマスターUSBデバイスに対して、任意のUSBデバイス3を指定して省電力状態からの復旧の指示がされる(図8のステップC1)。また、この場合、一つのUSBデバイス3だけではなく、複数のUSBデバイス3を対象に復旧の指示がされることもある。
(3) Restoration from the power saving state Next, the case of restoration from the power saving state will be described with reference to a content example of the activation control table 12 shown in FIGS. 4 and 5 and a flowchart shown in FIG. At the time of transition to the power saving state, the
復旧対象が一つ、例えば、図4で復旧対象がUSBデバイス3bの場合は(ステップC2)、マスターUSBデバイス3dは、電源制御部13へUSBデバイス3bに対する電源供給指示を出す。同時に起動制御テーブル12にUSBデバイス3bの起動状態をオンに書き替える(ステップC3)。書き替え後の起動制御テーブル12の内容は図5となる。
If there is one restoration target, for example, the restoration target is the
その後、USBデバイス3bは、電源スイッチ4bがオンになった後、USBコントローラ7bが起動し、電源スイッチ5bをオンにし、CPU8bへの電源を供給させる。CPU8bは起動後、起動制御テーブル部12へ起動制御テーブル(図3)の読み出し処理を行い(ステップC4)、自分がマスターであるかどうかを確認する(ステップC5)。ここで、マスターでないことを確認した後、電源スイッチ6bをオンにし、ETCデバイス9bへの電源供給をすると共に、ホストコンピュータ1と認識処理を開始し、USBデバイスとしての動作が開始される(ステップC6)。なお、マスターは起動状態にあるため、復旧対象がマスターであればエラーとなる(ステップC7)。
Thereafter, after the
また、復旧対象が複数、例えば、図4で復旧対象がUSBデバイス3bおよび3eの場合は(ステップC2)、マスターUSBデバイス3dは、起動制御テーブル12の読出し処理を行い、復旧対象のUSBデバイスの内、優先順位の最も高いUSBデバイス(この例では、USBデバイス3b)を確認する(ステップC8)。そして、最初に優先順位の高いUSBデバイス3b、次にUSBデバイス3eの順番で、電源制御部13へ電源供給指示を出す(ステップC9)。同時に起動制御テーブル12に当該USBデバイスの起動状態をオンに書き替え(ステップC10)、この後にステップC6へ移る。
Further, when there are a plurality of recovery targets, for example, when the recovery targets are the
この時、各USBデバイス3を起動させる間隔は、起動制御テーブル12に保存されている起動間隔以上となるよう制御する。また、マスターが自分よりも、優先順位の高いUSBデバイスを省電力状態から復旧させる場合でも、マスター権限は継続とする。この例では、USBデバイス3bが起動しても、USBデバイス3dからUSBデバイス3bへのマスターの権限の移行は行われない。
At this time, the activation interval of each
(4)全USBデバイスの省電力化
次に、全てのUSBデバイス3に対して省電力の指示がされた場合について、図3に示す起動制御テーブル12の内容例と、図9に示すフローチャートを参照して説明する。
(4) Power Saving of All USB Devices Next, the example of the contents of the activation control table 12 shown in FIG. 3 and the flowchart shown in FIG. 9 when power saving instructions are issued to all
ホストコンピュータ1からマスターUSBデバイス3bに対して、現在起動しているUSBデバイスの全てを省電力状態へ移行する指示がされる(図9のステップD1)。マスターUSBデバイス3bのCPU8bは、電源制御部13に対し、自分以外のUSBデバイス3(USBデバイス3a,3c〜3f)への電源供給を停止する指示を出す(ステップD2)。この時の順番は特に規定しない。次に、CPU8bは電源スイッチ6bをオフにする。同時に、ホストコンピュータ1へ全てのUSBデバイス3a〜3fの起動が停止することを報告する(ステップD3)。
The
その後、電源スイッチ5bをオフにする(ステップD4)。この結果、電源スイッチはマスターUSBデバイス3bの電源スイッチ4bのみがオンになった状態になる。この状態は、USB装置2全体としてみた場合でも、マスターのUSBデバイス3bのUSBコントローラ7bのみに電源が供給された状態であることから、必要最低限のレベルの省電力状態であると言える。
Thereafter, the power switch 5b is turned off (step D4). As a result, only the
また、この状態から復旧する場合は、最初にUSB装置とホストコンピュータ1が接続された場合(1)と同様の制御で起動される。
Further, when recovering from this state, the USB device and the
1 ホストコンピュータ
2 USB装置
3 USBデバイス
4〜6 電源スイッチ
7 USBコントローラ
8 CPU
9 ETCデバイス
10 共通起動制御部
11 制御部電源スイッチ
12 起動制御テーブル
13 電源制御部
1
9 ETC devices
10 Common start control unit
11 Control unit power switch
12 Startup control table
13 Power control unit
Claims (6)
前記各USBデバイスは、
前記ホストコンピュータと当該USBデバイスの認識処理を実施し認識後は前記ホストコンピュータとの間でデータの送受信制御を行なうUSBコントローラと、
前記USBコントローラを経由した前記ホストコンピュータからの指示に従い当該USBデバイスの制御を司るCPUと、
当該USBデバイスの内で前記USBコントローラおよび前記CPUを除いた余の回路部分であるETCデバイスと、
前記ホストコンピュータからの電源を前記USBコントローラのみに給電する第1電源スイッチと、
前記USBコントローラによりオンオフ制御されて前記第1電源スイッチを経た前記ホストコンピュータからの電源を前記CPUのみに給電する第2電源スイッチと、
前記CPUによりオンオフ制御されて前記第2電源スイッチを経た前記ホストコンピュータからの電源を前記ETCデバイスのみに給電する第3電源スイッチで構成し、
前記各USBデバイスのCPUからオン/オフを制御されて前記ホストコンピュータから供給される電源を取り込む制御部電源スイッチと、
前記各USBデバイスのCPUからデータを読み書きすることが可能であって前記USBデバイス毎に起動優先順位,起動状態,起動間隔およびマスター権限が記録されている起動制御テーブルと、
前記各USBデバイスのCPUから任意の前記USBデバイスの第1電源スイッチに対して電源供給をオン/オフ制御する電源制御部を有する共通起動制御部を設けたことを特徴とするUSB装置。 In a USB device in which a plurality of USB devices are mounted and power is supplied from a host computer via a USB cable,
Each USB device is
A USB controller that performs recognition processing of the host computer and the USB device and performs data transmission / reception control between the host computer and the host computer after recognition;
A CPU for controlling the USB device in accordance with an instruction from the host computer via the USB controller;
Among the USB devices, an ETC device which is a surplus circuit part excluding the USB controller and the CPU;
A first power switch for supplying power only from the host computer to the USB controller;
A second power switch that is on / off controlled by the USB controller and that supplies power from the host computer via the first power switch only to the CPU;
A third power switch configured to supply power only to the ETC device with power from the host computer that is on / off controlled by the CPU and passed through the second power switch;
A control unit power switch that is turned on / off from the CPU of each USB device and takes in power supplied from the host computer;
An activation control table capable of reading and writing data from the CPU of each USB device and recording the activation priority, activation state, activation interval and master authority for each USB device;
A USB device, comprising: a common activation control unit having a power control unit that performs on / off control of power supply from a CPU of each USB device to a first power switch of any USB device.
前記USBデバイスの内の一つをマスターUSBデバイスとして当該第1電源スイッチをオンに初期設定する第1段階と、
前記ホストコンピュータに接続されると前記マスターUSBデバイスが前記起動制御テーブルを読み出す第2段階と、
優先順位の最も高く起動状態がオンであるUSBデバイスがマスターUSBデバイスであった場合は、前記ETCデバイスへ電源を供給し前記USBコントローラは前記ホストコンピュータと認識処理を開始する第3段階と、
優先順位の最も高く起動状態がオンであるUSBデバイスがマスターUSBデバイスでなかった場合は、起動優先順位が最も高く起動状態がオンであるUSBデバイスに前記マスター権限を委譲するために前記記録を書き替え前記電源制御部に対して新マスターUSBデバイスへの電源供給を指示する第4段階と、
前記新マスターUSBデバイスにおいて第1電源スイッチをオン、前記旧マスターUSBデバイスにおいて第1電源スイッチをオフする第5段階と、
前記新マスターUSBデバイスにおいて前記起動制御テーブルを読み出す第6段階と、 自身が優先順位の最も高く起動状態がオンであるUSBデバイスを確認の上、当該ETCデバイスへの電源供給をすると共に、前記ホストコンピュータと認識処理を開始し自身がマスターUSBデバイスであることを前記ホストコンピュータに報告する第7段階と、 前記第7段階において自身が優先順位の最も高く起動状態がオンであるUSBデバイスに該当しない場合は、起動状態がオンの全USBデバイスの起動が完了したことを確認の上で前記制御部電源スイッチをオフにする第8段階と、
前記第3段階ないしは前記第7段階の後で、または前記第8段階において全USBデバイスの起動が完了していない場合は、前記マスターUSBデバイスは、次の優先順位の最も高く起動状態がオンであるUSBデバイスを前記新マスターUSBデバイスとして前記第5段階へ戻る第9段階を有することを特徴とする給電制御方法。 A power supply control method for connecting the USB device according to claim 1 and the host computer,
A first stage in which one of the USB devices is set as a master USB device to initially set the first power switch on;
A second stage in which the master USB device reads the activation control table when connected to the host computer;
If the USB device with the highest priority and the activated state is ON is a master USB device, the third stage of supplying power to the ETC device and the USB controller starting recognition processing with the host computer;
If the USB device with the highest priority and the activation state is on is not the master USB device, the record is written to delegate the master authority to the USB device with the highest activation priority and the activation state is on. A fourth step of instructing the power control unit to supply power to the new master USB device;
A fifth step of turning on a first power switch in the new master USB device and turning off a first power switch in the old master USB device;
A sixth step of reading the activation control table in the new master USB device; and confirming a USB device that has the highest priority and the activation state is on, supplies power to the ETC device, and The seventh stage of starting recognition processing with the computer and reporting to the host computer that it is a master USB device; and the seventh stage, which does not correspond to the USB device with the highest priority and the activated state being on The eighth stage of turning off the control unit power switch after confirming that the activation of all USB devices whose activation state is on is completed;
If the activation of all USB devices is not completed after the third step or the seventh step or in the eighth step, the master USB device has the next highest priority and the activation state is on. A power supply control method comprising a ninth step of returning a certain USB device as the new master USB device to the fifth step .
前記ホストコンピュータからマスターUSBデバイスに対して任意のUSBデバイスを省電力状態へ移行させるための指示を行なう第1段階と、
省電力状態への移行対象のUSBデバイスがマスターUSBデバイス以外であった場合、マスターUSBデバイスのCPUは前記電源制御部に対し当該USBデバイスへの電源供給を停止する指示を出す第2段階と、
省電力状態への移行対象のUSBデバイスがマスターUSBデバイスであった場合は、マスターUSBデバイスのCPUは、マスターの権限を自身以外の優先順位の最も高く起動状態がオンであるUSBデバイスへ委譲させるため、前記起動制御テーブルのマスターのパラメータをマスターUSBデバイスから委譲先のUSBデバイスへ書き換える第3段階と、
マスターUSBデバイスは、自身の起動状態をオフへ書き替えて前記ホストコンピュータへマスターが移行したことを報告する第4段階と、
マスターであったUSBデバイスは、自分に対する電源供給を停止するため前記電源制御部に電源供給停止指示を出し前記電源制御部は当該第1電源スイッチをオフにする第5段階を有することを特徴とする給電制御方法。 A power supply control method at the time of transition to a power saving state of the USB device according to claim 1,
A first step of instructing a master USB device from the host computer to shift any USB device to a power saving state;
When the USB device to be shifted to the power saving state is other than the master USB device, the CPU of the master USB device issues a command to stop the power supply to the USB device to the power control unit;
When the USB device to be shifted to the power saving state is a master USB device, the CPU of the master USB device delegates the authority of the master to the USB device having the highest priority other than itself and the activation state being on. Therefore, a third step of rewriting the master parameter of the activation control table from the master USB device to the delegation destination USB device;
The master USB device rewrites its startup state to OFF and reports that the master has migrated to the host computer; and
The USB device that is the master has a fifth stage in which the power supply control unit issues a power supply stop instruction to the power supply control unit to stop the power supply to itself, and the power supply control unit turns off the first power switch. Power supply control method.
前記ホストコンピュータからマスターUSBデバイスに対して任意のUSBデバイスを省電力状態から復旧させるための指示を行なう第1段階と、
復旧対象が一つの場合、マスターUSBデバイスは前記電源制御部へ当該USBデバイスに対する電源供給指示を出し同時に前記起動制御テーブルに当該USBデバイスの起動状態をオンに書き替える第2段階と、
当該USBデバイスにおいて前記第1電源スイッチ〜第3電源スイッチがオンし前記ETCデバイスへの電源供給をすると共に前記ホストコンピュータと認識処理を開始しUSBデバイスとしての動作を開始する第3段階と、
復旧対象が複数の場合、マスターUSBデバイスは前記起動制御テーブルの読出し処理を行い、復旧対象のUSBデバイスの内で優先順位の最も高いUSBデバイスから順次に前記電源制御部へ電源供給指示を出し同時に前記起動制御テーブルに当該USBデバイスの起動状態をオンに書き替える第4段階と、
当該USBデバイスにおいて前記第1電源スイッチ〜第3電源スイッチがオンし前記ETCデバイスへの電源供給をすると共に前記ホストコンピュータと認識処理を開始しUSBデバイスとしての動作を開始する第5段階を有することを特徴とする給電制御方法。 A power supply control method at the time of recovery from the power saving state of the USB device according to claim 1,
A first step of giving an instruction for restoring an arbitrary USB device from a power saving state to the master USB device from the host computer;
When the recovery target is one, the master USB device issues a power supply instruction for the USB device to the power control unit, and simultaneously rewrites the activation state of the USB device in the activation control table,
A third stage in which the first power switch to the third power switch are turned on in the USB device to supply power to the ETC device, start recognition processing with the host computer, and start operation as a USB device;
When there are a plurality of restoration targets, the master USB device reads the activation control table, and sequentially issues a power supply instruction to the power control unit from the USB device with the highest priority among the restoration target USB devices. A fourth stage in which the activation state of the USB device is rewritten to ON in the activation control table;
In the USB device, the first power switch to the third power switch are turned on to supply power to the ETC device, and start a recognition process with the host computer and start an operation as a USB device. A power supply control method characterized by the above.
前記ホストコンピュータからマスターUSBデバイスに対して、現在起動しているUSBデバイスの全てを省電力状態へ移行するための指示を行なう第1段階と、
マスターUSBデバイスのCPUは、前記電源制御部に対し自分以外のUSBデバイスへの電源供給を停止する指示を出す第2段階と、
前記CPUは当該第3電源スイッチをオフし同時に前記ホストコンピュータへ全てのUSBデバイスの起動が停止することを報告する第3段階と、
前記CPUは当該第2電源スイッチをオフにしする第4段階を有することを特徴とする給電制御方法。 A power supply control method at the time of power saving of all USB devices of the USB device according to claim 1,
A first step of instructing the master USB device from the host computer to shift all currently activated USB devices to a power saving state;
A second stage in which the CPU of the master USB device issues an instruction to stop power supply to the USB device other than itself to the power control unit;
The CPU turns off the third power switch and simultaneously reports to the host computer that the activation of all USB devices is stopped;
The power supply control method, wherein the CPU includes a fourth step of turning off the second power switch.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006138911A JP4698479B2 (en) | 2006-05-18 | 2006-05-18 | USB device and power supply control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006138911A JP4698479B2 (en) | 2006-05-18 | 2006-05-18 | USB device and power supply control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007310647A JP2007310647A (en) | 2007-11-29 |
| JP4698479B2 true JP4698479B2 (en) | 2011-06-08 |
Family
ID=38843438
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006138911A Expired - Fee Related JP4698479B2 (en) | 2006-05-18 | 2006-05-18 | USB device and power supply control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4698479B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4533953B2 (en) | 2008-12-19 | 2010-09-01 | 株式会社東芝 | Information processing device |
| JP5212450B2 (en) | 2010-11-29 | 2013-06-19 | オムロン株式会社 | Temperature controller, cable device, and temperature control unit |
| CN107423241B (en) * | 2017-05-24 | 2023-09-26 | 宛东亮 | Data transmission instrument of mobile machine tool |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04304513A (en) * | 1991-04-01 | 1992-10-27 | Omron Corp | Computer peripheral equipment and power source system and operating method for the equipment |
| JPH06348375A (en) * | 1993-06-10 | 1994-12-22 | Nec Corp | Work station power source management system |
| JPH11167439A (en) * | 1997-12-04 | 1999-06-22 | Matsushita Electric Ind Co Ltd | Information processing device having multiple power supply selection states |
| JP2002178610A (en) * | 2000-12-14 | 2002-06-26 | Funai Electric Co Ltd | Printer control device |
| US7103788B1 (en) * | 2001-10-31 | 2006-09-05 | Microsoft Corporation | Selective suspension of bus devices |
| JP2004227071A (en) * | 2003-01-20 | 2004-08-12 | Olympus Corp | Information terminal device system |
| JP2005165509A (en) * | 2003-12-01 | 2005-06-23 | Fujitsu Ltd | Device recognition method in a USB device equipped with a plurality of devices |
| JP2005275612A (en) * | 2004-03-23 | 2005-10-06 | Sony Corp | Electronics |
-
2006
- 2006-05-18 JP JP2006138911A patent/JP4698479B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007310647A (en) | 2007-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101246390B (en) | storage control device | |
| JP4601330B2 (en) | Electronic device and control method thereof, information processing apparatus, and computer program | |
| US8904099B2 (en) | Isolation switching for backup memory | |
| CN102855146B (en) | Firmware update system and method | |
| CN103136012B (en) | Computer system and update method of basic input-output system thereof | |
| US20100082957A1 (en) | Information processing device | |
| JP5146123B2 (en) | Management device, management method, management program, and electronic device | |
| CN108334466A (en) | System including hot plug module and memory module | |
| JP4698479B2 (en) | USB device and power supply control method | |
| HK1220018A1 (en) | Method and system for data communication | |
| TWI489296B (en) | Computer | |
| US8145857B2 (en) | Control of access to an external storage device | |
| JP6037024B2 (en) | Information processing apparatus, backup program, and backup method | |
| JP5627337B2 (en) | Information device, control method thereof, and program | |
| US20250077100A1 (en) | Control method, storage apparatus, and electronic device | |
| JP2001337789A (en) | Disk subsystem | |
| CN103116471A (en) | Image processing apparatus | |
| JP7183068B2 (en) | IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD, AND PROGRAM | |
| CN100437434C (en) | Start-up circuit and method for controlling multiple IDE devices | |
| CN115757228B (en) | Computer-controlled unmanned devices and methods for applying computer-controlled unmanned devices | |
| JP4575741B2 (en) | Data backup system | |
| JP4666990B2 (en) | Network RAID system | |
| JP2022041324A (en) | Information processing equipment | |
| JP3784057B2 (en) | Computer device, computer device, external connection device, power supply method, program | |
| JP4503003B2 (en) | Power supply backup system and electronic device having the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090415 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101028 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101206 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110117 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110214 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110301 |
|
| LAPS | Cancellation because of no payment of annual fees |