JP2005050040A - Control method for electronic equipment, electronic equipment, and electronic camera - Google Patents
Control method for electronic equipment, electronic equipment, and electronic camera Download PDFInfo
- Publication number
- JP2005050040A JP2005050040A JP2003204689A JP2003204689A JP2005050040A JP 2005050040 A JP2005050040 A JP 2005050040A JP 2003204689 A JP2003204689 A JP 2003204689A JP 2003204689 A JP2003204689 A JP 2003204689A JP 2005050040 A JP2005050040 A JP 2005050040A
- Authority
- JP
- Japan
- Prior art keywords
- voltage
- connector
- electronic
- power supply
- camera
- 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.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は電子機器の制御方法および電子機器並びに電子カメラに係り、特に電子機器を外部から制御する制御技術に関する。
【0002】
【従来の技術】
近年、パーソナルコンピュータなどの電子機器にはUSB(Universal Serial Bus)やIEEE1394などのインターフェイスが標準的に搭載されるようになった。従来から搭載されているSCSIやセントロニクスなどのインターフェイスでは、インターフェイスごとに接続できる機器が決められており、例えばSCSIにはハードディスクやMO、CD−ROM等を接続でき、セントロニクスにはプリンタを接続することができる。一方、USBやIEEE1394はプリンタ、スキャナ、ハードディスクなど様々な周辺機器との接続をサポートしており、さらに、デジタルカメラ、デジタルビデオカメラなどの映像機器や、MDなどの音楽機器などを接続することが可能である。通信手段にUSBやIEEE1394などを適用することで、これらの機器から様々なデータをパーソナルコンピュータなどの電子機器に送ることが可能になった。また、USBやIEEE1394では各機器の電源を落とさずに接続したり接続を開放したりすることができるホットプラグ機能を有しているので、接続ケーブルの抜き差しを頻繁に行う機器では大変便利である。
【0003】
特許文献1に開示された画像読取方法及び装置では、USBインターフェイスを介してホストコンピュータとPCカメラを接続し、PCカメラからホストコンピュータへ画像データとキー入力手段から入力されるキー入力データを送る際に、画像データと同じパケットにキー入力データを追加して送るように構成されている。
【0004】
【特許文献1】
特開平11−134486号公報
【0005】
【発明が解決しようとする課題】
しかしながら、USBインターフェイスやIEEE1394インターフェイスは、主として機器間のデータ通信に使われているが、大量のデータを高速に送る場合には好ましくないことがある。動画像データや高画質画像データをデジタルカメラやデジタルビデオカメラからパーソナルコンピュータに送る場合には、USBやIEEE1394などのシリアル通信を用いるよりも、PCカード等の記録媒体を介したデータ授受の方が効率よくデータのやり取りができることがある。また、USBインターフェイスやIEEE1394インターフェイス専用の端子やインターフェイス回路を備えなければならず、小型化やコスト削減の妨げになることがある。
【0006】
特許文献1に開示された画像読取方法及び装置では、USBインターフェイスを介して画像データとキー入力手段によるキー入力データとを同時に送る際に、転送レートを低下させない転送方法が開示されているが、USBインターフェイスの他の利用方法については開示されていない。
【0007】
本発明はこのような事情を鑑みてなされたもので、データ通信用インターフェイスをデータ通信以外の用途に利用する電子機器の制御方法および電子機器並びに電子カメラを提供することを目的とする。
【0008】
【課題を解決するための手段】
前記目的を達成するために本発明に係る電子機器の制御方法は、少なくとも電源用端子を含んだコネクタを備え、前記コネクタを介して他の機器を接続可能な電子機器の制御方法であって、前記電源用端子に印加される電圧値を検出し、前記電圧値検出の検出結果に基づいて前記コネクタに接続されている機器を判断し、前記コネクタに接続される機器が該電子機器に制御信号を与える外部操作手段であると判断されると、前記外部操作手段から前記電源用端子に印加される電圧を該電子機器の制御信号として前記制御信号に対応した該電子機器の制御を行い、前記コネクタに接続される機器が該電子機器とデータ通信が可能な機器であると判断されると、前記機器から前記電源用端子に印加される電圧をデータ通信インターフェイス電源として供給し該電子機器と前記機器とのデータ通信を行うことを特徴としている。
【0009】
本発明によれば、電子機器に備えられたコネクタの電源用端子に印加される電圧を電圧検出手段により検出し、この検出結果に基づいて前記コネクタに接続された機器を判断する。前記コネクタに該電子機器を外部から操作可能な外部操作機器が接続されていると判断されると、この外部操作手段から前記コネクタの電源用端子に与えられる電圧を制御信号としてこの制御信号に対応した該電子機器の制御が実行される。したがって、新たにポートや端子を設けることなく既存のコネクタを利用して該電子機器を外部から操作することができる。
【0010】
コネクタには電源用端子の他にデータ用端子、制御信号用端子、コモン端子(共通基準電位端子)などを具備してもよい。
【0011】
電源用端子は該電子機器へ通信用や制御用電源を供給する端子であり、少なくとも基準電位(GND)端子と電源電位端子が含まれている。なお、基準電位は他の電源系統の基準電位と共通でもよい。電源電位は正電圧でもよいし、負電位でもよい。
【0012】
他の機器には該電子機器とデータ通信を行う機器、該電子機器に機能を追加する周辺機器、該電子機器を外部から操作、制御する機器などがあり、該電子機器はこれらの他の機器を電源を遮断せずに接続できることが好ましい。
【0013】
電源用端子に印加される電圧には変動範囲(誤差)が含まれていてもよい。電圧検出ではこの変動範囲を考慮する必要がある。
【0014】
また、前記目的を達成するために本発明に係る電子機器は、少なくとも電源用端子を含んだコネクタを備え、前記コネクタを介して他の機器を接続可能な電子機器であって、前記電子機器は、前記電源用端子に印加される電圧を検出する電圧検出手段と、前記電圧検出手段の検出結果に基づいて前記コネクタに接続された他の機器を判断する接続機器判断手段と、前記接続機器判断手段により前記コネクタに接続された他の機器が前記電子機器に制御信号を与えるとともに該制御信号により前記電子機器を外部から操作する外部操作手段であると判断されると、前記外部操作手段から前記電源用端子に印加された電圧を該電子機器の制御信号として前記制御信号に対応した該電子機器の制御を行う制御手段と、を備えたことを特徴としている。
【0015】
本発明によれば、電子機器に備えられた既存のコネクタを使用して該電子機器に新機能を追加することができる。
【0016】
制御信号には所定の電圧を印加する、しないによりオンオフの制御を行う態様、いくつかの電圧値によりその電圧値ごとに制御を切り換える態様などを適用可能である。もちろんデジタル信号を適用してもよい。
【0017】
外部操作手段には、例えば、該電子機器とコネクタを介して有線接続され、該電子機器の処理に対応した制御信号を送るリモートコントロール機器がある。
【0018】
本発明の一態様によれば、前記電圧検出手段は電圧検出における第1のしきい値と第2のしきい値とを備え、前記電圧検出手段により前記電源用端子への印加電圧が前記第1のしきい値以上前記第2のしきい値未満であるとともに前記電源用端子への印加電圧が所定の期間維持されたと検出されると、前記接続機器検出手段は前記コネクタに前記外部操作機器が接続されていると判断することを特徴としている。
【0019】
第1のしきい値および第2のしきい値は該コネクタに接続される外部操作機器や他の機器から該電子機器に与えられる信号や電源の規格に合わせて設定される。
【0020】
電源用端子への印加電圧が所定の期間維持されるか否かを検出する態様は、前記印加電圧が前記第1のしきい値を超えたタイミングからの期間を検出してもよいし、前記印加電圧が前記第1のしきい値を超えた後、前記印加電圧が安定してから(変動範囲が小さくなってから)期間を検出するように構成してもよい。
【0021】
また検出期間は前記コネクタに接続される機器に応じて好ましい値を設定するとよい。
【0022】
期間にも電圧と同様に変動範囲が含まれていてもよい。
【0023】
本発明の他の態様によれば、前記コネクタは、少なくとも通信用に規格化されたコネクタを含むことを特徴としている。
【0024】
規格化されたコネクタには、少なくともコネクタの形状や端子数などの機械的仕様、ピンアサインなどの電気的仕様のうち何れか一方が定められていればよい。好ましくは機械的仕様と電気的仕様との両方が定められているとよい。この他に入力インピーダンスや入出力時定数、対ノイズ性などが定められている態様が好ましい。
【0025】
通信用に規格化されたコネクタには通信プロトコルや通信仕様に合わせてコネクタの機械的仕様、電気的仕様が定められている。
【0026】
本発明のさらに他の態様によれば、前記外部操作手段は、前記電子機器に備えられた前記コネクタの電源用端子に印加する電圧を生成する電圧生成手段と、前記電圧生成手段によって生成された電圧を前記外部操作手段から前記コネクタの電源用端子に印加する際に操作されるスイッチ手段と、前記スイッチ手段の操作に応じて前記電子機器に前記電圧生成手段により生成された電圧を前記コネクタの電源用端子に印加する電圧印加手段と、を備えたことを特徴としている。
【0027】
かかる態様によれば、電圧を生成する電圧生成手段と、オンオフ操作を行うスイッチ手段と、電圧を該電子機器のコネクタに印加する電圧印加手段を備える簡易な構成により、該電子機器を外部から操作することが実現できる。
【0028】
スイッチ手段は操作部分を操作することにより電気回路の開閉を行うことができるスイッチ部材を含んでいる。操作部分を操作する代わりに信号入力により電気回路の開閉を行うものでもよい。
【0029】
スイッチ手段を複数備え、各スイッチ手段に異なる電圧に対応させた複数の制御信号として該電子機器に与えるように構成してもよい。
【0030】
また、本発明に係る電子カメラは、被写体像を撮像し画像データを生成する撮像手段を備えた電子カメラであって、前記電子カメラは、少なくとも電源用端子を含んだコネクタと、前記コネクタの電源用端子に印加される電圧を検出する電圧検出手段と、前記電圧検出手段の検出結果に基づいて前記コネクタに接続されている機器を判断する接続機器判断手段と、前記接続機器判断手段により前記コネクタに前記電子カメラに制御信号を与えるとともに前記制御信号により前記電子カメラを外部から操作する外部操作手段が接続されていると判断されると、前記外部操作手段から与えられる電圧を制御信号として該制御信号に対応した前記電子カメラの制御を実行する制御手段と、を備えたことを特徴としている。
【0031】
本発明によれば、電子カメラに備えられている既存のコネクタに接続されている機器を該コネクタの電源用端子に印加される電圧により検出し、該コネクタに外部操作手段が接続されると、この外部操作手段から前記コネクタの電源用端子に印加される電圧によって該電子カメラを外部から操作することが実現できる。新たに外部操作手段用にコネクタを設けたり、既存のコネクタにリモート端子を設けなくてもよい。
【0032】
本発明の一態様によれば、前記接続機器判断手段により前記コネクタに前記外部操作手段が接続されていると判断され、前記外部操作手段から与えられる制御信号を前記電子カメラが受け取ると、前記電子カメラは前記撮像手段による撮像制御を実行することを特徴としている。
【0033】
かかる態様によれば、既存のコネクタを電子レリーズ端子として流用することができる。
【0034】
本発明の他の態様によれば、前記接続機器検出手段により前記コネクタに前記電子カメラとデータ通信可能な機器が接続されていると判断されると、前記電子カメラと前記機器との間でデータ通信を行うデータ通信手段を備えたことを特徴としている。
【0035】
該コネクタには電子カメラが通常備えているデジタルインターフェイス用コネクタを適用することができる。該コネクタに該電子カメラとの間でデータ通信可能な機器を接続すると、該電子カメラと該コネクタに接続されている機器との間でデータ通信が行われる。
【0036】
デジタルインターフェイスにはUSBやIEEE1394などのシリアル通信インターフェイスを適用することができる。また、他の通信インターフェイスを適用してもよい。該電子カメラに接続される機器から該電子カメラへ通信用電源を供給する態様が好ましい。
【0037】
【発明の実施の形態】
以下、添付図面に従って本発明に係る電子機器および電子機器の制御方法並びに電子カメラの好ましい実施の形態について説明する。
【0038】
図1には本発明の実施形態に係るデジタルカメラ10と電子レリーズ12とを示している。
【0039】
カメラ10は、デジタル入力端子としてUSB端子14を備え、カメラ10の内部にはUSBインターフェイス16およびUSBデバイスコントローラ18が内蔵されている。カメラ10の撮像機能を用いて撮像された画像データやカメラ10に備えられた記録媒体に記録されている各種データはUSBインターフェイス16を介してパーソナルコンピュータ(PC)やプリンタなど他の電子機器へ伝送することができる。
【0040】
カメラ10は撮像制御や画像データの転送などの様々な制御を統括するCPU20を備えている。
【0041】
USBインターフェイス16において、D+およびD−はデータ伝送ラインであり、USBデバイスコントローラ18でシリアルデータに変換された各種データがこのデータ伝送ラインを介して他の電子機器に伝送される。また、VbusおよびGND(基準電位)はデータ伝送ラインの電源供給部である。
【0042】
カメラ10ではVbusはCPU20の任意の入力端子に接続され、CPU20によってVbus電圧の検出が行われる。
【0043】
D+にはプルアップ抵抗である抵抗器(1.5KΩ)22が接続され、またD+およびD−には抵抗器(27Ω)24および抵抗器(27Ω)26が挿入されている。なお、抵抗器22、抵抗器24および抵抗器26の抵抗値は回路設計に応じて変更可能である。
【0044】
電子レリーズ12は、電池(出力電圧1.5V)30、スイッチ32を有し、これらは接続ケーブルを介してカメラ10のUSB端子14に接続される。電子レリーズ12の信号出力部の形態はコネクタ(端子)であってもよいし、カメラ10のUSB端子14と勘合する端子を端部に備えたケーブルが電子レリーズ12の本体から出ていてもよい。電子レリーズ12の出力部には出力電流を制限する抵抗器を備えることが好ましい。
【0045】
カメラ10と電子レリーズ12とが接続されると、電池30の正極側はスイッチ32を経由してカメラ10のVbus電圧検出部(CPU20の任意の入力端子)と接続され、電池の負極側はカメラ10のGNDと接続される。本実施形態ではCPU20がVbus電圧検出部を兼ねているが、別途電圧検出手段を備える構成でもよい。
【0046】
また、カメラ10のD+、D−は未接続(オープン、ハイインピーダンス)でもよいし、Lレベル信号あるいはHレベル信号のうち何れか一方を印加してもよい。
【0047】
電子レリーズ12のスイッチ32をオン操作すると、電池30の出力電圧がカメラ10のVbus電圧検出部に印加され、スイッチ32をオフ操作すると、カメラ10のVbus電圧検出部への電池30の出力電圧印加が解除される。
【0048】
本実施形態では電池30の電圧には乾電池を適用し、その電圧には1.5Vを適用する。ただし、電池30はリチウム電池、ニッケル水素電池など乾電池以外の電池を適用可能であり、また、適用される電池に合わせて2.0Vや3.3Vなどの電圧を適用可能である。
【0049】
電子レリーズ12のスイッチ32のオン操作により、電池30の出力電圧がカメラ10のVbus電圧検出部に印加されると、CPU20はカメラ10内の制御部にレリーズオンの指令を発し、カメラ10の撮像処理が開始される。なお、スイッチ32のオン操作に応じたカメラ10の処理はレリーズオンに限定されない。
【0050】
この制御信号をレリーズオン以外の機能に割り付けると、カメラ10の汎用制御信号として使用することができる。ただし、単なるオン/オフ制御などの簡単な制御に適用することが好ましい。また、カメラ10の何れの機能に該制御信号を割り付けるかユーザインターフェイスを介して制御プログラム上でユーザが設定できるように構成すると便利である。
【0051】
すなわち、USB端子14に電子レリーズ12を接続し、電子レリーズ12からカメラ10を遠隔操作(リモートコントロール)することができ、USB端子14をリモート端子として機能させることが可能になる。また、パソコンなどが無くとも遠隔シャッター操作が可能である。
【0052】
スイッチ32には押しボタンスイッチやレバースイッチなど様々な形態のスイッチ部材を適用可能である。また、オン操作を行うとオン状態が保持されるラッチ型スイッチを適用してもよいし、ボタン押下などのオン操作を行っている間のみオン状態を維持するモーメンタリ型スイッチを適用してもよい。
【0053】
電池30はDCDCコンバータや他の電源供給デバイスを適用してもよい。出力電圧の変動を抑制する安定化回路を付加する態様が好ましい。
【0054】
図2にはカメラ10のUSB端子14にUSBホスト34を接続した場合を示している。図2中図1と同一または類似する部分には同一の符号を付し、その説明は省略する。
【0055】
USBホスト34はPCやプリンタなどのUSB対応機器が適用され、USBホスト34のVbusラインからカメラ10のVbusラインへ電圧を印加する。言い換えると、USBホスト34からカメラ10のUSBインターフェイスへ電源が供給されることになる。USBホスト34からカメラ10へ供給される電圧値はUSB規格によって規定されており、4.75V以上5.25V以下の直流電圧が適用される。
【0056】
USBホスト34はUSBホストコントローラ36を介してカメラ10から伝送される各種データを受け取り、画像記録、画像処理およびプリントなどの処理を実行する。
【0057】
USBホスト側のD+ラインには誤動作を防止するためにプルダウン抵抗である抵抗器38(15KΩ)が接続されている。
【0058】
カメラ10のUSB端子14は、USB端子14に電子レリーズ12を接続すると、USB端子14内に新たに端子やポートを備えなくても、USB端子14はリモート端子として機能し、また、USB端子14にUSBホストなどUSB対応機器を接続するとUSB端子として機能するように構成されている。
【0059】
図3はカメラ10のブロック図である。
【0060】
カメラ10は撮影レンズ40とCCDイメージセンサ(以下、CCDという。)42を有し、CCD42から得られる画像信号を処理するためのアナログ処理部44、A/D変換器45、画像処理部46、圧縮伸張部47を備えている。なお、本例では撮像素子としてCCDを用いるが、CCD型に限らず、CMOS型など他の方式によるデバイスを用いてもよい。
【0061】
撮影レンズ40を通過した光はCCD42の受光面の上に焦点を結ぶ。CCD42の受光面には多数のフォトセンサ(受光素子)が平面的に配列され、各フォトセンサに対応して赤(R)、緑(G)、青(B)の原色カラーフィルタが所定の配列構造で配置されている。RGBカラーフィルタに代えて、CMY等のカラーフィルタを用いることもできる。
【0062】
CCD42の受光面に結像された被写体像は、各フォトセンサによって入射光量に応じた量の信号電荷に変換される。CCD42は、シャッタゲートパルスのタイミングによって各フォトセンサの電荷蓄積時間(シャッタスピード)を制御する電子シャッター機能を有している。
【0063】
CCD42の各フォトセンサに蓄積された信号電荷は、CPU20の指令に従いタイミングジェネレータ(TG)48から与えられるパルス(水平駆動パルスφH,垂直駆動パルスφV,オーバーフロードレインパルス)に基づいて信号電荷に応じた電圧信号(画像信号)として順次読み出される。CCD42から出力された画像信号は、アナログ処理部44に送られ、相関二重サンプリング(CDS)処理やゲイン調整などの所要の処理が施された後、A/D変換器45によってデジタル信号に変換される。デジタル化された画像データは画像処理部46に送られる。
【0064】
画像処理部46は、同時化回路(単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して各点の色を計算する処理回路)、輝度・色差信号生成回路、ガンマ補正回路、輪郭補正回路、ホワイトバランス補正回路等を含むデジタル画像信号処理手段であり、CPU20からのコマンドに従ってメモリ50を活用しながら画像信号を処理する。
【0065】
画像処理部46において、ホワイトバランス調整処理、ガンマ変換処理、輝度信号(Y信号)及び色差信号(Cr,Cb 信号)への変換処理(YC処理)など、所定の処理が施されて生成された画像データはメモリ50に一時的に記憶される。ここで、撮影中の映像をディスプレイ52に表示させる場合には、このメモリ50の内容を読み出して表示回路54に送り、表示回路54において表示用の信号形式に変換した後、ディスプレイ52に供給する。これにより、ディスプレイ52にはCCD42が捉えているリアルタイム映像(スルー画)が表示され、撮影者はディスプレイ16に映し出される映像によって撮影画角(構図)を確認できる。なお、図1に示した画像処理部46には、CPU20および画像処理部46が含まれている。
【0066】
操作部56のレリーズボタン58が押されると、CPU20はこれを検知して、記録用の撮影動作を実行する。取り込まれた記録用の画像データは、画像処理部46において輝度・色差信号変換処理(YC処理)その他の所定の信号処理を経た後、圧縮伸張部47に送られ、ここで所定の圧縮フォーマット(例えば、JPEG形式) に従って圧縮される。圧縮された画像データは、メモリ50の画像保存領域に格納される。
【0067】
カメラ10にはデジタル端子としてUSB端子14を適用したが、デジタル端子にはIEEE1394など他のインターフェイスを適用してもよい。また、USB端子とIEEE1394端子とを双方備えてもよい。
【0068】
図4には、USB端子14に電子レリーズ12を接続した場合とUSBホストを接続した場合とのVbus電圧の時間変化を表したグラフ100が示されている。グラフ100のたて軸はVbus電圧を示し、横軸は時間を示している。
【0069】
曲線102はUSB端子14にUSBホスト34を接続した場合のVbus電圧であり、曲線104はUSB端子14に電子レリーズ12を接続した場合のVbus電圧である。
【0070】
接続開始から一定期間が経過すると、USB端子14に電子レリーズ12を接続した場合には、Vbusライン電圧は略1.5Vに収束し、一方、USB端子14にUSBホスト34を接続した場合には、Vbus電圧はUSB規格に定められた4.75V以上5.25V以下の電圧に収束する。
【0071】
接続開始から電圧収束までに要する時間は、USB端子14やUSBインターフェイス16の入力容量(入力キャパシタンス)によって決まり、機器ごとに個体差が存在する。この個体差を解消するように電子レリーズ12が構成されることが好ましい。
【0072】
図1に示したカメラ10のVbus電圧検出部(CPU20)では、Vbus電圧にしきい値V0 およびしきい値V1 が設定されている。
【0073】
Vbus電圧がV0 以上V1 未満の条件を、V0 を超えたタイミングt0 から期間T0 の間維持されると、CPU20はUSB端子14に電子レリーズ12が接続されたと認識する。
【0074】
一方、Vbusラインの電圧がV1 以上の条件を、V1 を超えたタイミングt1 から期間T1 間維持されると、CPU20はUSB端子14にUSBホスト34が接続されたと認識する。
【0075】
電池30の種類や電子レリーズ12により制御するカメラ10の機能に合わせてV0 、V1 、T0 、T1 を好ましい値に設定する必要がある。
【0076】
例えば、電池30に出力電圧1.5Vの電池(乾電池等)を適用すると、V1 は1.0Vに設定するとよく、V1 はVbusの規格値考慮して4.5Vに設定するとよい。T0 およびT1 はVbusラインの容量成分による機器ごとの個体差を考慮して100msec程度に設定するとよい。制御する機能によってT0 は50msec程度に設定するとよい。これらの値は設計上好ましい値であり、もちろん他の値を用いることも可能である。
【0077】
図5は、上述したVbus電圧検出の制御の流れを示したフローチャートである。
【0078】
USB端子14に外部機器が接続されると、本制御が開始され(ステップS10)、まず、Vbus電圧検出部(CPU20)によってVbus電圧が読み取られ(ステップS12)、ステップS14に進む。
【0079】
ステップS14ではVbus電圧を監視し、Vbus電圧がV0 以上V1 未満の条件を、V0 を超えたタイミングt0 から期間T0 の間維持されない場合には(NO判定)、ステップS16に進む。
【0080】
ステップS16では、Vbus電圧がV1 以上の条件を、V1 を超えたタイミングt1 から期間T1 の間維持されないと(NO判定)、ステップS12に戻る。
【0081】
Vbus電圧がV1 以上の条件を、V1 を超えたタイミングt1 から期間T1 の間維持された場合には(YES判定)、USB端子14にはUSBホスト34が接続されていると認識され、USBインターフェイス16を介してデータ通信が実行される(ステップS18)。
【0082】
ステップS18において所定のデータ通信が実行されると、Vbus電圧検出制御が終了される(ステップS20)。
【0083】
一方、ステップS14において、Vbus電圧がV0 以上V1 未満の条件を、タイミングt0 から期間T0 の間維持された場合には(YES判定)、USB端子14には電子レリーズ12が接続されていると認識され、電子レリーズ12によるカメラ10の遠隔操作が可能になり(ステップS22)、Vbus電圧検出制御が終了される(ステップS24)。
【0084】
期間T0 、T1 の検出開始タイミングは、電圧値の変動範囲が予め定められた範囲内に収束したタイミングとしてもよい。すなわち、しきい値を超えたタイミングではなく、電圧が安定したタイミングから期間を検出してもよい。
【0085】
本実施形態ではUSB端子14を用いた遠隔操作制御を例示したが、本発明の適用範囲はUSBインターフェイスに限定されず、IEEE1394など他のデジタルインターフェイスにも適用可能である。ただし、ホットプラグ機能がサポートされたデジタルインターフェイスを適用することが好ましい。
【0086】
上記の如く構成されたデジタルカメラ10はUSBインターフェイスのVbus電圧を検出するVbus電圧検出部を備え、このVbus電圧検出の結果に基づいてUSB端子14にUSBホスト34が接続されているか、あるいは電子レリーズ12が接続されているかを認識する。USB端子を電子レリーズ端子などのリモート端子として流用し、簡単な構造の電子レリーズなどのリモコン機器を接続することで、デジタルカメラ10のシャッター操作などの操作を遠隔操作することが可能になる。また、新たに電子レリーズなどのリモート端子を備えなくともよく、さらにパソコンなどの機器が無くともデジタルカメラ10の遠隔操作が可能になる。
【0087】
さらに、カメラ10に、電子レリーズ12が接続されているか、あるいはUSBホストが接続されているかを表示させるように構成すると便利である。表示の態様はディスプレイ52に文字情報や画像情報などで表示してもよいし、LED等の表示手段を別途設けてもよい。
【0088】
図6乃至図8を用いて、本実施形態の応用例を説明する。
【0089】
図6は、図1に示した電子レリーズ12にスイッチを2つ備え、2種類の遠隔制御を可能にした電子レリーズ200をカメラ10に接続した図である。図6中図1と同一または類似する部分には同一の符号を付し、その説明は省略する。
【0090】
電子レリーズ200は電子レリーズ12にスイッチ202(以下スイッチ2と記載)が追加されている。スイッチ202の一方はVbusラインに接続され、もう一方は定電圧ダイオード204による定電圧回路に接続されている。すなわち、スイッチ2のもう一方は定電圧ダイオード204のカソードに接続され、定電圧ダイオード204のカソードは電子レリーズ200の基準電位(電池30の負極側)に接続される。
【0091】
また、電池30には、コンデンサ206が並列に接続されており、スイッチ32(以下スイッチ1と記載)オン時の電圧の立ち上がり特性が改善されている。コンデンサ206の静電容量値はUSBインターフェイス16の規格に合わせて好ましい値を設定するとよい。
【0092】
次に、電子レリーズ200の動作について説明する。
【0093】
カメラ10と電子レリーズ200が接続され、スイッチ1がオン操作されると、上述したとおり、カメラ10のVbusラインには電池30の出力電圧1.5Vが印加される。スイッチ1のオンの状態でさらにスイッチ2のオン操作がなされると、定電圧ダイオード204が逆バイアスとなり、カメラ10のVbusラインには電池30の出力電圧に代わり、定電圧ダイオード204のツェナー電圧が印加される。
【0094】
本実施形態では定電圧ダイオード204のツェナー電圧には0.7Vを適用し、スイッチ2のオン操作に応じてVbusラインに印加される電圧は0.7Vになり、電子レリーズ200によるカメラ10遠隔制御を2段階で行うことができる。ただし、定電圧ダイオードのツェナー電圧は0.7Vに限定されず、図4に示した電圧V0 以下であればよい。
【0095】
定電圧ダイオードのツェナー電圧を安定させるために、定電圧ダイオード204のアノードと電子レリーズ200の基準電位との間に抵抗器を備えるとよい。該抵抗器の抵抗値は定電圧ダイオード204の特性に応じて適宜選定するとよい。また、該定電圧回路は定電圧ダイオードを用いたものに限定されず、DCDCコンバータを用いてもよいし、他の定電圧回路を用いてもよい。
【0096】
図7にカメラ10のUSB端子14に電子レリーズ200を接続した場合のVbusライン印加電圧の時間変化を表すグラフ220を示す。なお、図7中図4と同一または類似する部分には同一の符号を付し、その説明は省略する。
【0097】
カメラ10では、電子レリーズ200のスイッチ1オン状態においてスイッチ2がオン操作されると、スイッチ2がオン操作されたタイミングt2 から一定期間経過後にVbus電圧は0.7Vに収束する。
【0098】
スイッチ2がオン操作されたタイミングからVbus電圧が0.7Vに収束するまでの期間は定電圧ダイオード204の個体差より機器間での個体差が存在する。この個体差を解消するように電子レリーズ200を構成することが好ましい。
【0099】
また、カメラ10ではスイッチ2のオン操作時におけるしきい値V2 が設定される。しきい値V2 はツェナー電圧の変動と検出時間を考慮して設定される。一般に、ツェナー電圧が0.7Vの定電圧ダイオードを定電圧回路に適用した場合には、しきい値V2 を0.5Vに設定するとよい。
【0100】
電子レリーズ200のスイッチ2がオン操作され、Vbus電圧がV2 以上V0 未満の条件を、スイッチ2のオン操作のタイミングt2 から期間T2 の間維持されると、カメラ10のVbus電圧検出手段(CPU20)によって、電子レリーズ200のスイッチ2のオン操作がなされたと判断され、スイッチ1とスイッチ2とがオン操作された場合に割り付けられたカメラ10の処理を実行する。
【0101】
図8は、上述した電子レリーズ200を用いた場合のVbus電圧検出の制御の流れを示したフローチャートである。なお、図8中図5と同一または類似する部分には同一の符号を付し、その説明は省略する。
【0102】
図5に示したステップS14においてVbus電圧がV0 以上V1 未満の条件を、V0 を超えたタイミングt0 から期間T0 の間維持しない場合には(NO判定)、ステップS15に進み、ステップS15ではVbus電圧がV2 以上V0 未満の条件を、V0 未満となったタイミングt2 から期間T2 の間維持されるか否かを検出する。
【0103】
Vbus電圧がV2 以上V0 未満の条件を、V0 未満となったタイミングt2 から期間T2 の間維持されない場合には(NO判定)、ステップS16に進む。
【0104】
一方、Vbus電圧がV2 以上V0 未満の条件を、V0 未満となったタイミングt2 から期間T2 の間維持された場合には(YES判定)、スイッチ1とスイッチ2とがオン操作された場合に対応した処理が実行され(ステップS26)、Vbus電圧検出制御は終了される(ステップS28)。
【0105】
上述した電子レリーズ200の遠隔制御の一例を挙げると、スイッチ1およびスイッチ2をカメラ10のレリーズ操作に割り付け、スイッチ1のオン操作をレリーズ半押し、スイッチ1とスイッチ2とのオン操作をレリーズ全押しとする制御が実現できる。
【0106】
なお、本実施形態に示す抵抗値、電圧値、期間などの数値は一例であり、本発明の適用範囲を限定するものではない。
【0107】
また、電子レリーズに備えるスイッチは1個または2個に限定されず、3個以上のスイッチを備えてもよい。ただし、スイッチの数が多くなると、細かい電圧制御が必要になる。
【0108】
本実施形態ではデジタルカメラを例示したが、本発明の適用範囲はデジタルカメラに限定されず、USBなどのデジタルインターフェイスを備えた電子機器に広く適用可能である。
【0109】
例えば、プリンタに電子レリーズ12(電子レリーズ200)を接続し、電子レリーズ12のスイッチ32オン操作をプリント開始に割り付ける態様や、スキャナに電子レリーズ12(電子レリーズ200)を接続し、電子レリーズ12のスイッチ32オン操作をスキャン開始に割り付ける態様などが考えられる。
【0110】
【発明の効果】
本発明によれば、少なくとも電源用端子を含んだコネクタを備えた電子機器において、前記電源用端子に印加される電圧を検出し、この検出結果に基づいて前記コネクタに接続されている機器を判断する。前記コネクタに該電子機器を外部から制御可能な外部操作手段が接続されていると、この外部操作手段から印加される電圧を制御信号として、該制御信号に対応した該電子機器内の制御が実行される。外部操作手段用のコネクタや既存のコネクタ内に外部操作手段用の端子を備えなくとも、既存のコネクタとその端子とを利用して該電子機器を外部から操作することが実現できる。
【0111】
外部操作手段は、電圧生成手段と、出力電圧のオンオフを行うスイッチ手段と、電圧出力手段とから成り、前記のような簡単な構成により該電子機器の制御を外部から行うことができる。
【0112】
本発明を電子カメラに適用すると、データ通信用コネクタを利用して電子カメラ外部からの操作が可能になる。外部からの操作にはシャッターボタンなどを適用できる。
【図面の簡単な説明】
【図1】本発明の実施形態に係るデジタルカメラと電子レリーズを説明する図
【図2】図1の電子レリーズに代わりデジタルカメラにUSBホストを接続した図
【図3】本発明の実施形態に係るデジタルカメラのブロック図
【図4】Vbus電圧検出を説明する図
【図5】Vbus電圧検出の制御の流れを示したフローチャート
【図6】図1の電子レリーズの応用例を示す図
【図7】図6の電子レリーズを用いた場合のVbus電圧検出を説明する図
【図8】図7に示したVbus電圧検出の制御の流れを示したフローチャート
【符号の説明】
10…デジタルカメラ、12,200…電子レリーズ、14…USB端子、16…USBインターフェイス、18…USBコントローラ、20…CPU、32,202…スイッチ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method for controlling an electronic device, an electronic device, and an electronic camera, and more particularly to a control technique for controlling the electronic device from the outside.
[0002]
[Prior art]
In recent years, interfaces such as USB (Universal Serial Bus) and IEEE 1394 have come to be standardly installed in electronic devices such as personal computers. Conventionally installed interfaces such as SCSI and Centronics determine the devices that can be connected to each interface. For example, a hard disk, MO, CD-ROM, etc. can be connected to SCSI, and a printer can be connected to Centronics. Can do. On the other hand, USB and IEEE 1394 support connection with various peripheral devices such as printers, scanners, and hard disks. Furthermore, video devices such as digital cameras and digital video cameras, and music devices such as MDs can be connected. Is possible. By applying USB, IEEE1394, or the like as the communication means, various data can be sent from these devices to electronic devices such as personal computers. Also, USB and IEEE 1394 have a hot plug function that can be connected and disconnected without turning off the power of each device, so it is very convenient for devices that frequently connect and disconnect connection cables. .
[0003]
In the image reading method and apparatus disclosed in Patent Document 1, a host computer and a PC camera are connected via a USB interface, and image data and key input data input from a key input unit are transmitted from the PC camera to the host computer. In addition, key input data is added to the same packet as the image data and sent.
[0004]
[Patent Document 1]
JP-A-11-134486
[0005]
[Problems to be solved by the invention]
However, the USB interface and the IEEE1394 interface are mainly used for data communication between devices, but may not be preferable when a large amount of data is sent at high speed. When moving image data or high-quality image data is sent from a digital camera or digital video camera to a personal computer, data transfer via a recording medium such as a PC card is more preferable than serial communication such as USB or IEEE1394. You may be able to exchange data efficiently. In addition, terminals and interface circuits dedicated to the USB interface and IEEE1394 interface must be provided, which may hinder downsizing and cost reduction.
[0006]
The image reading method and apparatus disclosed in Patent Document 1 discloses a transfer method that does not reduce the transfer rate when simultaneously sending image data and key input data by the key input means via the USB interface. Other methods of using the USB interface are not disclosed.
[0007]
The present invention has been made in view of such circumstances, and an object thereof is to provide an electronic device control method, an electronic device, and an electronic camera that use a data communication interface for purposes other than data communication.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, a method for controlling an electronic device according to the present invention includes a connector including at least a power supply terminal, and is a method for controlling an electronic device that can be connected to another device via the connector. A voltage value applied to the power supply terminal is detected, a device connected to the connector is determined based on a detection result of the voltage value detection, and a device connected to the connector receives a control signal from the electronic device. If it is determined that the external operation means to give the voltage to the terminal for power supply from the external operation means to control the electronic device corresponding to the control signal as a control signal of the electronic device, When it is determined that the device connected to the connector is a device capable of data communication with the electronic device, a voltage applied from the device to the power terminal is used as a data communication interface power supply. It is characterized by performing data communication with the electronic device and the device to supply Te.
[0009]
According to the present invention, the voltage applied to the power supply terminal of the connector provided in the electronic device is detected by the voltage detection means, and the device connected to the connector is determined based on the detection result. When it is determined that an external operation device capable of operating the electronic device from the outside is connected to the connector, the voltage supplied from the external operation means to the power supply terminal of the connector corresponds to the control signal. The control of the electronic device is executed. Therefore, the electronic device can be operated from the outside using an existing connector without providing a new port or terminal.
[0010]
In addition to the power supply terminal, the connector may include a data terminal, a control signal terminal, a common terminal (common reference potential terminal), and the like.
[0011]
The power supply terminal is a terminal for supplying communication and control power to the electronic device, and includes at least a reference potential (GND) terminal and a power supply potential terminal. Note that the reference potential may be the same as the reference potential of another power supply system. The power supply potential may be a positive voltage or a negative potential.
[0012]
Other devices include a device that performs data communication with the electronic device, a peripheral device that adds a function to the electronic device, a device that operates and controls the electronic device from the outside, and the electronic device is the other device. Can be connected without shutting off the power supply.
[0013]
The voltage applied to the power supply terminal may include a fluctuation range (error). It is necessary to consider this fluctuation range in voltage detection.
[0014]
In order to achieve the above object, an electronic apparatus according to the present invention is an electronic apparatus that includes a connector including at least a power supply terminal, and can be connected to another apparatus via the connector. A voltage detecting means for detecting a voltage applied to the power supply terminal; a connected equipment judging means for judging another equipment connected to the connector based on a detection result of the voltage detecting means; and the connected equipment judging When it is determined that another device connected to the connector by the means is an external operation unit that gives a control signal to the electronic device and operates the electronic device from the outside based on the control signal, the external operation unit And a control means for controlling the electronic device corresponding to the control signal using the voltage applied to the power supply terminal as a control signal of the electronic device.
[0015]
ADVANTAGE OF THE INVENTION According to this invention, a new function can be added to this electronic device using the existing connector with which the electronic device was equipped.
[0016]
A mode in which on / off control is performed without applying a predetermined voltage to the control signal, a mode in which control is switched for each voltage value according to several voltage values, and the like can be applied. Of course, a digital signal may be applied.
[0017]
As the external operation means, for example, there is a remote control device that is wired to the electronic device via a connector and sends a control signal corresponding to the processing of the electronic device.
[0018]
According to an aspect of the present invention, the voltage detection unit includes a first threshold value and a second threshold value for voltage detection, and the voltage detection unit applies the voltage applied to the power supply terminal. When it is detected that the voltage applied to the power supply terminal is maintained for a predetermined period while being greater than or equal to a threshold value of 1 and less than the second threshold value, the connected device detection means connects the external operation device to the connector. It is characterized that it is determined that is connected.
[0019]
The first threshold value and the second threshold value are set in accordance with a signal or power supply standard supplied to the electronic device from an external operating device or other device connected to the connector.
[0020]
In the aspect of detecting whether or not the applied voltage to the power supply terminal is maintained for a predetermined period, the period from the timing when the applied voltage exceeds the first threshold value may be detected. After the applied voltage exceeds the first threshold value, the period may be detected after the applied voltage is stabilized (after the fluctuation range becomes small).
[0021]
The detection period may be set to a preferable value according to the device connected to the connector.
[0022]
Similarly to the voltage, the period may include a variation range.
[0023]
According to another aspect of the present invention, the connector includes at least a connector standardized for communication.
[0024]
For the standardized connector, at least one of mechanical specifications such as the shape of the connector and the number of terminals and electrical specifications such as pin assignment may be determined. Preferably, both mechanical specifications and electrical specifications are determined. In addition, it is preferable that the input impedance, the input / output time constant, the noise resistance, etc. are defined.
[0025]
For connectors standardized for communication, mechanical and electrical specifications of the connector are determined according to the communication protocol and communication specifications.
[0026]
According to still another aspect of the present invention, the external operation means is generated by a voltage generation means for generating a voltage to be applied to a power supply terminal of the connector provided in the electronic device, and the voltage generation means. Switch means that is operated when a voltage is applied from the external operation means to the power supply terminal of the connector, and the voltage generated by the voltage generation means in the electronic device according to the operation of the switch means. And a voltage applying means for applying the voltage to the power supply terminal.
[0027]
According to this aspect, the electronic device can be operated from the outside by a simple configuration including a voltage generating unit that generates a voltage, a switch unit that performs an on / off operation, and a voltage applying unit that applies a voltage to the connector of the electronic device. Can be realized.
[0028]
The switch means includes a switch member that can open and close the electric circuit by operating the operation portion. An electric circuit may be opened and closed by inputting a signal instead of operating the operation part.
[0029]
A plurality of switch means may be provided, and each switch means may be provided to the electronic device as a plurality of control signals corresponding to different voltages.
[0030]
An electronic camera according to the present invention is an electronic camera including an imaging unit that captures a subject image and generates image data, the electronic camera including a connector including at least a power supply terminal, and a power source for the connector. A voltage detecting means for detecting a voltage applied to the terminal, a connected device determining means for determining a device connected to the connector based on a detection result of the voltage detecting means, and the connector by the connected device determining means. When a control signal is supplied to the electronic camera and an external operation means for operating the electronic camera from the outside is determined to be connected by the control signal, the voltage supplied from the external operation means is used as the control signal. Control means for executing control of the electronic camera corresponding to the signal.
[0031]
According to the present invention, when a device connected to an existing connector provided in an electronic camera is detected by a voltage applied to a power supply terminal of the connector, and an external operation means is connected to the connector, The electronic camera can be externally operated by a voltage applied from the external operation means to the power supply terminal of the connector. It is not necessary to newly provide a connector for external operation means or to provide a remote terminal on an existing connector.
[0032]
According to one aspect of the present invention, when the connection device determination unit determines that the external operation unit is connected to the connector, and the electronic camera receives a control signal provided from the external operation unit, the electronic device The camera is characterized by executing imaging control by the imaging means.
[0033]
According to this aspect, an existing connector can be used as an electronic release terminal.
[0034]
According to another aspect of the present invention, when the connected device detecting means determines that a device capable of data communication with the electronic camera is connected to the connector, data is transmitted between the electronic camera and the device. A data communication means for performing communication is provided.
[0035]
As the connector, a digital interface connector usually provided in an electronic camera can be applied. When a device capable of data communication with the connector is connected to the connector, data communication is performed between the electronic camera and the device connected to the connector.
[0036]
A serial communication interface such as USB or IEEE 1394 can be applied to the digital interface. Other communication interfaces may be applied. It is preferable that communication power is supplied to the electronic camera from a device connected to the electronic camera.
[0037]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of an electronic device, a method for controlling the electronic device, and an electronic camera according to the present invention will be described below with reference to the accompanying drawings.
[0038]
FIG. 1 shows a
[0039]
The
[0040]
The
[0041]
In the
[0042]
In the
[0043]
A resistor (1.5 KΩ) 22 which is a pull-up resistor is connected to D +, and a resistor (27Ω) 24 and a resistor (27Ω) 26 are inserted into D + and D−. The resistance values of the
[0044]
The
[0045]
When the
[0046]
Further, D + and D− of the
[0047]
When the switch 32 of the
[0048]
In the present embodiment, a dry battery is applied to the voltage of the
[0049]
When the output voltage of the
[0050]
If this control signal is assigned to a function other than release on, it can be used as a general-purpose control signal for the
[0051]
That is, the
[0052]
Various types of switch members such as push button switches and lever switches can be applied to the switch 32. In addition, a latch type switch that maintains the on state when the on operation is performed may be applied, or a momentary switch that maintains the on state only during the on operation such as a button press may be applied. .
[0053]
The
[0054]
FIG. 2 shows a case where a
[0055]
The
[0056]
The
[0057]
A resistor 38 (15 KΩ), which is a pull-down resistor, is connected to the D + line on the USB host side in order to prevent malfunction.
[0058]
When the
[0059]
FIG. 3 is a block diagram of the
[0060]
The
[0061]
The light that has passed through the photographing
[0062]
The subject image formed on the light receiving surface of the
[0063]
The signal charges accumulated in each photosensor of the
[0064]
The
[0065]
The
[0066]
When the release button 58 of the
[0067]
Although the
[0068]
FIG. 4 shows a
[0069]
A
[0070]
When a certain period of time elapses from the start of connection, when the
[0071]
The time required from the start of connection to voltage convergence is determined by the input capacity (input capacitance) of the
[0072]
In the Vbus voltage detection unit (CPU 20) of the
[0073]
Vbus voltage is V 0 V 1 Less than V 0 Timing t beyond 0 To period T 0 The
[0074]
On the other hand, the voltage of the Vbus line is V 1 The above conditions are 1 Timing t beyond 1 To period T 1 If maintained for a while, the
[0075]
V according to the type of
[0076]
For example, when a battery (dry battery or the like) with an output voltage of 1.5 V is applied to the
[0077]
FIG. 5 is a flowchart showing a flow of control of the above-described Vbus voltage detection.
[0078]
When an external device is connected to the
[0079]
In step S14, the Vbus voltage is monitored, and the Vbus voltage is V 0 V 1 Less than V 0 Timing t beyond 0 To period T 0 If not maintained (NO determination), the process proceeds to step S16.
[0080]
In step S16, the Vbus voltage is V 1 The above conditions are 1 Timing t beyond 1 To period T 1 If not maintained (NO determination), the process returns to step S12.
[0081]
Vbus voltage is V 1 The above conditions are 1 Timing t beyond 1 To period T 1 If it is maintained for a while (YES determination), it is recognized that the
[0082]
When predetermined data communication is executed in step S18, the Vbus voltage detection control is ended (step S20).
[0083]
On the other hand, in step S14, the Vbus voltage is V 0 V 1 If the condition is less than the timing t 0 To period T 0 If it is maintained for a while (YES determination), it is recognized that the
[0084]
Period T 0 , T 1 The detection start timing may be a timing at which the fluctuation range of the voltage value converges within a predetermined range. That is, the period may be detected not from the timing when the threshold value is exceeded but from the timing when the voltage is stabilized.
[0085]
In the present embodiment, the remote operation control using the
[0086]
The
[0087]
Furthermore, it is convenient if the
[0088]
An application example of this embodiment will be described with reference to FIGS.
[0089]
FIG. 6 is a diagram in which the
[0090]
In the
[0091]
Further, a
[0092]
Next, the operation of the
[0093]
When the
[0094]
In this embodiment, 0.7V is applied to the Zener voltage of the
[0095]
In order to stabilize the Zener voltage of the constant voltage diode, a resistor may be provided between the anode of the
[0096]
FIG. 7 shows a graph 220 representing the change over time of the Vbus line applied voltage when the
[0097]
In the
[0098]
In the period from when the
[0099]
In the
[0100]
The
[0101]
FIG. 8 is a flowchart showing a control flow of Vbus voltage detection when the
[0102]
In step S14 shown in FIG. 0 V 1 Less than V 0 Timing t beyond 0 To period T 0 If it is not maintained for a while (NO determination), the process proceeds to step S15, where the Vbus voltage is V 2 V 0 Less than V 0 Timing t is less than 2 To period T 2 It is detected whether it is maintained during.
[0103]
Vbus voltage is V 2 V 0 Less than V 0 Timing t is less than 2 To period T 2 If not maintained (NO determination), the process proceeds to step S16.
[0104]
On the other hand, the Vbus voltage is V 2 V 0 Less than V 0 Timing t is less than 2 To period T 2 If it is maintained for a while (YES determination), processing corresponding to the case where the switch 1 and the
[0105]
As an example of the remote control of the
[0106]
Note that the numerical values such as the resistance value, the voltage value, and the period shown in this embodiment are merely examples, and do not limit the application range of the present invention.
[0107]
Further, the number of switches provided in the electronic release is not limited to one or two, and three or more switches may be provided. However, as the number of switches increases, fine voltage control is required.
[0108]
In the present embodiment, a digital camera is illustrated, but the scope of application of the present invention is not limited to a digital camera, and can be widely applied to electronic devices having a digital interface such as a USB.
[0109]
For example, the electronic release 12 (electronic release 200) is connected to a printer and the switch 32 on operation of the
[0110]
【The invention's effect】
According to the present invention, in an electronic device provided with a connector including at least a power supply terminal, a voltage applied to the power supply terminal is detected, and a device connected to the connector is determined based on the detection result. To do. When an external operation means capable of controlling the electronic device from the outside is connected to the connector, control in the electronic device corresponding to the control signal is executed using the voltage applied from the external operation means as a control signal. Is done. Even if a connector for external operation means or a terminal for external operation means is not provided in the existing connector, it is possible to operate the electronic device from the outside using the existing connector and its terminals.
[0111]
The external operation means includes voltage generation means, switch means for turning on / off the output voltage, and voltage output means, and the electronic apparatus can be controlled from the outside with the simple configuration as described above.
[0112]
When the present invention is applied to an electronic camera, an operation from the outside of the electronic camera becomes possible using a data communication connector. A shutter button can be applied to external operations.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a digital camera and an electronic release according to an embodiment of the present invention.
FIG. 2 is a diagram in which a USB host is connected to a digital camera instead of the electronic release in FIG.
FIG. 3 is a block diagram of a digital camera according to an embodiment of the present invention.
FIG. 4 is a diagram for explaining Vbus voltage detection;
FIG. 5 is a flowchart showing a control flow of Vbus voltage detection.
6 is a view showing an application example of the electronic release in FIG. 1;
7 is a diagram for explaining Vbus voltage detection when the electronic release of FIG. 6 is used.
FIG. 8 is a flowchart showing a control flow of Vbus voltage detection shown in FIG. 7;
[Explanation of symbols]
DESCRIPTION OF
Claims (9)
前記電源用端子に印加される電圧値を検出し、前記電圧値検出の検出結果に基づいて前記コネクタに接続されている機器を判断し、前記コネクタに接続される機器が該電子機器に制御信号を与える外部操作手段であると判断されると、前記外部操作手段から前記電源用端子に印加される電圧を該電子機器の制御信号として前記制御信号に対応した該電子機器の制御を行い、前記コネクタに接続される機器が該電子機器とデータ通信が可能な機器であると判断されると、前記機器から前記電源用端子に印加される電圧をデータ通信インターフェイス電源として供給し該電子機器と前記機器とのデータ通信を行うことを特徴とする電子機器の制御方法。An electronic device control method comprising a connector including at least a power supply terminal and capable of connecting to other devices via the connector,
A voltage value applied to the power supply terminal is detected, a device connected to the connector is determined based on a detection result of the voltage value detection, and a device connected to the connector receives a control signal from the electronic device. If it is determined that the external operation means to give the voltage to the terminal for power supply from the external operation means to control the electronic device corresponding to the control signal as a control signal of the electronic device, When it is determined that the device connected to the connector is a device capable of data communication with the electronic device, a voltage applied from the device to the power supply terminal is supplied as a data communication interface power supply. A method for controlling an electronic device, comprising performing data communication with the device.
前記電子機器は、前記電源用端子に印加される電圧を検出する電圧検出手段と、
前記電圧検出手段の検出結果に基づいて前記コネクタに接続された他の機器を判断する接続機器判断手段と、
前記接続機器判断手段により前記コネクタに接続された他の機器が前記電子機器に制御信号を与えるとともに該制御信号により前記電子機器を外部から操作する外部操作手段であると判断されると、前記外部操作手段から前記電源用端子に印加された電圧を該電子機器の制御信号として前記制御信号に対応した該電子機器の制御を行う制御手段と、
を備えたことを特徴とする電子機器。An electronic device comprising a connector including at least a power supply terminal, and capable of connecting to other devices via the connector,
The electronic device includes voltage detection means for detecting a voltage applied to the power supply terminal;
Connected device determination means for determining other devices connected to the connector based on the detection result of the voltage detection means;
When it is determined by the connected device determining means that the other device connected to the connector is an external operation unit that gives a control signal to the electronic device and operates the electronic device from the outside based on the control signal, Control means for controlling the electronic device corresponding to the control signal, using the voltage applied to the power supply terminal from the operation means as a control signal for the electronic device;
An electronic device characterized by comprising:
前記電圧検出手段により前記電源用端子への印加電圧が前記第1のしきい値以上前記第2のしきい値未満であるとともに前記電源用端子への印加電圧が所定の期間維持されたと検出されると、前記接続機器検出手段は前記コネクタに前記外部操作機器が接続されていると判断することを特徴とする請求項2記載の電子機器。The voltage detection means includes a first threshold value and a second threshold value for voltage detection,
The voltage detection means detects that the voltage applied to the power supply terminal is not less than the first threshold value and less than the second threshold value, and that the voltage applied to the power supply terminal is maintained for a predetermined period. The electronic device according to claim 2, wherein the connected device detection unit determines that the external operation device is connected to the connector.
前記電圧生成手段によって生成された電圧を前記外部操作手段から前記コネクタの電源用端子に印加する際に操作されるスイッチ手段と、
前記スイッチ手段の操作に応じて前記電子機器に前記電圧生成手段により生成された電圧を前記コネクタの電源用端子に印加する電圧印加手段と、
を備えたことを特徴とする請求項2、3または4記載の電子機器。The external operation means is a voltage generation means for generating a voltage to be applied to a power supply terminal of the connector provided in the electronic device,
Switch means operated when applying the voltage generated by the voltage generation means from the external operation means to the power supply terminal of the connector;
Voltage application means for applying a voltage generated by the voltage generation means to the electronic device in response to an operation of the switch means, to a power supply terminal of the connector;
The electronic apparatus according to claim 2, 3 or 4, further comprising:
前記電子カメラは、少なくとも電源用端子を含んだコネクタと、
前記コネクタの電源用端子に印加される電圧を検出する電圧検出手段と、
前記電圧検出手段の検出結果に基づいて前記コネクタに接続されている機器を判断する接続機器判断手段と、
前記接続機器判断手段により前記コネクタに前記電子カメラに制御信号を与えるとともに前記制御信号により前記電子カメラを外部から操作する外部操作手段が接続されていると判断されると、前記外部操作手段から与えられる電圧を制御信号として該制御信号に対応した前記電子カメラの制御を実行する制御手段と、
を備えたことを特徴とする電子カメラ。An electronic camera including an imaging unit that captures a subject image and generates image data,
The electronic camera includes at least a connector including a power supply terminal;
Voltage detecting means for detecting a voltage applied to the power supply terminal of the connector;
Connected device determination means for determining a device connected to the connector based on a detection result of the voltage detection means;
When the connected device judging means gives a control signal to the electronic camera to the connector, and when it is judged by the control signal that an external operating means for operating the electronic camera from the outside is connected, it gives from the external operating means Control means for executing control of the electronic camera corresponding to the control signal using the generated voltage as a control signal;
An electronic camera characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003204689A JP2005050040A (en) | 2003-07-31 | 2003-07-31 | Control method for electronic equipment, electronic equipment, and electronic camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003204689A JP2005050040A (en) | 2003-07-31 | 2003-07-31 | Control method for electronic equipment, electronic equipment, and electronic camera |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005050040A true JP2005050040A (en) | 2005-02-24 |
Family
ID=34263625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003204689A Pending JP2005050040A (en) | 2003-07-31 | 2003-07-31 | Control method for electronic equipment, electronic equipment, and electronic camera |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005050040A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1703725A1 (en) * | 2005-03-17 | 2006-09-20 | Ricoh Company, Ltd. | Image photographing device and release device |
JP2006253880A (en) * | 2005-03-09 | 2006-09-21 | Ricoh Co Ltd | Image photography device |
JP2008017048A (en) * | 2006-07-04 | 2008-01-24 | Canon Inc | Imaging device |
-
2003
- 2003-07-31 JP JP2003204689A patent/JP2005050040A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006253880A (en) * | 2005-03-09 | 2006-09-21 | Ricoh Co Ltd | Image photography device |
EP1703725A1 (en) * | 2005-03-17 | 2006-09-20 | Ricoh Company, Ltd. | Image photographing device and release device |
JP2006293306A (en) * | 2005-03-17 | 2006-10-26 | Ricoh Co Ltd | Image photographing device and release device |
US7750939B2 (en) | 2005-03-17 | 2010-07-06 | Ricoh Company, Ltd. | Image photographing device and release device |
JP4733524B2 (en) * | 2005-03-17 | 2011-07-27 | 株式会社リコー | Image photographing device and release device |
JP2008017048A (en) * | 2006-07-04 | 2008-01-24 | Canon Inc | Imaging device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7591599B2 (en) | Digital camera system and digital camera | |
US7911530B2 (en) | Digital camera and system capable of sharing power with a mobile device | |
EP0674435B1 (en) | Image sensing apparatus | |
US7432948B2 (en) | Imaging communication system | |
US7330215B2 (en) | Digital camera, cradle and camera system | |
US7042499B1 (en) | Digital camera including power supply controller responsive to connection detection | |
US6734915B2 (en) | Cradle-installation type digital camera, control method therefor and cradle-installation type digital camera system | |
JP2000134527A (en) | Digital camera | |
JP3784589B2 (en) | Portable device | |
JPH1079913A (en) | Digital camera | |
JP3807007B2 (en) | Accessories for digital cameras | |
JP2005050040A (en) | Control method for electronic equipment, electronic equipment, and electronic camera | |
CN102550012B (en) | Imaging device and formation method | |
US11653089B2 (en) | Imaging apparatus and controlling method | |
JP4504579B2 (en) | Electronic camera | |
JP3625371B2 (en) | Image processing apparatus, control method for image processing apparatus, and storage medium | |
CN112655192A (en) | Camera system and cable | |
CN112673618A (en) | Camera system and cable | |
JP2005229292A (en) | Imaging apparatus and control method for imaging apparatus | |
JP4027634B2 (en) | Electronic camera | |
JP2001320741A (en) | Electronic camera | |
JP2017199392A (en) | Electronic apparatus and program | |
JP5111008B2 (en) | Imaging apparatus and control method thereof | |
JP2007166024A (en) | Imaging apparatus and control method thereof | |
JP3873330B2 (en) | Electronic still camera |