JP6681292B2 - Electronic device and electronic device control method - Google Patents

Electronic device and electronic device control method Download PDF

Info

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
Application number
JP2016142723A
Other languages
Japanese (ja)
Other versions
JP2018013932A5 (en
JP2018013932A (en
Inventor
芝 秀規
秀規 芝
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2016142723A priority Critical patent/JP6681292B2/en
Priority to US15/653,631 priority patent/US10372568B2/en
Publication of JP2018013932A publication Critical patent/JP2018013932A/en
Publication of JP2018013932A5 publication Critical patent/JP2018013932A5/en
Application granted granted Critical
Publication of JP6681292B2 publication Critical patent/JP6681292B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 Patent Document 1, by connecting / not connecting a pull-up (pull-down) resistor to D + / D- in the sink device, the voltage dividing resistance value of D + / D- of the source device is detected, and the power supply capability of the source device is determined. Making a decision.

特開2014−56287号公報JP, 2014-56287, A

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.

上記目的を達成するための本発明の一態様による電子機器は、たとえば、以下の構成を備える。すなわち、
部機器から電力を受ける端子と、
前記外部機器の情報を取得する第端子と、
記第端子圧の変化に基づいて前記外部機器の種別を判定する制御回路と、
前記第端子からの電力を蓄電し、前記制御回路の電力を供給する蓄電を備えることを特徴とする電子機器。

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.

実施形態による電子機器の構成例を示すブロック図。3 is a block diagram showing a configuration example of an electronic device according to an embodiment. FIG. 実施形態による、インターフェースの種別判定処理を示すフローチャート。6 is a flowchart showing interface type determination processing according to the embodiment. 外部機器のインターフェース部分のブロック図。The block diagram of the interface part of an external device. 外部機器のVBUS出力の処理を示すフローチャート。The flowchart which shows the process of VBUS output of an 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-C connector 114, which is an interface, via a USB cable. Also, the external device connected to the Type-C connector 114 of the electronic device 100 functions as a source device. The electronic device 100 of the present embodiment determines whether or not the external device is a Type-C device according to the connection of the external device, and switches the method for detecting the power supply capability of the external device according to the determination result.

図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-C determination unit 101 determines whether the external device connected to the Type-C connector 114 is a Type-C device. The power feeding capability detection unit 121 detects the power feeding capability of the external device based on the states of the CC terminal 104, the D + terminal, and the D− terminal. The system control unit 122 has a CPU and a memory (not shown), and realizes various controls in the electronic device 100 by the CPU executing a program stored in the memory. The system control unit 122 uses the power supply capability detection unit 121 that detects the power supply capability of the external device according to the determination result by the Type-C determination unit 101 (the determination result of whether the external device is the Type-C device). Switch the ability detection method. The battery 123 supplies electric power to each unit of the electronic device 100.

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-C connector 114, the VBUS terminal 103 is a terminal for receiving power from the connected external device. The CC terminal 104 is a configuration channel in USB Type-C. If the connected external device is a Type-C device, the power supply capability information of the external device can be acquired by identifying the state of the CC terminal 104. In Type-C, there are two CC terminals in order to identify the front and back of the cable to be connected, and one of them is an effective CC terminal depending on how the cable is connected. Therefore, there are actually two configurations related to the CC terminal. In the present specification, in order to make the description easy to understand, only the CC terminal that is effective when the cable is connected will be described. Further, the Type-C connector 114 has a D + terminal for differentially transmitting a signal, a D- terminal, and a ground terminal (GND terminal) for providing a ground.

次に、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-C determination unit 101 will be described. The pull-down resistor 105 is connected to the CC terminal 104, and pulls down the CC terminal 104 to the ground provided by the electronic device 100 or the GND terminal. Under the control of the first switch controller 112, the first switch 106 switches between a state in which the pull-down resistor 105 is connected to the ground and a state in which the pull-down resistor 105 is disconnected from the ground. The first switch 106 and the first switch control unit 112 are an example of a configuration for changing the state of connection between the CC terminal 104 and the ground via a resistor. The second switch 107 switches connection / disconnection between the CC terminal 104 and the power storage unit 108 and the detection control unit 102 under the control of the second switch control unit 110. The power storage unit 108 is connected to the CC terminal 104 through the second switch 107 and stores the electric power from the CC terminal 104. Power storage unit 108 is formed of, for example, a capacitor. The power storage unit 108 can supply power to the detection control unit 102 through the power supply selector 115. The power supply selector 115 supplies, to the detection control unit 102, the power having the higher voltage of the power supplied by the VBUS terminal 103 and the power storage unit 108. Therefore, detection control unit 102 can operate with both the power stored in power storage unit 108 and the power supplied from VBUS terminal 103.

検出制御部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 detection control unit 102 includes a VBUS voltage detection unit 109, a second switch control unit 110, a CC terminal detection unit 111, a first switch control unit 112, and a detection determination unit 113. The VBUS voltage detection unit 109 is connected to the VBUS terminal 103, and detects the voltage supplied to the VBUS terminal 103 from the connected external device. The second switch control unit 110 controls the second switch 107 to control connection / disconnection between the CC terminal 104 and the power storage unit 108 and the detection control unit 102. The CC terminal detection unit 111 is connected to the CC terminal 104 through the second switch 107, and detects the state (for example, voltage) of the CC terminal 104. The first switch control unit 112 controls the first switch 106 to switch connection / disconnection of the CC terminal 104 to the ground via the pull-down resistor 105. The detection determination unit 113 is connected to the VBUS voltage detection unit 109 and the CC terminal detection unit 111. The detection determination unit 113 determines whether the connected external device is a Type-C device based on the states of the VBUS terminal 103 and the CC terminal 104 detected by the VBUS voltage detection unit 109 and the CC terminal detection unit 111. To judge.

次に、図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 external device 301a of a Type-C device, and FIG. 3B shows an external device 301b of a non-Type-C device.

図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 external device 301a illustrated in FIG. 3A is a Type-C device, is connected to the electronic device 100 via an interface compliant with Type-C, and is a source device that supplies power to the connected electronic device 100. To work as. In the Type-C connector 304, the VBUS terminal 302 is a terminal that supplies power to the connected electronic device 100. The CC terminal 303 is a Configuration Channel terminal in the Type-C connector 304. Further, the Type-C connector 304 includes a D + terminal and a D- terminal for signal transmission, and a GND terminal connected to the ground.

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 terminal detection unit 305 is connected to the CC terminal 303 and detects the state of the CC terminal 303. The CC terminal control unit 306 is connected to the CC terminal 303 and controls the state of the CC terminal 303. The VBUS control unit 307a is connected to the CC terminal detection unit 305, and controls the output state of the VBUS terminal 302 according to the detection result of the CC terminal detection unit 305. The control of the output state will be described later with reference to the flowchart of FIG. The Type-C cable 308 is a cable for connecting Type-C devices to each other and having connectors at both ends conforming to the Type-C standard. The VBUS line 309 included in the Type-C cable 308 carries the VBUS output. The CC line 310 included in the Type-C cable 308 transmits a CC signal. Note that, in FIG. 3A, a part necessary for explaining the present embodiment is extracted and shown in the configuration related to the Type-C interface of the external device 301a, and the system control unit (CPU, memory) and the like are omitted. ing.

図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 external device 301b that does not comply with Type-C. Similar to FIG. 3A, FIG. 3B also shows a part of the configuration related to the Type-C interface of the external device, which is necessary for explaining the present embodiment, in an extracted manner. Note that, in FIG. 3B, the same reference numerals are given to the same configurations as those in FIG.

外部機器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 external device 301b is a non-Type-C source device that is connected to the electronic device 100 and can supply power through the USB VBUS terminal. Examples of the non-Type-C connector 354 include a Type-A connector defined by the USB standard. The CC terminal 303 does not exist in the non-Type-C connector 354 that is connected to the external device 301b. The VBUS control unit 307b always outputs the VBUS signal to the VBUS terminal 302 while the external device 301b is operating. The cable 355 has the above-mentioned non-Type-C connector 354 (for example, Type-A) on the side connected to the external device 301b, and the Type-C connector on the other side (the side connected to the electronic device 100). It is a USB cable that has. The CC terminal 357 is present on the Type-C connector side. The CC terminal 357 is pulled up to the VBUS line 506 by the pull-up resistor 358. Therefore, a voltage is always supplied to the VBUS terminal and the CC terminal of the Type-C connector connected to the external device 301b which is a non-Type-C device. In such a cable, the resistance value of the pull-up resistor 358 is generally 56 kΩ.

次に、図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 external device 301a, which is a Type-C device (VBUS voltage supply control according to the state of the CC terminal), will be described using the flowchart of FIG. In S401, the VBUS control unit 307a turns off the output to the VBUS terminal 302, and the CC terminal control unit 306 outputs the voltage to the CC terminal 303. Note that the signal output from the CC terminal control unit 306 to the CC terminal 303 may be, for example, a signal specified by the USB standard “Universal Serial Bus Type-C Cable and Connector Specification Revision 1.1”. According to this standard, specifically, the output of the CC terminal 303 is controlled as follows.

・ソース機器(外部機器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 VBUS terminal 302, the CC terminal control unit 306 pulls up the CC terminal 303 to 5 V with 22 kΩ, or 3. Pull up to 3V with 12kΩ.
When the source device (external device 301) can supply 3.0 A / 5 V of power through the VBUS terminal 302, the CC terminal control unit 306 pulls up the CC terminal 303 to 5 V with 10 kΩ, or 3. Pull up to 3V with 4.7kΩ.

S402において、VBUS制御部307aは、CC端子検出部305を用いてCC端子303の状態を監視し、CC端子303の電圧が所定の電圧よりも低いことを検出すると処理をS403へ進める。他方、S402において、所定の電圧よりも低い電圧がCC端子検出部305により検出されない場合は、VBUS制御部307aは、CC端子303の電圧が所定の電圧よりも低い状態になるまで監視を続ける。   In S402, the VBUS control unit 307a monitors the state of the CC terminal 303 using the CC terminal detection unit 305, and when detecting that the voltage of the CC terminal 303 is lower than the predetermined voltage, advances the processing to S403. On the other hand, in S402, when the voltage lower than the predetermined voltage is not detected by the CC terminal detection unit 305, the VBUS control unit 307a continues monitoring until the voltage of the CC terminal 303 becomes lower than the predetermined voltage.

上述した規格書によれば、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 CC terminal 303 is pulled up to 5V by 22 kΩ or 10 kΩ, or pulled up to 3.3 V by 12 kΩ or 4.7 kΩ. Therefore, if the voltage of the CC terminal 303 is maintained at 5V or 3.3V, the VBUS control unit 307a continues to monitor the state of the CC terminal 303 by the CC terminal detection unit 305.

また、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 VBUS terminal 302, 1.60V.
-If it is possible to supply 3.0A / 5V from the external device 301 (source device) through the VBUS terminal 302, 2.60V.

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 CC terminal 303 is lower than the predetermined voltage, the VBUS control unit 307a waits for a predetermined time in S403. Then, after this waiting, in S404, the VBUS control unit 307a uses the CC terminal detection unit 305 to reconfirm that the voltage of the CC terminal 303 is less than the predetermined voltage. This process is similar to S402. According to the above-mentioned standard, 100 ms is specified as the predetermined time in S403, and this time is also used in this embodiment. Even if the voltage of the CC terminal momentarily becomes lower than the predetermined voltage due to noise or the like due to this 100 ms standby, it is determined that the voltage of the CC terminal is higher than the predetermined voltage by rechecking the voltage of the CC terminal. Will be. In this way, false detection due to noise is prevented.

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 CC terminal 303 is lower than the predetermined voltage, the VBUS control unit 307a advances the process to S405. On the other hand, when it is detected in S404 that the voltage of the CC terminal 303 is equal to or higher than the predetermined voltage, the VBUS control unit 307a returns the process to S402. In S405, the VBUS control unit 307 outputs a voltage to the VBUS terminal 302. According to the above standard, it is specified that the time from detecting that the voltage of the CC terminal is lower than the predetermined voltage to outputting the voltage to VBUS is within 275 ms. Therefore, also in the external device 301a, when it is confirmed in S404 that the voltage of the CC terminal is lower than the predetermined voltage, the supply of the voltage to the VBUS terminal 302 is started within 275 ms.

次に、図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 first switch 106 and the second switch control unit 110 turns on the second switch 107. This state (the first switch 106 is OFF and the second switch 107 is ON) is the initial state of the Type-C determination unit 101 when the electronic device 100 is powered off. Even after power is supplied (power is turned on), this initial state is maintained in a state where the external device 301 is not connected to the Type-C connector 114. Further, when the detection control unit 102 detects that an external device is connected to the Type-C connector 114 via the USB cable, S201 is executed and the first switch 106 and the second switch 107 are set to the above-mentioned initial state. You may make it shift to a state.

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-C connector 114 using a USB cable, at the time of connection, if the source device is a Type-C device as shown in FIG. 3A, the voltage is applied only to the CC terminal 104. Supplied. Further, if the source device is a non-Type-C device as shown in FIG. 3B, voltage is supplied to both the CC terminal 104 and the VBUS terminal 103 from the time of connection. When the voltage is supplied only to the CC terminal 104, the electric charge is stored in the power storage unit 108 via the second switch 107, and when the storage amount reaches a predetermined amount or more, the detection control unit 102 starts the operation. On the other hand, when the voltage is supplied to the CC terminal 104 and the VBUS terminal 103, the electric charge is accumulated in the power storage unit 108, but the detection control unit 102 starts the operation when the voltage is supplied to the VBUS terminal 103. .

検出制御部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 detection control unit 102 starts operating, in S202, the CC terminal detection unit 111 determines whether or not the power storage unit 108 has completed power storage by monitoring the voltage of the power storage unit 108 (voltage of the CC terminal 104). . When the voltage of power storage unit 108 becomes equal to or higher than the predetermined voltage, it is determined that power storage of power storage unit 108 is completed, and the process proceeds from S202 to S203. For example, when the voltage of power storage unit 108 reaches 3.0 V, it is determined that charging is completed. In the external device 301, if the CC terminal 303 is pulled up to 3.3V with 12 kΩ and the power storage unit 108 is composed of a 2.2 μF capacitor, it will take about 3 minutes before the power storage unit 108 reaches 3.0V. It takes 62 ms.

次に、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 detection determination unit 113 confirms whether the VBUS voltage detection unit 109 detects a predetermined voltage (5V) at the VBUS terminal 103. Here, when the voltage of the VBUS terminal 103 is detected by the VBUS voltage detection unit 109, the process proceeds from S203 to S204. In S204, the detection determination unit 113 determines that the connected source device is a non-Type-C device. This is because the voltage is always output to the VBUS terminal 302 in the non-Type-C device as described with reference to FIG.

他方、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 detection determination unit 113 does not detect the predetermined voltage at the VBUS terminal 103, the process proceeds to S205. The detection determination unit 113 determines that the predetermined voltage is not detected when the voltage of the VBUS terminal 103 detected by the VBUS voltage detection unit 109 is less than the predetermined voltage value. After S205, the connection between the CC terminal 104 and the ground is made based on the change in the state of the voltage value at the VBUS terminal 103 when the connection state is changed from the disconnected state to the connected state. This is processing for determining the type of external device. In the present embodiment, depending on whether the CC terminal 104 is changed to the state of being pulled down to the ground, whether or not a predetermined voltage appears at the VBUS terminal 103 within a predetermined time determines whether or not it is Type-C. It

次に、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 switch control unit 110 controls the second switch 107 to be OFF. Next, in S206, the first switch control unit 112 controls the first switch 106 to be ON. The second switch 107 is turned off and then the first switch 106 is turned on. This is because if the second switch 107 is turned on when the CC terminal 104 is pulled down to the ground by the first switch 106, the electric charge stored in the power storage unit 108 is discharged to the ground. Then, the detection determination unit 113 waits for a predetermined time in S207, and then determines in S208 whether a predetermined voltage (5V) is detected at the VBUS terminal 103. The detection determination unit 113 makes the determination based on the voltage value of the VBUS terminal 103 detected by the VBUS voltage detection unit 109. It should be noted that an example of the predetermined time to wait in S207 is 275 ms or more. As described above, in the Type-C device, the time from detecting that the voltage of the CC terminal is lower than the predetermined voltage (S404) to outputting VBUS (S404) is regulated within 275 ms. Because.

検出判定部113は、VBUS端子103の電圧が検出されていると判定した場合、処理をS209へ進める。S209において、検出判定部113は、接続されている外部機器が、Type−C機器であると判定する。   When the detection determination unit 113 determines that the voltage of the VBUS terminal 103 is detected, the process proceeds to S209. In S209, the detection determination unit 113 determines that the connected external device is a Type-C device.

他方、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 VBUS terminal 103 is not detected, the detection determination unit 113 advances the process to S210. In S210, the detection determination unit 113 determines that the connected external device 301 is neither a Type-C device nor a device conforming to the USB standard other than Type-C, and a connection error.

検出制御部102による外部機器の種別の判定結果は、検出制御部102からシステム制御部122に通知され、システム制御部122から給電能力検出部121に通知される。給電能力検出部121は、通知された判定結果がType−C機器であることを示す場合、CC端子104の状態を識別することにより、外部機器の給電能力を検出する。また、通知された判定結果が非Type−C機器であることを示す場合、給電能力検出部121は、D+、D−端子の信号から外部機器の給電能力を検出する。通知された判定結果が接続エラーであった場合、給電能力検出部121は給電能力の検出を実行しない。   The detection control unit 102 notifies the system control unit 122 of the determination result of the type of the external device, and the system control unit 122 notifies the power supply capability detection unit 121. When the notified determination result indicates that the device is a Type-C device, the power supply capability detection unit 121 detects the power supply capability of the external device by identifying the state of the CC terminal 104. When the notified determination result indicates that the device is a non-Type-C device, the power feeding capability detection unit 121 detects the power feeding capability of the external device from the signals of the D + and D− terminals. When the notified determination result is a connection error, the power feeding capability detection unit 121 does not detect the power feeding capability.

以上の構成のように、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)

部機器から電力を受ける端子と、
前記外部機器の情報を取得する第端子と、
記第端子圧の変化に基づいて前記外部機器の種別を判定する制御回路と、
前記第端子からの電力を蓄電し、前記制御回路の電力を供給する蓄電部と、を備えることを特徴とする電子機器。
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スイッチを非接続状態に制御し、前記第2スイッチを接続状態に制御した状態で前記第1端子に所定の電圧が検出され場合、前記外部機器が第1種別の機器であると判定することを特徴とする請求項に記載の電子機器。 The control circuit controls the first switch to a non-connection state and controls the second switch to a connection state, and when a predetermined voltage is detected at the first terminal, the external device is the first type. The electronic device according to claim 2 , wherein the electronic device is determined to be the device. 前記第1種別は、USB Type−Cに準拠しないタイプのUSBを搭載した機器を示すことを特徴とする請求項3に記載の電子機器。  The electronic device according to claim 3, wherein the first type indicates a device equipped with a USB of a type that does not conform to USB Type-C. 前記制御回路は、前記第1スイッチを非接続状態に制御し、前記第2スイッチを接続状態に制御した状態で前記第1端子に前記所定の電圧が検出されず、前記第1スイッチを接続状態に制御し、前記第2スイッチを非接続状態に制御したあとで、前記第1端子に前記所定の電圧が検出された場合、前記外部機器が第2種別の機器であると判定することを特徴とする請求項3または請求項4に記載の電子機器。 The control circuit controls the first switch to a non-connection state and controls the second switch to a connection state, and the predetermined voltage is not detected at the first terminal and the first switch is in a connection state. controls on, said second switch after you control the non-connected state, when the predetermined voltage to the first terminal is detected, characterized in that said external device is determined to be a device of the second type The electronic device according to claim 3 or 4 . 前記第2種別は、USB Type−Cに準拠するUSBを搭載した機器を示すことを特徴とする請求項5に記載の電子機器。  The electronic device according to claim 5, wherein the second type indicates a device equipped with a USB compliant with USB Type-C. 前記制御回路は、前記電子機器の電源がオフの状態、または、前記電子機器に外部機器が接続されていない状態において、前記第1スイッチが非接続状態であり、かつ、前記第2スイッチが接続状態であるように、各スイッチを制御することを特徴とする請求項2乃至請求項6のいずれか1項に記載の電子機器。 In the control circuit, the first switch is in a non-connection state and the second switch is connected in a state where the power of the electronic device is off or a state where an external device is not connected to the electronic device. The electronic device according to any one of claims 2 to 6 , wherein each switch is controlled so as to be in a state . 記第端子はUSB Type−C規格に定められたVBUS端子、前記第端子はUSB Type−C規格に定められたCC端子であることを特徴とする請求項1乃至請求項7のいずれか1項に記載の電子機器。 Before Symbol VBUS terminal first terminal stipulated in USB Type-C standard, any of claims 1 to 7, wherein the second terminal is a CC terminal stipulated in USB Type-C standard The electronic device according to item 1 . 前記制御回路は、判定された前記外部機器の種別に応じて、前記外部機器の給電能力を検出する処理を実行することを特徴とする請求項1乃至のいずれか1項に記載の電子機器。 Wherein the control circuit, according to the type of the determined the external device, the electronic device according to any one of claims 1 to 8, characterized in that to execute a process of detecting the power supply capacity of the external device . 外部機器から電力を受ける第1端子と、前記外部機器の情報を取得する第2端子と、を備える電子機器の制御方法であって、  A method for controlling an electronic device, comprising: a first terminal that receives electric power from an external device; and a second terminal that acquires information about the external device.
制御回路により前記第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.
前記電子機器は、  The electronic device is
グランド端子と、  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.
前記第1スイッチを非接続状態に制御し、前記第2スイッチを接続状態に制御した状態で前記第1端子に所定の電圧が検出された場合に、前記外部機器が第1種別の機器であると判定する工程を備えることを特徴とする請求項11に記載の電子機器の制御方法。  The external device is a device of the first type when a predetermined voltage is detected at the first terminal in a state where the first switch is controlled to a non-connection state and the second switch is controlled to a connection state. The method for controlling an electronic device according to claim 11, further comprising a step of determining. 前記第1種別は、USB Type−Cに準拠しないタイプのUSBを搭載した機器を示すことを特徴とする請求項12に記載の電子機器の制御方法。  13. The electronic device control method according to claim 12, wherein the first type indicates a device equipped with a USB of a type that does not comply with USB Type-C. 前記判定する工程では、前記第1スイッチを非接続状態に制御し、前記第2スイッチを接続状態に制御した状態で前記第1端子に前記所定の電圧が検出されず、前記第1スイッチを接続状態に制御し、前記第2スイッチを非接続状態に制御したあとで、前記第1端子に前記所定の電圧が検出された場合、前記外部機器が第2種別の機器であると判定することを特徴とする請求項12または請求項13に記載の電子機器の制御方法。  In the determining step, the first switch is connected to the first switch while the first switch is controlled to a non-connection state and the second switch is controlled to a connection state without detecting the predetermined voltage at the first terminal. When the predetermined voltage is detected at the first terminal after controlling the second switch to the non-connection state after controlling the second state, it is determined that the external device is a second type device. The method for controlling an electronic device according to claim 12, which is characterized in that. 前記第2種別は、USB Type−Cに準拠するUSBを搭載した機器を示すことを特徴とする請求項14に記載の電子機器の制御方法。  The electronic device control method according to claim 14, wherein the second type indicates a device equipped with a USB compliant with USB Type-C. 前記電子機器の電源がオフの状態、または、前記電子機器に外部機器が接続されていない状態において、前記第1スイッチが非接続状態であり、かつ、前記第2スイッチが接続状態であるように、各スイッチを制御する工程を備えることを特徴とする請求項11乃至請求項15のいずれか1項に記載の電子機器の制御方法。  The first switch is in a non-connection state and the second switch is in a connection state in a state where the power of the electronic device is off or a state where an external device is not connected to the electronic device. The method for controlling an electronic device according to claim 11, further comprising: controlling each switch. 前記第1端子はUSB Type−C規格に定められたVBUS端子、前記第2端子はUSB Type−C規格に定められたCC端子であることを特徴とする請求項10乃至請求項16のいずれか1項に記載の電子機器の制御方法。  The first terminal is a VBUS terminal defined in the USB Type-C standard, and the second terminal is a CC terminal defined in the USB Type-C standard. 2. The electronic device control method according to item 1. 判定された前記外部機器の種別に応じて、前記外部機器の給電能力を検出する処理を実行する工程をさらに備えることを特徴とする請求項10乃至17のいずれか1項に記載の電子機器の制御方法。  The electronic device according to any one of claims 10 to 17, further comprising: a step of executing a process of detecting a power supply capability of the external device according to the determined type of the external device. Control method.
JP2016142723A 2016-07-20 2016-07-20 Electronic device and electronic device control method Expired - Fee Related JP6681292B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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