JP7146405B2 - Electronic device and its control method, communication system - Google Patents

Electronic device and its control method, communication system Download PDF

Info

Publication number
JP7146405B2
JP7146405B2 JP2018015727A JP2018015727A JP7146405B2 JP 7146405 B2 JP7146405 B2 JP 7146405B2 JP 2018015727 A JP2018015727 A JP 2018015727A JP 2018015727 A JP2018015727 A JP 2018015727A JP 7146405 B2 JP7146405 B2 JP 7146405B2
Authority
JP
Japan
Prior art keywords
electronic device
communication terminal
external device
voltage level
state
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.)
Active
Application number
JP2018015727A
Other languages
Japanese (ja)
Other versions
JP2019134334A (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 JP2018015727A priority Critical patent/JP7146405B2/en
Priority to US15/963,901 priority patent/US20180343394A1/en
Publication of JP2019134334A publication Critical patent/JP2019134334A/en
Application granted granted Critical
Publication of JP7146405B2 publication Critical patent/JP7146405B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Viewfinders (AREA)
  • Structure And Mechanism Of Cameras (AREA)
  • Accessories Of Cameras (AREA)
  • Studio Devices (AREA)

Description

本発明は、USB Type-C機能を有する電子機器及びその制御方法、通信システムに関する。 The present invention relates to an electronic device having a USB Type-C function, a control method thereof, and a communication system.

USB3.1規格において、USB Type-Cコネクタが提案されている。USB3.1規格においては、オプション機能としてオルタネートモード(Alternate Mode)が規定されている。オルタネートモードを用いれば、DisplayPort(DP)規格やHDMI(登録商標)(High-Definition Multimedia Interface)規格等に準拠した画像データ等をディスプレイ等に転送することが可能である。オルタネートモードの画像データの転送においては、10Gbps以上の伝送速度をサポートするUSB3.1規格において規定された高速伝送ラインを用いて画像データの転送が行われる。 A USB Type-C connector has been proposed in the USB 3.1 standard. The USB 3.1 standard defines an alternate mode as an optional function. By using the alternate mode, it is possible to transfer image data and the like conforming to the DisplayPort (DP) standard, HDMI (registered trademark) (High-Definition Multimedia Interface) standard, and the like to a display or the like. In alternate mode image data transfer, image data transfer is performed using a high-speed transmission line defined in the USB 3.1 standard that supports a transmission speed of 10 Gbps or higher.

また、USB Type-C Power Delivery(PD)規格、USB Battery Charging規格等の様々な規格も、USB3.1規格において規定されている。特許文献1には、Type-Cポートを備えた機器とType-CポートではないUSBポートを備えた機器とを延長手段を用いて接続し、画像通信を行う技術が開示されている。 Various standards such as the USB Type-C Power Delivery (PD) standard and the USB Battery Charging standard are also defined in the USB 3.1 standard. Japanese Patent Application Laid-Open No. 2002-200001 discloses a technique of connecting a device having a Type-C port and a device having a USB port that is not a Type-C port using an extension means to perform image communication.

また、USB3.1規格では、接続した機器間で、ホストとして機能するDFP(Downstream Facing Port)と、デバイスとして機能するUFP(Upstream Facing Port)との役割が割り振られる。接続した機器間で通信を行う場合、DFP側の機器(DFP機器)からUFP側の機器(UFP機器)に対してクエリを送信し、クエリを受信したことに応じて、UFP機器が情報を送信する。 Further, according to the USB 3.1 standard, the roles of a DFP (Downstream Facing Port) functioning as a host and a role of a UFP (Upstream Facing Port) functioning as a device are assigned between connected devices. When communicating between connected devices, a query is sent from the device on the DFP side (DFP device) to the device on the UFP side (UFP device), and in response to receiving the query, the UFP device sends information. do.

例えば、モニタを備えるカメラと、電子ビューファインダとをこのような規格に準じたインターフェースを用いて接続することが可能となる。回路規模の削減のため、カメラが備えるモニタのための画像を生成する回路と、電子ビューファインダのための画像を生成する回路とは、共通とすることが望ましい。したがって、カメラのモニタの表示と電子ビューファインダの表示とを排他制御することがある。排他制御のトリガーとするため、例えば、電子ビューファインダへユーザが接近したこと、または離れたことを検知してカメラに通知を行うことがある。 For example, it is possible to connect a camera equipped with a monitor and an electronic viewfinder using an interface conforming to such standards. In order to reduce the circuit scale, it is desirable that the circuit for generating images for the monitor provided in the camera and the circuit for generating images for the electronic viewfinder be common. Therefore, the display on the monitor of the camera and the display on the electronic viewfinder may be exclusively controlled. In order to trigger exclusive control, for example, the camera may be notified when the user approaches or leaves the electronic viewfinder.

米国特許出願公開第2016/0127671号公報U.S. Patent Application Publication No. 2016/0127671

しかしながら、USB Type-Cコネクタを用いて、電子ビューファインダがUFPとしてデジタルカメラに接続した場合、電子ビューファインダが検知した結果を速やかにデジタルカメラに通知することができない場合がある。上述の技術によれば、UFP機器である電子ビューファインダは、DFP機器であるデジタルカメラからのクエリを受信したことに応じて情報を送信することが可能となるが、電子ビューファインダが任意のタイミングで情報を送信できるわけではない。 However, when the electronic viewfinder is connected to the digital camera as a UFP using the USB Type-C connector, it may not be possible to promptly notify the digital camera of the detection result of the electronic viewfinder. According to the above technology, the electronic viewfinder, which is a UFP device, can transmit information in response to receiving a query from a digital camera, which is a DFP device. You cannot send information with

本発明の目的は、接続した電子機器の状態に応じた制御を行う外部機器に対して、速やかに状態を示す情報を送信することが可能な電子機器及びその制御方法並びに通信システムを提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic device capable of rapidly transmitting information indicating the state of the connected electronic device to an external device that performs control according to the state of the electronic device, a control method thereof, and a communication system. It is in.

本発明の電気機器の一の形態は、外部機器と接続する電子機器であって、前記外部機器と接続する通信端子と、前記通信端子のDC電圧レベルを制御する制御手段と、前記制御手段に制御された前記通信端子の前記DC電圧レベルに波形を重畳して変調して、前記外部機器との通信を行う通信手段と、前記電子機器の状態を検知する検知手段と、前記電子機器が前記外部機器と接続した否かを判定する判定手段と、を備え、前記判定手段は、前記通信端子のDC電圧レベルが所定の検出期間の間、所定の範囲にある場合に、前記電子機器が前記外部機器と接続したと判定し、前記制御手段は、前記検知手段が前記電子機器の状態が変化したことを検出した場合に、前記通信端子のDC電圧レベルを、前記所定の検出期間よりも短い所定の期間だけ、変化させることを特徴とする。 One form of the electric device of the present invention is an electronic device connected to an external device, comprising: a communication terminal connected to the external device; control means for controlling a DC voltage level of the communication terminal; communication means for superimposing and modulating a waveform on the DC voltage level of the controlled communication terminal to perform communication with the external device; detection means for detecting the state of the electronic device; determination means for determining whether or not the electronic device is connected to an external device, wherein the determination means detects that the electronic device is connected to the external device when the DC voltage level of the communication terminal is within a predetermined range for a predetermined detection period. When the detection means detects that the state of the electronic device has changed, the control means reduces the DC voltage level of the communication terminal to a period shorter than the predetermined detection period. It is characterized by changing only for a predetermined period.

本発明に係る通信システムの一の形態は、画像を表示する表示装置と前記表示装置に画像データを出力するための出力装置とを備える通信システムであって、第1通信端子と、前記第1通信端子のDC電圧レベルを制御する制御手段と、前記第1通信端子の電圧を前記制御されたDC電圧レベルに波形を重畳して変調して、前記外部機器との通信を行う第1通信制御手段と、前記表示装置の状態を検知する検知手段と、前記判定手段は、前記通信端子のDC電圧レベルが所定の検出期間の間、所定の範囲にある場合に、前記電子機器が前記外部機器と接続したと判定し、画像データに基づいて画像を表示する第1表示手段と、を備える表示装置と、前記第1通信端子と接続するための第2通信端子と、前記第2通信端子を介して前記電子機器と通信を行う第2通信制御手段と、前記第2通信端子のDC電圧レベルに基づいて前記電子機器の状態を判定する判定手段と、前記画像データに基づく画像を表示する第2表示手段と、前記表示装置の状態に基づいて、前記表示装置および前記第2表示手段の少なくとも一方に前記画像データを出力する出力手段と、を備える出力装置と、を備え、前記制御手段は、前記検知手段が前記電子機器の状態が変化したことを検出した場合に、前記通信端子のDC電圧レベルを、前記所定の検出期間よりも短い所定の期間だけ、変化させ、前記出力手段は、前記第2通信端子のDC電圧レベルが前記所定の検出期間よりも短い期間だけ変化した場合に、前記表示装置の状態が変化したと判定し、前記画像データの出力先を変更することを特徴とする通信システム。 One form of a communication system according to the present invention is a communication system comprising a display device for displaying an image and an output device for outputting image data to the display device, comprising: a first communication terminal; Control means for controlling the DC voltage level of the communication terminal; and first communication control for performing communication with the external device by modulating the voltage of the first communication terminal by superimposing a waveform on the controlled DC voltage level. means, detection means for detecting the state of the display device, and determination means, when the DC voltage level of the communication terminal is within a predetermined range for a predetermined detection period, the electronic device is detected as the external device. and a first display means for displaying an image based on the image data, a second communication terminal for connecting to the first communication terminal, and the second communication terminal. second communication control means for communicating with the electronic device via a second communication terminal; determining means for determining the state of the electronic device based on the DC voltage level of the second communication terminal; and displaying an image based on the image data. 2 display means; and output means for outputting the image data to at least one of the display device and the second display means based on the state of the display device, wherein the control means comprises , when the detection means detects that the state of the electronic device has changed, the DC voltage level of the communication terminal is changed for a predetermined period shorter than the predetermined detection period, and the output means is When the DC voltage level of the second communication terminal changes for a period shorter than the predetermined detection period, it is determined that the state of the display device has changed, and the output destination of the image data is changed. communication system.

本発明の電子機器及びその制御方法並びに通信システムによれば、接続した電子機器の状態に応じた制御を行う外部機器に対して、速やかに状態を示す情報を送信することが可能となる。 According to the electronic device, the control method thereof, and the communication system of the present invention, it is possible to quickly transmit information indicating the state to an external device that performs control according to the state of the connected electronic device.

電子機器と外部機器とを示す斜視図である。It is a perspective view which shows an electronic device and an external device. USB Type-Cコネクタのピン配置を示す図である。FIG. 3 is a diagram showing the pin arrangement of a USB Type-C connector; 電子機器と外部機器とを示すブロック図である。1 is a block diagram showing an electronic device and an external device; FIG. 外部機器と電子機器との間のデータ送信の例を示す模式図である。FIG. 4 is a schematic diagram showing an example of data transmission between an external device and an electronic device; 電子機器の動作を示す第1のフローチャートである。4 is a first flow chart showing the operation of the electronic device; 外部機器の動作を示す第2のフローチャートである。4 is a second flow chart showing the operation of the external device; 外部機器と電子機器との間のデータ送信の例を示す第1のタイムチャートである。4 is a first time chart showing an example of data transmission between an external device and an electronic device; 電子機器の動作を示す第3のフローチャートである。9 is a third flow chart showing the operation of the electronic device; 外部機器と電子機器との間のデータ送信の例を示す第2のタイムチャートである。4 is a second time chart showing an example of data transmission between an external device and an electronic device;

<実施例1>
以下、本発明を適用した好適な実施の形態について添付の図面を参照しながら詳細に説明する。
<Example 1>
Preferred embodiments to which the present invention is applied will now be described in detail with reference to the accompanying drawings.

電子機器及びその制御方法並びに電子デバイス及びその制御方法について図面を用いて説明する。図1は、本実施形態による電子機器と外部機器とを示す斜視図である。なお、ここでは、外部機器100が、デジタルカメラである場合を例に説明するが、これに限定されるものではない。また、ここでは、電子機器200、即ち、電子デバイス(電子装置)が、デジタルカメラに取り付けられる外付けビューファインダである場合を例に説明するが、これに限定されるものではない。また、外部機器100と電子機器200とは、後述するように通信端子のDC電圧レベルを用いた通信を行う通信システムを構成する。 An electronic apparatus and its control method and an electronic device and its control method will be described with reference to the drawings. FIG. 1 is a perspective view showing an electronic device and an external device according to this embodiment. Here, an example in which the external device 100 is a digital camera will be described, but the present invention is not limited to this. Also, here, a case where the electronic device 200, that is, the electronic device (electronic device) is an external viewfinder attached to a digital camera will be described as an example, but it is not limited to this. In addition, the external device 100 and the electronic device 200 constitute a communication system that performs communication using the DC voltage level of the communication terminal, as will be described later.

外部機器100には、電子機器200を接続するためのコネクタ101が備えられている。コネクタ101は、例えば、USB Type-C規格に準拠したレセプタクルである。コネクタ101は、電子機器200が接続可能であるとともに、電子機器200に給電を行い得る。電子機器200には、外部機器100に接続するためのコネクタ201が備えられている。コネクタ201は、例えば、USB Type-C規格に準拠したプラグである。コネクタ201は、外部機器100に接続可能であるとともに、外部機器100から受電し得る。コネクタ101とコネクタ201とには、USB Type-C規格において規定された図2に示すようなピンアサインが適用されている。 The external device 100 is provided with a connector 101 for connecting the electronic device 200 . The connector 101 is, for example, a receptacle conforming to the USB Type-C standard. Connector 101 can be connected to electronic device 200 and can supply power to electronic device 200 . The electronic device 200 is provided with a connector 201 for connecting to the external device 100 . The connector 201 is, for example, a plug conforming to the USB Type-C standard. Connector 201 can be connected to external device 100 and can receive power from external device 100 . The connector 101 and the connector 201 have pin assignments as shown in FIG. 2 defined in the USB Type-C standard.

図2は、USB Type-Cコネクタのピン配置を示す図、即ち、コネクタ101,201のピン配置を示す図である。コネクタ101,201には、接続の検出やネゴシエーション等に用いられるCC(コンフィギュレーションチャネル、Configuration Channel)端子101b、201b(図3参照)がそれぞれ備えられている。即ち、コネクタ101には、CC端子(CC1、CC2)101bが備えられている。コネクタ201には、CC端子(CC1、CC2)201bが備えられている。 FIG. 2 is a diagram showing the pin arrangement of the USB Type-C connector, that is, the pin arrangement of the connectors 101 and 201. As shown in FIG. The connectors 101 and 201 are provided with CC (Configuration Channel) terminals 101b and 201b (see FIG. 3) used for connection detection, negotiation, and the like, respectively. That is, the connector 101 is provided with CC terminals (CC1, CC2) 101b. The connector 201 is provided with CC terminals (CC1, CC2) 201b.

コネクタ101とコネクタ201とを接続すると、コネクタ101に備えられたCC端子101bとコネクタ201に備えられたCC端子201bとが互いに接続される。CC端子101bの電位Vsは、接続検出部108(図3(a)参照)を用いてモニタリングされる。CC端子201bの電位は、接続検出部208(図3(b)参照)を用いてモニタリングされる。後述するように、外部機器100と電子機器200とが接続した場合、CC端子を介して、情報を送受信することが可能となる。つまり、CC端子は通信を行うための通信端子である。 When the connector 101 and the connector 201 are connected, the CC terminal 101b provided on the connector 101 and the CC terminal 201b provided on the connector 201 are connected to each other. The potential Vs of the CC terminal 101b is monitored using the connection detector 108 (see FIG. 3A). The potential of the CC terminal 201b is monitored using the connection detector 208 (see FIG. 3B). As will be described later, when the external device 100 and the electronic device 200 are connected, information can be transmitted and received via the CC terminal. That is, the CC terminal is a communication terminal for communication.

コネクタ101には、VBUS端子(電源端子)101aやGND端子(グラウンド端子)が備えられている。コネクタ201には、VBUS端子201aやGND端子が備えられている。外部機器100から電子機器200に対してVBUS端子101a、201aを介して所定の電圧、即ち、VBUSが供給され得る。 The connector 101 is provided with a VBUS terminal (power supply terminal) 101a and a GND terminal (ground terminal). The connector 201 is provided with a VBUS terminal 201a and a GND terminal. A predetermined voltage, that is, VBUS, can be supplied from the external device 100 to the electronic device 200 via the VBUS terminals 101a and 201a.

TX*端子(TX1+、TX1-、TX2+、TX2-)は信号送信用の端子であり、RX*端子(RX1+、RX1-、RX2+、RX2-)は信号受信用の端子であり、これらは高速データ伝送に対応し得る。SBU端子(SBU1、SBU2)は、サイドバンド信号端子であり、多様な用途に適宜用い得る。D+端子及びD-端子は、USB2.0をサポートするために用いられる。 TX* terminals (TX1+, TX1-, TX2+, TX2-) are terminals for signal transmission, and RX* terminals (RX1+, RX1-, RX2+, RX2-) are terminals for signal reception. transmission. The SBU terminals (SBU1, SBU2) are sideband signal terminals and can be appropriately used for various purposes. The D+ and D- terminals are used to support USB 2.0.

外部機器100には、アクセサリシューアダプタ(アクセサリシューコネクタ)が備えられている。アクセサリシューアダプタは、電子機器200を物理的に固定する役割を担う。外部機器100には、表示部114が備えられている。電子機器200には、外部機器100に備えられた表示部114とは異なる表示部214が備えられている。電子機器200は、センサ216を備える。センサ216は、ユーザの接眼や離眼を検出するためのセンサである。例えば、センサ216は、電子機器200に近接する物体との距離を検出する測距センサであるとする。外部機器100には、レンズ(図示せず)を含む撮像光学系120、即ち、レンズユニットが備えられる。撮像光学系120は、外部機器100に対して着脱不能であってもよいし、外部機器100に対して着脱可能であってもよい。 The external device 100 is provided with an accessory shoe adapter (accessory shoe connector). The accessory shoe adapter serves to physically fix the electronic device 200 . The external device 100 is provided with a display section 114 . The electronic device 200 is provided with a display section 214 different from the display section 114 provided in the external device 100 . Electronic device 200 includes sensor 216 . A sensor 216 is a sensor for detecting eye contact and eye separation of the user. For example, sensor 216 is a ranging sensor that detects the distance to an object that is close to electronic device 200 . The external device 100 is provided with an imaging optical system 120 including a lens (not shown), that is, a lens unit. The imaging optical system 120 may be non-detachable with respect to the external device 100 or may be detachable with respect to the external device 100 .

図3は、本実施形態による外部機器100と電子機器200とを示すブロック図である。図3(a)は外部機器100を示しており、図3(b)は電子機器200を示している。 FIG. 3 is a block diagram showing the external device 100 and the electronic device 200 according to this embodiment. 3A shows the external device 100, and FIG. 3B shows the electronic device 200. As shown in FIG.

外部機器100には、USB Type-C規格に準拠したポートが備えられている。外部機器100のポートには、コネクタ101が備えられている。 The external device 100 has a port conforming to the USB Type-C standard. A port of the external device 100 is provided with a connector 101 .

外部機器100のポートは、DFP(Downstream Facing Port)にもUFP(Upstream Facing Port)にもなり得る。つまり、外部機器100のポートは、DFPおよびUFPの役割を切り替え得るType-CポートであるDRP(Dual Role Port)であるとする。ここで、DFPとは、ホストとして機能するとともに電力を供給する側のポート、即ち、ソース(Source)となるType-Cポートである。また、UFPとは、デバイスとして機能するとともに電力を受給する側のポート、即ち、シンク(Sink)となるTyep-Cポートである。 The port of the external device 100 can be a DFP (Downstream Facing Port) or a UFP (Upstream Facing Port). In other words, assume that the port of the external device 100 is a DRP (Dual Role Port) which is a Type-C port capable of switching the roles of DFP and UFP. Here, the DFP is a port that functions as a host and supplies power, that is, a Type-C port that serves as a source. A UFP is a port that functions as a device and also receives power, that is, a Type-C port that serves as a sink.

DRPを備えた電子機器、即ち、DRP機器は、外部機器に電力を供給する側の機器であるDFP機器になることもできるし、外部機器から電力を受け取る側の機器であるUFP機器になることもできる。各々の機器の役割を決定する際には、CC(コンフィギュレーションチャネル、Configuration Channel)端子101bが用いられる。なお、電子機器200のポートは、例えばUFP(Upstream Facing Port)である。 An electronic device equipped with a DRP, that is, a DRP device can be a DFP device that supplies power to an external device, or a UFP device that receives power from an external device. can also A CC (Configuration Channel) terminal 101b is used to determine the role of each device. Note that the port of the electronic device 200 is, for example, a UFP (Upstream Facing Port).

例えば、外部機器100は、外部機器100に備えられた不図示のバッテリから供給される電力によって動作する撮像装置であるものとする。外部機器100は、後述するTX端子を介して電子機器200に映像信号を送信することが可能である。また、電子機器200は、外部機器100等から受信する映像信号に基づいた画像を表示するディスプレイ(表示装置)であるものとする。なお、外部機器100および電子機器200は、このような装置に限定されるものではない。 For example, the external device 100 is assumed to be an imaging device that operates with power supplied from a battery (not shown) provided in the external device 100 . The external device 100 can transmit a video signal to the electronic device 200 via a TX terminal, which will be described later. Electronic device 200 is assumed to be a display (display device) that displays an image based on a video signal received from external device 100 or the like. Note that the external device 100 and the electronic device 200 are not limited to such devices.

外部機器100には、上述したように、コネクタ101、具体的にはレセプタクルが備えられている。電子機器200には、上述したように、コネクタ201、具体的には、プラグが備えられている。外部機器100のコネクタ101と電子機器200のコネクタ201とは、互いに接続される。外部機器100のポートと電子機器200のポートとの間において、コネクタ101,201を介して通信や給電が行われ得る。 The external device 100 is provided with the connector 101, specifically the receptacle, as described above. The electronic device 200 is provided with the connector 201, specifically the plug, as described above. Connector 101 of external device 100 and connector 201 of electronic device 200 are connected to each other. Communication and power supply can be performed between the port of the external device 100 and the port of the electronic device 200 via the connectors 101 and 201 .

外部機器100は、コネクタ101、スイッチ102、プルアップ抵抗103、プルダウン抵抗104、スイッチ制御部105、通信部106、判定部107、接続検出部108、およびシステム制御部109を備えている。外部機器100は、さらに、電源部111、撮像部112、メモリ113、表示部114、および機器判別部115を更に備えている。 The external device 100 has a connector 101 , a switch 102 , a pull-up resistor 103 , a pull-down resistor 104 , a switch control section 105 , a communication section 106 , a determination section 107 , a connection detection section 108 and a system control section 109 . The external device 100 further includes a power supply section 111 , an imaging section 112 , a memory 113 , a display section 114 and a device determination section 115 .

プルアップ抵抗103の一方の端部は、電源線に接続されている。電源線は所定の電圧の定電圧電源に接続されており、電源線の電位はVCCとなっている。プルアップ抵抗103の他方の端部は、スイッチ102に接続されている。プルアップ抵抗103は、スイッチ102を介してCC端子101bに接続可能である。プルアップ抵抗103の抵抗値は、USB Type-C規格に規定されており、例えば22kΩである。VCCの電圧値は、USB Type-C規格に規定されており、例えば5Vである。VCCは、VBUS端子101aを介して電子機器200に供給される電源、即ち、VBUSとは別個に生成される。 One end of the pull-up resistor 103 is connected to the power supply line. The power line is connected to a constant-voltage power supply with a predetermined voltage, and the potential of the power line is VCC. The other end of pull-up resistor 103 is connected to switch 102 . A pull-up resistor 103 can be connected to the CC terminal 101b via a switch 102. FIG. A resistance value of the pull-up resistor 103 is specified in the USB Type-C standard, and is 22 kΩ, for example. The voltage value of VCC is specified in the USB Type-C standard and is 5V, for example. VCC is generated separately from the power supplied to electronic device 200 via VBUS terminal 101a, that is, VBUS.

プルダウン抵抗104の一方の端部は、接地線に接続されている。接地線の電位は接地電位GND、即ち、0Vである。プルダウン抵抗104の他方の端部は、スイッチ102に接続されている。プルダウン抵抗104は、スイッチ102を介して所定の端子、即ち、CC端子101bに接続可能である。プルダウン抵抗104の抵抗値は、USB Type-C規格に規定されており、例えば5.1kΩである。 One end of pull-down resistor 104 is connected to the ground line. The potential of the ground line is the ground potential GND, that is, 0V. The other end of pull-down resistor 104 is connected to switch 102 . The pull-down resistor 104 can be connected through the switch 102 to a predetermined terminal, namely the CC terminal 101b. A resistance value of the pull-down resistor 104 is specified in the USB Type-C standard, and is 5.1 kΩ, for example.

スイッチ102は、接続を切り替えるものである。スイッチ102は、ある状態においては、CC端子101bとプルアップ抵抗103とを接続する(プルアップ状態)。スイッチ102は、他の状態においては、CC端子101bとプルダウン抵抗104とを接続する(プルダウン状態)。スイッチ102は、更に他の状態においては、CC端子101bをプルアップ抵抗103にもプルダウン抵抗104にも接続しない(開放状態)。スイッチ102は、スイッチ制御部105によって制御される。 The switch 102 switches connections. Switch 102 connects CC terminal 101b and pull-up resistor 103 in a certain state (pull-up state). In other states, switch 102 connects CC terminal 101b and pull-down resistor 104 (pull-down state). In yet another state, switch 102 does not connect CC terminal 101b to pull-up resistor 103 or pull-down resistor 104 (open state). The switch 102 is controlled by a switch control section 105 .

スイッチ制御部(SW制御部)105は、システム制御部109からの指示に基づいてスイッチ102を制御する。スイッチ制御部105は、CC端子101bがプルアップ抵抗103に接続されるようにスイッチ102を制御し得る。CC端子101bをプルアップ抵抗103に接続することによって、外部機器100がホスト機器、即ち、DFP機器であることを電子機器200に対して示し得る。 A switch control unit (SW control unit) 105 controls the switch 102 based on an instruction from the system control unit 109 . Switch control section 105 can control switch 102 such that CC terminal 101 b is connected to pull-up resistor 103 . By connecting CC terminal 101b to pull-up resistor 103, it is possible to indicate to electronic device 200 that external device 100 is a host device, ie, a DFP device.

また、スイッチ制御部105は、CC端子101bがプルダウン抵抗104に接続されるようにスイッチ102を制御し得る。CC端子101bをプルダウン抵抗104に接続することによって、外部機器100がデバイス機器、即ち、UFP機器であることを電子機器200に対して示し得る。スイッチ制御部105は、スイッチ102を周期的に切り替え得る。スイッチ102を周期的に切り替えることよって、外部機器100がホスト機器にもデバイス機器にもなり得るDRP機器であることを電子機器200に対して示し得る。 Also, the switch control section 105 can control the switch 102 so that the CC terminal 101 b is connected to the pull-down resistor 104 . By connecting the CC terminal 101b to the pull-down resistor 104, it is possible to indicate to the electronic device 200 that the external device 100 is a device device, that is, a UFP device. The switch control unit 105 can switch the switch 102 periodically. By periodically switching switch 102, it is possible to indicate to electronic device 200 that external device 100 is a DRP device that can be both a host device and a device device.

さらに、スイッチ制御部105は、スイッチ102を開放状態に設定し得る。即ち、スイッチ制御部105は、CC端子101bをプルアップ抵抗103とプルダウン抵抗104のいずれにも接続しない状態とし得る。スイッチ制御部105は、外部機器100と電子機器200とが接続されたことが接続検出部108によって判定されるまで、CC端子101bがプルアップ抵抗103とプルダウン抵抗104とに交互に接続されるように制御を行う。CC端子101bをプルアップ抵抗103とプルダウン抵抗104とに交互に周期的に接続することは、トグリング(Toggling)と称される。 Furthermore, switch control section 105 can set switch 102 to an open state. In other words, the switch control unit 105 can connect the CC terminal 101b to neither the pull-up resistor 103 nor the pull-down resistor 104. FIG. Switch control section 105 alternately connects CC terminal 101b to pull-up resistor 103 and pull-down resistor 104 until connection detection section 108 determines that external device 100 and electronic device 200 are connected. to control. Alternately and periodically connecting the CC terminal 101b to the pull-up resistor 103 and the pull-down resistor 104 is called toggling.

通信部106は、USB Type-C Power Delivery(PD)規格に準拠した通信、即ち、PD通信を、CC端子101bを介して行う。通信部106は、CC端子の電圧を、変調させて接続した機器間での通信を実行する。通信部106は、CC端子のDC電圧レベルを、波形を重畳することにより変調させる。具体的には、通信部106は、CC端子101bの電圧値が、CC端子101bのDC電圧レベルに対して、パルス状にHigh、およびLow状態を遷移するように制御することにより、電子機器200と通信を行う通信制御回路である。なお、通信部106がCC端子の電圧の変調に用いる波形は、上述のパルス状の波形に限らない。 The communication unit 106 performs communication conforming to the USB Type-C Power Delivery (PD) standard, that is, PD communication, via the CC terminal 101b. The communication unit 106 performs communication between connected devices by modulating the voltage of the CC terminal. The communication unit 106 modulates the DC voltage level of the CC terminal by superimposing a waveform. Specifically, the communication unit 106 controls the DC voltage level of the CC terminal 101b so that the voltage value of the CC terminal 101b transitions between the High and Low states in a pulse-like manner. It is a communication control circuit that communicates with Note that the waveform used by the communication unit 106 to modulate the voltage of the CC terminal is not limited to the pulse waveform described above.

なお、USB規格のオルタネートモードにおいて、接続した機器間で通信を行う場合、デバイス側の機器(電子機器200)は、ホスト側の機器(外部機器100)からのクエリを受信したことに応じて、情報を送信する。 When communicating between connected devices in the USB standard alternate mode, the device-side device (electronic device 200) receives a query from the host-side device (external device 100). Send information.

図4は、外部機器100と電子機器200との間のデータ送信の例を示すタイムチャートである。外部機器100からステータス情報を要求するクエリ(DP Status)が周期的に送信される。外部機器100はあらかじめ定められた期間ごとに電子機器200にクエリを送信する。例えば、外部機器100は、50msごとに電子機器200にクエリを送信するとする。 FIG. 4 is a time chart showing an example of data transmission between the external device 100 and the electronic device 200. FIG. A query (DP Status) requesting status information is periodically transmitted from the external device 100 . The external device 100 transmits a query to the electronic device 200 at predetermined intervals. For example, external device 100 transmits a query to electronic device 200 every 50 ms.

電子機器200は、クエリを受信したことに応じて、ACKを返送し、続いて電子機器200のステータス情報を送信する。つまり、電子機器200は、受信したクエリに応答する形で、外部機器100に情報を送信するといえる。 Electronic device 200 returns an ACK in response to receiving the query, and then transmits status information of electronic device 200 . That is, it can be said that the electronic device 200 transmits information to the external device 100 in response to the received query.

したがって、図5の星マークで示したタイミングで、電子機器200からユーザが離れた(離眼状態)であることを検知した場合、離眼状態を検知した後のステータス情報の送信タイミングで電子機器200から離眼情報が送信される。この場合、電子機器200が離眼状態を検知してから、外部機器100が離眼状態を検知するまでに時間差(タイムラグ)が発生することがあった。同様の時間差は、接眼状態を検知した場合にも発生する。
例えば、Display Port規格に準拠して、ホスト側の外部機器100は、50msecごとにDP Statusを送信するとする。この場合、デバイス側である電子機器200は、接眼(離眼)状態を検知してから最大で50ms後に、外部機器100に接眼状態を検知したことを通知する。
Therefore, when it is detected that the user is away from the electronic device 200 (out-of-sight state) at the timing indicated by the star mark in FIG. 200 transmits distance information. In this case, there may be a time lag between when the electronic device 200 detects the eye separation state and when the external device 100 detects the eye separation state. A similar time difference also occurs when the eye contact state is detected.
For example, in compliance with the Display Port standard, the host-side external device 100 transmits DP Status every 50 msec. In this case, the electronic device 200 on the device side notifies the external device 100 of the detection of the eye contact state 50 ms at maximum after detecting the eye contact state.

電子機器200の接眼状態に応じて、外部機器100がライブビュー画像を外部機器100の表示部114と電子機器200の表示部214とのいずれかにのみ表示するように制御することがある。このような場合に、上述のようなタイムラグが発生すると、ライブビュー画像の表示の切り替えのタイムラグが拡大し、ユーザが違和感を覚える場合があった。具体的には、ユーザがEVF(電子機器200)の表示部214を覗き込む状態(接眼状態)においては、ライブビュー画像を表示部214に表示する必要がある。一方で、ユーザがEVFの表示部214から離れている状態(離眼状態)においては、デジタルカメラ(外部機器100)の表示部114にライブビュー画像を表示する必要がある。ユーザが接眼状態から離眼状態に遷移した場合、ライブビュー画像の表示が速やかに切り替わらない場合、ユーザが遷移直後にライブビューの確認をすることができない。状態の遷移が逆の場合も同様である。 In some cases, the external device 100 controls to display the live view image only on either the display unit 114 of the external device 100 or the display unit 214 of the electronic device 200 depending on the eye contact state of the electronic device 200 . In such a case, if the above-described time lag occurs, the time lag in switching the display of the live view image increases, and the user may feel uncomfortable. Specifically, it is necessary to display a live view image on the display unit 214 while the user is looking into the display unit 214 of the EVF (electronic device 200 ) (eyepiece state). On the other hand, when the user is away from the display unit 214 of the EVF (out-of-sight state), it is necessary to display a live view image on the display unit 114 of the digital camera (external device 100). If the display of the live view image does not switch quickly when the user transitions from the eye-on state to the eye-out state, the user cannot check the live view immediately after the transition. The same is true when the state transition is reversed.

判定部107は、CC端子101bの電圧値を検出し、CC端子101bの電圧値に応じて、電子機器200が接眼状態か否かを判定する。判定部107は、判定結果を、システム制御部109に出力する。例えば、電子機器200が接眼状態か否かに応じてCC端子101bのDC電圧レベルを2つの電圧値のいずれかに制御するとする。この場合、判定部107は、電子機器200が制御する2つの電圧値の中間の値を閾値とし、検出したCC端子101bのDC電圧レベルが閾値よりも高いか否かに応じて、電子機器200が接眼状態か否かを判定する。電子機器200の接眼状態か否かに応じたCC端子101bの電圧値変化については、後述する。 The determination unit 107 detects the voltage value of the CC terminal 101b, and determines whether or not the electronic device 200 is in the eye contact state according to the voltage value of the CC terminal 101b. The determination section 107 outputs the determination result to the system control section 109 . For example, suppose that the DC voltage level of the CC terminal 101b is controlled to one of two voltage values depending on whether the electronic device 200 is in the eye-focused state. In this case, the determining unit 107 sets the intermediate value between the two voltage values controlled by the electronic device 200 as the threshold, and determines whether the detected DC voltage level of the CC terminal 101b is higher than the threshold or not. is in the eye contact state. A change in the voltage value of the CC terminal 101b depending on whether or not the electronic device 200 is in the eye-focused state will be described later.

接続検出部(接続検出回路)108は、外部機器100と電子機器200とが接続されたか否かを判定する。接続検出部108は、外部機器100と電子機器200とが接続されたか否かの判定結果を、システム制御部109に出力する。即ち、外部機器100と電子機器200とが接続された場合、接続検出部108は、外部機器100と電子機器200とが接続されたことを示す情報をシステム制御部109に対して出力する。接続検出部108は、CC端子101bの電位Vsが以下のような式(1)で示される所定の範囲内である場合に、外部機器100と電子機器200とが接続されたと判定する。電圧Vminは、例えば0.2Vであり、電圧Vmaxは、例えば2.04Vである。電圧Vmin、Vmaxは、例えば、USB Type-C規格に規定されている。
Vmin≦Vs<Vmax ・・・(1)
A connection detection unit (connection detection circuit) 108 determines whether or not the external device 100 and the electronic device 200 are connected. The connection detection unit 108 outputs to the system control unit 109 the determination result as to whether or not the external device 100 and the electronic device 200 are connected. That is, when the external device 100 and the electronic device 200 are connected, the connection detection unit 108 outputs to the system control unit 109 information indicating that the external device 100 and the electronic device 200 are connected. The connection detection unit 108 determines that the external device 100 and the electronic device 200 are connected when the potential Vs of the CC terminal 101b is within a predetermined range represented by the following formula (1). The voltage Vmin is, for example, 0.2V, and the voltage Vmax is, for example, 2.04V. Voltages Vmin and Vmax are specified in, for example, the USB Type-C standard.
Vmin≦Vs<Vmax (1)

式(1)で示される所定の範囲の上限の電圧Vmaxは、プルアップ抵抗103に接続された電源線の電位、即ち、VCCよりも低い。また、式(1)で示される所定の範囲の下限の電圧Vminは、プルダウン抵抗104に接続された接地線の電位、即ち、GNDよりも高い。例えば、Vminは、0.2Vであり、Vmaxは2.04Vであるとする。式(1)の電圧範囲は、USB Type-C規格に規定されている電圧範囲であれば良い。 The upper limit voltage Vmax of the predetermined range shown by equation (1) is lower than the potential of the power line connected to the pull-up resistor 103, that is, VCC. Also, the lower limit voltage Vmin of the predetermined range represented by the formula (1) is higher than the potential of the ground line connected to the pull-down resistor 104, that is, GND. For example, assume that Vmin is 0.2V and Vmax is 2.04V. The voltage range of formula (1) may be any voltage range defined in the USB Type-C standard.

例えば、CC端子101bがスイッチ102を介してプルアップ抵抗103に接続されており、外部機器100と電子機器200とが接続されていない場合には、CC端子101bの電位VsはVCCである。VCCは、式(1)に示す所定の範囲内ではない電位である。この場合、接続検出部108は、外部機器100と電子機器200とが接続されていると判定しない。 For example, when the CC terminal 101b is connected to the pull-up resistor 103 via the switch 102 and the external device 100 and the electronic device 200 are not connected, the potential Vs of the CC terminal 101b is VCC. VCC is a potential that is not within the predetermined range shown in equation (1). In this case, the connection detection unit 108 does not determine that the external device 100 and the electronic device 200 are connected.

また、CC端子101bがスイッチ102を介してプルダウン抵抗104に接続されており、外部機器100と電子機器200とが接続されていない場合には、CC端子101bの電位VsはGND(0V)である。GNDは、式(1)に示す所定の範囲内ではない電位である。この場合、接続検出部108は、外部機器100と電子機器200とが接続されていると判定しない。このように、CC端子101bの電位Vsが所定の範囲内でない場合、接続検出部108は、外部機器100と電子機器200とが接続されていると判定しない。 When the CC terminal 101b is connected to the pull-down resistor 104 via the switch 102 and the external device 100 and the electronic device 200 are not connected, the potential Vs of the CC terminal 101b is GND (0 V). . GND is a potential that is not within the predetermined range shown in equation (1). In this case, the connection detection unit 108 does not determine that the external device 100 and the electronic device 200 are connected. Thus, when the potential Vs of the CC terminal 101b is not within the predetermined range, the connection detection unit 108 does not determine that the external device 100 and the electronic device 200 are connected.

CC端子101bとCC端子201bとが電気的に接続されている場合であっても、CC端子101bがプルダウン抵抗104に接続されている場合には、CC端子101bの電位Vsは接地電位GNDである。接地電位GNDは、式(1)に示す所定の範囲内ではない電位である。この場合、接続検出部108は、外部機器100と電子機器200とが接続されていると判定しない。 Even if CC terminal 101b and CC terminal 201b are electrically connected, if CC terminal 101b is connected to pull-down resistor 104, potential Vs of CC terminal 101b is ground potential GND. . Ground potential GND is a potential that is not within the predetermined range shown in equation (1). In this case, the connection detection unit 108 does not determine that the external device 100 and the electronic device 200 are connected.

なお、ノイズによる誤判定を防ぐために、接続を検知するために、CC端子101bの電圧が式(1)を満たす期間が、判定閾値以上継続することが必要である。また、切断(非接続)を検知する場合には、判定閾値以上、CC端子101bの電圧が式(1)を満たさない状態が維持されることが必要となる。 In order to prevent erroneous determination due to noise, it is necessary that the period during which the voltage of the CC terminal 101b satisfies Equation (1) continues for a determination threshold value or more in order to detect connection. Further, when detecting disconnection (disconnection), it is necessary to maintain a state in which the voltage of the CC terminal 101b does not satisfy the expression (1) above the determination threshold.

外部機器100と電子機器200とが接続されていることが接続検出部108によって判定されると、システム制御部109は、トグリングを終了するようにスイッチ制御部105を制御する。トグリングが終了した段階でCC端子101bに接続されている抵抗が、CC端子101bに接続される抵抗としてスイッチ制御部105によって選択された抵抗である。 When the connection detection unit 108 determines that the external device 100 and the electronic device 200 are connected, the system control unit 109 controls the switch control unit 105 to end toggling. The resistor connected to the CC terminal 101b when toggling ends is the resistor selected by the switch control unit 105 as the resistor connected to the CC terminal 101b.

本実施例において、外部機器100は、DFP機器として電子機器200に接続されるとする。即ち、この場合、外部機器100のポートはソースとなり、電子機器200のポートはシンクとなる。外部機器100は、CC端子101bにプルアップ抵抗103が接続された状態で電子機器200との接続が確立した場合には、電子機器200にポートを介して給電可能な接続状態になる。 In this embodiment, the external device 100 is assumed to be connected to the electronic device 200 as a DFP device. That is, in this case, the port of the external device 100 becomes the source, and the port of the electronic device 200 becomes the sink. When the connection with the electronic device 200 is established with the pull-up resistor 103 connected to the CC terminal 101b, the external device 100 enters a connected state in which power can be supplied to the electronic device 200 through the port.

システム制御部109は、外部機器100の全体の制御を司る。システム制御部109は、外部機器100に備えられた各々の機能ブロック、即ち、スイッチ制御部105、通信部106、判定部107、接続検出部108、表示制御部110、および電源部111を制御する。システム制御部109としては、例えばCPU(Central Processing Unit)等が用いられる。 The system control unit 109 controls the entire external device 100 . The system control unit 109 controls each functional block provided in the external device 100, that is, the switch control unit 105, the communication unit 106, the determination unit 107, the connection detection unit 108, the display control unit 110, and the power supply unit 111. . As the system control unit 109, for example, a CPU (Central Processing Unit) or the like is used.

システム制御部109は、外部機器100に備えられた各々の機能ブロックから出力される情報を取得し、各々の機能ブロックの動作を制御する信号を出力する。システム制御部109は、外部機器100と電子機器200とが接続されているか否かについての接続検出部108による判定結果に基づいて、トグリングを継続するか否かを示す情報をスイッチ制御部105に対して出力する。外部機器100と電子機器200とが接続されたと接続検出部108が判定した場合には、システム制御部109は、トグリングを終了するようにスイッチ制御部105を制御する。これにより、CC端子101bに接続される抵抗が固定される。 The system control unit 109 acquires information output from each functional block provided in the external device 100 and outputs a signal for controlling the operation of each functional block. The system control unit 109 transmits information indicating whether to continue toggling to the switch control unit 105 based on the determination result of the connection detection unit 108 as to whether the external device 100 and the electronic device 200 are connected. Output for When the connection detection unit 108 determines that the external device 100 and the electronic device 200 are connected, the system control unit 109 controls the switch control unit 105 to end toggling. Thereby, the resistor connected to the CC terminal 101b is fixed.

また、システム制御部109は、判定部107が、電子機器200が接眼状態であると判定した場合に、映像データを電子機器200に出力するように表示制御部110を制御する。さらに、システム制御部109は、判定部107が、電子機器200が離眼状態であると判定した場合に、映像データを表示部114に出力するように表示制御部110を制御する。 Further, the system control unit 109 controls the display control unit 110 to output video data to the electronic device 200 when the determination unit 107 determines that the electronic device 200 is in the eye-focused state. Further, system control unit 109 controls display control unit 110 to output video data to display unit 114 when determination unit 107 determines that electronic device 200 is in the eye-out state.

システム制御部109は、電子機器200と外部機器100とが接続した状態において、CC端子101bの電圧が後述する第1期間もしくは第2期間だけ変化した場合、電子機器200の接眼状態が変化したと判定する。 When the voltage of the CC terminal 101b changes for a first period or a second period described later in a state in which the electronic device 200 and the external device 100 are connected, the system control unit 109 determines that the eye contact state of the electronic device 200 has changed. judge.

表示制御部110は、表示部114に映像等を表示する際には、表示部114に対する制御を行うとともに、映像データ等を表示部114に送信する。また、表示制御部110は、オルタネートモードで電子機器200に表示を行わせる場合には、例えばコネクタ101のTX端子101cとコネクタ201のRX端子201cとを介して、電子機器200に映像データ等を送信する。表示制御部110が映像データを出力する先は、システム制御部109の指示によって決定される。 When displaying an image or the like on the display section 114 , the display control section 110 controls the display section 114 and transmits image data or the like to the display section 114 . When the display control unit 110 causes the electronic device 200 to perform display in the alternate mode, the display control unit 110 transmits video data and the like to the electronic device 200 via the TX terminal 101c of the connector 101 and the RX terminal 201c of the connector 201, for example. Send. The destination to which the display control unit 110 outputs the video data is determined by an instruction from the system control unit 109 .

電源部(電力制御回路)111は、不図示の電圧変換部が備えられている。電圧変換部は、例えばバッテリ(図示せず)等から供給される電力を用いて所定の電圧、即ち、VCCやVBUS等を生成する。電源部111は、外部機器100の内部に備えられた電子回路や駆動部品等への電力の供給を制御する。 A power supply unit (power control circuit) 111 includes a voltage conversion unit (not shown). The voltage converter generates a predetermined voltage such as VCC or VBUS using power supplied from a battery (not shown) or the like. The power supply unit 111 controls power supply to electronic circuits, drive components, and the like provided inside the external device 100 .

また、電源部111は、電子機器200から受け取る電力をバッテリに充電し得る。VBUS_Sourceは、外部機器100から電子機器200に供給されるVBUSを示しており、スイッチ111aとVBUS端子101aとを介して電子機器200に供給される。VBUS_Sinkは、電子機器200から外部機器100に供給されるVBUSを示しており、外部機器100に備えられたバッテリ等に供給される。 Also, the power supply unit 111 can charge the battery with power received from the electronic device 200 . VBUS_Source indicates VBUS supplied from the external device 100 to the electronic device 200, and is supplied to the electronic device 200 via the switch 111a and the VBUS terminal 101a. VBUS_Sink indicates VBUS supplied from the electronic device 200 to the external device 100 and is supplied to a battery or the like provided in the external device 100 .

システム制御部109は、外部機器100のポートをソースとする場合には、スイッチ111aをオン状態にするとともに、スイッチ111bをオフ状態とする。これにより、外部機器100からVBUS端子101aを介して電子機器200にVBUSが供給される。システム制御部109は、外部機器100のポートをシンクとする場合には、スイッチ111aをオフ状態にするとともに、スイッチ111bをオン状態とする。これにより、電子機器200からのVBUSがVBUS端子101aを介して外部機器100に供給される。 When the port of the external device 100 is used as the source, the system control unit 109 turns on the switch 111a and turns off the switch 111b. As a result, VBUS is supplied from the external device 100 to the electronic device 200 via the VBUS terminal 101a. When the port of the external device 100 is used as a sink, the system control unit 109 turns off the switch 111a and turns on the switch 111b. As a result, the VBUS from the electronic device 200 is supplied to the external device 100 via the VBUS terminal 101a.

撮像部112には、不図示の撮像素子(イメージセンサ)が備えられている。撮像素子の撮像面(図示せず)には、撮像光学系120によって形成される光学像が入射される。撮像素子は、かかる光学像を光電変換することによってアナログの画像信号を生成し、アナログの画像信号をアナログ-デジタル変換することによってデジタルの画像信号、即ち、画像データを生成する。撮像部112は、こうして取得される画像データをシステム制御部109に出力する。 The imaging unit 112 is provided with an imaging element (image sensor) not shown. An optical image formed by the imaging optical system 120 is incident on an imaging surface (not shown) of the imaging element. The imaging device photoelectrically converts the optical image to generate an analog image signal, and analog-to-digital converts the analog image signal to generate a digital image signal, that is, image data. The imaging unit 112 outputs the image data thus acquired to the system control unit 109 .

メモリ113は、システム制御部109が各機能ブロックを制御するために実行するプログラム、およびパラメータを記憶する記憶媒体である。 The memory 113 is a storage medium that stores programs and parameters executed by the system control unit 109 to control each functional block.

表示部114は、表示制御部110から出力される画像データに基づいて静止画像や動画像(映像)等を表示する。表示部114としては、例えば小型の液晶パネル等が用いられる。表示部114は、例えば、外部機器100の本体の外側に表示画面を露出するように設けられている。 The display unit 114 displays still images, moving images (video), and the like based on the image data output from the display control unit 110 . As the display unit 114, for example, a small liquid crystal panel or the like is used. The display unit 114 is provided, for example, so that the display screen is exposed outside the main body of the external device 100 .

図3(b)は、電子機器200の機能ブロックを示すブロック図である。電子機器200は、コネクタ201、スイッチ202、プルアップ抵抗203、プルダウン抵抗204、スイッチ制御部205、通信部206、接続検出部208、およびシステム制御部209を備えている。電子機器200は、さらに、表示制御部210、電源部211、メモリ113、表示部214、センサ216、および接眼判定部217を更に備えている。 FIG. 3B is a block diagram showing functional blocks of the electronic device 200. As shown in FIG. Electronic device 200 includes connector 201 , switch 202 , pull-up resistor 203 , pull-down resistor 204 , switch control section 205 , communication section 206 , connection detection section 208 , and system control section 209 . The electronic device 200 further includes a display control section 210 , a power supply section 211 , a memory 113 , a display section 214 , a sensor 216 and an eye proximity determination section 217 .

コネクタ201、プルアップ抵抗203、プルダウン抵抗204、通信部206、接続検出部208、電源部211、メモリ113、および表示部214は、外部機器100の同一の機能ブロックと同様の機能を発揮することから、詳細な説明を省略する。 Connector 201 , pull-up resistor 203 , pull-down resistor 204 , communication unit 206 , connection detection unit 208 , power supply unit 211 , memory 113 , and display unit 214 should exhibit the same functions as the same functional blocks of external device 100 . Therefore, detailed description is omitted.

スイッチ制御部205は、システム制御部209の指示に応じて、スイッチ202の接続状態を制御するための制御回路である。上述のように、スイッチ202の接続状態に応じて、CC端子201bのDC電圧レベルが決定されることから、スイッチ制御部205は、CC端子201bのDC電圧レベルを制御するための制御回路であるといえる。スイッチ制御部205は、スイッチ制御部105と同様に、スイッチ202のトグリング制御を実行する。 A switch control unit 205 is a control circuit for controlling the connection state of the switch 202 according to an instruction from the system control unit 209 . As described above, since the DC voltage level of the CC terminal 201b is determined according to the connection state of the switch 202, the switch control section 205 is a control circuit for controlling the DC voltage level of the CC terminal 201b. It can be said. The switch control unit 205 performs toggling control of the switch 202 in the same manner as the switch control unit 105 .

また、スイッチ制御部205は、システム制御部209の指示に応じて、外部機器100に後述する接眼状態の遷移の有無を示す信号を出力するために、プルアップ抵抗203およびプルダウン抵抗204の接続の切換えを実行する。 The switch control unit 205 also connects the pull-up resistor 203 and the pull-down resistor 204 in order to output to the external device 100 a signal indicating whether or not there is a transition in the eyepiece state, which will be described later, in accordance with an instruction from the system control unit 209 . Execute the switch.

センサ216は、前述したとおり、ユーザの接眼や離眼を検出するためのセンサである。例えば、センサ216は、電子機器200に近接する物体との距離を検出する測距センサであるとする。センサ216は、あらかじめ設定された距離以下の範囲にオブジェクトが存在する場合、High信号を出力し、そうでない場合、Low信号を出力するとする。センサ216は、例えば、赤外光を発する発光部と、反射物等によって反射された赤外光を受ける受光部とを備えている。 The sensor 216, as described above, is a sensor for detecting eye contact and eye separation of the user. For example, sensor 216 is a ranging sensor that detects the distance to an object that is close to electronic device 200 . The sensor 216 outputs a High signal when an object exists within a range equal to or less than a preset distance, and outputs a Low signal otherwise. The sensor 216 includes, for example, a light-emitting portion that emits infrared light and a light-receiving portion that receives infrared light reflected by a reflector or the like.

センサ216は、受光部によって受光される反射光の量が予め設定されたしきい値以上であるか否かに基づいて、接眼状態と離眼状態とを判定する。ユーザの顔等の反射物がセンサ216は、に接近することによって、受光部によって受光される反射光の量がしきい値以上になった場合には、センサ216は、接眼状態であると判定する。接眼状態であると判定した場合には、センサ216は、例えばHighレベルの信号、即ち、接眼信号を出力する。一方、ユーザの顔等の反射物が接眼検出部125に近接しておらず、受光部によって受光される反射光の量がしきい値未満である場合には、センサ216は、離眼状態であると判定する。離眼状態であると判定した場合には、センサ216は、例えばLowレベルの信号、即ち、離眼信号を出力する。 The sensor 216 determines the eye contact state and the eye detachment state based on whether or not the amount of reflected light received by the light receiving unit is equal to or greater than a preset threshold value. When a reflecting object such as the user's face approaches the sensor 216 and the amount of reflected light received by the light receiving unit becomes equal to or greater than the threshold value, the sensor 216 determines that the eye is in the eye contact state. do. When the sensor 216 determines that it is in the eye contact state, the sensor 216 outputs, for example, a High level signal, that is, an eye contact signal. On the other hand, when a reflective object such as the user's face is not close to the eye contact detection unit 125 and the amount of reflected light received by the light receiving unit is less than the threshold value, the sensor 216 is in the eye distance state. Determine that there is. When it is determined that the eye is in the eye separation state, the sensor 216 outputs, for example, a Low level signal, that is, the eye separation signal.

接眼判定部217は、センサ216から出力された信号に応じて、接眼状態か否かを判定する。接眼状態でない状態は、即ち離眼状態である。接眼判定部217は、判定結果をシステム制御部209に出力する。また、接眼判定部217は、接眼状態に遷移があるか否かを判定し、判定結果をシステム制御部209に出力する。具体的には、接眼判定部217は、接眼状態から離眼状態へ遷移したことを示す情報、および、離眼状態から接眼状態へ遷移したことを示す情報を出力する。 The eye contact determination unit 217 determines whether or not the eye is in the eye contact state according to the signal output from the sensor 216 . The state in which the eye is not in the eye contact state is the eye detached state. The eye proximity determination unit 217 outputs the determination result to the system control unit 209 . Also, the eye proximity determination unit 217 determines whether or not there is a transition in the eye proximity state, and outputs the determination result to the system control unit 209 . Specifically, the eye proximity determination unit 217 outputs information indicating transition from the eye contact state to the eye contact state and information indicating transition from the eye contact state to the eye contact state.

システム制御部209は、接眼判定部217から取得した判定結果に応じて、スイッチ制御部205の動作を制御する。接眼判定部217が接眼状態から離眼状態に遷移したと判定した場合に、スイッチ制御部205は、CC端子201bと接続する抵抗をプルダウン抵抗204からプルアップ抵抗203へ第1期間だけ切り換えるようにスイッチ202を制御する。また、接眼判定部217が離眼状態から接眼状態に遷移した場合に、スイッチ制御部205は、CC端子201bと接続する抵抗をプルダウン抵抗204からプルアップ抵抗203へ第2期間だけ切り換えるようにスイッチ202を制御する。第1期間と第2期間は同じ長さであってもよいし異なる長さであってもよい。 The system control unit 209 controls the operation of the switch control unit 205 according to the determination result acquired from the eye proximity determination unit 217 . When the eye contact determination unit 217 determines that the eye contact state has changed to the eye detachment state, the switch control unit 205 switches the resistor connected to the CC terminal 201b from the pull-down resistor 204 to the pull-up resistor 203 for the first period. Control switch 202 . Further, when the eye proximity determination unit 217 transitions from the eye distance state to the eye proximity state, the switch control unit 205 switches the resistor connected to the CC terminal 201b from the pull-down resistor 204 to the pull-up resistor 203 for the second period. 202. The first period and the second period may have the same length or different lengths.

また、システム制御部209は、接眼判定部217から取得した判定結果に応じて、表示制御部210の動作を制御するものであってもよい。例えば、接眼判定部217が接眼状態でないと判定している場合、システム制御部209は、表示部214の消費電力が低減されるように表示制御部210を制御してもよい。具体的には、表示制御部210が表示部214への電力供給が停止されるように制御してもよいし、表示部214の一部の機能を停止することにより消費電力を低減するように制御するものであってもよい。例えば、表示部214が液晶パネルとバックライトとを備えた液晶表示モジュールである場合、表示制御部210はバックライトの駆動を停止する。例えば、表示部214が有機ELパネルを備える有機ELモジュールである場合、表示制御部210は、有機ELの駆動電源の動作が停止するように制御してもよい。また、表示制御部210が、表示部214に黒画像が表示されるように制御するものであってもよい。 Also, the system control unit 209 may control the operation of the display control unit 210 according to the determination result acquired from the eye proximity determination unit 217 . For example, when the eye contact determination unit 217 determines that the eye is not in the eye contact state, the system control unit 209 may control the display control unit 210 so that the power consumption of the display unit 214 is reduced. Specifically, the display control unit 210 may control the power supply to the display unit 214 to be stopped, or the power consumption may be reduced by stopping a part of the functions of the display unit 214. It may be controlled. For example, if the display unit 214 is a liquid crystal display module including a liquid crystal panel and a backlight, the display control unit 210 stops driving the backlight. For example, if the display unit 214 is an organic EL module including an organic EL panel, the display control unit 210 may control the operation of the drive power supply for the organic EL to stop. Alternatively, the display control unit 210 may control the display unit 214 to display a black image.

さらに、接眼判定部217が接眼状態であると判定している場合、システム制御部209は、表示部214が外部機器100から入力された画像データに基づく画像表示が即座に行えるように、表示制御部210を制御する。具体的には、表示制御部210が表示部214をスタンバイ状態に制御するように、システム制御部209が表示制御部210を制御する。スタンバイ状態は、表示部214が画像データに基づいて画像を表示可能な状態であり、例えば、表示部214が液晶表示モジュールである場合、表示制御部210は、バックライトを駆動し、液晶パネルに光を照射させる。表示部214上述のように制御することによって、表示部214の消費電力を低減することが可能となる。 Further, when the eye position determination unit 217 determines that the eye position is in the eye position state, the system control unit 209 performs display control so that the display unit 214 can immediately display an image based on the image data input from the external device 100. control unit 210; Specifically, the system control unit 209 controls the display control unit 210 so that the display control unit 210 controls the display unit 214 to the standby state. The standby state is a state in which the display unit 214 can display an image based on image data. irradiate with light. By controlling the display unit 214 as described above, the power consumption of the display unit 214 can be reduced.

電子機器200のコネクタ201と外部機器100のコネクタ101とが、直接、もしくはケーブルを介して接続し、CC端子の電圧が式(1)を満たす状態となった場合、外部機器100および電子機器200とはPDネゴシエーションを実行する。PDネゴシエーションは、外部機器100および電子機器200との間の電力供給の役割の調整や、オルタネートモードへの移行の可否等を調整する通信である。外部機器100および電子機器200の通信部はCC端子で接続された信号線を介して、PDネゴシエーションを実行する。 When the connector 201 of the electronic device 200 and the connector 101 of the external device 100 are connected directly or via a cable, and the voltage of the CC terminal satisfies the formula (1), the external device 100 and the electronic device 200 performs PD negotiation. The PD negotiation is communication for adjusting roles of power supply between the external device 100 and the electronic device 200, and adjusting permission/inhibition of transition to the alternate mode. The communication units of external device 100 and electronic device 200 perform PD negotiation via signal lines connected via CC terminals.

本実施例では、外部機器100および電子機器200とはPDネゴシエーションの後、オルタネートモードへ移行し、データ線を介して外部機器100から電子機器200にライブビュー画像を送信することが可能な動作状態となるとする。 In this embodiment, after the PD negotiation between the external device 100 and the electronic device 200, the mode is shifted to the alternate mode, and an operating state in which the live view image can be transmitted from the external device 100 to the electronic device 200 via the data line. Suppose it becomes

図5は、電子機器200の画像表示制御、および接眼状態通知制御を示すフローチャートである。電子機器200が外部機器100に接続されたことに応じて、本フローチャートの制御が開始される。また、電子機器200と外部機器100とが接続された状態において、外部機器100の電源がONになったことに応じて、本フローチャートの制御が開始されてもよい。 FIG. 5 is a flowchart showing image display control and eyepiece state notification control of electronic device 200 . When the electronic device 200 is connected to the external device 100, the control of this flowchart is started. Further, in a state where the electronic device 200 and the external device 100 are connected, the control of this flowchart may be started in response to the external device 100 being powered on.

S1001で、システム制御部209は、接眼判定部217から取得した判定結果に基づいて接眼状態であるか否かを判定する。接眼状態である場合(S1001、Yes)、システム制御部209は、通信部206を介して、PD通信で接眼状態であることを示す情報を外部機器100に出力して、S1002に進む。また、接眼状態でない(離眼状態である)場合、システム制御部209は、通信部206を介して、PD通信で接眼状態でない(離眼状態である)ことを示す情報を外部機器100に出力して、S1008に進む。 In step S<b>1001 , the system control unit 209 determines whether or not the eye is in the eye contact state based on the determination result acquired from the eye contact determination unit 217 . If it is in the eye contact state (S1001, Yes), the system control unit 209 outputs information indicating that the eye contact state is in the PD communication to the external device 100 via the communication unit 206, and proceeds to S1002. If the eye is not in the eye contact state (eye contact state), the system control unit 209 outputs information indicating that the eye is not in the eye contact state (eye contact state) via the communication unit 206 to the external device 100 via the PD communication. and proceed to S1008.

S1002で、システム制御部209は、表示部214を、外部機器100から取得した映像信号を用いて画像を表示するように制御する。 In S<b>1002 , the system control unit 209 controls the display unit 214 to display an image using the video signal acquired from the external device 100 .

S1003で、システム制御部209は、接眼状態が遷移したか否かを判定する。ここで、システム制御部209は、接眼状態から離眼状態に遷移したか否かを判定する。接眼状態が遷移したと判定された場合、処理はS1004に進む。そうでない場合、処理はS1013に進む。 In S1003, the system control unit 209 determines whether or not the eye contact state has changed. Here, the system control unit 209 determines whether or not there has been a transition from the on-eye state to the off-eye state. If it is determined that the eye contact state has changed, the process proceeds to S1004. Otherwise, the process proceeds to S1013.

S1004で、システム制御部209の指示により、スイッチ制御部205は、CC端子201bと接続する抵抗をプルダウン抵抗204からプルアップ抵抗203に変更するようにスイッチ202を制御する。 In S1004, according to an instruction from the system control unit 209, the switch control unit 205 controls the switch 202 to change the resistor connected to the CC terminal 201b from the pull-down resistor 204 to the pull-up resistor 203. FIG.

S1005で、システム制御部209は、CC端子201bと接続する抵抗をプルダウン抵抗204からプルアップ抵抗203に変更してから第1期間が経過したか否かを判定する。第1期間が経過していない場合は、S1005を繰り変えす。第1期間が経過した場合、処理はS1006に進む。 In S1005, the system control unit 209 determines whether or not the first period has passed since the resistor connected to the CC terminal 201b was changed from the pull-down resistor 204 to the pull-up resistor 203. If the first period has not elapsed, S1005 is repeated. If the first period has passed, the process proceeds to S1006.

S1006で、システム制御部209の指示により、スイッチ制御部205は、CC端子201bと接続する抵抗をプルアップ抵抗203からプルダウン抵抗204に変更するようにスイッチ202を制御する。 In S1006, according to an instruction from the system control unit 209, the switch control unit 205 controls the switch 202 to change the resistor connected to the CC terminal 201b from the pull-up resistor 203 to the pull-down resistor 204. FIG.

S1007で、システム制御部209は、外部機器100から取得した映像信号に基づく、画像表示処理を終了する。 In S<b>1007 , the system control unit 209 ends image display processing based on the video signal acquired from the external device 100 .

S1013で、システム制御部209は、電子機器200と外部機器100とが接続されているか否かを判定する。電子機器200と外部機器100とが接続していない場合、表示制御処理は終了する。電子機器200と外部機器100とが接続している場合、処理はS1001に戻る。 In S1013, the system control unit 209 determines whether the electronic device 200 and the external device 100 are connected. If the electronic device 200 and the external device 100 are not connected, the display control process ends. If the electronic device 200 and the external device 100 are connected, the process returns to S1001.

一方、S1001で、システム制御部209が接眼状態でないと判定した場合、処理はS1008に進む。S1008で、システム制御部209は、接眼状態が遷移したか否かを判定する。ここで、システム制御部209は、離眼状態から接眼状態に遷移したか否かを判定する。接眼状態が遷移したと判定された場合、処理はS1009に進む。そうでない場合、処理はS1013に進む。 On the other hand, if the system control unit 209 determines in S1001 that the eye is not in the eye-focused state, the process advances to S1008. In S1008, the system control unit 209 determines whether or not the eyepiece state has changed. Here, the system control unit 209 determines whether or not there has been a transition from the distanced state to the focused state. If it is determined that the eye contact state has changed, the process proceeds to S1009. Otherwise, the process proceeds to S1013.

S1009で、システム制御部209の指示により、スイッチ制御部205は、CC端子201bと接続する抵抗をプルダウン抵抗204からプルアップ抵抗203に変更するようにスイッチ202を制御する。 In S1009, according to an instruction from the system control unit 209, the switch control unit 205 controls the switch 202 to change the resistor connected to the CC terminal 201b from the pull-down resistor 204 to the pull-up resistor 203. FIG.

S1010で、システム制御部209は、CC端子201bと接続する抵抗をプルダウン抵抗204からプルアップ抵抗203に変更してから第2期間が経過したか否かを判定する。第2期間が経過していない場合は、S1010を繰り変えす。第2期間が経過した場合、処理はS1011に進む。 In S1010, the system control unit 209 determines whether or not the second period has passed since the resistor connected to the CC terminal 201b was changed from the pull-down resistor 204 to the pull-up resistor 203. If the second period has not elapsed, S1010 is repeated. If the second period has passed, the process proceeds to S1011.

S1011で、システム制御部209の指示により、スイッチ制御部205は、CC端子201bと接続する抵抗をプルアップ抵抗203からプルダウン抵抗204に変更するようにスイッチ202を制御する。 In S1011, according to an instruction from the system control unit 209, the switch control unit 205 controls the switch 202 to change the resistor connected to the CC terminal 201b from the pull-up resistor 203 to the pull-down resistor 204. FIG.

S1012で、システム制御部209は、表示部214を、外部機器100から取得した映像信号を用いて画像を表示するように制御する。処理は、S1013に進む。 In S<b>1012 , the system control unit 209 controls the display unit 214 to display an image using the video signal acquired from the external device 100 . The process proceeds to S1013.

上述のように制御することにより、電子機器200は、接眼状態もしくは接眼状態の遷移をCC端子の電圧にのる所定の期間のパルスとして、外部機器100に出力することを可能とする。 By controlling as described above, the electronic device 200 can output to the external device 100 the eye contact state or the transition of the eye contact state as a pulse of a predetermined period on the voltage of the CC terminal.

図6は、外部機器100の表示制御処理を示すフローチャートである。外部機器100の電源がONになったことに応じて、本フローチャートが開始するとする。 FIG. 6 is a flow chart showing display control processing of the external device 100 . Assume that this flowchart starts when the external device 100 is powered on.

S2001で、システム制御部109は、表示部114を、映像信号に基づいて画像を表示するように制御する。 In S2001, the system control unit 109 controls the display unit 114 to display an image based on the video signal.

S2002で、システム制御部109は、外部機器100が電子機器200に接続したか否かを判定する。 In S<b>2002 , the system control unit 109 determines whether or not the external device 100 is connected to the electronic device 200 .

S2003で、システム制御部109は、通信部106を介してPD通信で取得した情報に基づいて、電子機器200が接眼状態であるか否かを判定する。接眼状態である場合、処理は、S2004に進む。接眼状態でない(離眼状態である)場合、処理は、S2010に進む。 In step S<b>2003 , the system control unit 109 determines whether or not the electronic device 200 is in the eye-focused state based on information acquired through PD communication via the communication unit 106 . If it is in the eye-focused state, the process proceeds to S2004. If the eye is not in the eye-focused state (the eye is in the detached state), the process proceeds to S2010.

S2010で、システム制御部109は、電子機器200が離眼状態であると判定し、外部機器100の表示部114で画像を表示し続ける。そして、S2010で、システム制御部109は、CC端子101bの電圧が、第2期間にわたって変化したか否かを判定する。システム制御部109は、CC端子101bに電子機器200から、第2期間のパルスが出力されたか否かを判定するともいえる。第2期間にわたってCC端子101bの電圧が変化したことを検出した場合(S2010、Yes)、処理はS2004に進む。そうでない場合、S2010の処理を繰り返す。 In step S<b>2010 , the system control unit 109 determines that the electronic device 200 is in the eyeless state, and continues to display an image on the display unit 114 of the external device 100 . Then, in S2010, the system control unit 109 determines whether or not the voltage of the CC terminal 101b has changed over the second period. It can be said that the system control unit 109 determines whether or not the pulse of the second period is output from the electronic device 200 to the CC terminal 101b. If it is detected that the voltage of CC terminal 101b has changed over the second period (S2010, Yes), the process proceeds to S2004. Otherwise, the process of S2010 is repeated.

S2004で、システム制御部109は、電子機器200が接眼状態であると判定し、画像信号を電子機器100に出力する処理を実行する。 In step S<b>2004 , the system control unit 109 determines that the electronic device 200 is in the eye-focused state, and executes processing for outputting an image signal to the electronic device 100 .

S2005で、システム制御部109は、CC端子101bの電圧が、第1期間にわたって変化したか否かを判定する。システム制御部109は、CC端子101bに電子機器200から、第1期間のパルスが出力されたか否かを判定するともいえる。第1期間にわたってCC端子101bの電圧が変化したことを検出した場合(S2005、Yes)、処理はS2006に進む。そうでない場合、S2005の処理を繰り返す。 In S2005, the system control unit 109 determines whether the voltage of the CC terminal 101b has changed over the first period. It can be said that the system control unit 109 determines whether or not the pulse of the first period is output from the electronic device 200 to the CC terminal 101b. If it is detected that the voltage of the CC terminal 101b has changed over the first period (S2005, Yes), the process proceeds to S2006. Otherwise, the process of S2005 is repeated.

S2006で、システム制御部109は、電子機器200が離眼状態になったと判定し、画像信号の出力処理を停止する。さらに、S2007で、システム制御部109は、画像信号に基づいて、表示部114に画像を表示するように、表示部114を制御する。 In step S<b>2006 , the system control unit 109 determines that the electronic device 200 is out of sight, and stops the image signal output processing. Furthermore, in S2007, the system control unit 109 controls the display unit 114 to display an image on the display unit 114 based on the image signal.

S2008で、システム制御部109は、外部機器100が電子機器200と接続しているか否かを判定する。外部機器100が電子機器200と接続している場合、処理はS2009に進む。そうでない場合、処理はS2001に進む。 In S<b>2008 , the system control unit 109 determines whether or not the external device 100 is connected to the electronic device 200 . If the external device 100 is connected to the electronic device 200, the process proceeds to S2009. Otherwise, the process proceeds to S2001.

S2009で、システム制御部209は、電源オフ指示がされたか否かを判定する。電源オフ指示は、不図示の操作ボタン等の操作を介して入力されるとする。また、電源オフ指示は、所定期間走査されなかったことに応じて、システム制御部209が電源オフ指示を発生させてもよい。電源オフ指示がされた場合、表示制御処理は終了する。また、電源オフ指示がされない場合、処理はS2001に戻る。 In S2009, the system control unit 209 determines whether or not a power-off instruction has been given. It is assumed that the power off instruction is input through operation of an operation button (not shown) or the like. Further, the power off instruction may be generated by the system control unit 209 in response to the fact that scanning has not been performed for a predetermined period of time. If the power off instruction is given, the display control process ends. If the power off instruction is not issued, the process returns to S2001.

上述のような処理を実行することにより、外部機器100は、電子機器200の状態遷移に応じて速やかに画像信号の出力処理を制御することが可能となる。 By executing the processing as described above, the external device 100 can quickly control the image signal output processing according to the state transition of the electronic device 200 .

図7は、外部機器100と電子機器200との間における接眼状態の通知と画像信号に基づく画像表示処理のタイミングを示す模式図である。図7(a)は、本実施例の制御をしない場合の比較例を示す。図7(b)は、本実施例の制御を実行した場合を示す。 FIG. 7 is a schematic diagram showing the timing of eye contact state notification and image display processing based on an image signal between the external device 100 and the electronic device 200. As shown in FIG. FIG. 7A shows a comparative example without the control of this embodiment. FIG. 7(b) shows the case where the control of this embodiment is executed.

図7の横軸は、時刻を示す。時刻t1の時点では、外部機器100と電子機器200とは、接続していないことから、それぞれのCC端子はトグリング制御により周期的に電圧を変化させる。また、この時、電子機器200は、離眼状態であり、接眼判定部217の出力する判定結果は、ローである。また、画像信号に基づく画像は、外部機器100の表示部114で表示される。 The horizontal axis of FIG. 7 indicates time. Since the external device 100 and the electronic device 200 are not connected at the time t1, the respective CC terminals change the voltage periodically by toggling control. Also, at this time, the electronic device 200 is in the distanced state, and the determination result output by the eye proximity determination unit 217 is low. Also, an image based on the image signal is displayed on the display unit 114 of the external device 100 .

時刻t2の時点で、外部機器100と電子機器200とが接続する。t2から検出期間が経過するまで、CC端子の電圧が所定の電圧範囲であることを特定したことに応じて、外部機器100は、外部機器100と電子機器200との接続が確立されたと判定する。 At time t2, external device 100 and electronic device 200 are connected. In response to specifying that the voltage of the CC terminal is within the predetermined voltage range from t2 until the detection period elapses, the external device 100 determines that the connection between the external device 100 and the electronic device 200 has been established. .

外部機器100と電子機器200との接続が確立されたと判定したことに応じて、PD通信によるネゴシエーションが開始される(t3)。 In response to determining that the connection between the external device 100 and the electronic device 200 has been established, negotiation by PD communication is started (t3).

接続時のネゴシエーションが終了したのち、t4でPD通信が再び実行される。この通信は、機器間で機器の状態を示す情報のやりとりを行うための通信である。なお、図7では、t4、t7、t9、およびt12でPD通信が実行される。すなわち、PD通信を介した情報の送受信は、所定のタイミングでしか行うことができないことを意味する。 After completion of connection negotiation, PD communication is performed again at t4. This communication is communication for exchanging information indicating the state of the devices between the devices. In FIG. 7, PD communication is performed at t4, t7, t9, and t12. That is, it means that transmission and reception of information via PD communication can be performed only at a predetermined timing.

上記の一連の処理の間、電子機器200は離眼状態であり、外部機器100の表示部114に画像が表示されているとする。 Assume that the electronic device 200 is in the eye-distance state and an image is being displayed on the display unit 114 of the external device 100 during the series of processes described above.

t5で、電子機器200が接眼状態となり、接眼判定部217の出力する判定結果は、ハイが出力される。 At t5, the electronic device 200 is brought into the eye contact state, and the determination result output by the eye contact determination unit 217 is high.

t6で、システム制御部209は、接眼判定部217の判定結果に基づいて、離眼状態から接眼状態への遷移があったと判定し、通信部206に接眼状態を示す信号を出力するように制御信号を出力する。 At t6, the system control unit 209 determines that there has been a transition from the distanced state to the focused state based on the determination result of the focused state determination unit 217, and controls to output a signal indicating the focused state to the communication unit 206. Output a signal.

しかし、t6では、PD通信が行われないことから、通信部206は、t7まで待機し、t7で実行されるPD通信で、外部機器100に接眼状態であることを示す情報を出力する。 However, since the PD communication is not performed at t6, the communication unit 206 waits until t7, and outputs information indicating that the eye is in the eye contact state to the external device 100 in the PD communication executed at t7.

外部機器100は、PD通信で取得した情報に基づいて、画像信号を電子機器200に出力する。t8で、画像信号に基づく画像が、電子機器200の表示部214で表示される。なお、t7からt8の期間は、外部機器100が画像信号の出力先を切り換えるための制御期間である。離眼状態から接眼状態への変化した時刻t5から、画像が表示されるデバイスが制御されるまで、t8-t5だけ時間がかかる。 The external device 100 outputs an image signal to the electronic device 200 based on information acquired through PD communication. An image based on the image signal is displayed on the display unit 214 of the electronic device 200 at t8. A period from t7 to t8 is a control period for the external device 100 to switch the output destination of the image signal. It takes time t8-t5 from time t5 when the eye is changed from the eye-distance state to the eye-eye state until the device displaying the image is controlled.

さらに、t10で、電子機器200が離眼状態となり、接眼判定部217の出力する判定結果は、ローが出力される。 Further, at t10, the electronic device 200 is placed in the distanced state, and the determination result output by the eye proximity determination unit 217 is low.

t11で、システム制御部209は、接眼判定部217の判定結果に基づいて、接眼状態から離眼状態への遷移があったと判定し、通信部206に離眼状態を示す信号を出力するように制御信号を出力する。 At t11, the system control unit 209 determines that there has been a transition from the eye contact state to the eye contact state based on the determination result of the eye contact determination unit 217, and outputs a signal indicating the eye contact state to the communication unit 206. Output a control signal.

しかし、t11では、PD通信が行われないことから、通信部206は、t12まで待機し、t12で実行されるPD通信で、外部機器100に離眼状態であることを示す情報を出力する。 However, since the PD communication is not performed at t11, the communication unit 206 waits until t12, and outputs information indicating the eye separation state to the external device 100 in the PD communication executed at t12.

外部機器100は、PD通信で取得した情報に基づいて、画像信号を電子機器200に出力する処理を終了し、画像信号に基づいて表示部114に画像を表示する。t13で、画像信号に基づく画像が、外部機器100の表示部114で表示される。なお、t12からt13の期間は、外部機器100が画像信号の出力先を切り換えるための制御期間である。接眼状態から離眼状態への変化した時刻t9から、画像が表示されるデバイスが制御されるまで、t13-t10だけ時間がかかる。 The external device 100 ends the process of outputting the image signal to the electronic device 200 based on the information acquired through the PD communication, and displays an image on the display unit 114 based on the image signal. An image based on the image signal is displayed on the display unit 114 of the external device 100 at t13. A period from t12 to t13 is a control period for the external device 100 to switch the output destination of the image signal. It takes time t13-t10 from time t9 at which the eye state changes to the eye detached state until the device displaying the image is controlled.

したがって、PD通信の周期が数10ms以上である場合、各機器の処理速度を速くしても最大で、PD通信の周期分の表示切換えの遅延が発生する。外部機器100がデジタルカメラであり、電子機器200がEVFである場合、ライブビュー画像の表示切換えの遅延により、ユーザがライブビュー画像を確認できない期間が延びることを意味する。したがって、遅延があるほど、ユーザがシャッターチャンスを逃してしまう等の課題がある。 Therefore, when the cycle of PD communication is several tens of ms or longer, even if the processing speed of each device is increased, a delay in display switching corresponding to the cycle of PD communication occurs at maximum. If the external device 100 is a digital camera and the electronic device 200 is an EVF, the delay in switching the live view image display means that the user cannot check the live view image for an extended period of time. Therefore, there is a problem that the longer the delay, the more the user misses the photo opportunity.

一方で、本実施例に示した処理を実行した場合、図7(b)に示すように、接眼状態の遷移に応じて、CC端子の電圧が第1期間もしくは第2期間だけ変化する。これにより、外部機器100は、電子機器200の接眼状態の変化を、PD通信のタイミングを待たずに認識することが可能となる。 On the other hand, when the processing shown in the present embodiment is executed, the voltage of the CC terminal changes for the first period or the second period according to the transition of the eyepiece state, as shown in FIG. 7B. As a result, the external device 100 can recognize the change in the eye-position state of the electronic device 200 without waiting for the PD communication timing.

具体的には、t6でシステム制御部209が離眼状態から接眼状態に変化したと判定したことにより、パルスPaがCC端子に印加されることにより、時刻t8´で表示デバイスの切換えが実行される。また、t11でシステム制御部209が接眼状態から離眼状態に変化したと判定したことにより、パルスPbがCC端子に印加されることにより、時刻t13´で表示デバイスの切換えが実行される。 Specifically, the display device is switched at time t8' by applying the pulse Pa to the CC terminal as a result of the system control unit 209 determining at t6 that the eye has changed from the eye-distance state to the eye-eye state. be. At t11, the system control unit 209 determines that the eye state has changed from the eye-on state to the eye-out state, so that the pulse Pb is applied to the CC terminal, thereby switching the display device at time t13'.

それぞれの切換えのタイミングは、比較例におけるタイミングよりも早い。したがって、電子機器200への接眼状態が変更した場合に、速やかに画像を表示する処理を変更することが可能となる。したがって、ユーザがライブビュー画像を確認できない期間を短くすることが可能となる。 The timing of each switching is earlier than the timing in the comparative example. Therefore, when the state of eye contact with the electronic device 200 is changed, it is possible to quickly change the process of displaying an image. Therefore, it is possible to shorten the period during which the user cannot confirm the live view image.

また、接眼状態に応じて、外部機器100と電子機器200との一方の表示を停止することが可能となることから、消費電力を低減することも可能となる。 In addition, since it is possible to stop the display of one of the external device 100 and the electronic device 200 according to the eye-eye state, it is also possible to reduce power consumption.

<実施例2>
実施例1の電子機器200は、CC端子に所定のパルスを重畳することによって、電子機器200の状態変化を外部機器100に通知した。実施例2の電子機器200は、CC端子に重畳されたパルスを検知できない場合に、CC端子を非接続電位状態にすることにより、状態変化を外部機器100に通知することを可能とする。
<Example 2>
The electronic device 200 of the first embodiment notifies the external device 100 of the state change of the electronic device 200 by superimposing a predetermined pulse on the CC terminal. When the electronic device 200 of the second embodiment cannot detect the pulse superimposed on the CC terminal, it makes it possible to notify the external device 100 of the state change by setting the CC terminal to the unconnected potential state.

実施例2の外部機器100、および電子機器200の構成は、実施例1で示した構成と同等であるので、詳細な説明は省略する。 The configuration of the external device 100 and the electronic device 200 of the second embodiment is the same as the configuration shown in the first embodiment, so detailed description thereof will be omitted.

実施例2において、電子機器200は、機器判別部218によって外部機器100が所定の種類の電子機器であるか否かを判定し、状態変化を通知するモードを切り替える。 In the second embodiment, the electronic device 200 determines whether or not the external device 100 is a predetermined type of electronic device by the device determination unit 218, and switches the mode for notifying the state change.

機器判別部218は、コネクタ201を介して接続された外部機器が、電子機器200と親和性のある外部機器か否かを判別する判別部である。親和性のある外部機器とは、例えば電子機器200と電子機器100とが同じベンダーにより製造された電子機器であり、例えばCC端子201aを介して電子機器200から親和性に関する情報を受信することによって親和性を判別することができる。親和性に関する情報は例えば、VID(A Vendor ID)である。また、親和性に関する情報は、外部機器100と電子機器200とが接続した際のPD通信において取得される。 The device determination unit 218 is a determination unit that determines whether or not the external device connected via the connector 201 is compatible with the electronic device 200 . A compatible external device is, for example, an electronic device in which the electronic device 200 and the electronic device 100 are manufactured by the same vendor. Affinity can be determined. Information about affinity is VID (A Vendor ID), for example. Also, information about affinity is acquired in PD communication when the external device 100 and the electronic device 200 are connected.

実施例2のシステム制御部209は、機器判別部218が、接続した外部機器100が、親和性がある外部機器であると判別した場合、実施例1に示した制御によって、接眼状態の遷移を通知する第1動作モードで動作する。また、システム制御部209は、機器判別部218が、接続した外部機器100が、親和性がある外部機器であると判別した場合、実施例1と異なる制御によって、接眼状態の遷移を通知する第2動作モードで動作する。親和性がある外部機器とは、実施例1に示した通知方法で状態の遷移を検出することが可能な種類の外部機器であるとする。 When the device determination unit 218 determines that the connected external device 100 is compatible with the external device 100, the system control unit 209 of the second embodiment performs the eyepiece state transition by the control described in the first embodiment. It operates in the first operation mode of notifying. Further, when the device determination unit 218 determines that the connected external device 100 is compatible with the external device 100, the system control unit 209 performs control different from that of the first embodiment to notify the transition of the eyepiece state. It operates in two modes of operation. An external device with affinity is assumed to be a type of external device that can detect state transitions by the notification method described in the first embodiment.

以下では、第2動作モードで接眼状態の遷移を通知する場合の制御について詳細に説明する。 In the following, a detailed description will be given of the control in the case of notifying the transition of the eyepiece state in the second operation mode.

図8は、第2動作モードにおける電子機器200の表示制御および接続状態通知制御を示すフローチャートである。図8のフローチャートに示す処理のうち、S3001~S3003、S3007、S3008、S3012、およびS3013は、S1001~S1003、S1007、S1008、S1012、およびS1013と同様の処理であることから説明を省略する。 FIG. 8 is a flowchart showing display control and connection state notification control of electronic device 200 in the second operation mode. Among the processes shown in the flowchart of FIG. 8, S3001 to S3003, S3007, S3008, S3012, and S3013 are the same processes as S1001 to S1003, S1007, S1008, S1012, and S1013, so description thereof will be omitted.

S3003で、システム制御部209が接眼状態から離眼状態へ変化したと判定した場合、S3004に進む。S3004で、スイッチ制御部205は、CC端子201bをプルアップ抵抗203およびプルダウン抵抗204のいずれにも接続しないように、スイッチ202を制御する。これにより、外部機器100のCC端子101bはプルアップ抵抗103を介して電源に接続される。 If the system control unit 209 determines in S3003 that the eye contact state has changed to the eye detached state, the process advances to S3004. In S<b>3004 , switch control section 205 controls switch 202 so that CC terminal 201 b is connected to neither pull-up resistor 203 nor pull-down resistor 204 . Thereby, the CC terminal 101b of the external device 100 is connected to the power supply through the pull-up resistor 103. FIG.

S3005で、システム制御部209は、CC端子201bの接続を変更してから第3期間が経過したか否かを判定する。ここで第3期間は、検出期間よりも長い期間であり、例えば、25msであるとする。S1005と同様、第3期間が経過するまで、判定処理を繰り返す。 In S3005, the system control unit 209 determines whether or not the third period has elapsed since the connection of the CC terminal 201b was changed. Here, the third period is longer than the detection period, and is assumed to be 25 ms, for example. Similar to S1005, the determination process is repeated until the third period elapses.

第3期間が経過したことに応じて、S3006で、スイッチ制御部205は、CC端子201bのトグリング制御を開始する。なお、S3006では、スイッチ制御部205は、CC端子201bをプルダウン抵抗204に接続するようにスイッチ202を制御してもよい。 In response to the elapse of the third period, in S3006, the switch control unit 205 starts toggling control of the CC terminal 201b. Note that in S<b>3006 , the switch control unit 205 may control the switch 202 to connect the CC terminal 201 b to the pull-down resistor 204 .

また、S3008で、システム制御部209が離眼状態から接眼状態へ変化したと判定した場合、S3009で、システム制御部209は、接眼状態になったことをPD通信で、外部機器100に通知する。上述したように、この場合、接眼状態となったことを検知したのち、PD通信が実行されるまでの間の待機時間が発生する。 Also, if the system control unit 209 determines in S3008 that the state has changed from the distanced state to the focused state, in S3009 the system control unit 209 notifies the external device 100 that the state has changed to the focused state via PD communication. . As described above, in this case, there is a waiting time from when the eye contact state is detected until the PD communication is executed.

図9は、第2動作モードで通知を行う場合のタイムチャートである。t1からt10までのイベントは、図7(a)と同様であるので説明を省略する。 FIG. 9 is a time chart for notification in the second operation mode. The events from t1 to t10 are the same as in FIG. 7(a), so the description is omitted.

t11で、システム制御部209が接眼状態から離眼状態に変化したと判定したこと応じて、スイッチ制御部205は、検出期間よりも長い第3期間の間、CC端子201bをプルアップ抵抗203およびプルダウン抵抗204のいずれにも接続しない状態とする。これにより、外部機器100の接続検出部108は、外部機器100と電子機器200との接続がなくなった(非接続)と判断する。システム制御部109は、外部機器100と電子機器200とが非接続となったことを示す検出結果に基づいて、ライブビュー画像を表示部114に表示するように制御する(t13´´)。 At t11, in response to the system control unit 209 determining that the eye-on state has changed to the eye-out state, the switch control unit 205 connects the CC terminal 201b to the pull-up resistor 203 and the CC terminal 201b for a third period longer than the detection period. It is set to a state in which it is not connected to any of the pull-down resistors 204 . Accordingly, the connection detection unit 108 of the external device 100 determines that the connection between the external device 100 and the electronic device 200 is lost (disconnection). Based on the detection result indicating that the external device 100 and the electronic device 200 are disconnected, the system control unit 109 controls to display the live view image on the display unit 114 (t13'').

上述のように制御することにより、PD通信のタイミングで接眼状態から離眼状態の遷移を電子機器200が通知した場合に発生する表示切換えまでの時間差(t13-t10)を、短くすることが可能となる。 By controlling as described above, it is possible to shorten the time difference (t13-t10) until display switching occurs when the electronic device 200 notifies the transition from the eye contact state to the eye separation state at PD communication timing. becomes.

したがって、電子機器200が離眼状態から接眼状態へ変更した場合に、速やかに画像を表示する処理を変更することが可能となる。したがって、ユーザがライブビュー画像を確認できない期間を短くすることが可能となる。 Therefore, when the electronic device 200 changes from the eye-distance state to the eye-eye state, it is possible to quickly change the processing for displaying an image. Therefore, it is possible to shorten the period during which the user cannot confirm the live view image.

また、接眼状態に応じて、外部機器100と電子機器200との一方の表示を停止することが可能となることから、消費電力を低減することも可能となる。 In addition, since it is possible to stop the display of one of the external device 100 and the electronic device 200 according to the eye-eye state, it is also possible to reduce power consumption.

100 外部機器
200 電子機器
201 コネクタ
201b CC端子
206 通信部
208 接続検出部
209 システム制御部
214 表示部
217 接眼判定部
100 external device 200 electronic device 201 connector 201b CC terminal 206 communication unit 208 connection detection unit 209 system control unit 214 display unit 217 eye proximity determination unit

Claims (17)

外部機器と接続する電子機器であって、
前記外部機器と接続する通信端子と、
前記通信端子のDC電圧レベルを制御する制御手段と、
前記制御手段に制御された前記通信端子の前記DC電圧レベルに波形を重畳して変調して、前記外部機器との通信を行う通信手段と、
前記電子機器の状態を検知する検知手段と、
を備え、
前記外部機器は、前記通信端子のDC電圧レベルが所定の検出期間の間、所定の範囲にある場合に、前記電子機器が前記外部機器と接続したと判定し、
前記制御手段は、前記検知手段が前記電子機器の状態が変化したことを検知した場合に、前記通信端子のDC電圧レベルを、前記所定の検出期間よりも短い所定の期間だけ、変化させることを特徴とする電子機器。
An electronic device that connects to an external device,
a communication terminal connected to the external device;
control means for controlling the DC voltage level of the communication terminal;
communication means for superimposing and modulating a waveform on the DC voltage level of the communication terminal controlled by the control means to perform communication with the external device;
detection means for detecting the state of the electronic device;
with
the external device determines that the electronic device is connected to the external device when the DC voltage level of the communication terminal is within a predetermined range for a predetermined detection period;
The control means changes the DC voltage level of the communication terminal for a predetermined period shorter than the predetermined detection period when the detection means detects that the state of the electronic device has changed. An electronic device characterized by:
前記外部機器から受信した画像データに基づく画像を表示する表示手段を備え、
前記検知手段は、ユーザと前記電子機器との間の距離が所定の距離以下である接眼状態であるか否かを検知することを特徴とする請求項1に記載の電子機器。
Display means for displaying an image based on the image data received from the external device,
2. The electronic device according to claim 1, wherein the detection means detects whether or not the distance between the user and the electronic device is a predetermined distance or less.
前記画像データを受信する端子をさらに備えることを特徴とする請求項2に記載の電子機器。 3. The electronic device according to claim 2, further comprising a terminal for receiving said image data. 前記制御手段は、前記検知手段が前記電子機器の状態が変化したことを検知した場合に、前記通信端子のDC電圧レベルを、前記所定の検出期間よりも短い所定の期間だけ、前記所定の範囲に含まれない電圧レベルに変化させることを特徴とする請求項1乃至3のいずれか1項に記載の電子機器。 When the detection means detects that the state of the electronic device has changed, the control means reduces the DC voltage level of the communication terminal to the predetermined range for a predetermined period shorter than the predetermined detection period. 4. The electronic device according to any one of claims 1 to 3, wherein the voltage level is changed to a voltage level not included in the . 一方の端部が接地した第1抵抗と、
一方の端部が所定の電圧レベルを出力する電源と接続した第2抵抗と、
を、さらに備え、
前記制御手段は、前記通信端子と、前記第1抵抗の他方の端部および前記第2抵抗の他方の端部のいずれかとの接続を切り換えて、前記通信端子のDC電圧レベルを制御することを特徴とする請求項1乃至請求項4のいずれか1項に記載の電子機器。
a first resistor with one end grounded;
a second resistor having one end connected to a power supply outputting a predetermined voltage level;
furthermore,
The control means switches connection between the communication terminal and either the other end of the first resistor or the other end of the second resistor to control the DC voltage level of the communication terminal. 5. The electronic device according to any one of claims 1 to 4.
前記電子機器はビューファインダであることを特徴とする請求項1乃至請求項5のいずれか1項に記載の電子機器。 6. The electronic device according to claim 1, wherein said electronic device is a viewfinder. 前記外部機器は、デジタルカメラであることを特徴とする請求項6に記載の電子機器。 7. The electronic device according to claim 6, wherein said external device is a digital camera. 前記通信端子は、USB3.1規格に準ずるUSB Type-C規格に規定されたCC端子であることを特徴とする請求項1乃至請求項7のいずれか1項に記載の電子機器。 8. The electronic device according to any one of claims 1 to 7, wherein the communication terminal is a CC terminal defined in the USB Type-C standard conforming to the USB 3.1 standard. 画像を表示する表示装置と前記表示装置に画像データを出力するための出力装置とを備える通信システムであって、
第1通信端子と、
前記第1通信端子のDC電圧レベルを制御する制御手段と、
前記第1通信端子の電圧を前記制御されたDC電圧レベルに波形を重畳して変調して、前記出力装置との通信を行う第1通信制御手段と、
前記表示装置の状態を検知する検知手段と、
画像データに基づいて画像を表示する第1表示手段と、
を備える表示装置と、
前記第1通信端子と接続するための第2通信端子と、
前記第2通信端子を介して前記表示装置と通信を行う第2通信制御手段と、
前記第2通信端子のDC電圧レベルが所定の検出期間の間、所定の範囲にある場合に、前記表示装置が前記出力装置と接続したことを検出する検出手段と、
前記第2通信端子のDC電圧レベルに基づいて前記表示装置の状態を判定する判定手段と、
前記画像データに基づく画像を表示する第2表示手段と、
前記表示装置の状態に基づいて、前記表示装置および前記第2表示手段の少なくとも一方に前記画像データを出力する出力手段と、
を備える出力装置と、
を備え、
前記制御手段は、前記検知手段が前記表示装置の状態が変化したことを検知した場合に、前記第1通信端子のDC電圧レベルを、前記所定の検出期間よりも短い所定の期間だけ、変化させ、
前記判定手段は、前記第2通信端子のDC電圧レベルが前記所定の検出期間よりも短い前記所定の期間だけ変化した場合に、前記表示装置の状態が変化したと判定し、
前記出力手段は、前記判定手段による前記状態の変化の判定に応じて前記画像データの出力先を変更する
ことを特徴とする通信システム。
A communication system comprising a display device for displaying an image and an output device for outputting image data to the display device,
a first communication terminal;
control means for controlling the DC voltage level of the first communication terminal;
first communication control means for performing communication with the output device by superimposing a waveform on the voltage of the first communication terminal to the controlled DC voltage level and modulating the voltage;
detection means for detecting the state of the display device;
a first display means for displaying an image based on the image data;
a display device comprising
a second communication terminal for connecting with the first communication terminal;
a second communication control means for communicating with the display device via the second communication terminal;
detection means for detecting that the display device is connected to the output device when the DC voltage level of the second communication terminal is within a predetermined range for a predetermined detection period;
determining means for determining the state of the display device based on the DC voltage level of the second communication terminal;
a second display means for displaying an image based on the image data;
output means for outputting the image data to at least one of the display device and the second display means based on the state of the display device;
an output device comprising
with
The control means changes the DC voltage level of the first communication terminal for a predetermined period shorter than the predetermined detection period when the detection means detects that the state of the display device has changed. ,
The determination means determines that the state of the display device has changed when the DC voltage level of the second communication terminal changes for the predetermined period shorter than the predetermined detection period,
The communication system, wherein the output means changes the output destination of the image data according to the judgment of the state change by the judgment means.
外部機器と接続する通信端子を有する電子機器の制御方法であって、
前記通信端子のDC電圧レベルを制御する制御工程と、
前記制御された前記通信端子の前記DC電圧レベルに波形を重畳して変調して、前記外部機器との通信を行う通信工程と、
前記電子機器の状態を検知する検知工程と、
を備え、
前記外部機器は、前記通信端子のDC電圧レベルが所定の検出期間の間、所定の範囲にある場合に、前記電子機器が前記外部機器と接続したと判定し、
前記制御工程は、前記検知工程が前記電子機器の状態が変化したことを検知した場合に、前記通信端子のDC電圧レベルを、前記所定の検出期間よりも短い所定の期間だけ、変化させることを特徴とする電子機器の制御方法。
A control method for an electronic device having a communication terminal for connecting to an external device,
a control step of controlling the DC voltage level of the communication terminal;
a communication step of superimposing and modulating a waveform on the DC voltage level of the controlled communication terminal to perform communication with the external device;
a detection step of detecting the state of the electronic device;
with
the external device determines that the electronic device is connected to the external device when the DC voltage level of the communication terminal is within a predetermined range for a predetermined detection period;
The control step changes the DC voltage level of the communication terminal for a predetermined period shorter than the predetermined detection period when the detection step detects that the state of the electronic device has changed. A method of controlling an electronic device characterized by:
前記電子機器は、前記外部機器から受信した画像データに基づく画像を表示する表示手段を備え、
前記検知工程は、ユーザと前記電子機器との間の距離が所定の距離以下である接眼状態であるか否かを検知することを特徴とする請求項10に記載の電子機器の制御方法。
The electronic device comprises display means for displaying an image based on the image data received from the external device,
11. The method of controlling an electronic device according to claim 10, wherein the detecting step detects whether or not the distance between the user and the electronic device is a predetermined distance or less.
前記画像データを受信する受信工程をさらに備えることを特徴とする請求項11に記載の電子機器の制御方法。 12. The method of controlling an electronic device according to claim 11, further comprising a receiving step of receiving said image data. 前記制御工程は、前記検知工程が前記電子機器の状態が変化したことを検知した場合に、前記通信端子のDC電圧レベルを、前記所定の検出期間よりも短い前記所定の期間だけ、前記所定の範囲に含まれない電圧レベルに変化させることを特徴とする請求項10乃至12のいずれか1項に記載の電子機器の制御方法 In the control step, when the detection step detects that the state of the electronic device has changed, the control step reduces the DC voltage level of the communication terminal to the predetermined period for the predetermined period shorter than the predetermined detection period. 13. The method of controlling an electronic device according to claim 10, wherein the voltage level is changed to a voltage level that is not included in the range. 前記電子機器は、一方の端部が接地した第1抵抗と、一方の端部が所定の電圧レベルを出力する電源と接続した第2抵抗と、を備え、
前記制御工程は、前記通信端子と、前記第1抵抗の他方の端部および前記第2抵抗の他方の端部のいずれかとの接続を切り換えて、前記通信端子のDC電圧レベルを制御することを特徴とする請求項10乃至請求項13のいずれか1項に記載の電子機器の制御方法。
The electronic device comprises a first resistor whose one end is grounded and a second resistor whose one end is connected to a power supply that outputs a predetermined voltage level,
The control step includes switching connection between the communication terminal and either the other end of the first resistor or the other end of the second resistor to control the DC voltage level of the communication terminal. 14. The method of controlling an electronic device according to any one of claims 10 to 13.
前記電子機器はビューファインダであることを特徴とする請求項10乃至請求項14のいずれか1項に記載の電子機器の制御方法。 15. The method of controlling an electronic device according to claim 10, wherein the electronic device is a viewfinder. 前記外部機器は、デジタルカメラであることを特徴とする請求項15に記載の電子機器の制御方法。 16. The method of controlling an electronic device according to claim 15, wherein the external device is a digital camera. 前記通信端子は、USB3.1規格に準ずるUSB Type-C規格に規定されたCC端子であることを特徴とする請求項10乃至請求項16のいずれか1項に記載の電子機器の制御方法。 17. The method of controlling an electronic device according to claim 10, wherein the communication terminal is a CC terminal defined in USB Type-C standard conforming to USB 3.1 standard.
JP2018015727A 2017-05-25 2018-01-31 Electronic device and its control method, communication system Active JP7146405B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018015727A JP7146405B2 (en) 2018-01-31 2018-01-31 Electronic device and its control method, communication system
US15/963,901 US20180343394A1 (en) 2017-05-25 2018-04-26 Electronic apparatus, method for controlling the same, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018015727A JP7146405B2 (en) 2018-01-31 2018-01-31 Electronic device and its control method, communication system

Publications (2)

Publication Number Publication Date
JP2019134334A JP2019134334A (en) 2019-08-08
JP7146405B2 true JP7146405B2 (en) 2022-10-04

Family

ID=67547621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018015727A Active JP7146405B2 (en) 2017-05-25 2018-01-31 Electronic device and its control method, communication system

Country Status (1)

Country Link
JP (1) JP7146405B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021172283A1 (en) 2020-02-28 2021-09-02 富士フイルム株式会社 Imaging device, imaging method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016071952A1 (en) 2014-11-04 2016-05-12 オリンパス株式会社 Image pickup device, image pickup method, and program
JP2017151161A (en) 2016-02-22 2017-08-31 株式会社ニコン Accessory and imaging device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016071952A1 (en) 2014-11-04 2016-05-12 オリンパス株式会社 Image pickup device, image pickup method, and program
JP2017151161A (en) 2016-02-22 2017-08-31 株式会社ニコン Accessory and imaging device

Also Published As

Publication number Publication date
JP2019134334A (en) 2019-08-08

Similar Documents

Publication Publication Date Title
US20180181177A1 (en) Electronic apparatus and method for controlling the same
JP3745279B2 (en) DVI optical extension cable connection and external power input confirmation system
US8860687B2 (en) Display, touch panel and electronic device
KR101490895B1 (en) Discovery of electronic devices utilizing a control bus
JP6878102B2 (en) Electronic devices and their control methods
CN110661968B (en) Electronic device, control method thereof, and non-transitory computer-readable storage medium
KR102387584B1 (en) Mount apparatus and accessory
US20090316724A1 (en) Electronically configurable interface
US9717045B2 (en) Systems for enabling modular mobile electronic devices
US11336821B2 (en) Camera system, camera, interchangeable lens, and compatibility determination method of camera system
US8350837B2 (en) Power monitoring and control apparatus for display device
JP7146405B2 (en) Electronic device and its control method, communication system
US9053657B2 (en) Two-way HDMI communication
CN114041249A (en) Connector and method for controlling charging by using connector
JP2018200345A (en) Electronic equipment, control method thereof, and communication system
US11460900B2 (en) Video display apparatus and method for supplying electric power
JP2018173886A (en) Electronic apparatus and control method therefor
JP2018147123A (en) Electronic apparatus and control method thereof
JP5251317B2 (en) Device equipment, host equipment and interface system
JP2012015769A (en) Power supply circuit
JP7130463B2 (en) Electronic devices and methods of controlling electronic devices
US20180343394A1 (en) Electronic apparatus, method for controlling the same, and communication system
JP2018173887A (en) Electronic apparatus and control method therefor, and electronic device and control method therefor
KR20190075610A (en) Data driving apparatus for display
US20090089461A1 (en) Image input/output switching method for a notebook computer and related notebook computer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220624

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: 20220823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220921

R151 Written notification of patent or utility model registration

Ref document number: 7146405

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151