[go: up one dir, main page]

JP2010165271A - Electric power control apparatus and electric power control method - Google Patents

Electric power control apparatus and electric power control method Download PDF

Info

Publication number
JP2010165271A
JP2010165271A JP2009008483A JP2009008483A JP2010165271A JP 2010165271 A JP2010165271 A JP 2010165271A JP 2009008483 A JP2009008483 A JP 2009008483A JP 2009008483 A JP2009008483 A JP 2009008483A JP 2010165271 A JP2010165271 A JP 2010165271A
Authority
JP
Japan
Prior art keywords
power
usb
host computer
power control
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009008483A
Other languages
Japanese (ja)
Inventor
Tatsu Kamei
龍 亀井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009008483A priority Critical patent/JP2010165271A/en
Publication of JP2010165271A publication Critical patent/JP2010165271A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

【課題】ホストコンピューターから送信されるサスペンド信号に対する応答の可否にかかわらず、消費電力の低減を柔軟に行うことができる電力制御装置および省電力制御方法を提供する。
【解決手段】ホストコンピューター2と、ホストコンピューター2に接続されたUSBハブ10と、USBハブ10の後段にUSBバス3で接続されたデバイス50と、で構成される電力制御装置であって、ホストコンピューター2がサスペンドモードへ移行するときに、所定のコマンドを受けて、デバイス50に供給する電源をオフにするスイッチ手段(スイッチ制御部20とオン/オフ切り替えスイッチ30)を備える。
【選択図】図1
A power control apparatus and a power saving control method capable of flexibly reducing power consumption regardless of whether or not a response to a suspend signal transmitted from a host computer is possible.
A power control apparatus includes a host computer, a USB hub connected to the host computer, and a device connected to the USB bus after the USB hub. When the computer 2 shifts to the suspend mode, the computer 2 is provided with switch means (the switch control unit 20 and the on / off switch 30) that receives a predetermined command and turns off the power supplied to the device 50.
[Selection] Figure 1

Description

本発明は、ホストコンピューターに接続可能であり、USBハブによって接続されたデバイスを含む電力制御装置および電力制御方法に関する。   The present invention relates to a power control apparatus and a power control method including a device that can be connected to a host computer and connected by a USB hub.

パーソナルコンピューターをはじめとする各種の情報機器では、拡張性における自由度の高さから、USB(Universal Serial Bus)対応の周辺機器等が普及してきた。USBはスター型ネットワーク構造のバスであるため、USBハブと称される接続機能を用いて複数のUSB規格デバイスを接続したUSBデバイスシステム(電力制御装置)を構成し、ホストコンピューターでUSBデバイスシステムを制御するという制御形態が一般的である。   In various information devices such as personal computers, peripheral devices compatible with USB (Universal Serial Bus) have become widespread due to the high degree of freedom in scalability. Since USB is a star-type network structure bus, a USB device system (power control device) in which a plurality of USB standard devices are connected using a connection function called a USB hub is configured, and the USB device system is configured by a host computer. The control form of controlling is common.

図6は、従来のUSBデバイスシステムの概略構成を示すブロック図である。ホストコンピューター200とUSBバス100で接続するUSBデバイスシステム101は、主に、USBコントローラーを含むUSBバス102と、その配下の各種デバイス103、電源ユニット104、などで構成される。USBデバイスシステム101(電力制御装置)は、例えばデバイス103としてプリンターやDVDなどに書き込みを行うメディアドライブ等が含まれ、それらが1つの装置として構成される。   FIG. 6 is a block diagram showing a schematic configuration of a conventional USB device system. The USB device system 101 connected to the host computer 200 via the USB bus 100 is mainly composed of a USB bus 102 including a USB controller, various devices 103 under it, a power supply unit 104, and the like. The USB device system 101 (power control device) includes, for example, a media drive that writes data to a printer, a DVD, or the like as the device 103, and these are configured as one device.

ところで、OHCI(Open Host Controller Interface)などのUSB仕様では、デバイス103の管理を行うUSBコントローラーに、低消費電力化のためのサスペンドモードが定義されている。サスペンドモード時には、USBコネクタに対するデバイスの抜き差しを検出する部分以外のほとんどの機能部が動作停止となる。サスペンドモードからの復帰は、ハードウェア的なリセットを伴わないソフトウェアリセットで行われるため、USBコントローラー内部のレジスタ情報などの内部ステートは、ソフトウェアリセット直前の値を維持することができる。   By the way, in the USB specification such as OHCI (Open Host Controller Interface), a suspend mode for reducing power consumption is defined in the USB controller that manages the device 103. In the suspend mode, the operation of most function units other than the part for detecting the insertion / removal of the device with respect to the USB connector is stopped. Since the return from the suspend mode is performed by a software reset that does not involve a hardware reset, the internal state such as register information in the USB controller can maintain the value immediately before the software reset.

