JP6681292B2 - Electronic device and electronic device control method - Google Patents
Electronic device and electronic device control method Download PDFInfo
- Publication number
- JP6681292B2 JP6681292B2 JP2016142723A JP2016142723A JP6681292B2 JP 6681292 B2 JP6681292 B2 JP 6681292B2 JP 2016142723 A JP2016142723 A JP 2016142723A JP 2016142723 A JP2016142723 A JP 2016142723A JP 6681292 B2 JP6681292 B2 JP 6681292B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- switch
- type
- electronic device
- external device
- 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
- 238000000034 method Methods 0.000 title claims description 24
- 230000005611 electricity Effects 0.000 claims 1
- 238000001514 detection method Methods 0.000 description 54
- 238000010586 diagram Methods 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Description
本発明は、接続された外部機器のインターフェースの種別を判定することができる電子機器および電子機器の制御方法に関する。
The present invention relates to an electronic device and a method for controlling the electronic device that can determine the interface type of a connected external device.
USB3.1規格において、USB Type−Cケーブル、コネクタが規格化され、従来からあるUSB2.0のほか、USB Power DeliveryやUSB Battery Chargingといった様々な規格がサポートされている。本明細書では、USB Type−C規格に準拠したインターフェースを有する機器をType−C機器と称する。また、たとえばUSB2.0規格やUSB Battery Charging規格などの、USB Type−C規格に準拠したインターフェースを有していない機器を非Type−C機器と称する。また、USB Type−Cを単にType−Cと記載する。 In the USB 3.1 standard, USB Type-C cables and connectors are standardized, and in addition to conventional USB 2.0, various standards such as USB Power Delivery and USB Battery Charging are supported. In this specification, a device having an interface conforming to the USB Type-C standard is referred to as a Type-C device. A device that does not have an interface that conforms to the USB Type-C standard, such as the USB 2.0 standard or the USB Battery Charging standard, is called a non-Type-C device. Also, the USB Type-C is simply referred to as Type-C.
電力を受け取るシンク機器と電力を供給するソース機器がともにType−C機器である場合は、シンク機器は、CC端子電圧を識別することによりソース機器の給電能力を認識することが可能である。他方、ソース機器が非Type−C機器の場合、シンク機器はD+/D−信号を使用した接続先検出やエニュメレーションを行って給電能力を認識する必要がある。特許文献1では、シンク機器におけるD+/D−へのプルアップ(プルダウン)抵抗の接続/未接続により、ソース機器のD+/D−の分圧抵抗値などを検出し、ソース機器の給電能力を判定している。
When both the sink device that receives power and the source device that supplies power are Type-C devices, the sink device can recognize the power supply capability of the source device by identifying the CC terminal voltage. On the other hand, when the source device is a non-Type-C device, the sink device needs to detect the connection destination using the D + / D- signal and perform enumeration to recognize the power supply capability. In
Type−Cケーブルには、片側がType−Cコネクタで、もう片方がUSB2.0標準Aケーブルとなっているケーブルが規格化されている。すなわち、Type−C機器であるシンク機器にたいして、非Type−C機器であるソース機器を接続することが可能である。上述したように、Type−C機器であるシンク機器と非Type−C機器であるソース機器が接続された場合、シンク機器はCC端子電圧の識別による給電能力の認識を行うことができない。したがって、シンク機器は、接続されているソース機器がType−C機器か非Type−C機器かの種別を判定したうえで、判定された種別に応じて異なる方法で給電能力を判定する必要がある。このように、Type−Cに準拠したシンク機器は、接続されているソース機器がType−C機器か非Type−C機器かを正しく識別する必要がある。 As the Type-C cable, a cable in which one side has a Type-C connector and the other has a USB 2.0 standard A cable is standardized. That is, it is possible to connect the source device, which is a non-Type-C device, to the sink device, which is a Type-C device. As described above, when the sink device, which is the Type-C device, and the source device, which is the non-Type-C device, are connected, the sink device cannot recognize the power supply capability by identifying the CC terminal voltage. Therefore, the sink device needs to determine the type of the connected source device as a Type-C device or a non-Type-C device, and then determine the power supply capability by a different method according to the determined type. . In this way, the Type-C compliant sink device needs to correctly identify whether the connected source device is a Type-C device or a non-Type-C device.
また、接続されたソース機器の種別(Type−C機器か否か)、および、給電能力を判定するためには、それらを判定するための構成(以下、判定部)を動作させるための電源が必要である。この電源としては、一般に、ソース機器からのVBUS電力やシンク機器を動作させるためのバッテリの電力が用いられる。しかしながら、Type−Cでは、VBUSから電力が供給されない場合が存在する。たとえば、シンク機器のCC端子に所定のプルダウン抵抗が接続されていない場合、ソース機器からVBUS電力は供給されない。また、シンク機器にバッテリが装着されていない場合もある。シンク機器の判定部は、VBUSからもバッテリからも電力を受け取ることができない場合、動作不能となり、ソース機器の種別や給電能力を判定することができなくなる。 Further, in order to determine the type of the connected source device (whether it is a Type-C device or not) and the power supply capability, a power supply for operating a configuration for determining them (hereinafter, determination unit) is provided. is necessary. As the power source, VBUS power from the source device and battery power for operating the sink device are generally used. However, in Type-C, there are cases where power is not supplied from VBUS. For example, when a predetermined pull-down resistor is not connected to the CC terminal of the sink device, VBUS power is not supplied from the source device. Also, the sink device may not have a battery. The determination unit of the sink device becomes inoperable when it is unable to receive power from either the VBUS or the battery, and cannot determine the type or power supply capability of the source device.
本発明は、接続された外部機器のインターフェースの種別をより確実に判定することが可能な電子機器を提供することを目的とする。 An object of the present invention is to provide an electronic device capable of more reliably determining the interface type of a connected external device.
上記目的を達成するための本発明の一態様による電子機器は、たとえば、以下の構成を備える。すなわち、
外部機器から電力を受ける第1端子と、
前記外部機器の情報を取得する第2端子と、
前記第1端子の電圧の変化に基づいて前記外部機器の種別を判定する制御回路と、
前記第2端子からの電力を蓄電し、前記制御回路の電力を供給する蓄電部を備えることを特徴とする電子機器。
An electronic device according to an aspect of the present invention for achieving the above object has, for example, the following configuration. That is,
A first terminal Keru receive power from an external device,
A second terminal to obtain the information of the external device,
And a control circuit determines the type of Kigaibu equipment before based on a change of the front SL voltage of the first terminal,
Said second and storing power from the terminal, an electronic device, wherein the obtaining Bei power storage unit for supplying electric power of the control circuit.
本発明によれば、接続された外部機器のインターフェースの種別をより確実に判定することができる。 According to the present invention, it is possible to more reliably determine the interface type of a connected external device.
以下、添付の図面を参照し、本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
まず、図1を参照して、本実施形態の電子機器100の構成を説明する。電子機器100としては、たとえば、デジタルカメラ、携帯機器など、所定のインターフェースを介して接続された外部機器の電力を利用可能な機器であればいずれの機器であってもかまわない。図1では、特に、電子機器100に接続された外部機器がType−C機器か否かを判定するための構成について詳細に示されている。電子機器100は、インターフェースであるType−Cコネクタ114に接続された外部機器(不図示)からUSBケーブルを介して電力の供給を受けることができるシンク機器である。また、電子機器100のType−Cコネクタ114に接続される外部機器はソース機器として機能する。本実施形態の電子機器100は、外部機器の接続に応じてその外部機器がType−C機器であるか否かを判定し、判定結果に応じて外部機器の給電能力の検出方法を切り替える。
First, the configuration of the electronic device 100 according to the present embodiment will be described with reference to FIG. The electronic device 100 may be any device, such as a digital camera or a mobile device, as long as the power of an external device connected via a predetermined interface can be used. In particular, FIG. 1 shows in detail the configuration for determining whether or not the external device connected to the electronic device 100 is a Type-C device. The electronic device 100 is a sink device that can be supplied with power from an external device (not shown) connected to the Type-
図1において、Type−C判定部101は、Type−Cコネクタ114に接続されている外部機器がType−C機器か否かを判定する。給電能力検出部121は、CC端子104、D+端子、D−端子の状態に基づいて外部機器の給電能力を検出する。システム制御部122は、不図示のCPU及びメモリを有し、メモリに格納されたプログラムをCPUが実行することにより電子機器100における各種の制御を実現する。システム制御部122は、Type−C判定部101による判定結果(外部機器がType−C機器か否かの判定結果)に応じて、外部機器の給電能力を検出する給電能力検出部121が用いる給電能力の検出方法を切り替える。バッテリ123は電子機器100の各部へ電力を供給する。
In FIG. 1, the Type-
Type−Cコネクタ114において、VBUS端子103は、接続されている外部機器から電力を受電するための端子である。CC端子104はUSB Type−CにおけるConfiguration Channelである。接続されている外部機器がType−C機器であれば、CC端子104の状態を識別することにより外部機器の給電能力情報を取得することができる。なお、Type−Cでは、接続するケーブルの表裏を識別するために、CC端子は2つ存在しており、ケーブルの接続の仕方によって、どちらか一方が有効なCC端子となる。したがってCC端子に関わる構成は、実際には2つ存在する。本明細書では、説明を分かりやすくするために、ケーブル接続時に有効になるCC端子のみを対象として説明する。また、Type−Cコネクタ114は、差動で信号を伝送するためのD+端子、D−端子、グランドを提供するグランド端子(GND端子)を有する。
In the Type-
次に、Type−C判定部101について説明する。プルダウン抵抗105は、CC端子104に接続されていて、CC端子104を、電子機器100またはGND端子により提供されるグランドへプルダウンする。第一スイッチ106は、第一スイッチ制御部112の制御により、プルダウン抵抗105をグランドに接続した状態と、グランドから切断した状態を切り替える。第一スイッチ106と第一スイッチ制御部112は、CC端子104とグランドとの間の抵抗を介した接続の状態を変更させるための構成の一例である。第二スイッチ107は、第二スイッチ制御部110の制御により、CC端子104と、蓄電部108および検出制御部102との間の接続、非接続を切り替える。蓄電部108は、第二スイッチ107を通してCC端子104に接続されており、CC端子104からの電力を蓄電する。蓄電部108はたとえばコンデンサにより構成される。蓄電部108は、電源セレクタ115を通して、検出制御部102へ電力を供給することができる。電源セレクタ115は、VBUS端子103と蓄電部108が供給する電力のうち電圧の高い方の電力を検出制御部102に供給する。したがって、検出制御部102は、蓄電部108に蓄電された電力とVBUS端子103から供給される電力のいずれでも動作することが可能である。
Next, the Type-
検出制御部102は、VBUS電圧検出部109、第二スイッチ制御部110、CC端子検出部111、第一スイッチ制御部112、検出判定部113を含む。VBUS電圧検出部109は、VBUS端子103に接続されており、接続された外部機器からVBUS端子103に供給されている電圧を検出する。第二スイッチ制御部110は、第二スイッチ107を制御して、CC端子104と、蓄電部108および検出制御部102との間の接続/非接続を制御する。CC端子検出部111は、第二スイッチ107を通して、CC端子104と接続されており、CC端子104の状態(たとえば電圧)を検出する。第一スイッチ制御部112は、第一スイッチ106を制御して、CC端子104のプルダウン抵抗105を介したグランドへの接続/非接続を切り替える。検出判定部113は、VBUS電圧検出部109とCC端子検出部111に接続されている。検出判定部113は、VBUS電圧検出部109とCC端子検出部111により検出されたVBUS端子103とCC端子104の状態に基づいて、接続されている外部機器がType−C機器であるか否かを判定する。
The
次に、図3(a)、図3(b)を用いて、電子機器100と接続され、USBのVBUS線を通して電力を供給する外部機器301について説明する。図3(a)は、Type−C機器の外部機器301aを示し、図3(b)は非Type−C機器の外部機器301bを示す。
Next, the external device 301 that is connected to the electronic device 100 and that supplies power through the VBUS line of the USB will be described with reference to FIGS. 3A and 3B. FIG. 3A shows an
図3(a)に示される外部機器301aは、Type−C機器であり、Type−Cに準拠したインターフェースを介して電子機器100と接続され、接続された電子機器100に電力を供給するソース機器として動作する。Type−Cコネクタ304において、VBUS端子302は、接続された電子機器100に対して電力を供給する端子である。CC端子303は、Type−Cコネクタ304におけるConfiguration Channel端子である。さらに、Type−Cコネクタ304は、信号伝送のためのD+端子とD−端子、グランドに接続されるGND端子を含む。
The
CC端子検出部305は、CC端子303に接続されており、CC端子303の状態を検出する。CC端子制御部306は、CC端子303に接続されており、CC端子303の状態を制御する。VBUS制御部307aは、CC端子検出部305に接続されており、CC端子検出部305の検出結果にしたがってVBUS端子302の出力状態を制御する。出力状態の制御については、図4のフローチャートにより後述する。Type−Cケーブル308は、Type−C機器どうしを接続するための、両端がType−Cの規格に準拠したコネクタを有するケーブルである。Type−Cケーブル308に含まれているVBUS線309は、VBUS出力を伝送する。Type−Cケーブル308に含まれているCC線310はCC信号を伝送する。なお、図3(a)では、外部機器301aのType−Cインターフェースに関する構成のうち本実施形態の説明に必要な部分を抽出して示しており、システム制御部(CPU、メモリ)などは省略されている。
The CC
図3(b)は、Type−Cに準拠していない外部機器301bの構成例を示すブロック図である。図3(b)においても図3(a)と同様に、外部機器のType−Cインターフェースに関する構成のうち本実施形態の説明に必要な部分を抽出して示している。なお、図3(b)において、図3(a)と同様の構成には同一の参照番号を付してある。
FIG. 3B is a block diagram showing a configuration example of the
外部機器301bは、電子機器100と接続されてUSBのVBUS端子を通して電力を供給可能な非Type−Cのソース機器である。非Type−Cコネクタ354としては、たとえば、USB規格で規定されているType−Aコネクタなどがあげられる。外部機器301bと接続する側の非Type−Cコネクタ354においては、CC端子303は存在しない。また、VBUS制御部307bは、外部機器301bが動作している間、常にVBUS端子302にVBUS信号を出力する。ケーブル355は、外部機器301bに接続される側に上述の非Type−Cコネクタ354(たとえばType−A)を有し、他方の側(電子機器100と接続される側)にType−Cコネクタを有するUSBケーブルである。Type−Cコネクタの側には、CC端子357が存在する。CC端子357は、プルアップ抵抗358によりVBUS線506にプルアップされている。したがって、非Type−C機器である外部機器301bと接続されたType−CコネクタのVBUS端子とCC端子へは常に電圧が供給される。なお、このようなケーブルにおいて、一般にプルアップ抵抗358の抵抗値は56kΩである。
The
次に、図4のフローチャートを用いて、Type−C機器である外部機器301aの動作(CC端子の状態に応じてVBUS電圧の供給制御)を説明する。S401において、VBUS制御部307aは、VBUS端子302への出力をOFFし、CC端子制御部306はCC端子303に電圧を出力する。なお、CC端子制御部306がCC端子303に出力する信号としては、たとえばUSBの規格書「Universal Serial Bus Type−C Cable and Connector Specification Revision 1.1」で規定された信号があげられる。この規格にしたがって、具体的には、以下のようにCC端子303の出力が制御される。
Next, the operation of the
・ソース機器(外部機器301)がVBUS端子302を通して1.5A/5Vの電力供給が可能な場合、CC端子制御部306は、CC端子303を5Vに22kΩでプルアップするか、または、3.3Vに12kΩでプルアップする。
・ソース機器(外部機器301)がVBUS端子302を通して3.0A/5Vの電力供給が可能な場合、CC端子制御部306は、CC端子303を5Vに10kΩでプルアップするか、または、3.3Vに4.7kΩでプルアップする。
When the source device (external device 301) can supply power of 1.5 A / 5 V through the
When the source device (external device 301) can supply 3.0 A / 5 V of power through the
S402において、VBUS制御部307aは、CC端子検出部305を用いてCC端子303の状態を監視し、CC端子303の電圧が所定の電圧よりも低いことを検出すると処理をS403へ進める。他方、S402において、所定の電圧よりも低い電圧がCC端子検出部305により検出されない場合は、VBUS制御部307aは、CC端子303の電圧が所定の電圧よりも低い状態になるまで監視を続ける。
In S402, the
上述した規格書によれば、CC端子303は、5Vに22kΩ又は10kΩでプルアップ、または、3.3Vに12kΩ又は4.7kΩでプルアップされている。したがって、CC端子303の電圧が5Vまたは3.3Vの状態が維持されていれば、VBUS制御部307aは、CC端子検出部305によるCC端子303の状態の監視を続けることになる。
According to the standard mentioned above, the
また、S402で用いられる所定の電圧としては、たとえば、上述の規格書における規定にしたがって、下記の値を用いることができる。
・外部機器301(ソース機器)からVBUS端子302を通して、1.5A/5Vの供給が可能な場合は、1.60V。
・外部機器301(ソース機器)からVBUS端子302を通して、3.0A/5V供給可能な場合は、2.60V。
Further, as the predetermined voltage used in S402, for example, the following value can be used according to the regulations in the above-mentioned standard document.
When the external device 301 (source device) can supply 1.5A / 5V through the
-If it is possible to supply 3.0A / 5V from the external device 301 (source device) through the
CC端子303の電圧が所定の電圧より低いことが検出されると、S403において、VBUS制御部307aは、所定の時間だけ待機する。そして、この待機の後、S404において、VBUS制御部307aは、CC端子検出部305を用いてCC端子303の電圧が所定の電圧未満であることを再確認する。この処理は、S402と同様である。なお、S403における所定の時間として、上述の規格書によれば、100msが規定されており、本実施形態でもこの時間が用いられる。この100msの待機により、ノイズなどによりCC端子の電圧が瞬間的に所定の電圧よりも低くなったとしても、CC端子の電圧の再チェックによりCC端子の電圧が所定の電圧よりも高いと判定されることになる。こうして、ノイズによる誤検出が防止される。
When it is detected that the voltage of the
S404において、CC端子303の電圧が所定の電圧よりも低いことが検出されると、VBUS制御部307aは、処理をS405へ進める。他方、S404において、CC端子303の電圧が所定の電圧以上であることが検出された場合は、VBUS制御部307aは、処理をS402へ戻す。S405において、VBUS制御部307は、VBUS端子302に電圧を出力する。なお、上記規格書によれば、CC端子の電圧が所定の電圧よりも低いことを検出してからVBUSに電圧を出力するまでの時間を275ms以内とすることが規定されている。したがって、外部機器301aにおいても、S404でCC端子の電圧が所定の電圧よりも低いことが確認された場合に、275ms以内にVBUS端子302への電圧の供給が開始される。
When it is detected in S404 that the voltage of the
次に、図2のフローチャートを用いて、接続された外部機器からUSBのVBUS端子を介して電力の供給を受ける電子機器100(シンク機器)の動作を説明する。電子機器100は、Type−C機器である外部機器301による、図4により上述したVBUS制御の手順(CC端子の状態に応じたVBUSの出力制御)とCC端子から得られる電力とを利用してType−C機器か否かの判定を行う。 Next, the operation of the electronic device 100 (sink device) that receives power supply from the connected external device via the USB VBUS terminal will be described with reference to the flowchart of FIG. The electronic device 100 uses the procedure of the VBUS control described above with reference to FIG. 4 (VBUS output control according to the state of the CC terminal) and the power obtained from the CC terminal by the external device 301 that is the Type-C device. It is determined whether the device is a Type-C device.
S201において、第一スイッチ制御部112は第一スイッチ106をOFFとし、第二スイッチ制御部110は第二スイッチ107をONにする。この状態(第一スイッチ106がOFF、第二スイッチ107がON)は、電子機器100の電源オフ時におけるType−C判定部101の初期状態である。なお、電源供給後(電源オン後)であっても、Type−Cコネクタ114に外部機器301が接続されていない状態においては、この初期状態が維持されるものとする。また、検出制御部102が、Type−Cコネクタ114にUSBケーブルを介して外部機器が接続されたことを検知した際に、S201を実行し、第一スイッチ106と第二スイッチ107を上述の初期状態へ移行させるようにしてもよい。
In S201, the first switch control unit 112 turns off the
Type−Cコネクタ114にUSBケーブルを用いてソース機器が接続されると、接続された時点では、ソース機器が図3(a)のようなType−C機器であればCC端子104のみに電圧が供給される。また、ソース機器が図3(b)のような非Type−C機器であれば、接続された時点からCC端子104とVBUS端子103の両方に電圧が供給される。CC端子104のみに電圧が供給される場合は、第二スイッチ107を介して蓄電部108に電荷が蓄えられていき、蓄積量が所定量以上になると検出制御部102が動作を開始する。他方、CC端子104とVBUS端子103に電圧が供給される場合は、蓄電部108に電荷が蓄えられていくが、VBUS端子103に電圧が供給された時点で検出制御部102が動作を開始する。
When a source device is connected to the Type-
検出制御部102が動作を開始すると、S202において、CC端子検出部111は、蓄電部108の電圧(CC端子104の電圧)を監視することにより、蓄電部108の蓄電が完了したかを判定する。蓄電部108の電圧が所定の電圧以上になると、蓄電部108の蓄電が完了したと判定され、処理はS202からS203に移行する。たとえば、蓄電部108の電圧が3.0Vに達すると充電完了と判定される。外部機器301においてCC端子303が3.3Vに12kΩでプルアップされており、蓄電部108が2.2μFのコンデンサで構成されているとすると、蓄電部108が3.0Vに達するまでには約62msの時間がかかる。
When the
次に、S203において、検出判定部113は、VBUS電圧検出部109がVBUS端子103において所定の電圧(5V)を検出しているかを確認する。ここでVBUS端子103の電圧がVBUS電圧検出部109によって検出されている場合は、処理はS203からS204へ移行する。S204において、検出判定部113は、接続されているソース機器が、非Type−C機器であると判定する。図3(b)で説明したように、非Type−C機器では、VBUS端子302に電圧が常時出力されるからである。
Next, in S203, the
他方、S203において、検出判定部113がVBUS端子103において所定の電圧を検出していない場合は、処理はS205へ移行する。検出判定部113はVBUS電圧検出部109により検出されたVBUS端子103の電圧が所定電圧値未満の場合に所定の電圧を検出していないと判断する。S205以降は、CC端子104とグランドとの間の接続の状態を切断された状態から接続された状態へ変更させたときのVBUS端子103における電圧値の状態の変化に基づいて、接続されている外部機器の種別を判定する処理である。本実施形態では、CC端子104がグランドへプルダウンされた状態へ変更したことに応じて、所定時間内にVBUS端子103に所定の電圧が現われるか否かにより、Type−Cか否かが判定される。
On the other hand, in S203, when the
次に、S205において、第二スイッチ制御部110は、第二スイッチ107をOFFに制御する。次に、S206において、第一スイッチ制御部112は第一スイッチ106をONに制御する。なお、第二スイッチ107をOFFしてから第一スイッチ106をONにする。第一スイッチ106によりCC端子104がグランドへプルダウンされた際に、第二スイッチ107がオンになっていると、蓄電部108に蓄電された電荷がグランドへ放出されてしまうからである。そして、検出判定部113は、S207において所定時間の待機を行った後、S208においてVBUS端子103において所定の電圧(5V)が検出されたか否かを判定する。検出判定部113は、VBUS電圧検出部109によって検出されたVBUS端子103の電圧値に基づいて上記判定を行う。なお、S207において待機する所定時間の例として、275ms以上とすることが挙げられる。上述したように、Type−C機器では、CC端子の電圧が所定の電圧よりも低いことを検出(S404)してから、VBUSを出力する(S404)までの時間が275ms以内に規定されているからである。
Next, in S205, the second
検出判定部113は、VBUS端子103の電圧が検出されていると判定した場合、処理をS209へ進める。S209において、検出判定部113は、接続されている外部機器が、Type−C機器であると判定する。
When the
他方、S208において、VBUS端子103の電圧が検出されていないと判定された場合は、検出判定部113は処理をS210へ進める。S210において、検出判定部113は、接続されている外部機器301が、Type−C機器でもなく、Type−C以外のUSB規格に準拠した機器でもないとして、接続エラーと判定する。
On the other hand, when it is determined in S208 that the voltage of the
検出制御部102による外部機器の種別の判定結果は、検出制御部102からシステム制御部122に通知され、システム制御部122から給電能力検出部121に通知される。給電能力検出部121は、通知された判定結果がType−C機器であることを示す場合、CC端子104の状態を識別することにより、外部機器の給電能力を検出する。また、通知された判定結果が非Type−C機器であることを示す場合、給電能力検出部121は、D+、D−端子の信号から外部機器の給電能力を検出する。通知された判定結果が接続エラーであった場合、給電能力検出部121は給電能力の検出を実行しない。
The
以上の構成のように、USB Type−Cにおいて、CC端子からの電力を蓄電することによって、接続機器を判定する判定回路を動作させて、接続機器を識別することが可能となる。このように、本実施形態によれば、Type−C準拠のインターフェースを有する電子機器において、VBUSから電力が供給されない場合や、バッテリが機器に装着されていない場合でも、接続された外部機器の給電能力を判定することができる。 As in the above configuration, in the USB Type-C, by storing the electric power from the CC terminal, it becomes possible to operate the determination circuit for determining the connected device and identify the connected device. As described above, according to the present embodiment, in the electronic device having the Type-C compliant interface, even when the power is not supplied from the VBUS or the battery is not attached to the device, the power feeding of the connected external device is performed. Ability can be determined.
100:電子機器、101:Type−C判定部、102:検出制御部、103:VBUS端子、104:CC端子、105:プルダウン抵抗、106:第一スイッチ、107:第二スイッチ、108:蓄電部 100: electronic device, 101: Type-C determination unit, 102: detection control unit, 103: VBUS terminal, 104: CC terminal, 105: pull-down resistor, 106: first switch, 107: second switch, 108: power storage unit
Claims (18)
前記外部機器の情報を取得する第2端子と、
前記第1端子の電圧の変化に基づいて前記外部機器の種別を判定する制御回路と、
前記第2端子からの電力を蓄電し、前記制御回路の電力を供給する蓄電部と、を備えることを特徴とする電子機器。 A first terminal Keru receive power from an external device,
A second terminal to obtain the information of the external device,
And a control circuit determines the type of Kigaibu equipment before based on a change of the front SL voltage of the first terminal,
Said second and storing power from the terminal, an electronic device, wherein the obtaining Bei and a power storage unit for supplying electric power of the control circuit.
前記第2端子と前記グランド端子との間の接続を切り換える第1スイッチと、
前記第2端子と前記蓄電部との間の接続を切り換える第2スイッチと、をさらに備え、
前記制御回路は、
前記第1スイッチを非接続状態に制御し、前記第2スイッチを接続状態に制御して、前記蓄電部に前記第2端子を介して受けた電力を蓄電し、
前記蓄電部に所定の電力が蓄電されたことに応じて、前記第1スイッチを接続状態に制御し、前記第2スイッチを非接続状態に制御することを特徴とする請求項1に記載の電子機器。 Ground terminal,
A first switch for switching a connection between the second terminal and the ground terminal;
A second switch for switching connection between the second terminal and the power storage unit,
The control circuit is
Controlling the first switch to a non-connection state, controlling the second switch to a connection state, to store the electric power received via the second terminal in the power storage unit,
Before SL Depending particular predetermined power is power storage unit, according to claim 1, wherein the first control switch to the connection state, characterized that you control the second switch to the non-connected state Electronics.
制御回路により前記第1端子の電圧の変化に基づいて前記外部機器の種別を判定する工程と、 Determining a type of the external device based on a change in the voltage of the first terminal by a control circuit,
前記第2端子からの電力を蓄電部に蓄電する工程と、 Storing a power from the second terminal in a power storage unit,
前記制御回路の電力を前記蓄電部から供給する工程と、を備えることを特徴とする電子機器の制御方法。 A step of supplying electric power of the control circuit from the power storage unit.
グランド端子と、 Ground terminal,
前記第2端子と前記グランド端子との間の接続を切り換える第1スイッチと、 A first switch for switching a connection between the second terminal and the ground terminal;
前記第2端子と前記蓄電部との間の接続を切り換える第2スイッチと、をさらに備え、 A second switch for switching connection between the second terminal and the power storage unit,
前記蓄電する工程では、 In the step of storing electricity,
前記第1スイッチを非接続状態に制御し、前記第2スイッチを接続状態に制御して、前記蓄電部に前記第2端子を介して受けた電力を蓄電し、 Controlling the first switch to a non-connection state, controlling the second switch to a connection state, to store the electric power received via the second terminal in the power storage unit,
前記蓄電部に所定の電力が蓄電されたことに応じて、前記第1スイッチを接続状態に制御し、前記第2スイッチを非接続状態に制御することを特徴とする請求項10に記載の電子機器の制御方法。 11. The electronic device according to claim 10, wherein the first switch is controlled to be in a connected state and the second switch is controlled to be in a disconnected state in response to a predetermined amount of electric power being stored in the power storage unit. How to control equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016142723A JP6681292B2 (en) | 2016-07-20 | 2016-07-20 | Electronic device and electronic device control method |
US15/653,631 US10372568B2 (en) | 2016-07-20 | 2017-07-19 | Electronic device being connectable to external device, and method of controlling electronic device being connectable to extenal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016142723A JP6681292B2 (en) | 2016-07-20 | 2016-07-20 | Electronic device and electronic device control method |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2018013932A JP2018013932A (en) | 2018-01-25 |
JP2018013932A5 JP2018013932A5 (en) | 2019-08-08 |
JP6681292B2 true JP6681292B2 (en) | 2020-04-15 |
Family
ID=61019627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016142723A Expired - Fee Related JP6681292B2 (en) | 2016-07-20 | 2016-07-20 | Electronic device and electronic device control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6681292B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7325185B2 (en) | 2018-12-27 | 2023-08-14 | キヤノン株式会社 | Electronic device, control method, program |
JP6645671B1 (en) * | 2019-02-08 | 2020-02-14 | Necプラットフォームズ株式会社 | Type-C interface circuit, control method thereof, and CC communication monitoring program |
CN110380721A (en) * | 2019-08-15 | 2019-10-25 | 珠海智融科技有限公司 | A kind of CC pin circuitry of USB Type-C |
JP7414562B2 (en) * | 2020-01-31 | 2024-01-16 | キヤノン株式会社 | Electronic equipment and its control method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4659175B2 (en) * | 2000-04-25 | 2011-03-30 | 富士通東芝モバイルコミュニケーションズ株式会社 | Mobile communication terminal |
GB2362769A (en) * | 2000-05-26 | 2001-11-28 | Nokia Mobile Phones Ltd | Battery charging circuit in which power is supplied via a communications port |
JP5340803B2 (en) * | 2009-05-18 | 2013-11-13 | 株式会社ソニー・コンピュータエンタテインメント | Information processing device |
JP5714274B2 (en) * | 2009-10-02 | 2015-05-07 | ローム株式会社 | Semiconductor devices and electronic devices using them |
JP2013109410A (en) * | 2011-11-17 | 2013-06-06 | Semiconductor Components Industries Llc | Determination circuit |
JP2014056287A (en) * | 2012-09-11 | 2014-03-27 | Ricoh Co Ltd | Electronic apparatus and method of determining power source device by electronic apparatus |
US9606953B2 (en) * | 2014-03-13 | 2017-03-28 | Nokia Technologies Oy | Method, apparatus, and computer program product for entering accessory docking mode in USB type C |
-
2016
- 2016-07-20 JP JP2016142723A patent/JP6681292B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2018013932A (en) | 2018-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6730888B2 (en) | Electronic device and control method thereof | |
US11646585B2 (en) | Methods, electronic devices, and charger apparatus for quick USB charging | |
JP6681292B2 (en) | Electronic device and electronic device control method | |
US10372568B2 (en) | Electronic device being connectable to external device, and method of controlling electronic device being connectable to extenal device | |
US10491102B2 (en) | Semiconductor device, control method of semiconductor device, and feeding system | |
EP3093945A1 (en) | Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device | |
EP2254056A1 (en) | Information processing apparatus | |
US11333716B2 (en) | Electronic device and power receiving control method thereof | |
CN109976492B (en) | Electronic device, control method thereof, and storage medium | |
US20150091499A1 (en) | Charger, terminal, charging system, and charging control method | |
JP6714469B2 (en) | Electronic device and control method thereof | |
US11249448B2 (en) | Devices, control modules, and controllers | |
BR112015008292B1 (en) | ELECTRONIC CIRCUIT TO CHARGE A BATTERY AND METHOD IN A CIRCUIT | |
JP2008158840A (en) | Electronic equipment | |
CN109066827B (en) | Electronic device, control method thereof, and storage medium | |
JP6661342B2 (en) | Port connection circuit, port connection control method, electronic equipment | |
CN101765850B (en) | Storage card opertaing device and be used for the method for control store card control equipment | |
CN111240453A (en) | Controller, control method, and control program | |
US20150325960A1 (en) | Universal serial bus interface and mobile device | |
US11322970B2 (en) | Device with power-off charging capability | |
CN108513656B (en) | Control method, USB system and electronic device | |
JP6762791B2 (en) | Electronic devices and their control methods | |
CN113608606A (en) | Interface circuit and network camera | |
CN114595184A (en) | Relay apparatus, control method of relay apparatus, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190621 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200210 |
|
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: 20200221 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200323 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6681292 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |