JP6297520B2 - USB power capability check system - Google Patents
USB power capability check system Download PDFInfo
- Publication number
- JP6297520B2 JP6297520B2 JP2015091470A JP2015091470A JP6297520B2 JP 6297520 B2 JP6297520 B2 JP 6297520B2 JP 2015091470 A JP2015091470 A JP 2015091470A JP 2015091470 A JP2015091470 A JP 2015091470A JP 6297520 B2 JP6297520 B2 JP 6297520B2
- Authority
- JP
- Japan
- Prior art keywords
- usb
- power supply
- usb port
- voltage
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Power Sources (AREA)
Description
本発明は、USBポートを備えたUSB電源機器に接続して用いられ、そのUSB電源の実力値がわかるUSB電源のチェックシステムに関する。 The present invention relates to a USB power supply check system that is used by being connected to a USB power supply device equipped with a USB port and that can recognize the actual value of the USB power supply.
従来、例えばパソコンなどをUSB電源機器とするUSBファン等の機器(以下、USB駆動機器という。)が広く知られている。ちなみに、この種従来のUSB駆動機器は、USBの電源端子とモータ端子が直接繋がっており、マイコンを搭載していないものが通常である。 2. Description of the Related Art Conventionally, a device such as a USB fan (hereinafter referred to as a USB drive device) using a personal computer or the like as a USB power supply device is widely known. Incidentally, this type of conventional USB drive device is usually one in which a USB power supply terminal and a motor terminal are directly connected and no microcomputer is mounted.
また、USB電源は、例えば、USB2.0の規格では、5V、500mAの電力供給がなされ、USB3.0では、5V、900mAの電力供給がなされていることはよく知られているが、いずれも出力電流が制限されている。 In addition, for example, it is well known that USB power is supplied with 5 V and 500 mA in the USB 2.0 standard, and is supplied with 5 V and 900 mA in USB 3.0. The output current is limited.
USBポートの出力電流に制限のあるUSB電源機器では、USB駆動機器を使用する場合、当該駆動機器の消費電流が、当該電源機器の出力電流の規格値を超えないようにしなければならない。他方で、新たなUSB駆動機器を開発しその機器の検証を行うには、使用するUSB電源機器の実力値つまり出力値のデータが明らかでなければならない。 In a USB power supply device with a limited output current of the USB port, when using a USB drive device, the current consumption of the drive device must not exceed the standard value of the output current of the power supply device. On the other hand, in order to develop a new USB drive device and verify the device, the actual value, that is, the output value data of the USB power supply device to be used must be clear.
また、規格の不分明なUSB電源機器を用いる場合は、予め当該電源機器の実力を検証しないでUSB駆動機器を使用すると、当該電源機器と当該駆動機器に不慮の故障を惹起するおそれもある。これを回避するためには、前記同様に、USB電源機器の出力値のデータが明らかでなければならない。 In addition, when using a USB power supply device whose standard is unclear, using the USB drive device without verifying the capability of the power supply device in advance may cause an unexpected failure in the power supply device and the drive device. In order to avoid this, as described above, the output value data of the USB power supply device must be clear.
本発明は、上記事情に鑑みてなされたもので、USB電源機器の出力値のデータを容易に取得することができるUSB電源のチェックシステムを提案するものである。 The present invention has been made in view of the above circumstances, and proposes a USB power supply check system that can easily acquire output value data of a USB power supply device.
本願第1請求項に記載した発明は、USBポートを備えたUSB電源機器10にシステム構成1が接続して用いられるUSB電源のチェックシステムであって、
前記システム構成1は、
抵抗体を備えるとともにこの抵抗値を可変できる可変負荷3と、
前記USB電源機器10のUSBポートに接続されるUSBポート出力電圧測定回路を具備して、当該USBポート出力電圧及び電流の監視と電圧判定及び制御並びに前記可変負荷を制御するマイコン2とのみから構成され、
前記マイコン2は、一方で、前記USBポートへ接続した際に、USBポート出力電圧を測定するとともに、この測定値よりも小さい値で且つ任意の電圧をUSBポート出力電圧降下判定の電圧閾値として設定し、他方で、前記可変負荷3の負荷の変化にともなう前記USBポート出力値を測定するものであり、
更に、前記測定した前記USBポートの出力電圧が前記任意に設定した電圧閾値を下回るときに、USBポート出力値の測定データを出力するようにしたことを特徴とするUSB電源のチェックシステムである。
The invention described in
The
A
It comprises a USB port output voltage measuring circuit connected to the USB port of the USB
On the other hand, when connected to the USB port, the
Furthermore, the USB power supply check system is characterized in that when the measured output voltage of the USB port falls below the arbitrarily set voltage threshold value, measurement data of the USB port output value is output.
本願第2請求項に記載した発明は、USBポートを備えたUSB電源機器10にシステム構成1が接続して用いられるUSB電源のチェックシステムであって、
前記システム構成1は、
抵抗体を備えるとともにこの抵抗値を可変できる可変負荷3と、
前記USB電源機器10のUSBポートに接続されるUSBポート出力電圧測定回路を具備して、当該USBポート出力電圧及び電流の監視と電圧判定及び制御並びに前記可変負荷を制御するマイコン2とのみから構成され、
前記マイコン2は、一方で、前記USBポートへ接続した際に、USBポート出力電圧を測定するとともに、この測定値よりも小さい値で且つ任意の電圧をUSBポート出力電圧降下判定の電圧閾値として設定し、他方で、前記可変負荷3の負荷の変化にともなう前記USBポート出力値を測定するものであり、
更に、前記測定した前記USBポートの出力電圧が前記任意に設定した電圧閾値を下回るときに、前記USBポート出力値の測定を停止するとともに、前記USB電源機器10において前記測定を停止したときの出力電流を表示するように出力電流値を出力し、又は前記USB電源機器10において前記USB電源機器10への接続時から測定停止時までの出力電流及び出力電圧のグラフデータを表示するように電流−電圧の対応関係を出力するようにしたことを特徴とするUSB電源のチェックシステムである。
The invention described in
The
A
A USB port output voltage measuring circuit connected to the USB port of the USB
On the other hand, when connected to the USB port, the
Further, when the measured output voltage of the USB port falls below the arbitrarily set voltage threshold, the measurement of the USB port output value is stopped, and the output when the measurement is stopped in the USB
本発明に係るUSB電源のチェックシステムによれば、測定した前記USBポート出力電圧が前記電圧閾値を下回るときに測定データを出力して、出力電流を表示し、或いはUSB電源機器に接続時から測定停止時までの出力電流及び出力電圧のグラフデータを表示するので、使用するUSB電源機器の出力値のデータを容易に取得することができるようになる。 According to the USB power supply check system according to the present invention, when the measured USB port output voltage falls below the voltage threshold, the measurement data is output, the output current is displayed, or the measurement is performed from the time of connection to the USB power supply device. Since the graph data of the output current and the output voltage until the stop is displayed, the output value data of the USB power supply device to be used can be easily obtained.
従って、使用するUSB電源機器の電源の実力値が判明するので、USBファンなどの新たなUSB駆動機器を開発しその機器の検証をする場合に、利用するUSB電源機器の不具合の有無を予め明らかにしておくことができる。また、規格の不分明なUSB電源機器を用いる場合も、当該電源機器の実力が判明するので、これにUSB駆動機器を接続して不慮の故障を惹起するようなことを回避することが可能になる。 Therefore, since the actual power value of the USB power supply device to be used is known, when developing a new USB drive device such as a USB fan and verifying the device, it is clear in advance whether there is a problem with the USB power supply device to be used. Can be kept. In addition, even when using a USB power supply device whose standard is unclear, the ability of the power supply device is found, so that it is possible to avoid an unexpected failure by connecting a USB drive device to the power supply device. Become.
以下に、本発明の実施例を図面に基づいて説明する。図1は、本例のUSB電源のチェックシステムの構成を示す図で、この例では、USB電源機器10としてパソコンを用いている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of the USB power supply check system of this example. In this example, a personal computer is used as the USB
本例のUSB電源のチェックシステムのシステム構成1は、図1に示すように、USB電源機器10のUSBポートにUSBケーブルで接続されるものであって、マイコン2、可変負荷3を備える。
As shown in FIG. 1, the
前記マイコン2は、USB電源機器10のUSBポートに接続されるUSBポート出力電圧測定回路を具備して、当該USBポート出力電圧及び電流の監視と電圧判定及び制御並びに前記可変負荷3を制御する。
The
更に、マイコン2は、前記USBポートへ接続した際にUSBポート出力電圧を測定する。そして、この測定値を用いて、USBポート出力電圧降下判定の電圧閾値を設定する。
Furthermore, the
この設定される電圧の閾値は、本例の場合、このシステム構成1がUSB電源機器10のUSBポートに接続された際、可変負荷3の軽負荷時(チェックシステムのマイコン電流が少ないとき)のUSB電源電圧Vusbを測定(例えば5V)し、電圧降下が10%までの、電流値に対するグラフを形成することとして、電圧降下判定閾値Vth(4.5V)を設定する。
In the case of this example, the threshold value of the voltage to be set is that when the
この閾値の設定は、その設定方法を予めマイコン2に具備させておくか、又は、このシステム構成1を使用する際に都度、手動で設定するようにしてもよい。
The threshold value may be set in advance in the
可変負荷3は、抵抗体を備えるとともにこの抵抗値を可変できるものであれば適宜のものでよい。この抵抗体は、通常の可変抵抗や、USBファンなどのUSB駆動機器でその駆動に要する負荷がリニアに増減するものなど、適宜のものを用いることができる。
The
尚、可変負荷3の負荷の変更は、抵抗体の抵抗値を所定の値で変更するように予めマイコン2に具備させておくか、又は、このシステム構成1を使用する際に都度、手動で変化させるようにしてもよい。
The load of the
そして、本例のUSB電源のチェックシステムの可変負荷3の負荷を変化させて、例えば負荷を漸次大きくして、USBポートの出力電流を徐々に増やしていき、これらの電圧−電流のデータを測定する。
Then, by changing the load of the
また、USBポートの出力電流が増加して、電圧降下が進み、Vusb=Vthになったときに、測定データが出力されるように設けられている。 Also, the measurement data is output when the output current of the USB port increases, the voltage drop proceeds, and Vusb = Vth.
この測定データは、Vusb=Vthになったときの出力電流が取得され、また、接続時から終了時までの電流−電圧グラフデータが、例えば1mA刻みで取得される。 As this measurement data, the output current when Vusb = Vth is acquired, and the current-voltage graph data from the connection time to the end time is acquired in increments of 1 mA, for example.
尚、この電圧−電流データの測定において、例えばUSB電源機器10にパソコンを使用した場合、USBのデータ端子を用いて、パソコンとデータ通信できるようにしておけば、パソコンの中に電流−電圧の対応関係を出力して、このパソコンの電流−電圧のグラフデータや波形を表示することができる。
In this measurement of voltage-current data, for example, when a personal computer is used as the USB
また、接続時から終了時までの電流−電圧グラフデータを出力するようにすれば、USB電源機器がパソコンであれば、当該パソコンの実力検証を行うことができる。 Further, if current-voltage graph data from the time of connection to the end is output, if the USB power supply device is a personal computer, the ability verification of the personal computer can be performed.
このように、本例のUSB電源のチェックシステムは、測定したUSBポート出力電圧が電圧閾値を下回ると、USBポート出力電圧の測定を停止するとともに、測定を停止したときの出力電流を表示し、又はUSB電源機器に接続時から測定停止時までの出力電流及び出力電圧のグラフデータを表示するように構成されている。 Thus, when the measured USB port output voltage falls below the voltage threshold, the USB power supply check system of this example stops the measurement of the USB port output voltage and displays the output current when the measurement is stopped. Alternatively, it is configured to display graph data of output current and output voltage from the time of connection to the USB power supply device to the time of measurement stop.
以下、図2に示すフローチャートを用いて説明する。 This will be described below with reference to the flowchart shown in FIG.
システム構成1がUSB電源機器10のUSBポートに接続されると、ステップ110で、可変負荷3の軽負荷時のUSB電源電圧Vusbを測定する。次に、ステップ120で、この初回測定値を用いて、USB電源電圧降下判定の閾値Vthを設定する。上述の例のように、Vusbが5Vであって、電圧降下が10%までの、電流値に対するグラフを形成することとして、電圧降下判定閾値Vthを4.5Vに設定する。
When the
ステップ130で、可変負荷3の負荷を上昇させ、ステップ140で、負荷上昇に伴い所定のタイミング(例えば、1sec毎)や、電流の変化(例えば、
1mA毎)にて、USB電源電圧Vusbを測定する。
In
The USB power supply voltage Vusb is measured at every 1 mA).
ステップ150で、USB電源電圧Vusbが閾値Vthを下回っているかが判定され、NO(下回っていない)であれば、再びステップ130に進み、可変負荷3の負荷を上昇させ、爾後、ステップ140へ進んでUSB電源電圧Vusbを測定し、ステップ150へ進む。
In
また、ステップ150で、USB電源電圧Vusbが閾値Vthを下回っているかが判定されて、YES(下回っている)であれば、ステップ160で、測定データを出力し、測定が終了する。
In
このように、本例のUSB電源のチェックシステムのシステム構成1によれば、測定したUSB電源電圧Vusbが電圧の閾値Vthを下回ると、電流−電圧データの測定を停止して、これらの測定データが出力されることとなり、従って、使用するUSB電源機器の出力値のデータを容易に取得することができるようになる。
Thus, according to the
このようにして、使用するUSB電源機器の電源の実力値が判明するので、新たなUSB駆動機器を開発しその機器の検証をする場合に、利用するUSB電源機器の不具合の有無を予め明らかにしておくことができる。また、規格の不分明なUSB電源機器を用いる場合も、当該電源機器の実力が判明するので、これにUSB駆動機器を接続して不慮の故障を惹起するようなことを回避することが可能になる。 In this way, since the actual power value of the USB power supply device to be used is found, when a new USB drive device is developed and the device is verified, it is clarified in advance whether there is a problem with the USB power supply device to be used. I can keep it. In addition, even when using a USB power supply device whose standard is unclear, the ability of the power supply device is found, so that it is possible to avoid an unexpected failure by connecting a USB drive device to the power supply device. Become.
本発明は、USB電源機器の電源の実力値が判明するので、USB電源機器一般に好適に利用することができる。 Since the capability value of the power supply of the USB power supply device is found, the present invention can be suitably used for USB power supply devices in general.
1 システム構成
2 マイコン
3 可変負荷
10 USB電源機器
1
Claims (2)
前記システム構成1は、
抵抗体を備えるとともにこの抵抗値を可変できる可変負荷3と、
前記USB電源機器10のUSBポートに接続されるUSBポート出力電圧測定回路を具備して、当該USBポート出力電圧及び電流の監視と電圧判定及び制御並びに前記可変負荷を制御するマイコン2とのみから構成され、
前記マイコン2は、一方で、前記USBポートへ接続した際に、USBポート出力電圧を測定するとともに、この測定値よりも小さい値で且つ任意の電圧をUSBポート出力電圧降下判定の電圧閾値として設定し、他方で、前記可変負荷3の負荷の変化にともなう前記USBポート出力値を測定するものであり、
更に、前記測定した前記USBポートの出力電圧が前記任意に設定した電圧閾値を下回るときに、USBポート出力値の測定データを出力するようにしたことを特徴とするUSB電源のチェックシステム。 A USB power supply check system used by connecting the system configuration 1 to a USB power supply device 10 having a USB port,
The system configuration 1 includes
A variable load 3 having a resistor and a variable resistance value;
A USB port output voltage measuring circuit connected to the USB port of the USB power supply device 10 is provided, and only the microcomputer 2 that monitors the USB port output voltage and current, determines and controls the voltage, and controls the variable load. And
On the other hand, when connected to the USB port, the microcomputer 2 measures the USB port output voltage, and sets an arbitrary voltage that is smaller than the measured value as a voltage threshold value for determining the USB port output voltage drop. On the other hand, the USB port output value according to the load change of the variable load 3 is measured.
Further, when the measured output voltage of the USB port falls below the arbitrarily set voltage threshold, measurement data of the USB port output value is output.
前記システム構成1は、
抵抗体を備えるとともにこの抵抗値を可変できる可変負荷3と、
前記USB電源機器10のUSBポートに接続されるUSBポート出力電圧測定回路を具備して、当該USBポート出力電圧及び電流の監視と電圧判定及び制御並びに前記可変負荷を制御するマイコン2とのみから構成され、
前記マイコン2は、一方で、前記USBポートへ接続した際に、USBポート出力電圧を測定するとともに、この測定値よりも小さい値で且つ任意の電圧をUSBポート出力電圧降下判定の電圧閾値として設定し、他方で、前記可変負荷3の負荷の変化にともなう前記USBポート出力値を測定するものであり、
更に、前記測定した前記USBポートの出力電圧が前記任意に設定した電圧閾値を下回るときに、前記USBポート出力値の測定を停止するとともに、前記USB電源機器10において前記測定を停止したときの出力電流を表示するように出力電流値を出力し、又は前記USB電源機器10において前記USB電源機器10への接続時から測定停止時までの出力電流及び出力電圧のグラフデータを表示するように電流−電圧の対応関係を出力するようにしたことを特徴とするUSB電源のチェックシステム。
A USB power supply check system used by connecting the system configuration 1 to a USB power supply device 10 having a USB port,
The system configuration 1 includes
A variable load 3 having a resistor and a variable resistance value;
A USB port output voltage measuring circuit connected to the USB port of the USB power supply device 10 is provided, and only the microcomputer 2 that monitors the USB port output voltage and current, determines and controls the voltage, and controls the variable load. And
On the other hand, when connected to the USB port, the microcomputer 2 measures the USB port output voltage, and sets an arbitrary voltage that is smaller than the measured value as a voltage threshold value for determining the USB port output voltage drop. On the other hand, the USB port output value according to the load change of the variable load 3 is measured.
Further, when the measured output voltage of the USB port falls below the arbitrarily set voltage threshold, the measurement of the USB port output value is stopped, and the output when the measurement is stopped in the USB power supply device 10 The output current value is output so as to display the current , or the current − so as to display the graph data of the output current and the output voltage from when the USB power supply device 10 is connected to the USB power supply device 10 until the measurement is stopped. A USB power supply check system characterized in that the voltage correspondence is output .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015091470A JP6297520B2 (en) | 2015-04-28 | 2015-04-28 | USB power capability check system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015091470A JP6297520B2 (en) | 2015-04-28 | 2015-04-28 | USB power capability check system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016207139A JP2016207139A (en) | 2016-12-08 |
JP6297520B2 true JP6297520B2 (en) | 2018-03-20 |
Family
ID=57490097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015091470A Expired - Fee Related JP6297520B2 (en) | 2015-04-28 | 2015-04-28 | USB power capability check system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6297520B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6768590B2 (en) | 2017-04-25 | 2020-10-14 | ルネサスエレクトロニクス株式会社 | USB test device and USB power receiving device |
CN108663590A (en) * | 2018-05-15 | 2018-10-16 | 硅谷数模半导体(北京)有限公司 | The test device and method of USB-C equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005250943A (en) * | 2004-03-05 | 2005-09-15 | Fujitsu Ltd | External connection equipment and processor capable of being supplied with power via interface means |
JP2009303427A (en) * | 2008-06-16 | 2009-12-24 | Mitsutoyo Corp | Motor driving unit |
JP2012042402A (en) * | 2010-08-20 | 2012-03-01 | Keisoku Giken Co Ltd | Loading device |
JP2012187025A (en) * | 2011-03-09 | 2012-10-04 | Kubota Corp | Riding working vehicle |
JP5978640B2 (en) * | 2012-02-15 | 2016-08-24 | セイコーエプソン株式会社 | Printing apparatus and control method thereof |
JP2013215034A (en) * | 2012-04-02 | 2013-10-17 | Renesas Electronics Corp | Dc-dc converter |
-
2015
- 2015-04-28 JP JP2015091470A patent/JP6297520B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2016207139A (en) | 2016-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111670369B (en) | LED lamp fault detection circuit and method | |
US9780772B2 (en) | Power supply device | |
KR101754111B1 (en) | Adaptive overvoltage protection circuit and method, and power system including the same | |
US8780509B2 (en) | Circuit protection device and protection method | |
CN104052201A (en) | EC motor for performing dynamic determination of degradation of optocoupler | |
US10615632B2 (en) | Current sharing architecture for combination charger | |
JP6297520B2 (en) | USB power capability check system | |
JP5225785B2 (en) | Overcurrent protection circuit and power supply device using the same | |
US20150346243A1 (en) | Current load detection device and current load detection method | |
CN111796651B (en) | Digital certificate processing apparatus, chip power supply method, storage medium and program product | |
CN110032263B (en) | Server and power-down protection circuit thereof | |
JP6529301B2 (en) | Cable abnormality determination device, remote control, cable abnormality determination method, cable abnormality determination program, and water heater with remote control | |
TW201344226A (en) | Minimum load current tseting device | |
JP6605622B2 (en) | Electronics | |
US20140115312A1 (en) | Server and booting method thereof | |
US20130096859A1 (en) | Resistance determining system | |
US11150281B2 (en) | Electric power measurement | |
WO2015112153A1 (en) | Engine electronic control unit battery charge controller | |
JP5976565B2 (en) | Electronic component inspection equipment | |
US20160161568A1 (en) | Identification of a Unique Attribute of a Power Adapter Based on an Adjust Pin | |
EP3245698B1 (en) | Front end protection power controller | |
US9964971B2 (en) | Power supply device, power supply system, and power supply control method | |
KR20130040643A (en) | Apparatus for controlling voltage | |
US9204735B2 (en) | System for charging displays | |
US20150008896A1 (en) | Constant resistance to constant current/constant power start-up |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161226 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170908 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170927 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180111 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180206 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180215 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180221 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6297520 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |