JP2018116342A - Program, power management device, and power management method - Google Patents

Program, power management device, and power management method Download PDF

Info

Publication number
JP2018116342A
JP2018116342A JP2017005025A JP2017005025A JP2018116342A JP 2018116342 A JP2018116342 A JP 2018116342A JP 2017005025 A JP2017005025 A JP 2017005025A JP 2017005025 A JP2017005025 A JP 2017005025A JP 2018116342 A JP2018116342 A JP 2018116342A
Authority
JP
Japan
Prior art keywords
power
power supply
information
dpy
usb cable
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
JP2017005025A
Other languages
Japanese (ja)
Inventor
村上 恵一
Keiichi Murakami
恵一 村上
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017005025A priority Critical patent/JP2018116342A/en
Publication of JP2018116342A publication Critical patent/JP2018116342A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To improve a degree of freedom of power supply for multiple devices.SOLUTION: A program performs processes of: acquiring first information including information indicative of power which a downstream side apparatus requests to be supplied through a second USB cable, to a computer of an apparatus which is connected to an upstream side apparatus through a first USB cable, and connected to the downstream side apparatus through the second USB cable; and transmitting information including the first information and information which indicates the power consumption of the apparatus to the upstream side apparatus, as second information including information indicative of power which requests to be supplied through the first USB cable.SELECTED DRAWING: Figure 16

Description

本発明は、プログラム,電力管理装置,及び電力管理方法に関する。   The present invention relates to a program, a power management apparatus, and a power management method.

Universal Serial Bus(USB)コネクタ及びケーブルは機器の通信及び充電インタフェースとして普及している。通信の高速化および給電の大容量化の要求に応えるため、USB Type-Cケーブル及びコネクタの仕様書(Rev1.1)が、世界標準仕様として発行された。また、USB Type-C仕様とともに、USBによるP2P(Peer to Peer)間での電力供給を行うための規格(プロトコル)であるUSBPD(USB Power Delivery)が改版された。USBPDでは、最大100Wの電力を送ることができる。   Universal Serial Bus (USB) connectors and cables are widespread as device communication and charging interfaces. USB Type-C cable and connector specifications (Rev1.1) were issued as a global standard to meet the demands for higher communication speeds and higher power supply capacities. In addition to the USB Type-C specification, USB PD (USB Power Delivery), which is a standard (protocol) for supplying power between P2P (Peer to Peer) via USB, has been revised. USBPD can send up to 100W of power.

USB Type-Cより前のUSBケーブル仕様では、通信の高速化および電力の大容量化のために、異なるコネクタ形状等の使い分けが行われていた。これに対し、USB Type-C仕様では共通のコネクタが使用される。そのため、一定容量(5V,3A)を超える電力を接続先に供給する場合には、ケーブルと装置の間で能力(Capability)の確認のためのプロトコル(USBPD)に基づき、ケーブルが大容量の電力供給が可能かの確認を行う。また、
電力供給側(source)と電力吸収側(sink)のP2P間で、USBPDを使って、供給可能な電力量と要求する電力量のネゴシエーションを行う。
In USB cable specifications prior to USB Type-C, different connector shapes and the like have been used properly in order to increase communication speed and increase power capacity. In contrast, the USB Type-C specification uses a common connector. Therefore, when power exceeding a certain capacity (5V, 3A) is supplied to the connection destination, the cable has a large capacity based on a protocol (USBPD) for confirming the capability (Capability) between the cable and the device. Check if supply is possible. Also,
Between the P2P on the power supply side (source) and the power absorption side (sink), the amount of power that can be supplied and the required power amount are negotiated using USBPD.

特開2010−244457号公報JP 2010-244457 A 特開2003−216285号公報JP 2003-216285 A

USB Type-C及びUSBPDの仕様に基づき、100Wまでの直流電源を使う機器の電力供給をUSBポートから行うことで、専用ACアダプタが不要となることが期待される。   Based on the specifications of USB Type-C and USBPD, it is expected that a dedicated AC adapter becomes unnecessary by supplying power from a USB port to a device that uses a DC power supply of up to 100 W.

しかし、既存のUSBPD仕様では、電力供給側の機器と電力吸収側の機器との間での情報のやり取りしか規定されていない。このため、機器が多段接続される場合において、下流にある機器と電力供給側の機器とがネゴシエーションできないため、下流にある機器が所望の電力を受電できない。このため、多段に接続された機器に対する電力供給では、上流側の機器が優先され、ユーザの要求によって制御する仕組みがなかった。   However, in the existing USBPD specification, only the exchange of information between the power supply side device and the power absorption side device is defined. For this reason, when the devices are connected in multiple stages, the downstream device and the power supply device cannot be negotiated, so the downstream device cannot receive the desired power. For this reason, in the power supply to the devices connected in multiple stages, the upstream device is given priority, and there is no mechanism to control according to the user's request.

本発明は、複数の機器に対する電力供給の自由度を向上させることのできるプログラム,電力管理装置,及び電力管理方法を提供することを目的とする。   An object of the present invention is to provide a program, a power management apparatus, and a power management method that can improve the degree of freedom of power supply to a plurality of devices.

一つの態様は、上流側の機器と第1のUSBケーブルを介して接続されるとともに、下流側の機器と第2のUSBケーブルを介して接続された機器のコンピュータに、前記下流側の機器が前記第2のUSBケーブルを通じての供給を要求する下流側の要求電力を取得し、前記下流側の要求電力と自機器の要求電力とを前記上流側の機器に送信する処理を実行させるプログラムである。   In one aspect, the downstream device is connected to the upstream device via the first USB cable, and the downstream device is connected to the computer connected to the downstream device via the second USB cable. It is a program for executing a process of acquiring downstream required power requesting supply through the second USB cable and transmitting the downstream required power and the required power of its own device to the upstream device. .

一側面では、複数の機器に対する電力供給の自由度を向上させることができる。   In one aspect, the degree of freedom of power supply to a plurality of devices can be improved.

図1はUSBを用いた電力供給システムの例を示す。FIG. 1 shows an example of a power supply system using USB. 図2はUSBを用いた電力供給システムの例を示す。FIG. 2 shows an example of a power supply system using USB. 図3はUSBを用いた電力供給システムの例を示す。FIG. 3 shows an example of a power supply system using USB. 図4はUSBPDに基づく機器間のネゴシエーション手順を説明する図である。FIG. 4 is a diagram for explaining a negotiation procedure between devices based on USBPD. 図5は電力供給プロファイルの例を示す。FIG. 5 shows an example of a power supply profile. 図6は電力供給情報管理テーブル(テーブルT1)及びPx電力供給情報管理テーブル(テーブルT2)のデータ構造例を示す図である。FIG. 6 is a diagram showing an example of the data structure of the power supply information management table (table T1) and the Px power supply information management table (table T2). 図7は電力供給情報管理テーブル(テーブルT1)の説明図である。FIG. 7 is an explanatory diagram of a power supply information management table (table T1). 図8はPx電力供給情報管理テーブル(テーブルT2)2の説明図である。FIG. 8 is an explanatory diagram of the Px power supply information management table (table T2) 2. 図9Aは情報端末として動作し得る機器のハードウェア構成例を示す。FIG. 9A shows a hardware configuration example of a device that can operate as an information terminal. 図9Bは機器のハードウェア構成例を示す。FIG. 9B shows a hardware configuration example of the device. 図10は情報端末として動作し得る機器の他のハードウェア構成例を示す。FIG. 10 shows another hardware configuration example of a device that can operate as an information terminal. 図11は周辺機器として動作し得る機器のハードウェア構成例を示す。FIG. 11 shows a hardware configuration example of a device that can operate as a peripheral device. 図12Aは周辺機器として動作し得る機器の他のハードウェア構成例を示す。FIG. 12A shows another hardware configuration example of a device that can operate as a peripheral device. 図12Bは電力供給の経路の最下流に位置する機器を例示する図である。FIG. 12B is a diagram illustrating a device located on the most downstream side of the power supply path. 図13はテーブルの収集及び更新方法の説明図である。FIG. 13 is an explanatory diagram of a table collection and update method. 図14はテーブルの収集及び更新方法の説明図である。FIG. 14 is an explanatory diagram of a table collection and update method. 図15はテーブルの収集及び更新方法の説明図である。FIG. 15 is an explanatory diagram of a table collection and update method. 図16はテーブルの収集及び更新処理の一例を示すフローチャートである。FIG. 16 is a flowchart showing an example of table collection and update processing. 図17はテーブルの収集及び更新処理の一例を示すフローチャートである。FIG. 17 is a flowchart illustrating an example of table collection and update processing. 図18は電力供給システムが図3に示した構成(スター型のトポロジ)を有する場合におけるテーブルの構造を示す。FIG. 18 shows a table structure when the power supply system has the configuration shown in FIG. 3 (star topology). 図19は図1に示すPC1(情報端末)によって表示される電力供給情報画面の一例を示す。FIG. 19 shows an example of a power supply information screen displayed by the PC 1 (information terminal) shown in FIG. 図20は電力供給情報画面の表示項目の管理テーブルのデータ構造例を示す。FIG. 20 shows an example of the data structure of the management table of display items on the power supply information screen. 図21は給電処理の例を示すフローチャートである。FIG. 21 is a flowchart illustrating an example of power supply processing. 図22給電処理の例を示すフローチャートである。22 is a flowchart showing an example of a power supply process. 図23は給電処理の例を示すフローチャートである。FIG. 23 is a flowchart illustrating an example of the power supply process. 図24は再計算処理の一例を示すフローチャートである。FIG. 24 is a flowchart showing an example of the recalculation process. 図25は再計算処理の一例を示すフローチャートである。FIG. 25 is a flowchart showing an example of the recalculation process. 図26は再計算処理の一例を示すフローチャートである。FIG. 26 is a flowchart showing an example of the recalculation process. 図27はスター型の場合の電力供給情報画面の例を示す。FIG. 27 shows an example of a power supply information screen in the case of a star type.

以下、図面を参照して、本発明の実施形態について説明する。実施形態の構成は例示であり、本発明は実施形態の構成に限定されない。   Embodiments of the present invention will be described below with reference to the drawings. The configuration of the embodiment is an exemplification, and the present invention is not limited to the configuration of the embodiment.

〔USBを用いた電力供給システム〕
図1,図2,図3は、USBを用いた電力供給システムの例を示す。電力供給システムは、電力供給源(大元)となる機器にUSBケーブルを介して接続される複数の機器を含む。複数の機器は、大元の機器から直接に、或いは他の機器を介して電力供給を受ける受
電側の機器とを含む。
[Power supply system using USB]
1, 2 and 3 show examples of a power supply system using USB. The power supply system includes a plurality of devices connected via a USB cable to a device serving as a power supply source (source). The plurality of devices include a power receiving device that receives power supply directly from the original device or via another device.

図1は、機器が多段接続されたトポロジを有する電力供給システムの一例を示す。多段接続は、カスケード接続、直列接続、デイジーチェイン接続を含む。図2及び図3は、機器がスター接続されたトポロジを有する電力供給システムの例を示す。   FIG. 1 shows an example of a power supply system having a topology in which devices are connected in multiple stages. Multistage connections include cascade connections, series connections, and daisy chain connections. 2 and 3 show an example of a power supply system having a topology in which devices are star-connected.

