JP5382045B2 - Electronic device, electronic device system and program - Google Patents

Electronic device, electronic device system and program Download PDF

Info

Publication number
JP5382045B2
JP5382045B2 JP2011079860A JP2011079860A JP5382045B2 JP 5382045 B2 JP5382045 B2 JP 5382045B2 JP 2011079860 A JP2011079860 A JP 2011079860A JP 2011079860 A JP2011079860 A JP 2011079860A JP 5382045 B2 JP5382045 B2 JP 5382045B2
Authority
JP
Japan
Prior art keywords
terminal
power supply
level
potential
unit
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
JP2011079860A
Other languages
Japanese (ja)
Other versions
JP2012215993A (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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2011079860A priority Critical patent/JP5382045B2/en
Priority to US13/372,764 priority patent/US9047073B2/en
Priority to IN409DE2012 priority patent/IN2012DE00409A/en
Priority to CN201210033206.5A priority patent/CN102692986B/en
Publication of JP2012215993A publication Critical patent/JP2012215993A/en
Application granted granted Critical
Publication of JP5382045B2 publication Critical patent/JP5382045B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Studio Devices (AREA)

Description

本発明は、電子機器、接続機器、電子機器システムおよびプログラムに関する。   The present invention relates to an electronic device, a connection device, an electronic device system, and a program.

USBのOn−The−Go規格のAデバイスとしての動作時に、VBUSラインと電源回路とを接続し、所与の切替信号に基づいて、VBUSラインおよび電源回路のいずれかからデータ転送処理回路に対して電源を供給する装置が知られている(例えば、特許文献1参照)。
[先行技術文献]
[特許文献]
[特許文献1]特開2004−94495号公報
When operating as a USB On-The-Go standard A device, the VBUS line and the power supply circuit are connected, and either of the VBUS line or the power supply circuit is connected to the data transfer processing circuit based on a given switching signal. There is known an apparatus for supplying power (see, for example, Patent Document 1).
[Prior art documents]
[Patent Literature]
[Patent Document 1] Japanese Unexamined Patent Application Publication No. 2004-94495

電子機器に接続される接続機器が電子機器と通信するために、接続機器側から電力を供給する必要がある場合、接続機器側に電源部を設ける必要がある。接続機器に電源部を設けると、接続機器を小型化することができないという課題があった。   In order for the connected device connected to the electronic device to communicate with the electronic device, when it is necessary to supply power from the connected device side, a power supply unit needs to be provided on the connected device side. When the power supply unit is provided in the connection device, there is a problem that the connection device cannot be reduced in size.

第1の態様においては、電子機器は、ID端子および給電用端子を有し、USBデバイスおよびUSBホストのいずれも接続可能なUSB接続部と、ID端子の電位を検出する検出部と、ID端子の電位変化が検出された場合に、USB接続部に接続されている機器である接続機器へ給電用端子を介して電力供給を開始し、USB接続部に接続されている接続機器と通信する制御部とを備え、記ID端子の電位は、接続機器がUSB接続部に接続されていない場合にHレベルにあり、制御部は、ID端子の電位がHレベルからLレベルに変化した場合に、USB接続部に接続されている接続機器へ給電用端子を介して電力供給を開始し、USB接続部に接続されている接続機器へ給電用端子を介して電力供給を開始してから予め定められた期間内にID端子の電位がLレベルからHレベルに変化した場合に、USB接続部に接続されている接続機器への給電用端子を介する電力供給を維持しつつ、USB接続部に接続されている接続機器とUSB接続部を介してUSBデバイスとして通信する。  In the first aspect, the electronic apparatus has an ID terminal and a power supply terminal, a USB connection unit that can connect both a USB device and a USB host, a detection unit that detects the potential of the ID terminal, and an ID terminal. Control to start power supply to a connected device, which is a device connected to the USB connection unit, via a power supply terminal and to communicate with the connected device connected to the USB connection unit when a change in potential is detected The potential of the ID terminal is at the H level when the connected device is not connected to the USB connection unit, and the control unit is configured to change the potential of the ID terminal from the H level to the L level. Power supply is started to the connected device connected to the USB connection unit via the power supply terminal, and power supply is started to the connection device connected to the USB connection unit via the power supply terminal. Period When the potential of the ID terminal changes from L level to H level, it is connected to the USB connection unit while maintaining the power supply via the power supply terminal to the connected device connected to the USB connection unit. Communicates as a USB device with a connected device via a USB connection unit.

第2の態様においては、電子機器システムは、上記電子機器と、接続機器とを備え、接続機器は、電子機器のID端子と電気的に接続される被接続端子、および、電子機器の給電用端子と電気的に接続される接続機器側給電用端子を有する接続機器側USB接続部と、被接続端子とID端子とが電気的に接続された場合に、被接続端子の電位をHレベルからLレベルに変化させ、電子機器から接続機器側給電用端子を介して電力が供給された場合に、被接続端子の電位をLレベルからHレベルに変化させる第1回路部とを有する。  In a second aspect, an electronic device system includes the electronic device and a connection device, and the connection device is a connected terminal that is electrically connected to an ID terminal of the electronic device, and for supplying power to the electronic device. When the connected device side USB connection portion having the connected device side power supply terminal electrically connected to the terminal, and the connected terminal and the ID terminal are electrically connected, the potential of the connected terminal is changed from the H level. And a first circuit unit that changes the potential of the connected terminal from the L level to the H level when electric power is supplied from the electronic device via the connected device side power supply terminal.

第3の態様においては、プログラムは、USBデバイスおよびUSBホストのいずれも接続可能なUSB接続部のID端子の電位を検出する検出ステップと、ID端子の電位変化が検出された場合に、USB接続部に接続されている機器である接続機器へUSB接続部が有する給電用端子を介して電力供給を開始し、USB接続部に接続されている接続機器と通信する制御ステップとをコンピュータに実行させ、制御ステップは、ID端子の電位がHレベルからLレベルに変化した場合に、USB接続部に接続されている接続機器へ給電用端子を介して電力供給を開始し、USB接続部に接続されている接続機器へ給電用端子を介して電力供給を開始してから予め定められた期間内にID端子の電位がLレベルからHレベルに変化した場合に、USB接続部に接続されている接続機器への給電用端子を介する電力供給を維持しつつ、USB接続部に接続されている接続機器とUSB接続部を介してUSBデバイスとして通信する。  In the third aspect, the program detects the potential of the ID terminal of the USB connection unit to which both the USB device and the USB host can be connected, and the USB connection when the potential change of the ID terminal is detected. The computer starts a power supply to the connection device, which is a device connected to the unit, via the power supply terminal of the USB connection unit, and causes the computer to execute a control step for communicating with the connection device connected to the USB connection unit. In the control step, when the potential of the ID terminal changes from the H level to the L level, power supply is started to the connected device connected to the USB connection unit via the power supply terminal, and the control unit is connected to the USB connection unit. When the potential of the ID terminal changes from L level to H level within a predetermined period from the start of power supply to the connected device via the power feeding terminal While maintaining the power supply via the power supply terminals of the connection device connected to the USB port, to communicate the USB device via the connection device and the USB connection portion that is connected to the USB connection.

なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。   It should be noted that the above summary of the invention does not enumerate all the necessary features of the present invention. In addition, a sub-combination of these feature groups can also be an invention.

一実施形態にかかる電気機器システムの利用場面の一例を示す。An example of the utilization scene of the electric equipment system concerning one Embodiment is shown. 撮像装置10のブロック構成の一例を示す。2 shows an example of a block configuration of the imaging apparatus 10. 無線機器100のブロック構成の一例を示す。1 shows an example of a block configuration of a wireless device 100. 撮像装置10と無線機器100とが接続された状態を模式的に示す。The state where the imaging device 10 and the wireless device 100 are connected is schematically shown. 接続部40に無線機器100が接続された場合の各部のタイムシーケンスの一例を示す。An example of a time sequence of each unit when the wireless device 100 is connected to the connection unit 40 is shown. 接続部40に周辺機器140が接続された場合のタイムシーケンスを示す。A time sequence when the peripheral device 140 is connected to the connection unit 40 is shown. 接続機器を検出し通信を開始するまでの処理フローを示す。A processing flow from detecting a connected device to starting communication is shown. 接続部40の変形例を模式的に示す。The modification of the connection part 40 is shown typically. 接続部40にAVケーブル110が接続された状態を模式的に示す。A state in which the AV cable 110 is connected to the connection unit 40 is schematically shown. AVケーブル110が接続された場合のタイムシーケンスの一例を示す。An example of a time sequence when the AV cable 110 is connected is shown. 本変形例において接続機器を検出し出力を開始するまでの処理フローを示す。The process flow until it detects a connection apparatus and starts an output in this modification is shown. 無線機器100の他の例としての無線機器1200を示す。A wireless device 1200 as another example of the wireless device 100 is shown. 接続部40に無線機器1200が接続された場合の各部のタイムシーケンスの一例を示す。An example of a time sequence of each unit when the wireless device 1200 is connected to the connection unit 40 is shown. 接続部40に周辺機器140が接続された場合のタイムシーケンスを示す。A time sequence when the peripheral device 140 is connected to the connection unit 40 is shown.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.

図1は、一実施形態にかかる電気機器システムの利用場面の一例を示す。電子機器の一例としての撮像装置10は、無線機器100、周辺機器140、通信ケーブル120、AVケーブル110と接続するための接続部40を有している。無線機器100は、第1の種類の接続機器の一例であり、他の機器は、第2の種類の接続機器の一例である。   FIG. 1 shows an example of a usage scene of an electrical equipment system according to an embodiment. The imaging apparatus 10 as an example of an electronic device includes a connection unit 40 for connecting to the wireless device 100, the peripheral device 140, the communication cable 120, and the AV cable 110. The wireless device 100 is an example of a first type of connected device, and the other devices are examples of a second type of connected device.

周辺機器140は、USB(Universal Serial Bus)規格のデバイスとして動作する。周辺機器140としては、ハードディスク装置等の外部記録装置などを例示することができる。撮像装置10は、周辺機器140が有するUSB接続部が接続部40に接続された場合、周辺機器140に電力を供給するとともに、USB規格のホストとしてデータ通信を行う。周辺機器140は、USB規格のデバイスとしてデータ通信を行う。以下の説明において、用語「ホスト」および「デバイス」は、それぞれUSB規格におけるホストおよびデバイスを示す。   The peripheral device 140 operates as a USB (Universal Serial Bus) standard device. An example of the peripheral device 140 is an external recording device such as a hard disk device. When the USB connection unit included in the peripheral device 140 is connected to the connection unit 40, the imaging apparatus 10 supplies power to the peripheral device 140 and performs data communication as a USB standard host. The peripheral device 140 performs data communication as a USB standard device. In the following description, the terms “host” and “device” indicate a host and a device in the USB standard, respectively.

無線機器100は、ホストとしてデータ通信を行うが、撮像装置10から電力供給を受ける。無線機器100が有する接続部が接続部40に接続された場合、無線機器100は、ホストとしてデータ通信を行うが電力供給を受ける接続機器である旨を、接続部40が有する接続端子の電位を変化させることで、撮像装置10に通知する。例えば、無線機器100は、撮像装置10に接続された後にID端子の電位を一時的に変化させることで撮像装置10に通知する。撮像装置10は、当該接続端子の電位変化を検出した場合に、無線機器100がホストとしてデータ通信を行うが電力供給を受ける接続機器である旨を認識する。この場合、撮像装置10は、デバイスとして無線機器100とデータ通信を行うが、無線機器100に電力供給を行う。   The wireless device 100 performs data communication as a host, but receives power supply from the imaging device 10. When the connection unit included in the wireless device 100 is connected to the connection unit 40, the wireless device 100 performs connection for data communication as a host, but indicates that the connection device receives power supply. The change is notified to the imaging device 10. For example, the wireless device 100 notifies the imaging device 10 by temporarily changing the potential of the ID terminal after being connected to the imaging device 10. When the imaging apparatus 10 detects a change in the potential of the connection terminal, the imaging apparatus 10 recognizes that the wireless device 100 is a connected device that performs data communication as a host but receives power supply. In this case, the imaging apparatus 10 performs data communication with the wireless device 100 as a device, but supplies power to the wireless device 100.

無線機器100は、例えば無線通信用の接続機器である。無線機器100は、IEEE802.11等の無線通信規格に準拠して無線通信を行う機器であってよい。無線機器100は、Bluetooth(登録商標)等の近距離無線通信規格に準拠して無線通信を行う機器であってよい。無線機器100は、撮像装置10から転送された画像データを、パーソナルコンピュータ130、TV160等に無線通信で送信する。   The wireless device 100 is a connection device for wireless communication, for example. The wireless device 100 may be a device that performs wireless communication in accordance with a wireless communication standard such as IEEE802.11. The wireless device 100 may be a device that performs wireless communication in accordance with a short-range wireless communication standard such as Bluetooth (registered trademark). The wireless device 100 transmits the image data transferred from the imaging device 10 to the personal computer 130, the TV 160, and the like by wireless communication.

通信ケーブル120は、USB規格に準拠する通信ケーブルである。通信ケーブル120は、ホストとして動作する接続機器の一例としてのパーソナルコンピュータ130と撮像装置10とを接続する。撮像装置10は、接続部40に通信ケーブル120が接続された場合、デバイスとして動作する。すなわち、撮像装置10は、パーソナルコンピュータ130から電力供給を受け、デバイスとしてデータ通信を行う。例えば、撮像装置10は、パーソナルコンピュータ130の要求により、画像データをパーソナルコンピュータ130に転送する。   The communication cable 120 is a communication cable conforming to the USB standard. The communication cable 120 connects the personal computer 130 as an example of a connection device that operates as a host and the imaging apparatus 10. The imaging device 10 operates as a device when the communication cable 120 is connected to the connection unit 40. That is, the imaging apparatus 10 receives power supply from the personal computer 130 and performs data communication as a device. For example, the imaging device 10 transfers image data to the personal computer 130 in response to a request from the personal computer 130.

AVケーブル110は、TV160等のオーディオビジュアル機器と撮像装置10とを接続する。撮像装置10は、オーディオビジュアル信号(AV信号)を外部出力する旨の指示をユーザから受け付けた場合、AVケーブル110を介してTV160にAV信号を出力する。AV信号としては、静止画データ、動画データ、音声データの信号を含む。   The AV cable 110 connects an audio visual device such as the TV 160 and the imaging device 10. When receiving an instruction from the user to output an audiovisual signal (AV signal) from the user, the imaging apparatus 10 outputs the AV signal to the TV 160 via the AV cable 110. AV signals include still image data, moving image data, and audio data signals.

撮像装置10によると、無線機器100に電力供給をしつつ、デバイスとして無線機器100とデータ通信を行うことができる。したがって、無線機器100は、ホストとして撮像装置10と通信する必要がある場合でも、内部電源を備えなくてよい。このため、無線機器100を小型化することができる。また、無線機器100を低コストで提供することが可能になる。   According to the imaging apparatus 10, it is possible to perform data communication with the wireless device 100 as a device while supplying power to the wireless device 100. Therefore, even when the wireless device 100 needs to communicate with the imaging device 10 as a host, the wireless device 100 does not have to include an internal power source. For this reason, the wireless device 100 can be reduced in size. In addition, the wireless device 100 can be provided at a low cost.

図2は、撮像装置10のブロック構成の一例を示す。撮像装置10は、CPU(central processing unit:中央処理装置)12と、撮像素子14と、表示部18と、測光センサ20と、焦点検出センサ22と、入力部24と、ASIC26と、給電スイッチ部30と、接続部40と、電池80とを備える。ASIC26は、画像処理部16と、給電制御部210、給電検出部220、データ入出力部230、接続検出部240、過電流検出部270、外部出力部280および出力制御部290を有する。   FIG. 2 shows an example of a block configuration of the imaging apparatus 10. The image pickup apparatus 10 includes a CPU (central processing unit) 12, an image pickup element 14, a display unit 18, a photometric sensor 20, a focus detection sensor 22, an input unit 24, an ASIC 26, and a power supply switch unit. 30, a connection unit 40, and a battery 80. The ASIC 26 includes an image processing unit 16, a power supply control unit 210, a power supply detection unit 220, a data input / output unit 230, a connection detection unit 240, an overcurrent detection unit 270, an external output unit 280, and an output control unit 290.

CPU12は、撮像装置10の制御全般を司る。CPU12には、撮像素子14と、表示部18と、測光センサ20と、焦点検出センサ22と、入力部24と、ASIC26とが信号を入出力可能に接続されている。   The CPU 12 governs overall control of the imaging device 10. An image sensor 14, a display unit 18, a photometric sensor 20, a focus detection sensor 22, an input unit 24, and an ASIC 26 are connected to the CPU 12 so that signals can be input and output.

撮像素子14は、CCD(charge−coupled device:電荷結合素子)またはCMOS(complementary metal-oxide semiconductor:相補型金属酸化膜半導体)等を有する。撮像素子14は、被写体像を光電変換することによって生成した撮像信号をASIC26へと出力する。撮像素子14は、撮像部として機能する。   The imaging device 14 includes a CCD (charge-coupled device) or a CMOS (complementary metal-oxide semiconductor: complementary metal oxide semiconductor). The imaging element 14 outputs an imaging signal generated by photoelectrically converting the subject image to the ASIC 26. The imaging element 14 functions as an imaging unit.

画像処理部16は、撮像素子14から入力された撮像信号をアナログ/デジタル変換した後、画像データへと変換する。表示部18は、液晶ディプレイ等の表示デバイスを有する。表示部18は、CPU12の制御に従って、画像データを用いて被写体像、設定情報等の情報を表示する。   The image processing unit 16 performs analog / digital conversion on the image pickup signal input from the image pickup device 14 and then converts it into image data. The display unit 18 includes a display device such as a liquid crystal display. The display unit 18 displays information such as a subject image and setting information using image data under the control of the CPU 12.

測光センサ20は、被写体光束の光路の経路上に配置される。測光センサ20は、レンズユニットを通じて入射した被写体光束の一部を受光する。測光センサ20は、受光した被写体光束から被写体輝度を検出してCPU12へと出力する。CPU12は、撮像素子14の感度、シャッタ速度、絞り開度等を算出して、各部に指示を発信する。   The photometric sensor 20 is disposed on the optical path of the subject light flux. The photometric sensor 20 receives a part of the subject luminous flux incident through the lens unit. The photometric sensor 20 detects subject brightness from the received subject light flux and outputs it to the CPU 12. The CPU 12 calculates the sensitivity of the image sensor 14, the shutter speed, the aperture opening degree, and the like, and sends an instruction to each unit.

焦点検出センサ22は、レンズユニットの光学系が形成した被写体像からデフォーカス量を検出して、レンズユニットを合焦させる。この過程で、焦点検出センサ22は、撮像素子14から被写体までの距離に関する情報も取得する。   The focus detection sensor 22 detects the defocus amount from the subject image formed by the optical system of the lens unit, and focuses the lens unit. In this process, the focus detection sensor 22 also acquires information related to the distance from the image sensor 14 to the subject.

接続部40には、AVケーブル110、通信ケーブル120、無線機器100が有する接続部、周辺機器140が有する接続部が接続される。接続部40は、接続機器と接続される接続端子および給電用端子を有する。接続端子および給電用端子の具体例については後述する。   The connection unit 40 is connected to the AV cable 110, the communication cable 120, the connection unit included in the wireless device 100, and the connection unit included in the peripheral device 140. The connection unit 40 includes a connection terminal connected to the connection device and a power feeding terminal. Specific examples of the connection terminal and the power supply terminal will be described later.

入力部24は、レリーズボタン、ダイアル、十字キー、押しボタン等による使用者の操作を入力として受け付け、入力した指示、設定値等を保持する。CPU12は、入力部24を参照して、動作条件を決定する。電池80は、撮像装置10の各部に電力を供給する。   The input unit 24 accepts a user operation using a release button, dial, cross key, push button, or the like as an input, and holds the input instruction, setting value, and the like. The CPU 12 determines operating conditions with reference to the input unit 24. The battery 80 supplies power to each part of the imaging device 10.

ASIC26は、画像データ等の情報を、接続部40に接続された接続機器に出力する。また、ASIC26は、接続部40に接続された接続機器から、画像データ等の情報を取得する。   The ASIC 26 outputs information such as image data to a connected device connected to the connection unit 40. Further, the ASIC 26 acquires information such as image data from the connected device connected to the connection unit 40.

データ入出力部230は、データを接続部40を通じて接続機器に出力する。また、データ入出力部230は、接続機器からデータを取得する。また、外部出力部280は、CPU12によって入力されるデータを、データ入出力部230とは異なる方式で接続機器に出力する。例えば、データ入出力部230は、デジタル信号として接続機器に出力し、外部出力部280はアナログ信号として接続機器に出力する。   The data input / output unit 230 outputs data to the connected device through the connection unit 40. Further, the data input / output unit 230 acquires data from the connected device. The external output unit 280 also outputs data input by the CPU 12 to the connected device in a manner different from that of the data input / output unit 230. For example, the data input / output unit 230 outputs a digital signal to the connected device, and the external output unit 280 outputs the analog signal to the connected device.

接続検出部240は、接続部40が有する接続端子の電位を検出する。給電制御部210および給電スイッチ部30は、接続端子の電位変化が検出された場合に、給電用端子を介して電力供給を開始する。具体的には、給電スイッチ部30が、給電制御部210の制御に従って、撮像装置10を駆動する電池から給電用端子へ電力を供給する。給電制御部210および給電スイッチ部30は、電源制御部として機能する。   The connection detection unit 240 detects the potential of the connection terminal included in the connection unit 40. The power supply control unit 210 and the power supply switch unit 30 start power supply via the power supply terminal when a potential change of the connection terminal is detected. Specifically, the power feeding switch unit 30 supplies power from the battery that drives the imaging device 10 to the power feeding terminal according to the control of the power feeding control unit 210. The power supply control unit 210 and the power supply switch unit 30 function as a power supply control unit.

出力制御部290は、電力供給を開始した後における接続端子の電位の検出結果に基づいて、接続機器の種類を認識する。具体的には、出力制御部290は、接続検出部240が検出した接続端子の電位に基づいて、接続機器の種類を認識する。具体的には、電力供給を開始してから予め定められた期間内における接続端子の電位の検出結果に基づいて、接続機器の種類を認識する。なお、出力制御部290は、予め定められた期間が経過した後に、接続端子の電位が第2電位レベルから第1電位レベルに変化した場合には、給電制御部210を制御して電力供給を停止させる。   The output control unit 290 recognizes the type of the connected device based on the detection result of the potential of the connection terminal after the power supply is started. Specifically, the output control unit 290 recognizes the type of connected device based on the potential of the connection terminal detected by the connection detection unit 240. Specifically, the type of the connected device is recognized based on the detection result of the potential of the connection terminal within a predetermined period after the start of power supply. When the potential of the connection terminal changes from the second potential level to the first potential level after a predetermined period has elapsed, the output control unit 290 controls the power supply control unit 210 to supply power. Stop.

より具体的には、接続端子の電位は、接続機器が接続されていない場合に第1電位レベルにある。出力制御部290は、接続端子の電位が第2電位レベルに変化した場合に、接続機器への電力供給を開始する。そして、出力制御部290は、予め定められた期間内に接続端子の電位が第1電位レベルに変化し、かつ、予め定められた期間が経過した後に接続端子の電位が第2電位レベルに変化した場合に、第1の種類の接続機器が接続されたことを認識し、予め定められた期間内に接続端子の電位が第1電位レベルに変化しなかった場合に、第2の種類の接続機器が接続されたことを認識する。   More specifically, the potential of the connection terminal is at the first potential level when the connection device is not connected. The output control unit 290 starts power supply to the connected device when the potential of the connection terminal changes to the second potential level. Then, the output control unit 290 changes the potential of the connection terminal to the first potential level within a predetermined period, and changes the potential of the connection terminal to the second potential level after the predetermined period elapses. If the first type connection device is recognized and the potential of the connection terminal does not change to the first potential level within a predetermined period, the second type connection is established. Recognize that the device is connected.

接続機器がUSBに準拠した機器である場合、接続部40は、デバイスおよびホストのいずれも接続可能なUSB接続部を有する。例えば、接続部40は、USB2.0規格のミニABレセプタブルまたはマイクロABレセプタブルであってよい。第1の種類の接続機器としては、撮像装置10からの電力供給を要し、ホストとして通信する機器を例示することができる。第2の種類の接続機器としては、デバイスとして動作する機器を例示することができる。デバイスとして動作する機器とは、撮像装置10から電力供給を要し、かつ、デバイスとして通信する機器を意味する。   When the connected device is a USB-compliant device, the connection unit 40 includes a USB connection unit that can connect both the device and the host. For example, the connection unit 40 may be a USB 2.0 standard mini-AB receptacle or micro-AB receptacle. Examples of the first type of connection device include devices that require power supply from the imaging device 10 and communicate as a host. Examples of the second type of connection device include devices that operate as devices. The device that operates as a device means a device that requires power supply from the imaging apparatus 10 and communicates as a device.

接続端子は、ミニABレセプタブルまたはマイクロABレセプタブルにおけるID端子を適用できる。この場合、接続端子の電位は、接続機器が接続されていない場合には、接地電位よりも高いHレベルにある。Hレベルは、第1電位レベルの一例である。そして、給電制御部210および給電スイッチ部30は、接続端子の電位が第2電位レベルの一例としてのLレベルに変化した場合に、接続機器への電力供給を開始する。出力制御部290は、予め定められた期間内に接続端子の電位がLレベルからHレベルに変化した場合に、接続機器がホストとして通信し、かつ、電力供給を要する機器であると認識する。出力制御部290は、予め定められた期間内に接続端子の電位がLレベルからHレベルに変化しなかった場合に、接続機器がデバイスとして通信し、かつ、電力供給を要する機器であると認識する。すなわち、通常のデバイスとして動作すると認識する。出力制御部290は、データ入出力部230を制御して、予め定められた期間内に接続端子の電位がLレベルからHレベルに変化した場合に、デバイスとして接続機器と通信させ、予め定められた期間内に接続端子の電位がLレベルからHレベルに変化しなかった場合に、ホストとして接続機器と通信させる。具体的には、データ入出力部230は、出力制御部290の制御に従って、撮像素子14により撮像された画像を、画像データとして接続機器に送信する。   As the connection terminal, an ID terminal in a mini AB receptacle or a micro AB receptacle is applicable. In this case, the potential of the connection terminal is at an H level higher than the ground potential when the connected device is not connected. The H level is an example of the first potential level. Then, the power supply control unit 210 and the power supply switch unit 30 start supplying power to the connected device when the potential of the connection terminal changes to the L level as an example of the second potential level. When the potential of the connection terminal changes from the L level to the H level within a predetermined period, the output control unit 290 recognizes that the connected device communicates as a host and requires power supply. The output control unit 290 recognizes that the connected device communicates as a device and requires power supply when the potential of the connection terminal does not change from the L level to the H level within a predetermined period. To do. That is, it recognizes that it operates as a normal device. The output control unit 290 controls the data input / output unit 230 to communicate with the connected device as a device when the potential of the connection terminal changes from the L level to the H level within a predetermined period, If the potential of the connection terminal does not change from the L level to the H level within the specified period, communication with the connected device is performed as a host. Specifically, the data input / output unit 230 transmits an image captured by the image sensor 14 to the connected device as image data under the control of the output control unit 290.

ここで、ホストは、バスの使用権を占有する機器である。デバイスは、バスの使用権をホストから受け取ったことを条件として、データを送信することができる。したがって、接続機器がホストとして通信することができる場合、撮像装置10は、画像データを接続機器からの要求に基づいて送信する。一方、接続機器がデバイスとして通信する場合、撮像装置10は接続機器に画像データを送信する旨を接続機器に通知する。すなわち、出力制御部290は、電力供給を開始した後における接続端子の電位の検出結果に基づいて、画像データを接続機器からの要求に基づいて送信すべきか否かを認識する。そして、データ入出力部230は、画像データを接続機器からの要求に基づいて送信すべき旨が認識された場合に、画像データを接続機器からの要求に基づいて送信し、画像データを接続機器からの要求に基づいて送信すべきでない旨が認識された場合に、画像データを送信する旨を接続機器に通知する。   Here, the host is a device that occupies the right to use the bus. The device can transmit data on the condition that the right to use the bus is received from the host. Therefore, when the connected device can communicate as a host, the imaging device 10 transmits image data based on a request from the connected device. On the other hand, when the connected device communicates as a device, the imaging apparatus 10 notifies the connected device that image data is to be transmitted to the connected device. That is, the output control unit 290 recognizes whether image data should be transmitted based on a request from the connected device based on the detection result of the potential of the connection terminal after the power supply is started. When the data input / output unit 230 recognizes that the image data should be transmitted based on the request from the connected device, the data input / output unit 230 transmits the image data based on the request from the connected device, and transmits the image data to the connected device. When it is recognized that it should not be transmitted based on the request from the device, the connected device is notified that the image data is to be transmitted.

なお、ホストは、デバイスが処理を要求するか否か予め定められた時間間隔で問い合わせるポーリング処理を行う。また、ホストは、ブロードキャストでデバイスにデータを送信してよい。デバイスは、受信したデータが自分宛のデータであるか否かを判断して、自分宛のデータであると判断した場合に、当該データを処理する。   Note that the host performs polling processing that inquires at a predetermined time interval whether the device requests processing. The host may send data to the device by broadcast. When the device determines whether the received data is data addressed to itself and determines that the data is addressed to itself, the device processes the data.

給電検出部220は、接続部40が有する給電用端子の電位を検出する。出力制御部290は、接続端子の電位が変化することなく給電用端子の電位が変化した場合に、第1の種類の接続機器とは異なる方式で画像データを送信すべき機器であると認識する。具体的には、出力制御部290は、ID端子としての接続端子の電位が変化することなく、給電用端子の電位が変化した場合に、接続機器がホストとして動作する機器であると認識する。この場合、出力制御部290は、デバイスとして接続機器と通信するようデータ入出力部230を制御する。また、ASIC26は、給電用端子から供給される電力で各部を動作させる。   The power supply detection unit 220 detects the potential of the power supply terminal included in the connection unit 40. The output control unit 290 recognizes that the device should transmit image data using a method different from that of the first type connected device when the potential of the power supply terminal changes without changing the potential of the connection terminal. . Specifically, the output control unit 290 recognizes that the connected device is a device that operates as a host when the potential of the power supply terminal changes without changing the potential of the connection terminal as the ID terminal. In this case, the output control unit 290 controls the data input / output unit 230 to communicate with the connected device as a device. Further, the ASIC 26 operates each unit with the power supplied from the power supply terminal.

過電流検出部270は、接続機器に供給される電流が予め定められた値を超えるか否かを検出する。具体的には、過電流検出部270は、過電流であるか否かを示す信号を給電スイッチ部30から受信する。給電制御部210は、接続機器に供給される電流が予め定められた値を超えると判断した場合、給電スイッチ部30を制御して接続機器への給電を停止する。   The overcurrent detection unit 270 detects whether or not the current supplied to the connected device exceeds a predetermined value. Specifically, the overcurrent detection unit 270 receives a signal indicating whether or not there is an overcurrent from the power supply switch unit 30. When the power supply control unit 210 determines that the current supplied to the connection device exceeds a predetermined value, the power supply control unit 210 controls the power supply switch unit 30 to stop power supply to the connection device.

外部出力部280は、画像データをアナログ信号で外部に出力する。より具体的には、外部出力部280は、アナログのAV信号を外部に出力する。出力制御部290は、アナログ信号で出力すべき接続機器である旨を認識した場合、外部出力部280を制御してアナログ信号を接続機器に出力させる。例えば、出力制御部290は、接続部40にAVケーブル110が接続されたことを検出した場合に、外部出力部280を制御してアナログのAV信号を接続機器に出力させる。   The external output unit 280 outputs the image data to the outside as an analog signal. More specifically, the external output unit 280 outputs an analog AV signal to the outside. When the output control unit 290 recognizes that the connected device is to be output as an analog signal, the output control unit 290 controls the external output unit 280 to output the analog signal to the connected device. For example, when the output control unit 290 detects that the AV cable 110 is connected to the connection unit 40, the output control unit 290 controls the external output unit 280 to output an analog AV signal to the connected device.

図3は、無線機器100のブロック構成の一例を示す。無線機器100は、マイクロコントロールユニットであるMCU310と、アンテナ部390と、機器通知回路320と、接続部370とを有する。MCU310には、接続部370に接続された給電ライン380を通じて、MCU310に接続された電子機器から電力が供給される。   FIG. 3 shows an exemplary block configuration of the wireless device 100. The wireless device 100 includes an MCU 310 that is a micro control unit, an antenna unit 390, a device notification circuit 320, and a connection unit 370. Electric power is supplied to the MCU 310 from an electronic device connected to the MCU 310 through a power supply line 380 connected to the connection unit 370.

接続部370は、撮像装置10の接続端子と電気的に接続される被接続端子および給電用端子を有する。機器通知回路320は、被接続端子と接続端子とが電気的に接続された場合に、被接続端子の電位を第1電位レベルから第2電位レベルに変化させ、電子機器から給電用端子を介して電力が供給された場合に、被接続端子の電位を第2電位レベルから第1電位レベルに変化させる。例えば、機器通知回路320は、電力供給をトリガとして、被接続端子の電位レベルを第2電位レベルから第1電位レベルに変化させる。これにより、撮像装置10は、無線機器100が第1の種類の接続機器である旨を検出することができる。なお、機器通知回路320の具体例については、図4等に関連して説明する。   The connection unit 370 includes a connected terminal and a power feeding terminal that are electrically connected to the connection terminal of the imaging device 10. When the connected terminal and the connection terminal are electrically connected, the device notification circuit 320 changes the potential of the connected terminal from the first potential level to the second potential level, and from the electronic device through the power feeding terminal. When electric power is supplied, the potential of the connected terminal is changed from the second potential level to the first potential level. For example, the device notification circuit 320 changes the potential level of the connected terminal from the second potential level to the first potential level using power supply as a trigger. Thereby, the imaging device 10 can detect that the wireless device 100 is the first type of connected device. A specific example of the device notification circuit 320 will be described with reference to FIG.

MCU310は、被接続端子の電位を第1電位レベルから第2電位レベルに変化させた後に、電子機器との通信を開始させる。具体的には、MCU310は、給電ライン380を通じて供給される電力を用いて動作しつつ、ホストとして撮像装置10と通信する。すなわち、MCU310は、撮像装置10との間の通信においてUSBホストコントローラとしての機能を有する。具体的には、MCU310は、アンテナ部390で受信した信号を、接続部370が有するデータ端子を通じて、撮像装置10に送信する。   The MCU 310 starts communication with the electronic device after changing the potential of the connected terminal from the first potential level to the second potential level. Specifically, the MCU 310 communicates with the imaging apparatus 10 as a host while operating using power supplied through the power supply line 380. In other words, the MCU 310 has a function as a USB host controller in communication with the imaging apparatus 10. Specifically, the MCU 310 transmits a signal received by the antenna unit 390 to the imaging device 10 through a data terminal included in the connection unit 370.

図4は、撮像装置10と無線機器100とが接続された状態を模式的に示す。本図の例では、接続部40は、接続部470aおよび接続部470bを有する。接続部470aには、USB端子である接続部を有する接続機器が接続される。接続部470bには、AVケーブル110が接続される。本図では、接続部370および接続部470が有する接地端子を省略して示す。また、接続部370が有するシールド端子を省略して示す。   FIG. 4 schematically illustrates a state where the imaging device 10 and the wireless device 100 are connected. In the example of this figure, the connection part 40 has the connection part 470a and the connection part 470b. A connection device having a connection portion that is a USB terminal is connected to the connection portion 470a. The AV cable 110 is connected to the connection unit 470b. In the drawing, the grounding terminals included in the connection portion 370 and the connection portion 470 are omitted. In addition, a shield terminal included in the connection portion 370 is omitted.

接続部470bは、ビデオ信号を出力するビデオ出力端子475、Lchのオーディオ信号を出力するオーディオL端子476およびRchのオーディオ信号を出力するオーディオR端子477を有する。外部出力部280は、外部出力ライン409を通じて、ビデオ出力端子475、オーディオL端子476およびオーディオR端子477を有する。本図では省略するが、AVケーブル110が接続部470bに接続された場合、AVケーブル110が有するビデオ入力端子、オーディオL端子およびオーディオR端子は、それぞれビデオ出力端子475、オーディオL端子476およびオーディオR端子と接触する。   The connection unit 470b includes a video output terminal 475 that outputs a video signal, an audio L terminal 476 that outputs an Lch audio signal, and an audio R terminal 477 that outputs an Rch audio signal. The external output unit 280 has a video output terminal 475, an audio L terminal 476, and an audio R terminal 477 through the external output line 409. Although not shown in the figure, when the AV cable 110 is connected to the connection unit 470b, the video input terminal, the audio L terminal, and the audio R terminal included in the AV cable 110 are the video output terminal 475, the audio L terminal 476, and the audio, respectively. Contact the R terminal.

接続部470aは、一例として、USB2.0規格のミニABレセプタブルまたはマイクロABレセプタブルである。接続部470aは、VBUS端子471、D−端子472、D+端子473およびID端子474を有する。   The connection unit 470a is, for example, a USB 2.0 standard mini-AB receptacle or micro-AB receptacle. The connection unit 470a includes a VBUS terminal 471, a D− terminal 472, a D + terminal 473, and an ID terminal 474.

接続端子の一例としてのID端子474は、検出ライン404に接続される。検出ライン404の電位は、ASIC26に入力される。検出ライン404は、抵抗410によりプルアップされる。ASIC26において、接続検出部240が、検出ライン404の電位を検出する。   An ID terminal 474 as an example of a connection terminal is connected to the detection line 404. The potential of the detection line 404 is input to the ASIC 26. The detection line 404 is pulled up by the resistor 410. In the ASIC 26, the connection detection unit 240 detects the potential of the detection line 404.

データ端子としてのD−端子472およびD+端子473は、データライン402に接続を介してASIC26に接続される。接続検出部240は、データライン402を通じてデータを入出力する。   The D− terminal 472 and the D + terminal 473 as data terminals are connected to the ASIC 26 through connection to the data line 402. The connection detection unit 240 inputs and outputs data through the data line 402.

VBUS端子471は、ダイオード450を介して給電スイッチ部30に接続される。給電スイッチ部30は、USBパワースイッチであり、ASIC26の指示に応じて、電池80からの電力ラインと給電ライン400とを接続する。給電スイッチ部30は、給電制御ライン406を介してASIC26に接続される。給電制御ライン406は、抵抗430を介してプルダウンされる。給電制御部210は、給電制御ライン406の電位レベルをHレベルにすることにより、給電スイッチ部30に対して、VBUS端子471を介して電力供給するよう指示する。給電スイッチ部30は、給電制御ライン406がHレベルになると、電池80からの電力ラインと給電ライン400とを接続する。したがって、給電制御ライン406がHレベルになると、給電スイッチ部30は、給電ライン400およびVBUS端子471を介して、電池80から接続機器へ電力を供給する。   The VBUS terminal 471 is connected to the power supply switch unit 30 via the diode 450. The power supply switch unit 30 is a USB power switch, and connects the power line from the battery 80 and the power supply line 400 in accordance with an instruction from the ASIC 26. The power supply switch unit 30 is connected to the ASIC 26 via a power supply control line 406. The power supply control line 406 is pulled down via the resistor 430. The power supply control unit 210 instructs the power supply switch unit 30 to supply power via the VBUS terminal 471 by setting the potential level of the power supply control line 406 to the H level. The power feeding switch unit 30 connects the power line from the battery 80 and the power feeding line 400 when the power feeding control line 406 becomes H level. Therefore, when the power supply control line 406 becomes H level, the power supply switch unit 30 supplies power from the battery 80 to the connected device via the power supply line 400 and the VBUS terminal 471.

給電スイッチ部30は、抵抗440でプルアップされた過電流通知ライン407を介して、ASIC26に接続される。給電スイッチ部30は、電池80から給電ライン400への過電流を検出した場合に、過電流通知ライン407の電位をLレベルにする。過電流検出部270は、過電流通知ライン407の電位を検出することにより、過電流を検出する。給電制御部210は、過電流検出部270が過電流通知ライン407の電位がLレベルに変化したことを検出した場合に、給電制御ライン406の電位をLレベルにすることにより、給電スイッチ部30に給電を停止させる。   The power supply switch unit 30 is connected to the ASIC 26 via an overcurrent notification line 407 pulled up by the resistor 440. When the power supply switch unit 30 detects an overcurrent from the battery 80 to the power supply line 400, the power supply switch unit 30 sets the potential of the overcurrent notification line 407 to the L level. The overcurrent detection unit 270 detects an overcurrent by detecting the potential of the overcurrent notification line 407. When the overcurrent detection unit 270 detects that the potential of the overcurrent notification line 407 has changed to the L level, the power supply control unit 210 sets the potential of the power supply control line 406 to the L level, so that the power supply switch unit 30 To stop feeding.

給電ライン400は、抵抗462を介してトランジスタ460のベース端子に接続される。トランジスタ460のベース端子は、抵抗464を介して接地される。トランジスタ460のベース端子は抵抗464を介して接地される。トランジスタ460のコレクタ端子は、抵抗420でプルアップされた給電検出ライン408に接続される。給電ライン400を通じて電力が供給されると、給電ライン400の電圧によりトランジスタ460がONとなり、給電検出ライン408の電位がLレベルとなる。給電検出部220は、給電検出ライン408の電位を検出することにより、給電ライン400を介して電力供給されていることを検出する。   The power supply line 400 is connected to the base terminal of the transistor 460 through the resistor 462. The base terminal of the transistor 460 is grounded via the resistor 464. The base terminal of the transistor 460 is grounded through a resistor 464. The collector terminal of the transistor 460 is connected to the power supply detection line 408 pulled up by the resistor 420. When power is supplied through the power supply line 400, the voltage of the power supply line 400 turns on the transistor 460, and the potential of the power supply detection line 408 becomes L level. The power supply detection unit 220 detects that power is being supplied via the power supply line 400 by detecting the potential of the power supply detection line 408.

無線機器100の接続部370は、VBUS端子371、D−端子372、D+端子373およびID端子374を含む。ID端子374は被接続端子の一例である。撮像装置10の接続部40に接続された場合、VBUS端子371、D−端子372、D+端子373およびID端子374は、それぞれVBUS端子471、D−端子472、D+端子473およびID端子474と接触する。   The connection unit 370 of the wireless device 100 includes a VBUS terminal 371, a D− terminal 372, a D + terminal 373 and an ID terminal 374. The ID terminal 374 is an example of a connected terminal. When connected to the connection unit 40 of the imaging device 10, the VBUS terminal 371, the D− terminal 372, the D + terminal 373, and the ID terminal 374 are in contact with the VBUS terminal 471, the D− terminal 472, the D + terminal 473, and the ID terminal 474, respectively. To do.

無線機器100において、MCU310は、VBUS端子371に接続された給電ライン380を通じて供給された電力で動作する。MCU310は、データライン302を通じてD−端子372およびD+端子373に接続される。したがって、MCU310は、データライン302を通じて撮像装置10と通信をすることができる。   In the wireless device 100, the MCU 310 operates with the power supplied through the power supply line 380 connected to the VBUS terminal 371. The MCU 310 is connected to the D− terminal 372 and the D + terminal 373 through the data line 302. Therefore, the MCU 310 can communicate with the imaging device 10 through the data line 302.

機器通知回路320は、第1トランジスタ330および第2トランジスタ340を含む。第1トランジスタ330はPNPトランジスタである。第1トランジスタ330は、給電ライン380の電圧によりスイッチング動作する。具体的には、第1トランジスタ330のベース端子は、ダイオード350を介して給電ライン380に接続される。また、第1トランジスタ330のベース端子は、抵抗332を介して接地される。第1トランジスタ330のエミッタ端子はIDライン304を介してID端子374に接続され、第1トランジスタ330のコレクタ端子は接地される。第1トランジスタ330は、給電ライン380から電力が供給されている場合に、給電ライン380の電圧によりOFFとなる。   The device notification circuit 320 includes a first transistor 330 and a second transistor 340. The first transistor 330 is a PNP transistor. The first transistor 330 performs a switching operation according to the voltage of the power supply line 380. Specifically, the base terminal of the first transistor 330 is connected to the power supply line 380 via the diode 350. Further, the base terminal of the first transistor 330 is grounded via the resistor 332. The emitter terminal of the first transistor 330 is connected to the ID terminal 374 via the ID line 304, and the collector terminal of the first transistor 330 is grounded. The first transistor 330 is turned off by the voltage of the power supply line 380 when power is supplied from the power supply line 380.

第2トランジスタ340は、MCU310の制御により、スイッチング動作する。第2トランジスタ340は、NPNトランジスタであり、第2トランジスタ340のベース端子は、抵抗342を介して制御ライン305に接続される。また、第2トランジスタ340のベース端子は、抵抗344を介して接地される。第2トランジスタ340のコレクタ端子はIDライン304に接続され、第2トランジスタ340のエミッタ端子は接地される。第2トランジスタ340は、MCU310の制御により制御305ラインの電位がHレベルになった場合にONとなり、IDライン304を接地する。MCU310は、給電用端子を介して電力供給が開始されてから予め定められた期間が経過した場合に、第2トランジスタをオン動作させる。すなわち、第2トランジスタ340は、給電用端子を介して電力供給が開始されてから予め定められた期間が経過した場合に、被接続端子の電位をHレベルからLレベルに変化させる第2回路部として機能する。   The second transistor 340 performs a switching operation under the control of the MCU 310. The second transistor 340 is an NPN transistor, and the base terminal of the second transistor 340 is connected to the control line 305 via the resistor 342. The base terminal of the second transistor 340 is grounded via the resistor 344. The collector terminal of the second transistor 340 is connected to the ID line 304, and the emitter terminal of the second transistor 340 is grounded. The second transistor 340 is turned on when the potential of the control 305 line becomes H level under the control of the MCU 310, and the ID line 304 is grounded. The MCU 310 turns on the second transistor when a predetermined period has elapsed since the start of power supply via the power supply terminal. That is, the second transistor 340 changes the potential of the connected terminal from the H level to the L level when a predetermined period has elapsed since the start of power supply via the power supply terminal. Function as.

図5は、接続部40に無線機器100が接続された場合の要部のタイムシーケンスの一例を示す。無線機器100が接続されていない場合、検出ライン404は抵抗410でプルアップされて電位はHレベルにあり、給電制御ライン406の電位は抵抗430にプルダウンされてLレベルにある。また、MCU310内では、制御ライン305に接続された出力端子はハイ・インピーダンス状態にあるが、制御ライン305は抵抗342および抵抗344によりプルダウンされて電位はLレベルにある。   FIG. 5 shows an example of a time sequence of the main part when the wireless device 100 is connected to the connection unit 40. When the wireless device 100 is not connected, the detection line 404 is pulled up by the resistor 410 and the potential is at the H level, and the potential of the power supply control line 406 is pulled down by the resistor 430 and is at the L level. In the MCU 310, the output terminal connected to the control line 305 is in a high impedance state, but the control line 305 is pulled down by the resistor 342 and the resistor 344, and the potential is at the L level.

無線機器100が接続部40に接続されると、検出ライン404は、ON状態の第1トランジスタ330によって、ID端子474およびID端子374を介して接地される。このため、検出ライン404の電位は、HレベルからLレベルに変化する(t1)。接続検出部240が検出ライン404の電位変化を検出すると、給電制御部210は、給電スイッチ部30をONすべく給電制御ライン406の電位をHレベルに変化させる(t2)。   When the wireless device 100 is connected to the connection unit 40, the detection line 404 is grounded via the ID terminal 474 and the ID terminal 374 by the first transistor 330 in the ON state. For this reason, the potential of the detection line 404 changes from the H level to the L level (t1). When the connection detection unit 240 detects a change in the potential of the detection line 404, the power supply control unit 210 changes the potential of the power supply control line 406 to H level to turn on the power supply switch unit 30 (t2).

給電スイッチ部30がONすると、電池80からの電力ラインが給電ライン400に接続されて、給電ライン400、VBUS端子471、VBUS端子371、給電ライン380を介してMCU310に電力が供給される。MCU310は、電力が供給されると内部の初期化を開始する。MCU310は、初期化処理の一部として、制御ライン305に接続された出力端子の電位をLレベルにする。したがって、第2トランジスタ340はOFF状態を維持する。   When the power supply switch unit 30 is turned on, the power line from the battery 80 is connected to the power supply line 400, and power is supplied to the MCU 310 via the power supply line 400, the VBUS terminal 471, the VBUS terminal 371, and the power supply line 380. The MCU 310 starts internal initialization when power is supplied. The MCU 310 sets the potential of the output terminal connected to the control line 305 to the L level as part of the initialization process. Therefore, the second transistor 340 maintains an OFF state.

ここで、給電ライン380に電力が供給され、第1トランジスタ330のベース端子に給電ライン380の電源電圧に対応する電圧が印可されると、第1トランジスタ330はOFFとなり、検出ライン404の電位はLレベルからHレベルに変化する(t3)。   Here, when power is supplied to the power supply line 380 and a voltage corresponding to the power supply voltage of the power supply line 380 is applied to the base terminal of the first transistor 330, the first transistor 330 is turned off, and the potential of the detection line 404 is It changes from L level to H level (t3).

MCU310は、初期化が完了してから予め定められた時間が経過すると、制御ライン305をHレベルに変化させる(t4)。これにより、検出ライン404の電位はHレベルからLレベルに変化する。このように、無線機器100は、時刻t3からt4までの期間T1だけ、検出ライン404の電位を一時的にHレベルにすることにより、無線機器100が接続されたことを撮像装置10に通知する。   The MCU 310 changes the control line 305 to the H level when a predetermined time elapses after the initialization is completed (t4). As a result, the potential of the detection line 404 changes from the H level to the L level. As described above, the wireless device 100 notifies the imaging device 10 that the wireless device 100 is connected by temporarily setting the potential of the detection line 404 to the H level during the period T1 from the time t3 to the time t4. .

出力制御部290は、給電制御部210が給電制御ライン406をHレベルにした後に検出ライン404の電位がHレベルに変化した場合に、無線機器100が接続されたと認識する。具体的には、出力制御部290は、給電制御部210が給電制御ライン406をHレベルにした後の予め定められた期間内に検出ライン404の電位がHレベルに変化した場合に、無線機器100が接続されたと認識する。予め定められた期間は、給電スイッチ部30が電力供給を開始してから、MCU310が初期化され制御ライン305の電位をHレベルにするまでの時間の時間長さを考慮して、定められる。   The output control unit 290 recognizes that the wireless device 100 is connected when the potential of the detection line 404 changes to H level after the power supply control unit 210 sets the power supply control line 406 to H level. Specifically, the output control unit 290 is a wireless device when the potential of the detection line 404 changes to H level within a predetermined period after the power supply control unit 210 sets the power supply control line 406 to H level. It is recognized that 100 is connected. The predetermined period is determined in consideration of the length of time from when the power supply switch unit 30 starts supplying power until the MCU 310 is initialized and the potential of the control line 305 is set to the H level.

出力制御部290は、検出ライン404がHレベルに変化したことを検出した後、検出ライン404がLレベルに変化するのを待つ。検出ライン404がLレベルに変化したことを検出すると(t5)、出力制御部290は無線機器100が接続されたと認識して、無線機器100と通信を開始すべくASIC26の各部を制御する。具体的には、出力制御部290は、給電制御部210に無線機器100への電力供給を維持させ、かつ、デバイスとして無線機器100と通信するようデータ入出力部230を制御する。具体的には、データ入出力部230は、無線機器100からのデータパケットを待つ。   After detecting that the detection line 404 has changed to H level, the output control unit 290 waits for the detection line 404 to change to L level. When it is detected that the detection line 404 has changed to the L level (t5), the output control unit 290 recognizes that the wireless device 100 is connected, and controls each part of the ASIC 26 to start communication with the wireless device 100. Specifically, the output control unit 290 causes the power supply control unit 210 to maintain power supply to the wireless device 100 and controls the data input / output unit 230 to communicate with the wireless device 100 as a device. Specifically, the data input / output unit 230 waits for a data packet from the wireless device 100.

無線機器100が接続部40から脱着されると、検出ライン404は再び抵抗410でプルアップされた状態となり、検出ライン404の電位はLレベルからHレベルに変化する(t6)。出力制御部290は、検出ライン404の電位がLレベルからHレベルに変化した場合に、接続部40から無線機器100が脱着されたと認識する。そして出力制御部290は、VBUS端子471を介した電力供給を停止すべく、給電制御部210を制御して、給電制御ライン406の電位をLレベルにさせる(t7)。   When the wireless device 100 is detached from the connection unit 40, the detection line 404 is again pulled up by the resistor 410, and the potential of the detection line 404 changes from L level to H level (t6). The output control unit 290 recognizes that the wireless device 100 is detached from the connection unit 40 when the potential of the detection line 404 changes from the L level to the H level. Then, the output control unit 290 controls the power supply control unit 210 to stop the power supply via the VBUS terminal 471, and causes the potential of the power supply control line 406 to be L level (t7).

図6は、接続部40に周辺機器140が接続された場合のタイムシーケンスを示す。デバイスに接続されるUSBケーブルでは、ID端子は接地されている。また、周辺機器140は機器通知回路320のような回路を持たない。したがって、本タイムシーケンスでは、検出ライン404と給電制御ライン406の電位変化を説明する。給電スイッチ部30がONされる時刻t2までは図5と同様のタイムシーケンスで進行するので、説明を省略する。   FIG. 6 shows a time sequence when the peripheral device 140 is connected to the connection unit 40. In the USB cable connected to the device, the ID terminal is grounded. The peripheral device 140 does not have a circuit like the device notification circuit 320. Therefore, in this time sequence, potential changes in the detection line 404 and the power supply control line 406 will be described. Since the process proceeds in the same time sequence as in FIG. 5 until time t2 when the power supply switch unit 30 is turned on, description thereof is omitted.

給電スイッチ部30がONされると、電池80からの電力ラインが給電ライン400に接続されて、給電ライン400、VBUS端子471、VBUS端子371、給電ライン380を介して周辺機器140に電力が供給される。USBケーブル内でID端子は接地されているので、接続部40から周辺機器140のUSBケーブルが脱着されるまで、検出ライン404の電位は変化しない。   When the power supply switch unit 30 is turned on, the power line from the battery 80 is connected to the power supply line 400, and power is supplied to the peripheral device 140 via the power supply line 400, the VBUS terminal 471, the VBUS terminal 371, and the power supply line 380. Is done. Since the ID terminal is grounded in the USB cable, the potential of the detection line 404 does not change until the USB cable of the peripheral device 140 is detached from the connection unit 40.

出力制御部290は、給電制御部210が給電制御ライン406をHレベルにした後の予め定められた期間内に検出ライン404の電位がHレベルに変化しないことを検出すると、接続部40にデバイスが接続されたと認識して、周辺機器140との通信を開始する(t5)。具体的には、出力制御部290は、デバイスとして動作するようASIC26の各部を制御する。より具体的には、給電制御部210に周辺機器140への電力供給を維持させ、デバイスとして周辺機器140と通信するようデータ入出力部230を制御する。データ入出力部230は、周辺機器140との通信を開始すべく、周辺機器140にデータパケットを送信する。なお、周辺機器140が接続部40から脱着された時刻t6以降の場合の動作は、図5と同様であるので、説明を省略する。   When the output control unit 290 detects that the potential of the detection line 404 does not change to the H level within a predetermined period after the power supply control unit 210 sets the power supply control line 406 to the H level, the output control unit 290 connects the device to the connection unit 40. Is connected and starts communication with the peripheral device 140 (t5). Specifically, the output control unit 290 controls each unit of the ASIC 26 so as to operate as a device. More specifically, the power supply control unit 210 maintains the power supply to the peripheral device 140 and controls the data input / output unit 230 to communicate with the peripheral device 140 as a device. The data input / output unit 230 transmits a data packet to the peripheral device 140 in order to start communication with the peripheral device 140. The operation after time t6 when the peripheral device 140 is detached from the connection unit 40 is the same as that in FIG.

以上に説明したように、無線機器100は、周辺機器140のようなデバイスと同様、接続部40に接続されたときに検出ライン404をLレベルに変化させるので、無線機器100は撮像装置10から電力供給を受けることができる。無線機器100は、周辺機器140のようなデバイスとは異なり、電力供給を受けることで検出ライン404の電位を一時的にHレベルに変化させる。このため、撮像装置10は、無線機器100が電力供給を受けつつ、ホストとしてデータ通信する機器であることを認識することができる。このため、撮像装置10は、無線機器100との間でネゴシエートすることなく無線機器100を速やかに認識して通信を開始することができる。また、MCU310には、ホストとして通信するホストコントローラの機能を持たせればよい。このため、上記ネゴシエートする機能をMCU310にも撮像装置10にも実装する必要がない。   As described above, the wireless device 100 changes the detection line 404 to the L level when connected to the connection unit 40, as in the case of the device such as the peripheral device 140. Can receive power. Unlike a device such as the peripheral device 140, the wireless device 100 temporarily changes the potential of the detection line 404 to the H level by receiving power supply. Therefore, the imaging apparatus 10 can recognize that the wireless device 100 is a device that performs data communication as a host while receiving power supply. For this reason, the imaging apparatus 10 can quickly recognize the wireless device 100 and start communication without negotiating with the wireless device 100. Further, the MCU 310 may have a function of a host controller that communicates as a host. For this reason, it is not necessary to implement the negotiating function in the MCU 310 or the imaging apparatus 10.

図7は、接続機器を検出し通信を開始するまでの処理フローを示す。本フローは、特に、デバイスとして通信する接続機器を認識して通信を開始するための処理フローを示す。本フローは、接続部40に接続機器が接続されていないと判断された場合に、開始される。   FIG. 7 shows a processing flow from detecting a connected device to starting communication. This flow particularly shows a processing flow for recognizing a connected device communicating as a device and starting communication. This flow is started when it is determined that the connection device is not connected to the connection unit 40.

ステップS702において、出力制御部290は、検出ライン404がLレベルに変化したか否かを判断する。検出ライン404がLレベルに変化した場合、ステップS704に処理を進める。検出ライン404がLレベルである場合、ステップS702の判断を繰り返し行う。   In step S702, the output control unit 290 determines whether or not the detection line 404 has changed to the L level. If the detection line 404 has changed to the L level, the process proceeds to step S704. If the detection line 404 is at the L level, the determination in step S702 is repeated.

ステップS704において、出力制御部290は、デバイスとして通信する接続機器が接続されたと判断し、ステップS706においてUSBパワースイッチである給電スイッチ部30をONする。   In step S704, the output control unit 290 determines that a connected device that communicates as a device is connected, and in step S706, turns on the power supply switch unit 30 that is a USB power switch.

ステップS708において、予め定められた期間ウェイトする。本期間は、給電スイッチ部30をONしてから、給電ライン400および給電ライン380を介して第1トランジスタ330のベース端子に電源電圧が印可されるまでに要する時間を考慮して、定められる。   In step S708, a wait is performed for a predetermined period. This period is determined in consideration of the time required from when the power supply switch unit 30 is turned on until the power supply voltage is applied to the base terminal of the first transistor 330 via the power supply line 400 and the power supply line 380.

ステップS710において、出力制御部290は、検出ライン404がHレベルであるか否かを判断する。検出ライン404がHレベルである場合、ホストとして通信する接続機器が接続部40に接続されたと認識し、予め定められた時間だけウェイトする(ステップS714)。本期間は、第2トランジスタ340がONされるまでの時間の時間長さ等を考慮して、定められる。第2トランジスタ340がONされるまでに要する時間の個体誤差等を考慮して、十分な時間だけウェイトすることが好ましい。   In step S710, the output control unit 290 determines whether or not the detection line 404 is at the H level. When the detection line 404 is at the H level, it is recognized that the connection device that communicates as the host is connected to the connection unit 40, and waits for a predetermined time (step S714). This period is determined in consideration of the length of time until the second transistor 340 is turned on. It is preferable to wait for a sufficient time in consideration of an individual error in the time required until the second transistor 340 is turned on.

ステップS716において、検出ライン404がLレベルであるか否かを判断する。検出ライン404がLレベルである場合、出力制御部290は、デバイスとして通信を開始するようデータ入出力部230を制御して、処理を終了する。ステップS716で検出ライン404がLレベルでないと判断された場合、出力制御部290は、接続部40を介して通信を開始せずに、エラーを通知する。例えば、ASIC26は、エラーメッセージを表示部18に表示するよう、CPU12に通知してよい。   In step S716, it is determined whether or not the detection line 404 is at the L level. When the detection line 404 is at the L level, the output control unit 290 controls the data input / output unit 230 to start communication as a device, and ends the process. If it is determined in step S716 that the detection line 404 is not at the L level, the output control unit 290 notifies the error without starting communication via the connection unit 40. For example, the ASIC 26 may notify the CPU 12 to display an error message on the display unit 18.

ステップS710で検出ライン404がHレベルでないと判断された場合、ステップS730において、出力制御部290は接続部40にデバイスが接続された旨を認識する。続いて、ステップS732において、出力制御部290はホストとして通信を開始するようデータ入出力部230を制御して、処理を終了する。VBUS端子471を通じて電力の供給は継続する。すなわち、撮像装置10はホストとして動作し、接続部40に接続された接続機器はデバイスとして動作する。   If it is determined in step S710 that the detection line 404 is not at the H level, in step S730, the output control unit 290 recognizes that the device is connected to the connection unit 40. Subsequently, in step S732, the output control unit 290 controls the data input / output unit 230 to start communication as a host, and ends the process. The supply of power continues through the VBUS terminal 471. That is, the imaging apparatus 10 operates as a host, and the connected device connected to the connection unit 40 operates as a device.

なお、本フローでは、ステップS716およびステップS720において、検出ライン404がLレベルでないと判断された場合にエラーを通知するとした。しかし、エラーを通知せずにデバイスとして通信を開始してもよい。出力制御部290は、接続部40から接続機器が脱着されたか否かを、給電スイッチ部30から給電ライン400へ供給される電力量に基づいて判断してよい。例えば、給電スイッチ部30から給電ライン400へ供給される電力量が予め定められた値より小さくなった場合に、接続部40から接続機器が脱着されたと判断してよい。   In this flow, an error is notified when it is determined in steps S716 and S720 that the detection line 404 is not at the L level. However, communication may be started as a device without notifying an error. The output control unit 290 may determine whether or not the connected device is detached from the connection unit 40 based on the amount of power supplied from the power supply switch unit 30 to the power supply line 400. For example, when the amount of power supplied from the power supply switch unit 30 to the power supply line 400 becomes smaller than a predetermined value, it may be determined that the connection device has been detached from the connection unit 40.

以上に説明したように、出力制御部290は、電力供給を開始した後におけるID端子474の電位の検出結果に基づいて、接続機器が画像データを送信すべき第1の種類の接続機器であるか否かを認識する。具体的には、出力制御部290は、無線機器100であるか否かを認識する。そして、例えば無線通信により画像データを送信する機器であると認識された場合、データ入出力部230は画像データを接続機器に送信する。   As described above, the output control unit 290 is the first type of connected device to which the connected device should transmit image data based on the detection result of the potential of the ID terminal 474 after the power supply is started. Recognize whether or not. Specifically, the output control unit 290 recognizes whether or not the wireless device 100 is used. For example, when the device is recognized as a device that transmits image data by wireless communication, the data input / output unit 230 transmits the image data to the connected device.

図8は、接続部40の変形例を模式的に示す。本変形例において、接続部40は、AVケーブルおよび無線機器100を接続することができる複合コネクタである。接続部40および接続部370は、図4とは異なる配列の接続端子を有する。なお、本図において図4に示した部材と同じ符号が付された部材は、互いに同様の機能および動作を有する。   FIG. 8 schematically shows a modification of the connecting portion 40. In this modification, the connection unit 40 is a composite connector that can connect the AV cable and the wireless device 100. The connection part 40 and the connection part 370 have connection terminals in an arrangement different from that in FIG. In this figure, members denoted by the same reference numerals as those shown in FIG. 4 have the same functions and operations.

接続部40は、VBUS端子871、D−端子872、D+端子873、検出端子874、ビデオ出力端子875、オーディオL端子876およびオーディオR端子877を含む。本図は、無線機器100が接続された状態を模式的に示す。ビデオ出力端子875、オーディオL端子876およびオーディオR端子877は、それぞれ図4に関連して説明したビデオ出力端子475、オーディオL端子476およびオーディオR端子477に対応する。これらのAV端子は、接続部40にAVケーブル110が接続された場合に使用される。接続部40にAVケーブル110が接続された状態は、図9に関連して説明する。   The connection unit 40 includes a VBUS terminal 871, a D− terminal 872, a D + terminal 873, a detection terminal 874, a video output terminal 875, an audio L terminal 876, and an audio R terminal 877. This figure schematically shows a state in which the wireless device 100 is connected. The video output terminal 875, the audio L terminal 876, and the audio R terminal 877 correspond to the video output terminal 475, the audio L terminal 476, and the audio R terminal 477 described with reference to FIG. These AV terminals are used when the AV cable 110 is connected to the connection unit 40. A state in which the AV cable 110 is connected to the connection unit 40 will be described with reference to FIG.

無線機器100が有する接続部370は、本変形例の接続部40に接続可能な形状を持つ。接続部370は、VBUS端子881、D−端子882、D+端子883およびID端子884を含む。接続部370が接続部40に接続された場合、VBUS端子881、D−端子882、D+端子883およびID端子884は、それぞれVBUS端子871、D−端子872、D+端子873および検出端子874と接触する。接続部40に無線機器100が接続された場合、検出端子874は、図4に関連して説明したID端子474と同様に機能する。また、D−端子872およびD+端子873は、それぞれD−端子472およびD+端子473と同様に機能し、VBUS端子871はVBUS端子471と同様に機能する。   The connection unit 370 included in the wireless device 100 has a shape that can be connected to the connection unit 40 of this modification. Connection unit 370 includes a VBUS terminal 881, a D− terminal 882, a D + terminal 883, and an ID terminal 884. When the connection unit 370 is connected to the connection unit 40, the VBUS terminal 881, the D− terminal 882, the D + terminal 883, and the ID terminal 884 are in contact with the VBUS terminal 871, the D− terminal 872, the D + terminal 873, and the detection terminal 874, respectively. To do. When the wireless device 100 is connected to the connection unit 40, the detection terminal 874 functions in the same manner as the ID terminal 474 described with reference to FIG. Further, the D− terminal 872 and the D + terminal 873 function similarly to the D− terminal 472 and the D + terminal 473, respectively, and the VBUS terminal 871 functions similarly to the VBUS terminal 471.

また、無線機器100が有するVBUS端子881、D−端子882、D+端子883およびID端子884は、それぞれ図4から図7に関連して説明したVBUS端子371、D−端子372、D+端子373およびID端子374と同様に機能する。したがって、本変形例においても、無線機器100が接続部40に接続された場合、撮像装置10および無線機器100は図5に関連して説明したタイムシーケンスと同様のタイムシーケンスによって動作する。また、周辺機器140が接続部40に接続された場合、撮像装置10は、図6に関連して説明したタイムシーケンスと同様のタイムシーケンスによって動作する。   Further, the VBUS terminal 881, the D− terminal 882, the D + terminal 883, and the ID terminal 884 included in the wireless device 100 are the VBUS terminal 371, the D− terminal 372, the D + terminal 373, and the D + terminal 373 described with reference to FIGS. It functions similarly to the ID terminal 374. Therefore, also in this modification, when the wireless device 100 is connected to the connection unit 40, the imaging device 10 and the wireless device 100 operate in a time sequence similar to the time sequence described with reference to FIG. When the peripheral device 140 is connected to the connection unit 40, the imaging device 10 operates according to a time sequence similar to the time sequence described with reference to FIG.

図9は、接続部40にAVケーブル110が接続された状態を模式的に示す。AVケーブル110は、接続部40に接続可能な形状の接続部980を有する。接続部980は、ビデオ出力端子985、オーディオL端子986およびオーディオR端子987を含む。接続部980が接続部40に接続された場合、ビデオ出力端子985、オーディオL端子986、オーディオR端子987および検出端子874は、それぞれビデオ出力端子875、オーディオL端子876、オーディオR端子877および検出端子984と接触する。   FIG. 9 schematically shows a state in which the AV cable 110 is connected to the connection unit 40. The AV cable 110 has a connection portion 980 having a shape that can be connected to the connection portion 40. The connection unit 980 includes a video output terminal 985, an audio L terminal 986, and an audio R terminal 987. When the connection unit 980 is connected to the connection unit 40, the video output terminal 985, the audio L terminal 986, the audio R terminal 987, and the detection terminal 874 are the video output terminal 875, the audio L terminal 876, the audio R terminal 877, and the detection, respectively. Contact terminal 984.

ビデオ出力端子985、オーディオL端子986およびオーディオR端子987は、AVケーブル110のケーブル部内に設けられたAV信号線を通じて、TV160等に接続される。したがって、接続部40にAVケーブル110が接続された場合、外部出力部280が出力したAV信号は、AVケーブル110を介してTV160に出力される。   The video output terminal 985, the audio L terminal 986, and the audio R terminal 987 are connected to the TV 160 and the like through an AV signal line provided in the cable portion of the AV cable 110. Therefore, when the AV cable 110 is connected to the connection unit 40, the AV signal output from the external output unit 280 is output to the TV 160 via the AV cable 110.

一方、検出端子984は、例えばAVケーブル110のコネクタ部の内部で接地される。したがって、接続部40にAVケーブル110が接続された場合、無線機器100が接続された場合と同様に、検出ライン404の電位はLレベルに変化する。このため、出力制御部290は、検出ライン404の電位変化を検出することで、AVケーブル110または無線機器100が接続部40に接続されたことを認識することができる。   On the other hand, the detection terminal 984 is grounded inside the connector portion of the AV cable 110, for example. Therefore, when the AV cable 110 is connected to the connection unit 40, the potential of the detection line 404 changes to the L level as in the case where the wireless device 100 is connected. For this reason, the output control unit 290 can recognize that the AV cable 110 or the wireless device 100 is connected to the connection unit 40 by detecting the potential change of the detection line 404.

図10は、AVケーブル110が接続された場合のタイムシーケンスの一例を示す。AVケーブル110では検出端子984が接地されているので、無線機器100が接続された場合と同様に、検出ライン404の電位はLレベルに変化する。したがって、出力制給電スイッチ部30がONされる時刻t2までは、図5と同様のタイムシーケンスで制御が進行する。   FIG. 10 shows an example of a time sequence when the AV cable 110 is connected. In the AV cable 110, since the detection terminal 984 is grounded, the potential of the detection line 404 changes to the L level as in the case where the wireless device 100 is connected. Therefore, the control proceeds in the same time sequence as in FIG. 5 until time t2 when the output power control switch 30 is turned on.

給電スイッチ部30がONされると、電池80からの電力ラインが給電ライン400に接続される。AVケーブル110はVBUS端子871を介してTV160に電力を提供する給電ラインを有さない。例えば、AVケーブル110は、VBUS端子871と接触する端子を有さない。このため、AVケーブル110へは電力は実質的に供給されない。   When the power supply switch unit 30 is turned on, the power line from the battery 80 is connected to the power supply line 400. The AV cable 110 does not have a power supply line that supplies power to the TV 160 via the VBUS terminal 871. For example, the AV cable 110 does not have a terminal that contacts the VBUS terminal 871. For this reason, power is not substantially supplied to the AV cable 110.

出力制御部290は、給電制御部210が給電制御ライン406をHレベルにした後の予め定められた期間内に検出ライン404の電位がHレベルに変化しないことを検出すると、接続部40にデバイスまたはAVケーブル110が接続されたと認識して、外部出力部280が外部出力ライン409にAV信号を伝送することを可能にする(t5)。したがってユーザが撮像装置10を操作してTV160等の外部機器にAV信号を出力することが可能とされる。また、出力制御部290は、給電制御部210に給電制御ライン406の電位をLレベルにさせて、電池80からの電力ラインと給電ライン400との接続を切断する(t5)。   When the output control unit 290 detects that the potential of the detection line 404 does not change to the H level within a predetermined period after the power supply control unit 210 sets the power supply control line 406 to the H level, the output control unit 290 connects the device to the connection unit 40. Alternatively, it recognizes that the AV cable 110 is connected, and enables the external output unit 280 to transmit the AV signal to the external output line 409 (t5). Therefore, the user can operate the imaging device 10 and output an AV signal to an external device such as the TV 160. In addition, the output control unit 290 causes the power supply control unit 210 to set the potential of the power supply control line 406 to the L level, and disconnects the power line from the battery 80 and the power supply line 400 (t5).

そして、AVケーブル110が接続部40から脱着されると、検出ライン404は再び抵抗410でプルアップされた状態となり、検出ライン404の電位はLレベルからHレベルに変化する(t6)。出力制御部290は、検出ライン404の電位がLレベルからHレベルに変化した場合に、接続部40からAVケーブル110が脱着されたと認識する(t7)。   When the AV cable 110 is detached from the connection portion 40, the detection line 404 is pulled up again by the resistor 410, and the potential of the detection line 404 changes from L level to H level (t6). The output control unit 290 recognizes that the AV cable 110 is detached from the connection unit 40 when the potential of the detection line 404 changes from the L level to the H level (t7).

図11は、本変形例において接続機器を検出し出力を開始するまでの処理フローを示す。本フローは、特に、ホストとして通信する接続機器またはAVケーブル110が接続されたことを認識して出力を開始するための処理フローを示す。本フローは、接続部40に何も接続されていないと判断された場合に、開始される。   FIG. 11 shows a processing flow until a connected device is detected and output is started in this modification. This flow particularly shows a processing flow for recognizing that a connection device or AV cable 110 communicating as a host is connected and starting output. This flow is started when it is determined that nothing is connected to the connection unit 40.

ステップS1102において、出力制御部290は、検出ライン404がLレベルに変化したか否かを判断する。検出ライン1104がLレベルに変化した場合、ステップS1104に処理を進める。検出ライン1104がLレベルである場合、ステップS1102の判断を繰り返し行う。   In step S1102, the output control unit 290 determines whether or not the detection line 404 has changed to the L level. If the detection line 1104 has changed to the L level, the process proceeds to step S1104. If the detection line 1104 is at the L level, the determination in step S1102 is repeated.

ステップS1104において、出力制御部290は、ホストとして通信する接続機器またはAVケーブル110が接続されたと判断し、ステップS1106においてUSBパワースイッチである給電スイッチ部30をONする。   In step S1104, the output control unit 290 determines that the connection device or AV cable 110 that communicates as a host is connected, and in step S1106, turns on the power supply switch unit 30 that is a USB power switch.

ステップS1108において、予め定められた期間ウェイトする。本期間は、給電スイッチ部30をONしてから、給電ライン400および給電ライン380を介して第1トランジスタ330のベース端子に電源電圧が印可されるまでに要する時間を考慮して、定められる。   In step S1108, weighting is performed for a predetermined period. This period is determined in consideration of the time required from when the power supply switch unit 30 is turned on until the power supply voltage is applied to the base terminal of the first transistor 330 via the power supply line 400 and the power supply line 380.

ステップS1110において、出力制御部290は、検出ライン404がHレベルであるか否かを判断する。検出ライン404がHレベルである場合、ホストとして通信する接続機器が接続部40に接続されたと認識し、予め定められた時間だけウェイトする(ステップS1114)。本期間は、第2トランジスタ340がONされるまでの時間の時間長さを考慮して、定められる。ここでは、第2トランジスタ340がONされるまでに要する時間の個体誤差等を考慮して、十分な時間だけウェイトすることが好ましい。   In step S1110, the output control unit 290 determines whether or not the detection line 404 is at the H level. When the detection line 404 is at the H level, it recognizes that the connected device that communicates as the host is connected to the connection unit 40, and waits for a predetermined time (step S1114). This period is determined in consideration of the length of time until the second transistor 340 is turned on. Here, it is preferable to wait for a sufficient time in consideration of an individual error or the like of the time required until the second transistor 340 is turned on.

ステップS1116において、検出ライン404がLレベルであるか否かを判断する。検出ライン404がLレベルである場合、出力制御部290は、デバイスとして通信を開始するようデータ入出力部230を制御して、処理を終了する。ステップS1116で検出ライン404がLレベルでないと判断された場合、出力制御部290は、接続部40を介して通信を開始せずに、エラーを通知する。例えば、ASIC26は、エラーメッセージを表示部18に表示するよう、CPU12に通知してよい。   In step S1116, it is determined whether or not the detection line 404 is at the L level. When the detection line 404 is at the L level, the output control unit 290 controls the data input / output unit 230 to start communication as a device, and ends the process. When it is determined in step S1116 that the detection line 404 is not at the L level, the output control unit 290 notifies the error without starting communication via the connection unit 40. For example, the ASIC 26 may notify the CPU 12 to display an error message on the display unit 18.

ステップS1110で検出ライン404がHレベルでないと判断された場合、ステップS1130において、出力制御部290は接続部40にAVケーブル110が接続された旨を認識する。続いて、ステップS1132において、ASIC26はAV機器用の処理を開始して、処理を終了する。AV機器用の処理としては、AV信号を外部出力させるためのメニューを表示部18に表示するようCPU12に通知する処理を含むことができる。   When it is determined in step S1110 that the detection line 404 is not at the H level, the output control unit 290 recognizes that the AV cable 110 is connected to the connection unit 40 in step S1130. Subsequently, in step S1132, the ASIC 26 starts the process for the AV device and ends the process. The processing for AV equipment can include processing for notifying the CPU 12 to display a menu for externally outputting AV signals on the display unit 18.

なお、本フローでは、ステップS1116およびステップS1120において、検出ライン404がLレベルでないと判断された場合にエラーを通知するとした。しかし、エラーを通知せずにデバイスとして通信を開始してもよい。出力制御部290は、接続部40から接続機器が抜かれたか否かを、給電スイッチ部30から給電ライン400へ供給される電力量に基づいて判断してよい。例えば、給電スイッチ部30から給電ライン400へ供給される電力量が予め定められた値より小さくなった場合に、接続部40から接続機器が抜かれたと判断してよい。   In this flow, an error is notified when it is determined in steps S1116 and S1120 that the detection line 404 is not at the L level. However, communication may be started as a device without notifying an error. The output control unit 290 may determine whether or not the connected device is disconnected from the connection unit 40 based on the amount of power supplied from the power supply switch unit 30 to the power supply line 400. For example, when the amount of power supplied from the power supply switch unit 30 to the power supply line 400 becomes smaller than a predetermined value, it may be determined that the connection device has been removed from the connection unit 40.

図8から図11に関連して説明したように、出力制御部290は、電力供給を開始した後に検出端子874の電位が変化した場合に、接続機器に画像をデータとして送信すべと認識し、電力供給を開始した後に検出端子874の電位が変化しなかった場合に、接続機器にアナログ信号として画像を送信すべきと認識する。外部出力部280は、出力制御部290の制御に従って、接続機器にアナログ信号として画像を送信すべきと認識された場合に、画像データをアナログ信号で接続機器に出力する。   As described with reference to FIGS. 8 to 11, when the potential of the detection terminal 874 changes after the power supply is started, the output control unit 290 recognizes that an image should be transmitted as data to the connected device, and If the potential of the detection terminal 874 does not change after the start of power supply, it is recognized that an image should be transmitted as an analog signal to the connected device. When the external output unit 280 recognizes that an image should be transmitted as an analog signal to the connected device under the control of the output control unit 290, the external output unit 280 outputs the image data to the connected device as an analog signal.

図12は、無線機器100の他の例としての無線機器1200を示す。無線機器1200は、機器通知回路320の他の例としての機器通知回路1220を有する点、およびMCU310の他の例としてのMCU1210が機器通知回路1220を制御する構成を有しない点を除いて、無線機器100と同様の構成を有する。このため、これらの差異を中心に無線機器1200の機能および動作を説明する。   FIG. 12 shows a wireless device 1200 as another example of the wireless device 100. The wireless device 1200 is wireless except that it has a device notification circuit 1220 as another example of the device notification circuit 320 and that the MCU 1210 as another example of the MCU 310 does not have a configuration for controlling the device notification circuit 1220. It has the same configuration as the device 100. Therefore, the function and operation of the wireless device 1200 will be described focusing on these differences.

機器通知回路1220は、IDライン304をスイッチングするトランジスタ1230を含む。トランジスタ1230は、PNPトランジスタである。トランジスタ1230のベース端子は、直列接続されたダイオード1260、抵抗1240および抵抗1232を介して、給電ライン380に接続される。トランジスタ1230のベース端子は、抵抗1234を介して接地される。トランジスタ1230のエミッタ端子はIDライン304を介してID端子374に接続され、トランジスタ1230のコレクタ端子は接地される。機器通知回路1220は、無線機器1200であることを撮像装置10に通知すべく検出ライン404の電位を制御するためのキャパシタ1250が、抵抗1240に並列に設けられる。   Device notification circuit 1220 includes a transistor 1230 that switches ID line 304. The transistor 1230 is a PNP transistor. The base terminal of the transistor 1230 is connected to the power supply line 380 through a diode 1260, a resistor 1240, and a resistor 1232 connected in series. The base terminal of the transistor 1230 is grounded through a resistor 1234. The emitter terminal of the transistor 1230 is connected to the ID terminal 374 via the ID line 304, and the collector terminal of the transistor 1230 is grounded. In the device notification circuit 1220, a capacitor 1250 for controlling the potential of the detection line 404 is provided in parallel with the resistor 1240 so as to notify the imaging device 10 that the device is a wireless device 1200.

接続部40に接続部370が接続された直後は、トランジスタ1230は、図5に関連して説明した第1トランジスタ330と同様に動作する。したがって、接続部40に接続部370が接続された場合、検出ライン404の電位はHレベルからLレベルに変化する。ここで、撮像装置10の制御により給電ライン380に電力供給が開始された瞬間に、キャパシタ1250のダイオード1260側の一端の電位は、電源電圧に相当する電位まで比較的に早い立ち上がりで変化する。したがって、キャパシタ1250の他端に電源電圧に相当する立ち上がりの早い電位変化が現れる。このため、トランジスタ1230はOFFされる。   Immediately after the connection unit 370 is connected to the connection unit 40, the transistor 1230 operates in the same manner as the first transistor 330 described with reference to FIG. Therefore, when the connection unit 370 is connected to the connection unit 40, the potential of the detection line 404 changes from the H level to the L level. Here, at the moment when power supply to the power supply line 380 is started by the control of the imaging device 10, the potential of one end of the capacitor 1250 on the diode 1260 side changes with a relatively fast rise to a potential corresponding to the power supply voltage. Therefore, a potential change with a fast rise corresponding to the power supply voltage appears at the other end of the capacitor 1250. For this reason, the transistor 1230 is turned off.

給電ライン380から供給された電流によってキャパシタ1250が充電されるにつれて、抵抗1240を流れる電流が増加し、キャパシタ1250の他端の電位は低下していく。したがって、トランジスタ1230のベース端子の電位は徐々に低下していく。トランジスタ1230のベース端子の電位が、トランジスタ1230がONとなる電位まで低下すると、IDライン304は接地される。この結果、撮像装置10において検出ライン404の電位はLレベルに変化する。このように、トランジスタ1230は、給電ライン380に電源電圧が印加されることで一旦OFFされ、その後再びONされる。   As the capacitor 1250 is charged by the current supplied from the power supply line 380, the current flowing through the resistor 1240 increases and the potential at the other end of the capacitor 1250 decreases. Accordingly, the potential of the base terminal of the transistor 1230 gradually decreases. When the potential of the base terminal of the transistor 1230 is lowered to a potential at which the transistor 1230 is turned on, the ID line 304 is grounded. As a result, the potential of the detection line 404 in the imaging device 10 changes to the L level. In this manner, the transistor 1230 is once turned off when the power supply voltage is applied to the power supply line 380 and then turned on again.

図13は、接続部40に無線機器1200が接続された場合の各部のタイムシーケンスの一例を示す。上述したように、給電スイッチ部30がONされる時刻t2までは図5と同様のタイムシーケンスで進行するので、説明を省略する。   FIG. 13 illustrates an example of a time sequence of each unit when the wireless device 1200 is connected to the connection unit 40. As described above, the process proceeds in the same time sequence as in FIG. 5 until time t2 when the power supply switch unit 30 is turned on, and thus the description thereof is omitted.

時刻t2において給電スイッチ部30がONすると、電池80からの電力ラインが給電ライン400に接続されて、給電ライン400、VBUS端子471、VBUS端子371、給電ライン380を介してMCU310に電力が供給される。MCU310は、電力が供給されると内部の初期化を開始する。   When the power supply switch unit 30 is turned on at time t2, the power line from the battery 80 is connected to the power supply line 400, and power is supplied to the MCU 310 via the power supply line 400, the VBUS terminal 471, the VBUS terminal 371, and the power supply line 380. The The MCU 310 starts internal initialization when power is supplied.

ここで、給電ライン380に電力が供給されると、図12に関連して説明したようにトランジスタ1230は一旦OFFとなり、検出ライン404の電位はLレベルからHレベルに変化する(t3)。そして、図12に関連して説明したようにキャパシタ1250の充電が進むことで、検出ライン404の電位はHレベルからLレベルに変化する。このように、無線機器1200は、時刻t3からt4までの期間T2に、検出ライン404の電位を一時的にHレベルにすることにより、無線機器100が接続されたことを撮像装置10に通知する。   Here, when power is supplied to the power supply line 380, the transistor 1230 is temporarily turned off as described with reference to FIG. 12, and the potential of the detection line 404 changes from L level to H level (t3). Then, as described with reference to FIG. 12, as the capacitor 1250 is charged, the potential of the detection line 404 changes from the H level to the L level. In this way, the wireless device 1200 notifies the imaging device 10 that the wireless device 100 is connected by temporarily setting the potential of the detection line 404 to the H level during the period T2 from time t3 to time t4. .

出力制御部290は、給電制御部210が給電制御ライン406をHレベルにした後に検出ライン404の電位がHレベルに変化した場合に、無線機器100が接続されたと認識する。具体的には、出力制御部290は、給電制御部210が給電制御ライン406をHレベルにした後の予め定められた期間内に検出ライン404の電位がHレベルに変化した場合に、無線機器100が接続されたと認識する。予め定められた期間は、給電スイッチ部30が電力供給を開始してから、キャパシタ1250が予め定められたレベルまで充電されるまでの時間の時間長さを考慮して、定められる。   The output control unit 290 recognizes that the wireless device 100 is connected when the potential of the detection line 404 changes to H level after the power supply control unit 210 sets the power supply control line 406 to H level. Specifically, the output control unit 290 is a wireless device when the potential of the detection line 404 changes to H level within a predetermined period after the power supply control unit 210 sets the power supply control line 406 to H level. It is recognized that 100 is connected. The predetermined period is determined in consideration of the length of time from when the power supply switch unit 30 starts supplying power until the capacitor 1250 is charged to a predetermined level.

出力制御部290は、検出ライン404がHレベルに変化したことを検出した後、検出ライン404がLレベルに変化するのを待つ。検出ライン404がLレベルに変化したことを検出すると(t5)、出力制御部290は無線機器1200が接続されたと認識して、無線機器1200と通信を開始すべくASIC26の各部を制御する。具体的には、出力制御部290は、給電制御部210に無線機器1200への電力供給を維持させ、かつ、デバイスとして無線機器1200と通信するようデータ入出力部230を制御する。   After detecting that the detection line 404 has changed to H level, the output control unit 290 waits for the detection line 404 to change to L level. When detecting that the detection line 404 has changed to the L level (t5), the output control unit 290 recognizes that the wireless device 1200 is connected, and controls each part of the ASIC 26 to start communication with the wireless device 1200. Specifically, the output control unit 290 causes the power supply control unit 210 to maintain power supply to the wireless device 1200 and controls the data input / output unit 230 to communicate with the wireless device 1200 as a device.

無線機器1200が接続部40から脱着されると、検出ライン404は再び抵抗410でプルアップされた状態となり、検出ライン404の電位はLレベルからHレベルに変化する(t6)。出力制御部290は、検出ライン404の電位がLレベルからHレベルに変化した場合に、接続部40から脱着されたと認識して、VBUS端子471を介した電力供給を停止すべく、給電制御部210に給電制御ライン406の電位をLレベルにさせる(t7)。   When the wireless device 1200 is detached from the connection unit 40, the detection line 404 is again pulled up by the resistor 410, and the potential of the detection line 404 changes from L level to H level (t6). When the potential of the detection line 404 changes from the L level to the H level, the output control unit 290 recognizes that the detection line 404 has been detached from the connection unit 40 and stops the power supply via the VBUS terminal 471. In 210, the potential of the power supply control line 406 is set to L level (t7).

図14は、接続部40に周辺機器140が接続された場合のタイムシーケンスを示す。デバイスに接続されるUSBケーブルでは、ID端子は接地されている。したがって、給電スイッチ部30がONされる時刻t2までは図13と同様のタイムシーケンスで進行するので、説明を省略する。   FIG. 14 shows a time sequence when the peripheral device 140 is connected to the connection unit 40. In the USB cable connected to the device, the ID terminal is grounded. Therefore, the process proceeds in the same time sequence as in FIG. 13 until time t2 when the power supply switch unit 30 is turned on, and the description thereof is omitted.

給電スイッチ部30がONされると、電池80からの電力ラインが給電ライン400に接続されて、給電ライン400、VBUS端子471、VBUS端子371、給電ライン380を介して周辺機器140に電力が供給される。USBケーブル内でID端子は接地されているので、接続部40から周辺機器140のUSBケーブルが脱着されるまで、検出ライン404の電位は変化しない。   When the power supply switch unit 30 is turned on, the power line from the battery 80 is connected to the power supply line 400, and power is supplied to the peripheral device 140 via the power supply line 400, the VBUS terminal 471, the VBUS terminal 371, and the power supply line 380. Is done. Since the ID terminal is grounded in the USB cable, the potential of the detection line 404 does not change until the USB cable of the peripheral device 140 is detached from the connection unit 40.

出力制御部290は、給電制御部210が給電制御ライン406をHレベルにした後の予め定められた期間内に検出ライン404の電位がHレベルに変化しないことを検出すると、接続部40にデバイスが接続されたと認識して、周辺機器140との通信を開始する(t5)。具体的には、出力制御部290は、ホストとして動作するようASIC26の各部を制御する。より具体的には、給電制御部210に周辺機器140への電力供給を維持させ、ホストとして周辺機器140と通信するようデータ入出力部230を制御する。なお、周辺機器140が接続部40から脱着された時刻t6以降の場合の動作は、図13と同様であるので、説明を省略する。   When the output control unit 290 detects that the potential of the detection line 404 does not change to the H level within a predetermined period after the power supply control unit 210 sets the power supply control line 406 to the H level, the output control unit 290 connects the device to the connection unit 40. Is connected and starts communication with the peripheral device 140 (t5). Specifically, the output control unit 290 controls each unit of the ASIC 26 so as to operate as a host. More specifically, the power supply control unit 210 maintains the power supply to the peripheral device 140 and controls the data input / output unit 230 to communicate with the peripheral device 140 as a host. The operation after the time t6 when the peripheral device 140 is detached from the connection unit 40 is the same as that in FIG.

なお、無線機器1200および周辺機器140を検出し通信を開始するまでの処理フローとして、図7と略同様のフローを適用することができる。例えば、ステップS708でウェイトする時間およびステップS714でウェイトする時間に、無線機器1200全体のスイッチング動作の応答時間を考慮した値を適用する点を除いて、図7と同様のフローを適用することができる。   Note that as a processing flow until the wireless device 1200 and the peripheral device 140 are detected and communication is started, a flow substantially similar to that in FIG. 7 can be applied. For example, the same flow as in FIG. 7 may be applied except that a value considering the response time of the switching operation of the entire wireless device 1200 is applied to the time to wait in step S708 and the time to wait in step S714. it can.

以上に説明したように、無線機器1200は、周辺機器140のようなデバイスと同様、接続部40に接続されたときに検出ライン404をLレベルに変化させるので、撮像装置10から電力供給を受けることができる。無線機器1200は、無線機器100と同様、電力供給を受けることで一時的に検出ライン404の電位をHレベルに変化させるので、撮像装置10は、無線機器100が電力供給を受けつつ、ホストとしてデータ通信する機器であることを認識することができる。特に、無線機器1200は、電力供給を受けることで受動的かつ一時的に検出ライン404の電位をHレベルに変化させる。このため、給電が開始されてから検出ライン404をLレベルに低下させるための機能をMCU1210に実装する必要がない。このため、無線機器1200をより小型化することが可能になる。   As described above, since the wireless device 1200 changes the detection line 404 to the L level when connected to the connection unit 40, like the device such as the peripheral device 140, the wireless device 1200 receives power supply from the imaging device 10. be able to. Similar to the wireless device 100, the wireless device 1200 temporarily changes the potential of the detection line 404 to the H level by receiving power supply. Therefore, the imaging apparatus 10 functions as a host while the wireless device 100 receives power supply. It can be recognized that it is a device for data communication. In particular, the wireless device 1200 passively and temporarily changes the potential of the detection line 404 to the H level by receiving power supply. For this reason, it is not necessary to mount a function for lowering the detection line 404 to the L level after the power feeding is started in the MCU 1210. For this reason, the wireless device 1200 can be further downsized.

なお、図8、図9に関連して説明した変形例を、図12に関連して説明した接続部40および接続部370の変形例として適用することができる。この場合、無線機器1200が接続された場合のタイムシーケンスとしては、図13と同様のタイムシーケンスを適用できる。また、AVケーブル110が接続された場合のタイムシーケンスとしては、図10と略同様のタイムシーケンスを適用できる。例えば、時刻t3から時刻t4の期間として、無線機器1200全体のスイッチング動作の応答時間を考慮した期間T2を適用する点を除いて、同様のタイムシーケンスを適用できる。また、接続機器を検出し出力を開始するまでの処理フローとして、図11と略同様の処理フローを適用することができる。具体的には、ステップS1108でウェイトする時間およびステップS1114でウェイトする時間に、無線機器1200全体のスイッチング動作の応答時間を考慮した値を適用する点を除いて、図11と同様のフローを適用することができる。   Note that the modification examples described with reference to FIGS. 8 and 9 can be applied as modifications of the connection unit 40 and the connection unit 370 described with reference to FIG. In this case, a time sequence similar to that in FIG. 13 can be applied as a time sequence when the wireless device 1200 is connected. In addition, as a time sequence when the AV cable 110 is connected, a time sequence substantially similar to that in FIG. 10 can be applied. For example, the same time sequence can be applied except that the period T2 in which the response time of the switching operation of the entire wireless device 1200 is considered is applied as the period from time t3 to time t4. Further, as a processing flow until the connected device is detected and output is started, a processing flow substantially similar to that in FIG. 11 can be applied. Specifically, the same flow as in FIG. 11 is applied except that the value considering the response time of the switching operation of the entire wireless device 1200 is applied to the time to wait in step S1108 and the time to wait in step S1114. can do.

以上の説明において、撮像装置10がASIC26およびCPU12を有するとして説明した。しかし、1つのプロセッサで、上述したASIC26およびCPU12の機能を実装することができる。   In the above description, the imaging apparatus 10 has been described as including the ASIC 26 and the CPU 12. However, the functions of the ASIC 26 and the CPU 12 described above can be implemented with a single processor.

本実施形態の撮像装置10に関連して説明した処理は、撮像装置10の各部、例えばプロセッサ等が、プログラムに従って動作することにより、実現することができる。すなわち、当該処理を、いわゆるコンピュータ装置によって実現することができる。コンピュータ装置は、上述した処理の実行を制御するプログラムをロードして、読み込んだプログラムに従って動作して、当該処理を実行してよい。コンピュータ装置は、当該プログラムを記憶しているコンピュータ読取可能な記録媒体を読み込むことによって、当該プログラムをロードすることができる。   The processing described in relation to the imaging apparatus 10 of the present embodiment can be realized by causing each unit of the imaging apparatus 10, for example, a processor or the like to operate according to a program. That is, the process can be realized by a so-called computer device. The computer device may load a program for controlling the execution of the above-described process, operate according to the read program, and execute the process. The computer device can load the program by reading a computer-readable recording medium storing the program.

本実施形態において、撮像装置10を取り上げて電子機器の一例を説明した。撮像装置しては、レンズ交換式の一眼レフカメラ、コンパクトデジタルカメラ、ミラーレス一眼カメラ、ビデオカメラ、医用画像装置、撮像機能付きの携帯電話機、撮像機能付きの携帯情報端末、撮像機能付きのゲーム機器等の娯楽装置、スキャナ、ファクシミリ等、撮像機能を有する機器を適用の対象とすることができる。また、電子機器としては、テレビ、ビデオ、デジタルフォトフレーム、プロジェクタ装置、ゲーム機器等の娯楽装置等の電子画像装置として実現されてよい。また、電子機器は、録音装置等の電子音声装置として実現されてよい。電子機器は、電子画像装置や音声装置等に限らず、種々の機器に実装することができる。   In the present embodiment, an example of the electronic apparatus has been described by taking up the imaging device 10. Imaging devices include interchangeable lens single-lens reflex cameras, compact digital cameras, mirrorless single-lens cameras, video cameras, medical imaging devices, mobile phones with an imaging function, portable information terminals with an imaging function, and games with an imaging function. A device having an imaging function, such as an entertainment device such as a device, a scanner, or a facsimile, can be applied. Also, the electronic device may be realized as an electronic image device such as a television, video, digital photo frame, projector device, entertainment device such as a game device. The electronic device may be realized as an electronic audio device such as a recording device. Electronic devices are not limited to electronic image devices and audio devices, and can be mounted on various devices.

また、電子機器に接続される接続機器は、無線機器に限られず、種々の機器に適用することができる。例えば、GPS機器等に適用することができる。[項目1]接続機器と接続される接続端子および給電用端子を有する接続部と、前記接続端子の電位を検出する検出部と、前記接続端子の電位変化が検出された場合に、前記給電用端子を介して電力供給を開始する電源制御部と、前記電力供給を開始した後における前記接続端子の電位の検出結果に基づいて、前記接続機器の種類を認識する機器認識部とを備える電子機器。[項目2]前記機器認識部は、前記電力供給を開始してから予め定められた期間内における前記接続端子の電位の検出結果に基づいて、前記接続機器の種類を認識する項目1に記載の電子機器。[項目3]前記接続端子の電位は、前記接続機器が接続されていない場合に第1電位レベルにあり、前記電源制御部は、前記接続端子の電位が第2電位レベルに変化した場合に、前記接続機器への電力供給を開始し、前記機器認識部は、前記予め定められた期間内に前記接続端子の電位が第1電位レベルに変化し、かつ、前記予め定められた期間が経過した後に前記接続端子の電位が第2電位レベルに変化した場合に、第1の種類の接続機器が接続されたことを認識し、前記予め定められた期間内に前記接続端子の電位が第1電位レベルに変化しなかった場合に、第2の種類の接続機器が接続されたことを認識する項目2に記載の電子機器。[項目4]前記電源制御部は、前記予め定められた期間が経過した後に、前記接続端子の電位が第2電位レベルから第1電位レベルに変化した場合に、前記電力供給を停止させる項目3に記載の電子機器。[項目5]前記接続部は、USBデバイスおよびUSBホストのいずれも接続可能なUSB接続部であり、前記接続端子は、前記USB接続部のID端子であり、前記接続端子の電位は、前記接続機器が接続されていない場合にHレベルにあり、前記電源制御部は、前記接続端子の電位がLレベルに変化した場合に、前記接続機器への電力供給を開始し、前記機器認識部は、前記予め定められた期間内に前記接続端子の電位がLレベルからHレベルに変化した場合に、前記接続機器がUSBホストとして通信し、かつ、電力供給を要する機器であると認識する項目2から4のいずれか一項に記載の電子機器。[項目6]前記予め定められた期間内に前記接続端子の電位がLレベルからHレベルに変化した場合に、USBデバイスとして前記接続機器と通信し、前記予め定められた期間内に前記接続端子の電位がLレベルからHレベルに変化しなかった場合に、USBホストとして前記接続機器と通信する通信制御部をさらに備える項目5に記載の電子機器。[項目7]前記電源制御部は、前記電子機器を駆動する電池から前記給電用端子へ電力を供給する項目1から6のいずれか一項に記載の電子機器。[項目8]画像を撮像する撮像部と、前記画像を前記接続機器に画像データとして出力する画像出力部とをさらに備え、前記機器認識部は、前記電力供給を開始した後における前記接続端子の電位の検出結果に基づいて、前記接続機器に前記画像データとして送信すべき第1の種類の接続機器であるか否かを認識し、前記画像データとして送信すべきと認識された場合、前記画像出力部は前記画像を画像データとして送信する項目1から7のいずれか一項に記載の電子機器。[項目9]前記機器認識部は、前記電力供給を開始した後における前記接続端子の電位の検出結果に基づいて、前記画像データを前記接続機器からの要求に基づいて送信すべきか否かを認識し、前記画像出力部は、前記画像データを前記接続機器からの要求に基づいて送信すべき旨が認識された場合に、前記画像データを前記接続機器からの要求に基づいて送信し、前記画像データを前記接続機器からの要求に基づいて送信すべきでない旨が認識された場合に、前記画像データを送信する旨を前記接続機器に通知する項目8に記載の電子機器。[項目10]前記機器認識部は、前記電力供給を開始した後に前記接続端子の電位が変化した場合に、前記接続機器に前記画像データとして送信すべと認識し、前記電力供給を開始した後に前記接続端子の電位が変化しなかった場合に、前記接続機器にアナログ信号として前記画像を送信すべきと認識し、前記画像出力部は、前記接続機器にアナログ信号として前記画像を送信すべきと認識された場合に、前記画像データをアナログ信号で前記接続機器に出力する項目8に記載の電子機器。[項目11]前記機器認識部は、前記接続端子の電位が変化することなく前記給電用端子の電位が変化した場合に、前記第1の種類の接続機器とは異なる方式で画像データを送信すべき機器であると認識する項目8から10のいずれか一項に記載の電子機器。[項目12]電子機器の接続端子と電気的に接続される被接続端子および給電用端子を有する接続部と、前記被接続端子と前記接続端子とが電気的に接続された場合に、前記被接続端子の電位を第1電位レベルから第2電位レベルに変化させ、前記電子機器から前記給電用端子を介して電力が供給された場合に、前記被接続端子の電位を第2電位レベルから第1電位レベルに変化させる第1回路部とを備える接続機器。[項目13]前記給電用端子を介して電力供給が開始されてから予め定められた期間が経過した場合に、前記被接続端子の電位を第1電位レベルから第2電位レベルに変化させる第2回路部をさらに備える項目12に記載の接続機器。[項目14]前記第2回路部が前記被接続端子の電位を第1電位レベルから第2電位レベルに変化させた後に、前記電子機器との通信を開始させる通信制御部をさらに備える項目13に記載の接続機器。[項目15]前記第1回路部は、前記給電用端子に入力された電源電圧によってスイッチング動作する第1トランジスタを有する項目13または14に記載の接続機器。[項目16]前記第1電位レベルは、接地電位よりも高い電位レベルであり、前記第1トランジスタは、前記被接続端子に接続されたコレクタ端子と、接地されたエミッタ端子と、前記給電用端子に接続されたベース端子とを有する項目15に記載の接続機器。[項目17]前記第2回路部は、前記被接続端子に接続されたコレクタ端子と、接地されたエミッタ端子とを有する第2トランジスタと、前記第2トランジスタのベース端子に接続され、前記給電用端子を介して電力供給が開始されてから前記予め定められた期間が経過した場合に、前記第2トランジスタをオン動作させる制御回路とを有する項目16に記載の接続機器。[項目18]前記第1電位レベルは、接地電位よりも高い電位レベルであり、前記第1回路部は、前記被接続端子に接続されたコレクタ端子、接地されたエミッタ端子、および、前記給電用端子に抵抗を介して接続されたベース端子を有するトランジスタを有し、前記第2回路部は、前記抵抗に並列に接続されたキャパシタを有する項目13に記載の接続機器。[項目19]前記接続部は、USB接続部であり、前記電子機器に対してUSBホストとして通信するUSBホストコントローラをさらに備える項目12から18のいずれか一項に記載の接続機器。[項目20]アンテナ部をさらに備え、前記USBホストコントローラは、前記アンテナ部で受信した信号を、前記USB接続部が有するデータ端子を通じて前記電子機器に送信する項目19に記載の接続機器。[項目21]項目12から20のいずれか一項に記載の接続機器と、前記電子機器とを備え、前記電子機器は、前記接続端子の電位を検出する検出部と、前記接続端子の電位変化が検出された場合に、前記給電用端子を介して電力供給を開始する電源制御部と、前記電力供給を開始した後における前記接続端子の電位の検出結果に基づいて、前記接続機器の種類を認識する機器認識部とを有する電子機器システム。[項目22]接続機器と接続される接続端子の電位を検出する検出ステップと、前記接続端子の電位変化が検出された場合に、前記接続機器との接続部が有する給電用端子を介して電力供給を開始する電源制御ステップと、前記電力供給を開始した後における前記接続端子の電位の検出結果に基づいて、前記接続機器の種類を認識する機器認識ステップとをコンピュータに実行させるプログラム。

In addition, a connection device connected to an electronic device is not limited to a wireless device, and can be applied to various devices. For example, it can be applied to a GPS device or the like. [Item 1] A connection portion having a connection terminal and a power supply terminal connected to a connection device, a detection portion for detecting a potential of the connection terminal, and a change in potential of the connection terminal when the potential change of the connection terminal is detected. An electronic apparatus comprising: a power supply control unit that starts power supply via a terminal; and a device recognition unit that recognizes the type of the connected device based on a detection result of the potential of the connection terminal after the power supply is started . [Item 2] The item recognition unit according to Item 1, wherein the device recognition unit recognizes a type of the connection device based on a detection result of a potential of the connection terminal within a predetermined period after the power supply is started. Electronics. [Item 3] The potential of the connection terminal is at the first potential level when the connection device is not connected, and the power supply control unit is configured to change the potential of the connection terminal to the second potential level. The power supply to the connection device is started, and the device recognition unit changes the potential of the connection terminal to the first potential level within the predetermined period, and the predetermined period has elapsed. When the potential of the connection terminal later changes to the second potential level, it is recognized that the first type of connection device has been connected, and the potential of the connection terminal is changed to the first potential within the predetermined period. Item 3. The electronic device according to Item 2, which recognizes that the second type of connected device is connected when the level does not change. [Item 4] The power supply control unit stops the power supply when the potential of the connection terminal changes from the second potential level to the first potential level after the predetermined period has elapsed. The electronic device as described in. [Item 5] The connection unit is a USB connection unit to which both a USB device and a USB host can be connected, the connection terminal is an ID terminal of the USB connection unit, and the potential of the connection terminal is the connection When the device is not connected, the power supply control unit is at the H level, and when the potential of the connection terminal changes to the L level, the power supply control unit starts supplying power to the connected device. From item 2 that recognizes that the connected device communicates as a USB host and requires power supply when the potential of the connection terminal changes from the L level to the H level within the predetermined period. 5. The electronic device according to any one of 4. [Item 6] When the potential of the connection terminal changes from the L level to the H level within the predetermined period, the terminal communicates with the connection device as a USB device, and the connection terminal within the predetermined period. Item 6. The electronic device according to Item 5, further comprising a communication control unit that communicates with the connected device as a USB host when the potential of the device does not change from L level to H level. [Item 7] The electronic device according to any one of Items 1 to 6, wherein the power control unit supplies power from a battery that drives the electronic device to the power supply terminal. [Item 8] An image pickup unit that picks up an image and an image output unit that outputs the image to the connection device as image data are further provided, and the device recognition unit is configured to connect the connection terminal after starting the power supply. Based on the detection result of the potential, it is recognized whether or not it is the first type of connected device to be transmitted as the image data to the connected device, and when it is recognized that the image data should be transmitted, the image The electronic device according to any one of items 1 to 7, wherein the output unit transmits the image as image data. [Item 9] The device recognition unit recognizes whether or not the image data should be transmitted based on a request from the connection device based on a detection result of the potential of the connection terminal after the power supply is started. When the image output unit recognizes that the image data should be transmitted based on the request from the connected device, the image output unit transmits the image data based on the request from the connected device, and Item 9. The electronic device according to Item 8, wherein when it is recognized that data should not be transmitted based on a request from the connected device, the connected device is notified that the image data is to be transmitted. [Item 10] When the potential of the connection terminal changes after the power supply is started, the device recognition unit recognizes that the device should be transmitted as the image data, and after the power supply is started, When the potential of the connection terminal does not change, it recognizes that the image should be transmitted as an analog signal to the connection device, and the image output unit recognizes that the image should be transmitted as an analog signal to the connection device. The electronic device according to item 8, wherein the image data is output to the connection device as an analog signal when the image data is received. [Item 11] The device recognition unit transmits image data in a manner different from that of the first type of connected device when the potential of the power supply terminal changes without changing the potential of the connection terminal. The electronic device according to any one of items 8 to 10, which is recognized as a power device. [Item 12] When the connection portion having a connection terminal and a power feeding terminal electrically connected to the connection terminal of the electronic device, and the connection terminal and the connection terminal are electrically connected, When the potential of the connection terminal is changed from the first potential level to the second potential level and power is supplied from the electronic device via the power feeding terminal, the potential of the connected terminal is changed from the second potential level to the second potential level. A connected device comprising: a first circuit unit that changes to one potential level. [Item 13] A second method for changing the potential of the connected terminal from the first potential level to the second potential level when a predetermined period has elapsed since the start of power supply via the power feeding terminal. Item 13. The connected device according to Item 12, further comprising a circuit unit. [Item 14] The item 13 further includes a communication control unit that starts communication with the electronic device after the second circuit unit changes the potential of the connected terminal from the first potential level to the second potential level. The connected equipment described. [Item 15] The connection device according to Item 13 or 14, wherein the first circuit unit includes a first transistor that performs a switching operation by a power supply voltage input to the power supply terminal. [Item 16] The first potential level is higher than a ground potential, and the first transistor includes a collector terminal connected to the connected terminal, a grounded emitter terminal, and the power feeding terminal. 16. The connection device according to item 15, having a base terminal connected to the terminal. [Item 17] The second circuit section is connected to a second transistor having a collector terminal connected to the connected terminal and a grounded emitter terminal, and to a base terminal of the second transistor, and The connection device according to item 16, further comprising: a control circuit that turns on the second transistor when the predetermined period has elapsed since the start of power supply via the terminal. [Item 18] The first potential level is higher than a ground potential, and the first circuit unit includes a collector terminal connected to the connected terminal, a grounded emitter terminal, and the power supply Item 14. The connection device according to Item 13, comprising a transistor having a base terminal connected to a terminal via a resistor, wherein the second circuit unit includes a capacitor connected in parallel to the resistor. [Item 19] The connection device according to any one of Items 12 to 18, wherein the connection unit is a USB connection unit, and further includes a USB host controller that communicates with the electronic device as a USB host. [Item 20] The connection device according to Item 19, further comprising an antenna unit, wherein the USB host controller transmits a signal received by the antenna unit to the electronic device through a data terminal included in the USB connection unit. [Item 21] The connection device according to any one of Items 12 to 20 and the electronic device, wherein the electronic device detects a potential of the connection terminal, and a potential change of the connection terminal. Is detected, and the type of the connected device is determined based on the detection result of the potential of the connection terminal after the power supply is started and the power supply control unit that starts the power supply via the power supply terminal. An electronic device system having a device recognition unit for recognizing. [Item 22] A detection step of detecting a potential of a connection terminal connected to the connection device, and when a potential change of the connection terminal is detected, power is supplied via a power supply terminal included in a connection portion with the connection device. A program for causing a computer to execute a power supply control step for starting supply and a device recognition step for recognizing the type of the connected device based on the detection result of the potential of the connection terminal after the power supply is started.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。   The order of execution of each process such as operations, procedures, steps, and stages in the apparatus, system, program, and method shown in the claims, the description, and the drawings is particularly “before” or “prior to”. It should be noted that the output can be realized in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the description, and the drawings, even if it is described using “first”, “next”, etc. for convenience, it means that it is essential to carry out in this order. It is not a thing.

10 撮像装置、12 CPU、14 撮像素子、16 画像処理部、18 表示部、20 測光センサ、22 焦点検出センサ、24 入力部、26 ASIC、30 給電スイッチ部、40 接続部、80 電池、100 無線機器、110 AVケーブル、120 通信ケーブル、130 パーソナルコンピュータ、140 周辺機器、160 TV、210 給電制御部、220 給電検出部、230 データ入出力部、240 接続検出部、270 過電流検出部、280 外部出力部、290 出力制御部、302 データライン、304 IDライン、305 制御ライン、310 MCU、320 機器通知回路、330 第1トランジスタ、332 抵抗、340 第2トランジスタ、342 抵抗、344 抵抗、350 ダイオード、370 接続部、371 VBUS端子、372 D−端子、373 D+端子、374 ID端子、380 給電ライン、390 アンテナ部、400 給電ライン、402 データライン、404 検出ライン、406 給電制御ライン、407 過電流通知ライン、408 給電検出ライン、409 外部出力ライン、410 抵抗、420 抵抗、430 抵抗、440 抵抗、450 ダイオード、460 トランジスタ、462 抵抗、464 抵抗、470 接続部、471 VBUS端子、472 D−端子、473 D+端子、474 ID端子、476 オーディオL端子、477 オーディオR端子、1232、1234、1240 抵抗、871 VBUS端子、872 D−端子、873 D+端子、874 検出端子、876 オーディオL端子、877 オーディオR端子、881 VBUS端子、882 D−端子、883 D+端子、884 ID端子、980 接続部、984 検出端子、986 オーディオL端子、987 オーディオR端子、1104 検出ライン、1200 無線機器、1210 MCU、1220 機器通知回路、1230 トランジスタ、1240 抵抗、1250 キャパシタ、1260 ダイオード DESCRIPTION OF SYMBOLS 10 Imaging device, 12 CPU, 14 Image sensor, 16 Image processing part, 18 Display part, 20 Photometric sensor, 22 Focus detection sensor, 24 Input part, 26 ASIC, 30 Feed switch part, 40 Connection part, 80 Battery, 100 Wireless Device, 110 AV cable, 120 communication cable, 130 personal computer, 140 peripheral device, 160 TV, 210 power supply control unit, 220 power supply detection unit, 230 data input / output unit, 240 connection detection unit, 270 overcurrent detection unit, 280 external Output unit, 290 output control unit, 302 data line, 304 ID line, 305 control line, 310 MCU, 320 device notification circuit, 330 first transistor, 332 resistor, 340 second transistor, 342 resistor, 344 resistor, 350 diode, 370 Connection part, 371 VBUS terminal, 372 D- terminal, 373 D + terminal, 374 ID terminal, 380 feed line, 380 antenna part, 400 feed line, 402 data line, 404 detection line, 406 feed control line, 407 Overcurrent notification line , 408 Power supply detection line, 409 External output line, 410 resistor, 420 resistor, 430 resistor, 440 resistor, 450 diode, 460 transistor, 462 resistor, 464 resistor, 470 connection, 471 VBUS terminal, 472 D− terminal, 473 D + Terminal, 474 ID terminal, 476 audio L terminal, 477 audio R terminal, 1232, 1234, 1240 resistor, 871 VBUS terminal, 872 D- terminal, 873 D + terminal, 874 detection terminal, 876 audio L terminal 877 Audio R terminal, 881 VBUS terminal, 882 D- terminal, 883 D + terminal, 884 ID terminal, 980 connection part, 984 detection terminal, 986 audio L terminal, 987 audio R terminal, 1104 detection line, 1200 wireless device, 1210 MCU 1220 device notification circuit, 1230 transistor, 1240 resistor, 1250 capacitor, 1260 diode

Claims (19)

ID端子および給電用端子を有し、USBデバイスおよびUSBホストのいずれも接続可能なUSB接続部と、
前記ID端子の電位を検出する検出部と、
前記ID端子の電位変化が検出された場合に、前記USB接続部に接続されている機器である接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器と通信する制御部と
を備え
前記ID端子の電位は、前記接続機器が前記USB接続部に接続されていない場合にHレベルにあり、
前記制御部は、前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから予め定められた期間内に前記ID端子の電位がLレベルからHレベルに変化した場合に、前記USB接続部に接続されている前記接続機器への前記給電用端子を介する電力供給を維持しつつ、前記USB接続部に接続されている前記接続機器と前記USB接続部を介してUSBデバイスとして通信する
電子機器。
Have a ID terminal and the feeding terminal, and a USB connection unit either that can be connected to a USB device and a USB host,
A detection unit for detecting the potential of the ID terminal;
When a change in the potential of the ID terminal is detected, power supply is started to the connected device, which is a device connected to the USB connection unit, via the power supply terminal, and the connection is made to the USB connection unit. A controller that communicates with the connection device ;
The potential of the ID terminal is at an H level when the connection device is not connected to the USB connection unit.
When the potential of the ID terminal changes from H level to L level, the control unit starts power supply to the connection device connected to the USB connection unit via the power supply terminal, and When the potential of the ID terminal changes from the L level to the H level within a predetermined period from the start of power supply to the connection device connected to the connection unit via the power supply terminal, Communicating as a USB device via the USB connection unit with the connection device connected to the USB connection unit while maintaining power supply via the power supply terminal to the connection device connected to the USB connection unit <br/> electronic equipment.
前記制御部は、前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから前記予め定められた期間内に前記ID端子の電位がLレベルからHレベルに変化し、かつ、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから前記予め定められた期間が経過した後に前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器への前記給電用端子を介する電力供給を維持しつつ、前記USB接続部に接続されている前記接続機器と前記USB接続部を介してUSBデバイスとして通信する  When the potential of the ID terminal changes from H level to L level, the control unit starts power supply to the connection device connected to the USB connection unit via the power supply terminal, and The potential of the ID terminal changes from L level to H level within the predetermined period from the start of power supply to the connection device connected to the connection unit via the power supply terminal; and The potential at the ID terminal changes from the H level to the L level after the predetermined period has elapsed since the start of power supply to the connection device connected to the USB connection unit via the power supply terminal. In this case, the connection device connected to the USB connection unit and the USB connection while maintaining power supply via the power supply terminal to the connection device connected to the USB connection unit. Communicating as a USB device via a
請求項1に記載の電子機器。The electronic device according to claim 1.
前記制御部は、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから前記予め定められた期間が経過した後に前記ID端子の電位がHレベルからLレベルに変化し、かつ、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから前記予め定められた期間が経過した後に前記ID端子の電位がHレベルからLレベルに変化した後に前記ID端子の電位がLレベルからHレベルに変化した場合に、前記USB接続部に接続されている前記接続機器への前記給電用端子を介する前記電力供給を停止する  The control unit is configured such that the potential of the ID terminal is H level after the predetermined period has elapsed since the start of power supply to the connection device connected to the USB connection unit via the power supply terminal. After the predetermined period has elapsed after the power supply is started to the connection device connected to the USB connection unit via the power supply terminal. When the potential of the ID terminal changes from the L level to the H level after the potential changes from the H level to the L level, the power through the power supply terminal to the connected device connected to the USB connection unit Stop supplying
請求項2に記載の電子機器。The electronic device according to claim 2.
前記制御部は、前記電子機器を駆動する電池から前記給電用端子へ電力を供給する  The control unit supplies power to the power feeding terminal from a battery that drives the electronic device.
請求項1から3のいずれか一項に記載の電子機器。The electronic device as described in any one of Claim 1 to 3.
前記制御部は、前記ID端子の電位が変化することなく前記給電用端子の電位が変化した場合に、前記給電用端子から供給される電力で前記電子機器を動作させ、前記USB接続部に接続されている前記接続機器と前記USB接続部を介してUSBデバイスとして通信する  The control unit operates the electronic device with power supplied from the power supply terminal and connects to the USB connection unit when the potential of the power supply terminal changes without changing the potential of the ID terminal. Communicate with the connected device as a USB device via the USB connection unit
請求項1から4のいずれか一項に記載の電子機器。The electronic device as described in any one of Claim 1 to 4.
前記制御部は、前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから前記予め定められた期間内に前記ID端子の電位がLレベルからHレベルに変化しなかった場合に、前記USB接続部に接続されている前記接続機器への前記給電用端子を介する電力供給を維持しつつ、前記USB接続部に接続されている前記接続機器と前記USB接続部を介してUSBホストとして通信する  When the potential of the ID terminal changes from H level to L level, the control unit starts power supply to the connection device connected to the USB connection unit via the power supply terminal, and When the potential of the ID terminal does not change from the L level to the H level within the predetermined period from the start of power supply to the connection device connected to the connection unit via the power supply terminal In addition, while maintaining power supply through the power supply terminal to the connection device connected to the USB connection unit, the connection device connected to the USB connection unit and the USB via the USB connection unit Communicate as a host
請求項1から5のいずれか一項に記載の電子機器。The electronic device as described in any one of Claim 1 to 5.
撮像部と、  An imaging unit;
前記撮像部が撮像することにより得られた画像データを、前記USB接続部に接続されている前記接続機器に出力する画像出力部と  An image output unit for outputting image data obtained by the imaging unit to the connected device connected to the USB connection unit;
をさらに備え、Further comprising
前記制御部は、前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから予め定められた期間内に前記ID端子の電位がLレベルからHレベルに変化した場合に、前記USB接続部に接続されている前記接続機器への前記給電用端子を介する電力供給を維持しつつ、前記画像出力部に、前記USB接続部に接続されている前記接続機器からの要求に基づいて前記USB接続部に接続されている前記接続機器へ前記USB接続部を介して前記画像データをUSBデバイスとして送信させる  When the potential of the ID terminal changes from H level to L level, the control unit starts power supply to the connection device connected to the USB connection unit via the power supply terminal, and When the potential of the ID terminal changes from the L level to the H level within a predetermined period from the start of power supply to the connection device connected to the connection unit via the power supply terminal, Based on a request from the connection device connected to the USB connection unit to the image output unit, while maintaining power supply to the connection device connected to the USB connection unit via the power supply terminal. The image data is transmitted as a USB device to the connection device connected to the USB connection unit via the USB connection unit.
請求項1から5のいずれか一項に記載の電子機器。The electronic device as described in any one of Claim 1 to 5.
前記制御部は、前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから予め定められた期間内に前記ID端子の電位がLレベルからHレベルに変化しなかった場合に、前記USB接続部に接続されている前記接続機器への前記給電用端子を介する電力供給を維持しつつ、前記画像出力部に、USBホストとして前記USB接続部を介して前記画像データを送信する旨を、前記USB接続部に接続されている前記接続機器へ通知させる  When the potential of the ID terminal changes from H level to L level, the control unit starts power supply to the connection device connected to the USB connection unit via the power supply terminal, and When the potential of the ID terminal does not change from the L level to the H level within a predetermined period after power supply to the connection device connected to the connection unit is started via the power feeding terminal. The image data is transmitted to the image output unit via the USB connection unit as a USB host while maintaining power supply to the connection device connected to the USB connection unit via the power supply terminal. To the connected device connected to the USB connection unit
請求項7に記載の電子機器。The electronic device according to claim 7.
前記制御部は、前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから予め定められた期間内に前記ID端子の電位がLレベルからHレベルに変化しなかった場合に、前記画像出力部に、前記USB接続部に接続されている前記接続機器へ前記USB接続部を介して画像データをアナログ信号で出力させる  When the potential of the ID terminal changes from H level to L level, the control unit starts power supply to the connection device connected to the USB connection unit via the power supply terminal, and When the potential of the ID terminal does not change from the L level to the H level within a predetermined period after power supply to the connection device connected to the connection unit is started via the power feeding terminal. And causing the image output unit to output image data as an analog signal to the connected device connected to the USB connection unit via the USB connection unit.
請求項7に記載の電子機器。The electronic device according to claim 7.
請求項1から9のいずれか一項に記載の電子機器と、  The electronic device according to any one of claims 1 to 9,
前記接続機器と  With the connection device
を備え、With
前記接続機器は、  The connection device is
前記電子機器のID端子と電気的に接続される被接続端子、および、前記電子機器の前記給電用端子と電気的に接続される接続機器側給電用端子を有する接続機器側USB接続部と、  A connected device-side USB connection unit having a connected terminal electrically connected to the ID terminal of the electronic device, and a connected device-side power supply terminal electrically connected to the power supply terminal of the electronic device;
前記被接続端子と前記ID端子とが電気的に接続された場合に、前記被接続端子の電位をHレベルからLレベルに変化させ、前記電子機器から前記接続機器側給電用端子を介して電力が供給された場合に、前記被接続端子の電位をLレベルからHレベルに変化させる第1回路部と  When the connected terminal and the ID terminal are electrically connected, the potential of the connected terminal is changed from H level to L level, and power is supplied from the electronic device via the connected device side power supply terminal. A first circuit portion that changes the potential of the connected terminal from L level to H level when
を有する電子機器システム。An electronic device system.
前記接続機器は、  The connection device is
前記電子機器から前記接続機器側給電用端子を介して電力供給が開始されてから予め定められた期間が経過した場合に、前記被接続端子の電位をHレベルからLレベルに変化させる第2回路部  A second circuit that changes the potential of the connected terminal from H level to L level when a predetermined period of time has elapsed since the start of power supply from the electronic device via the connected device side power supply terminal. Part
をさらに備える請求項10に記載の電子機器システム。The electronic device system according to claim 10, further comprising:
前記接続機器は、  The connection device is
前記第2回路部が前記被接続端子の電位をHレベルからLレベルに変化させた後に、前記電子機器との間の前記接続機器側USB接続部を介する通信を開始させる通信制御部  A communication control unit for starting communication with the electronic device via the connected device side USB connection unit after the second circuit unit changes the potential of the connected terminal from H level to L level.
をさらに有する請求項11に記載の電子機器システム。The electronic device system according to claim 11, further comprising:
前記第1回路部は、前記接続機器側給電用端子に入力された電源電圧によってスイッチング動作する第1トランジスタを有する  The first circuit unit includes a first transistor that performs a switching operation by a power supply voltage input to the connection device side power supply terminal.
請求項11または12に記載の電子機器システム。The electronic device system according to claim 11 or 12.
前記Hレベルは、接地電位よりも高い電位レベルであり、  The H level is a potential level higher than the ground potential.
前記第1トランジスタは、前記被接続端子に接続されたコレクタ端子と、接地されたエミッタ端子と、前記接続機器側給電用端子に接続されたベース端子とを有する  The first transistor has a collector terminal connected to the connected terminal, a grounded emitter terminal, and a base terminal connected to the connection device side power supply terminal.
請求項13に記載の電子機器システム。The electronic device system according to claim 13.
前記第2回路部は、  The second circuit unit includes:
前記被接続端子に接続されたコレクタ端子と、接地されたエミッタ端子とを有する第2トランジスタと、  A second transistor having a collector terminal connected to the connected terminal and a grounded emitter terminal;
前記第2トランジスタのベース端子に接続され、前記電子機器から前記接続機器側給電用端子を介して電力供給が開始されてから前記予め定められた期間が経過した場合に、前記第2トランジスタをオン動作させる制御回路と  The second transistor is connected to the base terminal of the second transistor, and the second transistor is turned on when the predetermined period of time has elapsed since the start of power supply from the electronic device via the connection device side power supply terminal. Control circuit to operate
を有する請求項14に記載の電子機器システム。The electronic device system according to claim 14, comprising:
前記Hレベルは、接地電位よりも高い電位レベルであり、  The H level is a potential level higher than the ground potential.
前記第1回路部は、  The first circuit unit includes:
前記被接続端子に接続されたコレクタ端子、接地されたエミッタ端子、および、前記接続機器側給電用端子に抵抗を介して接続されたベース端子を有するトランジスタ  A transistor having a collector terminal connected to the connected terminal, a grounded emitter terminal, and a base terminal connected to the connected device side power supply terminal via a resistor
を有し、Have
前記第2回路部は、  The second circuit unit includes:
前記抵抗に並列に接続されたキャパシタ  Capacitor connected in parallel with the resistor
を有する請求項11に記載の電子機器システム。The electronic device system according to claim 11, comprising:
前記接続機器は、  The connection device is
前記電子機器に対してUSBホストとして通信するUSBホストコントローラ  USB host controller that communicates with the electronic device as a USB host
をさらに有する請求項10から16のいずれか一項に記載の電子機器システム。The electronic device system according to any one of claims 10 to 16, further comprising:
前記接続機器は、  The connection device is
アンテナ部  Antenna part
をさらに有し、Further comprising
前記USBホストコントローラは、前記アンテナ部で受信した信号を、前記USB接続部が有するデータ端子を通じて前記電子機器に送信する  The USB host controller transmits a signal received by the antenna unit to the electronic device through a data terminal included in the USB connection unit.
請求項17に記載の電子機器システム。The electronic device system according to claim 17.
USBデバイスおよびUSBホストのいずれも接続可能なUSB接続部のID端子の電位を検出する検出ステップと、  A detection step of detecting the potential of the ID terminal of the USB connection unit to which both the USB device and the USB host can be connected;
前記ID端子の電位変化が検出された場合に、前記USB接続部に接続されている機器である接続機器へ前記USB接続部が有する給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器と通信する制御ステップと  When a change in the potential of the ID terminal is detected, power supply to a connected device that is a device connected to the USB connection unit is started via a power supply terminal included in the USB connection unit, and the USB connection unit A control step of communicating with the connected device connected to
をコンピュータに実行させ、To the computer,
前記制御ステップは、前記ID端子の電位がHレベルからLレベルに変化した場合に、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始し、前記USB接続部に接続されている前記接続機器へ前記給電用端子を介して電力供給を開始してから予め定められた期間内に前記ID端子の電位がLレベルからHレベルに変化した場合に、前記USB接続部に接続されている前記接続機器への前記給電用端子を介する電力供給を維持しつつ、前記USB接続部に接続されている前記接続機器と前記USB接続部を介してUSBデバイスとして通信する  In the control step, when the potential of the ID terminal changes from H level to L level, power supply to the connection device connected to the USB connection unit is started via the power supply terminal, and the USB terminal When the potential of the ID terminal changes from the L level to the H level within a predetermined period from the start of power supply to the connection device connected to the connection unit via the power supply terminal, Communicating as a USB device via the USB connection unit with the connection device connected to the USB connection unit while maintaining power supply via the power supply terminal to the connection device connected to the USB connection unit Do
プログラム。program.
JP2011079860A 2011-02-14 2011-03-31 Electronic device, electronic device system and program Active JP5382045B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2011079860A JP5382045B2 (en) 2011-03-31 2011-03-31 Electronic device, electronic device system and program
US13/372,764 US9047073B2 (en) 2011-02-14 2012-02-14 System method for detecting a type of device wherein a potential level of the device determines if power should be supplied based on the type of the device
IN409DE2012 IN2012DE00409A (en) 2011-02-14 2012-02-14
CN201210033206.5A CN102692986B (en) 2011-02-14 2012-02-14 Electronic appliance, connecting appliance, electronic appliance system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011079860A JP5382045B2 (en) 2011-03-31 2011-03-31 Electronic device, electronic device system and program

Publications (2)

Publication Number Publication Date
JP2012215993A JP2012215993A (en) 2012-11-08
JP5382045B2 true JP5382045B2 (en) 2014-01-08

Family

ID=47268716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011079860A Active JP5382045B2 (en) 2011-02-14 2011-03-31 Electronic device, electronic device system and program

Country Status (1)

Country Link
JP (1) JP5382045B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9606953B2 (en) * 2014-03-13 2017-03-28 Nokia Technologies Oy Method, apparatus, and computer program product for entering accessory docking mode in USB type C
JP6352674B2 (en) * 2014-04-24 2018-07-04 Necプラットフォームズ株式会社 Expansion device, device detection circuit and communication system
JP7025140B2 (en) * 2017-06-19 2022-02-24 Necプラットフォームズ株式会社 Power supply system
JP7256646B2 (en) 2018-04-11 2023-04-12 キヤノン株式会社 Electronic device and control method and program for electronic device
CN110248149B (en) * 2018-10-19 2022-07-19 浙江大华技术股份有限公司 Method and device for supplying power to DVR (digital video recorder)
CN109613451A (en) * 2019-01-23 2019-04-12 卓思韦尔(上海)信息科技发展有限公司 A kind of power supply monitoring control system applied to audio-visual system
JP7328055B2 (en) 2019-07-31 2023-08-16 キヤノン株式会社 ELECTRONIC DEVICE AND METHOD OF CONTROLLING ELECTRONIC DEVICE
JP7483482B2 (en) 2020-04-28 2024-05-15 キヤノン株式会社 Electronic device, control method, and program
KR20220073344A (en) * 2020-11-26 2022-06-03 삼성전자주식회사 An Electronic device with a connector

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3959374B2 (en) * 2003-06-30 2007-08-15 Tdk株式会社 USB interface system
JP4961999B2 (en) * 2006-12-25 2012-06-27 株式会社ニコン Electronics
JP2009130727A (en) * 2007-11-26 2009-06-11 Sony Corp Imaging apparatus, information processing device, communication system and program
JP5058083B2 (en) * 2008-06-25 2012-10-24 シャープ株式会社 Interface device
JP5251317B2 (en) * 2008-07-10 2013-07-31 株式会社ニコン Device equipment, host equipment and interface system

Also Published As

Publication number Publication date
JP2012215993A (en) 2012-11-08

Similar Documents

Publication Publication Date Title
JP5382045B2 (en) Electronic device, electronic device system and program
US9047073B2 (en) System method for detecting a type of device wherein a potential level of the device determines if power should be supplied based on the type of the device
US9563245B2 (en) Electronic device and computer readable medium
CN107800955B (en) Communication apparatus, control method of communication apparatus, and storage medium
US20140333828A1 (en) Portable camera dock
US11736790B2 (en) Electronic device and control method
US9635235B2 (en) Communication apparatus and control method thereof
US11082600B2 (en) Electronic apparatus that performs wireless communication with an image capturing device at two different communication speeds, and method for controlling same
JP2013115551A (en) Electronic apparatus and program
US10397870B2 (en) Electronic device that performs indication on a display when a wireless connection with an external device is disconnected
KR101670055B1 (en) Method for controlling the digital image processing appratus, digital image processing appratus, communication system
US10158801B2 (en) Image capturing apparatus communicating with an external apparatus and method for controlling the same and storage medium
US11265495B2 (en) Imaging device with USB PD-compliance detection based operation
US9635281B2 (en) Imaging apparatus method for controlling imaging apparatus and storage medium
US9967447B2 (en) Information processing system, handheld apparatus, control method, and computer-readable storage medium
CN111586229A (en) Electronic device, control method thereof, and storage medium
KR101238965B1 (en) Camera combined with smart device
JP6751642B2 (en) Communication equipment, its control method, programs and imaging system
JP2020060942A (en) Electronic device and control method therefor
JP2014057145A (en) Connection device and program
US10531387B2 (en) Communication apparatus for controlling interval of signal in communication with external apparatus, control method for the communication apparatus, and recording medium
US10411761B2 (en) Communication apparatus capable of communicating with external apparatus, control method, and recording medium
US10645269B2 (en) Communication apparatus for wirelessly communicating with external apparatus, method, and recording medium
JP6519606B2 (en) Electronic device and program
JP7076994B2 (en) Electronic devices and their control methods

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130617

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130916

R150 Certificate of patent or registration of utility model

Ref document number: 5382045

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250