一方、ホストコンピューター200側にも種々の電力管理モードが設定されており、上記と同様のサスペンドモード時には、オペレーティングシステムやユーザープログラムなどの再スタートに必要なシステムデータが記憶されている主メモリや一部の制御部以外のほとんどの機能部が動作停止となる。記憶されるシステムデータには、オペレーティングシステムやアプリケーションプログラムの実行状態や、アプリケーションプログラムによって作成されたユーザーデータが含まれる。サスペンドモードからの復帰はレジュームリセット信号により行われる。レジュームリセット信号は、サスペンドモード時に電源オフされていたデバイスにのみ供給され、デバイスが初期化される。なお、ホストコンピューター200には、電源投入時に発生され、システム内のすべてのデバイスを初期化するためのシステムリセット信号もある。   On the other hand, various power management modes are also set on the host computer 200 side, and in the suspend mode similar to the above, the main memory storing the system data necessary for restarting the operating system, the user program, etc. Most of the functional units other than the control unit are stopped. The stored system data includes the operating state of the operating system and application program, and user data created by the application program. The return from the suspend mode is performed by a resume reset signal. The resume reset signal is supplied only to the device that is powered off in the suspend mode, and the device is initialized. The host computer 200 also has a system reset signal that is generated when the power is turned on and for initializing all devices in the system.

従来のUSBデバイスシステムでは、USBハブ102後段のデバイス103が、個々に搭載したタイマーで省電力モードへ移行し、その後、ホストコンピューター200からのUSBサスペンド信号によりシステム全体としてサスペンドモードへ移行するというのが一般的な省電力モードであった。   In the conventional USB device system, the device 103 at the rear stage of the USB hub 102 shifts to the power saving mode by an individually mounted timer, and then shifts to the suspend mode as a whole system by the USB suspend signal from the host computer 200. There was a general power saving mode.

特開平11−194847号公報(第4頁−第9頁、図1)JP-A-11-194847 (pages 4-9, FIG. 1)

しかしながら、従来のUSBデバイスシステムでは、USBコントローラーでサスペンドモードへ移行し、その後にシステム全体がホストコンピューターのサスペンドモードとなった場合に、ホストコンピューターから送信されるリセット信号に対して復帰不可能なデバイスが存在するという問題があった。   However, in the conventional USB device system, when the USB controller shifts to the suspend mode and then the entire system enters the suspend mode of the host computer, the device cannot recover from the reset signal sent from the host computer. There was a problem that existed.

また、デバイスがサスペンドモードから復帰できないことを避けるため、デバイスを制御するホストコンピューター側のアプリケーションプログラムが、予めサスペンドモードへ移行しないようロックをかける、即ち、サスペンドモードへ移行できないデバイスが存在するという問題もあった。   In addition, in order to avoid that the device cannot return from the suspend mode, the application program on the host computer side that controls the device locks in advance so as not to enter the suspend mode, that is, there is a device that cannot enter the suspend mode. There was also.

そのため、USBコントローラーのリセット信号入力端子の前段にシステムリセット信号とレジュームリセット信号を選択的に供給するためのリセット制御回路を設け、ホストコンピューターのサスペンドモード時にUSBコントローラーが電源オフとなっていた場合でもレジュームリセットが行えるような構成としたコンピューターシステムも提案されている(例えば、特許文献1参照)。   For this reason, a reset control circuit for selectively supplying a system reset signal and a resume reset signal is provided in front of the reset signal input terminal of the USB controller, even when the USB controller is turned off during the suspend mode of the host computer. There has also been proposed a computer system configured to be able to resume reset (see, for example, Patent Document 1).

しかし、特許文献1に開示されたシステムでは、USBコントローラー配下のすべてのUSBデバイスに対して一律な状態(電源のオンまたはオフ)しか選択できないため、オペレーティングシステムやアプリケーションプログラムの状況に応じて、デバイスのオン/オフを個別に制御して、消費電力の低減を柔軟に行うことができないという問題があった。   However, in the system disclosed in Patent Document 1, since only a uniform state (power on or off) can be selected for all USB devices under the USB controller, depending on the status of the operating system and application programs, the device There is a problem in that it is not possible to flexibly reduce power consumption by individually controlling on / off.

本発明の目的は上記課題を解消することに係り、電力供給のオン/オフを切り替える物理的なスイッチング手段をUSBデバイスごとに設けることにより、ホストコンピューターから送信されるサスペンド信号に対する応答の可否にかかわらず、消費電力の低減を柔軟に行うことができるデバイスの電力制御装置および電力制御方法を提供することを目的とする。   An object of the present invention is to solve the above problems, and by providing a physical switching means for switching on / off of power supply for each USB device, whether or not a response to a suspend signal transmitted from a host computer is possible. It is an object of the present invention to provide a device power control apparatus and a power control method capable of flexibly reducing power consumption.

上述した目的を達成するために、本発明に係る電力制御装置は、ホストコンピューターに接続可能であり、前記ホストコンピューターに接続されるUSBハブと、前記USBハブの後段にUSBバスで接続されたデバイスと、を有する電力制御装置であって、前記ホストコンピューターがサスペンドモードへ移行するときに送信する所定のコマンドを受けて、前記デバイスに供給する電源をオフにするスイッチ手段を備えることを特徴とする。
上記構成によれば、サスペンド信号によるサスペンドモードへの移行が行えないデバイスであっても、当該デバイスへの電力供給を遮断することができる。従って、デバイスを含む装置の消費電力を低減することができる。
また好ましくは、前記所定のコマンドは、USBサスペンド信号であり、前記スイッチ手段は該USBサスペンド信号を受けて前記デバイスに供給する電源をオフにすることを特徴とする。
上記構成によれば、サスペンド信号によるサスペンドモードへの移行が可能なデバイスについて、当該デバイスへの電力供給を遮断することができる。従って、デバイスを含む装置の消費電力を低減することができる。
また好ましくは、前記所定のコマンドは、前記ホストコンピューターによって生成した電源オフコマンドであり、前記スイッチ手段は該電源オフコマンドを受けて前記デバイスに供給する電源をオフにすることを特徴とする。
上記構成によれば、ホストコンピューターのアプリケーションプログラムを用いてオン/オフ切り替えスイッチを制御し、当該デバイスへの電力供給を遮断することができる。従って、デバイスを含む装置の消費電力を低減することができる。
また好ましくは、複数のデバイスの中から選択して、供給する電源をオフにすることを特徴とする。
上記構成によれば、装置内のデバイスについて個別に電力供給を遮断することができる。従って、装置の消費電力を低減するための制御を柔軟に行うことができる。
また好ましくは、前記スイッチ手段は、前記ホストコンピューターがサスペンドモードから通常モードへ復帰するときに送信する復帰コマンドを受けて、前記デバイスに供給する電源をオンにすることを特徴とする。
上記構成によれば、ホストコンピューターが通常モードへ復帰する際、電源オフとしていたデバイスがサスペンドモードへ移行する直前の状態に復帰する。従って、装置内のデバイスの動作において、支障を生じることなく適切に電力制御を行うことができる。
In order to achieve the above-described object, a power control apparatus according to the present invention is connectable to a host computer, a USB hub connected to the host computer, and a device connected to the subsequent stage of the USB hub via a USB bus And a switch means for turning off the power supplied to the device in response to a predetermined command transmitted when the host computer shifts to the suspend mode. .
According to the above configuration, even a device that cannot be shifted to the suspend mode by the suspend signal can cut off the power supply to the device. Therefore, power consumption of the apparatus including the device can be reduced.
Preferably, the predetermined command is a USB suspend signal, and the switch means receives the USB suspend signal and turns off the power supplied to the device.
According to the above configuration, the power supply to a device that can be shifted to the suspend mode by the suspend signal can be cut off. Therefore, power consumption of the apparatus including the device can be reduced.
Further preferably, the predetermined command is a power-off command generated by the host computer, and the switch means receives the power-off command and turns off the power supplied to the device.
According to the above configuration, the on / off switch can be controlled using the application program of the host computer to cut off the power supply to the device. Therefore, power consumption of the apparatus including the device can be reduced.
Preferably, the power supply is selected by selecting from a plurality of devices.
According to the above configuration, the power supply can be individually cut off for the devices in the apparatus. Therefore, control for reducing the power consumption of the apparatus can be flexibly performed.
Preferably, the switch means receives a return command transmitted when the host computer returns from the suspend mode to the normal mode, and turns on the power supplied to the device.
According to the above configuration, when the host computer returns to the normal mode, the device that has been turned off returns to the state just before the transition to the suspend mode. Therefore, it is possible to appropriately control the power without causing any trouble in the operation of the devices in the apparatus.

上述した目的を達成するために、本発明の電力制御方法は、ホストコンピューターに接続可能であり、前記ホストコンピューターに接続されるUSBハブと、前記USBハブの後段にUSBバスで接続されたデバイスと、前記デバイスへの電源供給を制御するスイッチ手段とで構成される電力制御装置の電力制御方法であって、前記ホストコンピューターがサスペンドモードへ移行するときに送信する所定のコマンドを前記USBハブが受信するステップと、前記スイッチ手段は、前記所定のコマンドを受けて、前記デバイスに供給する電源をオフするステップと、を含むことを特徴とする。
上記電力制御方法によれば、サスペンド信号によるサスペンドモードへの移行が行えないデバイスであっても、当該デバイスへの電力供給を遮断することができる。従って、デバイスを含む装置の消費電力を低減することができる。
また、前記コマンドには、複数の前記デバイスの中から特定の前記デバイスを選択して、供給する電源をオフにする情報が含まれていることを特徴とする。装置内のデバイスについて個別に電力供給をオフにすることができる。
In order to achieve the above-described object, a power control method of the present invention is connectable to a host computer, a USB hub connected to the host computer, and a device connected by a USB bus downstream of the USB hub. , A power control method of a power control apparatus configured with switch means for controlling power supply to the device, wherein the USB hub receives a predetermined command transmitted when the host computer shifts to a suspend mode And the step of switching off the power supplied to the device in response to the predetermined command.
According to the above power control method, even if a device cannot be shifted to the suspend mode by the suspend signal, the power supply to the device can be cut off. Therefore, power consumption of the apparatus including the device can be reduced.
Further, the command includes information for selecting a specific device from the plurality of devices and turning off the power to be supplied. The power supply can be turned off individually for the devices in the apparatus.

本発明の実施形態に係る電力制御装置の概略構成を示すブロック図である。It is a block diagram showing a schematic structure of a power control device concerning an embodiment of the present invention. USBデバイスシステム1の具体例であるメディア処理装置の概略構造を示す模式図である。1 is a schematic diagram showing a schematic structure of a media processing apparatus that is a specific example of a USB device system 1; FIG. USBデバイスシステム1の具体例であるメディア処理装置の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a media processing apparatus that is a specific example of a USB device system 1; FIG. 本発明の実施形態に係る電力制御装置の省電力制御動作手順(USBデバイスの電源をオフにする動作)を示すフローチャートである。It is a flowchart which shows the power saving control operation procedure (operation | movement which turns off the power supply of a USB device) of the power control apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る電力制御装置の省電力制御動作手順(USBデバイスの電源をオンにする動作)を示すフローチャート。The flowchart which shows the power-saving control operation procedure (operation | movement which turns on the power supply of a USB device) of the power control apparatus which concerns on embodiment of this invention. 従来のUSBデバイスシステムの概略構成を示すブロック図。The block diagram which shows schematic structure of the conventional USB device system.

以下、図面を参照しながら、本発明に係る電力制御装置および電力制御方法の実施形態を説明する。   Hereinafter, embodiments of a power control device and a power control method according to the present invention will be described with reference to the drawings.

図1は、本発明の実施形態に係る電力制御装置の概略構成を示すブロック図である。電力制御装置は、ホストコンピューター2に接続可能であり、ホストコンピューター2に接続されたUSBデバイスシステム1(電力制御装置)である。USBデバイスシステム1は、具体的には主に、USBハブ10、スイッチ制御部20、オン/オフ切り替えスイッチ30、電源ユニット40、USBデバイス50、などで構成される。   FIG. 1 is a block diagram showing a schematic configuration of a power control apparatus according to an embodiment of the present invention. The power control apparatus is connectable to the host computer 2 and is a USB device system 1 (power control apparatus) connected to the host computer 2. Specifically, the USB device system 1 mainly includes a USB hub 10, a switch control unit 20, an on / off switch 30, a power supply unit 40, a USB device 50, and the like.