図1では、ACアダプタ1aを介して商用電源からの電力を受電するパーソナルコンピュータ(PC)1に、ディスプレイ2(DPY#1)がUSBケーブル3(3a)を介して接続されている。DPY#1に対し、別のディスプレイ2(DPY#2)がUSBケーブル3(3b)を介して接続されている。   In FIG. 1, a display 2 (DPY # 1) is connected via a USB cable 3 (3a) to a personal computer (PC) 1 that receives power from a commercial power supply via an AC adapter 1a. Another display 2 (DPY # 2) is connected to DPY # 1 via a USB cable 3 (3b).

DPY#1は動作用の電力をPC1からUSBケーブル3を介して受電し、DPY#2は動作用の電力をDPY1からUSBケーブル3を介して受電する。PCは、ラップトップ型でもデスクトップ型でもタブレット型でも良い。実施形態はPC1がラップトップである場合を例示する。   DPY # 1 receives power for operation from the PC 1 via the USB cable 3, and DPY # 2 receives power for operation from the DPY 1 via the USB cable 3. The PC may be laptop, desktop or tablet. The embodiment exemplifies a case where the PC 1 is a laptop.

PC1が大元の機器に該当し、DPY#1及びDPY#2が受電側の機器に相当する。但し、P2Pの関係では、PC1が電力供給側(ソース)でありDPY#1が電力吸収側(シンク)である。また、DPY#1が電力供給側(ソース)でありDPY#2が電力吸収側(シンク)である。   PC1 corresponds to the original device, and DPY # 1 and DPY # 2 correspond to the power receiving device. However, in the relationship of P2P, PC1 is the power supply side (source) and DPY # 1 is the power absorption side (sink). DPY # 1 is the power supply side (source), and DPY # 2 is the power absorption side (sink).

図2の例では、ACアダプタ1aを介して商用電源からの電力を受電するPC1に、ディスプレイ(DPY)2,サーバ4,プリンタ5,HDD6のそれぞれがUSBケーブル3を介して接続される。これらは、PC1からUSBケーブルを介して供給される電力を受けて動作する。PC1が大元の機器に該当し、残りが受電側の機器に該当する。また、P2Pの関係では、PC1がソースであり、残りの機器のそれぞれがシンクに該当する。   In the example of FIG. 2, the display (DPY) 2, the server 4, the printer 5, and the HDD 6 are connected via the USB cable 3 to the PC 1 that receives power from the commercial power supply via the AC adapter 1 a. These operate by receiving power supplied from the PC 1 via the USB cable. PC1 corresponds to the original device, and the rest corresponds to the power receiving device. In the P2P relationship, PC1 is the source and each of the remaining devices corresponds to the sink.

図3の例では、ACアダプタ1aを介して商用電源からの電力を受電するUSBハブ(HUB)7に、PC1,携帯電話8,複数のHDD6(HDD#1,HDD#2)のそれぞれがUSBケーブル3を介して接続されている。携帯電話8は、スマートフォン,フィーチャーフォン,固定電話を含み得る。   In the example of FIG. 3, a PC 1, a mobile phone 8, and a plurality of HDDs 6 (HDD # 1, HDD # 2) are connected to a USB hub (HUB) 7 that receives power from a commercial power supply via the AC adapter 1a. They are connected via a cable 3. The mobile phone 8 may include a smartphone, a feature phone, and a fixed phone.

USBPDの改版前では、HUB7はUSBPDに基づくデータ通信のホストとなることができないため、電力供給側の機器となることができなかった。しかし、現行のUSB Type-C及びUSBPDの仕様によれば、HUB7とPC1とのネゴシエーションにおいてホストの役割を交換(スワップ)することで、HUB7が通信のホスト及び電力供給元(大元の機器)として動作することができる。   Prior to the revision of USBPD, HUB7 could not be a host for data communication based on USBPD, so it could not be a device on the power supply side. However, according to the specifications of the current USB Type-C and USBPD, the HUB 7 exchanges (swaps) the role of the host in the negotiation between the HUB 7 and the PC 1 so that the HUB 7 communicates with the power supply source (large source device). Can work as.

図1〜図3に示したPC,DPY,サーバ,プリンタ,HDD,HUBは「機器」の一例である。「機器」は、「デバイス」,「装置」とも呼ばれる。「機器」には、上記の例示以外に、受電用のUSBポートを有する様々な機器を含み得る。例えば、機器は、HDD以外の記録媒体(例えばディスク記録媒体(DVD,ブルーレイ))のドライブ装置,や通信装置(l2/L3スイッチ、ルータなど),入力装置(マウス,スキャナなど)を含み得る。   The PC, DPY, server, printer, HDD, and HUB shown in FIGS. 1 to 3 are examples of “apparatus”. “Equipment” is also called “device” or “apparatus”. The “device” may include various devices having a power receiving USB port in addition to the above example. For example, the device may include a drive device for a recording medium other than the HDD (for example, a disk recording medium (DVD, Blu-ray)), a communication device (such as an I2 / L3 switch or a router), or an input device (such as a mouse or a scanner).

図1に示すPC1は「上流側の機器」の一例であり、DPY#1が「機器」の一例であり、DPY#2は「下流側の機器」である。多段接続の段数は3以上であっても良い。また、USBケーブル3aが「第1のUSBケーブル」の一例であり、USBケーブル3bが「第2のUSBケーブル」の一例である。DPY#1が及びDPY#2は電力供給源(例えばPC1)に多段接続された「複数の機器」の一例である。DPY#1は「電力管理
装置」の一例である。
1 is an example of “upstream device”, DPY # 1 is an example of “device”, and DPY # 2 is “downstream device”. The number of stages of multistage connection may be three or more. The USB cable 3a is an example of a “first USB cable”, and the USB cable 3b is an example of a “second USB cable”. DPY # 1 and DPY # 2 are examples of “plural devices” connected in multiple stages to a power supply source (for example, PC1). DPY # 1 is an example of a “power management apparatus”.

電力供給の大元の機器であるPC1は「電力供給源」の一例である。DPY#1及びDPY#2は「複数の機器」の一例である。図2の例では、PC1が「電力供給源」、「或る機器」の一例である。図2におけるディスプレイ(DPY)2,サーバ4,プリンタ5,HDD6は「複数の機器」の一例である。図3の例では、HUB7が「電力供給源」の一例である。PC1,携帯電話8,HDD#1,HDD#2が「複数の機器」の一例となる。   The PC 1 which is a major device for power supply is an example of a “power supply source”. DPY # 1 and DPY # 2 are examples of “plural devices”. In the example of FIG. 2, the PC 1 is an example of “power supply source” and “certain device”. The display (DPY) 2, the server 4, the printer 5, and the HDD 6 in FIG. 2 are examples of “plural devices”. In the example of FIG. 3, the HUB 7 is an example of “power supply source”. The PC 1, the mobile phone 8, the HDD # 1, and the HDD # 2 are examples of “a plurality of devices”.

以下の説明において、USBケーブル3の両端には、USB Type-Cのコネクタ(プラグ)が設けられており、機器は、USB Type-Cのソケット(ポート)を有している。USB Type-Cのコネクタ(プラグ)は、複数のコネクタピンを有している。複数のコネクタピンのうち、CC(Configuration Channel)ピン(CCライン)を用いて、通信用のデータが送受
信される。また、複数のコネクタピンのうちのVBUSピン(VBUSライン)が給電に使用される。
In the following description, USB Type-C connectors (plugs) are provided at both ends of the USB cable 3, and the device has a USB Type-C socket (port). The USB Type-C connector (plug) has a plurality of connector pins. Communication data is transmitted and received using a CC (Configuration Channel) pin (CC line) among the plurality of connector pins. Further, a VBUS pin (VBUS line) among the plurality of connector pins is used for power feeding.

図4は、USBPDに基づく機器間のネゴシエーション手順を説明する図であり、図5は、電力供給プロファイルの例を示す。例えば、図1に示すPC1(供給側)にDPY#1(受電側)がUSBケーブル3を用いて接続されたと仮定する。   FIG. 4 is a diagram for explaining a negotiation procedure between devices based on USBPD, and FIG. 5 shows an example of a power supply profile. For example, it is assumed that DPY # 1 (power receiving side) is connected to the PC 1 (supply side) shown in FIG.

PC1では、USBケーブル3の接続を検知すると、DPY#1へ通信用の電力(例えば5V、500mA)を供給する。電力を受けて起動したDPY#1に対し、PC1は、供給できる電力の電力プロファイルを送信する(capability の送信)。電力プロファイ
ルは、図5に示すように、受電側の要求電力に応じた上限電力の異なる複数の給電パターンである。PC1は、自身が供給可能な1以上の電力プロファイルの情報を送る。このようなメッセージの送受信は上記したCCラインを用いて行われる。
When detecting the connection of the USB cable 3, the PC 1 supplies communication power (for example, 5 V, 500 mA) to the DPY # 1. The PC 1 transmits a power profile of power that can be supplied to DPY # 1 activated by receiving power (capability transmission). As shown in FIG. 5, the power profile is a plurality of power feeding patterns having different upper limit powers according to the power required on the power receiving side. The PC 1 sends information on one or more power profiles that it can supply. Such message transmission / reception is performed using the CC line.

DPY#1は、電力プロファイルからDPY#1が所望する電力プロファイルを選択した結果(例えば20V,5A)を含む要求(request)を送信する。PC1は要求の承認
(Accept)をDPY#1に送信する。PC1は、要求された電力をVBUSラインで供給する準備を行い、準備が完了すると、完了通知(PS Ready)をDPY#1に送る。完了通知の受信後、電力の供給が開始され、DPY#1は、PC1から供給される電力を用いて動作することができる。
DPY # 1 transmits a request including a result (for example, 20V, 5A) of selecting a power profile desired by DPY # 1 from the power profile. The PC 1 transmits a request acceptance (Accept) to the DPY # 1. The PC 1 prepares to supply the requested power through the VBUS line. When the preparation is completed, the PC 1 sends a completion notification (PS Ready) to the DPY # 1. After receiving the completion notification, the supply of power is started, and DPY # 1 can operate using the power supplied from PC1.

現行のUSBPDの仕様では、P2P(Peer to Peer)通信によるネゴシエーションしか規定されておらず、多段接続において、電力供給元の機器と直接に接続されていない機器(図1の例ではPC1とDPY#2)は直接にネゴシエーションを行うことができない。   In the current USBPD specification, only negotiation by P2P (Peer to Peer) communication is defined, and in a multistage connection, a device that is not directly connected to a power supply device (in the example of FIG. 1, PC1 and DPY # 2) cannot be negotiated directly.

例えば、図1の例では、PC1とDPY#1とがネゴシエーションを行った後に、DPY#1とDPY#2とがネゴシエーションを行う。これによって、DPY#1がDPY#1の要求電力とDPY#1自身の要求電力との合計を取得する。DPY#1は取得した合計をPC1に要求する再ネゴシエーションを行い、合計に対応する電力を受電する。このようにして、DPY#1はDPY#2が要求する電力をDPY#2に供給するともに、自身が要求した電力を消費して動作していた。   For example, in the example of FIG. 1, after PC1 and DPY # 1 negotiate, DPY # 1 and DPY # 2 negotiate. Thereby, DPY # 1 obtains the sum of the requested power of DPY # 1 and the requested power of DPY # 1 itself. DPY # 1 performs renegotiation for requesting the acquired total to PC1, and receives power corresponding to the total. In this way, DPY # 1 supplies the power requested by DPY # 2 to DPY # 2 and operates while consuming the power requested by itself.

ところが、接続の段数が増加して、多段接続された機器の要求する電力の合計が電力供給元から供給可能な電力の上限を超える場合には、末端の機器まで十分な電力が供給されず、末端の機器が動作できなくなる場合があった。この場合、末端の機器の使用を所望する場合には、機器の接続順を変更すること(機器のつなぎ替え)が要求されていた。   However, when the number of connected stages increases and the total power required by the devices connected in multiple stages exceeds the upper limit of power that can be supplied from the power supply source, sufficient power is not supplied to the terminal device, In some cases, the end device could not operate. In this case, when it is desired to use the terminal device, it is required to change the connection order of the devices (device reconnection).

また、図2、図3に示すようなスター接続の場合では、PC1(HUB7)は、接続された順序で各機器とネゴシエーションを行い、各機器に要求された電力を供給する。しかし、或る機器が接続された時点で要求される電力の合計値がPC1(HUB7)から供給可能な電力の上限に達している場合、及び或る機器が電力の要求を行うと合計が上記した上限に達する場合には、或る機器は電力供給を受けることができない。このため、或る機器の使用を所望する場合には、例えば未使用の機器の接続を解除し、或る機器を接続するつなぎ替え作業が要求されていた。   In the case of star connection as shown in FIG. 2 and FIG. 3, the PC 1 (HUB 7) negotiates with each device in the order of connection, and supplies the required power to each device. However, when the total power required when a certain device is connected reaches the upper limit of power that can be supplied from the PC 1 (HUB 7), and when a certain device requests power, the total is If the upper limit is reached, a certain device cannot receive power. For this reason, when it is desired to use a certain device, for example, a connection change operation for disconnecting an unused device and connecting a certain device is required.

上記したつなぎ直し作業及びつなぎ替え作業は繁雑であった。特に、スター型の場合、接続(ネゴシエーション)の順序は見た目から不明であるので、つなぎ替え作業がさらに煩雑となる可能性があった。以下、ユーザによる複数の機器に対する電力供給の自由度を高めるために、USBケーブルを用いた複数の機器に対する電力供給状況を把握でき、上記したような煩雑さを回避し得る実施形態について説明する。   The above-described reconnection work and reconnection work are complicated. In particular, in the case of a star type, since the order of connection (negotiation) is unknown from the appearance, there is a possibility that the switching operation becomes more complicated. Hereinafter, in order to increase the degree of freedom of power supply to a plurality of devices by a user, an embodiment in which the power supply status for a plurality of devices using a USB cable can be grasped and the above-described complexity can be avoided will be described.

実施形態に係る電力管理方法では、電力供給システムを形成する複数の機器のそれぞれが、電力供給の大元の機器の電源がオン(ON)のときに、USBPDプロトコル処理(接続機器とのネゴシエーション)の前に、下記の処理を行う。   In the power management method according to the embodiment, each of a plurality of devices that form a power supply system performs USB PD protocol processing (negotiation with a connected device) when the power supply source device is turned on. Before the following processing is performed.

(1)各機器は、自装置の電力管理は、電力供給情報管理テーブル(以下、テーブルT1と称する)を用いて行う。
(2)自装置のUSBポートに接続された、電力供給路において自装置より下流にある機器の電力管理は、Px電力供給情報管理テーブル(以下テーブルT2と称する)を用いて行う。
(1) Each device performs power management of its own device using a power supply information management table (hereinafter referred to as table T1).
(2) Power management of a device connected to the USB port of the own device and downstream of the own device in the power supply path is performed using a Px power supply information management table (hereinafter referred to as table T2).

(3)電力供給路における最下流の機器から順に、上流側の機器が下流側の機器の有するテーブルT1を取得し、下流側の機器が接続されたUSPポート番号と対応するテーブルT2にリンクさせる。下流側の機器のテーブルT1を取得した上流側の機器は、下流側の機器のテーブルT1を用いて、自装置のテーブルT1及びテーブルT2に記憶される情報の更新を行う。上流側の機器は、さらに上流側にある機器に下流側の機器のテーブルT1と自機器のテーブルT1(テーブルT2を含む)を送信する。   (3) In order from the most downstream device in the power supply path, the upstream device acquires the table T1 of the downstream device and links to the table T2 corresponding to the USP port number to which the downstream device is connected. . The upstream device that has acquired the downstream device table T1 updates the information stored in the table T1 and the table T2 of the own device using the downstream device table T1. The upstream device transmits the table T1 of the downstream device and the table T1 of its own device (including the table T2) to the device further upstream.

(4)上記(3)の処理が、電力供給路の下流から上流に向かって行われることで、電力供給の大元の機器は、自装置と直接に、又は他の機器を介して接続された機器の全てのテーブルT1(テーブルT1の集合)を取得する。テーブルT1はツリー状に管理されることができる。   (4) Since the process of (3) is performed from the downstream side to the upstream side of the power supply path, the source device of the power supply is directly connected to the own device or via another device. All tables T1 (a set of tables T1) of the devices are acquired. The table T1 can be managed in a tree shape.

(5)複数の機器のうち、ユーザとのインタフェース(User Interface:UI)を有する機器(情報端末と称する)は、上記テーブルT1の集合(電力管理情報)に基づく画面情報を生成し、表示できる。ユーザは、画面情報を参照して、各機器へ供給する電力を決定することができる。すなわち、各機器への供給電力が制御される。例えば、図1〜3の例では、PC1が情報端末(情報処理装置)の一例となる。但し、情報端末(情報処理装置)は、電力供給源及び複数の機器から独立した情報処理装置であっても良い。   (5) Among a plurality of devices, a device (referred to as an information terminal) having a user interface (UI) can generate and display screen information based on the set (power management information) of the table T1. . The user can determine the power to be supplied to each device with reference to the screen information. That is, the power supplied to each device is controlled. For example, in the examples of FIGS. 1 to 3, the PC 1 is an example of an information terminal (information processing apparatus). However, the information terminal (information processing apparatus) may be an information processing apparatus independent of the power supply source and the plurality of devices.

情報端末で決定された、各機器へ供給する電力の情報は、各機器に通知される。各機器は、上流側の機器とのネゴシエーションにおいて、通知された電力を要求する。これによって、各機器がユーザによって調整された電力を受ける状態とすることができる。例えば、多段接続された複数の機器のうち、ユーザによって選択された機器の消費電力が所定値に低下し、選択された機器が受電した電力を下流の機器に供給するように調整できる。   Information on the power supplied to each device determined by the information terminal is notified to each device. Each device requests the notified power in the negotiation with the upstream device. Thereby, each device can be in a state of receiving power adjusted by the user. For example, the power consumption of a device selected by a user among a plurality of devices connected in multiple stages can be adjusted to be reduced to a predetermined value, and the power received by the selected device can be supplied to a downstream device.

これによって、多段接続された複数の機器において、USBケーブルのつなぎ替えを行わなくとも、所望の機器へ要求される電力を供給することができる。したがって、つなぎ替えの手間を回避することができる。別の観点からは、従前では、結果的に、上流から順、或いは接続順に選択されていた給電対象の機器の選択の自由度が向上するという利点もある。   As a result, in a plurality of devices connected in multiple stages, the required power can be supplied to the desired device without changing the USB cable. Therefore, it is possible to avoid the trouble of reconnection. From another point of view, there is an advantage that the degree of freedom of selection of a power supply target device that has been selected in order from the upstream or in the order of connection is improved.

<テーブル構成>
図6は電力供給情報管理テーブル(テーブルT1)及びPx電力供給情報管理テーブル(テーブルT2)のデータ構造例を示す図であり、図7はテーブルT1の説明図であり、図8はテーブルT2の説明図である。
<Table configuration>
6 is a diagram showing an example of the data structure of the power supply information management table (table T1) and the Px power supply information management table (table T2), FIG. 7 is an explanatory diagram of the table T1, and FIG. It is explanatory drawing.

テーブルT1は、各機器における電力供給情報を記憶する。テーブルT1は、許容入力電力(項番1),許容入力電圧(項番2),機器種別(項番3),自消費電力(項番4),要求電圧(項番5),要求電力(項番6)を記憶するフィールド(エントリ)を有する。さらに、テーブルT1は、機器が有するUSPポート毎のPx電力供給情報管理テーブル(テーブルT2)を記憶するフィールド(項番7〜10)を有する。「Px」はUSBポートを意味し、xはUSBポート番号を示す整数である。実施形態の例では、機器は4つのUSBポートP1〜P4を有しており、各USBポートP1〜P4に対応するフィールドが設けられている。テーブルT2を記憶するフィールドは、USBポートの数に応じて設けられる。   The table T1 stores power supply information in each device. Table T1 shows allowable input power (No. 1), allowable input voltage (No. 2), device type (No. 3), self-consumption power (No. 4), required voltage (No. 5), required power ( It has a field (entry) for storing item number 6). Further, the table T1 has fields (item numbers 7 to 10) for storing a Px power supply information management table (table T2) for each USP port of the device. “Px” means a USB port, and x is an integer indicating a USB port number. In the example of the embodiment, the device has four USB ports P1 to P4, and a field corresponding to each USB port P1 to P4 is provided. The field for storing the table T2 is provided according to the number of USB ports.

図7に示すように、許容入力電力は、ソース側の機器(source側デバイス)から許可された入力電力を指し、許容入力電圧は、ソース側の機器から許可された入力電圧を指す。機器種別は、機器が情報端末か周辺装置かを示す。情報端末は電力供給情報を出力可能なUIを有する機器を示し、周辺装置は情報端末以外の機器を示す。機器種別として機器の名称を設定することもできる。   As illustrated in FIG. 7, the allowable input power indicates the input power permitted from the source side device (source side device), and the allowable input voltage indicates the input voltage permitted from the source side device. The device type indicates whether the device is an information terminal or a peripheral device. The information terminal indicates a device having a UI capable of outputting power supply information, and the peripheral device indicates a device other than the information terminal. The name of the device can also be set as the device type.

自消費電力は、自装置の消費電力値を示す。要求電圧は、供給元へ要求する電圧値を示す。要求電力は、新たに要求する電力(電圧、電流)の最大値を示す。P1電力供給情報は、電力供給可能なUSBポート番号1の電力供給情報を示し、USBポート番号1のUSBポートに接続された機器に係るテーブルT2が記憶される。P2〜P4電力供給情報として、対応するUSBポートに接続された機器に係る電力供給情報が記憶される。   The self-power consumption indicates the power consumption value of the self-device. The required voltage indicates a voltage value requested from the supply source. The required power indicates a maximum value of newly requested power (voltage, current). The P1 power supply information indicates power supply information of USB port number 1 that can supply power, and stores a table T2 related to a device connected to the USB port of USB port number 1. As P2 to P4 power supply information, power supply information related to a device connected to the corresponding USB port is stored.

Px電力供給情報管理テーブル(テーブルT2)は、USBポート番号Pxの電力供給情報と、P2P間で通信されるUSBPDのネゴシエーション情報を管理するテーブルである。テーブルT2は、図8に示すように、現在供給電力(項番1)と、供給電圧(項番2)と、現在要求電力(項番3)と、要求電圧(項番4)と、新要求電力(項番5)とを記憶するフィールドを有する。テーブルT2は、さらに、USB接続ON/OFF(項番6)と、USBケーブル情報(項番7)と、スペック供給電圧(項番8)と、スペック供給電力(最大値)(項番9)とを記憶するフィールドを有する。さらに、テーブルT2は、接続可否(項番10)と、下位電力供給情報リンクインデックス(項番11)とを記憶するフィールドを有する。   The Px power supply information management table (table T2) is a table for managing the power supply information of the USB port number Px and the negotiation information of USB PD communicated between P2P. As shown in FIG. 8, the table T2 includes a current supply power (item number 1), a supply voltage (item number 2), a current request power (item number 3), a request voltage (item number 4), a new It has a field for storing required power (item number 5). The table T2 further includes USB connection ON / OFF (item number 6), USB cable information (item number 7), specification supply voltage (item number 8), specification supply power (maximum value) (item number 9). And a field for storing. Further, the table T2 includes fields for storing connection availability (item number 10) and a lower power supply information link index (item number 11).

現在供給電力は、該当するUSBポートから現在供給可能な電力の値(電圧、電流)を
示す。供給電圧は、該当するUSBポートから供給可能な電圧値を示す。現在要求電力は、該当するUSBポートに繋がった機器(デバイス)から要求された電力値(電圧、電流
)を示す。要求電圧は、該当するUSBポートから要求された電圧値を示す。新要求電力は、該当するUSBポートに繋がった機器(デバイス)から新たに要求された電力値(電
圧、電流)を示す。
The current supply power indicates the value (voltage, current) of power that can be supplied from the corresponding USB port. The supply voltage indicates a voltage value that can be supplied from the corresponding USB port. The current required power indicates a power value (voltage, current) requested from a device (device) connected to the corresponding USB port. The required voltage indicates a voltage value requested from the corresponding USB port. The new required power indicates a power value (voltage, current) newly requested from a device (device) connected to the corresponding USB port.

USB接続ON/OFFは、該当するUSBポートの接続状態(ON/OFF)を示す。USBケーブル情報は、該当するUSBポートに接続されたUSBケーブル情報を示す。スペック供給電圧は、該当するUSBポートのスペック電圧値を示す。スペック供給電力(最大値)は、該当するUSBポートのスペック供給電力の最大値(電圧、電流)を示
す。接続可否は、該当するUSBポートからの給電が可能かを示す。下位電力供給情報リンクインデックスは、電力吸収側(sink側)の機器(デバイス)の電力供給情報へのインデックスを示す。
USB connection ON / OFF indicates the connection state (ON / OFF) of the corresponding USB port. The USB cable information indicates USB cable information connected to the corresponding USB port. The specification supply voltage indicates the specification voltage value of the corresponding USB port. The spec supply power (maximum value) indicates the maximum value (voltage, current) of the spec supply power of the corresponding USB port. The connectability indicates whether power can be supplied from the corresponding USB port. The lower power supply information link index indicates an index to the power supply information of the device (device) on the power absorption side (sink side).

<機器構成>
次に、電力供給システムを形成する機器のハードウェア構成について説明する。図9Aは情報端末、例えば図1に示したPC1(ラップトップ)として使用可能な機器のハードウェア構成例を示す。機器10は、情報端末として使用できる。図9Aにおいて、機器10は、バスBを介して相互に接続された、CPU11,メモリ12,入力装置13,通信インタフェース(通信IF)14,ディスプレイ15を含む。
<Equipment configuration>
Next, a hardware configuration of devices forming the power supply system will be described. FIG. 9A shows a hardware configuration example of an apparatus that can be used as an information terminal, for example, the PC 1 (laptop) shown in FIG. The device 10 can be used as an information terminal. 9A, the device 10 includes a CPU 11, a memory 12, an input device 13, a communication interface (communication IF) 14, and a display 15 that are connected to each other via a bus B.

メモリ12は、主記憶装置と補助記憶装置とを含む。主記憶装置は、プログラムの展開領域,データやプログラムの記憶領域,プログラムの展開領域,CPU11の作業領域,通信データのバッファなどとして使用される。主記憶装置は、例えば、例えばRandom Access Memory(RAM),或いはRAMとRead Only Memory(ROM)との組み合わせで形成される。補助記憶装置は、データやプログラムの記憶領域として使用される。補助記憶装置は、例えば、例えば、ハードディスクドライブ(HDD),Solid State Drive(S
SD),フラッシュメモリ,Electrically Erasable Programmable Read-Only Memory(
EEPROM)などの不揮発性記憶媒体で形成される。
The memory 12 includes a main storage device and an auxiliary storage device. The main storage device is used as a program development area, a data and program storage area, a program development area, a CPU 11 work area, a communication data buffer, and the like. The main storage device is formed by, for example, a random access memory (RAM) or a combination of a RAM and a read only memory (ROM). The auxiliary storage device is used as a storage area for data and programs. The auxiliary storage device is, for example, a hard disk drive (HDD), Solid State Drive (S
SD), flash memory, Electrically Erasable Programmable Read-Only Memory (
It is formed of a non-volatile storage medium such as an EEPROM.

ディスプレイ15は、情報やデータを表示する。入力装置13は、情報の入力に使用される。入力装置13は、例えば、キー,ボタン,ポインティングデバイス(マウスなど),タッチパネルなどである。入力装置13及びディスプレイ15によって、ユーザインタフェース(UI)が提供される。通信IF14は通信処理を行う回路である。例えばネットインタフェースカード(NIC)を適用できる。   The display 15 displays information and data. The input device 13 is used for inputting information. The input device 13 is, for example, a key, a button, a pointing device (such as a mouse), or a touch panel. A user interface (UI) is provided by the input device 13 and the display 15. The communication IF 14 is a circuit that performs communication processing. For example, a net interface card (NIC) can be applied.

機器10は、USBケーブル3のコネクタ(プラグ)と接続される単数または複数のUSBポートPと、ポートPに接続されたUSBケーブル3(USB Type-3)と電気的に接続されるICチップ(メモリ含む)20とを含む。   The device 10 includes one or a plurality of USB ports P connected to the connector (plug) of the USB cable 3 and an IC chip (USB Type-3) connected to the port P, which is electrically connected to the IC chip ( 20).

ICチップ20は、USBPDに従った電力供給の管理を行う。ICチップ20は、ICチップ20内のメモリに記憶されたプログラムを実行するプロセッサを含んでいる。もっとも、ICチップ20で行われる処理は、ハードウェアロジックによって実行されても良い。ICチップ20に含まれるメモリには、プログラム,プログラムの実行において使用されるデータが記憶される。データは、テーブルT1,テーブルT2,テーブルTT3(図20)などのテーブルの情報を含む。   The IC chip 20 manages power supply according to USBPD. The IC chip 20 includes a processor that executes a program stored in a memory in the IC chip 20. However, the processing performed by the IC chip 20 may be executed by hardware logic. The memory included in the IC chip 20 stores a program and data used in executing the program. The data includes table information such as table T1, table T2, and table TT3 (FIG. 20).

ICチップ20は、少なくともCC線及びVBUS線でUSBケーブル3と接続される。CC線は、USBPDの通信(ネゴシエーション)に使用される。VBUS線は電源供給ラインとして使用される。   The IC chip 20 is connected to the USB cable 3 through at least a CC line and a VBUS line. The CC line is used for USBPD communication (negotiation). The VBUS line is used as a power supply line.

ICチップ20は、CPU11による機器10(PC1)の動作から独立して、USBを用いた電力供給に係る処理を行う。但し、ICチップ20は、バスBに接続されており、CPU11にデータとコマンドとを渡し、処理を依頼することができる。例えば、ICチップ20は、電力供給情報をCPU11に渡し、電力供給情報をディスプレイ15に表示するコマンドをCPU11に与える。   The IC chip 20 performs processing related to power supply using the USB independently of the operation of the device 10 (PC1) by the CPU 11. However, the IC chip 20 is connected to the bus B, and can pass data and commands to the CPU 11 to request processing. For example, the IC chip 20 passes power supply information to the CPU 11 and gives the CPU 11 a command for displaying the power supply information on the display 15.

さらに、機器10は、電源回路21を有している。電源回路21はAC電源(例えば商用電源)からACアダプタ1aを介して提供される電力を機器10の各部(CPU11,メモリ12,入力装置13,通信IF14,ディスプレイ15,ICチップ20)に給電線22を介して供給する。   Furthermore, the device 10 has a power supply circuit 21. The power supply circuit 21 feeds power supplied from an AC power supply (for example, commercial power supply) via the AC adapter 1a to each unit (CPU 11, memory 12, input device 13, communication IF 14, display 15, IC chip 20) of the device 10. 22 to supply.

図9Aに示す機器10では、USBポートが1つの場合を図示している。これに対し、図10に示す機器10Aのように、複数のUSPポートPを有していても良い。機器10Aは、例えば、図2に示したPC1として使用し得る。なお、図3に示すPC1として、図9Bに示すような機器10を適用し得る。   In the device 10 shown in FIG. 9A, a case where there is one USB port is illustrated. On the other hand, you may have several USP port P like the apparatus 10A shown in FIG. The device 10A can be used, for example, as the PC 1 shown in FIG. Note that a device 10 as shown in FIG. 9B can be applied as the PC 1 shown in FIG.

図9Bに示す機器10は、図9Aに示す機器10と同じ構成を有する。但し、ケーブル3から電力の供給を受ける。この場合、電源回路21及びACアダプタ1aを介してAC電源からの電力を受ける構成は図9Bに示す機器10から省略することができる。   The device 10 illustrated in FIG. 9B has the same configuration as the device 10 illustrated in FIG. 9A. However, power is supplied from the cable 3. In this case, the configuration for receiving power from the AC power supply via the power supply circuit 21 and the AC adapter 1a can be omitted from the device 10 shown in FIG. 9B.

図11は、周辺機器として動作し得る機器10Bのハードウェア構成例を示す。図11において、機器10Bは、バスBを介して相互に接続されたCPU11,メモリ12,回路及び装置16を含む。回路及び装置16は、機器の目的に合致する回路及び装置16を含む。例えば、機器10Bがディスプレイ2である場合には、回路及び装置16は、液晶パネルと、液晶パネルを駆動させて所望の画像等を液晶パネルに表示する表示回路を含む。   FIG. 11 illustrates a hardware configuration example of the device 10B that can operate as a peripheral device. In FIG. 11, the device 10 </ b> B includes a CPU 11, a memory 12, a circuit, and a device 16 that are connected to each other via a bus B. Circuits and devices 16 include circuits and devices 16 that meet the purpose of the instrument. For example, when the device 10B is the display 2, the circuit and device 16 includes a liquid crystal panel and a display circuit that drives the liquid crystal panel to display a desired image or the like on the liquid crystal panel.

機器10Bが、例えばサーバ4である場合には、回路及び装置16は、入力装置13や通信IF14を含む。或いは、機器10BがHDDである場合には、回路及び装置16はHDD及び駆動回路などを含む。機器10Bがプリンタである場合には、回路及び装置16は、印刷機構や印刷機構の制御回路などを含む。   When the device 10 </ b> B is, for example, the server 4, the circuit and device 16 includes the input device 13 and the communication IF 14. Alternatively, when the device 10B is an HDD, the circuit and device 16 includes an HDD and a drive circuit. When the device 10B is a printer, the circuit and device 16 includes a printing mechanism, a printing mechanism control circuit, and the like.

図12Aに示すように、HUB7のような機器10Cは、電源回路21を含み、ACアダプタ1aからの電力を各部に供給する構成を有する。図12Bは電力供給経路の最下流に位置する機器10Dを例示する。一例として、機器10Dは、機器10Bと同様の構成を採り得る。但し、図12Bに示す機器10Dの例では、ケーブル3が接続される1つのUSBポートPを有する。もっとも、USBポートPは2以上あっても良い。   As shown in FIG. 12A, the device 10C such as the HUB 7 includes a power supply circuit 21 and has a configuration for supplying power from the AC adapter 1a to each unit. FIG. 12B illustrates the device 10D located on the most downstream side of the power supply path. As an example, the device 10D may take the same configuration as the device 10B. However, the example of the device 10D shown in FIG. 12B has one USB port P to which the cable 3 is connected. However, there may be two or more USB ports P.

機器10Bは、機器10Aと同様に、バスB及び給電線22と接続されたICチップ20を含む。ICチップ20は、複数のUSBポートPと接続され、各USBポートPに接続されたUSBケーブル3から受電される電力の一部を給電線22に供給したり、他のUSBポートから送電したりする。   The device 10B includes an IC chip 20 connected to the bus B and the power supply line 22 in the same manner as the device 10A. The IC chip 20 is connected to a plurality of USB ports P, and supplies a part of power received from the USB cable 3 connected to each USB port P to the power supply line 22 or transmits power from other USB ports. To do.

図11,図12A,図12Bに示すICチップ20は「コンピュータ」、「取得部」、「送信部」の一例である。なお、メモリ12及びICチップ20中のメモリのそれぞれは、「記憶装置」、「記憶媒体」、「記憶部」の一例である。また、CPU11及びICチップは、「制御装置」,「コントローラ」,「プロセッサ」などの一例である。   The IC chip 20 shown in FIGS. 11, 12A, and 12B is an example of “computer”, “acquisition unit”, and “transmission unit”. Each of the memory 12 and the memory in the IC chip 20 is an example of “storage device”, “storage medium”, and “storage unit”. The CPU 11 and the IC chip are examples of “control device”, “controller”, “processor”, and the like.

<電力情報管理テーブル(テーブルT1)の収集及び更新方法>
次に、電力情報管理テーブル(テーブルT1)の収集及び更新方法について説明する。一例として、電力供給システムが図1に示した構成(トポロジ)を有すると仮定する。
<Method for Collecting and Updating Power Information Management Table (Table T1)>
Next, a method for collecting and updating the power information management table (table T1) will be described. As an example, it is assumed that the power supply system has the configuration (topology) shown in FIG.

以下の説明において、例えば“C(1)6”のような表記を行うことがある。“C”は機器(デバイス)を示す。図1に示す例では、PC1が“Aデバイス(A)”であり、DPY#1が“Bデバイス(B)”であり、DPY#2が“Cデバイス(C)”である。よ
って“C”は、DPY#2を示す。
In the following description, for example, “C (1) 6” may be used. “C” indicates a device. In the example shown in FIG. 1, PC1 is “A device (A)”, DPY # 1 is “B device (B)”, and DPY # 2 is “C device (C)”. Therefore, “C” indicates DPY # 2.

また、“C(1)6”中の“(1)”はテーブルT1(電力供給情報管理テーブル)を示す。“(2)”はテーブルT2(Px電力供給情報管理テーブル)を示す。また、“C(1)6”の“6”(数字)は、テーブル中の項番を示す。よって、“C(1)6”は、Cデバイス(DPY#2)が有するテーブルT1の項番6(要求電力)を示す。   Further, “(1)” in “C (1) 6” indicates a table T1 (power supply information management table). “(2)” indicates a table T2 (Px power supply information management table). Further, “6” (number) of “C (1) 6” indicates an item number in the table. Therefore, “C (1) 6” indicates item number 6 (required power) of the table T1 included in the C device (DPY # 2).

図13,図14,図15は、テーブルの収集及び更新方法の説明図である。また、図16及び図17は、テーブルの収集及び更新処理の一例を示すフローチャートである。フローチャートにおける処理の実行主体は、各デバイス(A,B,C)中のICチップ20である。   FIGS. 13, 14, and 15 are explanatory diagrams of the table collection and update method. 16 and 17 are flowcharts showing an example of table collection and update processing. The execution subject of the processing in the flowchart is the IC chip 20 in each device (A, B, C).

例えば、図1に示すように、PC1にUSBケーブルを介して接続されているDPY#1に、USBケーブルを介してDPY#2が接続された場合を仮定する。この場合、DPY#1のICチップ20がDPY#2の接続を検出し、DPY#2のICチップ20との間で通信を開始する。   For example, as shown in FIG. 1, it is assumed that DPY # 2 is connected to DPY # 1 connected to the PC 1 via a USB cable via a USB cable. In this case, the IC chip 20 of DPY # 1 detects the connection of DPY # 2, and starts communication with the IC chip 20 of DPY # 2.

最下流にあるCデバイス(DPY#2)のICチップ20は、上流側のBデバイス(DPY#1)とのネゴシエーションにおいて、Cデバイスが有するテーブルT1の自消費電力(項番4)を、項番6の「要求電力」に設定する(図13<1>,図16の001)。このとき、自消費電圧と要求電力から要求電流(C(1)4/C(1)5)を求めて設定する。Cデバイスは、テーブルT1をBデバイスに送信(通知)する(図13<2>)。送信(通知)は、USBPDの専用通信線(CCライン)で、独自コマンドを用いて行われる。Cデバイスが送信するテーブルT1は「第1の情報」の一例である。   The IC chip 20 of the C device (DPY # 2) on the most downstream side indicates the self power consumption (item number 4) of the table T1 that the C device has in the negotiation with the upstream B device (DPY # 1). No. 6 “required power” is set (<1> in FIG. 13, 001 in FIG. 16). At this time, the required current (C (1) 4 / C (1) 5) is obtained and set from the self-consumption voltage and the required power. The C device transmits (notifies) the table T1 to the B device (<2> in FIG. 13). Transmission (notification) is performed using a unique command on a dedicated communication line (CC line) of USBPD. The table T1 transmitted by the C device is an example of “first information”.

Bデバイス(DPY#1)のICチップ20は、CデバイスのテーブルT1を取得し、このBデバイスのテーブルT1中の、Cデバイスが接続されたUSBポート番号(例えばP1)に対応するテーブルT2にリンクする(図14<1>,図16の002)。   The IC chip 20 of the B device (DPY # 1) acquires the table T1 of the C device, and in the table T2 corresponding to the USB port number (for example, P1) to which the C device is connected in the table T1 of the B device. Links are made (FIG. 14 <1>, 002 in FIG. 16).

Bデバイス(DPY#1)のICチップ20は、取得したCデバイスのテーブルT1の情報に基づいて、BデバイスのテーブルT1及びテーブルT2を更新する。ICチップ20は、CデバイスのテーブルT1中の自消費電力(C(1)4)と要求電圧(C(1)5)を取得して以下の処理を行う。
i)CデバイスのテーブルT1の要求電圧(項番5:C(1)5)を、BデバイスのテーブルT1のP1電力供給情報管理テーブル(項番7:B(1)7)にコピーする。具体的には、BデバイスのUSBポートP1に対応するテーブルT2の要求電圧(項番4:B(1)7((2)4))に、要求電圧(C(1)5)がコピーされる。また、BデバイスのUSBポートP1に対応するテーブルT2の新要求電力(項番5:B(1)7((2)4))に、要求電力(C(1)6)がコピーされる(図16の003)。
The IC chip 20 of the B device (DPY # 1) updates the table T1 and the table T2 of the B device based on the acquired information of the table T1 of the C device. The IC chip 20 acquires the self-power consumption (C (1) 4) and the required voltage (C (1) 5) in the table T1 of the C device and performs the following processing.
i) The required voltage (item number 5: C (1) 5) in the table T1 of the C device is copied to the P1 power supply information management table (item number 7: B (1) 7) in the table T1 of the B device. Specifically, the required voltage (C (1) 5) is copied to the required voltage (item number 4: B (1) 7 ((2) 4)) in the table T2 corresponding to the USB port P1 of the B device. The Further, the required power (C (1) 6) is copied to the new required power (item number 5: B (1) 7 ((2) 4)) of the table T2 corresponding to the USB port P1 of the B device ( 003 in FIG.

ii)ICチップ20は、Cデバイスの要求電圧(C(1)4)と、BデバイスのUSBポートP1のスペック供給電圧(B(2)8)とを比較し、要求電圧がスペック供給電圧の範囲内かのチェックを行う(図16の004)。チェック結果に基づき、ICチップ20は、テーブルT2の「接続可否」(B(2)10)に、OK又はNGを設定する(図16の006,007)。このとき、NGであれば、以下に説明するiv)の処理へ進む。 ii) The IC chip 20 compares the required voltage (C (1) 4) of the C device with the spec supply voltage (B (2) 8) of the USB port P1 of the B device, and the required voltage is equal to the spec supply voltage. It is checked whether it is within the range (004 in FIG. 16). Based on the check result, the IC chip 20 sets OK or NG in “Connectability” (B (2) 10) of the table T2 (006 and 007 in FIG. 16). At this time, if it is NG, the process proceeds to the process iv) described below.

iii)ICチップ20は、Cデバイスの新要求電力(B(2)5)とBデバイスのUSPポ
ートP1のスペック供給電力(B(2)9)とを比較し、新要求電力がスペック供給電力の範囲内かを判定する(図16の005)。範囲内(OK)又はNGかをテーブルT2の接続可否(項番10:B(2)10)に設定する(図16の006,007)。
iii) The IC chip 20 compares the new required power of the C device (B (2) 5) with the spec supply power (B (2) 9) of the USP port P1 of the B device. (005 in FIG. 16). Within the range (OK) or NG is set in the connection availability (item number 10: B (2) 10) in the table T2 (006 and 007 in FIG. 16).

iv)ICチップ20は、BデバイスのテーブルT1の要求電力(項番6:B(1)6)の計算を行う(図16の008)。要求電力は、自装置消費電力(B(1)4)と下位デバイスからの要求電力との和となる。要求電力は、要求電圧及び要求電流値で表される。 iv) The IC chip 20 calculates the required power (item number 6: B (1) 6) in the table T1 of the B device (008 in FIG. 16). The required power is the sum of the own device power consumption (B (1) 4) and the required power from the lower device. The required power is represented by a required voltage and a required current value.

BデバイスのICチップ20は、図14に示すような、USBポートP1のテーブルT2を含むBデバイスのテーブルT1(CデバイスのテーブルT1を含む)をAデバイス(
PC1)に送信(通知)する(図14<2>)。送信(通知)は、CCライン及び独自コマンドを用いて行われる。CデバイスのテーブルT1を含むBデバイスのテーブルT1は「第2の情報」の一例である。
As shown in FIG. 14, the B device IC chip 20 converts the B device table T1 including the USB port P1 table T2 (including the C device table T1) into the A device (
PC1) is transmitted (notified) (FIG. 14 <2>). Transmission (notification) is performed using a CC line and a unique command. The B device table T1 including the C device table T1 is an example of “second information”.

Aデバイス(PC1)のICチップ20は、BデバイスのテーブルT1(CデバイスのテーブルT1を含む)を、自装置のテーブルT1の、Bデバイスが接続されたUSBポート(P1)のテーブルT2にリンクさせる(図15<1>,図17の009)。   The IC chip 20 of the A device (PC1) links the table T1 of the B device (including the table T1 of the C device) to the table T2 of the USB port (P1) to which the B device is connected in the table T1 of the own device. (009 in FIG. 15).

AデバイスのICチップ20は、取得したBデバイスのテーブルT1の情報を用いて、自装置のテーブルT1と、自装置のテーブルT2とを更新する。ICチップは、Bデバイスの自消費電力と要求電圧を取得して、以下の処理を行う。   The IC chip 20 of the A device updates the table T1 of the own device and the table T2 of the own device using the acquired information of the table T1 of the B device. The IC chip acquires the self-power consumption and required voltage of the B device and performs the following processing.

i)Bデバイスの要求電圧(B(1)5)を、AデバイスのテーブルT1の項番7(P1電力供給管理テーブル(テーブルT2))の要求電圧(A(1)7((2)4)にコピーする。また、Bデバイスの要求電力(B(1)6)を、テーブルT1の項番7(P1対応のテーブルT2)の新要求電力(A(1)7((2)5))にコピーする(図17の010)。 i) The required voltage (B (1) 5) of the B device is changed from the required voltage (A (1) 7 ((2) 4) of item number 7 (P1 power supply management table (table T2)) of the table T1 of the A device. In addition, the required power (B (1) 6) of the B device is replaced with the new required power (A (1) 7 ((2) 5) of item number 7 (table T2 corresponding to P1) of the table T1). ) (010 of FIG. 17).

ii)Bデバイスの要求電圧(B(1)4)とAデバイスのUSPポートP1のスペック供給電圧(A(2)8)とを比較し、要求電圧がスペック供給電圧の範囲内かのチェックを行う(図17の011)。チェック結果(OK/NG)は、AデバイスのテーブルT2の項番10(接続可否)に設定される(図17の013,014)。NGの場合以下のiv)の処理に進む。 ii) Compare the required voltage (B (1) 4) of the B device with the specification supply voltage (A (2) 8) of the USP port P1 of the A device, and check whether the required voltage is within the specification supply voltage range. This is performed (011 in FIG. 17). The check result (OK / NG) is set in item number 10 (connection possibility) in the table T2 of the A device (013, 014 in FIG. 17). In the case of NG, the processing proceeds to the following iv).