ホストコンピューター2は、USBバス3で接続するUSBデバイスシステム1の動作制御を行う。USBハブ10はUSBコントローラーを含む。スイッチ制御部20は例えばUSBバス搭載のマイコンなどで構成され、USBハブ10に接続されている。また、スイッチ制御部20は、ホストコンピューター2から送信され、USBハブ10を介して受信したスイッチ制御コマンド4に基づいて、後述するオン/オフ切り替えスイッチ30の切り替え制御を行う。   The host computer 2 controls the operation of the USB device system 1 connected via the USB bus 3. The USB hub 10 includes a USB controller. The switch control unit 20 is configured by a microcomputer equipped with a USB bus, for example, and is connected to the USB hub 10. The switch control unit 20 performs switching control of an on / off switch 30 described later based on a switch control command 4 transmitted from the host computer 2 and received via the USB hub 10.

オン/オフ切り替えスイッチ30は、電源ユニット40から各デバイス50に電力を供給する電力供給線41の途中に設置された、例えばFET(Field Effect Transistor)などで構成され、スイッチ制御部20の出力信号線25をFETのゲート端子に接続してデバイス50への電力供給・遮断の切り替えを個別に行うことができる。
前述のスイッチ制御部20とオン/オフ切り替えスイッチ30は、ともにスイッチ手段としての機能を担う。ホストコンピューター2で実行されるアプリケーションプログラムを用いてスイッチ制御部20を制御し、オン/オフ切り替えスイッチ30を切り替えて各デバイスの電源を適宜オフにすることにより、省電力制御が実現される。
The on / off switch 30 is composed of, for example, an FET (Field Effect Transistor) installed in the middle of a power supply line 41 that supplies power from the power supply unit 40 to each device 50, and an output signal from the switch control unit 20. The line 25 can be connected to the gate terminal of the FET to switch the power supply to the device 50 and cut off individually.
The switch control unit 20 and the on / off switch 30 described above both function as switch means. Power saving control is realized by controlling the switch control unit 20 using an application program executed on the host computer 2 and switching the on / off switch 30 to turn off the power of each device as appropriate.

例えば、上記のUSBデバイスシステム1の複数のデバイスを有する具体例としては、メディア処理装置がその一例として挙げられる。図2は、メディア処理装置の概略構造を示す模式図であり、図3は、メディア処理装置の概略構成を示すブロック図である。
図2に示すように、メディア処理装置1Aは、レーベルプリンター51、メディアドライブ52及びメディア搬送機構53と、が図示せぬ筐体によって覆われて、メディアに対するデータの書込み、レーベル印刷を行う。レーベルプリンター51は、CDやDVDなどのメディアの片面にレーベル印刷を行う。また、メディアドライブ52はメディアのもう一方の面にデータを書き込む。メディア搬送機構53は、搬送アームを駆動させて、これらのデバイス(レーベルプリンター51、メディアドライブ52)とメディアをスタックする各メディアスタッカー(ブランクメディアスタッカー、処理済みメディアスタッカー、排出メディアスタッカー等)との間でメディアを搬送する。そして、このメディア処理装置1Aは、図3に示すように、ホストコンピューター2のUSBポートに複数のデバイスを接続するための分岐装置であるUSBハブ10を介して、レーベルプリンター51、メディアドライブ52及びメディア搬送機構53の3つのデバイスが接続されている。なお、この図3では、スイッチ制御部20、オン/オフ切り替えスイッチ30、電源ユニット40等を省略している。
For example, as a specific example having a plurality of devices of the USB device system 1 described above, a media processing apparatus is an example. FIG. 2 is a schematic diagram illustrating a schematic structure of the media processing device, and FIG. 3 is a block diagram illustrating a schematic configuration of the media processing device.
As shown in FIG. 2, in the media processing apparatus 1A, the label printer 51, the media drive 52, and the media transport mechanism 53 are covered by a housing (not shown), and data writing and label printing are performed on the media. The label printer 51 performs label printing on one side of a medium such as a CD or a DVD. Media drive 52 also writes data to the other side of the media. The media transport mechanism 53 drives these transport arms to connect these devices (label printer 51, media drive 52) and media stackers (blank media stacker, processed media stacker, discharged media stacker, etc.) to stack media. Transport media between. As shown in FIG. 3, the media processing device 1A includes a label printer 51, a media drive 52, and a media printer 52 via a USB hub 10 that is a branch device for connecting a plurality of devices to the USB port of the host computer 2. Three devices of the media transport mechanism 53 are connected. In FIG. 3, the switch controller 20, the on / off switch 30, the power supply unit 40, and the like are omitted.

次に、本発明の実施形態に係る電力制御装置の省電力制御動作について説明する。
図4は、本発明の実施形態に係る電力制御装置の省電力制御動作手順(USBデバイスの電源をオフにする動作)を示すフローチャートである。
はじめに、ホストコンピューター2のアプリケーションプログラムは、サスペンドモードへ移行する直前にスイッチ制御コマンドをUSBデバイスシステム1へ送信する(ステップS10)。ホストコンピューター2は、スイッチ制御コマンドを送信した後にサスペンドモードへ移行する(ステップS11)。
Next, the power saving control operation of the power control apparatus according to the embodiment of the present invention will be described.
FIG. 4 is a flowchart showing a power saving control operation procedure (operation for turning off the power of the USB device) of the power control apparatus according to the embodiment of the present invention.
First, the application program of the host computer 2 transmits a switch control command to the USB device system 1 immediately before shifting to the suspend mode (step S10). The host computer 2 shifts to the suspend mode after transmitting the switch control command (step S11).

USBデバイスシステム1は、スイッチ制御部20のコマンド受信部21でスイッチ制御コマンドを受信する(ステップS12)。コマンド解析部22が受信コマンド(受信したスイッチ制御コマンド)に係る制御内容を解析し(ステップS13)、コマンド変換部23が対応するスイッチ制御信号を生成する(ステップS14)。これにより、該当するデバイス50のオン/オフ切り替えスイッチ30がオフとなり(ステップS15)、電力供給が遮断されて動作停止の状態となる(ステップS16)。なお、デバイス50は、スイッチ制御コマンドを受信する前に、USBコントローラーによるサスペンドモードとなっていてもかまわない。受信コマンドには、複数のデバイスの中から特定のデバイスを選択して供給する電源をオフにする情報が含まれており、これにより特定のデバイスに供給する電源をオフにすることができる。   The USB device system 1 receives the switch control command at the command receiving unit 21 of the switch control unit 20 (step S12). The command analysis unit 22 analyzes the control content related to the received command (received switch control command) (step S13), and the command conversion unit 23 generates a corresponding switch control signal (step S14). As a result, the on / off switch 30 of the corresponding device 50 is turned off (step S15), the power supply is cut off, and the operation is stopped (step S16). Note that the device 50 may be in the suspend mode by the USB controller before receiving the switch control command. The reception command includes information for selecting a specific device from among a plurality of devices and turning off the power to be supplied, whereby the power to be supplied to the specific device can be turned off.

図5は、本発明の実施形態に係る電力制御装置の省電力制御動作手順(USBデバイスの電源をオンにする動作)を示すフローチャートである。
はじめに、ホストコンピューター2がサスペンドモードから復帰すると(ステップS20)、アプリケーションプログラムはスイッチ制御コマンドをUSBデバイスシステム1へ送信する(ステップS21)。
FIG. 5 is a flowchart showing a power saving control operation procedure (operation for turning on the power of the USB device) of the power control apparatus according to the embodiment of the present invention.
First, when the host computer 2 returns from the suspend mode (step S20), the application program transmits a switch control command to the USB device system 1 (step S21).

USBデバイスシステム1は、スイッチ制御部20のコマンド受信部21でスイッチ制御コマンドを受信する(ステップS22)。コマンド解析部22が受信コマンドに係る制御内容を解析し(ステップS23)、コマンド変換部23が対応するスイッチ制御信号を生成する(ステップS24)。これにより、該当するデバイスのオン/オフ切り替えスイッチ30がオンとなり(ステップS25)、電力供給が開始されて動作状態となる(ステップS26)。このとき、オフになっているデバイスを選択してオンにすることができる。   The USB device system 1 receives the switch control command at the command receiving unit 21 of the switch control unit 20 (step S22). The command analysis unit 22 analyzes the control content related to the received command (step S23), and the command conversion unit 23 generates a corresponding switch control signal (step S24). As a result, the on / off switch 30 of the corresponding device is turned on (step S25), and the power supply is started to be in an operating state (step S26). At this time, a device that is turned off can be selected and turned on.

以上の省電力制御動作により、各デバイス50(図2及び図3の具体例では、レーベルプリンター51、メディアドライブ52、メディア搬送機構53)は、適宜、個別に電力供給が遮断される。従って、不要な電力消費が抑制され、消費電力を低減することができる。
なお、上記の実施形態において、スイッチ制御コマンド4は必ずしもUSBバス3を介して送信しなくてもよい。つまり、ホストコンピューター2とスイッチ制御部20とを接続するその他の手段がある場合は当該手段を用いてスイッチ制御コマンドを送信すればよい。
Through the power saving control operation described above, the power supply to each device 50 (in the specific examples of FIGS. 2 and 3, the label printer 51, the media drive 52, and the media transport mechanism 53) is individually cut off as appropriate. Therefore, unnecessary power consumption can be suppressed and power consumption can be reduced.
In the above embodiment, the switch control command 4 does not necessarily have to be transmitted via the USB bus 3. That is, if there is other means for connecting the host computer 2 and the switch control unit 20, the switch control command may be transmitted using the means.

以上、説明したように、本発明の実施形態に係る電力制御装置および省電力制御方法によれば、電力供給のオン/オフを切り替える物理的なスイッチング手段をデバイスごとに設けることにより、ホストコンピューターからのサスペンド信号に応答するデバイス、応答しないデバイスにかかわらず、消費電力を低減することができる。特に、デバイスへの電力供給を直接遮断するため、若干の電力を消費する待機状態と比較して、低減量を大幅に向上させることができる。   As described above, according to the power control device and the power saving control method according to the embodiment of the present invention, the physical switching means for switching on / off of the power supply is provided for each device, so that the host computer can Power consumption can be reduced regardless of whether the device responds to the suspend signal of the device or not. In particular, since the power supply to the device is directly cut off, the amount of reduction can be greatly improved compared to a standby state in which some power is consumed.

1…USBデバイスシステム、2…ホストコンピューター、3…USBバス、4…スイッチ制御コマンド、10…USBハブ、20…スイッチ制御部、21…コマンド受信部、22…コマンド解析部、23…コマンド変換部、30…オン/オフ切り替えスイッチ、40…電源ユニット、41…電力供給線、50…デバイス   DESCRIPTION OF SYMBOLS 1 ... USB device system, 2 ... Host computer, 3 ... USB bus, 4 ... Switch control command, 10 ... USB hub, 20 ... Switch control part, 21 ... Command reception part, 22 ... Command analysis part, 23 ... Command conversion part 30 ... ON / OFF switch, 40 ... power supply unit, 41 ... power supply line, 50 ... device

Claims (7)

ホストコンピューターに接続可能であり、前記ホストコンピューターに接続されるUSBハブと、前記USBハブの後段にUSBバスで接続されたデバイスと、を有する電力制御装置であって、
前記ホストコンピューターがサスペンドモードへ移行するときに送信する所定のコマンドを受けて、前記デバイスに供給する電源をオフにするスイッチ手段を備えることを特徴とする電力制御装置。
A power control device that can be connected to a host computer and has a USB hub connected to the host computer and a device connected by a USB bus downstream of the USB hub,
A power control apparatus comprising switch means for turning off power supplied to the device in response to a predetermined command transmitted when the host computer shifts to a suspend mode.
前記所定のコマンドは、USBサスペンド信号であり、前記スイッチ手段は該USBサスペンド信号を受けて前記デバイスに供給する電源をオフにすることを特徴とする請求項1に記載の電力制御装置。   2. The power control apparatus according to claim 1, wherein the predetermined command is a USB suspend signal, and the switch unit receives the USB suspend signal and turns off the power supplied to the device. 前記所定のコマンドは、前記ホストコンピューターによって生成した電源オフコマンドであり、前記スイッチ手段は該電源オフコマンドを受けて前記デバイスに供給する電源をオフにすることを特徴とする請求項1に記載の電力制御装置。   The said predetermined command is a power-off command generated by the host computer, and the switch means receives the power-off command and turns off the power supplied to the device. Power control device. 前記スイッチ手段は、複数の前記デバイスの中から選択して、供給する電源をオフにすることを特徴とする請求項1から3のいずれか一項に記載の電力制御装置。   4. The power control apparatus according to claim 1, wherein the switch unit selects a plurality of the devices and turns off a power supply to be supplied. 5. 前記スイッチ手段は、前記ホストコンピューターがサスペンドモードから通常モードへ復帰するときに送信する復帰コマンドを受けて、前記デバイスに供給する電源をオンにすることを特徴とする請求項1〜4のいずれか一項に記載の電力制御装置。   5. The switch unit according to claim 1, wherein the switch unit receives a return command transmitted when the host computer returns from the suspend mode to the normal mode, and turns on the power supplied to the device. The power control device according to one item. ホストコンピューターに接続可能であり、前記ホストコンピューターに接続されるUSBハブと、前記USBハブの後段にUSBバスで接続されたデバイスと、前記デバイスへの電源供給を制御するスイッチ手段とで構成される電力制御装置の電力制御方法であって、
前記ホストコンピューターがサスペンドモードへ移行するときに送信する所定のコマンドを前記USBハブが受信するステップと、
前記スイッチ手段は、前記所定のコマンドを受けて、前記デバイスに供給する電源をオフするステップと、
を含むことを特徴とする電力制御方法。
A USB hub that can be connected to a host computer, and is composed of a USB hub connected to the host computer, a device connected by a USB bus downstream of the USB hub, and switch means for controlling power supply to the device A power control method for a power control device, comprising:
The USB hub receiving a predetermined command to be transmitted when the host computer enters the suspend mode;
The switch means receives the predetermined command and turns off the power supplied to the device;
A power control method comprising:
前記所定のコマンドには、複数の前記デバイスの中から特定の前記デバイスを選択して、供給する電源をオフにする情報が含まれていることを特徴とする請求項6に記載の電力制御方法。   The power control method according to claim 6, wherein the predetermined command includes information for selecting a specific device from the plurality of devices and turning off the power to be supplied. .
JP2009008483A 2009-01-19 2009-01-19 Electric power control apparatus and electric power control method Pending JP2010165271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009008483A JP2010165271A (en) 2009-01-19 2009-01-19 Electric power control apparatus and electric power control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009008483A JP2010165271A (en) 2009-01-19 2009-01-19 Electric power control apparatus and electric power control method