iii)Bデバイスの新要求電力(B(1)5)とAデバイスのUSBポートP1のスペッ
ク供給電力(A(2)9)とを比較し、要求電力がスペック供給電力の範囲内かのチェックを行う(図17の012)。チェック結果(OK/NG)は、AデバイスのテーブルT2の項番10(接続可否)に設定される(図17の013,014)。OKの場合以下のiii)の処理へ進み、NGの場合以下のiv)の処理に進む。
iii) Compare the new required power of the B device (B (1) 5) with the spec supply power (A (2) 9) of the USB port P1 of the A device, and check whether the required power is within the spec supply power range (012 in FIG. 17). The check result (OK / NG) is set in item number 10 (connection possibility) in the table T2 of the A device (013, 014 in FIG. 17). In the case of OK, the process proceeds to the following process iii), and in the case of NG, the process proceeds to the following process iv).

iv)AデバイスのテーブルT1の項番6(要求電力値:A(1)6)の計算を行う。要求電力は、自装置消費電力と下位デバイスからの要求電力との和である。要求電力値は、要求電圧と電流値((A(1)4+A(1)7((2)5)のW値)/A(1)5)とで示される(図17の015
)。このようにして、全ての機器の電力供給情報が収集される。
iv) Calculation of item number 6 (required power value: A (1) 6) of the table T1 of the A device is performed. The required power is the sum of the own device power consumption and the required power from the lower device. The required power value is indicated by a required voltage and a current value ((A (1) 4 + A (1) 7 (W value of (2) 5)) / A (1) 5) (015 in FIG. 17).
). In this way, power supply information for all devices is collected.

図18は、電力供給システムが図3に示した構成(スター型のトポロジ)を有する場合におけるテーブルの構造を示す。AC電源と接続された大元の機器であるHUB7で、HUB7に接続された各機器(PC,HDD#1,HDD#2,携帯電話)及びHUB7の電力供給情報が管理される。収集方法は、HUB7(上流側)が各機器(下流側)からテーブルT1を受け取り、自装置のテーブルT2及びテーブルT1を更新することで行われる。収集及び更新方法は、多段接続の場合とほぼ同様であるので説明を省略する。   FIG. 18 shows a table structure when the power supply system has the configuration shown in FIG. 3 (star topology). The power supply information of each device (PC, HDD # 1, HDD # 2, mobile phone) connected to the HUB7 and the HUB7 is managed by the HUB7 which is the original device connected to the AC power supply. The collection method is performed when the HUB 7 (upstream side) receives the table T1 from each device (downstream side) and updates the table T2 and the table T1 of its own apparatus. The collection and update method is almost the same as in the case of multi-stage connection, and thus description thereof is omitted.

<電力供給情報の表示>
大元の機器で収集されたツリー情報のテーブルT1で表現される電力供給管理情報は、情報端末でディスプレイ上に表示される。図1、図2に示す電力供給システムの例では、PC1が大元の機器及び情報端末として、ディスプレイ15に電力供給管理情報を表示する。これに対し、図3に示す電力供給システムの例では、HUB7はUIを有しないので、HUB7はPC1に電力供給管理情報を送信し、PC1のCPU11がICチップ20から電力供給管理情報を受け取って、ディスプレイ15へ表示する処理を行う。
<Display of power supply information>
The power supply management information expressed by the tree information table T1 collected by the original device is displayed on the display by the information terminal. In the example of the power supply system shown in FIGS. 1 and 2, the PC 1 displays power supply management information on the display 15 as a source device and information terminal. On the other hand, in the example of the power supply system shown in FIG. 3, since the HUB 7 does not have a UI, the HUB 7 transmits power supply management information to the PC 1, and the CPU 11 of the PC 1 receives the power supply management information from the IC chip 20. Then, a process of displaying on the display 15 is performed.

図19は、図1に示すPC1(情報端末)によって表示される電力供給情報画面の一例を示す。但し、図19の例では、PC1は4つのUSBポートを有している(図10に示す構成を有する)。図20は、電力供給情報画面の表示項目を管理するテーブル(以下、「項目表T3」或いは「テーブルT3」と称する)のデータ構造例を示す。テーブルT3は例えばメモリ12に記憶される。   FIG. 19 shows an example of a power supply information screen displayed by the PC 1 (information terminal) shown in FIG. However, in the example of FIG. 19, the PC 1 has four USB ports (having the configuration shown in FIG. 10). FIG. 20 shows a data structure example of a table (hereinafter referred to as “item table T3” or “table T3”) for managing display items on the power supply information screen. The table T3 is stored in the memory 12, for example.

画面には、複数の機器で形成されるトポロジが表示される。また、大元の機器に対する入力電力の値が表示される。下流からの要求電力と大元の機器での消費電力との和が入力電力の範囲に収まる場合には、入力電力は第1の色(例えば青色)で表示され、範囲を超える場合には第2の色(赤色)で表示される。   On the screen, a topology formed by a plurality of devices is displayed. In addition, the value of input power for the original device is displayed. When the sum of the required power from the downstream and the power consumption of the original device falls within the input power range, the input power is displayed in the first color (for example, blue). 2 color (red).

また、各機器(PC,DPY#1,DPY#2)での消費電力が表示される。また、各機器が有するUSBポートが示されるとともに、各USBポートにて供給可能な電力(Capability)と下流からの要求電力(Request)とが表示される。要求電力が供給可能な電
力の範囲内に収まっている場合には、要求電力は第1の色(青色)で表示され、範囲外の場合は要求電力が第2の色(赤色)で表示される。
In addition, the power consumption in each device (PC, DPY # 1, DPY # 2) is displayed. In addition to the USB ports that each device has, the power that can be supplied by each USB port (Capability) and the required power (Request) from the downstream are displayed. When the required power is within the range of power that can be supplied, the required power is displayed in the first color (blue). When the required power is out of the range, the required power is displayed in the second color (red). The

画面には、各機器のシンボルに対応づけて、電力供給の中断(サスペンド(Suspend)
)を設定するチェック欄(サスペンド指示)が表示される。サスペンド指示がチェックされた場合には、自装置での消費電力が所定値(例えば25mW)以下に設定される。例えば、DPY#1がDPY#2からの要求電力を供給し得ない場合、DPY#1がサスペンドにされることで、DPY#2へ要求電力を供給することが可能となる。
On the screen, the power supply is suspended (Suspend) in association with the symbol of each device.
) To set a check field (suspend instruction). When the suspend instruction is checked, the power consumption in the own device is set to a predetermined value (for example, 25 mW) or less. For example, when DPY # 1 cannot supply the required power from DPY # 2, it becomes possible to supply the required power to DPY # 2 by suspending DPY # 1.

<<表示処理(給電制御処理)>>
画面表示に当たって、情報端末のCPU11は、メモリ12に記憶されたプログラムを実行することによって以下のような処理を行う。図21,図22,図23は、CPU11による給電処理の例を示すフローチャートである。なお、図21〜図23のフローチャートにて“<3>x(xは数字)”の記載がある。“<3>”は項目表T3(テーブルT3)を示し、数字xはテーブルT3中の項番を示す。
<< Display processing (power supply control processing) >>
In displaying the screen, the CPU 11 of the information terminal performs the following process by executing the program stored in the memory 12. 21, 22, and 23 are flowcharts illustrating examples of power supply processing by the CPU 11. Note that “<3> x (x is a number)” is described in the flowcharts of FIGS. “<3>” indicates an item table T3 (table T3), and a number x indicates an item number in the table T3.

テーブルT1を収集し(図21の101)、テーブルT1のツリー構造(図15)から機器接続構成(トポロジ)を識別して、テーブルT3(項目表T3、図20)の作成を開始する(図21の102)。画面にUSBポート番号(項番2)と接続機器構成(項番1)を項目表T3に記憶し、画面に表示する(図21の103)。   The table T1 is collected (101 in FIG. 21), the device connection configuration (topology) is identified from the tree structure (FIG. 15) of the table T1, and the creation of the table T3 (item table T3, FIG. 20) is started (FIG. 21). 21 of 102). The USB port number (item number 2) and the connected device configuration (item number 1) are stored in the item table T3 on the screen and displayed on the screen (103 in FIG. 21).

各機器の機器名として、各テーブルT1の項番3(機器種別)の情報(PC,DPY#1,DPY#2)を取得し、項目表T3の項番3〜5の情報として格納するとともに画面に表示する(図21の104)。   Information (PC, DPY # 1, DPY # 2) of item number 3 (device type) of each table T1 is acquired as the device name of each device, and stored as information of item numbers 3 to 5 of the item table T3. It is displayed on the screen (104 in FIG. 21).

AC電源からの入力電力(PCのテーブルT1の項番1)を項目表T3に記憶するとともに、画面に表示する。このとき、入力電力が要求電力(A(1)6)以上か否かが判定される(図21の105)。入力電力が要求電力以上であれば、入力電力が青色で表示され(図21の106)、そうでなければ、入力電力が赤色で表示される(図21の107
)。
The input power from the AC power source (item number 1 in the PC table T1) is stored in the item table T3 and displayed on the screen. At this time, it is determined whether or not the input power is equal to or greater than the required power (A (1) 6) (105 in FIG. 21). If the input power is greater than or equal to the required power, the input power is displayed in blue (106 in FIG. 21). Otherwise, the input power is displayed in red (107 in FIG. 21).
).

各機器の自消費電力(A(1)4,B(1)4,C(1)4)を項目表T3の項番7,項番8,項番9に格納するとともに、画面に表示する(図21の108)。   Self-power consumption (A (1) 4, B (1) 4, C (1) 4) of each device is stored in item number 7, item number 8, and item number 9 of item table T3 and displayed on the screen. (108 in FIG. 21).

機器が接続されたUSBポートの能力(Capability)として、スペック値(A(1)7((2)9)、B(1)7((2)9))を項目表T3の項番10,項番11に格納するとともに、画面に表示する(図21の109)。   Spec values (A (1) 7 ((2) 9), B (1) 7 ((2) 9)) as item numbers 10, 10 in the item table T3, as Capability of the USB port to which the device is connected. The information is stored in item number 11 and displayed on the screen (109 in FIG. 21).

機器が接続されたUSBポートの要求(Request)として、新要求電力(B(1)7(
(2)5))を項目表T3の項番13に格納する(図22の110)とともに、画面に表示する。このとき、新要求電力が許容範囲内かを判定し(図22の111)、許容範囲内(OK)であれば青色で画面に表示し(図22の112)、そうでない場合(NGの場合)には赤色で表示する(図22の113)。
As a request for the USB port to which the device is connected, a new required power (B (1) 7 (
(2) 5)) is stored in item number 13 of item table T3 (110 in FIG. 22) and displayed on the screen. At this time, it is determined whether the new required power is within the allowable range (111 in FIG. 22). If it is within the allowable range (OK), it is displayed on the screen in blue (112 in FIG. 22), otherwise (NG) ) Is displayed in red (113 in FIG. 22).