Publications (1)

Publication Number Publication Date
JP2010165271A true JP2010165271A (en) 2010-07-29

Family

ID=42581359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009008483A Pending JP2010165271A (en) 2009-01-19 2009-01-19 Electric power control apparatus and electric power control method

Country Status (1)

Country Link
JP (1) JP2010165271A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012089497A1 (en) * 2010-12-30 2012-07-05 Arcelik Anonim Sirketi A connection box for electronic devices
JP2022082915A (en) * 2020-11-24 2022-06-03 富士通クライアントコンピューティング株式会社 Information processing systems, controls, and programs

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012089497A1 (en) * 2010-12-30 2012-07-05 Arcelik Anonim Sirketi A connection box for electronic devices
KR101532935B1 (en) * 2010-12-30 2015-07-01 아세릭 에이. 에스 A connection box for electronic devices
JP2022082915A (en) * 2020-11-24 2022-06-03 富士通クライアントコンピューティング株式会社 Information processing systems, controls, and programs

Similar Documents

Publication Publication Date Title
US8793523B2 (en) Interface card, network device having the same and control method thereof
US8443221B2 (en) Methods, systems, and computer readable media for advanced power management for serial advanced technology attachment (SATA)-based storage devices
EP2239647B1 (en) Motherboard with electronic device for reducing power consumption during sleep mode of computer motherboard
US8880914B2 (en) Information processing apparatus and judging method
JP3360665B2 (en) Electronic printing apparatus having power saving mode and control method
US20100262853A1 (en) Information processing apparatus, method for controlling information processing apparatus, and recording medium
US8166317B2 (en) System for reducing standby power in an AC adapter that supply power to a USB device
CN101425049A (en) Customer equipment based on USB and data channel switching method
JP2009289193A (en) Information processing apparatus
JP5477773B2 (en) Image forming apparatus
US20140013135A1 (en) System and method of controlling a power supply
JP2010165271A (en) Electric power control apparatus and electric power control method
JP2014059631A (en) Power source control device
JP2011025562A (en) Image forming apparatus, control method thereof and control program thereof
JP2014104654A (en) Image forming apparatus and control method of the same
JP5046667B2 (en) Apparatus and method for supplying power to a vehicle computer
TWI381271B (en) Portable electronic apparatus and method for power saving thereof
JP4487599B2 (en) Peripheral device and power switching method for peripheral device
JP5393651B2 (en) Image forming apparatus
JP2008129969A (en) Power supply backup system and electronic equipment provided with the same
JP2007233852A (en) USB connection device
JP2001242969A (en) Uninterruptible power system
JP2014225821A (en) Image forming apparatus, control method of image forming apparatus, and program
CN119628978A (en) ECU energy-saving control method, device, equipment and storage medium
KR20090009048A (en) Data storage system using flash memory and RAM