また、機器が接続されたUSBポートの要求(Request)として、新要求電力(A(1
)7((2)5))を項目表T3の項番12に格納する(図22の114)とともに、画面に表示する。このとき、新要求電力が許容範囲内かを判定し(図22の115)、新要求電力が許容範囲内(OK)であれば青色で表示し(図22の116)、そうでない場合(NGの場合)には赤色で表示する(図22の117)。
In addition, as a request for the USB port to which the device is connected, a new required power (A (1
) 7 ((2) 5)) is stored in item number 12 of the item table T3 (114 in FIG. 22) and displayed on the screen. At this time, it is determined whether the new required power is within the allowable range (115 in FIG. 22). If the new required power is within the allowable range (OK), it is displayed in blue (116 in FIG. 22), and otherwise (NG In the case of (1), it is displayed in red (117 in FIG. 22).

<<サスペンド設定>>
情報端末(PC1)は、要求電力及び自消費電力の合計が入力電力の範囲に収まるように、サスペンド設定を行うことで、各機器の供給電力を調整する。
<< Suspend setting >>
The information terminal (PC1) adjusts the supply power of each device by performing the suspend setting so that the sum of the required power and the self-consumption power is within the range of the input power.

ユーザのUIを用いたサスペンド設定に係る入力を行い、サスペンド設定に係る情報を項目表T3の項番14,項番15,項番16に記憶する(図22の118)。サスペンドにする機器は適宜選択可能である。もっとも、大元の機器や情報端末以外の機器に対してサスペンド設定を行う。サスベンド設定の変更があるかが判定され(図22の119)、サスペンド設定が変更されたと判定される場合には、再計算処理が行われる(図22の120)。   Input related to the suspend setting using the user's UI is performed, and information related to the suspend setting is stored in item number 14, item number 15 and item number 16 of the item table T3 (118 in FIG. 22). The device to be suspended can be selected as appropriate. However, the suspend setting is performed for devices other than the original device and the information terminal. It is determined whether or not the suspension setting has been changed (119 in FIG. 22). If it is determined that the suspension setting has been changed, a recalculation process is performed (120 in FIG. 22).

図24,図25,図26は、再計算処理の一例を示すフローチャートである。項目表T3の項番14〜16が参照され、サスペンド設定が変更された機器が検索される(図24の201)。或る機器についてサスペンド設定が行われると、テーブルT1のリンクが検索され、対応する機器にUSBケーブル3を介して電力を供給する機器に関して以下の演算が行われる。演算は情報端末のCPU11によって行われる。   24, 25, and 26 are flowcharts illustrating an example of the recalculation process. With reference to item numbers 14 to 16 in the item table T3, a device whose suspend setting has been changed is searched (201 in FIG. 24). When the suspend setting is performed for a certain device, the link of the table T1 is searched, and the following calculation is performed for a device that supplies power to the corresponding device via the USB cable 3. The calculation is performed by the CPU 11 of the information terminal.

検索を通じて複数の機器についてサスペンド設定が変更されている場合には(図22の202)、最下流の機器から電力の再計算が行われる(図22の203)。   When the suspend setting is changed for a plurality of devices through the search (202 in FIG. 22), power is recalculated from the most downstream device (203 in FIG. 22).

[Cデバイス(DPY#2)がサスペンドに設定変更された場合]
サスペンドに設定されたCデバイスに係る再計算として、Cデバイスの要求電力(C(1)6)と、BデバイスのテーブルT2の要求電力(B(1)7((2)5))とが再計算される。図24のフローチャートは、Cデバイスの処理を例示している。
[When C device (DPY # 2) is set to suspend]
As recalculation for the C device set to suspend, the required power of the C device (C (1) 6) and the required power of the table T2 of the B device (B (1) 7 ((2) 5)) Recalculated. The flowchart in FIG. 24 exemplifies the process of the C device.

CデバイスがリンクされたPx電力供給情報管理テーブルが検索され(図24の204)、サスペンド設定かサスペンド解除かが判定される(図24の205)。Cデバイスのサスペンド設定時には、CデバイスのテーブルT1の要求電力(C(1)6)として、要求電圧(C(1)5)と、25mWを要求電圧(C(1)5)で割った値(電流値)とが
設定される。BデバイスのテーブルT2の新要求電力(B(1)7((2)5))は、要求電力の値(C(1)6)に設定される。
The Px power supply information management table to which the C device is linked is searched (204 in FIG. 24), and it is determined whether the suspend setting or the suspension is canceled (205 in FIG. 24). At the time of suspend setting for the C device, the required voltage (C (1) 5) and the value obtained by dividing 25 mW by the required voltage (C (1) 5) as the required power (C (1) 6) in the table T1 of the C device (Current value) is set. The new required power (B (1) 7 ((2) 5)) in the table T2 for the B device is set to the required power value (C (1) 6).

なお、Cデバイスがサスペンド設定でない場合(サスペンド設定が解除される場合)には、207の処理が行われる。すなわち、CデバイスのテーブルT1の新要求電力として、要求電圧(C(1)5)と、及び自消費電力(C(1)4)を要求電圧(C(1)5)で割った値(電流値)とが設定される。このとき、BデバイスのテーブルT2の新要求電力は、要求電力の値(C(1)6)に設定される。   If the C device is not in the suspend setting (when the suspend setting is canceled), the process 207 is performed. That is, as the new required power in the table T1 of the C device, a value obtained by dividing the required voltage (C (1) 5) and the self-power consumption (C (1) 4) by the required voltage (C (1) 5) ( Current value) is set. At this time, the new required power in the table T2 of the B device is set to the value (C (1) 6) of the required power.

Cデバイスの要求電圧(C(1)4)とBデバイスのUSBポートのスペック供給電圧(
B(2)8)とを比較し、要求電圧がスペック供給電圧の範囲内か否かのチェックを行う
(図24の208)。チェック結果がNGの場合、NGをテーブルT2の接続可否に設定する(図24の211)。
Required voltage of C device (C (1) 4) and spec supply voltage of USB port of B device (
B (2) 8) is compared to check whether the required voltage is within the specification supply voltage range (208 in FIG. 24). If the check result is NG, NG is set to allow / disconnect the table T2 (211 in FIG. 24).

Cデバイスの新要求電力(C(1)5)とBデバイスのUSBポートのスペック供給電力(B(2)9)とを比較し、要求電力がスペック供給電力の範囲内か否かのチェックを行う(図24の209)。チェック結果(OK、NG)をテーブルT2の接続可否に設定する(図24の210、211)。なお、208の処理と209の処理の順は逆でも良い。   Compare the new required power of the C device (C (1) 5) with the spec supply power (B (2) 9) of the USB port of the B device and check whether the required power is within the spec supply power range. This is performed (209 in FIG. 24). The check result (OK, NG) is set in the table T2 as to whether connection is possible (210, 211 in FIG. 24). Note that the order of the process 208 and the process 209 may be reversed.

接続USBポートの要求(Request)として新要求電力(B(1)7((2)5))を項目表T3に格納し(図24の212)、画面に表示する。このとき、新要求電力はスペック値の範囲内であるかが判定され(図24の213)、範囲内であれば青色で表示され(図24の214)、そうでなければ赤色で表示される(図24の215)。   The new required power (B (1) 7 ((2) 5)) is stored in the item table T3 as a request for the connected USB port (Request) (212 in FIG. 24) and displayed on the screen. At this time, it is determined whether the new required power is within the range of the specification value (213 in FIG. 24). If it is within the range, it is displayed in blue (214 in FIG. 24), otherwise it is displayed in red. (215 in FIG. 24).

図25の216では、他のツリーがあるかが判定される。他のツリーがある場合には、他のUSBポートの供給電力の再計算処理が行われる(図25の217)。   In 216 of FIG. 25, it is determined whether there is another tree. If there is another tree, recalculation processing of power supplied to other USB ports is performed (217 in FIG. 25).

サスペンド設定されたCデバイスの1つ上流側にあるBデバイスに関して、再計算が実行される。BデバイスのテーブルT1の要求電力(B(1)6)と、BデバイスのテーブルT2(Cデバイスに対応)の新要求電力(B(1)7((2)5))の再計算が行われる。   Recalculation is performed on the B device that is one upstream of the suspended C device. Recalculation of the required power (B (1) 6) of the B device table T1 and the new required power (B (1) 7 ((2) 5)) of the B device table T2 (corresponding to the C device) is performed. Is called.

具体的には、Bデバイス(DPY#1)がリンクされたテーブルT2が検索され(図25の218)、サスペンドが設定されたか解除されたかが判定される(図25の219)。Bデバイスがサスペンド設定された場合には、要求電力(B(1)6)として、要求電圧(B(1)5)と、B(1)7((2)5)の電力値(W値)に25mWを加えた値を要求電圧(B(1)5)で割った値(電流値)とが設定される。AデバイスのテーブルT1の項番7におけるテーブルT2の項番5の値として、要求電力(B(1)6)が設定される(図25の220)。   Specifically, the table T2 to which the B device (DPY # 1) is linked is searched (218 in FIG. 25), and it is determined whether the suspend is set or released (219 in FIG. 25). When the B device is set to suspend, as the required power (B (1) 6), the power value (W value) of the required voltage (B (1) 5) and B (1) 7 ((2) 5) ) Plus 25 mW and the value (current value) divided by the required voltage (B (1) 5). The required power (B (1) 6) is set as the value of the item number 5 of the table T2 in the item number 7 of the table T1 of the A device (220 in FIG. 25).

これに対し、Bデバイスがサスペンド設定でない(サスペンド設定が解除された)場合には、以下の処理が行われる。すなわち、BデバイスのテーブルT1の要求電力として、要求電圧(B(1)5)と、自消費電力(B(1)4)と要求電圧(B(1)7((2)5)の電力値(W値)との和を要求電圧(B(1)5)で割った値(電流値)とが設定される。AデバイスのテーブルT2の要求電力(A(1)7((2)5)は、新要求電力の値となる(図25の221)。   On the other hand, when the B device is not in the suspend setting (the suspend setting is canceled), the following processing is performed. That is, as the required power of the table T1 of the B device, the power of the required voltage (B (1) 5), the self-consumed power (B (1) 4), and the required voltage (B (1) 7 ((2) 5)) A value (current value) obtained by dividing the sum of the value (W value) by the required voltage (B (1) 5) is set as the required power (A (1) 7 ((2)) in the table T2 of the A device. 5) is the value of the new required power (221 in FIG. 25).

Bデバイスの要求電圧(B(1)4)とAデバイスのUSBポートのスペック供給電圧(
A(2)8)とを比較し、要求電圧がスペック供給電圧の範囲内か否かのチェックを行う
(図25の222)。チェック結果がNGの場合、NGをテーブルT2の接続可否に設定
する(図25の225)。
Required voltage of B device (B (1) 4) and spec supply voltage of USB port of A device (
A (2) 8) is compared, and it is checked whether or not the required voltage is within the specification supply voltage range (222 in FIG. 25). If the check result is NG, NG is set to be connectable / unavailable in the table T2 (225 in FIG. 25).

Bデバイスの新要求電力(B(1)5)とAデバイスのUSBポートのスペック供給電力(A(2)9)とを比較し、要求電力がスペック供給電力の範囲内か否かのチェックを行う(図25の223)。チェック結果(OK、NG)をテーブルT2の接続可否に設定する(図25の224,225)。なお、222の処理と223の処理の順は逆でも良い。   Compare the new required power of the B device (B (1) 5) with the spec supply power (A (2) 9) of the USB port of the A device, and check whether the required power is within the spec supply power range. This is performed (223 in FIG. 25). The check result (OK, NG) is set in the table T2 as to whether connection is possible (224 and 225 in FIG. 25). Note that the order of the process of 222 and the process of 223 may be reversed.

接続USBポートの要求(Request)として新要求電力(B(1)7((2)5))を項目表T3に格納する(図25の226)ともに、画面に表示する。このとき、新要求電力がスペック値の範囲内かが判定される(図25の227)。範囲内であれば青色で表示され(図25の228)、そうでなければ赤色で表示される(図25の229)。   The new requested power (B (1) 7 ((2) 5)) is stored in the item table T3 (226 in FIG. 25) as a request for the connected USB port, and is displayed on the screen. At this time, it is determined whether the new required power is within the specification value range (227 in FIG. 25). If it is within the range, it is displayed in blue (228 in FIG. 25), otherwise it is displayed in red (229 in FIG. 25).

Aデバイスに係る再計算は、以下のように行われる。BデバイスがリンクされたテーブルT1を検索し(図26の230)、AデバイスがリンクされたテーブルT2の検索がNGである(存在しない)場合には、Aデバイスは大元の機器(電力供給のルート)と判定される(図26の231)。このとき、他ツリーの有無が判定され(図26の232)、他ツリーがある場合は、当該ツリーに係る供給電力の再計算処理が実行される(図26の233)。   The recalculation for the A device is performed as follows. When the table T1 to which the B device is linked is searched (230 in FIG. 26) and the search of the table T2 to which the A device is linked is NG (does not exist), the A device is the original device (power supply). (231 in FIG. 26). At this time, the presence / absence of another tree is determined (232 in FIG. 26), and if there is another tree, a recalculation process of the supplied power related to the tree is executed (233 in FIG. 26).

Aデバイスの要求電力(A(1)6)を再計算する。すなわち、図26の234では、Aデバイスのサスペンド設定か設定解除かが判定される。Aデバイスがサスペンド設定されている場合には、要求電力(A(1)6)として、要求電圧(A(1)5)と、A(1)7((2)5)の電力値と25mWとの和を要求電圧(A(1)5)で割った電流値を設定する(図26の235)。   Recalculate the required power (A (1) 6) of the A device. That is, in 234 of FIG. 26, it is determined whether the suspend setting or the setting cancellation of the A device is performed. When the A device is set to suspend, the required power (A (1) 6), the required voltage (A (1) 5), the power value of A (1) 7 ((2) 5), and 25 mW A current value obtained by dividing the sum by the required voltage (A (1) 5) is set (235 in FIG. 26).

これに対し、Aデバイスがサスペンド設定でない場合(設定解除の場合)には、以下となる。すなわち、Aデバイスの要求電力(A(1)6)は、要求電圧(A(1)5),及び自消費電力(A(1)4)と要求電圧(A(1)7((2)5)の電力値(W値)との和を要求電圧(A(1)5)で割った値(電流値)となる(図26の236)。   On the other hand, when the A device is not in the suspend setting (when the setting is cancelled), the following occurs. That is, the required power (A (1) 6) of the A device includes the required voltage (A (1) 5), the self-power consumption (A (1) 4), and the required voltage (A (1) 7 ((2)). The sum (5) and the power value (W value) is divided by the required voltage (A (1) 5) (current value) (236 in FIG. 26).

図26の237では、要求電力が入力電力の範囲内かのチェックが行われ、範囲内であれば入力電力が青色で表示され(図26の238)、そうでなければ赤色で表示される(図26の239)。238又は239の処理の終了で、再計算処理が終了する。なお、要求電力が入力電力の範囲外である場合には、範囲内となるまで、機器のサスペンド設定がサスペンド設定にされる機器を変更して繰り返し行われる。   In 237 of FIG. 26, it is checked whether the required power is within the range of the input power. If it is within the range, the input power is displayed in blue (238 in FIG. 26), otherwise it is displayed in red ( 239 of FIG. At the end of the process 238 or 239, the recalculation process ends. When the required power is outside the input power range, the suspend setting of the device is repeated by changing the device to be set to the suspend setting until it falls within the range.

再計算処理が終了すると、各USBポートの要求(Request、項目表T3の項番12、
項番13)を、各機器のPx電力供給情報管理テーブル(テーブルT2)のCapability(
項番1,項番2)及びRequest(項番3,項番4)に設定する。正常に設定されたサスベンド設定でUSBPDのネゴシエーションが行われるように、「Px電力供給情報」を設定する。
When the recalculation process is completed, each USB port request (Request, item number 12 in the item table T3,
Item No. 13) is added to the Capability (Px power supply information management table (table T2) of each device.
Set to No.1, No.2) and Request (No.3, No.4). “Px power supply information” is set so that USB PD negotiation is performed with the normally set suspension setting.

すなわち、BデバイスのテーブルT1の項番7のテーブルT2における項番10(B(1)7((2)10):接続可否)がOKか否かが判定される(図22の121)。OKの場合、このテーブルT2の項番1(供給電力)及び項番3(現在要求電力)の値として、項目表T3の項番13の値が設定される。また、テーブルT2の項番2(供給電圧)及び項番4(要求電圧)の値として、項目表T3の項番12の電圧値が設定される(図22の122)。   That is, it is determined whether or not the item number 10 (B (1) 7 ((2) 10): connection possibility) in the table T2 of the item number 7 of the B device table T1 is OK (121 in FIG. 22). In the case of OK, the value of item number 13 in the item table T3 is set as the value of item number 1 (supply power) and item number 3 (current request power) of this table T2. Further, the voltage value of item number 12 of the item table T3 is set as the value of item number 2 (supply voltage) and item number 4 (required voltage) of the table T2 (122 in FIG. 22).

BデバイスのテーブルT1の項番7のテーブルT2における項番10((B(1)7(
(2)10):接続可否)がNGの場合、図22の123の処理が行われる。すなわち、該当のテーブルT2の項番1(供給電力)の値、項番2(供給電圧)の値、項番3(現在要求電力)の値、項番4(要求電圧)の値に0が設定される。122及び123の処理後、処理が図23の124に進む。
Item number 10 in the table T2 of item number 7 in the table T1 of the B device ((B (1) 7 (
If (2) 10): Connection possibility) is NG, the process of 123 in FIG. 22 is performed. That is, the value of the item number 1 (supply power), the value of the item number 2 (supply voltage), the value of the item number 3 (current request power), and the value of the item number 4 (request voltage) of the corresponding table T2 are 0. Is set. After the processes 122 and 123, the process proceeds to 124 in FIG.

124の処理では、AデバイスのテーブルT1の項番7のテーブルT2における項番10(A(1)7((2)10):接続可否)がOKかNGかが判定される。OKの場合、このテーブルT2の項番1(供給電力)の値には、項目表T3の項番12の値が設定される。また、テーブルT2の項番2(供給電圧)の値には、項目表T3の項番12の電圧値が設定される。また、テーブルT2の項番3(現在要求電力)の値は、項目表T3の項番12の値が設定される。また、テーブルT2の項番4(要求電圧)の値には、項目表T3の項番12の電圧値が設定される(図26の125)。   In the process of 124, it is determined whether the item number 10 (A (1) 7 ((2) 10): connectability) in the table T2 of the item number 7 of the A device table T1 is OK or NG. In the case of OK, the value of item number 12 of the item table T3 is set to the value of item number 1 (supply power) of this table T2. In addition, the voltage value of item number 12 of the item table T3 is set to the value of item number 2 (supply voltage) of the table T2. Also, the value of item number 12 of the item table T3 is set as the value of item number 3 (current required power) of the table T2. In addition, the voltage value of item number 12 of the item table T3 is set to the value of item number 4 (required voltage) of the table T2 (125 in FIG. 26).

AデバイスのテーブルT1の項番7のテーブルT2における項番10(A(1)7((2)10):接続可否)がNGの場合、以下の処理が行われる。すなわち、当該テーブルT2の項番1(供給電力)の値、項番2(供給電圧)の値、項番3(現在要求電力)の値、項番4(要求電圧)の値には、0が設定される(図26の126)。   When the item number 10 (A (1) 7 ((2) 10): connection possibility) in the table T2 of the item number 7 of the A device table T1 is NG, the following processing is performed. That is, the value of item number 1 (supply power), the value of item number 2 (supply voltage), the value of item number 3 (current request power), and the value of item number 4 (request voltage) of the table T2 are 0. Is set (126 in FIG. 26).

電力供給情報画面(図19)の表示は、例えば、画面に表示されるユーザの「設定完了」ボタン押下で終了する。図23のフローチャートでは、設定完了ボタンの入力を求め、入力が設定完了ボタンの押し下げと判定される場合には(128,Yes)、処理が129へ進む。これに対し、設定完了ボタンの押し下げがなく、「サスペンド設定」の変更があった場合には(128のNo)、処理が118に戻り、サスペンド設定の変更に基づく再計算が行われる。   The display of the power supply information screen (FIG. 19) is terminated when, for example, the user presses a “setting complete” button displayed on the screen. In the flowchart of FIG. 23, the input of the setting completion button is requested, and when it is determined that the input is the pressing of the setting completion button (128, Yes), the process proceeds to 129. On the other hand, when the setting completion button is not pressed and the “suspend setting” is changed (No in 128), the process returns to 118, and recalculation is performed based on the change of the suspend setting.

なお、サスベンド設定が行われた場合には、USBPDのネゴシエーションにおいて、給電側の機器から対象機器にサスペンド指示が与えられ、対象機器の消費電力が所定値(25mV)以下にされる。   When the suspension setting is performed, a suspension instruction is given from the power supply side device to the target device in the USBPD negotiation, and the power consumption of the target device is set to a predetermined value (25 mV) or less.

なお、図23の129以降の処理は、情報端末と大元の機器が同じである場合には、実行されない。例えば図3に示したように、情報端末と大元の機器が同じでない場合がある。この場合、情報端末は、サスペンド設定によってテーブルが更新された場合に、更新後の電力供給情報を大元の機器へ送信する(図12Aの129の処理参照)。送信は、CCラインを用い、独自コマンドで送ることができる。   Note that the processing after 129 in FIG. 23 is not executed when the information terminal and the original device are the same. For example, as shown in FIG. 3, the information terminal and the original device may not be the same. In this case, when the table is updated by the suspend setting, the information terminal transmits the updated power supply information to the main device (see the process 129 in FIG. 12A). Transmission can be performed with a unique command using the CC line.

大元の機器から下流にある各機器に対し、対応するテーブルT1(テーブルのツリー)が供給されるとともに、テーブルT1が展開される(130,131,132)。すなわち、各機器のICチップ20のメモリには、自身のテーブルT1と下流にある機器のテーブルT1とが記憶される。   A corresponding table T1 (table tree) is supplied to each downstream device from the original device, and the table T1 is expanded (130, 131, 132). That is, the memory of the IC chip 20 of each device stores its own table T1 and the table T1 of the downstream device.

そして、大元の機器から下流へ向かって、USBPDに基づくネゴシエーションが実行される(133と134の処理、135と136の処理を参照)。このとき、各機器は、供給されたテーブルT1の情報を用いてネゴシーションを行う。これにより、サスペンド設定により再計算されたテーブルT1に基づくネゴシエーション(電力供給設定)が実行される。このとき、テーブルT2の項番1〜3の値が0の場合には、対応するUSBポートを介して繋がる機器とUSBPDに基づく接続を行わない。   Then, negotiation based on USBPD is executed from the original device to the downstream (see the processes 133 and 134 and the processes 135 and 136). At this time, each device performs negotiation using the information in the supplied table T1. Thereby, negotiation (power supply setting) based on the table T1 recalculated by the suspend setting is executed. At this time, if the values of the item numbers 1 to 3 in the table T2 are 0, the connection based on the USBPD with the device connected via the corresponding USB port is not performed.

トポロジがスター型である場合、例えば図3に示す電力供給システムの場合には、以下のような給電制御処理が行われる。
(1)情報端末であるPC1は、大元の機器であるHUB7から、全体の電力供給情報(
テーブルT1のツリー)を取得する。HUB7による各機器からのテーブルT1の取得の手順は、図12A,図12B及び図13を用いて説明したのと同様の手法が適用される。但し、スター型の場合は、接続機器からHUB7(大元の機器)への1段である。HUB7からPC1へ図18に示すようなテーブルのツリーが送信される。
(2)PC1は、例えば図27に示すような接続構成図(電力供給情報画面)をディスプレイに表示する。ユーザは、画面を参照して、各機器のネゴシエート値(要求電力)の設定を行い、電力供給情報を修正する。例えば、画面には、各機器へのサスペンド設定をチェックするチェック欄(供給ボタン)が表示され、チェックを入れることで、対象の機器に対するサスペンド設定がなされる。サスペンド設定がなされた機器の自消費電力は所定以下(0の場合も)に設定される。
(3)PC1は、ハブ7に修正後の電力供給情報(テーブルT1)を送信する。
(4)ハブは、接続機器(PC1,携帯電話8,HDD#1,HDD#2)に対し、対象部分の電力供給情報を送信する。これにより、ネゴシエーションを通じて、修正された電力供給情報に基づく要求電力が各機器に供給される。このとき要求電力が0に設定された(供給対象のチェックが外された)機器にはHUB7からの電力供給は行われない。
When the topology is a star type, for example, in the case of the power supply system shown in FIG. 3, the following power supply control process is performed.
(1) The PC 1 that is the information terminal receives the entire power supply information (from the HUB 7 that is the original device)
Tree of table T1). The procedure similar to that described with reference to FIGS. 12A, 12B, and 13 is applied to the procedure for acquiring the table T1 from each device by the HUB 7. However, in the case of the star type, there is one stage from the connected device to the HUB 7 (main device). A table tree as shown in FIG. 18 is transmitted from the HUB 7 to the PC 1.
(2) The PC 1 displays a connection configuration diagram (power supply information screen) as shown in FIG. 27 on the display, for example. The user refers to the screen, sets the negotiated value (required power) of each device, and corrects the power supply information. For example, a check field (supply button) for checking the suspend setting for each device is displayed on the screen, and the suspend setting for the target device is performed by checking the check box. The self-power consumption of the device for which the suspend setting has been made is set to a predetermined value or less (even in the case of 0).
(3) The PC 1 transmits the corrected power supply information (table T1) to the hub 7.
(4) The hub transmits the power supply information of the target part to the connected device (PC1, mobile phone 8, HDD # 1, HDD # 2). Thereby, the required power based on the corrected power supply information is supplied to each device through the negotiation. At this time, the power supply from the HUB 7 is not performed to the device whose required power is set to 0 (the supply target is not checked).

<実施形態の効果>
実施形態によれば、以下の効果を得られる。すなわち、図1に示すDPY#1(Bデバイス)は、DPY#2(Cデバイス)から要求電力を含むテーブルT1(第1の情報)を取得(受信する)。DPY#1は、DPY#2のテーブルT1と、DPY#1のテーブルT2(DPY#1の消費電力を含む)を上流側の機器であるPC1(Aデバイス)に送信する。このように、実施形態では、各機器(DPY#1,DPY#2)の要求電力を把握可能な情報が上流側の機器に送信される。これによって、上流側の機器が優先して電力供給を受ける状況では電力供給を受けることができなかった機器(例えば末端の機器)に電力を供給可能とし得る。よって、複数の機器に対する電力供給の自由度を向上させることができる。
<Effect of embodiment>
According to the embodiment, the following effects can be obtained. That is, DPY # 1 (B device) shown in FIG. 1 acquires (receives) a table T1 (first information) including required power from DPY # 2 (C device). DPY # 1 transmits DPY # 2 table T1 and DPY # 1 table T2 (including power consumption of DPY # 1) to PC1 (A device), which is an upstream device. As described above, in the embodiment, information capable of grasping the required power of each device (DPY # 1, DPY # 2) is transmitted to the upstream device. Thus, it is possible to supply power to a device (for example, a terminal device) that could not receive power supply in a situation where the upstream device receives power supply with priority. Therefore, the degree of freedom of power supply to a plurality of devices can be improved.

また、実施形態では、以下の利点を得られる。
(1)複数の機器が多段接続された場合において、各機器の電源(大元)からの接続の順番に関わらず、USBケーブルのつなぎ替えを行うことなく、ユーザが必要とする機器を給電先に選択して使用することができる。
In the embodiment, the following advantages can be obtained.
(1) When a plurality of devices are connected in multiple stages, regardless of the order of connection from the power source (main source) of each device, the device required by the user can be supplied without changing the USB cable. You can choose to use.

(2)機器が多段接続される場合において、USBPDに基づくネゴシエーションがUSBケーブルで接続された機器間でそれぞれ行われ、各ネゴシエーションにおいて給電のOK/NGが判定される。このため、多段接続された機器のうちのどれ以降が給電を適正に受けることができないのかを、見た目からユーザが伺い知ることはできなかった。実施形態では、情報端末として動作する機器が、電力供給状態を画面表示する。これによって、ユーザは、どの機器に電力が供給されていないかを知ることができ、必要に応じて中間にある機器をサスペンド状態にすることで、末端側の機器に電力を供給することができる。 (2) When devices are connected in multiple stages, negotiation based on USBPD is performed between devices connected by a USB cable, and OK / NG of power supply is determined in each negotiation. For this reason, the user cannot know from the appearance which of the devices connected in multiple stages cannot receive power properly. In the embodiment, a device operating as an information terminal displays a power supply state on a screen. As a result, the user can know which device is not supplied with power, and can supply power to the terminal device by suspending an intermediate device as necessary. .

(3)複数の機器が大元の機器にスター型に接続されている場合において、大元の機器への接続の順番に関わらず、ユーザが給電を所望する機器を選択して給電し、使用することができる。このとき、USBケーブルの物理的な抜き差しは不要である。実施形態の構成は適宜組み合わせることができる。   (3) When multiple devices are connected to the original device in a star shape, regardless of the order of connection to the original device, the user selects the device that the user desires to supply and uses it. can do. At this time, physical connection / disconnection of the USB cable is not necessary. The configurations of the embodiments can be combined as appropriate.

T1・・・電力供給情報管理テーブル
T2・・・Px電力供給情報管理テーブル
1・・・パーソナルコンピュータ(PC)
1a・・・ACアダプタ
2・・・ディスプレイ
3・・・USBケーブル
4・・・サーバ
5・・・プリンタ
6・・・ハードディスクドライブ(HDD)
7・・・USBハブ(HUB)
10,10A,10B,10C・・・機器
11・・・CPU
12・・・メモリ
20・・・ICチップ
21・・・電源回路
22・・・電力要求線
T1 ... Power supply information management table T2 ... Px Power supply information management table 1 ... Personal computer (PC)
DESCRIPTION OF SYMBOLS 1a ... AC adapter 2 ... Display 3 ... USB cable 4 ... Server 5 ... Printer 6 ... Hard disk drive (HDD)
7 ... USB hub (HUB)
10, 10A, 10B, 10C ... Device 11 ... CPU
12 ... Memory 20 ... IC chip 21 ... Power supply circuit 22 ... Power demand line

Claims (3)

上流側の機器と第1のUSBケーブルを介して接続されるとともに、下流側の機器と第2のUSBケーブルを介して接続された機器のコンピュータに、
前記下流側の機器が前記第2のUSBケーブルを介して供給を受けることを要求する電力を示す情報を含む第1の情報を前記下流側の機器から取得し、
前記第1のUSBケーブルを介して供給を受けることを要求する電力を示す情報を含む第2の情報として前記第1の情報と前記機器の消費電力を示す情報とを含む情報を前記上流側の機器に送信する
処理を実行させるプログラム。
A computer connected to the upstream device via the first USB cable and connected to the downstream device via the second USB cable is connected to the computer.
Obtaining from the downstream device first information including information indicating power required for the downstream device to receive supply via the second USB cable;
Information including the first information and information indicating the power consumption of the device as the second information including information indicating the power required to be supplied via the first USB cable is provided on the upstream side. A program that executes processing to be sent to a device.
上流側の機器と第1のUSBケーブルを介して接続されるとともに、下流側の機器と第2のUSBケーブルを介して接続された機器の電力管理装置において、
前記下流側の機器が前記第2のUSBケーブルを介して供給を受けることを要求する電力を示す情報を含む第1の情報を前記下流側の機器から取得する取得部と、
前記第1のUSBケーブルを介して供給を受けることを要求する電力を示す情報を含む第2の情報として前記第1の情報と前記機器の消費電力を示す情報とを含む情報を前記上流側の機器に送信する送信部と、
を含む電力管理装置。
In the power management apparatus of the device connected to the upstream device via the first USB cable and connected to the downstream device via the second USB cable,
An acquisition unit that acquires, from the downstream device, first information including information indicating the power required for the downstream device to be supplied via the second USB cable;
Information including the first information and information indicating the power consumption of the device as the second information including information indicating the power required to be supplied via the first USB cable is provided on the upstream side. A transmitter for transmitting to the device;
Power management device including
上流側の機器と第1のUSBケーブルを介して接続されるとともに、下流側の機器と第2のUSBケーブルを介して接続された機器が、
前記下流側の機器が前記第2のUSBケーブルを介して供給を受けることを要求する電力を示す情報を含む第1の情報を前記下流側の機器から取得し、
前記第1のUSBケーブルを介して供給を受けることを要求する電力を示す情報を含む第2の情報として前記第1の情報と前記機器の消費電力を示す情報とを含む情報を前記上流側の機器に送信する
ことを含む電力管理方法。
A device connected to the upstream device via the first USB cable, and connected to the downstream device via the second USB cable,
Obtaining from the downstream device first information including information indicating power required for the downstream device to receive supply via the second USB cable;
Information including the first information and information indicating the power consumption of the device as the second information including information indicating the power required to be supplied via the first USB cable is provided on the upstream side. A power management method including transmitting to a device.
JP2017005025A 2017-01-16 2017-01-16 Program, power management device, and power management method Pending JP2018116342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017005025A JP2018116342A (en) 2017-01-16 2017-01-16 Program, power management device, and power management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017005025A JP2018116342A (en) 2017-01-16 2017-01-16 Program, power management device, and power management method

Publications (1)

Publication Number Publication Date
JP2018116342A true JP2018116342A (en) 2018-07-26

Family

ID=62984198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017005025A Pending JP2018116342A (en) 2017-01-16 2017-01-16 Program, power management device, and power management method

Country Status (1)

Country Link
JP (1) JP2018116342A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912218A (en) * 2018-09-14 2020-03-24 夏普株式会社 Electronic device, control device, and recording medium
JP2022169751A (en) * 2019-07-12 2022-11-09 シャープNecディスプレイソリューションズ株式会社 Electronic device, power supply method of electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912218A (en) * 2018-09-14 2020-03-24 夏普株式会社 Electronic device, control device, and recording medium
JP2020046777A (en) * 2018-09-14 2020-03-26 シャープ株式会社 Electronic apparatus, control device and program
JP2022169751A (en) * 2019-07-12 2022-11-09 シャープNecディスプレイソリューションズ株式会社 Electronic device, power supply method of electronic device
US11860701B2 (en) 2019-07-12 2024-01-02 Sharp Nec Display Solutions, Ltd. Electronic device and power supply method for electronic device
JP7430227B2 (en) 2019-07-12 2024-02-09 シャープNecディスプレイソリューションズ株式会社 Electronic devices and power supply methods for electronic devices

Similar Documents

Publication Publication Date Title
US11860701B2 (en) Electronic device and power supply method for electronic device
TWI451233B (en) Methods and apparatus for intelligently providing power to a device
AU2015271399B2 (en) Super hub system and method thereof
CN109643265B (en) Universal Serial Bus (USB) C-port for automatically configuring computing devices
CN107111588B (en) Data transfer using PCIe protocol via USB port
JP6872180B2 (en) Universal serial bus management
CN104021047B (en) Virtual function distribution system, method and management host thereof
CN104615572B (en) Hot plug processing system and method
CN103975304A (en) Method and a portable computing device (pcd) for exposing a peripheral component interface express (pcie) coupled device to an operating system operable on the pcd
EP2504766A2 (en) Configurable connector for system-level communication
US10025351B2 (en) System for controlling peripherals connected to a docking station
US20140280960A1 (en) Methods and apparatus for dynamically allocating devices between multiple controllers
US11928073B2 (en) Configurable USB-C alternate mode for multi-level controller communication
JP2018116342A (en) Program, power management device, and power management method
US9779037B2 (en) Establishing connectivity of modular nodes in a pre-boot environment
JP5986143B2 (en) Method for managing power consumption of function expansion device, portable electronic device, and function expansion device
EP3330835A1 (en) Power adapter, terminal device, charging system, and charging method
TW544617B (en) Intelligent computer switch
US20140173310A1 (en) Electronic apparatus, control method of electronic apparatus and computer-readable medium
US10521385B2 (en) Inter-device digital audio
CN103701471A (en) Frequency converter keyboard and reading method
CN108108124A (en) The method of storage array and control storage array
CN103092780B (en) Electronic system and management method
US10051635B2 (en) Systems and methods for taking actions based on whether secondary power is being received
CN108388534A (en) A kind of display and the method for display program upgrading