JP6736730B2 - Imaging device, accessory device, and communication control method thereof - Google Patents

Imaging device, accessory device, and communication control method thereof Download PDF

Info

Publication number
JP6736730B2
JP6736730B2 JP2019111049A JP2019111049A JP6736730B2 JP 6736730 B2 JP6736730 B2 JP 6736730B2 JP 2019111049 A JP2019111049 A JP 2019111049A JP 2019111049 A JP2019111049 A JP 2019111049A JP 6736730 B2 JP6736730 B2 JP 6736730B2
Authority
JP
Japan
Prior art keywords
communication
accessory
information
control unit
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.)
Active
Application number
JP2019111049A
Other languages
Japanese (ja)
Other versions
JP2020024378A (en
Inventor
和道 杉山
和道 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to US16/456,672 priority Critical patent/US11412125B2/en
Publication of JP2020024378A publication Critical patent/JP2020024378A/en
Application granted granted Critical
Publication of JP6736730B2 publication Critical patent/JP6736730B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、相互に通信が可能な撮像装置(以下、カメラ本体という)と交換レンズや中間アダプタ等のアクセサリ装置(以下、単にアクセサリという)を含む撮像システムに関する。 The present invention relates to an imaging system including an imaging device (hereinafter, referred to as a camera body) that can communicate with each other and an accessory device (hereinafter, simply referred to as an accessory) such as an interchangeable lens and an intermediate adapter.

上記のような撮像システムには、焦点距離、焦点状態、絞り等の光学調整を行ったり、ISO感度を設定したり、オートフォーカスや防振等の機能の有効/無効を選択するために、回転操作リングやスライドスイッチ等の操作部材が設けられる。また、撮像システムは、一定時間の間、何の操作も行われなかったときに、撮像システム全体の電源を自動的に省電力状態(スリープ状態)に移行させるオートパワーオフ機能を有する。撮像システムは、スリープ状態において何らかの操作を検出すると、スリープ状態から通常動作状態に復帰(つまりは起動)する。 The image pickup system as described above has a rotation function in order to perform optical adjustments such as a focal length, a focus state, and an aperture, set an ISO sensitivity, and select enable/disable of functions such as autofocus and image stabilization. Operation members such as an operation ring and a slide switch are provided. Further, the imaging system has an auto power-off function that automatically shifts the power supply of the entire imaging system to a power saving state (sleep state) when no operation is performed for a certain period of time. When detecting some operation in the sleep state, the imaging system returns (that is, starts) from the sleep state to the normal operation state.

特許文献1には、交換レンズの識別情報を中間アダプタに送信し、該識別情報から特定の交換レンズと判別された場合に中間アダプタをその一部動作を制限する動作制限状態(省電力状態)に移行させる撮像システムが開示されている。 In Patent Document 1, an operation restriction state (power-saving state) in which identification information of an interchangeable lens is transmitted to an intermediate adapter, and when the identification information determines that the interchangeable lens is a specific interchangeable lens There is disclosed an imaging system for shifting to.

特許第5208169号公報Patent No. 5208169

従来のオートパワーオフ機能は、交換レンズ、中間アダプタおよびカメラ本体を含む撮像システム全体をスリープ状態に移行させる。しかしながら、撮像システム内で正常な通信を行った上で消費電力を削減するためには、例えば通信不要なアクセサリのみをスリープ状態に移行させる必要がある。 The conventional auto power off function shifts the entire imaging system including the interchangeable lens, the intermediate adapter and the camera body to the sleep state. However, in order to reduce power consumption after performing normal communication in the imaging system, for example, only accessories that do not require communication need to be put into a sleep state.

また、特許文献1にて開示された撮像システムでは、交換レンズが特定の交換レンズであると判別された場合に中間アダプタを省電力状態に移行させるが、例えば中間アダプタが操作部材を有する場合は、その操作部材の操作をカメラ本体に通信する必要がある。 Further, in the imaging system disclosed in Patent Document 1, the intermediate adapter is shifted to the power saving state when it is determined that the interchangeable lens is a specific interchangeable lens. For example, when the intermediate adapter has an operation member, , It is necessary to communicate the operation of the operation member to the camera body.

本発明は、通信不要なアクセサリを識別可能な撮像システムを提供する。 The present invention provides an imaging system capable of identifying an accessory that does not require communication.

本発明の一側面としての撮像装置は、レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置であって、前記レンズ装置との間に第1の通信経路を設ける第1のカメラ通信部と、前記撮像装置に装着された前記複数のアクセサリ装置との間に第2の通信経路を設ける第2のカメラ通信部と、前記第1のカメラ通信部又は前記第2のカメラ通信部を介した通信を制御するカメラ制御部とを有し、前記カメラ制御部は、前記複数のアクセサリ装置に第1の要求を前記第2の通信経路を介して送信し、前記第1の要求を受信した前記複数のアクセサリ装置のそれぞれから、前記撮像装置との通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して受信し、前記第1の情報に応じて前記第2の通信経路を介した前記複数のアクセサリ装置との通信を制御することを特徴とすることを特徴とする。 An imaging device according to one aspect of the present invention is an imaging device capable of mounting a plurality of accessory devices including a lens device, and a first camera communication unit that provides a first communication path with the lens device. And a second camera communication unit that provides a second communication path between the plurality of accessory devices attached to the imaging device, and the first camera communication unit or the second camera communication unit. And a camera control unit that controls the communication, the camera control unit transmitting a first request to the plurality of accessory devices via the second communication path, and receiving the first request. From each of the plurality of accessory devices, first information corresponding to whether or not to stop communication with the imaging device is received via the second communication path, and the first information is received according to the first information. It is characterized by controlling communication with the plurality of accessory devices via a second communication path .

また、本発明の他の一側面としてのアクセサリ装置は、レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置に装着されるアクセサリ装置であって、前記撮像装置と前記レンズ装置との間の第1の通信経路を介した通信が導通する第1のアクセサリ通信部と、前記撮像装置との間に第2の通信経路を設ける第2のアクセサリ通信部と、前記第1のアクセサリ通信部又は前記第2のアクセサリ通信部を介した通信を制御するアクセサリ制御部とを有し、前記アクセサリ制御部は、前記撮像装置から第1の要求を前記第2の通信経路を介して受信することに応じて、前記撮像装置との通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して前記撮像装置に送信することを特徴とする。 An accessory device as another aspect of the present invention is an accessory device that is mounted on an imaging device capable of mounting a plurality of accessory devices including a lens device, and is provided between the imaging device and the lens device. A first accessory communication unit that establishes communication through the first communication path, a second accessory communication unit that provides a second communication path between the imaging device, and the first accessory communication unit Or an accessory control unit that controls communication via the second accessory communication unit, wherein the accessory control unit receives a first request from the imaging device via the second communication path. Accordingly, the first information corresponding to whether or not to stop the communication with the imaging device is transmitted to the imaging device via the second communication path .

なお、上記撮像装置とアクセサリ装置とを含む撮像システムも、本発明の他の一側面を構成する。 An imaging system including the above-described imaging device and accessory device also constitutes another aspect of the present invention.

また、本発明の他の一側面としての通信制御方法は、レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置であって、前記レンズ装置との間に第1の通信経路を設ける第1のカメラ通信部と、前記撮像装置に装着された前記複数のアクセサリ装置との間に第2の通信経路を設ける第2のカメラ通信部と、前記第1のカメラ通信部又は前記第2のカメラ通信部を介した通信を制御するカメラ制御部とを有する撮像装置の通信制御方法であって、前記複数のアクセサリ装置に第1の要求を前記第2の通信経路を介して送信するステップと、前記第1の要求を受信した前記複数のアクセサリ装置のそれぞれから、前記撮像装置との通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して受信するステップと、前記第1の情報に応じて前記第2の通信経路を介した前記複数のアクセサリ装置との通信を制御するステップとを有することを特徴とする。 A communication control method according to another aspect of the present invention is an imaging device capable of mounting a plurality of accessory devices including a lens device, wherein a first communication path is provided between the lens device and the accessory device. A second camera communication unit that provides a second communication path between the first camera communication unit and the plurality of accessory devices attached to the imaging device; and the first camera communication unit or the second camera communication unit. A communication control method for an imaging device, comprising: a camera control unit that controls communication via a camera communication unit, the method comprising: transmitting a first request to the plurality of accessory devices via the second communication path. , Receiving, from each of the plurality of accessory devices that have received the first request, first information corresponding to whether or not to stop communication with the imaging device, via the second communication path. And controlling communication with the plurality of accessory devices via the second communication path according to the first information .

また、本発明の他の一側面としての通信制御方法は、レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置に装着されるアクセサリ装置であって、前記撮像装置と前記レンズ装置との間の第1の通信経路を介した通信が導通する第1のアクセサリ通信部と、前記撮像装置との間に第2の通信経路を設ける第2のアクセサリ通信部と、前記第1のアクセサリ通信部又は前記第2のアクセサリ通信部を介した通信を制御するアクセサリ制御部とを有するアクセサリ装置の通信制御方法であって、前記撮像装置から第1の要求を前記第2の通信経路を介して受信するステップと、前記第1の要求に応じて、前記アクセサリ装置が通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して前記撮像装置に送信するステップとを有することを特徴とする。 A communication control method according to another aspect of the present invention is an accessory device mounted on an imaging device capable of mounting a plurality of accessory devices including a lens device. A first accessory communication section that establishes communication through a first communication path between them; a second accessory communication section that provides a second communication path between the imaging apparatus and the first accessory communication section; And a accessory control unit for controlling communication via the second accessory communication unit, the communication control method for an accessory device, wherein a first request is issued from the imaging device via the second communication path. A step of receiving, and a step of transmitting, in response to the first request, first information corresponding to whether or not the accessory device stops communication to the imaging device via the second communication path. It is characterized by having .

なお、上記通信制御方法に従う処理を撮像装置またはアクセサリ装置のコンピュータに実行させるコンピュータプログラムも、本発明の他の一側面を構成する。 A computer program that causes a computer of the imaging device or the accessory device to execute the process according to the communication control method also constitutes another aspect of the present invention.

本発明によれば、撮像装置が通信不要なアクセサリ装置を識別することができるため、不要な通信を削減することができ、通信の即時性を向上させることができる。また、通信不要なアクセサリ装置を識別した後は該アクセサリ装置が省電力状態に移行するので、消費電力を削減することができる。 According to the present invention, the imaging device can identify an accessory device that does not require communication, so unnecessary communication can be reduced and the immediacy of communication can be improved. Further, since the accessory device shifts to the power saving state after identifying the accessory device that does not require communication, it is possible to reduce power consumption.

本発明の実施例1のカメラシステムの構成を示すブロック図。1 is a block diagram showing the configuration of a camera system according to a first embodiment of the present invention. 実施例1における第1の通信を説明する図。FIG. 6 is a diagram illustrating the first communication in the first embodiment. 実施例1における第2の通信を説明する図。FIG. 6 is a diagram illustrating the second communication in the first embodiment. 実施例1におけるアクセサリ(交換レンズと中間アダプタ)の第2通信停止情報の取得から通常動作状態に移行するまでの処理を示すフローチャート。6 is a flowchart showing a process from acquisition of second communication stop information of an accessory (interchangeable lens and intermediate adapter) to shifting to a normal operation state in the first embodiment. 実施例1においてカメラ本体がアクセサリ識別情報および第2通信停止情報を取得する処理を示すフローチャート。6 is a flowchart showing a process in which the camera body acquires accessory identification information and second communication stop information in the first embodiment. 実施例1においてカメラ本体がアクセサリ詳細情報を取得する処理を示すフローチャート。6 is a flowchart showing a process in which the camera body acquires detailed accessory information according to the first exemplary embodiment. 実施例1においてアクセサリ動作設定を行う処理を示すフローチャート。6 is a flowchart showing a process of performing accessory operation setting in the first embodiment. 実施例1においてカメラ本体がアクセサリからの通信リクエストに応答する処理を示すフローチャート。6 is a flowchart showing a process in which the camera body responds to a communication request from an accessory in the first embodiment. 本発明の実施例3における通信エラーによって認証通信をリトライする処理を示すフローチャート。9 is a flowchart showing a process of retrying authentication communication due to a communication error in the third embodiment of the present invention. 本発明の実施例4における調歩同期式通信での信号波形を示す図。FIG. 9 is a diagram showing signal waveforms in start-stop synchronization communication in Embodiment 4 of the present invention. 実施例5のカメラシステムの構成を説明するブロック図Block diagram illustrating the configuration of the camera system of Example 5 実施例5の第1通信のための構成を説明する図FIG. 10 is a diagram illustrating a configuration for first communication according to a fifth exemplary embodiment. 実施例5のアクセサリとの初期通信及び補正された光学情報を取得する処理の流れを示すフローチャートFlowchart showing the flow of processing for initial communication with the accessory of Example 5 and for obtaining corrected optical information. 実施例5のカメラとレンズの初期通信処理を示すフローチャートFlowchart showing the initial communication process between the camera and the lens of the fifth embodiment 実施例5のカメラとアクセサリの初期通信処理を示すフローチャートFlowchart showing the initial communication process between the camera and the accessory of the fifth embodiment 実施例5の第1のアクセサリを決定する処理の流れを示すフローチャートThe flowchart which shows the flow of the process which determines the 1st accessory of Example 5. 実施例6の動的アクセサリを探索する処理の流れを示すフローチャートFlowchart showing a flow of processing for searching for a dynamic accessory of the sixth embodiment 実施例6の動的アクセサリの操作に応じた光学情報の補正処理の流れを示すフローチャートFlowchart showing a flow of optical information correction processing according to operation of the dynamic accessory of Example 6. 初期通信で通信される情報の例を示す図Diagram showing an example of information communicated in the initial communication 実施例7の補正識別情報を取得する処理と、補正識別情報を用いた補正処理の流れを示すフローチャートFlowchart showing a flow of processing for acquiring correction identification information and correction processing using the correction identification information according to the seventh embodiment. 実施例5の第2通信のための構成を説明する図FIG. 8 is a diagram illustrating a configuration for second communication according to a fifth exemplary embodiment. 実施例5の第1通信の変形例を説明する図The figure explaining the modification of the 1st communication of Example 5. 実施例8の末端が交換レンズである場合のカメラシステムの構成を説明するブロック図13 is a block diagram illustrating the configuration of a camera system in a case where an end of Example 8 is an interchangeable lens. FIG. 実施例8の末端が中間アクセサリである場合のカメラシステムの構成を説明するブロック図A block diagram illustrating a configuration of a camera system when an end of Embodiment 8 is an intermediate accessory. 実施例8の第2通信の通信エラーを検出する処理の流れを示すフローチャートThe flowchart which shows the flow of the process which detects the communication error of the 2nd communication of Example 8.

以下、本発明の実施例について図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施例1である撮像システム(以下、カメラシステムという)の構成を示している。このカメラシステムは、撮像装置であるカメラ本体20に、交換レンズ10および複数の中間アダプタ30,40を含む複数のアクセサリ装置(以下、まとめてアクセサリともいう)が着脱可能および通信可能に装着された状態で使用される。中間アダプタ30,40は、焦点距離を変更するためのテレコンバータまたはワイドコンバータ、フランジバック長を変化させるマウントコンバータおよび減光機能を有するNDフィルタ等である。なお、カメラ本体20に直接(中間アダプタ30,40を介さず)に交換レンズ10を装着してもよいし、カメラ本体20と交換レンズ10との間に設ける中間アダプタは1つであってもよい。 FIG. 1 shows the configuration of an imaging system (hereinafter referred to as a camera system) that is Embodiment 1 of the present invention. In this camera system, a plurality of accessory devices (hereinafter collectively referred to as accessories) including an interchangeable lens 10 and a plurality of intermediate adapters 30 and 40 are detachably and communicably attached to a camera body 20 which is an imaging device. Used in the state. The intermediate adapters 30 and 40 are a teleconverter or a wide converter for changing the focal length, a mount converter for changing the flange back length, an ND filter having a dimming function, and the like. The interchangeable lens 10 may be directly attached to the camera body 20 (not via the intermediate adapters 30 and 40), or only one intermediate adapter may be provided between the camera body 20 and the interchangeable lens 10. Good.

カメラ本体20のマウント202と中間アダプタ30のマウント302とが機械的および電気的に結合され、中間アダプタ30のマウント301と中間アダプタ40のマウント402とが機械的および電気的に結合されている。また、中間アダプタ40のマウント301と交換レンズ10のマウント101とが機械的および電気的に結合されている。カメラ本体20には、カメラ第1通信部207、カメラ第2通信部208およびコンピュータとしてのカメラ制御部205が設けられている。カメラ第1通信部207およびカメラ第2通信部208により、カメラ通信部が構成される。 The mount 202 of the camera body 20 and the mount 302 of the intermediate adapter 30 are mechanically and electrically coupled, and the mount 301 of the intermediate adapter 30 and the mount 402 of the intermediate adapter 40 are mechanically and electrically coupled. Further, the mount 301 of the intermediate adapter 40 and the mount 101 of the interchangeable lens 10 are mechanically and electrically coupled. The camera body 20 is provided with a camera first communication unit 207, a camera second communication unit 208, and a camera control unit 205 as a computer. The camera first communication unit 207 and the camera second communication unit 208 form a camera communication unit.

交換レンズ10には、レンズ第1通信部114、レンズ第2通信部115およびコンピュータとしてのレンズ制御部(アクセサリ制御部)113が設けられている。レンズ第1通信部114およびレンズ第2通信部115により、アクセサリ通信部が構成される。中間アダプタ30,40にはそれぞれ、アクセサリ通信部としてのアダプタ第2通信部308,408と、コンピュータとしてのアダプタ制御部(アクセサリ制御部)309,409が設けられている。 The interchangeable lens 10 is provided with a first lens communication unit 114, a second lens communication unit 115, and a lens control unit (accessory control unit) 113 as a computer. The first lens communication unit 114 and the second lens communication unit 115 constitute an accessory communication unit. The intermediate adapters 30 and 40 are respectively provided with adapter second communication units 308 and 408 as accessory communication units and adapter control units (accessory control units) 309 and 409 as computers.

カメラ第1通信部207とレンズ第1通信部114との間には、マウント201,302,301,402,401,101に設けられた第1通信接点部202,305,303,405,403,102を用いて第1通信経路が設けられている。カメラ制御部205とレンズ制御部113は、この第1通信経路を介して「一対一」通信(以下、第1の通信ともいう)を行う。また、カメラ第2通信部208、アダプタ第2通信部308,408およびレンズ第2通信部115の間には、マウント201,302,301,402,401,101に設けられた第2通信接点部203,306,304,406,404,103を用いて第2通信経路が設けられている。カメラ制御部205は、レンズ制御部113およびアダプタ制御部309,409との間でこの第2通信経路を介して「一対多」通信(以下、第2の通信ともいう)を行う。 Between the camera first communication unit 207 and the lens first communication unit 114, the first communication contact units 202, 305, 303, 405, 403, provided on the mounts 201, 302, 301, 402, 401, 101. A first communication path is provided using 102. The camera control unit 205 and the lens control unit 113 perform “one-to-one” communication (hereinafter, also referred to as first communication) via the first communication path. Further, between the camera second communication unit 208, the adapter second communication units 308, 408, and the lens second communication unit 115, the second communication contact unit provided on the mounts 201, 302, 301, 402, 401, 101. A second communication path is provided using 203, 306, 304, 406, 404 and 103. The camera control unit 205 performs “one-to-many” communication (hereinafter, also referred to as second communication) between the lens control unit 113 and the adapter control units 309 and 409 via this second communication path.

第1の通信と第2の通信を別々の通信経路を介して行うことにより、第1の通信と第2の通信を同一の通信経路を介して行う場合に比べて、例えば第1の通信においてより適切なタイミングでカメラ本体20から交換レンズ10に命令や要求を送信することができる。これにより、カメラ本体20は交換レンズ10をより高速かつ高精度で制御することができる。 By performing the first communication and the second communication via separate communication paths, for example, in the first communication, compared to the case where the first communication and the second communication are performed via the same communication path. A command or request can be transmitted from the camera body 20 to the interchangeable lens 10 at a more appropriate timing. Accordingly, the camera body 20 can control the interchangeable lens 10 at higher speed and with higher accuracy.

中間アダプタ30,40はそれぞれ、第2通信接続スイッチ311,411を有する。第2通信接続スイッチ311,411はそれぞれ、第2通信経路上であってアダプタ第2通信部308,408よりも交換レンズ側に設けられており、第2通信経路を接続および切断するよう切換え動作する。第2通信接続スイッチ311,411の切換え動作はそれぞれ、アダプタ制御部309,409により制御される。これら第2通信接続スイッチ311,411を中間アダプタ30,40に設けることにより、中間アダプタ30,40自身で第2の通信の状態(開通と遮断)を変更することが可能となる。 The intermediate adapters 30 and 40 have second communication connection switches 311 and 411, respectively. The second communication connection switches 311 and 411 are respectively provided on the second communication path and closer to the interchangeable lens than the adapter second communication units 308 and 408, and perform a switching operation to connect and disconnect the second communication path. To do. The switching operation of the second communication connection switches 311 and 411 is controlled by the adapter control units 309 and 409, respectively. By providing these second communication connection switches 311 and 411 on the intermediate adapters 30 and 40, the intermediate adapters 30 and 40 themselves can change the state of second communication (opening and blocking).

交換レンズ10は、撮像光学系を有する。撮像光学系は、不図示の被写体側から順に、焦点調節を行うフォーカスレンズ104、変倍を行うズームレンズ(変倍レンズ)105、光量を調節する絞り(アイリス)ユニット106および像振れを低減する防振レンズ107を含む。フォーカスレンズ104とズームレンズ105はそれぞれ、フォーカス駆動部108およびズーム駆動部109によって撮像光学系の光軸が延びる方向である光軸方向に駆動される。フォーカス駆動部108およびズーム駆動部109は、ステッピングモータ等のアクチュエータとその駆動回路を含む。 The interchangeable lens 10 has an imaging optical system. The imaging optical system sequentially from a subject side (not shown), a focus lens 104 that performs focus adjustment, a zoom lens (variable magnification lens) 105 that performs zooming, a diaphragm (iris) unit 106 that adjusts the amount of light, and image blurring. The image stabilizing lens 107 is included. The focus lens 104 and the zoom lens 105 are driven in the optical axis direction, which is the direction in which the optical axis of the imaging optical system extends, by the focus driving unit 108 and the zoom driving unit 109, respectively. The focus drive unit 108 and the zoom drive unit 109 include an actuator such as a stepping motor and its drive circuit.

絞りユニット106は、不図示の複数の絞り羽根を備え、これらをアイリス駆動部110によって開閉方向に駆動することで光量調節を行う。アイリス駆動部110は、ステッピングモータ等のアクチュエータとその駆動回路を含む。 The diaphragm unit 106 includes a plurality of diaphragm blades (not shown), and drives the iris driving unit 110 in the opening/closing direction to adjust the light amount. The iris driving unit 110 includes an actuator such as a stepping motor and its driving circuit.

防振レンズ107は、手振れ等のカメラ振れに応じて防振駆動部111により撮像光学系の光軸に直交する方向にシフト駆動される。防振駆動部111は、ボイスコイルモータ等のアクチュエータとその駆動回路を含む。交換レンズ10には、カメラ振れを検出するためのジャイロセンサ等の振れ検出部112が設けられている。 The anti-vibration lens 107 is shift-driven by the anti-vibration drive unit 111 in a direction orthogonal to the optical axis of the imaging optical system in response to camera shake such as camera shake. The anti-vibration driving unit 111 includes an actuator such as a voice coil motor and its drive circuit. The interchangeable lens 10 is provided with a shake detection unit 112 such as a gyro sensor for detecting camera shake.

また、交換レンズ10は、レンズ操作部116を有する。レンズ操作部116は、ユーザによる光軸回りでの回転操作が可能なレンズ操作リングやスイッチ、ボタン、ダイヤルおよびタッチパネル等の複数の操作部材を含む。レンズ操作部116での操作はレンズ制御部113により検出される。 The interchangeable lens 10 also includes a lens operating unit 116. The lens operation unit 116 includes a plurality of operation members such as a lens operation ring, a switch, a button, a dial, and a touch panel that can be rotated by the user around the optical axis. The operation of the lens operating unit 116 is detected by the lens control unit 113.

レンズ制御部113は、交換レンズ10内の各部の動作を制御する。具体的には、カメラ制御部205は、第1の通信によってカメラ本体20から送信された制御コマンドや送信要求コマンドを受信して制御コマンドに対応するレンズ制御を行う。また、レンズ制御部113は、第1または第2の通信によってカメラ本体20から送信された送信要求コマンドに対応する撮像光学系の光学情報やレンズ操作部116の操作情報をカメラ本体20に送信する。さらに、レンズ制御部113は、振れ検出部112からの振れ信号に基づいて、防振駆動部111を介して防振レンズ107のシフト駆動(すなわち防振動作)を制御する。 The lens control unit 113 controls the operation of each unit in the interchangeable lens 10. Specifically, the camera control unit 205 receives a control command or a transmission request command transmitted from the camera body 20 by the first communication, and performs lens control corresponding to the control command. In addition, the lens control unit 113 transmits to the camera body 20 optical information of the image pickup optical system and operation information of the lens operation unit 116 corresponding to the transmission request command transmitted from the camera body 20 by the first or second communication. .. Further, the lens control unit 113 controls the shift drive (that is, the image stabilization operation) of the image stabilization lens 107 via the image stabilization drive unit 111 based on the shake signal from the shake detection unit 112.

中間アダプタ30,40は、アダプタ操作部310,410を有する。アダプタ操作部310,410は、ユーザによる光軸回りでの回転操作が可能なアダプタ操作リングやスイッチ、ボタン、ダイヤルおよびタッチパネル等の複数の操作部材を含む。アダプタ操作部310,410での操作は、アダプタ制御部309,409により検出される。 The intermediate adapters 30 and 40 have adapter operating units 310 and 410. The adapter operation units 310 and 410 include a plurality of operation members such as an adapter operation ring, a switch, a button, a dial, and a touch panel that can be rotated by the user around the optical axis. The operations on the adapter operating units 310 and 410 are detected by the adapter control units 309 and 409.

アダプタ制御部309,409はそれぞれ、中間アダプタ30,40内の各部の動作を制御する。アダプタ制御部309,409はそれぞれ、第1の通信によってカメラ本体20から送信された制御コマンドや送信要求コマンドを受信する。また、アダプタ制御部309,409は、制御コマンドに対応するアダプタ制御を行う。さらに、アダプタ制御部309,409は、第1または第2の通信によりカメラ本体20から送信された送信要求コマンドに対応する中間アダプタ30,40の光学情報やアダプタ操作部310,410の操作情報をカメラ本体20に送信する。 The adapter control units 309 and 409 control the operation of each unit in the intermediate adapters 30 and 40, respectively. Each of the adapter control units 309 and 409 receives the control command and the transmission request command transmitted from the camera body 20 by the first communication. Further, the adapter control units 309 and 409 perform adapter control corresponding to the control command. Further, the adapter control units 309 and 409 display the optical information of the intermediate adapters 30 and 40 and the operation information of the adapter operation units 310 and 410 corresponding to the transmission request command transmitted from the camera body 20 by the first or second communication. It is transmitted to the camera body 20.

カメラ本体20は、CCDセンサやCMOSセンサ等の撮像素子204、カメラ制御部205および映像表示部206を有する。撮像素子204は、CMOSセンサ等の光電変換素子であり、撮像光学系により形成された被写体像を撮像(光電変換する)。映像表示部206は、撮像により生成された映像信号を構図やピント状態等の確認に用いられるライブビュー画像として表示したり、撮像により記録された画像を再生表示したりする。 The camera body 20 has an image sensor 204 such as a CCD sensor or a CMOS sensor, a camera control unit 205, and a video display unit 206. The image pickup element 204 is a photoelectric conversion element such as a CMOS sensor, and picks up (photoelectrically converts) a subject image formed by an image pickup optical system. The video display unit 206 displays the video signal generated by imaging as a live view image used for confirmation of the composition, focus state, and the like, or reproduces and displays the image recorded by imaging.

カメラ制御部205は、不図示の撮像指示スイッチや各種設定スイッチ等を含むカメラ操作部209の操作に応じてカメラ本体20内の各部の動作を制御する。例えば露出制御のために撮像素子204の露光時間を制御する。また、カメラ制御部205は、第1の通信によって交換レンズ10および中間アダプタ30,40に制御コマンドを送信する。例えば、カメラ制御部205は、カメラ操作部209に含まれるズームスイッチの操作に応じて、ズーム制御に関する制御コマンドを交換レンズ10に送信する。また、カメラ制御部205は、交換レンズ10に対して、映像信号の輝度情報に応じた光量調節制御に関する制御コマンドや、撮像素子204から得られたフォーカス情報に応じたフォーカス制御に関する制御コマンドを送信する。 The camera control unit 205 controls the operation of each unit in the camera body 20 according to the operation of the camera operation unit 209 including an imaging instruction switch (not shown), various setting switches, and the like. For example, the exposure time of the image sensor 204 is controlled for exposure control. Further, the camera control unit 205 transmits a control command to the interchangeable lens 10 and the intermediate adapters 30 and 40 by the first communication. For example, the camera control unit 205 transmits a control command related to zoom control to the interchangeable lens 10 according to the operation of the zoom switch included in the camera operation unit 209. In addition, the camera control unit 205 transmits, to the interchangeable lens 10, a control command related to the light amount adjustment control according to the luminance information of the video signal and a control command related to the focus control according to the focus information obtained from the image sensor 204. To do.

さらにカメラ制御部205は、交換レンズ10および中間アダプタ30,40に対して、光学情報や操作情報を取得するための送信要求コマンドを送信し、交換レンズ10からのレンズ光学情報および中間アダプタ30,40からのアダプタ光学情報を受信する。またカメラ制御部205は、交換レンズ10および中間アダプタ30,40からのレンズおよびアダプタ操作部116,310,410の操作情報を受信し、これに応じた制御コマンドを交換レンズ10および中間アダプタ30,40に送信する。 Further, the camera control unit 205 transmits a transmission request command for acquiring optical information and operation information to the interchangeable lens 10 and the intermediate adapters 30 and 40, and the lens optical information from the interchangeable lens 10 and the intermediate adapters 30 and 40 are transmitted. Receive adapter optical information from 40. Further, the camera control unit 205 receives the operation information of the lens and adapter operating units 116, 310, 410 from the interchangeable lens 10 and the intermediate adapters 30, 40, and sends a control command corresponding thereto to the interchangeable lens 10 and the intermediate adapters 30, 40. Send to 40.

次に、第1の通信について、図2(a),(b)を用いて説明する。図2(a)は、3線クロック同期式通信により第1の通信を行うための第1の通信回路の構成を示している。第1通信接点部102,403,405,303,305,202は、カメラ第1通信部207からクロック同期通信を行うために出力されるクロック信号用の信号ラインであるクロックラインLCLKの端子として、第1LCLK端子102a,403a,405a,303a,305a,202aを含む。また、第1通信接点部102,403,405,303,305,202は、カメラ第1通信部207からクロック同期通信のデータ信号が出力されるデータラインDCLの端子として、第1DCL端子102b,403b,405b,303b,305b,202bを含む。さらに第1通信接点部102,403,405,303,305,202は、レンズ第1通信部114からクロック同期通信のデータ信号が出力されるデータラインDLCの端子として、第1DLC端子102c,403c,405c,303c,305c,202cを含む。 Next, the first communication will be described with reference to FIGS. FIG. 2A shows the configuration of the first communication circuit for performing the first communication by the three-line clock synchronous communication. The first communication contact portions 102, 403, 405, 303, 305, 202 are terminals of a clock line LCLK, which is a signal line for a clock signal output for performing clock synchronous communication from the camera first communication portion 207, It includes first LCLK terminals 102a, 403a, 405a, 303a, 305a, 202a. The first communication contact points 102, 403, 405, 303, 305, 202 are the first DCL terminals 102b, 403b as the terminals of the data line DCL from which the data signal of the clock synchronous communication is output from the first camera communication section 207. , 405b, 303b, 305b, 202b. Further, the first communication contact portions 102, 403, 405, 303, 305, 202 are the first DLC terminals 102c, 403c, as terminals of the data line DLC to which the data signal of the clock synchronous communication is output from the first lens communication portion 114. 405c, 303c, 305c, 202c.

図2(a)に示すように、クロックラインLCLKとデータラインDCLは、交換レンズ10内でプルアップされている。また、クロックラインLCLKとデータラインDLCは、カメラ本体20内でプルアップされている。 As shown in FIG. 2A, the clock line LCLK and the data line DCL are pulled up in the interchangeable lens 10. The clock line LCLK and the data line DLC are pulled up in the camera body 20.

中間アダプタ30,40内のクロックラインLCLK、データラインDCLおよびデータラインDLCはそれぞれ、第1通信接点部303,305間および第1通信接点部403,405間で短絡されている。 The clock line LCLK, the data line DCL, and the data line DLC in the intermediate adapters 30 and 40 are short-circuited between the first communication contact portions 303 and 305 and between the first communication contact portions 403 and 405, respectively.

図2(b)は、第1の通信が行われているときのクロックラインLCLK、データラインDCLおよびデータラインDLCの信号波形を示している。カメラ第1通信部207は、クロックラインLCLKにクロック信号を出力し、クロック信号の立ち上がりに合わせてデータラインDCLにB7〜B0の8ビットのデータを出力する。レンズ第1通信部114は、クロック信号の立ち上がりに合わせてデータラインDLCにB7〜B0の8ビットのデータを出力する。カメラ第1通信部207は、クロック信号の立ち上がりに合わせてデータラインDLCからのB7〜B0の8ビットのデータを受信する。レンズ第1通信部114は、クロック信号の立ち上がりに合わせてデータラインDCLからのB7〜B0の8ビットのデータを受信する。このようにして、カメラ第1通信部207とレンズ第1通信部114がデータを互いに送受信することができる。 FIG. 2B shows signal waveforms of the clock line LCLK, the data line DCL, and the data line DLC when the first communication is performed. The first camera communication unit 207 outputs a clock signal to the clock line LCLK, and outputs 8-bit data B7 to B0 to the data line DCL at the rising edge of the clock signal. The first lens communication unit 114 outputs 8-bit data B7 to B0 to the data line DLC at the rising edge of the clock signal. The first camera communication unit 207 receives 8-bit data B7 to B0 from the data line DLC in synchronization with the rising edge of the clock signal. The first lens communication unit 114 receives 8-bit data B7 to B0 from the data line DCL in synchronization with the rising edge of the clock signal. In this way, the camera first communication unit 207 and the lens first communication unit 114 can send and receive data to and from each other.

レンズ第1通信部114は、データラインDCLからの8ビットデータB7〜B0を受信すると、クロックラインLCLKを時間Tbusyの間、クロック信号をLOWに維持し、時間Tbusyが経過するとクロック信号のLOW維持を解除する。時間Tbusyは、交換レンズ10が受信したデータを処理する時間であり、カメラ第1通信部207はデータ送信後にクロックラインLCLKがLOWからHIGHに変化するまで次のデータ送信を行わない。カメラ第1通信部207とレンズ第1通信部114は、以上の処理を繰り返すことで第1の通信によるデータ送受信を行う。 Upon receiving the 8-bit data B7 to B0 from the data line DCL, the first lens communication unit 114 maintains the clock signal LOW for the time Tbusy during the time Tbusy, and maintains the clock signal LOW for the time Tbusy. To cancel. The time Tbusy is a time for processing the data received by the interchangeable lens 10, and the first camera communication unit 207 does not perform the next data transmission until the clock line LCLK changes from LOW to HIGH after the data transmission. The first camera communication unit 207 and the first lens communication unit 114 perform data transmission and reception by the first communication by repeating the above processing.

次に、第2の通信について、図3を用いて説明する。図3は、第2の通信を行うための第2の通信回路の構成を示している。カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408は、第2通信接点部203,306,304,406,404,103を介して通信可能に接続されている。第2通信接点部203,306,304,406,404,103のうちCS接点203a,306a,304a,406a,404a,103aを介してCS信号線(第1の信号線)が設けられている。また、第2通信接点部203,306,304,406,404,103のうちDATA接点203b,306b,304b,406b,404b,103bを介してDATA信号線(第2の信号線)が設けられている。CS信号線は通信の制御を行う信号(コマンド)を伝搬するための信号線であり、DATA信号線は送受信されるデータを伝搬するための信号線である。 Next, the second communication will be described with reference to FIG. FIG. 3 shows the configuration of the second communication circuit for performing the second communication. The second camera communication unit 208, the second lens communication unit 115, and the second adapter communication units 308 and 408 are communicably connected via the second communication contact units 203, 306, 304, 406, 404, and 103. .. A CS signal line (first signal line) is provided through the CS contacts 203a, 306a, 304a, 406a, 404a, 103a of the second communication contact parts 203, 306, 304, 406, 404, 103. Further, a DATA signal line (second signal line) is provided through the DATA contacts 203b, 306b, 304b, 406b, 404b, 103b of the second communication contact parts 203, 306, 304, 406, 404, 103. There is. The CS signal line is a signal line for propagating a signal (command) for controlling communication, and the DATA signal line is a signal line for propagating transmitted/received data.

カメラ本体20には、接地スイッチ221と入出力切換えスイッチ222とが設けられている。交換レンズ10には、接地スイッチ121と入出力切換えスイッチ122とが設けられている。中間アダプタ30,40には、接地スイッチ321と入出力切換えスイッチ322とが設けられている。 The camera body 20 is provided with a ground switch 221 and an input/output changeover switch 222. The interchangeable lens 10 is provided with a ground switch 121 and an input/output changeover switch 122. The intermediate adapters 30 and 40 are provided with a ground switch 321 and an input/output changeover switch 322.

カメラ制御部205、レンズ制御部113およびアダプタ制御部309,409はそれぞれ、カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408を通じてCS信号線の状態(HiとLow)を検出することが可能である。CS信号線は、カメラ本体20内で不図示の電源にプルアップ接続されているとともに、接地スイッチ221,121,321,421を介してGNDと接続可能なオープンドレイン接続となっている。この構成により、カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408はそれぞれ、接地スイッチ221,121,321,421をオン(接続)することにより、CS信号線をLowにすることが可能である。また、接地スイッチ221,121,321,421のすべてをオフ(遮断)することにより、CS信号線をHiにすることができる。CS信号線は、ブロードキャスト通信とP2P通信とを区別するためや、P2P通信における通信方向を切り替えるため等に用いられる。 The camera control unit 205, the lens control unit 113, and the adapter control units 309 and 409 pass through the second camera communication unit 208, the second lens communication unit 115, and the second adapter communication unit 308 and 408, respectively, on the CS signal line state (Hi and Hi). Low) can be detected. The CS signal line is pull-up connected to a power source (not shown) in the camera body 20, and is an open drain connection that can be connected to GND via the ground switches 221, 121, 321, 421. With this configuration, the second camera communication unit 208, the second lens communication unit 115, and the second adapter communication units 308 and 408 turn on (connect) the ground switches 221, 121, 321, and 421, respectively. Can be set to Low. Further, by turning off (cutting off) all the ground switches 221, 121, 321, 421, the CS signal line can be set to Hi. The CS signal line is used to distinguish between broadcast communication and P2P communication, and to switch the communication direction in P2P communication.

DATA信号線は、データの伝搬方向を切り替えながら使用可能な単線の双方向データ送信線である。DATA信号線は、交換レンズ10の入出力切換えスイッチ122を介してレンズ第2通信部115と接続され、カメラ本体20の入出力切換えスイッチ222を介してカメラ第2通信部208と接続される。また、中間アダプタ30,40の入出力切換えスイッチ322を介してアダプタ第2通信部308,408とそれぞれ接続される。 The DATA signal line is a single-line bidirectional data transmission line that can be used while switching the data propagation direction. The DATA signal line is connected to the lens second communication unit 115 via the input/output changeover switch 122 of the interchangeable lens 10 and is connected to the camera second communication unit 208 via the input/output changeover switch 222 of the camera body 20. The intermediate adapters 30 and 40 are connected to the adapter second communication units 308 and 408 via the input/output changeover switch 322, respectively.

カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408はそれぞれ、データを送信するためのデータ出力部(CMOS方式)とデータを受信するためのデータ入力部(CMOS方式)とを有する。カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408はそれぞれ、入出力切換えスイッチ222,122,322,422を操作することで、DATA信号線をデータ出力部とデータ入力部のいずれに接続するかを選択することができる。 The second camera communication unit 208, the second lens communication unit 115, and the second adapter communication units 308 and 408 each have a data output unit (CMOS system) for transmitting data and a data input unit (CMOS) for receiving data. Method) and. The camera second communication unit 208, the lens second communication unit 115, and the adapter second communication units 308 and 408 operate the input/output changeover switches 222, 122, 322, and 422, respectively, so that the DATA signal line serves as a data output unit. It is possible to select which one of the data input units is connected.

すなわち、カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408は、自身がデータを送信する場合には、カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408を通じてDATA信号線をデータ出力部と接続するように入出力切換えスイッチ222,122,322,422を操作する。一方、自身がデータを受信する場合には、カメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408を通じてDATA信号線をデータ入力部と接続するように入出力切換えスイッチ222,122,322,422を操作する。 That is, the second camera communication unit 208, the second lens communication unit 115, and the second adapter communication units 308 and 408 transmit the data themselves, the second camera communication unit 208, the second lens communication unit 115, and the second lens communication unit 115. The input/output change-over switches 222, 122, 322, 422 are operated to connect the DATA signal line to the data output section through the adapter second communication sections 308, 408. On the other hand, when the device itself receives the data, the input/output is switched so as to connect the DATA signal line to the data input unit through the camera second communication unit 208, the lens second communication unit 115, and the adapter second communication units 308 and 408. The switches 222, 122, 322, 422 are operated.

ここで、CS信号線とDATA信号線により行われるブロードキャスト通信とP2P通信について説明する。CS信号線は、接地スイッチ221,121,321,421のいずれかがオンになるとLowになる。このCS信号線のLowは、ブロードキャスト通信のきっかけとして使用される。通信マスタであるカメラ制御部205がカメラ第2通信部208を通じてCS信号線をLowにすることでブロードキャスト通信が開始される。レンズ制御部113およびアダプタ制御部309,409は、CS信号線がLowのときにDATA線を介して受信したデータは、ブロードキャスト通信でのデータであると判断する。また、レンズ制御部113およびアダプタ制御部309,409は、CS信号線をLowにすることで、カメラ制御部205にブロードキャスト通信をリクエストすることができる。 Here, broadcast communication and P2P communication performed by the CS signal line and the DATA signal line will be described. The CS signal line becomes Low when any of the ground switches 221, 121, 321, 421 is turned on. This Low of the CS signal line is used as a trigger for broadcast communication. Broadcast communication is started when the camera control unit 205, which is a communication master, sets the CS signal line to Low through the second camera communication unit 208. The lens control unit 113 and the adapter control units 309 and 409 determine that the data received via the DATA line when the CS signal line is Low is the data in the broadcast communication. Further, the lens control unit 113 and the adapter control units 309 and 409 can request broadcast communication to the camera control unit 205 by setting the CS signal line to Low.

CS信号線のLowを検出したカメラ制御部205、レンズ制御部113およびアダプタ制御部309,409は、ブロードキャスト通信の処理中は自身の接地スイッチをオンにしておく。これにより、ブロードキャスト通信に対する処理が継続していることを他の制御部に通知することができる。 The camera control unit 205, the lens control unit 113, and the adapter control units 309 and 409 that have detected the Low of the CS signal line turn on their own ground switches during the processing of the broadcast communication. As a result, it is possible to notify another control unit that the processing for the broadcast communication is continuing.

第2の通信はブロードキャスト通信で始まり、ブロードキャスト通信で終わると規定することで、アクセサリのDATA信号線は基本的に受信状態を維持しておけばよい。カメラ制御部205が、アクセサリ(レンズ制御部113およびアダプタ制御部309,409)とP2P通信を行う場合には、まずブロードキャスト通信により通信対象のアクセサリを指定する。ブロードキャスト通信の送信を完了したカメラ制御部205は、指定したアクセサリとP2P通信を行う。 By defining that the second communication starts with broadcast communication and ends with broadcast communication, the DATA signal line of the accessory may basically keep the receiving state. When the camera control unit 205 performs P2P communication with the accessories (lens control unit 113 and adapter control units 309 and 409), first, the accessory to be communicated is designated by broadcast communication. The camera control unit 205, which has completed the transmission of the broadcast communication, performs the P2P communication with the designated accessory.

P2P通信では、まずカメラ制御部205がアクセサリに対してデータを送信し、それを受けたアクセサリがカメラ制御部205にデータを送信する。以後、これらが交互に行われる。P2P通信においては、通信中のCS信号線をHighに維持することでブロードキャスト通信と区別される。P2P通信におけるCS信号線はビジー信号として使用される。すなわち、カメラ制御部205およびアクセサリがそれぞれ、通信相手に自身からのデータ送信が終了したことを通知するためにCS信号線をLowとし、データ受信の準備が整ったことを通知するためにCS信号線をHighにする。 In P2P communication, first, the camera control unit 205 transmits data to the accessory, and the accessory that receives the data transmits the data to the camera control unit 205. Thereafter, these are alternately performed. P2P communication is distinguished from broadcast communication by maintaining the CS signal line during communication at High. The CS signal line in P2P communication is used as a busy signal. That is, each of the camera control unit 205 and the accessory sets the CS signal line to Low to notify the communication partner that the data transmission from itself has been completed, and the CS signal to notify that the data reception is ready. Make the line High.

P2P通信が終了すると、カメラ制御部205はP2P通信の終了を各アクセサリにブロードキャスト通信により通知する。このようにして、カメラ制御部205は、複数のアクセサリと2本の通信ラインを介してデータ通信を行うことができる。 When the P2P communication ends, the camera control unit 205 notifies each accessory of the end of the P2P communication by broadcast communication. In this way, the camera control unit 205 can perform data communication with a plurality of accessories via the two communication lines.

なお、図3に示した通信回路は例に過ぎず、他の通信回路を用いてもよい。例えば、CS信号線をカメラ本体20内でGNDにプルダウン接続し、交換レンズ10の接地スイッチ121、カメラ本体20の接地スイッチ221および中間アクセサリ30,40の接地スイッチ321,421を介して不図示の電源と接続可能な構成としてもよい。また、DATA信号線が常にカメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408のデータ入力部に接続される構成としてもよい。この場合、DATA信号線とカメラ第2通信部208、レンズ第2通信部115およびアダプタ第2通信部308,408のデータ出力部との接続と遮断をスイッチにより切り換えるようにすればよい。 The communication circuit shown in FIG. 3 is merely an example, and other communication circuits may be used. For example, a CS signal line is connected to GND in the camera body 20 by pull-down connection, and not shown via the ground switch 121 of the interchangeable lens 10, the ground switch 221 of the camera body 20, and the ground switches 321 and 421 of the intermediate accessories 30 and 40. It may be configured to be connectable to a power source. Further, the DATA signal line may be always connected to the camera second communication unit 208, the lens second communication unit 115, and the data input units of the adapter second communication units 308 and 408. In this case, the connection and disconnection of the DATA signal line and the data output units of the camera second communication unit 208, the lens second communication unit 115, and the adapter second communication units 308 and 408 may be switched by a switch.

本実施例では、上述した第1の通信回路によりカメラ本体20と交換レンズ10との間の即時性が求められる通信を行い、交換レンズ10および中間アダプタ30,40に設けられた操作部材の操作量の通信等、即時性が低い通信を第2の通信回路により行う。これにより、交換レンズ10の制御の即時性を確保することができる。第1の通信は、カメラ本体20と交換レンズ10の一対一通信であるため、一対多通信のようにデータ衝突のおそれが無く、それを避けるための通信を省略することができるため、即時性が高い通信が可能となる。 In the present embodiment, the first communication circuit described above performs communication requiring immediateness between the camera body 20 and the interchangeable lens 10, and operates the operation members provided on the interchangeable lens 10 and the intermediate adapters 30 and 40. The second communication circuit performs low-immediate communication such as communication of quantity. As a result, it is possible to ensure the immediacy of control of the interchangeable lens 10. Since the first communication is one-to-one communication between the camera body 20 and the interchangeable lens 10, there is no risk of data collision unlike in one-to-many communication, and communication for avoiding the data collision can be omitted. Higher communication is possible.

また、カメラ本体20とアクセサリ(交換レンズ10および中間アダプタ30,40)との通信に第2の通信回路のみを用いることで、アクセサリが第1の通信の高速かつ高度な通信プロトコルに対応する必要がなくなる。このため、アクセサリの低コスト化が可能となる。 Further, by using only the second communication circuit for communication between the camera body 20 and the accessory (the interchangeable lens 10 and the intermediate adapters 30 and 40), the accessory needs to support the high speed and advanced communication protocol of the first communication. Disappears. Therefore, the cost of the accessory can be reduced.

一方、第2の通信には、これが一対多通信であるために、データ衝突のおそれがある。これを避けるために、上述したように通信を占有する手続きを行う。カメラ本体20がある通信対象アクセサリと通信を行う際に、該通信対象アクセサリを示す識別情報(ID)をブロードキャスト通信により通知する。そして、次にカメラ本体20が第2の通信回路の開放をブロードキャスト通信により通知するまで、通信対象アクセサリのみがカメラ本体20からの通信に応答する。 On the other hand, in the second communication, there is a risk of data collision because this is one-to-many communication. In order to avoid this, the procedure for occupying communication is performed as described above. When the camera body 20 communicates with a certain accessory to be communicated, the identification information (ID) indicating the accessory to be communicated is notified by broadcast communication. Then, only the communication target accessory responds to the communication from the camera body 20 until the camera body 20 notifies the opening of the second communication circuit by broadcast communication.

第2の通信でやり取りされる通信の内容として、前述したように、アクセサリに設けられた操作部材の操作量を伝達することが主である場合には、多くの通信はアクセサリからの通信リクエストにより開始される。通信リクエストが、本実施例のように全アクセサリ共通の信号線のレベルを変更するというように単純に行える場合には、通信リクエストを受けたカメラ本体20は各アクセサリにリクエストを行ったかを順次確認する必要がある。 As described above, when the operation amount of the operation member provided in the accessory is mainly transmitted as the content of the communication exchanged in the second communication, most of the communication depends on the communication request from the accessory. Be started. When the communication request can be made simply by changing the level of the signal line common to all the accessories as in the present embodiment, the camera body 20 that has received the communication request sequentially confirms whether the request has been made to each accessory. There is a need to.

このため、カメラ本体20が、装着されている複数のアクセサリのそれぞれが通信リクエストを行うアクセサリか否かを把握しておくことは、通信量の削減の観点から有意である。例えば、複数のアクセサリのうちいずれかから通信リクエストが発生した場合、その通信リクエストを行うアクセサリが1つであれば、そのアクセサリに対してのみ通信リクエストの発生要因を問い合わせればよい。 Therefore, it is effective for the camera body 20 to know whether each of the plurality of attached accessories is an accessory that makes a communication request from the viewpoint of reducing the communication amount. For example, when a communication request is generated from any of the plurality of accessories, if there is only one accessory making the communication request, only the accessory may be inquired about the cause of the communication request generation.

本実施例においては、交換レンズ10はカメラ本体20との通信に第1の通信および第2の通信のいずれをも使用する。このとき、交換レンズ10がその状態を示すステータス情報をカメラ本体20に送信するように即時性が求められる通信やカメラ本体20から交換レンズ10に制御パラメータを送信する通信には第1の通信を用いる。一方、交換レンズ10に設けられた操作部材の操作量をカメラ本体20に通信するような即時性の低い通信には第2の通信を用いる。 In this embodiment, the interchangeable lens 10 uses both the first communication and the second communication for communication with the camera body 20. At this time, the first communication is used for communication requiring immediateness so that the interchangeable lens 10 transmits status information indicating the state to the camera body 20 and communication for transmitting control parameters from the camera body 20 to the interchangeable lens 10. To use. On the other hand, the second communication is used for communication with low immediacy such as communication of the operation amount of the operation member provided on the interchangeable lens 10 to the camera body 20.

次に、カメラ本体20がアクセサリから第1の情報としての第2通信停止情報を受信してから、カメラシステムの通常動作状態において第2通信停止情報が利用されるまでの処理(通信制御方法)について図4のフローチャートを用いて説明する。通常動作状態とは、カメラシステム全体が後述する初期通信の終了後にカメラ本体20による各アクセサリの設定を終了した状態である。また、カメラ制御部205、アダプタ制御部309,409およびレンズ制御部113は、コンピュータプログラムに従って以下の処理を実行する。 Next, the process from the camera body 20 receiving the second communication stop information as the first information from the accessory to the use of the second communication stop information in the normal operation state of the camera system (communication control method) Will be described with reference to the flowchart of FIG. The normal operation state is a state in which the camera system 20 completes the setting of each accessory by the camera body 20 after the end of initial communication described later. Further, the camera control unit 205, the adapter control units 309 and 409, and the lens control unit 113 execute the following processing according to the computer program.

S401において電源投入により起動したカメラ制御部205は、S402に進み、不図示の電源供給用マウント接点を介して、交換レンズ10および中間アクセサリ30,40に電源(以下,アクセサリ電源という)を供給する。 The camera control unit 205 activated by turning on the power in step S<b>401 proceeds to step S<b>402, and supplies power (hereinafter, referred to as accessory power supply) to the interchangeable lens 10 and the intermediate accessories 30 and 40 via a power supply mount contact (not shown). ..

次にS403では、カメラ制御部205は、第1の通信によりレンズ制御部113と初期通信を行う。該初期通信では、交換レンズ10の識別情報(以下、レンズ識別情報という)を受信する。レンズ識別情報は、交換レンズ10の種類(機種)の識別に用いられる機種ナンバーの情報であってもよいし、その交換レンズ10に固有の光学データを示す光学データ情報であってもよい。また、交換レンズ10が有する機能を示す情報や同一機種の中での個体を識別可能な製造ナンバー(シリアルナンバー)であってもよい。 Next, in step S403, the camera control unit 205 performs initial communication with the lens control unit 113 by the first communication. In the initial communication, the identification information of the interchangeable lens 10 (hereinafter referred to as lens identification information) is received. The lens identification information may be model number information used to identify the type (model) of the interchangeable lens 10, or may be optical data information indicating optical data unique to the interchangeable lens 10. Further, it may be information indicating the function of the interchangeable lens 10 or a manufacturing number (serial number) capable of identifying an individual in the same model.

またS404では、カメラ制御部205は、第2の通信によりアクセサリ(レンズ制御部113およびアダプタ制御部309,409)と初期通信を行い、アクセサリ認証情報を受信する。S404での一連の通信を、以下の説明においてアクセサリ認証通信という。ここで、アクセサリ認証情報には、アクセサリ識別情報(レンズ識別情報およびアダプタ識別情報)と第2通信停止情報とが含まれる。すなわち、アクセサリ認証通信においてやり取りされる情報は、第2の通信により特定のアクセサリを通信対象として指定して通信を行うために必要な基本的な情報である。 In step S404, the camera control unit 205 performs initial communication with the accessory (lens control unit 113 and adapter control units 309 and 409) by the second communication, and receives accessory authentication information. A series of communication in S404 will be referred to as accessory authentication communication in the following description. Here, the accessory authentication information includes accessory identification information (lens identification information and adapter identification information) and second communication stop information. That is, the information exchanged in the accessory authentication communication is the basic information necessary for performing communication by designating the specific accessory as the communication target by the second communication.

第2の通信によりレンズ制御部113からカメラ制御部205に送信されるレンズ識別情報は、第1の通信により送信されるレンズ識別情報と同じ情報であってもよいし、交換レンズであることを示す特定の値であってもよい。一方、アダプタ識別情報は第2の通信によりP2P通信の通信対象の指定に用いられるため、中間アダプタ30,40間で重複しない情報とする必要がある。アダプタ識別情報は、中間アダプタ30,40の種類(機種)の識別に用いられる機種ナンバーの情報であってもよいし、その中間アダプタ30,40に固有の光学データを示す光学データ情報であってもよい。また、中間アダプタ30,40が有する機能を示す情報や、同一機種の中での個体を識別可能な製造ナンバー(シリアルナンバー)であってもよい。 The lens identification information transmitted from the lens control unit 113 to the camera control unit 205 by the second communication may be the same information as the lens identification information transmitted by the first communication, or may be an interchangeable lens. It may be a specific value shown. On the other hand, the adapter identification information is used to specify the communication target of the P2P communication by the second communication, and therefore, it is necessary to make the information so that the intermediate adapters 30 and 40 do not overlap. The adapter identification information may be model number information used to identify the type (model) of the intermediate adapter 30 or 40, or may be optical data information indicating optical data unique to the intermediate adapter 30 or 40. Good. Further, it may be information indicating the functions of the intermediate adapters 30 and 40, or a manufacturing number (serial number) capable of identifying an individual in the same model.

第2通信停止情報は、アクセサリ認証通信後の第2の通信の稼働状況を示し、「真」もしくは「偽」の2値を取り得る論理型情報である。すなわち、第2通信停止情報は、第2の通信を停止するか否かに対応する情報である。第2通信停止情報が「真」であるアクセサリは、第2通信停止情報の送信後、第2通信部(115、308または408)の動作を停止する。第2通信部が停止した状態はアクセサリ電源が遮断するまで継続する。アクセサリ電源が遮断後、再供給(再投入)されると、アクセサリは第2通信が可能な状態(第2通信部が動作している状態)で起動する。 The second communication stop information indicates the operating status of the second communication after the accessory authentication communication, and is logical type information that can take a binary value of “true” or “false”. That is, the second communication stop information is information corresponding to whether or not to stop the second communication. The accessory for which the second communication stop information is “true” stops the operation of the second communication unit (115, 308 or 408) after transmitting the second communication stop information. The state in which the second communication unit is stopped continues until the accessory power supply is cut off. When the accessory power is cut off and then re-supplied (re-input), the accessory is activated in a state in which the second communication is possible (a state in which the second communication unit is operating).

さらに、第2通信停止情報が「真」であるアクセサリが中間アダプタ(30または40)である場合には、第1通信制御部を持たないため、アダプタ第2通信部(308または408)だけではなくアダプタ制御部(309または409)およびアダプタ操作部(310および410)も停止してもよい。この場合、アクセサリはスリープ状態に移行し、アクセサリ電源が遮断された後、再供給されるまで再起動しない。 Further, when the accessory for which the second communication stop information is “true” is the intermediate adapter (30 or 40), it does not have the first communication control unit, and therefore the adapter second communication unit (308 or 408) alone is used. Alternatively, the adapter control unit (309 or 409) and the adapter operation unit (310 and 410) may be stopped. In this case, the accessory does not restart until it is re-supplied after the accessory power supply is cut off and the accessory power supply is cut off.

第2通信停止情報が「真」であるアクセサリに対しては、カメラ制御部205はアクセサリ認証通信後からアクセサリにアクセサリ電源が再供給されるまで、アクセサリと第2の通信による通信を行わない。このため、カメラ制御部205は、アクセサリへの電源供給が停止されるまでは第2通信停止情報を保持(記憶)しておく。そして、アクセサリへの電源供給が停止される際に、それまで保持した第2通信停止情報を初期化する。アクセサリ認証通信で取得したアクセサリ識別情報が不要であれば、カメラ制御部205はそれを破棄する。 For an accessory for which the second communication stop information is “true”, the camera control unit 205 does not communicate with the accessory by the second communication until after the accessory power is supplied again to the accessory after the accessory authentication communication. Therefore, the camera control unit 205 holds (stores) the second communication stop information until the power supply to the accessory is stopped. Then, when the power supply to the accessory is stopped, the second communication stop information held until then is initialized. If the accessory identification information acquired by the accessory authentication communication is unnecessary, the camera control unit 205 discards it.

アクセサリ認証通信後に第2の通信による通信を行わないアクセサリには、第1の通信でのみカメラ制御部205と通信を行う交換レンズや、操作部材を有さない中間アダプタ等がある。操作部材を有さない中間アダプタは、アクセサリ認証通信後の通常動作状態では通信を行う必要がないため、P2P通信による通信対象の指定のためのアダプタ識別情報を保持しておく必要はない。ただし、カメラ本体20に接続されているアクセサリの数をカメラ制御部205が把握するために、該中間アダプタがアクセサリ認証通信を行うことは必要である。 Accessories that do not perform the second communication after the accessory authentication communication include an interchangeable lens that communicates with the camera control unit 205 only in the first communication and an intermediate adapter that does not have an operation member. Since the intermediate adapter having no operation member does not need to perform communication in the normal operation state after accessory authentication communication, it is not necessary to hold adapter identification information for designating a communication target by P2P communication. However, in order for the camera control unit 205 to know the number of accessories connected to the camera body 20, it is necessary for the intermediate adapter to perform accessory authentication communication.

アクセサリが第2の通信を停止するタイミングは、全てのアクセサリとのアクセサリ認証通信が終了したタイミングでもよいし、各アクセサリが自身のアクセサリ認証通信が終了したタイミングであってもよい。 The timing at which the accessory stops the second communication may be the timing at which the accessory authentication communication with all the accessories ends, or the timing at which each accessory ends its own accessory authentication communication.

カメラ制御部205は、カメラ本体20に装着されている複数のアクセサリに対して第2の通信によるアクセサリ認証通信を順次行いながら装着されたアクセサリの数を把握する。消費電力や通信品質の観点から、所定数以上のアクセサリが装着されている場合は、ユーザへの警告動作を行ってもよいし、いずれかのアクセサリの機能を制限してもよい。 The camera control unit 205 grasps the number of attached accessories while sequentially performing accessory authentication communication by the second communication with respect to the plurality of accessories attached to the camera body 20. From the viewpoint of power consumption and communication quality, when a predetermined number or more of accessories are attached, a warning operation may be performed to the user, or the function of one of the accessories may be limited.

カメラ制御部205が第2の通信によりアクセサリから第2通信停止情報を取得する処理の詳細については後述する。S403とS404は、それぞれ別の通信経路を使用して行われるため、カメラ制御部205はこれらの処理を並行して行ってもよいし、順序を問わずに順次行ってもよい。S403とS404にてレンズ識別情報、アクセサリ認証情報および第2通信停止情報を取得したカメラ制御部205は、S405に進む。 The details of the process in which the camera control unit 205 acquires the second communication stop information from the accessory through the second communication will be described later. Since S403 and S404 are performed using different communication paths, the camera control unit 205 may perform these processes in parallel, or may perform them in any order. The camera control unit 205, which has acquired the lens identification information, the accessory authentication information, and the second communication stop information in S403 and S404, proceeds to S405.

これ以後、第1の通信はカメラ制御部205が交換レンズ10のステータス情報を取得する通信と交換レンズ10に制御パラメータを送信する通信に用いられ、それ以外の通信は第2の通信により行われる。 After that, the first communication is used for the communication in which the camera control unit 205 acquires the status information of the interchangeable lens 10 and the communication for transmitting the control parameter to the interchangeable lens 10, and the other communication is performed by the second communication. ..

S405では、カメラ制御部205は、通信対象アクセサリのアクセサリ識別情報を交換レンズ10および中間アダプタ30,40に対してブロードキャスト通信により通知することで通信対象アクセサリを指定する。そして、第2通信停止情報が「偽」である通信対象アクセサリからP2P通信によりアクセサリ詳細情報を取得する。アクセサリ詳細情報には、各アクセサリが有する機能を示す情報、例えば、操作リングやスライドスイッチ等の操作部材を有することやその操作部材の操作により光学特性を変更することができる等の操作機能情報およびユーザインターフェースに関する情報である。また、アクセサリ詳細情報には、撮像画像ファイルに記録される際の該アクセサリの名称の情報が含まれる。さらに、アクセサリ詳細情報には、そのアクセサリで発生し得る通信リクエスト要因(これについては後述する)も含まれる。このように、アクセサリ詳細情報は、該当するアクセサリに関する種々の情報を含んでおり、アクセサリ認証情報よりもデータ量が大きい。 In S405, the camera control unit 205 specifies the accessory to be communicated by notifying the interchangeable lens 10 and the intermediate adapters 30 and 40 of the accessory identification information of the accessory to be communicated by broadcast communication. Then, the accessory detailed information is acquired by P2P communication from the communication target accessory whose second communication stop information is “false”. The accessory detailed information includes information indicating the function of each accessory, for example, operating function information such as having an operating member such as an operating ring and a slide switch, and changing the optical characteristics by operating the operating member, This is information about the user interface. Further, the accessory detailed information includes information on the name of the accessory when it is recorded in the captured image file. Further, the accessory detailed information also includes communication request factors (which will be described later) that may occur with the accessory. As described above, the accessory detailed information includes various kinds of information regarding the corresponding accessory and has a larger data amount than the accessory authentication information.

また、カメラ本体20の機種やファームバージョン等のカメラ情報に応じてアクセサリの設定や状態が変化する場合もあるため、本ステップでは、カメラ制御部205から通信対象アクセサリにカメラ情報を送信する。 In addition, since the accessory settings and states may change depending on the camera information such as the model of the camera body 20 and the firmware version, in this step, the camera information is transmitted from the camera control unit 205 to the communication target accessory.

アクセサリ詳細情報は、アクセサリ認証通信でやり取りされる情報と比べてデータサイズが大きい。しかし、第2通信停止情報が「真」であるアクセサリとはアクセサリ詳細情報をやり取りする必要がないため、第2通信停止情報を用いることで通信量を削減することができる。 The accessory detailed information has a larger data size than the information exchanged in the accessory authentication communication. However, since it is not necessary to exchange accessory detailed information with an accessory whose second communication stop information is "true", it is possible to reduce the communication amount by using the second communication stop information.

S406では、カメラ制御部205は、通常動作状態に移行するために、第2通信停止情報が「偽」であるアクセサリの設定を行う。ここではアクセサリの操作部材の設定を第2の通信で行うが、その処理については後述する。また、ここでは、第2通信停止情報が「真」であるアクセサリに対する設定は行わない。 In S406, the camera control unit 205 sets an accessory for which the second communication stop information is “false” in order to shift to the normal operation state. Here, the setting of the operation member of the accessory is performed by the second communication, and the process will be described later. Further, here, the setting for the accessory whose second communication stop information is "true" is not performed.

次のS407からS408に進み、再びS407に戻る処理は、カメラシステムの通常動作状態を示す。通常動作状態では、カメラ制御部205は、第2通信によりアクセサリに対する再設定を行うとともに、アクセサリからの変化情報を取得する。変化情報には、例えば、アクセサリの操作部材が操作されたときの操作量の情報、NDフィルタ等の光学部材が挿入されたときの光学情報の変化を示す情報およびアクセサリのリセット処理が実行された場合の該リセット処理が行われたことを示す情報が含まれる。アクセサリの再設定は、S406と同様に、カメラ制御部205から通信対象アクセサリのアクセサリ識別情報をブロードキャスト通信により通知することで通信対象アクセサリを指定し、その後、通信対象アクセサリとP2P通信を行うことで行われる。 The process of proceeding from S407 to S408 and returning to S407 again indicates a normal operation state of the camera system. In the normal operation state, the camera control unit 205 resets the accessory by the second communication and acquires change information from the accessory. As the change information, for example, information on the operation amount when the operation member of the accessory is operated, information indicating a change in the optical information when the optical member such as the ND filter is inserted, and the accessory reset process are executed. In this case, information indicating that the reset process has been performed is included. As with S406, the accessory is reset by designating the accessory to be communicated by notifying the accessory identification information of the accessory to be communicated from the camera control unit 205 by broadcast communication, and then performing P2P communication with the accessory to be communicated. Done.

カメラ制御部205は、周期的に対象となるアクセサリに変化情報を問い合わせてもよい。ただし、変化情報が操作部材の操作量の情報である場合は、操作部材が操作されている時間は限られているため、「操作量=0」の返信が戻ってくる場合がほとんどである。したがって、無駄な通信を行わないという点で、ポーリングではなく操作部材が操作されたときにアクセサリからカメラ制御部205に対して通信をリクエストし、カメラ制御部205は該通信リクエストを受けて変化情報を取得することが好ましい。 The camera control unit 205 may periodically inquire of the target accessory about change information. However, when the change information is information on the amount of operation of the operating member, the time during which the operating member is operated is limited, so that a reply of "operation amount=0" is returned in most cases. Therefore, in that unnecessary communication is not performed, the accessory requests communication from the camera control unit 205 when the operation member is operated instead of polling, and the camera control unit 205 receives the communication request and changes information. Is preferably obtained.

S407では、カメラ制御部205は、ユーザによるカメラ本体20における設定の変更等により、アクセサリの設定を変更する必要があるか否かを判断する。カメラ制御部205は、アクセサリの設定を変更する必要がある場合はS406に進んでアクセサリの設定を再度行い、S407に進んで再び通常動作状態に戻る。 In S407, the camera control unit 205 determines whether or not the accessory setting needs to be changed due to the user changing the setting in the camera body 20 or the like. When it is necessary to change the accessory setting, the camera control unit 205 proceeds to S406 to set the accessory again, and proceeds to S407 to return to the normal operation state again.

一方、S407でアクセサリの設定を変更する必要が無い場合は、カメラ制御部205はS408に進む。S408では、カメラ制御部205は、アクセサリからの通信リクエストがあったか否かを判断する。アクセサリからの通信リクエストは、アクセサリがCS信号線をLowにすることで行う。カメラ制御部205は、CS信号線がLowとなったことを、Lowに下がるエッジを検出した際に割り込みを発生させて検出してもよいし、CS信号線のレベルをポーリングすることで検出してもよい。 On the other hand, if it is not necessary to change the accessory setting in S407, the camera control unit 205 proceeds to S408. In S408, the camera control unit 205 determines whether or not there is a communication request from the accessory. The communication request from the accessory is made by the accessory setting the CS signal line to Low. The camera control unit 205 may detect that the CS signal line is Low by generating an interrupt when detecting an edge falling to Low, or by polling the level of the CS signal line. May be.

カメラ制御部205は、アクセサリからの通信リクエストを検出した場合はS409に進み、第2通信停止情報が「偽」のアクセサリに対して通信リクエスト処理を行う。まず、カメラ制御部205は、アクセサリに対して通信リクエストを行った要因(以下、通信リクエスト要因という)を問い合わせる。第2通信停止情報が「真」のアクセサリは、第2の通信を停止しており、通信リクエストを行わないため、通信リクエスト要因を問い合わせる必要はない。そして、カメラ制御部205は、アクセサリから、通信リクエストの要因に対応する第2の情報としての通信リクエスト要因を受信すると、該通信リクエスト要因に応じた処理を行って、S406に戻る。 When detecting the communication request from the accessory, the camera control unit 205 proceeds to step S409, and performs the communication request process for the accessory whose second communication stop information is “false”. First, the camera control unit 205 inquires of the cause of the communication request to the accessory (hereinafter, referred to as communication request factor). The accessory for which the second communication stop information is “true” has stopped the second communication and does not make a communication request, so that it is not necessary to inquire the cause of the communication request. Then, when the camera control unit 205 receives the communication request factor as the second information corresponding to the communication request factor from the accessory, the camera control unit 205 performs a process according to the communication request factor and returns to S406.

このように第2通信停止情報を用いることによって、通信が不要なアクセサリに対する設定や通信リクエストのための余計(不要)な通信を行わずに済む。これにより、カメラシステムの起動に要する時間やアクセサリからの変化情報の取得に要する時間を短縮することができる。また、第2の通信を使用しないアクセサリの消費電力を抑えることができる。 By using the second communication stop information in this way, unnecessary (unnecessary) communication for setting or communication request for an accessory that does not require communication can be avoided. As a result, it is possible to shorten the time required to activate the camera system and the time required to acquire change information from the accessory. In addition, the power consumption of the accessory that does not use the second communication can be suppressed.

これを実現するためには、第2通信停止情報を送信したアクセサリが電源の再投入まで第2の通信を停止し続けることが重要である。これは、第2通信停止情報を送信したアクセサリが電源の再投入以外のきっかけで第2の通信を有効化した場合、カメラ制御部205はそれを検出することができない。このため、該アクセサリは、その設定や通信リクエスト要因を取得する通信の対象とはなり得ないからである。 In order to realize this, it is important that the accessory that has transmitted the second communication stop information keeps stopping the second communication until the power is turned on again. This is because when the accessory that has transmitted the second communication stop information activates the second communication by a trigger other than the power-on again, the camera control unit 205 cannot detect it. Therefore, the accessory cannot be the target of communication for acquiring the setting and the communication request factor.

次に、図4のS404においてカメラ本体20(カメラ制御部205)とアクセサリ(アダプタ制御部309,409およびレンズ制御部113)とにより行われる初期通信としての認証通信の処理について図5のフローチャートを用いて説明する。該認証通信では、カメラ制御部205がアクセサリからアクセサリ認証情報を取得する。前述したように、アクセサリ認証情報には、アクセサリ識別情報と第2通信停止情報が含まれる。 Next, the processing of the authentication communication as the initial communication performed by the camera body 20 (camera control unit 205) and the accessories (adapter control units 309 and 409 and the lens control unit 113) in S404 of FIG. 4 will be described with reference to the flowchart of FIG. It will be explained using. In the authentication communication, the camera control unit 205 acquires accessory authentication information from the accessory. As described above, the accessory authentication information includes the accessory identification information and the second communication stop information.

S501で本処理を開始したカメラ制御部205は、S502において、中間アダプタ30のアダプタ制御部309に対して、第2の通信により、第1の要求としての認証情報要求を送信する。 In S502, the camera control unit 205 that started this processing in S501 transmits an authentication information request as a first request to the adapter control unit 309 of the intermediate adapter 30 by the second communication.

S503で認証情報要求を受信したアダプタ制御部309は、S506に進み、第2の通信により中間アダプタ30のアクセサリ認証情報をカメラ制御部205に送信する。該アクセサリ認証情報には、アクセサリ識別情報および第2通信停止情報が含まれる。 The adapter control unit 309 that has received the authentication information request in S503 proceeds to S506, and transmits the accessory authentication information of the intermediate adapter 30 to the camera control unit 205 by the second communication. The accessory authentication information includes accessory identification information and second communication stop information.

第2通信停止情報は、該中間アダプタ30が認証通信の終了後に第2の通信を停止するのであれば「真」を示し、第2の通信を停止しないのであれば「偽」を示す。終端情報は、カメラ本体20から見て第2の通信の終端であることを示す情報である。中間アダプタ30がカメラ本体20から見て第2の通信の終端であれば、終端情報は「終端である」ことを示すためにアクセサリ認証情報に加えて終端情報を送信する。 The second communication stop information indicates “true” if the intermediate adapter 30 stops the second communication after the end of the authentication communication, and indicates “false” if the second communication is not stopped. The termination information is information indicating that it is the termination of the second communication as seen from the camera body 20. If the intermediate adapter 30 is the end of the second communication as viewed from the camera body 20, the end information is transmitted in addition to the accessory authentication information to indicate that the end information is “the end”.

第2の通信のような一対多通信においては、アクセサリ識別情報を通信データの先頭に追加する等して送信先を指定することができる。しかし、S502の段階では、カメラ制御部205はアクセサリの情報を一切有していないため、通信データによる送信先の指定ができない。そこで、カメラ本体20が複数のアクセサリと順次通信する手段の例として、次のように中間アダプタ30,40に設けられた第2通信接続スイッチ311,411を利用する方法を用いることができる。通常動作状態において、第2通信接続スイッチ311,411は接続状態にあるものとする。 In one-to-many communication such as the second communication, the destination can be specified by adding the accessory identification information to the beginning of the communication data. However, at the stage of S502, since the camera control unit 205 does not have any accessory information, it is not possible to specify the destination by communication data. Therefore, as an example of means for the camera body 20 to sequentially communicate with a plurality of accessories, a method of using the second communication connection switches 311 and 411 provided in the intermediate adapters 30 and 40 can be used as follows. In the normal operation state, the second communication connection switches 311 and 411 are in the connected state.

カメラ制御部205は、S501において第2の通信でのブロードキャスト通信により本処理の開始情報を各アクセサリに対して通知する。第2通信接続スイッチ311,411が接続状態にあるので、各アクセサリは本処理の開始情報を受信する。 In step S501, the camera control unit 205 notifies each accessory of the start information of this processing by broadcast communication in the second communication. Since the second communication connection switches 311 and 411 are in the connected state, each accessory receives the start information of this processing.

本処理の開始情報を受信したアダプタ制御部309,409は、第2通信接続スイッチ311,411を切断状態に切り換える。これにより、アダプタ制御部309だけがカメラ制御部205と接続されている状態になり、カメラ制御部205が送信するデータを受信することができる。受信したデータに対する処理を終了したアダプタ制御部309が第2通信接続スイッチ311を接続状態に切り換えることで、中間アダプタ40のアダプタ制御部409がカメラ制御部205が送信するデータを受信することができるようになる。一方、第2通信接続スイッチ311を接続状態に切り換えたアダプタ制御部309は、本処理が終了するS522においてカメラ制御部205が送信する本処理の終了情報を受信するまで、カメラ制御部205から送信される通知に応答しない。 The adapter control units 309 and 409 that have received the start information of this processing switch the second communication connection switches 311 and 411 to the disconnected state. As a result, only the adapter control unit 309 is connected to the camera control unit 205, and the data transmitted by the camera control unit 205 can be received. The adapter control unit 309 that has completed the processing on the received data switches the second communication connection switch 311 to the connected state, so that the adapter control unit 409 of the intermediate adapter 40 can receive the data transmitted by the camera control unit 205. Like On the other hand, the adapter control unit 309 that has switched the second communication connection switch 311 to the connected state transmits from the camera control unit 205 until it receives the end information of this process transmitted by the camera control unit 205 in S522 when this process ends. Do not respond to notifications that are given.

この後、受信したデータに対する処理を終了したアダプタ制御部409が後述するように第2通信接続スイッチ411を接続状態に切り換えることで、レンズ制御部113がカメラ制御部205が送信するデータを受信することができるようになる。このようにして、カメラ制御部205は、複数のアクセサリと順次通信していくことが可能となる。 After that, the adapter control unit 409 that has completed the processing on the received data switches the second communication connection switch 411 to the connected state as described later, so that the lens control unit 113 receives the data transmitted by the camera control unit 205. Will be able to. In this way, the camera control unit 205 can sequentially communicate with a plurality of accessories.

S504およびS505において、第2通信接続スイッチ311が切断状態となっているため、アダプタ制御部409およびレンズ制御部113は、カメラ制御部205から送信された認証情報要求を受信しない。 In S504 and S505, since the second communication connection switch 311 is in the disconnected state, the adapter control unit 409 and the lens control unit 113 do not receive the authentication information request transmitted from the camera control unit 205.

S506おいて、アダプタ制御部309は、第2の通信により中間アダプタ30のアクセサリ認証情報をカメラ制御部205に送信する。そして、第2通信接続スイッチ311を接続状態に切り換える。これにより、前述したように、アダプタ制御部409はカメラ制御部205が送信するデータを受信することができるようになる。 In step S506, the adapter control unit 309 transmits the accessory authentication information of the intermediate adapter 30 to the camera control unit 205 by the second communication. Then, the second communication connection switch 311 is switched to the connected state. As a result, as described above, the adapter control unit 409 can receive the data transmitted by the camera control unit 205.

S507において中間アダプタ30からのアクセサリ認証情報を受信したカメラ制御部205はS508に進み、受信したアクセサリ認証情報を記憶する。この後、カメラ制御部205はS509に進む。S509、S511およびS513〜S515では、S502、S503およびS506〜S508と同様に、カメラ制御部205は中間アダプタ40からアクセサリ認証情報を取得する。 Upon receiving the accessory authentication information from the intermediate adapter 30 in S507, the camera control unit 205 proceeds to S508 and stores the received accessory authentication information. After that, the camera control unit 205 proceeds to S509. In S509, S511, and S513 to S515, the camera control unit 205 acquires accessory authentication information from the intermediate adapter 40, as in S502, S503, and S506 to S508.

S510では、アダプタ制御部309は、カメラ制御部205が送信した認証情報要求を受信するが、本処理の終了情報を受信していないため、応答しない。また、S512では、第2通信接続スイッチ411が切断状態にあるため、S511において、レンズ制御部113はカメラ制御部205から送信された認証情報要求を受信しない。 In S510, the adapter control unit 309 receives the authentication information request transmitted by the camera control unit 205, but does not respond because the end information of this process has not been received. Further, in S512, since the second communication connection switch 411 is in the disconnected state, the lens control unit 113 does not receive the authentication information request transmitted from the camera control unit 205 in S511.

本実施例は1つの交換レンズ10と2つの中間アダプタ30,40の計3つのアクセサリをカメラ本体20に接続した例である。しかし、中間アダプタを1つのみ接続してもよいし、3つ以上接続してもよい。中間アダプタはいくつでも装着できるため、アクセサリ認証情報を取得する処理は最後のアクセサリ(交換レンズ)からの終端情報を取得することによって終了することが好ましい。 This embodiment is an example in which one interchangeable lens 10 and two intermediate adapters 30 and 40, that is, a total of three accessories, are connected to the camera body 20. However, only one intermediate adapter may be connected, or three or more intermediate adapters may be connected. Since any number of intermediate adapters can be attached, it is preferable that the process of acquiring the accessory authentication information is ended by acquiring the end information from the last accessory (interchangeable lens).

また、最後のアクセサリからの終端情報は、別の方法によって取得してもよい。例えば、S502およびS509と同様に、中間アダプタが装着されていることを想定してカメラ制御部205が認証情報要求をアクセサリに送信した際に、レンズ第2通信部115から返される終端情報により、応答しているアクセサリが交換レンズであることが通知されてもよい。また、中間アダプタ40が、不図示の端子の接続状態により自身が終端であることを検出してS513にてカメラ本体20に終端情報を通知してもよい。本実施例では、カメラ制御部205からの認証情報要求に対して、レンズ制御部113が終端情報を含むアクセサリ認証情報を返答することにより、終端情報が通知される場合について説明する。 Also, the termination information from the last accessory may be obtained by another method. For example, as in S502 and S509, when the camera control unit 205 transmits the authentication information request to the accessory on the assumption that the intermediate adapter is attached, by the termination information returned from the lens second communication unit 115, It may be announced that the responding accessory is an interchangeable lens. Further, the intermediate adapter 40 may detect that it is the end by the connection state of the terminal (not shown) and notify the camera body 20 of the end information in S513. In the present embodiment, a case will be described in which the lens control unit 113 responds to the authentication information request from the camera control unit 205 with the accessory authentication information including the termination information, and thereby the termination information is notified.

S516では、S502およびS509と同様に、カメラ制御部205は第2の通信により認証情報要求をアクセサリに送信する。S517およびS518では、アダプタ制御部309,409は、S510と同様に、本処理の終了情報を受信していないため、応答しない。 In S516, similarly to S502 and S509, the camera control unit 205 transmits the authentication information request to the accessory by the second communication. In S517 and S518, as in S510, the adapter control units 309 and 409 do not respond because the end information of this process has not been received.

S519において、認証情報要求を受信したレンズ制御部113は、S520に進み、第2の通信によりアクセサリ認証情報をカメラ制御部205に送信する。交換レンズ10はカメラ本体20から見て第2の通信の終端であるため、レンズ制御部113からのアクセサリ認証情報は終端情報を含む。 In step S519, the lens control unit 113 that has received the authentication information request proceeds to step S520, and transmits the accessory authentication information to the camera control unit 205 by the second communication. Since the interchangeable lens 10 is the end of the second communication when viewed from the camera body 20, the accessory authentication information from the lens controller 113 includes end information.

S521にてレンズ制御部113からのアクセサリ認証情報を受信したカメラ制御部205は、S522に進み、受信したアクセサリ認証情報を記憶する。そして、カメラ制御部205は、記憶したアクセサリ認証情報に含まれる終端情報に応じてS523に進み、本処理(認証通信)を終了するとともに、第2の通信でのブロードキャスト通信により本処理の終了情報を各アクセサリに通知する。 Upon receiving the accessory authentication information from the lens control unit 113 in S521, the camera control unit 205 proceeds to S522 and stores the received accessory authentication information. Then, the camera control unit 205 proceeds to S523 in accordance with the termination information included in the stored accessory authentication information, ends this processing (authentication communication), and ends this processing by broadcast communication in the second communication. Notify each accessory.

第2通信停止情報が「真」であるアクセサリは、上記終了情報に応じて第2の通信を停止し、電源が再投入されるまで第2の通信に応答しない。第2通信停止情報が「真」であるアクセサリが中間アダプタ(30または40)である場合は、消費電力を削減するために、アダプタ制御部(309または409)の動作も停止する方が好ましい。第2通信停止情報が「真」であるアクセサリが交換レンズ10である場合には、第2の通信は停止するが、第1の通信は使用可能であるため、レンズ制御部113はその動作を停止しない。 The accessory for which the second communication stop information is "true" stops the second communication according to the end information and does not respond to the second communication until the power is turned on again. When the accessory for which the second communication stop information is "true" is the intermediate adapter (30 or 40), it is preferable to stop the operation of the adapter control unit (309 or 409) in order to reduce power consumption. If the accessory for which the second communication stop information is “true” is the interchangeable lens 10, the second communication is stopped, but the first communication can be used, so the lens control unit 113 performs the operation. Do not stop.

以上のように、第2通信接続スイッチ311,411を利用してカメラ本体20が複数のアクセサリ30,40,10と順次通信していく。ただし、複数のアクセサリと通信することができれば別の方法を用いてもよい。例えば、アクセサリが自身に接続されている不図示の端子の電圧レベルを検出することで、カメラ本体側から何番目に装着されているかを把握することもできる。この場合、カメラ本体から送信される認証情報要求の回数をカウントして、自身の装着順と一致したときだけアクセサリ認証情報をカメラ本体に送信すればよい。 As described above, the camera body 20 sequentially communicates with the plurality of accessories 30, 40, 10 using the second communication connection switches 311 and 411. However, another method may be used as long as it can communicate with a plurality of accessories. For example, by detecting the voltage level of a terminal (not shown) connected to the accessory itself, it is possible to know the order of attachment from the camera body side. In this case, the number of authentication information requests transmitted from the camera body may be counted, and the accessory authentication information may be transmitted to the camera body only when it matches the mounting order of itself.

次に、図4のS405において、認証通信の終了後に第2の通信によりカメラ制御部205が第2の通信を停止していないアクセサリからアクセサリ詳細情報を取得する処理について図6のフローチャートを用いて説明する。ここでは、中間アダプタ30と交換レンズ10の第2通信停止情報は「偽」であり、中間アダプタ40の第2通信停止情報は「真」であるとする。 Next, in S405 of FIG. 4, the process of acquiring the accessory detailed information from the accessory in which the camera control unit 205 has not stopped the second communication by the second communication after the end of the authentication communication, using the flowchart of FIG. explain. Here, the second communication stop information of the intermediate adapter 30 and the interchangeable lens 10 is “false”, and the second communication stop information of the intermediate adapter 40 is “true”.

S601にて本処理を開始したカメラ制御部205は、S602に進み、中間アダプタ30とP2P通信を行うために、認証通信で取得した中間アダプタ30のアクセサリ識別情報を第2の通信でのブロードキャスト通信により各アクセサリに送信する。中間アダプタ30のアクセサリ識別情報は、S603およびS605で中間アダプタ30と交換レンズ10により受信される。S604では、中間アダプタ40は第2の通信を停止しているため、ブロードキャスト通信により送信された情報を受信しない。 The camera control unit 205 that started this processing in S601 proceeds to S602, and in order to perform P2P communication with the intermediate adapter 30, the accessory identification information of the intermediate adapter 30 acquired in the authentication communication is broadcasted in the second communication. To send to each accessory. The accessory identification information of the intermediate adapter 30 is received by the intermediate adapter 30 and the interchangeable lens 10 in S603 and S605. In S604, the intermediate adapter 40 does not receive the information transmitted by the broadcast communication because the second communication is stopped.

S603で自身のアクセサリ識別情報を受信した中間アダプタ30(アダプタ制御部309)は、S606に進み、P2P通信に移行する。S605において交換レンズ10(レンズ制御部113)も中間アクセサリ30のアクセサリ識別情報を取得するが、自身のアクセサリ識別情報とは異なるために受信後の処理を行わない。また、アダプタ制御部309は、S606でのP2P通信への移行処理を、CS信号線をHighに戻す前に行う。 The intermediate adapter 30 (adapter control unit 309) that has received its own accessory identification information in S603 advances to S606, and shifts to P2P communication. In S605, the interchangeable lens 10 (lens control unit 113) also acquires the accessory identification information of the intermediate accessory 30, but does not perform the post-reception processing because it is different from the accessory identification information of itself. Further, the adapter control unit 309 performs the transition process to the P2P communication in S606 before returning the CS signal line to High.

こうしてアクセサリ識別情報のブロードキャスト通信が終わると、カメラ制御部205はS607に進み、P2P通信により前述したカメラ情報をアダプタ制御部309に送信する。S608においてアダプタ制御部309はカメラ情報を受信して、S611に進む。S609では、アダプタ制御部409は第2の通信を停止しているため、カメラ情報を受信しない。また、S610において、レンズ制御部113は、交換レンズ10のアクセサリ識別情報を受信していないため、カメラ情報を受信しない。 When the broadcast communication of the accessory identification information is completed in this way, the camera control unit 205 proceeds to S607 and transmits the above-described camera information to the adapter control unit 309 by P2P communication. In step S608, the adapter control unit 309 receives the camera information, and the process proceeds to step S611. In S609, the adapter control unit 409 does not receive the camera information because the second communication is stopped. Further, in S610, the lens control unit 113 does not receive the camera information, because the accessory identification information of the interchangeable lens 10 has not been received.

S611では、アダプタ制御部309は、受信したカメラ情報を記憶する。アダプタ制御部309は、カメラ情報に基づいて中間アダプタ30の設定を変更し、必要であればS615でカメラ制御部205に送信するアクセサリ詳細情報も変更する。カメラ情報を記憶したアダプタ制御部309は、S612に進み、カメラ情報受信完了通知をカメラ制御部205に送信する。 In S611, the adapter control unit 309 stores the received camera information. The adapter control unit 309 changes the setting of the intermediate adapter 30 based on the camera information, and if necessary, also changes the accessory detailed information transmitted to the camera control unit 205 in S615. The adapter control unit 309 storing the camera information proceeds to S612 and transmits a camera information reception completion notification to the camera control unit 205.

S613においてカメラ情報受信完了通知を受信したカメラ制御部205は、S614に進み、P2P通信によりアクセサリ詳細情報要求をアダプタ制御部309に送信する。アクセサリ詳細情報要求は、S615にてアダプタ制御部309に受信される。しかし、S616において、アダプタ制御部409はアクセサリ詳細情報要求を受信しない。また、S617において、レンズ制御部113は、S605で受信したアクセサリ識別情報が自身のものとは異なるためにアクセサリ詳細情報要求を受信しない。 Upon receiving the camera information reception completion notification in S613, the camera control unit 205 proceeds to S614 and transmits an accessory detailed information request to the adapter control unit 309 by P2P communication. The accessory detailed information request is received by the adapter control unit 309 in S615. However, in S616, the adapter control unit 409 does not receive the accessory detailed information request. In S617, the lens control unit 113 does not receive the accessory detailed information request because the accessory identification information received in S605 is different from its own.

アクセサリ詳細情報要求を受信したアダプタ制御部309は、S618に進み、アクセサリ詳細情報をP2P通信によりカメラ制御部205に送信する。S619にてアクセサリ詳細情報を受信したカメラ制御部205は、S620に進み、受信した中間アダプタ30のアクセサリ詳細情報を記憶する。カメラ制御部205は、このアクセサリ詳細情報に基づいて、中間アダプタ30に対する設定や通信リクエストに対する処理を行う。ここまでが中間アダプタ30に対するアクセサリ詳細情報に関する処理である。 The adapter control unit 309 that has received the accessory detailed information request proceeds to S618, and transmits the accessory detailed information to the camera control unit 205 by P2P communication. Upon receiving the accessory detailed information in S619, the camera control unit 205 proceeds to S620 and stores the received accessory detailed information of the intermediate adapter 30. The camera control unit 205 performs processing for the setting and communication request for the intermediate adapter 30, based on the accessory detailed information. The processing up to this point is related to the detailed accessory information for the intermediate adapter 30.

S620でカメラ本体20から1番目のアクセサリである中間アダプタ30のアクセサリ詳細情報を取得したカメラ制御部205は、2番目のアクセサリである中間アダプタ40に対しても同様の処理を行うためにS621に進む。ただし、中間アダプタ40の第2通信停止情報が「真」であるので、カメラ制御部205は中間アダプタ40からアクセサリ詳細情報は取得せず、3番目のアクセサリである交換レンズ10からアクセサリ詳細情報を取得するためにS622に進む。 The camera control unit 205, which has acquired the accessory detailed information of the intermediate adapter 30 that is the first accessory from the camera body 20 in step S620, proceeds to step S621 to perform the same processing for the intermediate adapter 40 that is the second accessory. move on. However, since the second communication stop information of the intermediate adapter 40 is “true”, the camera control unit 205 does not acquire the accessory detailed information from the intermediate adapter 40, and acquires the accessory detailed information from the interchangeable lens 10 which is the third accessory. Proceed to S622 to obtain.

交換レンズ10の第2通信停止情報は「偽」であるので、カメラ制御部205は、S622にてS602〜S620と同様にして、S624にて交換レンズ10から送信されるアクセサリ詳細情報を取得する。このアクセサリ詳細情報を取得が完了すると、認証通信において第2通信停止情報が「偽」であると認識した全てのアクセサリのアクセサリ詳細情報を取得したので、カメラ制御部205はS623に進み、本処理を終了する。 Since the second communication stop information of the interchangeable lens 10 is "false", the camera control unit 205 acquires the detailed accessory information transmitted from the interchangeable lens 10 in S624, in the same manner as in S602 to S620 in S622. .. When the acquisition of the accessory detailed information is completed, the accessory detailed information of all the accessories recognized as the second communication stop information being “false” is acquired in the authentication communication, and therefore the camera control unit 205 proceeds to S623, and the present process To finish.

次に、図4のS406において、第2の通信によりカメラ制御部205が第2の通信を停止していないアクセサリの設定を行う処理について図7のフローチャートを用いて説明する。ここでも、中間アダプタ30と交換レンズ10の第2通信停止情報は「偽」であり、中間アダプタ40の第2通信停止情報は「真」であるとする。また、本処理は、図4のS405の後に行われるだけでなく、ユーザ操作等によりカメラ本体20の設定が変更されたことによりアクセサリの設定を変更する必要がある場合にも行われる。 Next, in S406 of FIG. 4, a process in which the camera control unit 205 sets an accessory whose second communication is not stopped by the second communication will be described with reference to the flowchart of FIG. 7. Also here, the second communication stop information of the intermediate adapter 30 and the interchangeable lens 10 is “false”, and the second communication stop information of the intermediate adapter 40 is “true”. Further, this process is performed not only after S405 in FIG. 4, but also when the setting of the accessory needs to be changed due to the change of the setting of the camera body 20 by a user operation or the like.

本処理の基本的な流れはS405におけるアクセサリ詳細情報の取得処理と同様であり、まず、S701で本処理を開始したカメラ制御部205は、S702において中間アダプタ30のアクセサリ識別情報をブロードキャスト通信により各アクセサリに通知する。S703にて自身のアクセサリ識別情報を受信した中間アダプタ30(アダプタ制御部309)は、S706にてP2P通信に移行する。なお、S704において、第2通信停止情報が「真」である中間アダプタ40(アダプタ制御部409)はアクセサリ識別情報を受信しない。また、S705において、交換レンズ10(レンズ制御部113)も中間アクセサリ30のアクセサリ識別情報を受信する。 The basic flow of this process is the same as the acquisition process of the accessory detailed information in S405. First, the camera control unit 205 that started this process in S701 broadcasts the accessory identification information of the intermediate adapter 30 in S702. Notify the accessory. The intermediate adapter 30 (adapter control unit 309) that has received its own accessory identification information in S703 shifts to P2P communication in S706. In S704, the intermediate adapter 40 (adapter control unit 409) whose second communication stop information is "true" does not receive the accessory identification information. Further, in S705, the interchangeable lens 10 (lens control unit 113) also receives the accessory identification information of the intermediate accessory 30.

次にS707にて、カメラ制御部205は、アダプタ制御部309に対して中間アダプタ30の設定に関する情報(アクセサリ設定情報)を送信する。S708にてこのアクセサリ設定情報を受信したアダプタ制御部309は、S711にて該アクセサリ設定情報に応じて中間アダプタ30の動作等の設定を行い、S712で設定完了をカメラ制御部205に返信する。S713において、カメラ制御部205は中間アダプタ30の設定完了を受信する。なお、S709において、アダプタ制御部409はアクセサリ設定情報を受信しない。また、S710において、レンズ制御部113は、S705で受信したアクセサリ識別情報が自身のものとは異なるためにアクセサリ設定情報を受信しない。さらに、カメラ制御部205は、中間アダプタ40に対しては上記のような設定を行わない(S714)。次に、カメラ本体20は交換レンズ20にアクセサリ設定を送信する。次に、S715において、カメラ本体20は交換レンズ20にアクセサリ設定を送信する。 Next, in step S<b>707, the camera control unit 205 transmits information regarding the settings of the intermediate adapter 30 (accessory setting information) to the adapter control unit 309. The adapter control unit 309 that has received this accessory setting information in S708 sets the operation of the intermediate adapter 30 in accordance with the accessory setting information in S711, and returns the setting completion to the camera control unit 205 in S712. In S713, the camera control unit 205 receives the setting completion of the intermediate adapter 30. In addition, in S709, the adapter control unit 409 does not receive the accessory setting information. Further, in step S710, the lens control unit 113 does not receive the accessory setting information because the accessory identification information received in step S705 is different from its own. Further, the camera control unit 205 does not make the above setting for the intermediate adapter 40 (S714). Next, the camera body 20 transmits the accessory setting to the interchangeable lens 20. Next, in S715, the camera body 20 transmits the accessory setting to the interchangeable lens 20.

次にS716において、カメラ制御部205は、中間アダプタ30の設定と同様に、交換レンズ10の設定を行う(S705,S710,S716)。そして、S717において、第2通信停止情報が「偽」である全てのアクセサリの設定が終了したので、カメラ制御部205は通常動作状態に移行するために第2の通信の帯域(第2通信帯域)の開放をブロードキャスト通信により各アクセサリに通信する。S718およびS721においてこの通信を受けたアダプタ制御部309とレンズ制御部113は、通信リクエストが許可された状態であると判断する。この通信リクエスト許可状態は、カメラ制御部205から再度(正常な)ブロードキャスト通信が行われるまで継続する。S719において、アダプタ制御部409は、第2通信帯域の開放通知を受信しない。 Next, in S716, the camera control unit 205 sets the interchangeable lens 10 similarly to the setting of the intermediate adapter 30 (S705, S710, S716). Then, in S717, since the setting of all the accessories for which the second communication stop information is “false” has been completed, the camera control unit 205 shifts to the normal operation state in the second communication band (second communication band). ) Is communicated to each accessory by broadcast communication. The adapter control unit 309 and the lens control unit 113 that have received this communication in S718 and S721 determine that the communication request is in a permitted state. This communication request permitted state continues until the camera control unit 205 performs (normal) broadcast communication again. In step S719, the adapter control unit 409 does not receive the second communication band release notification.

次に、図4のS409において、第2の通信によりカメラ制御部205がアクセサリに対して通信リクエスト要因を確認し、該通信リクエスト要因に応じた処理を行う処理について、図8のフローチャートを用いて説明する。ここでも、中間アダプタ30と交換レンズ10の第2通信停止情報は「偽」であり、中間アダプタ40の第2通信停止情報は「真」であるとする。また、通信リクエストが中間アダプタ30から行われ、通信リクエスト要因は、中間アダプタ30に設けられたアダプタ操作リングが操作されたこととする。 Next, in S409 of FIG. 4, the camera control unit 205 confirms the communication request factor with respect to the accessory by the second communication, and performs the process according to the communication request factor with reference to the flowchart of FIG. explain. Also here, the second communication stop information of the intermediate adapter 30 and the interchangeable lens 10 is “false”, and the second communication stop information of the intermediate adapter 40 is “true”. Further, it is assumed that the communication request is made from the intermediate adapter 30 and the communication request factor is that the adapter operation ring provided in the intermediate adapter 30 is operated.

本処理の基本的な流れもS405におけるアクセサリ詳細情報の取得処理と同様であり、まず、S801で本処理を開始したカメラ制御部205は、S802において中間アダプタ30のアクセサリ識別情報をブロードキャスト通信により各アクセサリに通知する。S803にて自身のアクセサリ識別情報を受信した中間アダプタ30(アダプタ制御部309)は、S806にてP2P通信に移行する。なお、S804において、第2通信停止情報が「真」である中間アダプタ40(アダプタ制御部409)はアクセサリ識別情報を受信しない。また、S805において、交換レンズ10(レンズ制御部113)も中間アクセサリ30のアクセサリ識別情報を受信する。 The basic flow of this processing is the same as the accessory detailed information acquisition processing in S405. First, the camera control unit 205, which started this processing in S801, broadcasts the accessory identification information of the intermediate adapter 30 in S802. Notify the accessory. The intermediate adapter 30 (adapter control unit 309) that has received its own accessory identification information in S803 shifts to P2P communication in S806. In S804, the intermediate adapter 40 (adapter control unit 409) whose second communication stop information is "true" does not receive the accessory identification information. Further, in S805, the interchangeable lens 10 (lens control unit 113) also receives the accessory identification information of the intermediate accessory 30.

次にS807において、カメラ制御部205は、アダプタ制御部309に対して通信リクエスト要因送信要求を送信する。S808において通信リクエスト要因送信要求を受信したアダプタ制御部309は、S811にて通信リクエスト要因をカメラ制御部205に送信する。なお、S809において、アダプタ制御部409は通信リクエスト要因送信要求を受信しない。また、S810において、レンズ制御部113は、S805で受信したアクセサリ識別情報が自身のものとは異なるために通信リクエスト要因送信要求を受信しない。 Next, in step S807, the camera control unit 205 transmits a communication request factor transmission request to the adapter control unit 309. The adapter control unit 309 having received the communication request factor transmission request in S808 transmits the communication request factor to the camera control unit 205 in S811. In S809, the adapter control unit 409 does not receive the communication request factor transmission request. Further, in step S810, the lens control unit 113 does not receive the communication request factor transmission request because the accessory identification information received in step S805 is different from its own.

S812にて通信リクエスト要因を受信したカメラ制御部205は、S813にて該通信リクエスト要因がアダプタ操作リングの操作であると判定し、S814にてアダプタ制御部309にその操作量の送信要求を送信する。S815にて操作量送信要求を受信したアダプタ制御部309は、S818にてアダプタ装置リングの操作量をカメラ制御部205に送信する。なお、S816において、アダプタ制御部409は操作量送信要求を受信しない。また、S817において、レンズ制御部113は、S805で受信したアクセサリ識別情報が自身のものとは異なるために操作量送信要求を受信しない。 Upon receiving the communication request factor in S812, the camera control unit 205 determines in S813 that the communication request factor is an operation of the adapter operation ring, and transmits a transmission request of the operation amount to the adapter control unit 309 in S814. To do. The adapter control unit 309, which has received the operation amount transmission request in S815, transmits the operation amount of the adapter device ring to the camera control unit 205 in S818. In S816, the adapter control unit 409 does not receive the operation amount transmission request. In step S817, the lens control unit 113 does not receive the operation amount transmission request because the accessory identification information received in step S805 is different from its own.

S819にて操作量を受信したカメラ制御部205は、S820にて該操作量をカメラ本体20の設定に反映する。具体的には、アダプタ操作リングが絞り値(Av)を変更できる機能を有する場合は、カメラ本体20において露出値(Ev)やシャッター速度(Tv)を計算するためのAv設定を変更する。また、必要であれば、第1の通信により交換レンズ10にAv制御量を送信して、交換レンズ10(レンズ制御部113)に絞り値を変更させてもよい。なお、カメラ制御部205は、第2通信停止情報が「真」である中間アダプタ40(アダプタ制御部409)に対しては通信リクエスト要因送信要求を送信しない(S821)。 The camera control unit 205, which has received the operation amount in S819, reflects the operation amount in the setting of the camera body 20 in S820. Specifically, when the adapter operation ring has a function of changing the aperture value (Av), the Av setting for calculating the exposure value (Ev) and the shutter speed (Tv) in the camera body 20 is changed. If necessary, the Av control amount may be transmitted to the interchangeable lens 10 by the first communication to cause the interchangeable lens 10 (lens control unit 113) to change the aperture value. The camera control unit 205 does not send the communication request factor transmission request to the intermediate adapter 40 (adapter control unit 409) whose second communication stop information is “true” (S821).

次にS822では、カメラ制御部205は、レンズ制御部113に対して通信リクエスト要因送信要求を送信する。カメラ制御部205は、すでに中間アダプタ30から通信リクエスト要因を取得しているが、交換レンズ10にも同時に通信リクエスト要因が発生している可能性もあるため、レンズ制御部113にも通信リクエスト要因を問い合わせる。S823において通信リクエスト要因送信要求を受信したレンズ制御部113は、交換レンズ10において通信リクエスト要因が発生していれば、その通信リクエスト要因をカメラ制御部205に送信する。 Next, in step S822, the camera control unit 205 transmits a communication request factor transmission request to the lens control unit 113. The camera control unit 205 has already obtained the communication request factor from the intermediate adapter 30, but there is a possibility that the interchangeable lens 10 also has a communication request factor at the same time, so the lens control unit 113 also receives the communication request factor. To inquire. The lens control unit 113 that has received the communication request factor transmission request in S823 transmits the communication request factor to the camera control unit 205 if the communication request factor occurs in the interchangeable lens 10.

こうして通信リクエスト要因が発生し得る全てのアクセサリからの通信リクエスト要因の取得が終了すると、カメラ制御部205は、S824に進み、通常動作状態に移行するために第2通信帯域の開放通知をブロードキャスト通信により各アクセサリに通信する。S825およびS828においてこの通信を受けたアダプタ制御部309およびレンズ制御部113は、通信リクエストが許可された状態であると判断する。この通信リクエスト許可状態は、カメラ制御部205から再度(正常な)ブロードキャスト通信が行われるまで継続する。S826において、アダプタ制御部409は第2通信帯域の開放通知を受信しない。 When the acquisition of the communication request factors from all the accessories in which the communication request factors may occur is completed in this way, the camera control unit 205 proceeds to step S824, and broadcasts the second communication band release notification to shift to the normal operation state. To communicate with each accessory. The adapter control unit 309 and the lens control unit 113 that have received this communication in S825 and S828 determine that the communication request is in a permitted state. This communication request permitted state continues until the camera control unit 205 performs (normal) broadcast communication again. In step S826, the adapter control unit 409 does not receive the second communication band release notification.

アダプタ制御部309およびレンズ制御部113は、通信リクエスト要因送信要求を受けた後に通信リクエスト要因が発生した場合は、第2通信帯域の開放通知を受信した後にカメラ制御部205に通信リクエストを行う。具体的には、S818〜S825の間に中間アダプタ30の操作部材が操作された場合やS811〜S825の間に中間アダプタ30に操作部材の操作以外の通信リクエスト要因が発生した場合である。これらの場合は、第2通信帯域の開放通知を受信した後にアダプタ制御部309がカメラ制御部205に通信リクエストを行う。 When the communication request factor occurs after receiving the communication request factor transmission request, the adapter control unit 309 and the lens control unit 113 make a communication request to the camera control unit 205 after receiving the second communication band release notification. Specifically, this is the case when the operation member of the intermediate adapter 30 is operated during S818 to S825, or when a communication request factor other than the operation of the operation member occurs on the intermediate adapter 30 during S811 to S825. In these cases, the adapter control unit 309 makes a communication request to the camera control unit 205 after receiving the second communication band release notification.

本実施例によれば、カメラ本体20と交換レンズ10との通信を可能とする第1の通信経路と、カメラ本体20と全アクセサリ(交換レンズ10および中間アダプタ30,40)との通信を可能とする第2の通信経路とをそれぞれ独立して有する。第2の通信経路を介して、全アクセサリの設定とこれらアクセサリからの通信リクエストに応答する第2の通信が行われる。アクセサリの設定および通信リクエストに対する応答において、認証通信で取得した第2通信停止情報に基づいて通信対象のアクセサリを特定することで、通信量を削減することができる。 According to this embodiment, the first communication path that enables communication between the camera body 20 and the interchangeable lens 10 and the communication between the camera body 20 and all accessories (the interchangeable lens 10 and the intermediate adapters 30 and 40) are possible. And a second communication path that is independent of each other. Through the second communication path, setting of all accessories and second communication responding to communication requests from these accessories are performed. In the accessory setting and the response to the communication request, the communication amount can be reduced by specifying the accessory to be communicated based on the second communication stop information acquired by the authentication communication.

一方、第2通信停止情報として「真」を送信したアクセサリによる第2の通信を停止させることができる。本実施例の中間アダプタ30,40のように第2の通信以外の通信手段を持たないアクセサリは、アダプタ制御部の動作を停止することができる。このように、第2通信停止情報を設けることで、アクセサリの消費電力を削減することができる。
さらに、認証通信で取得した第2通信停止情報が「真」であるアクセサリに対しては、カメラ本体20はアクセサリ詳細情報の送信を要求しない。このため、該アクセサリは、ブロードキャスト通信により送信されたアクセサリ識別情報によりP2P通信の対象を判断する処理やアクセサリ詳細情報の問い合わせに対する処理等を行う必要がなく、認証通信に対して応答すればよいため、アクセサリの低コスト化にも寄与する。
On the other hand, it is possible to stop the second communication by the accessory that has transmitted “true” as the second communication stop information. An accessory that does not have a communication means other than the second communication, such as the intermediate adapters 30 and 40 of this embodiment, can stop the operation of the adapter controller. By thus providing the second communication stop information, it is possible to reduce the power consumption of the accessory.
Further, the camera body 20 does not request the transmission of the accessory detailed information for the accessory for which the second communication stop information acquired by the authentication communication is “true”. Therefore, the accessory does not need to perform the process of determining the target of the P2P communication based on the accessory identification information transmitted by the broadcast communication, the process of inquiring the detailed accessory information, and the like, and the accessory can respond to the authentication communication. It also contributes to cost reduction of accessories.

次に、本発明の実施例2について説明する。実施例1では、各アクセサリをカメラ本体20装着した直後の認証通信おいて各アクセサリの第2通信停止情報を取得し、それに基づいて以降の第2の通信の対象となるアクセサリを判断する処理について説明した。これに対して、本実施例では、通常動作状態に移行した後に第2通信停止情報を「真」とする場合の処理について説明する。 Next, a second embodiment of the present invention will be described. In the first embodiment, a process of acquiring the second communication stop information of each accessory in the authentication communication immediately after mounting the accessory on the camera body 20 and determining the accessory to be the target of the second communication thereafter based on the acquired information explained. On the other hand, in the present embodiment, a process will be described in which the second communication stop information is set to “true” after shifting to the normal operation state.

このような処理が必要な場合としては、アクセサリの製品名称や光学情報等をカメラ本体にアクセサリ詳細情報により通知するが、アクセサリの再設定や通信リクエストが発生しないために通常動作状態への移行に際してアクセサリが第2の通信を停止する場合がある。また、アクセサリがその設定の変更によって第2の通信を行う必要がない状態に移行した場合等もある。 When such processing is required, the product name, optical information, etc. of the accessory are notified to the camera body by the accessory detailed information, but when the accessory is not reset or the communication request does not occur, the transition to the normal operation state is performed. The accessory may stop the second communication. Further, there is a case where the accessory shifts to a state where it is not necessary to perform the second communication due to the change of the setting.

アクセサリが第2の通信を停止したことをカメラ本体に通知する方法には、アクセサリがカメラ本体に通信リクエストを行い、通信リクエスト要因として第2の通信の停止を通知する方法がある。また、アクセサリの状態遷移とアクセサリの第2の通信の停止とを予め関連付けておき、カメラ本体が第2の通信の停止を伴うアクセサリに対する設定を行った際に該アクセサリの第2の通信が停止していると判断する方法もある。さらに、通信エラーや通信リクエスト要因により、カメラ本体に認証通信からリスタートさせる方法等がある。 As a method of notifying the camera body that the accessory has stopped the second communication, there is a method in which the accessory issues a communication request to the camera body and notifies the second communication stop as a communication request factor. In addition, the state transition of the accessory and the stop of the second communication of the accessory are associated in advance, and the second communication of the accessory is stopped when the camera body performs the setting for the accessory accompanied by the stop of the second communication. There is also a way to determine that you are doing. Furthermore, there is a method of restarting the camera body from authentication communication due to a communication error or a communication request factor.

以下では、通信リクエスト要因として第2の通信の停止を通知する方法について説明する。実施例1で図4を用いて説明した処理において通信リクエストが可能になるのは、S406が終了して第2通信帯域の開放通知がブロードキャスト通信により各アクセサリに通知され、アクセサリがその通知を受信した(S717)後である。したがって、認証通信において第2通信停止情報が「偽」であるアクセサリは、アクセサリ詳細情報の取得処理(S405)における通信やアクセサリに対する設定(S406)のための通信に応答する必要がある。アクセサリ詳細情報をカメラ本体に送信した後にアクセサリが第2の通信を停止する場合は、S406の処理が終了した直後にアクセサリがカメラ本体に対して通信リクエストを行う。そして、通信リクエスト要因として、第2通信停止情報が「偽」から「真」へ変化したことを通知し、その後、第2の通信を停止する。通信リクエスト要因を受信したカメラ本体は、これ以後、該アクセサリに第2の通信を行わない。 Hereinafter, a method of notifying the stop of the second communication as the communication request factor will be described. In the processing described with reference to FIG. 4 in the first embodiment, the communication request can be made because the notification of release of the second communication band is notified to each accessory by broadcast communication after S406 ends, and the accessory receives the notification. (S717). Therefore, in the authentication communication, the accessory for which the second communication stop information is "false" needs to respond to the communication in the accessory detailed information acquisition processing (S405) and the communication for setting the accessory (S406). When the accessory stops the second communication after transmitting the accessory detailed information to the camera body, the accessory makes a communication request to the camera body immediately after the processing of S406 ends. Then, as the communication request factor, the fact that the second communication stop information has changed from “false” to “true” is notified, and then the second communication is stopped. After receiving the communication request factor, the camera body does not perform the second communication with the accessory thereafter.

また、アクセサリがその設定の変更によって第2の通信を行う必要がない状態に移行した場合も、同様の処理を行う。具体的には、カメラ本体の設定変更等を受けてS406においてアクセサリの設定変更を行う。S406が終了する際に第2通信帯域の開放がブロードキャスト通信により各アクセサリに通知されるので、その後の通信リクエストにより第2通信停止情報が「真」となったアクセサリはその旨をカメラ本体に通知する。 Also, when the accessory changes to a state in which it is not necessary to perform the second communication due to the change in the setting, the same processing is performed. Specifically, the setting of the accessory is changed in S406 in response to the setting change of the camera body. When S406 ends, the accessory is notified of the release of the second communication band by broadcast communication, and the accessory whose second communication stop information is "true" by the subsequent communication request notifies the camera body of that fact. To do.

このように、認証通信時には第2通信停止情報が「偽」であったアクセサリが、第2通信停止情報が「真」となったタイミングでカメラ本体にそのことを伝えることが可能となる。 In this way, it is possible for an accessory whose second communication stop information was "false" during authentication communication to notify the camera body at the timing when the second communication stop information was "true".

すなわち、アクセサリはその状態遷移に伴って第2の通信を停止し、さらに第2の通信を停止したことをカメラ本体に通知することが可能となる。これにより、アクセサリ詳細情報の通信やアクセサリの設定のための通信等の必要な通信を行った後に第2の通信を停止することができ、通信量および消費電力を削減することができるとともに、第2の通信によるアクセサリ詳細情報の通信を行うことができる。 That is, the accessory can stop the second communication in accordance with the state transition, and further notify the camera body that the second communication has been stopped. As a result, the second communication can be stopped after performing necessary communication such as communication of accessory detailed information and communication for setting the accessory, and it is possible to reduce the communication amount and power consumption, and The accessory detailed information can be communicated by the communication of 2.

次に、本発明の実施例3について説明する。実施例1では、認証通信時から第2通信停止情報が「真」である場合の処理について説明し、実施例2では通常動作状態に移行した後に第2通信停止情報が「真」となった場合の処理について説明した。本実施例では、第2の通信を停止しているアクセサリの第2通信停止情報が「真」から「偽」に変化した場合に、それをカメラ本体に通知する方法について説明する。 Next, a third embodiment of the present invention will be described. In the first embodiment, processing when the second communication stop information is “true” from the time of authentication communication will be described, and in the second embodiment, the second communication stop information becomes “true” after shifting to the normal operation state. The processing in the case has been described. In the present embodiment, a method for notifying the camera body when the second communication stop information of the accessory for which the second communication is stopped changes from “true” to “false” will be described.

第2通信停止情報が「真」から「偽」に変化する場合としては、稀ではあるが、例えばアクセサリが外乱の影響を受けて想定外のリセット処理が発生したときが挙げられる。想定外のリセット処理が発生すると、アクセサリは初期状態に戻る。初期状態のアクセサリは、第2通信停止情報をカメラ本体に通知していないため、第2の通信を停止していない。アクセサリが第2の通信を停止するためには、カメラ本体に第2通信停止情報を送信する必要がある。一方、アクセサリが第2通信停止情報を通知するために通信リクエストをカメラ本体に送信しようとしても、カメラ本体は該アクセサリの第2の通信が停止していると認識しているため、通信リクエスト要因を問い合わせない。したがって、正常な通信リクエストでは、第2通信停止情報が「真」のアクセサリから第2通信停止情報が「偽」に変化したことをカメラ本体に通知することができない。 A rare case where the second communication stop information changes from “true” to “false” is, for example, when the accessory is affected by disturbance and an unexpected reset process occurs. When an unexpected reset process occurs, the accessory returns to the initial state. Since the accessory in the initial state has not notified the camera body of the second communication stop information, the accessory does not stop the second communication. In order for the accessory to stop the second communication, it is necessary to send the second communication stop information to the camera body. On the other hand, even if the accessory tries to send a communication request to the camera body in order to notify the second communication stop information, the camera body recognizes that the second communication of the accessory is stopped. Do not contact us. Therefore, with a normal communication request, the camera body cannot be notified that the accessory whose second communication stop information is "true" has changed to "false".

そこで、本実施例では、ブロードキャスト通信において通信エラーが発生した場合に、カメラ本体が認証通信からリトライするという取り決めをしておく。これにより、リセット処理が発生したアクセサリが意図的に通信エラーを起こすことで、再度行われる認証通信において第2通信停止情報をカメラ本体20に伝え直すことが可能となる。 Therefore, in this embodiment, if the communication error occurs in the broadcast communication, the camera body retries from the authentication communication. As a result, the accessory for which the reset process has occurred intentionally causes a communication error, and thus it is possible to retransmit the second communication stop information to the camera body 20 in the authentication communication performed again.

図9のフローチャートは、通常動作状態において第2の通信を停止していたアクセサリにおいて想定外のリセット処理が発生したときに、通信エラーを起こすことで第2通信停止情報をカメラ本体20に伝え直す処理について説明する。図9におけるS901からS908の処理は、図4のS401からS408の処理と同様である。 In the flowchart of FIG. 9, when an unexpected reset process occurs in the accessory that has stopped the second communication in the normal operation state, a second communication stop information is retransmitted to the camera body 20 by causing a communication error. The processing will be described. The processing from S901 to S908 in FIG. 9 is the same as the processing from S401 to S408 in FIG.

S907からS908に進んでS907に戻る通常動作状態において、第2の通信を停止している中間アダプタ40に想定外のリセット処理が発生したとする。リセット処理が発生した中間アダプタ40(アダプタ制御部409)は、その接地スイッチ421をオンにすることでCS信号線をLowにする。CS信号線のLowを検出したカメラ本体20(カメラ制御部205)は、S908からS909に移行する。 It is assumed that an unexpected reset process occurs in the intermediate adapter 40 that suspends the second communication in the normal operation state where the process proceeds from S907 to S908 and returns to S907. The intermediate adapter 40 (adapter control unit 409) that has undergone the reset process turns on the ground switch 421 to set the CS signal line to Low. The camera body 20 (camera control unit 205) that has detected the CS signal line Low moves from S908 to S909.

S909では、カメラ本体20は通信リクエスト要因を取得するために、第2通信停止情報が「偽」である中間アダプタ30のアクセサリ識別情報をブロードキャスト通信により各アクセサリに通知する(図8のS802)。このとき中間アダプタ40がCS信号線をLowにし続けると、CS信号線がHighになることで終了するブロードキャスト通信が終了しない。このため、CS信号線がLowの状態の許容時間を設け、Lowの状態がその許容時間を超えることで、カメラ本体20とアクセサリは通信エラーを判別することができる。通信リクエスト処理の最初の認証通信のブロードキャスト通信に通信エラーが生じた場合に、カメラ本体20はS910からS904に戻って認証通信を行う。これによりカメラ本体20は、想定外のリセット処理が発生した中間アダプタ40から第2通信停止情報を再取得(再受信)することができる。上述のように想定外のリセットにより中間アダプタ40が再起動してしまった場合には、第2通信停止情報として「真」を送ることで、再度スリープ状態へ移行できる。一方で、第2通信情報として「偽」を送信した場合は、カメラ本体20によるアクセサリ設定および通信リクエスト要因取得対象となる。 In S909, the camera body 20 notifies each accessory by broadcast communication of the accessory identification information of the intermediate adapter 30 whose second communication stop information is “false” in order to acquire the communication request factor (S802 of FIG. 8). At this time, if the intermediate adapter 40 keeps the CS signal line Low, the broadcast communication that ends due to the CS signal line going High does not end. For this reason, the CS signal line is provided with a permissible time in the low state, and when the low state exceeds the permissible time, the camera body 20 and the accessory can determine the communication error. When a communication error occurs in the broadcast communication of the first authentication communication of the communication request processing, the camera body 20 returns from S910 to S904 and performs the authentication communication. Thereby, the camera body 20 can re-acquire (re-receive) the second communication stop information from the intermediate adapter 40 in which the unexpected reset process has occurred. When the intermediate adapter 40 is restarted due to an unexpected reset as described above, it is possible to shift to the sleep state again by sending “true” as the second communication stop information. On the other hand, when “false” is transmitted as the second communication information, the camera body 20 becomes an accessory setting and communication request factor acquisition target.

第2通信停止情報が「偽」のアクセサリが1つもない場合は、全アクセサリの第2通信部が停止しているため、通信リクエストが発生すること自体があり得ない。このため、カメラ本体20は、通信リクエストが発生した時点で通信エラーが発生したと判断してS904に戻って、認証通信を行ってもよい。 When there is no accessory whose second communication stop information is "false", the second communication units of all the accessories are stopped, and therefore the communication request itself cannot occur. Therefore, the camera body 20 may determine that a communication error has occurred at the time when the communication request is generated, return to S904, and perform the authentication communication.

本実施例では、正常な通信プロトコルとは異なる信号制御が行われた場合(すなわち、ブロードキャスト通信において通信エラーが発生した場合に認証通信を再度行うという取り決めをしておく。これにより、第2の通信を停止していたアクセサリに想定外のリセット処理が発生して第2の通信が再開された場合であっても、アクセサリが第2通信停止情報をカメラ本体に再通知することが可能となるため、再度、第2の通信を停止することができる。 In the present embodiment, an arrangement is made such that when signal control different from a normal communication protocol is performed (that is, when communication error occurs in broadcast communication, authentication communication is performed again. Even when an unexpected reset process occurs in the accessory that has stopped communication and the second communication is restarted, the accessory can re-notify the camera body of the second communication stop information. Therefore, the second communication can be stopped again.

また、第2の通信が停止しているアクセサリが第2の通信を有効にしたい場合は、認証通信がやり直されたときに第2通信停止情報を「偽」として通知すればよい。この際、アクセサリはカメラ本体に第2通信停止情報を破棄する要求を送信し、カメラ本体はこの破棄要求を受信することに応じて受信済みの第2通信停止情報(「真」)を破棄して、アクセサリが再送信した新たな第2通信停止情報(「偽」)を再受信すればよい。 Further, when the accessory in which the second communication is stopped wants to enable the second communication, the second communication stop information may be notified as “false” when the authentication communication is redone. At this time, the accessory sends a request for discarding the second communication stop information to the camera body, and the camera body discards the received second communication stop information (“true”) in response to receiving the discard request. Then, the new second communication stop information (“false”) retransmitted by the accessory may be received again.

ただし、第2の通信を使用する可能性や頻度によっては、第2通信停止情報の「真」をカメラ本体20に送らずに第2の通信の通信対象アクセサリと認識されるようにしてもよい。 However, depending on the possibility and frequency of using the second communication, the “true” of the second communication stop information may be recognized as the communication target accessory of the second communication without being sent to the camera body 20. ..

図2(a),(b)では第1の通信回路により3線クロック同期式通信を行う場合について説明したが、これに代えて、3線調歩同期式通信を行ってもよい。図10は3線調歩同期式通信における信号波形を示している。3線調歩同期式通信の場合は、図2(a),(b)に示したクロックライン(LCLK)に代えて、RTS通信線(RTS)を有する。RTS通信線は、カメラ−レンズ通信線(DCL)による通信とレンズ−カメラ通信線(DLC)による通信のタイミングを制御する信号をカメラ本体(カメラ制御部)から交換レンズ(レンズ制御部)に送信するための信号線である。例えば、RTS通信線は、カメラ本体から交換レンズへのレンズデータの送信要求(送信指示)や通信処理の切替え要求等の通知に用いられる。送信要求の通知はRTS通信線の信号レベルをHighとLowとの間で切り替えることで行う。以下の説明では、RTS通信線に供給される信号を送信要求信号RTSという。 In FIGS. 2A and 2B, the case where the first communication circuit performs the three-line clock synchronous communication has been described, but instead of this, the three-line start/stop synchronous communication may be performed. FIG. 10 shows a signal waveform in three-line start/stop communication. In the case of three-line start/stop communication, an RTS communication line (RTS) is provided instead of the clock line (LCLK) shown in FIGS. 2(a) and 2(b). The RTS communication line transmits a signal for controlling the timing of communication by the camera-lens communication line (DCL) and communication by the lens-camera communication line (DLC) from the camera body (camera control unit) to the interchangeable lens (lens control unit). This is a signal line for For example, the RTS communication line is used for notification of a lens data transmission request (transmission instruction) from the camera body to the interchangeable lens or a communication processing switching request. The notification of the transmission request is performed by switching the signal level of the RTS communication line between High and Low. In the following description, the signal supplied to the RTS communication line is referred to as the transmission request signal RTS.

送信要求信号RTSは、通信マスタとしてのカメラ本体から通信スレーブとしての交換レンズに送られる。交換レンズが送信要求信号RTSを受信すると、図10に示すようにレンズデータ信号DLCの1フレームの送信開始をカメラ本体に通知するために、レンズデータ信号DLCの信号レベルを1ビット期間の間Lowとする。この1ビット期間を1フレームの開始を示すスタートビットSTと呼ぶ。すなわち、このスタートビットSTからデータフレームが開始される。スタートビットSTは、レンズデータ信号DLCの1フレームごとにその先頭ビットに設けられている。 The transmission request signal RTS is sent from the camera body as the communication master to the interchangeable lens as the communication slave. When the interchangeable lens receives the transmission request signal RTS, the signal level of the lens data signal DLC is set to Low for one bit period in order to notify the camera body of the start of transmission of one frame of the lens data signal DLC as shown in FIG. And This 1-bit period is called a start bit ST indicating the start of 1 frame. That is, the data frame starts from this start bit ST. The start bit ST is provided at the head bit of each frame of the lens data signal DLC.

続いて、交換レンズは、次の2ビット目から9ビット目までの8ビット期間で1バイトのレンズデータを送信する。データのビット配列はMSBファーストフォーマットとして、最上位のデータD7から始まり、順にデータD6、データD5と続き、最下位のデータD0で終わる。そして、交換レンズは、10ビット目に1ビットのパリティー情報PAを付加し、1フレームの最後を示すストップビットSPの期間のレンズデータ信号DLCの信号レベルをHighとする。これにより、スタートビットSTから開始されたデータフレーム期間が終了する。 Subsequently, the interchangeable lens transmits 1-byte lens data in the next 8-bit period from the second bit to the ninth bit. The bit arrangement of the data is MSB first format, starting from the highest data D7, continuing in order with data D6 and data D5, and ending with the lowest data D0. Then, the interchangeable lens adds 1-bit parity information PA to the 10th bit, and sets the signal level of the lens data signal DLC in the period of the stop bit SP indicating the end of one frame to High. As a result, the data frame period started from the start bit ST ends.

上記各実施例によれば、撮像装置が通信不要なアクセサリ装置を識別することができるため、不要な通信を削減することができ、通信の即時性を向上させることができる。また、通信不要なアクセサリ装置を識別した後は該アクセサリ装置が省電力状態に移行するので、消費電力を削減することができる。 According to each of the above-described embodiments, the imaging device can identify the accessory device that does not require communication, so unnecessary communication can be reduced and the immediacy of communication can be improved. Further, since the accessory device shifts to the power saving state after identifying the accessory device that does not require communication, it is possible to reduce power consumption.

以下、実施例5について説明する。
上述の実施例のアクセサリ識別情報に着目して、より詳しく説明する。
The fifth embodiment will be described below.
A more detailed description will be given by focusing on the accessory identification information of the above-described embodiment.

以下、アクセサリとは、交換レンズもしくは中間アクセサリを示す。 Hereinafter, the accessory refers to an interchangeable lens or an intermediate accessory.

なお、以下の実施例において、カメラ本体、交換レンズ及び中間アクセサリの各々を総称してユニットとも称する。また、交換レンズ及び中間アクセサリの各々を総称してアクセサリとも称する。 In the following embodiments, the camera body, the interchangeable lens, and the intermediate accessory are collectively referred to as a unit. Further, each of the interchangeable lens and the intermediate accessory is collectively referred to as an accessory.

また、以下の実施例において、補正に関わるアクセサリとは、交換レンズ又は補正処理要否情報が「要」である中間アクセサリである。 In addition, in the following embodiments, the accessory related to the correction is an interchangeable lens or an intermediate accessory whose correction processing necessity information is “necessary”.

また、以下の実施例において、補正に関わる中間アクセサリとは、交換レンズの光学情報の補正が必要な中間アクセサリである。 Further, in the following examples, the intermediate accessory related to the correction is an intermediate accessory that requires correction of the optical information of the interchangeable lens.

また、以下の実施例において、第1のアクセサリとは、他の全アクセサリの光学情報を保持するアクセサリである。 In addition, in the following embodiments, the first accessory is an accessory that holds optical information of all other accessories.

また、以下の実施例において、第1の中間アクセサリとは、他の中間アクセサリの光学情報を有している中間アクセサリである。 In addition, in the following embodiments, the first intermediate accessory is an intermediate accessory that has optical information of other intermediate accessories.

また、以下の実施例において、第1のユニットとは、全アクセサリの光学情報を保持しているユニットである。 In addition, in the following embodiments, the first unit is a unit that holds optical information of all accessories.

なお。以下の実施例では各ユニットが他のユニットの光学情報を有しているか否かに着目するが、これは必ずしもユニットの発売日や製造日とは関係ない。例えば、ファームアップ等によって、ユニットの発売日や製造日によらず、各ユニットが記憶している光学情報は変わり得る。 Incidentally. In the following examples, attention is paid to whether or not each unit has optical information of another unit, but this is not necessarily related to the release date or manufacturing date of the unit. For example, due to firmware upgrade or the like, the optical information stored in each unit may change irrespective of the release date or manufacturing date of the unit.

<カメラシステムの構成(図11)>
図11を用いて、本実施例のカメラシステムの構成を説明する。
<Camera system configuration (Fig. 11)>
The configuration of the camera system of this embodiment will be described with reference to FIG.

カメラシステムはカメラ本体2000から交換レンズ1000への制御命令伝達の為、および交換レンズ1000からカメラ本体2000への操作情報および光学情報伝達の為の通信経路である第1の通信経路を有する。また、カメラ本体2000と複数の中間アクセサリ3000、4000との操作情報および光学情報伝達の為の通信経路である第2の通信経路を有する。以後、第1の通信経路により行う通信を第1通信(第1の通信)、第2の通信経路により行う通信を第2通信(第2の通信)とも称する。 The camera system has a first communication path that is a communication path for transmitting control commands from the camera body 2000 to the interchangeable lens 1000 and for transmitting operation information and optical information from the interchangeable lens 1000 to the camera body 2000. Further, it has a second communication path that is a communication path for transmitting operation information and optical information between the camera body 2000 and the plurality of intermediate accessories 3000, 4000. Hereinafter, the communication performed through the first communication path is also referred to as first communication (first communication), and the communication performed through the second communication path is also referred to as second communication (second communication).

ここで、第1の通信経路はカメラ側の第1通信部20700とレンズ側の第1通信部11400との間で相互に行う通信を、後述のマウント20200及び30500、30300及び40500、40300及び10200を介して行う経路である。なお、カメラ側の第1通信部20700とレンズ側の第1通信部11400はそれぞれ通信制御手段の一例である。 Here, in the first communication path, mutual communication between the first communication unit 20700 on the camera side and the first communication unit 11400 on the lens side is performed by the mounts 20200 and 30500, 30300 and 40500, 40300 and 10200 described later. It is a route through. The first communication unit 20700 on the camera side and the first communication unit 11400 on the lens side are examples of communication control means.

このように、あるユニットが当該ユニットとは異なる1つのユニットとの間で行う通信を、本実施例では一対一の通信とも称する。 In this way, communication performed by a unit with one unit different from the unit is also referred to as one-to-one communication in this embodiment.

また、ここで、第2の通信経路は、カメラ側の第2通信部20800が各アクセサリの通信部と通信する経路である。その際、カメラ側の第2通信部20800からマウント20300及び30600を介して行われるとともに、マウント30400及び40600、40400及び10300の少なくとも一部を介して、通信が実施される。第2通信経路によってカメラ側の通信部208は例えば、レンズ側の第2通信部11500、中間アクセサリ側の第2通信部30800、40800との間で通信を行う。なお、カメラ側の通信部20800、レンズ側の第2通信部11500、中間アクセサリ側の第2通信部30800、及び中間アクセサリ側の40800は、それぞれ通信制御手段の一例である。 The second communication path is a path through which the second communication unit 20800 on the camera side communicates with the communication unit of each accessory. At that time, the communication is performed from the second communication unit 20800 on the camera side via the mounts 20300 and 30600, and the communication is performed via at least a part of the mounts 30400 and 40600, 40400 and 10300. The communication unit 208 on the camera side communicates with the second communication unit 11500 on the lens side and the second communication units 30800 and 40800 on the intermediate accessory side through the second communication path, for example. The communication unit 20800 on the camera side, the second communication unit 11500 on the lens side, the second communication unit 30800 on the intermediate accessory side, and the 40800 on the intermediate accessory side are each examples of communication control means.

このように、あるユニットが当該ユニットとは異なる複数のユニットとの間で行う通信を、本実施例では一対多の通信とも称する。 In this way, communication performed by a unit with a plurality of units different from the unit is also referred to as one-to-many communication in this embodiment.

図11において、交換レンズ1000は、撮影に関する可動光学部材を制御する交換レンズである。カメラ本体2000は、映像を撮影するカメラ本体である。中間アクセサリ3000、中間アクセサリ4000は、交換レンズ1000とカメラ本体2000との間に装着されたエクステンダー等の中間アクセサリである。 In FIG. 11, an interchangeable lens 1000 is an interchangeable lens that controls a movable optical member related to photographing. The camera body 2000 is a camera body that captures an image. The intermediate accessories 3000 and 4000 are intermediate accessories such as extenders mounted between the interchangeable lens 1000 and the camera body 2000.

交換レンズ1000、中間アクセサリ4000、中間アクセサリ3000、カメラ本体2000は、マウント10100と40100、40200と30100、30200と20100がそれぞれ取り外し可能に取り付けられる。ここで、マウント10100は交換レンズ1000に設けられ、マウント40100、マウント40200は中間アクセサリ4000に設けられ、マウント30100、マウント30200は中間アクセサリ3000に設けられ、マウント20100はカメラ本体2000に設けられている。 Mounts 10100 and 40100, 40200 and 30100, 30200 and 20100 are detachably attached to the interchangeable lens 1000, the intermediate accessory 4000, the intermediate accessory 3000, and the camera body 2000, respectively. Here, the mount 10100 is provided in the interchangeable lens 1000, the mounts 40100 and 40200 are provided in the intermediate accessory 4000, the mounts 30100 and 30200 are provided in the intermediate accessory 3000, and the mount 20100 is provided in the camera body 2000. ..

マウント10100、40100、40200、30100、30200、20100にはそれぞれ、第1通信を行う為の1つ以上の接点を持つ接点端子群である第1通信接点群10200、40300、40500、30300、30500、20200が設けられている。ここで、第1通信接点群10200、40300、40500、30300、30500、20200は、交換レンズ1000、中間アクセサリ3000、中間アクセサリ4000、カメラ本体2000が接続された時に、導通する構成となっている。実施例5では、第1通信は、交換レンズ1000の光学部材をカメラ本体2000が制御する為にも用いられる。 The mounts 10100, 40100, 40200, 30100, 30200, 20100 each have a first communication contact group 10200, 40300, 40500, 30300, 30500, which is a contact terminal group having one or more contacts for performing first communication. 20200 is provided. Here, the first communication contact group 10200, 40300, 40500, 30300, 30500, 20200 is configured to conduct when the interchangeable lens 1000, the intermediate accessory 3000, the intermediate accessory 4000, and the camera body 2000 are connected. In the fifth embodiment, the first communication is also used for the camera body 2000 to control the optical member of the interchangeable lens 1000.

更に、マウント10100、40100、40200、30100、30200、20100にはそれぞれ、第2通信を行う為の1つ以上の接点を持つ接点端子群である第2通信接点群10300、40400、40600、30400、30600、20300が設けられている。ここで、第2通信接点群10300、40400、40600、30400、30600、20300は、交換レンズ1000、中間アクセサリ3000、中間アクセサリ4000、カメラ本体2000が接続された時に、導通する構成となっている。実施例5では、第2通信は、カメラ本体2000が中間アクセサリ3000、中間アクセサリ4000と、交換レンズ1000とに対して一対多の通信を行うことが可能であるように構成されている。 Further, the mounts 10100, 40100, 40200, 30100, 30200, and 20100 each have a second communication contact group 10300, 40400, 40600, 30400, which is a contact terminal group having one or more contacts for performing second communication. 30600 and 20300 are provided. Here, the second communication contact group 10300, 40400, 40600, 30400, 30600, 20300 is configured to conduct when the interchangeable lens 1000, the intermediate accessory 3000, the intermediate accessory 4000, and the camera body 2000 are connected. In the fifth embodiment, the second communication is configured such that the camera body 2000 can perform one-to-many communication with the intermediate accessory 3000, the intermediate accessory 4000, and the interchangeable lens 1000.

このように、カメラ本体2000と交換レンズ1000の一対一の通信である第1通信と、カメラ本体と複数のアクセサリとの一体多の通信を行う第2通信とのそれぞれに対応して、異なる第1の通信経路と第2の通信経路が設けられている。これにより、同一の通信経路を用いて通信を行う場合と比較して、例えば第1通信ではより意図したタイミングで交換レンズに交換レンズ制御命令伝達をする事が出来る。交換レンズ制御命令伝達をカメラ本体が意図したタイミングで直ぐに交換レンズに伝達できるので、交換レンズに実装された複数の光学部材を高速、高精度で制御することが出来る。 As described above, the first communication, which is one-to-one communication between the camera body 2000 and the interchangeable lens 1000, and the second communication, which performs integrated communication between the camera body and the plurality of accessories, are different from each other. A first communication path and a second communication path are provided. As a result, compared to the case where communication is performed using the same communication path, for example, in the first communication, the interchangeable lens control command can be transmitted to the interchangeable lens at a more intended timing. Since the interchangeable lens control command transmission can be immediately transmitted to the interchangeable lens at the timing intended by the camera body, a plurality of optical members mounted on the interchangeable lens can be controlled at high speed and with high accuracy.

交換レンズ1000は、光学系を構成するフォーカスレンズ10400、ズームレンズ10500、アイリス10600、ぶれ補正レンズ10700と、各光学部材を制御する制御部(10800,10900,11000、11100)及び、レンズ全体を制御するレンズ制御部11300を備える。さらに交換レンズ1000は、第1の通信を行うレンズ側の第1通信部11400、第2の通信を行うレンズ側の第2通信部11500、ぶれ量を検出するぶれ量検出部11200、交換レンズに設けられた操作部材であるレンズ操作部材11600を備える。各構成について説明をする。 The interchangeable lens 1000 controls a focus lens 10400, a zoom lens 10500, an iris 10600, a blur correction lens 10700 that configure an optical system, a control unit (10800, 10900, 11000, 11100) that controls each optical member, and the entire lens. The lens control unit 11300 is provided. Further, the interchangeable lens 1000 includes a first communication unit 11400 on the lens side for performing the first communication, a second communication unit 11500 on the lens side for performing the second communication, a blur amount detecting unit 11200 for detecting the blur amount, and an interchangeable lens. A lens operation member 11600, which is an operation member provided, is provided. Each configuration will be described.

フォーカスレンズ10400は、撮影映像のピント状態を変化させるためのものである。ズームレンズ10500は、撮影映像のズームを行う為のものである。アイリス10600は、撮影映像の光量調整を行う為のものである。ぶれ補正レンズ10700は、被写体像の像ぶれを補正する為のぶれ補正レンズである。 The focus lens 10400 is for changing the focus state of a captured image. The zoom lens 10500 is for zooming a captured image. The iris 10600 is for adjusting the light amount of a captured image. The blur correction lens 10700 is a blur correction lens for correcting image blur of a subject image.

フォーカスレンズ制御部10800は、フォーカスレンズ10400の位置検出および駆動制御を行う。ズームレンズ制御部10900は、ズームレンズ10500の位置検出および駆動制御を行う。アイリス制御部11000は、アイリス10600の位置検出および駆動制御を行う。ぶれ補正制御部11100は、ぶれ補正レンズ10700の位置検出および駆動制御を行う為のぶれ補正制御部である。フォーカスレンズ制御部10800、ズームレンズ制御部10900、アイリス制御部11000、ぶれ補正制御部11100は、それぞれ例えば絶対値エンコーダ等の位置センサーと、超音波モータやステッピングモータ等の駆動モータにより構成される。ぶれ量検出部11200は、交換レンズ1000の振動量を検出するためのものであり、例えばジャイロセンサーで構成される。 The focus lens control unit 10800 performs position detection and drive control of the focus lens 10400. The zoom lens controller 10900 performs position detection and drive control of the zoom lens 10500. The iris control unit 11000 performs position detection and drive control of the iris 10600. The blur correction control unit 11100 is a blur correction control unit for performing position detection and drive control of the blur correction lens 10700. The focus lens control unit 10800, the zoom lens control unit 10900, the iris control unit 11000, and the blur correction control unit 11100 each include a position sensor such as an absolute value encoder and a drive motor such as an ultrasonic motor or a stepping motor. The shake amount detection unit 11200 is for detecting the amount of vibration of the interchangeable lens 1000, and is composed of, for example, a gyro sensor.

レンズ制御部11300はレンズを制御する為のものであり、不図示のメモリを有している。レンズ制御部11300は、通信制御部の一例である。レンズ側第1通信部11400は、交換レンズ1000にて第1通信を行う為のものである。レンズ側第2通信部11500は、交換レンズ1000にて第2通信を行う為のものである。 The lens control unit 11300 is for controlling the lens and has a memory (not shown). The lens controller 11300 is an example of a communication controller. The lens-side first communication unit 11400 is for performing first communication with the interchangeable lens 1000. The second lens side communication unit 11500 is for performing second communication with the interchangeable lens 1000.

レンズ制御部11300が備えるメモリは、書き換え可能な不揮発メモリで構成され、CPUが実行する制御ソフトウェア(ファームウェア)、交換レンズ1000に関する固有情報や状態情報を記憶する。固有情報は例えば機種名(識別情報)、光学特性、補正情報などである。また、状態情報は例えば動作状態(正常/セーフモード)、ズームレンズ10500の位置情報(または倍率)、フォーカスレンズ10400の位置情報、アイリス10600のF値、ぶれ補正レンズ10700の位置情報、ファームウェアのバージョンや更新状態などである。ただし、これらに限定されない。また、メモリには、後述するセーフモードで交換レンズ1000を動作させる際に実行するプログラムも記憶されている。 The memory included in the lens control unit 11300 is composed of a rewritable non-volatile memory, and stores control software (firmware) executed by the CPU and unique information and status information regarding the interchangeable lens 1000. The unique information is, for example, a model name (identification information), optical characteristics, correction information and the like. In addition, the state information includes, for example, an operating state (normal/safe mode), position information (or magnification) of the zoom lens 10500, position information of the focus lens 10400, F value of the iris 10600, position information of the blur correction lens 10700, firmware version, For example, the update status. However, it is not limited to these. The memory also stores a program that is executed when operating the interchangeable lens 1000 in the safe mode described later.

また、レンズ制御部11300はCPUなどのプログラマブルプロセッサを有し、メモリからプログラムを読みだして実行することにより、後述する交換レンズ1000の動作をはじめとした、各種の動作を実現する。例えばレンズ制御部11300は、後述する第1通信でカメラ制御部20500から受信した命令に応じた動作を実行する。命令に応じた動作とは、例えばフォーカスレンズ制御部10800、ズームレンズ制御部10900、アイリス制御部11000、ぶれ補正制御部11100の制御や、メモリに記憶されたファームウェアの更新を実行する。 Further, the lens control unit 11300 has a programmable processor such as a CPU, and by reading a program from the memory and executing the program, various operations including the operation of the interchangeable lens 1000 described later are realized. For example, the lens control unit 11300 executes an operation according to a command received from the camera control unit 20500 in the first communication described below. The operation according to the command includes, for example, control of the focus lens control unit 10800, the zoom lens control unit 10900, the iris control unit 11000, and the blur correction control unit 11100, and updating of the firmware stored in the memory.

レンズ制御部11300は、メモリに記憶されている古いファームウェアを、例えばカメラ本体2000から第1通信で受信した新しいファームウェアで上書きすることによってファームウェアを更新する。また、レンズ制御部11300は、ファームウェアの更新処理の状態を表すデータ(更新状態データ)をメモリに記録することで、更新処理を管理する。例えばレンズ制御部11300はファームウェアの上書きを行う前に、更新状態データを「未完了」を示す値にし、ファームウェアの上書きが完了すると更新状態データを「完了」を示す値にする。なお、「完了」を示す値は「正常完了」を示す値と「異常完了」を示す値とで異なっていてもよい。また「異常完了」を示す値は、異常の原因に応じて異なる値であってよい。 The lens controller 11300 updates the firmware by overwriting the old firmware stored in the memory with the new firmware received from the camera body 2000 in the first communication, for example. Further, the lens control unit 11300 manages the update process by recording data (update state data) representing the state of the firmware update process in the memory. For example, the lens control unit 11300 sets the update state data to a value indicating “not completed” before overwriting the firmware, and sets the update state data to a value indicating “complete” when the firmware overwrite is completed. The value indicating “completed” may be different from the value indicating “normally completed” and the value indicating “abnormally completed”. The value indicating “abnormal completion” may be a different value depending on the cause of the abnormality.

例えば、ファームウェアの更新中に交換レンズ1000が外された場合、交換レンズ1000への電源供給が絶たれるため、更新状態データが「未完了」を示す値のまま更新処理が中断される。例えばレンズ制御部11300は、電源が再び供給された際に更新状態データを確認し、未完了状態を示す値であった場合には、ファームウェアの更新が中断された状態であるため、動作が制限されたモード(セーフモード)に移行する。また、メモリが記憶している交換レンズ1000の動作状態を、セーフモードに書き換える。セーフモードでは、ファームウェアの更新を行うために必要な処理を含む、制限された機能だけが実行可能である。ファームウェアの更新を行うために必要な処理とは、具体的には、交換レンズ1000の識別情報と動作状態情報(あるいはファームウェア更新の要求)をカメラ本体2000に送信する処理である。また、カメラ本体2000から受信したファームウェアでメモリに記録しているファームウェアを更新する処理も、ファームウェアの更新を行うために必要な処理である。 For example, if the interchangeable lens 1000 is removed during the firmware update, the power supply to the interchangeable lens 1000 is cut off, so the update process is interrupted while the update state data remains a value indicating “incomplete”. For example, the lens control unit 11300 checks the update state data when power is supplied again, and if the value is a value indicating an incomplete state, the operation is limited because the firmware update is in a suspended state. To the specified mode (safe mode). Further, the operating state of the interchangeable lens 1000 stored in the memory is rewritten to the safe mode. In the safe mode, only limited functions including the processing necessary for updating the firmware can be executed. The process required to update the firmware is specifically a process of transmitting the identification information of the interchangeable lens 1000 and the operation state information (or a request for updating the firmware) to the camera body 2000. The process of updating the firmware recorded in the memory with the firmware received from the camera body 2000 is also a process necessary for updating the firmware.

それ以外の処理、例えばフォーカスレンズ制御部10800の制御などは行えない。 Other processes, such as control of the focus lens controller 10800, cannot be performed.

通常、メモリの容量はファームウェア全体を二重化して記憶できるほど大きくない。そのため、セーフモード用のプログラム記憶に利用できる容量は制限される。したがってセーフモードでは、交換レンズ1000の動作状態の送信やファームウェアの更新といった必要最低限の機能を含む、限られた機能だけが提供される。レンズ制御部11300はセーフモード中に第1通信で、セーフモードでは実行できない処理の要求、例えばフォーカスレンズ10400の駆動要求などを受信した場合、要求を無視する。レンズ操作部材11600は、交換レンズ1000に備え付けられた操作部材であり、例えばスイッチ又は電子リングである。レンズ操作部材11600が操作されると、操作信号がレンズ制御部11300へ出力される。 Normally, the memory capacity is not large enough to store the entire firmware in duplicate. Therefore, the capacity available for program storage for safe mode is limited. Therefore, in the safe mode, only limited functions are provided, including the minimum necessary functions such as transmitting the operating state of the interchangeable lens 1000 and updating the firmware. When the lens control unit 11300 receives a request for processing that cannot be executed in the safe mode, such as a drive request for the focus lens 10400, in the first communication during the safe mode, the request is ignored. The lens operating member 11600 is an operating member mounted on the interchangeable lens 1000, and is, for example, a switch or an electronic ring. When the lens operating member 11600 is operated, an operation signal is output to the lens controller 11300.

次に、カメラ本体2000の構成の説明をする。カメラ本体2000は、撮像素子20400、カメラ本体を制御するカメラ制御部20500、カメラ本体2000が撮影した映像などを表示する映像表示部20600、カメラ本体2000に設けられた操作部材であるカメラ操作部材20900を備える。さらに、カメラ本体2000は、第1の通信及び第2の通信を制御するカメラ側第1通信部20700、カメラ側第2通信部20800を備える。各構成について説明をする。 Next, the configuration of the camera body 2000 will be described. The camera body 2000 includes an image sensor 20400, a camera control unit 20500 that controls the camera body, an image display unit 20600 that displays images taken by the camera body 2000, and a camera operation member 20900 that is an operation member provided in the camera body 2000. Equipped with. Further, the camera body 2000 includes a camera side first communication unit 20700 and a camera side second communication unit 20800 that control the first communication and the second communication. Each configuration will be described.

撮像素子20400は映像を撮影する為の撮像素子であり、例えばCMOSイメージセンサーである。 The image sensor 20400 is an image sensor for capturing an image, and is, for example, a CMOS image sensor.

カメラ制御部20500は、カメラ本体を制御する為のものであり、不図示のメモリを有している。カメラ制御部20500は通信制御部の一例である。カメラ側第1通信部20700は、カメラ本体2000にて第1通信を行う為のものである。カメラ側第2通信部20800は、カメラ本体2000にて第2通信を行う為のものである。カメラ制御部20500、カメラ側第1通信部20700、カメラ側第2通信部20800は例えばカメラ本体2000内のCPUを用いて構成されている。 The camera control unit 20500 is for controlling the camera body and has a memory (not shown). The camera control unit 20500 is an example of a communication control unit. The camera-side first communication unit 20700 is for the camera body 2000 to perform the first communication. The camera-side second communication unit 20800 is for performing second communication in the camera body 2000. The camera control unit 20500, the camera-side first communication unit 20700, and the camera-side second communication unit 20800 are configured using the CPU in the camera body 2000, for example.

映像表示部20600は例えば液晶モニタであり、カメラ本体2000が撮影した映像や、記録媒体21100に記録された画像データ、GUIなどの表示に用いられる。このとき、映像表示部20600は、交換レンズ1000もしくは中間アクセサリ3000、4000のファームウェア更新をユーザが指示するためのメニュー表示にも用いられる。また、カメラ制御部20500は、装着されている交換レンズ1000や中間アクセサリ3000、4000がセーフモードであることを検知すると、ファームウェアの更新が必要であることをメッセージ表示などによってユーザに報知することができる。 The image display unit 20600 is, for example, a liquid crystal monitor, and is used to display images captured by the camera body 2000, image data recorded on the recording medium 21100, GUI, and the like. At this time, the image display unit 20600 is also used to display a menu for the user to instruct to update the firmware of the interchangeable lens 1000 or the intermediate accessories 3000 and 4000. Further, when the camera control unit 20500 detects that the interchangeable lens 1000 and the intermediate accessories 3000 and 4000 that are mounted are in the safe mode, the camera control unit 20500 can notify the user that a firmware update is necessary by displaying a message or the like. ..

カメラ操作部材20900は撮影条件を設定する為のものであり、例えばダイアルリングやスイッチである。カメラ操作部材20900が操作されると、操作信号がカメラ制御部20500へ出力される。 The camera operating member 20900 is for setting shooting conditions, and is, for example, a dial ring or a switch. When the camera operation member 20900 is operated, an operation signal is output to the camera control unit 20500.

メディアIF21000は、例えば着脱可能なメモリーカードである記録媒体21100に対してデータの記録や読み出しを行うためのインターフェースである。 The media IF 21000 is an interface for recording and reading data with respect to the recording medium 21100 which is, for example, a removable memory card.

記録媒体21100は、カメラ本体2000での撮影によって得られた画像データや音声データの記録先として用いられる。また、記録媒体21100は、カメラ本体2000、交換レンズ1000、中間アクセサリ3000、4000のファームウェア更新時には新しいファームウェアの供給元としても用いられる。 The recording medium 21100 is used as a recording destination of image data and audio data obtained by shooting with the camera body 2000. The recording medium 21100 is also used as a supplier of new firmware when updating the firmware of the camera body 2000, the interchangeable lens 1000, and the intermediate accessories 3000 and 4000.

中間アクセサリ3000、4000のそれぞれは、中間アクセサリ光学部材30700、40700と、第2通信を行う中間アクセサリ側第2通信部30800、40800と、中間アクセサリの制御を行う30900、40900を備える。また、更に、中間アクセサリ3000、4000のそれぞれは、中間アクセサリに設けられた操作部材である中間アクセサリ操作部材31000、41000を備える。各構成について説明をする。 Each of the intermediate accessories 3000 and 4000 includes intermediate accessory optical members 30700 and 40700, intermediate accessory side second communication units 30800 and 40800 that perform second communication, and 30900 and 40900 that controls the intermediate accessory. Further, each of the intermediate accessories 3000 and 4000 includes intermediate accessory operating members 31000 and 41000 which are operating members provided in the intermediate accessory. Each configuration will be described.

本実施例の中間アクセサリ光学部材30700及び40700は一例として、撮影映像に対して光学特性の変化をもたらす光学部材であり、例えば変倍レンズやNDフィルタである。 The intermediate accessory optical members 30700 and 40700 of this embodiment are, for example, optical members that change the optical characteristics of a captured image, and are, for example, variable power lenses and ND filters.

中間アクセサリ側第2通信部30800及び40800は、中間アクセサリ3000、中間アクセサリ4000にて第2通信を行う為の通信部である。 The intermediate accessory side second communication units 30800 and 40800 are communication units for performing the second communication with the intermediate accessory 3000 and the intermediate accessory 4000.

中間アクセサリ制御部30900、40900は、それぞれ中間アクセサリ3000、中間アクセサリ4000を制御する為の制御部であり、不図示のメモリを有している。中間アクセサリ制御部30900、40900は、各々が通信制御部の一例である。中間アクセサリ制御部30900、40900、中間アクセサリ側第2通信部30800及び40800は、中間アクセサリのCPUを用いて構成されている。 The intermediate accessory control units 30900 and 40900 are control units for controlling the intermediate accessory 3000 and the intermediate accessory 4000, respectively, and have memories (not shown). Each of the intermediate accessory control units 30900 and 40900 is an example of a communication control unit. The intermediate accessory control units 30900 and 40900 and the intermediate accessory-side second communication units 30800 and 40800 are configured using the CPU of the intermediate accessory.

中間アクセサリ制御部30900、40900が有するメモリは、書き換え可能な不揮発メモリで構成され、CPUが実行する制御ソフトウェア(ファームウェア)、中間アクセサリ3000、4000に関する固有情報や状態情報を記憶する。固有情報は例えば機種名(識別情報)、光学特性、補正情報などである。また、状態情報は例えば動作状態(正常/セーフモード)、中間アクセサリ操作部材31000、41000の操作情報(位置や速度)、ファームウェアのバージョンや更新状態などである。ただし、これらに限定されない。また、メモリには、後述するセーフモードで中間アクセサリ3000、4000を動作させる際に実行するプログラムも記憶されている。 The memory included in the intermediate accessory control units 30900 and 40900 is composed of a rewritable non-volatile memory, and stores control software (firmware) executed by the CPU and unique information and status information regarding the intermediate accessories 3000 and 4000. The unique information is, for example, a model name (identification information), optical characteristics, correction information and the like. Further, the status information is, for example, an operation status (normal/safe mode), operation information (position and speed) of the intermediate accessory operating members 31000 and 41000, firmware version and update status, and the like. However, it is not limited to these. The memory also stores a program that is executed when the intermediate accessories 3000 and 4000 are operated in the safe mode described later.

また、中間アクセサリ制御部30900、40900はCPUなどのプログラマブルプロセッサを有し、メモリからプログラムを読みだして実行することにより、後述する中間アクセサリ3000、4000の動作をはじめとした、各種の動作を実現する。例えば中間アクセサリ制御部30900、40900は、後述する第2通信でカメラ制御部20500から受信した命令に応じた動作、例えば中間アクセサリ操作部材31000、41000の操作情報の送信、メモリに記憶されたファームウェアの更新を実行する。 The intermediate accessory control units 30900 and 40900 have a programmable processor such as a CPU, and by reading a program from a memory and executing the program, various operations including operations of the intermediate accessories 3000 and 4000 described later are realized. To do. For example, the intermediate accessory control units 30900 and 40900 operate according to a command received from the camera control unit 20500 in the second communication described later, such as transmission of operation information of the intermediate accessory operation members 31000 and 41000, and firmware stored in the memory. Perform an update.

中間アクセサリ制御部30900、40900は、メモリに記憶されている古いファームウェアを、例えばカメラ本体2000から第1通信で受信した新しいファームウェアで上書きすることによってファームウェアを更新する。また、中間アクセサリ制御部30900、40900は、ファームウェアの更新処理の状態を表すデータ(更新状態データ)をメモリに記録することで、更新処理を管理する。例えば中間アクセサリ制御部30900、40900はファームウェアの上書きを行う前に、更新状態データを「未完了」を示す値にし、ファームウェアの上書きが完了すると更新状態データを「完了」を示す値にする。なお、「完了」を示す値は「正常完了」を示す値と「異常完了」を示す値とで異なっていてもよい。また「異常完了」を示す値は、異常の原因に応じて異なる値であってよい。 The intermediate accessory control units 30900 and 40900 update the firmware by overwriting the old firmware stored in the memory with the new firmware received from the camera body 2000 in the first communication, for example. The intermediate accessory control units 30900 and 40900 manage the update processing by recording data (update status data) indicating the status of the firmware update processing in the memory. For example, the intermediate accessory control units 30900 and 40900 set the update status data to a value indicating “not completed” before overwriting the firmware, and set the update status data to a value indicating “complete” when the firmware overwrite is completed. The value indicating “completed” may be different from the value indicating “normally completed” and the value indicating “abnormally completed”. The value indicating “abnormal completion” may be a different value depending on the cause of the abnormality.

例えば、ファームウェアの更新中に中間アクセサリ3000、4000が外された場合、中間アクセサリ3000、4000への電源供給が絶たれるため、更新状態データが「未完了」を示す値のまま更新処理が中断される。例えば中間アクセサリ制御部30900、40900は、電源が再び供給された際に更新状態データを確認し、未完了状態を示す値であった場合には、動作が制限されたモード(セーフモード)に移行する。また、メモリが記憶している中間アクセサリ3000、40の00動作状態を、セーフモードに書き換える。 For example, if the intermediate accessories 3000 and 4000 are removed during the firmware update, the power supply to the intermediate accessories 3000 and 4000 is cut off, and the update process is interrupted with the update status data indicating a value of “incomplete”. It For example, the intermediate accessory control units 30900 and 40900 check the updated state data when the power is supplied again, and if the value indicates the incomplete state, shift to the mode (safe mode) in which the operation is restricted. .. Further, the 00 operation state of the intermediate accessories 3000 and 40 stored in the memory is rewritten to the safe mode.

セーフモードでは、ファームウェアの更新を行うために必要な処理を含む、制限された機能だけが実行可能である。ファームウェアの更新を行うために必要な処理とは、具体的には、中間アクセサリ3000、4000の識別情報とセーフモードであることを示す情報(あるいはファームウェア更新の要求)などの認証情報をカメラ本体2000に送信する処理である。また、カメラ本体2000から受信したファームウェアでメモリに記録されているファームウェアを更新する処理もファームウェアの更新を行うために必要な処理である。それ以外の処理、例えば中間アクセサリ操作部材31000、41000の操作情報の送信などは行えない。 In the safe mode, only limited functions including the processing necessary for updating the firmware can be executed. Specifically, the processing required to update the firmware includes, in the camera body 2000, authentication information such as identification information of the intermediate accessories 3000 and 4000 and information indicating a safe mode (or a firmware update request). This is the process of transmitting. Further, the process of updating the firmware recorded in the memory with the firmware received from the camera body 2000 is also a process necessary for updating the firmware. Other processes, such as transmission of operation information of the intermediate accessory operation members 31000 and 41000, cannot be performed.

通常、メモリの容量はファームウェア全体を二重化して記憶できるほど大きくない。そのため、セーフモード用のプログラム記憶に利用できる容量は制限される。したがってセーフモードでは、中間アクセサリ3000、4000の動作状態の送信やファームウェアの更新といった必要最低限の機能を含む、限られた機能だけが提供される。中間アクセサリ制御部30900、40900はセーフモード中に第2通信で、セーフモードでは実行できない処理の要求、例えば中間アクセサリ操作部材31000、41000の操作情報の送信受信した場合、要求を無視する。 Normally, the memory capacity is not large enough to store the entire firmware in duplicate. Therefore, the capacity available for program storage for safe mode is limited. Therefore, in the safe mode, only limited functions are provided, including minimum necessary functions such as transmission of the operating states of the intermediate accessories 3000 and 4000 and updating of firmware. When the intermediate accessory control units 30900 and 40900 receive a request for processing that cannot be executed in the safe mode in the second communication during the safe mode, for example, when transmitting and receiving operation information of the intermediate accessory operating members 31000 and 41000, the request is ignored.

中間アクセサリ操作部材31000、41000は、それぞれ中間アクセサリ3000、中間アクセサリ4000に備え付けられた操作部材であり、例えばスイッチ又は電子リングである。中間アクセサリ操作部材31000、41000が操作されると、操作信号が中間アクセサリ制御部30900、40900へ出力される。 The intermediate accessory operating members 31000 and 41000 are operating members provided in the intermediate accessory 3000 and the intermediate accessory 4000, respectively, and are switches or electronic rings, for example. When the intermediate accessory operating members 31000, 41000 are operated, an operation signal is output to the intermediate accessory control units 30900, 40900.

第2通信接続スイッチ31100、第2通信接続スイッチ41100は、それぞれ中間アクセサリ3000、中間アクセサリ4000の第2通信線上、かつ、中間アクセサリ側第2通信部よりレンズ側に備え付けられたスイッチである。第2通信接続スイッチ31100、第2通信接続スイッチ41100は、それぞれ中間アクセサリ制御部30900および中間アクセサリ制御部40900により短絡・開放を制御できる。これらを設けることにより、自身よりレンズ側の第2通信を遮断することが可能となる。つまり、これらのスイッチの短絡・解放を制御することで、第2通信の通信状態を変更することが可能である。 The second communication connection switch 31100 and the second communication connection switch 41100 are switches provided on the second communication line of the intermediate accessory 3000 and the intermediate accessory 4000, respectively, and on the lens side of the intermediate accessory side second communication unit. The second communication connection switch 31100 and the second communication connection switch 41100 can control short circuit/open by the intermediate accessory control unit 30900 and the intermediate accessory control unit 40900, respectively. By providing these, it becomes possible to cut off the second communication on the lens side with respect to itself. That is, it is possible to change the communication state of the second communication by controlling the short circuit/release of these switches.

実施例5において、交換レンズ1000に入射した光が、映像として出力されるまでの流れは以下の通りである。 In Example 5, the flow until the light incident on the interchangeable lens 1000 is output as an image is as follows.

交換レンズ1000に入射した光は、フォーカスレンズ10400、ズームレンズ10500、アイリス10600、ぶれ補正レンズ10700、中間アクセサリ光学部材40700、30700を通り撮像素子20400で結像し、電気信号に変換される。撮像素子20400から出力された電気信号は、カメラ制御部20500にて映像信号に変化され、映像表示部20600に出力される。 The light incident on the interchangeable lens 1000 passes through the focus lens 10400, the zoom lens 10500, the iris 10600, the blur correction lens 10700, and the intermediate accessory optical members 40700 and 30700 to form an image on the image sensor 20400, and is converted into an electric signal. The electric signal output from the image sensor 20400 is converted into a video signal by the camera control unit 20500 and output to the video display unit 20600.

<第1通信(図12)>
次に、第1通信について図12を用いて説明する。
<First communication (Fig. 12)>
Next, the first communication will be described with reference to FIG.

図12(a)は、第1通信を行う構成を示している。本実施例の第1通信はクロック同期通信を行う場合を例示するが、調歩同期式通信を行っても良い。調歩同期式通信については変形例として後述する。第1通信接点群10200、40300、40500、30300、30500、20200にはそれぞれ、カメラ側第1通信部20700から出力されるクロックラインLCLKの端子である第1通信LCLK端子10200a、40300a、40500a、30300a、30500a、20200aが含まれている。本実施例ではまた、同様にクロック同期通信のカメラ側第1通信部20700から出力されるデータラインDCLの端子である第1通信DCL端子10200b、40300b、40500b、30300b、30500b、20200bが含まれている。なお、第1通信DCL端子10200b、40300b、40500b、30300b、30500b、20200bの各々が、第1の通信端子の一例である。また、同様にクロック同期通信のレンズ側第1通信部11400から出力されるデータラインDLCの端子である第1通信DLC端子10200c、40300c、40500c、30300c、30500c、20200cが含まれている。ばお、第1通信DLC端子10200c、40300c、40500c、30300c、30500c、20200cの各々が、第3の通信端子の一例である。 FIG. 12A shows a configuration for performing the first communication. The first communication of the present embodiment exemplifies the case where clock synchronous communication is performed, but start-stop synchronous communication may be performed. Asynchronous communication will be described later as a modified example. The first communication contact groups 10200, 40300, 40500, 30300, 30500, and 20200 have first communication LCLK terminals 10200a, 40300a, 40500a, and 30300a that are terminals of the clock line LCLK output from the camera-side first communication unit 20700. , 30500a and 20200a are included. The present embodiment also includes first communication DCL terminals 10200b, 40300b, 40500b, 30300b, 30500b, 20200b which are terminals of the data line DCL output from the camera side first communication unit 20700 for clock synchronous communication. There is. Each of the first communication DCL terminals 10200b, 40300b, 40500b, 30300b, 30500b, 20200b is an example of the first communication terminal. Similarly, the first communication DLC terminals 10200c, 40300c, 40500c, 30300c, 30500c, 20200c, which are the terminals of the data line DLC output from the lens-side first communication unit 11400 for clock synchronous communication, are included. Each of the first communication DLC terminals 10200c, 40300c, 40500c, 30300c, 30500c, and 20200c is an example of the third communication terminal.

図12(a)が示す通り、クロックラインLCLK、データラインDCLは、交換レンズ1000内でプルアップされている。またクロックラインLCLK、データラインDLCは、カメラ本体2000内でプルアップされている。 As shown in FIG. 12A, the clock line LCLK and the data line DCL are pulled up in the interchangeable lens 1000. The clock line LCLK and the data line DLC are pulled up in the camera body 2000.

中間アクセサリ3000、中間アクセサリ4000内のクロックラインLCLK、データラインDCL、データラインDLCはそれぞれ第1通信接点40300と40500および30300と30500の間で短絡されている。 The intermediate accessory 3000, the clock line LCLK, the data line DCL, and the data line DLC in the intermediate accessory 4000 are short-circuited between the first communication contacts 40300 and 40500 and 30300 and 30500, respectively.

図12(b)は、第1通信が行われている時のクロックラインLCLK、データラインDCL、データラインDLCの波形を示している。カメラ側第1通信部20700は、クロックラインLCLKにクロックを出力すると共に、クロックラインLCLKの立ち上がり信号に合わせてデータラインDCLにB7〜B0の8ビットのデータを出力する。同様にレンズ側第1通信部114は、クロックラインLCLKの立ち上がり信号に合わせてデータラインDLCにB7〜B0の8ビットのデータを出力する。更にカメラ側第1通信部20700はクロックラインLCLKの立ち上がり信号に合わせてデータラインDLCのB7〜B0の8ビットのデータを受信する。同様にレンズ側第1通信部11400はクロックラインLCLKの立ち上がり信号に合わせてデータラインDCLのB7〜B0の8ビットのデータを受信する。以上によりカメラ側第1通信部207およびレンズ側第1通信部114が通信データをお互いに交換する事が出来る。レンズ側第1通信部11400は、データラインDCLのB7〜B0の8ビットのデータを受信すると、クロックラインLCLKをTbusyの時間LOW出力し、その後LOW出力を解除する。ここでTbusy時間は交換レンズ10が受信データを処理している時間であり、カメラ側第1通信部20700はデータ送信後にクロックラインLCLKがLOWからHIGHに変化するまでデータ送信を行わない構成となっている。この信号制御により、第1通信のフロー制御を行う事ができる。以上の処理を繰り返す事で、第1通信によりカメラ側第1通信部20700とレンズ側第1通信部114の間でデータの伝達を行う事が出来る。 FIG. 12B shows waveforms of the clock line LCLK, the data line DCL, and the data line DLC when the first communication is performed. The first camera side communication unit 20700 outputs a clock to the clock line LCLK and outputs 8-bit data of B7 to B0 to the data line DCL according to the rising signal of the clock line LCLK. Similarly, the first lens side communication unit 114 outputs 8-bit data B7 to B0 to the data line DLC in response to the rising signal of the clock line LCLK. Further, the first camera side communication unit 20700 receives the 8-bit data of B7 to B0 of the data line DLC in synchronization with the rising signal of the clock line LCLK. Similarly, the first lens side communication unit 11400 receives the 8-bit data of B7 to B0 of the data line DCL in synchronization with the rising signal of the clock line LCLK. As described above, the camera-side first communication unit 207 and the lens-side first communication unit 114 can exchange communication data with each other. Upon receiving the 8-bit data of B7 to B0 of the data line DCL, the first lens side communication unit 11400 outputs the clock line LCLK LOW for the time Tbusy, and then releases the LOW output. Here, the Tbusy time is the time during which the interchangeable lens 10 is processing the received data, and the first camera side communication unit 20700 does not perform data transmission until the clock line LCLK changes from LOW to HIGH after data transmission. ing. By this signal control, the flow control of the first communication can be performed. By repeating the above processing, data can be transmitted between the camera-side first communication unit 20700 and the lens-side first communication unit 114 by the first communication.

<第2通信(図21)>
次に、図21の構成図を参照して、カメラ本体2000と交換レンズ1000と中間アクセサリ3000と中間アクセサリ4000との間に構成される「1対多」の通信が可能な通信回路の1つについて説明する。なお、通信回路は「1対多」の通信が可能であればこの限りではない。さらに、複数の通信回路を持つ場合は、他の通信回路についてはクロック同期式のシリアル通信やUART通信のような「1対1」の通信でも構わない。
<Second communication (Fig. 21)>
Next, referring to the configuration diagram of FIG. 21, one of communication circuits capable of “one-to-many” communication configured between the camera body 2000, the interchangeable lens 1000, the intermediate accessory 3000, and the intermediate accessory 4000. Will be described. It should be noted that the communication circuit is not limited to this as long as "one-to-many" communication is possible. Further, when a plurality of communication circuits are provided, other communication circuits may be "one-to-one" communication such as clock-synchronized serial communication or UART communication.

カメラ側第2通信部20800、レンズ側第2通信部115、中間アクセサリ第2通信部30800、40800は、第1通信と同様に接点部を介して接続される。より具体的には、前述の第2通信接点群第2通信接点群10300、40400、40600、30400、30600、20300を介して接続される。本実施例において、第2通信接点群10300、40400、40600、30400、30600、20300は各々CS信号端子10300a、40400a、40600a、30400a、30600a、20300aとDATA信号端子10300b、40400b、40600b、30400b、30600b、20300bを有する。カメラ側第2通信部20800、レンズ側第2通信部11500、中間アクセサリ第2通信部30800は、CS信号端子を介して接続されたCS信号線、DATA信号端子を介して接続されたDATA信号線を用いて通信を行う。 The camera-side second communication unit 20800, the lens-side second communication unit 115, and the intermediate accessory second communication units 30800 and 40800 are connected via the contact portion as in the first communication. More specifically, the second communication contact group is connected via the second communication contact group 10300, 40400, 40600, 30400, 30600, 20300. In this embodiment, the second communication contact groups 10300, 40400, 40600, 30400, 30600, 20300 are CS signal terminals 10300a, 40400a, 40600a, 30400a, 30600a, 20300a and DATA signal terminals 10300b, 40400b, 40600b, 30400b, 30600b. , 20300b. The camera side second communication unit 20800, the lens side second communication unit 11500, and the intermediate accessory second communication unit 30800 are a CS signal line connected via a CS signal terminal and a DATA signal line connected via a DATA signal terminal. Use to communicate.

なお、第2通信接点群10300、40400、40600、30400、30600、20300が各々有するDATA信号端子は、第2の通信端子の一例である。 The DATA signal terminals included in the second communication contact groups 10300, 40400, 40600, 30400, 30600, and 20300 are examples of second communication terminals.

カメラ通信回路は接地スイッチ22100と入出力切り換えスイッチ22200によって構成されている。レンズ通信回路は接地スイッチ12100と入出力切り換えスイッチ12200によって構成されている。中間アクセサリ通信回路は接地スイッチ32100、42100と入出力切り換えスイッチ32200、42200によって構成されている。 The camera communication circuit is composed of a ground switch 22100 and an input/output changeover switch 22200. The lens communication circuit is composed of a ground switch 12100 and an input/output changeover switch 12200. The intermediate accessory communication circuit is composed of ground switches 32100 and 42100 and input/output changeover switches 32200 and 42200.

信号線は、通信のフロー制御を行うための信号を伝搬するためのCS信号線(第1の信号線)と、送受信するデータを伝搬するためのDATA信号線(第2の信号線)の2本で構成される。 The signal lines are a CS signal line (first signal line) for propagating a signal for flow control of communication and a DATA signal line (second signal line) for propagating data to be transmitted and received. Composed of books.

CS信号線はカメラ側第2通信部20800と中間アクセサリ第2通信部30800、およびレンズ側第2通信部11500に接続されており、信号線の状態(Hi/Low)を検出可能な構成としている。またCS信号線はカメラ本体内で不図示の電源にプルアップ接続されている。CS信号線は交換レンズ1000の接地スイッチ12100、カメラ本体2000の接地スイッチ22100、中間アダプタの接地スイッチ32100、42100を介してGNDと接続可能な構成としている(オープンドレイン接続)。この構成により、交換レンズ1000、カメラ本体2000、中間アクセサリ3000、4000はそれぞれ接地スイッチをオン(接続)することによりCS信号線の状態をLowにすることが可能である。一方、交換レンズ1000、カメラ本体2000、中間アクセサリ3000、4000の全てが各々の接続スイッチをオフ(遮断)することで、CS信号線の状態をHiとすることができる。CS信号線は、ブロードキャスト通信とP2P通信を区別するため、もしくはP2P通信における通信方向の切り替えなどに用いられる。 The CS signal line is connected to the camera side second communication unit 20800, the intermediate accessory second communication unit 30800, and the lens side second communication unit 11500, and is configured to be able to detect the state (Hi/Low) of the signal line. .. Further, the CS signal line is pull-up connected to a power source (not shown) in the camera body. The CS signal line is configured to be connectable to GND via the ground switch 12100 of the interchangeable lens 1000, the ground switch 22100 of the camera body 2000, and the ground switches 32100 and 42100 of the intermediate adapter (open drain connection). With this configuration, the interchangeable lens 1000, the camera body 2000, and the intermediate accessories 3000 and 4000 can each have a CS signal line set to Low by turning on (connecting) a ground switch. On the other hand, when the interchangeable lens 1000, the camera body 2000, and the intermediate accessories 3000 and 4000 all turn off (shut off) their connection switches, the state of the CS signal line can be set to Hi. The CS signal line is used to distinguish between broadcast communication and P2P communication, or for switching the communication direction in P2P communication.

DATA信号線は、データの伝搬方向を切り換えながら使用可能な単線の双方向データ送信線である。DATA信号線は、交換レンズ1000の入出力切り換えスイッチ12200を介してレンズ側第2通信部11500と接続可能である。また、DATA信号線は、カメラ本体2000の入出力切り換えスイッチ22200を介してカメラ側第2通信部20800と接続可能である。また、DATA信号線は、中間アクセサリ3000、4000の入出力切り換えスイッチ32200、42200を介して中間アクセサリ第2通信部30800、40800とそれぞれ接続可能である。それぞれのマイコンにはデータを送信するためのデータ出力部(CMOS方式)とデータを受信するためのデータ入力部(CMOS方式)が備えられている。入出力切り換えスイッチを操作することでDATA信号線をデータ出力部に接続するかデータ入力部に接続するかを選択することができる。この構成により、交換レンズ1000、カメラ本体2000、中間アクセサリ3000、4000は自分がデータを送信する場合にはDATA信号線をデータ出力部と接続するように各々入出力切り換えスイッチを操作することでデータ送信が可能となる。一方、交換レンズ1000、カメラ本体2000、中間アクセサリ3000、4000は自分がデータを受信する場合にはDATA信号線をデータ入力部と接続するように各々入出力切り換えスイッチを操作することでデータ受信が可能となる。 The DATA signal line is a single-line bidirectional data transmission line that can be used while switching the data propagation direction. The DATA signal line can be connected to the second lens side communication unit 11500 via the input/output changeover switch 12200 of the interchangeable lens 1000. Further, the DATA signal line can be connected to the camera side second communication unit 20800 via the input/output changeover switch 22200 of the camera body 2000. Further, the DATA signal line can be connected to the intermediate accessory second communication units 30800 and 40800 via the input/output changeover switches 32200 and 42200 of the intermediate accessories 3000 and 4000, respectively. Each microcomputer is provided with a data output unit (CMOS system) for transmitting data and a data input unit (CMOS system) for receiving data. By operating the input/output changeover switch, it is possible to select whether to connect the DATA signal line to the data output section or the data input section. With this configuration, the interchangeable lens 1000, the camera body 2000, and the intermediate accessories 3000 and 4000 each operate the input/output changeover switch so as to connect the DATA signal line to the data output unit when transmitting data. It becomes possible to send. On the other hand, the interchangeable lens 1000, the camera body 2000, and the intermediate accessories 3000 and 4000 can receive data by operating the input/output changeover switches so that the DATA signal line is connected to the data input unit when receiving the data. It will be possible.

ここで、CS信号とデータ信号により行われるブロードキャスト通信とP2P通信について述べる。 Here, the broadcast communication and the P2P communication performed by the CS signal and the data signal will be described.

CS信号線はいずれかのユニットがGNDに接続するとLOWに落ちるので、ブロードキャスト通信のきっかけとして使用される。 The CS signal line is set to LOW when any unit is connected to GND, and is used as a trigger for broadcast communication.

通信の主体であるカメラ本体がCS信号線をLOWに引くことでブロードキャスト通信が開始される。CS信号線がLOWの時にDATA線によりアクセサリが受信したデータは、ブロードキャストされたデータであると判断する。 Broadcast communication is started by the camera body, which is the main body of communication, pulling the CS signal line to LOW. It is determined that the data received by the accessory through the DATA line when the CS signal line is LOW is broadcast data.

また、各アクセサリがCS信号線をLOWに引くことでカメラ本体にブロードキャスト通信をリクエストすることができる。 In addition, each accessory can request broadcast communication from the camera body by pulling the CS signal line LOW.

CS信号線のLOWを検知したユニットは、ブロードキャストの処理中は自身の接地スイッチを入れておくことで、ブロードキャスト通信に対する処理が継続していることを他のユニットに周知することが可能である。第2通信はブロードキャスト通信で始まり、ブロードキャスト通信で終わると規定することで、アクセサリのDATA信号線は基本的に受信状態を維持しておけばよい。カメラがアクセサリとP2P通信を行う場合には、まずブロードキャスト通信により通信対象のアクセサリを指定する。ブロードキャスト通信の送信を完了したカメラと指定されたアクセサリはP2P通信を行う。 The unit that has detected the LOW of the CS signal line can inform other units that the process for the broadcast communication is continuing by turning on the ground switch of itself during the process of the broadcast. By defining that the second communication starts with broadcast communication and ends with broadcast communication, the DATA signal line of the accessory basically needs to maintain the reception state. When the camera performs P2P communication with the accessory, first, the accessory to be communicated is designated by broadcast communication. The camera that has completed the transmission of the broadcast communication and the designated accessory perform the P2P communication.

P2P通信では、まずカメラがデータを送信し、それを受けたアクセサリがカメラへデータを送信する。以後、これが交互に行われる。P2P通信においては、通信中のCS信号はHIGHを維持することでブロードキャスト通信と区別される。P2P通信におけるCS信号はビジー信号として使用される。すなわち、カメラ及びアクセサリが相手に自身からのデータ送信が終了した旨を通知するためにLOWにし、データ受信の準備が整ったことを通知するためにHIGHにする。 In P2P communication, first, the camera transmits data, and the accessory that receives the data transmits the data to the camera. Thereafter, this is alternately performed. In P2P communication, the CS signal during communication is kept HIGH to be distinguished from broadcast communication. The CS signal in P2P communication is used as a busy signal. That is, the camera and the accessory are set to LOW in order to notify the other party that the data transmission from itself has been completed, and set to HIGH in order to notify that the data reception is ready.

P2P通信が終了したら、カメラがP2P通信の終了をブロードキャスト通信する。 When the P2P communication ends, the camera broadcasts the end of the P2P communication.

このようにして、カメラは複数のアクセサリと2本の通信ラインを介してデータ通信を行える。 In this way, the camera can perform data communication with the plurality of accessories via the two communication lines.

なお、図21では本発明における通信回路の一例について示したが、本発明はこれに限定されない。例えば、CS信号線をカメラ本体2000内でGNDにプルダウン接続し、交換レンズ1000の接地スイッチ12100、カメラ本体2000の接地スイッチ22100、中間アクセサリ3000、4000の接地スイッチ32100、42100を介して不図示の電源と接続可能な構成としても良い。またDATA信号線は常に各々のデータ入力部に接続される構成とし、DATA信号線と各々のデータ出力部との接続/遮断をスイッチにより操作可能な構成としても良い。 Note that FIG. 21 shows an example of the communication circuit in the present invention, but the present invention is not limited to this. For example, a CS signal line is connected to GND in the camera body 2000 by pull-down connection, and not shown via the ground switch 12100 of the interchangeable lens 1000, the ground switch 22100 of the camera body 2000, and the ground switches 32100 and 42100 of the intermediate accessories 3000 and 4000. It may be configured to be connectable to a power supply. The DATA signal line may be always connected to each data input section, and the connection/disconnection between the DATA signal line and each data output section may be operated by a switch.

第2通信は、第1通信と同じ通信方式や、双方向の調歩同期通信、マスタ・スレーブ方式やトークンパッシング方式等で実現可能である。 The second communication can be realized by the same communication method as the first communication, bidirectional asynchronous communication, master/slave method, token passing method, or the like.

<アクセサリとの初期通信及び補正された光学情報の取得処理(図13)>
次に、カメラ本体2000がアクセサリとの初期通信によりアクセサリの認証情報を取得し、さらに中間アクセサリ3000および中間アクセサリ4000の光学情報に基づいて補正された交換レンズ1000の光学情報を取得する流れについて図13を用いて説明する。なお、中間アクセサリの光学情報とは、例えば中間アクセサリが変倍レンズを有する場合には、当該中間アクセサリの挿入により変化する倍率である。また、交換レンズ1000の光学情報とは、例えば焦点距離、絞り、フォーカス敏感度、ピント補正量等の情報である。
<Initial communication with accessory and acquisition process of corrected optical information (FIG. 13)>
Next, a flow in which the camera body 2000 acquires the authentication information of the accessory by initial communication with the accessory and further acquires the optical information of the interchangeable lens 1000 corrected based on the optical information of the intermediate accessory 3000 and the intermediate accessory 4000 This will be described using 13. The optical information of the intermediate accessory is, for example, when the intermediate accessory has a variable power lens, the magnification that changes due to the insertion of the intermediate accessory. The optical information of the interchangeable lens 1000 is, for example, information such as focal length, aperture, focus sensitivity, focus correction amount, and the like.

図13は、中間アクセサリおよび交換レンズを装着して初めて電源を供給した後に、カメラ本体2000が中間アクセサリ3000および中間アクセサリ4000の光学情報に基づいて補正された交換レンズ1000の光学情報を取得する処理の流れを示している。 FIG. 13 is a process in which the camera body 2000 acquires the optical information of the interchangeable lens 1000 corrected based on the optical information of the intermediate accessory 3000 and the intermediate accessory 4000 after supplying power for the first time after mounting the intermediate accessory and the interchangeable lens. Shows the flow of.

S30100にてカメラ本体2000が起動すると、S30200に遷移する。 When the camera body 2000 is activated in S30100, the process proceeds to S30200.

S30200に遷移すると、カメラ本体2000は、不図示の電源供給用マウント接点を介して、交換レンズ1000、中間アクセサリ3000、中間アクセサリ4000に電源を供給し、S30300およびS30400に遷移する。 Upon transitioning to S30200, the camera body 2000 supplies power to the interchangeable lens 1000, the intermediate accessory 3000, and the intermediate accessory 4000 via a power supply mount contact (not shown), and transitions to S30300 and S30400.

S30300に遷移すると、カメラ制御部20500は、第1通信にて交換レンズ1000と初期通信を行う。当該初期通信では、交換レンズ1000の認証情報を取得する。 Upon transitioning to S30300, the camera control unit 20500 performs initial communication with the interchangeable lens 1000 in the first communication. In the initial communication, the authentication information of the interchangeable lens 1000 is acquired.

ここで交換レンズ1000の認証情報には、交換レンズ1000の識別情報と動作状態情報が含まれている。交換レンズ識別情報は、交換レンズの種類(機種)の識別に用いられる機種ナンバー(ID)等の情報であってもよいし、交換レンズ固有の光学データを示す光学データ識別情報であってもよい。また、交換レンズが有する機能を示す情報や同一機種の中での個体を識別可能な製造ナンバー(シリアルナンバー)等の情報を含んでいてもよい。 Here, the authentication information of the interchangeable lens 1000 includes identification information and operation state information of the interchangeable lens 1000. The interchangeable lens identification information may be information such as a model number (ID) used to identify the type (model) of the interchangeable lens, or may be optical data identification information indicating optical data unique to the interchangeable lens. .. Further, it may include information indicating the function of the interchangeable lens and information such as a manufacturing number (serial number) capable of identifying an individual in the same model.

動作状態情報は、交換レンズ1000が正常に動作しているかセーフモードで動作しているかが識別できる情報であり、言い換えると、ファームウェアの更新が中断された状態である(セーフモードで動作)か、否か(正常動作)が識別できる情報である。 The operating state information is information that can be used to identify whether the interchangeable lens 1000 is operating normally or operating in safe mode. In other words, whether the firmware update is in a suspended state (operating in safe mode) or not. (Normal operation) is the information that can be identified.

第1通信にて交換レンズ1000の認証情報を取得するサブプロセスS30300の流れについては図14を用いて後述する。 The flow of the sub-process S30300 for acquiring the authentication information of the interchangeable lens 1000 in the first communication will be described later with reference to FIG.

S30400に遷移すると、カメラ制御部20500は、第2通信にてアクセサリと初期通信を行い、アクセサリの認証情報を取得する。 Upon transitioning to S30400, the camera control unit 20500 performs initial communication with the accessory in the second communication and acquires authentication information of the accessory.

ここで、アクセサリの認証情報には、アクセサリの識別情報と補正処理要否情報と動作状態情報が含まれている。 Here, the accessory authentication information includes accessory identification information, correction process necessity information, and operation state information.

中間アクセサリ識別情報は、中間アクセサリの種類(機種)の識別に用いられる機種ナンバー(ID)等の情報であってもよいし、中間アクセサリ固有の光学データを示す光学データ識別情報であってもよい。また、中間アクセサリが有する機能を示す情報や同一機種の中での個体を識別可能な製造ナンバー(シリアルナンバー)等の情報を含んでいてもよい。 The intermediate accessory identification information may be information such as a model number (ID) used to identify the type (model) of the intermediate accessory, or may be optical data identification information indicating optical data unique to the intermediate accessory. .. Further, it may include information indicating a function of the intermediate accessory, information such as a manufacturing number (serial number) capable of identifying an individual in the same model, and the like.

また、補正処理要否情報とは、当該アクセサリの装着により、交換レンズ1000の光学情報の補正が必要となるか否かを示す情報である。アクセサリが中間アクセサリの場合であって、交換レンズ1000の光学系に影響を与えないものである場合は、補正処理は不要である。中間アクセサリ補正処理要否情報によりカメラ制御部20500が該中間アクセサリの装着による補正処理が不要であることを事前に知れば、交換レンズ1000の光学情報の取得処理において、カメラは該中間アクセサリを無視することができる。 The correction processing necessity information is information indicating whether or not the optical information of the interchangeable lens 1000 needs to be corrected by mounting the accessory. If the accessory is an intermediate accessory and does not affect the optical system of the interchangeable lens 1000, the correction process is unnecessary. If the camera control unit 20500 knows in advance that the correction processing by mounting the intermediate accessory is unnecessary based on the intermediate accessory correction processing necessity information, the camera ignores the intermediate accessory in the acquisition processing of the optical information of the interchangeable lens 1000. can do.

補正処理が不要な中間アクセサリとしては、例えば、自身の幅による光学系への影響を打ち消すように光学設計された光学部材を備え、操作部材を増設する目的で装着される中間アクセサリがある。また、フランジバックの短いマウントの交換レンズとカメラ本体との間に装着することでカメラ本体に適したフランジバック長に変化させるマウントコンバータなども挙げられる。 As an intermediate accessory that does not require a correction process, for example, there is an intermediate accessory that is equipped with an optical member that is optically designed to cancel the influence of its own width on the optical system and that is attached for the purpose of adding an operating member. Further, a mount converter or the like that is mounted between the interchangeable lens of the mount having a short flange back and the camera body to change the flange back length suitable for the camera body can be given.

動作状態情報は、中間アクセサリ3000、4000が正常に動作しているかセーフモードで動作しているかが識別できる情報であり、言い換えると、ファームウェアの更新が中断された状態である(セーフモードで動作)か、否か(正常動作)が識別できる情報である。 The operation state information is information that can be used to identify whether the intermediate accessories 3000 and 4000 are operating normally or operating in safe mode. In other words, the firmware update is in a suspended state (operating in safe mode), This is information that can be identified whether or not (normal operation).

第2通信にて中間アクセサリの認証情報を取得するサブプロセスS30400の流れについては図15を用いて後述する。S30300およびS30400は、別の通信経路を使用するため、処理を並行して行ってもよいし、順次行ってもよい。 The flow of the sub-process S30400 for acquiring the authentication information of the intermediate accessory in the second communication will be described later with reference to FIG. Since S30300 and S30400 use different communication paths, the processes may be performed in parallel or sequentially.

S30300およびS30400により交換レンズの認証情報、装着されているアクセサリの認証情報を取得すると、S305に遷移する。 When the authentication information of the interchangeable lens and the authentication information of the attached accessory are acquired in S30300 and S30400, the process proceeds to S305.

S30500に遷移すると、カメラ制御部20500は、S30400にて取得した補正処理要否情報を元に、交換レンズの光学情報の補正が必要な中間アクセサリがあるかを判断する。補正処理要否情報が「要」の中間アクセサリ(補正に関わる中間アクセサリ、とも称する)が装着されていた場合には、S30600に遷移する。 Upon transitioning to S30500, the camera control unit 20500 determines whether or not there is an intermediate accessory that requires correction of the optical information of the interchangeable lens based on the correction processing necessity information acquired in S30400. If the intermediate accessory whose correction processing necessity information is “necessary” (also referred to as an intermediate accessory related to correction) is attached, the process proceeds to S30600.

S30600に遷移すると、カメラ制御部20500は、交換レンズおよびS30500で補正処理要否情報が「要」であった中間アクセサリのうち、カメラ制御部20500が光学情報を保有していないアクセサリがあるか否かを判断する。なお、交換レンズおよびS30500で補正処理要否情報が「要」であった中間アクセサリを、補正に関わるアクセサリ、とも称する。カメラ制御部20500は補正に関わるアクセサリのうち、カメラ制御部20500が光学情報を保有していないアクセサリがある場合は、カメラ制御部20500では交換レンズの光学情報の補正処理が行うことができない。この場合、補正処理の依頼先を探すため、S30700に遷移する。 Upon transitioning to S30600, the camera control unit 20500 determines whether or not there is an accessory for which the camera control unit 20500 does not hold optical information, among the interchangeable lens and the intermediate accessories whose correction process necessity information is “Necessary” in S30500. To judge. The interchangeable lens and the intermediate accessory for which the correction processing necessity information is “necessary” in S30500 are also referred to as correction-related accessories. If the camera control unit 20500 has an accessory that does not have optical information among the accessories related to the correction, the camera control unit 20500 cannot perform the correction process of the optical information of the interchangeable lens. In this case, the process proceeds to S30700 to search for a correction processing request destination.

S30700に遷移すると、カメラ制御部20500は、補正に関わるアクセサリのうち、他の全アクセサリの光学情報を保持するアクセサリ(第1のアクセサリとも称する)を決定する。第1のアクセサリの決定方法としては、例えば、アクセサリから取得した識別情報により判断してもよいし、通信によってアクセサリに問い合わせてもよい。詳しくは図16を用いて後述する。 Upon transitioning to S30700, the camera control unit 20500 determines an accessory (also referred to as a first accessory) that holds optical information of all other accessories among the accessories related to the correction. As a method for determining the first accessory, for example, the identification information acquired from the accessory may be used for the determination, or the accessory may be inquired by communication. Details will be described later with reference to FIG.

S30700により第1のアクセサリが確定すると、S30800に遷移する。 When the first accessory is determined in S30700, the process proceeds to S30800.

S30800に遷移すると、カメラ制御部205はS307により確定した第1のアクセサリに、その他の補正に関わるアクセサリの識別情報を送信するとともに、交換レンズ1000の光学情報の補正処理を依頼する。本実施例では一例として、第1のアクセサリが交換レンズである場合には、第1通信にて通信を行う。第1のアクセサリが中間アクセサリである場合には、第2通信にて通信を行う。 Upon transitioning to S30800, the camera control unit 205 transmits the identification information of the accessory relating to other corrections to the first accessory determined in S307, and requests correction processing of the optical information of the interchangeable lens 1000. In this embodiment, as an example, when the first accessory is an interchangeable lens, communication is performed by the first communication. When the first accessory is an intermediate accessory, the second communication is performed.

S30800により補正依頼を受けた第1のアクセサリの制御部は、保持しているその他の補正に関わるアクセサリの光学情報を用いて、交換レンズ1000の光学情報の補正処理を行う。 The control unit of the first accessory that has received the correction request in S30800 performs the correction process of the optical information of the interchangeable lens 1000 using the optical information of the other accessory related to the correction that is held.

S30900に遷移し、カメラ制御部20500は、第1のアクセサリにより補正された光学情報を取得する。 In step S30900, the camera control unit 20500 acquires the optical information corrected by the first accessory.

一方、S30600において、交換レンズおよびS30500で補正処理要否情報が「要」であった中間アクセサリのうち、カメラ制御部20500が光学情報を保有していないアクセサリがないとカメラ制御部20500が判断した場合は、S31000に遷移する。この場合、カメラ制御部20500は全アクセサリの光学情報を保持している。 On the other hand, in S30600, the camera control unit 20500 determines that there is no interchangeable lens and an accessory for which the correction processing necessity information is “necessary” in S30500, in which the camera control unit 20500 does not hold optical information. In the case, the process proceeds to S31000. In this case, the camera control unit 20500 holds the optical information of all accessories.

S31000に遷移するとカメラ制御部20500は自身が保持している交換レンズの光学情報および中間アクセサリの光学情報を用いて、カメラ制御部20500が交換レンズの光学情報の補正を行う。 Upon transitioning to S31000, the camera control unit 20500 corrects the optical information of the interchangeable lens using the optical information of the interchangeable lens and the optical information of the intermediate accessory held by the camera control unit 20500.

また、S30500において、交換レンズの光学情報の補正が必要な中間アクセサリがないとカメラ制御部20500が判断した場合には、中間アクセサリが装着されていない、または装着されている全中間アクセサリの補正処理要否情報が「否」である。したがって、交換レンズの光学情報を補正する必要はない場合の処理として、S31100に遷移する。 Further, in S30500, when the camera control unit 20500 determines that there is no intermediate accessory that requires the correction of the optical information of the interchangeable lens, the intermediate accessory is not attached, or the correction processing of all the attached intermediate accessories is performed. The necessity information is “No”. Therefore, as a process when it is not necessary to correct the optical information of the interchangeable lens, the process proceeds to S31100.

S31100に遷移すると、S30300で取得した交換レンズ認証情報に含まれる交換レンズ1000の識別情報により、カメラ本体2000が交換レンズ1000の光学情報を保持しているか否かを判断する。カメラ制御部20500が交換レンズの光学情報を保持していない場合、S31200に遷移する。 Upon transitioning to S31100, it is determined whether or not the camera body 2000 holds the optical information of the interchangeable lens 1000 based on the identification information of the interchangeable lens 1000 included in the interchangeable lens authentication information acquired in S30300. When the camera control unit 20500 does not hold the optical information of the interchangeable lens, the process proceeds to S31200.

S31200に遷移すると、カメラ制御部20500は第1通信にて交換レンズ1000の光学情報をレンズ制御部11300より取得する。 Upon transitioning to S31200, the camera control unit 20500 acquires the optical information of the interchangeable lens 1000 from the lens control unit 11300 in the first communication.

一方で、S31100において交換レンズ1000の光学情報を保持していると判断された場合は、カメラ制御部20500はS31300にてカメラ内のデータテーブルより光学情報を取得する。 On the other hand, when it is determined in S31100 that the optical information of the interchangeable lens 1000 is held, the camera control unit 20500 acquires the optical information from the data table in the camera in S31300.

S30900、S31000、S31200、もしくはS31300により光学情報を取得したのちにS31400に遷移し、光学情報取得シーケンスは終了する。 After acquiring the optical information in S30900, S31000, S31200, or S31300, the process proceeds to S31400, and the optical information acquisition sequence ends.

光学情報取得後は、第1の通信経路はカメラ本体2000が交換レンズ1000を制御するための通信に使われ、第2の通信経路はカメラ本体2000が中間アクセサリ操作部材31000、中間アクセサリ操作部材41000の操作情報を定常的に取得するための通信に使われる。交換レンズの操作部材11600の操作情報を定常的に取得するための通信は、各通信経路の占有率や通信および制御に必要とされる即時性を考慮して、第1の通信経路、第2の通信経路のいずれを用いてもよい。 After obtaining the optical information, the first communication path is used for communication for the camera body 2000 to control the interchangeable lens 1000, and the second communication path is used by the camera body 2000 for the intermediate accessory operating member 31000 and the intermediate accessory operating member 41000. It is used for communication to constantly acquire the operation information of. The communication for constantly acquiring the operation information of the operation member 11600 of the interchangeable lens takes into consideration the occupancy of each communication path and the immediacy required for communication and control, and the first communication path and the second communication path. Any of the above communication paths may be used.

<カメラと交換レンズの第1通信による初期通信処理(図14)>
図14は、実施例5のカメラシステムにおいて、カメラ本体2000が交換レンズ1000と行う初期通信であるサブプロセスS30300の流れを示している。当該初期通信では、カメラ制御部20500がレンズ制御部11300から交換レンズ1000の認証情報を取得する。
<Initial communication processing by the first communication between the camera and the interchangeable lens (FIG. 14)>
FIG. 14 shows the flow of a sub-process S30300 that is initial communication performed by the camera body 2000 with the interchangeable lens 1000 in the camera system of the fifth embodiment. In the initial communication, the camera control unit 20500 acquires the authentication information of the interchangeable lens 1000 from the lens control unit 11300.

S40100にてサブプロセスが開始されるとS40200に遷移する。 When the sub process is started in S40100, the process proceeds to S40200.

S40200に遷移すると、カメラ制御部20500はレンズ制御部11300に対して、第1通信にて交換レンズ認証情報送信要求(第1の送信要求に対応する)を送信する。 Upon transitioning to S40200, the camera control unit 20500 transmits an interchangeable lens authentication information transmission request (corresponding to the first transmission request) to the lens control unit 11300 in the first communication.

ここで、本実施例の交換レンズ認証情報要求について、図19(a)を用いて説明する。本実施例の交換レンズ認証情報要求は、交換レンズ1000がカメラ制御部20500に対して、認証情報である2つの情報を送信することを要求する情報である。認証情報要求には、交換レンズの識別情報要求と、動作状態情報要求とが含まれる。 Here, the interchangeable lens authentication information request of this embodiment will be described with reference to FIG. The interchangeable lens authentication information request of this embodiment is information that the interchangeable lens 1000 requests the camera control unit 20500 to transmit two pieces of authentication information. The authentication information request includes an interchangeable lens identification information request and an operation state information request.

S40300にて、レンズ制御部11300が交換レンズ認証情報送信要求を受信するとS40400に遷移する。そして、レンズ制御部11300は第1通信にて交換レンズ認証情報(第1の情報に対応する)をカメラ制御部20500に送信する。 In S40300, when the lens control unit 11300 receives the interchangeable lens authentication information transmission request, the process proceeds to S40400. Then, the lens control unit 11300 transmits the interchangeable lens authentication information (corresponding to the first information) to the camera control unit 20500 in the first communication.

ここで、交換レンズ1000がカメラ制御部20500に送信する認証情報について、図19(b)を用いて説明する。当該認証情報には、識別情報と、動作状態情報とが含まれる。 Here, the authentication information transmitted by the interchangeable lens 1000 to the camera control unit 20500 will be described with reference to FIG. The authentication information includes identification information and operating state information.

S40500にてカメラ制御部20500が交換レンズ認証情報を受信すると、S40600に遷移し、受信した交換レンズ認証情報を記憶する。 When the camera control unit 20500 receives the interchangeable lens authentication information in step S40500, the process advances to step S40600 to store the received interchangeable lens authentication information.

S40700を以て、サブプロセスS30300は終了する。 After S40700, the sub-process S30300 ends.

<カメラと中間アクセサリの第2通信による初期通信処理(図15)>
図15は、実施例5のカメラシステムにおいて、カメラ本体2000とアクセサリとが行う初期通信処理であるサブプロセスS30400の流れを説明する図である。当該初期通信では、カメラ制御部20500がアクセサリの認証情報を取得する。アクセサリの認証情報については後述する。
<Initial communication processing by the second communication between the camera and the intermediate accessory (FIG. 15)>
FIG. 15 is a diagram illustrating a flow of a sub-process S30400 that is an initial communication process performed by the camera body 2000 and the accessory in the camera system of the fifth embodiment. In the initial communication, the camera control unit 20500 acquires the authentication information of the accessory. The authentication information of the accessory will be described later.

S50100にてサブプロセスが開始されるとS50200に遷移する。 When the sub process is started in S50100, the process proceeds to S50200.

S50200に遷移すると、カメラ制御部20500は中間アクセサリ制御部30900に対して、第2通信にてアクセサリの認証情報要求(第2の送信要求に対応する)を送信する。 Upon transitioning to S50200, the camera control unit 20500 transmits an accessory authentication information request (corresponding to the second transmission request) to the intermediate accessory control unit 30900 in the second communication.

ここで、本実施例のアクセサリの認証情報要求について、図19(c)を用いて説明する。アクセサリの認証情報要求は、アクセサリがカメラ制御部20500に対して、アクセサリ認証情報を送信することを要求する情報である。本実施例で、アクセサリ認証情報には、アクセサリの識別情報と、動作状態情報と、補正処理要否情報と、終端情報とが含まれる。 Here, the request for the authentication information of the accessory of this embodiment will be described with reference to FIG. The accessory authentication information request is information for the accessory to request the camera control unit 20500 to transmit the accessory authentication information. In the present embodiment, the accessory authentication information includes accessory identification information, operating state information, correction processing necessity information, and termination information.

S50300にて中間アクセサリ制御部30900がアクセサリ認証情報要求を受信すると、S50600に遷移する。 When the intermediate accessory control unit 30900 receives the accessory authentication information request in S50300, the process proceeds to S50600.

S50600では、中間アクセサリ制御部30900は、第2通信にて中間アクセサリ3000の認証情報をカメラ制御部20500に送信する。 In S50600, the intermediate accessory control unit 30900 transmits the authentication information of the intermediate accessory 3000 to the camera control unit 20500 by the second communication.

ここで、中間アクセサリがカメラ制御部20500に送信する認証情報について、図19(d)を用いて説明する。当該認証情報には、識別情報(第3の情報の一例である)と、動作状態情報と、補正処理要否情報と、終端情報とが含まれる。 Here, the authentication information transmitted by the intermediate accessory to the camera control unit 20500 will be described with reference to FIG. The authentication information includes identification information (which is an example of third information), operation state information, correction processing necessity information, and termination information.

補正処理要否情報は、当該中間アクセサリが光学特性を変化させるものであれば、「要」を示す情報である。光学特性を変化させるものでなければ、「否」を示す情報である。 The correction processing necessity information is information indicating "necessary" if the intermediate accessory changes the optical characteristics. If the optical characteristics are not changed, the information indicates "no".

本実施例で、終端情報とは、カメラ本体2000からみて第2通信の終端であるか否かを示す情報である。当該中間アダプタがカメラ本体2000からみて第2通信の終端であれば、終端情報は「終端である」ことを示す情報である。カメラ本体2000からみて第2通信の終端でなければ、終端情報は「終端ではない」ことを示す情報である。 In the present embodiment, the termination information is information indicating whether or not it is the termination of the second communication as seen from the camera body 2000. If the intermediate adapter is the end of the second communication as seen from the camera body 2000, the end information is information indicating “it is the end”. If it is not the end of the second communication as viewed from the camera body 2000, the end information is information indicating “not the end”.

第2通信のような一対多の通信においては、例えばアクセサリの識別情報を通信データの先頭に追加するなどして送信先を指定することができる。しかしながら、S50200の段階ではカメラ制御部20500はアクセサリの情報を一切有していないため、通信データによる送信先の指定ができない。 In the one-to-many communication such as the second communication, the transmission destination can be designated by, for example, adding the identification information of the accessory to the beginning of the communication data. However, since the camera control unit 20500 does not have any accessory information at the stage of S50200, the destination of the transmission cannot be specified by the communication data.

そこで、本サブプロセスにおいてカメラ本体2000が複数のアクセサリと順次通信していく手段の一例として、次のように第2通信接続スイッチ31100と第2通信接続スイッチ41100とを利用する方法が挙げられる。定常状態において第2通信接続スイッチ31100及び第2通信接続スイッチ41100は短絡しているとする。 Therefore, as an example of means for the camera body 2000 to sequentially communicate with a plurality of accessories in this sub-process, there is a method of using the second communication connection switch 31100 and the second communication connection switch 41100 as follows. It is assumed that the second communication connection switch 31100 and the second communication connection switch 41100 are short-circuited in the steady state.

S50100においてカメラ制御部20500が第2通信にて本サブプロセス開始情報を送信する。第2通信接続スイッチ31100及び第2通信接続スイッチ41100が短絡されているので、各アクセサリは本サブプロセス開始情報を受信する。本サブプロセス開始情報を受信した各中間アクセサリは、自身の第2通信接続スイッチを開放する。これにより、中間アクセサリ制御部30900だけがカメラ制御部20500と接続されている状態になり、カメラ制御部20500が送信するデータを受信することができる。受信したデータに対する処理が終了した中間アクセサリ制御部30900が第2通信接続スイッチ31100を短絡することで、中間アクセサリ制御部40900はカメラ制御部20500が送信するデータを受信することができる。第2通信接続スイッチを短絡した中間アクセサリ3000は、本サブプロセスが終了するS52200においてカメラ制御部20500が送信する本サブプロセス終了情報を受信するまで、カメラ制御部20500の送信情報に応答しない。 In S50100, the camera control unit 20500 transmits this sub-process start information by the second communication. Since the second communication connection switch 31100 and the second communication connection switch 41100 are short-circuited, each accessory receives this sub-process start information. Each intermediate accessory that has received this sub-process start information opens its second communication connection switch. As a result, only the intermediate accessory control unit 30900 is connected to the camera control unit 20500, and the data transmitted by the camera control unit 20500 can be received. The intermediate accessory control unit 40900 can receive the data transmitted by the camera control unit 20500 by causing the intermediate accessory control unit 30900 that has completed the processing on the received data to short-circuit the second communication connection switch 31100. The intermediate accessory 3000 having the second communication connection switch short-circuited does not respond to the transmission information of the camera control unit 20500 until it receives the sub-process end information transmitted by the camera control unit 20500 in S52200 when the sub-process ends.

尚、本実施例では、中間アクセサリ3000がセーフモードで動作している場合であっても、カメラ本体2000及び中間アクセサリ3000は本サブプロセスを終了せず、中間アクセサリ3000を介して接続されているアクセサリとの初期通信を行う。しかしながら、セーフモードで動作しているアクセサリが装着されている場合は、そのアクセサリを介して装着されているアクセサリとの初期通信を行わなくてもよい。例えば、中間アクセサリ3000の動作状態がセーフモードであったとき、受信したデータに対する処理が終了しても中間アクセサリ制御部30900が第2通信接続スイッチ31100を短絡させない。そして、カメラ制御部20500に終端情報を「終端である」として認証情報を送信することで、直ちに本サブプロセスを終了させてもよい。 In the present embodiment, even if the intermediate accessory 3000 is operating in the safe mode, the camera body 2000 and the intermediate accessory 3000 do not end this sub-process, and the accessory connected via the intermediate accessory 3000. Make initial communication with. However, when the accessory operating in the safe mode is attached, the initial communication with the accessory attached via the accessory may not be performed. For example, when the operation state of the intermediate accessory 3000 is the safe mode, the intermediate accessory control unit 30900 does not short-circuit the second communication connection switch 31100 even if the processing on the received data is completed. Then, this sub-process may be immediately terminated by transmitting the authentication information to the camera control unit 20500 with the termination information as “termination”.

中間アクセサリ4000も同様の挙動を取ることで、カメラ制御部20500は複数のアクセサリと順次通信していくことが可能となる。 By taking the same behavior for the intermediate accessory 4000, the camera control unit 20500 can sequentially communicate with a plurality of accessories.

S50400およびS50500において、第2通信接続スイッチ31100が開放されているため、中間アクセサリ4000およびレンズ制御部11300はS50200においてカメラ制御部20500から送信された情報送信要求を受信しない。 In S50400 and S50500, since the second communication connection switch 31100 is opened, the intermediate accessory 4000 and the lens controller 11300 do not receive the information transmission request transmitted from the camera controller 20500 in S50200.

S50600において、中間アクセサリ制御部30900は、第2通信にて中間アクセサリ3000の認証情報をカメラ制御部20500に送信する。そして、第2通信接続スイッチ31100を短絡させる。これにより、中間アクセサリ制御部40900は、カメラ制御部20500が送信するデータを受信することができる。 In S50600, the intermediate accessory control unit 30900 transmits the authentication information of the intermediate accessory 3000 to the camera control unit 20500 by the second communication. Then, the second communication connection switch 31100 is short-circuited. Accordingly, the intermediate accessory control unit 40900 can receive the data transmitted by the camera control unit 20500.

S50700にてカメラ制御部20500が中間アクセサリ3000の認証情報を受信すると、S50800に遷移する。そして、受信した認証情報を記憶する。 When the camera control unit 20500 receives the authentication information of the intermediate accessory 3000 in S50700, the process proceeds to S50800. Then, the received authentication information is stored.

以上、S50200〜S50800により中間アクセサリ3000の認証情報を取得すると、S50900に遷移する。S50900、S51100、S51300〜S51500ではS50200、S50300、S50600〜S50800と同様に、カメラ制御部20500は中間アクセサリ4000の認証情報を取得する。 As described above, when the authentication information of the intermediate accessory 3000 is acquired in S50200 to S50800, the process proceeds to S50900. In S50900, S51100, and S51300 to S51500, the camera control unit 20500 acquires the authentication information of the intermediate accessory 4000 as in S50200, S50300, and S50600 to S50800.

S51000では、中間アクセサリ制御部30900は、カメラ制御部20500が送信した認証情報要求を受信するが、本サブプロセス終了情報を受信していないため、応答しない。 In S51000, the intermediate accessory control unit 30900 receives the authentication information request transmitted by the camera control unit 20500, but does not respond because it has not received this sub-process end information.

S51200では、S50400およびS50500と同様に、第2通信接続スイッチ41100が開放されているため、レンズ制御部11300は、S50900においてカメラ制御部20500から送信された情報送信要求を受信しない。 In S51200, as in S50400 and S50500, the second communication connection switch 41100 is opened, so the lens control unit 11300 does not receive the information transmission request transmitted from the camera control unit 20500 in S50900.

実施例5は交換レンズ1つと中間アクセサリ2つの計3つのアクセサリを接続した例であるが、中間アクセサリは1つだけしか接続しなくてもよいし、3つ以上接続してもよい。中間アクセサリをいくつ装着してもよいため、アクセサリの情報取得処理はアクセサリの終端情報を取得することにより終了することが好ましい。 Example 5 is an example in which one interchangeable lens and two intermediate accessories are connected in total, but only one intermediate accessory may be connected or three or more intermediate accessories may be connected. Since any number of intermediate accessories may be attached, it is preferable that the accessory information acquisition process be ended by acquiring the accessory end information.

アクセサリの終端情報は、別の方法によって取得しても良い。例えば、S50200およびS50900と同様に、中間アクセサリが装着されていることを想定してカメラ制御部20500が認証情報要求を送信した際に、レンズ第2通信部11500から返される終端情報により交換レンズであることを通知されてもよい。また、中間アクセサリ4000が、不図示の端子の接続状態などにより自身が終端であることを検知してS51300にてカメラ本体2000に通知してもよい。本実施例では、カメラ制御部20500からの認証情報要求へレンズ制御部11300が終端情報を含む認証情報を返答することにより、終端情報が通知される場合について記述する。 The accessory termination information may be obtained by another method. For example, similarly to S50200 and S50900, when the camera control unit 20500 transmits the authentication information request assuming that the intermediate accessory is attached, the interchangeable lens is obtained by the termination information returned from the lens second communication unit 11500. You may be notified that there is. Further, the intermediate accessory 4000 may detect that it is the terminal by the connection state of a terminal (not shown) or the like, and notify the camera body 2000 in S51300. In the present embodiment, a case will be described in which the lens control unit 11300 responds to the authentication information request from the camera control unit 20500 with the authentication information including the termination information to notify the termination information.

S51600においてS50200およびS50900と同様にカメラ本体20が第2通信にて認証情報要求(第2の送信要求に対応する)を送信する。S51700およびS51800では、中間アクセサリ3000および中間アクセサリ4000は、S51000と同様に、本サブプロセス終了情報を受信していないため、応答しない。 In S51600, the camera body 20 transmits an authentication information request (corresponding to the second transmission request) in the second communication, as in S50200 and S50900. In S51700 and S51800, the intermediate accessory 3000 and the intermediate accessory 4000 do not respond because they have not received this sub-process end information as in S51000.

S51900においてレンズ制御部11300が認証情報要求を受信すると、S52000に遷移し、第2通信にて認証情報をカメラ制御部20500に送信する。 When the lens control unit 11300 receives the authentication information request in S51900, the process proceeds to S52000, and the authentication information is transmitted to the camera control unit 20500 by the second communication.

ここで、レンズ制御部113がカメラ制御部20500に送信する認証情報について、図19(e)を用いて説明する。当該認証情報には、識別情報(第2の情報の一例である)と、動作状態情報と、補正処理要否情報と、終端情報とが含まれる。 Here, the authentication information transmitted from the lens control unit 113 to the camera control unit 20500 will be described with reference to FIG. The authentication information includes identification information (which is an example of second information), operation state information, correction processing necessity information, and termination information.

交換レンズ1000は中間アクセサリではないため、その装着によって交換レンズ1000の光学情報の補正は必要とならない。したがって、補正処理要否情報は、補正処理が不要であることを示す情報である。 Since the interchangeable lens 1000 is not an intermediate accessory, it is not necessary to correct the optical information of the interchangeable lens 1000 by mounting it. Therefore, the correction process necessity information is information indicating that the correction process is unnecessary.

また、本実施例の交換レンズ1000はカメラ本体2000からみて第2通信の終端であるため、終端情報は、交換レンズ1000が第2通信の終端であることを示す情報である。 Further, since the interchangeable lens 1000 of the present embodiment is the end of the second communication when viewed from the camera body 2000, the termination information is information indicating that the interchangeable lens 1000 is the end of the second communication.

S52100によりカメラ制御部20500が認証情報を取得すると、S52200に遷移し、一連の初期通信処理が終了する。 When the camera control unit 20500 acquires the authentication information in step S52100, the process advances to step S52200, and the series of initial communication processes ends.

なお、通信処理の短縮のため、本実施例のように補正処理要否情報を取得するのが好ましいが、補正情報要否情報をやり取りしない場合には、全ての中間アクセサリにおいて補正処理が必要であると判断する。 In order to shorten the communication process, it is preferable to acquire the correction process necessity information as in the present embodiment, but if the correction information necessity information is not exchanged, the correction process is necessary for all the intermediate accessories. Judge that there is.

S52200を以て、サブプロセスS30400は終了する。 After S52200, the sub-process S30400 ends.

本実施例では、本実施例では、第2通信接続スイッチを利用して、複数のアクセサリと順次通信していく手段を用いた処理について説明した。ただし、複数のアクセサリと通信することができれば別の手段であっても良い。例えば、アクセサリが自身に接続されている不図示の端子の電圧レベルを検知することで、カメラ本体側から何番目に装着されているかを把握することもできる。その場合、カメラから送信される情報送信要求の回数をカウントして自身の装着順と一致した時だけ情報をカメラ本体に送信する。 In this embodiment, the processing using the means for sequentially communicating with a plurality of accessories using the second communication connection switch has been described in this embodiment. However, another means may be used as long as it can communicate with a plurality of accessories. For example, by detecting the voltage level of a terminal (not shown) connected to the accessory itself, it is possible to know the order of attachment from the camera body side. In that case, the number of information transmission requests transmitted from the camera is counted, and the information is transmitted to the camera body only when it matches the mounting order of itself.

<第1のアクセサリを決定するサブプロセスS30700(図16)>
実施例5において、通信によりカメラ本体2000が補正に関わるアクセサリのうち第1のアクセサリを探索するサブプロセスS30700の流れについて図16を用いて説明する。
<Sub-process S30700 (FIG. 16) for determining the first accessory>
In the fifth embodiment, the flow of the sub-process S30700 in which the camera body 2000 searches for the first accessory among the accessories related to the correction by communication will be described with reference to FIG.

図16は、実施例5のカメラシステムにおいて、カメラ制御部20500が光学補正に関わるアクセサリのうち第1のアクセサリを決定するサブプロセスS30700の流れを示している。ここで、カメラ制御部20500は交換レンズ1000、中間アクセサリ3000および中間アクセサリ4000の光学情報を保持していないものとする。また、中間アクセサリ3000および中間アクセサリ4000の補正処理要否情報はどちらも「要」であるとする。 FIG. 16 illustrates a flow of a sub-process S30700 in which the camera control unit 20500 determines the first accessory among the accessories related to the optical correction in the camera system of the fifth embodiment. Here, it is assumed that the camera control unit 20500 does not hold the optical information of the interchangeable lens 1000, the intermediate accessory 3000, and the intermediate accessory 4000. Further, it is assumed that both the correction processing necessity information of the intermediate accessory 3000 and the intermediate accessory 4000 are “necessary”.

S60100にてサブプロセスが開始されるとS60200に遷移する。 When the sub process is started in S60100, the process proceeds to S60200.

S60200に遷移すると、カメラ制御部20500は中間アクセサリ制御部30900に対して、第2通信にて中間アクセサリ40の00識別情報および光学情報有無返答要求を送信し、中間アクセサリ4000の光学情報を保持しているか問い合わせる。送信先の指定方法は、例えば送信データに中間アクセサリの識別情報を通信データの先頭に追加し、アクセサリが通信データの先頭の値を参照することで、自身宛の通信か否かを判断すればよい。 Upon transitioning to S60200, the camera control unit 20500 transmits the 00 identification information of the intermediate accessory 40 and the optical information presence/absence reply request to the intermediate accessory control unit 30900 in the second communication, and holds the optical information of the intermediate accessory 4000. Inquire. The method of designating the destination is, for example, by adding the identification information of the intermediate accessory to the beginning of the communication data in the transmission data and referring to the value at the beginning of the communication data by the accessory to determine whether the communication is addressed to itself. Good.

S60300において中間アクセサリ制御部30900が中間アクセサリ4000の識別情報および光学情報有無返答要求を受信すると、S60400に遷移する。 When the intermediate accessory control unit 30900 receives the identification information of the intermediate accessory 4000 and the optical information presence/absence reply request in S60300, the process proceeds to S60400.

S60400では、中間アクセサリ4000の光学情報を保持しているか否かを第2通信にて中間アクセサリ制御部30900がカメラ制御部20500に送信する。 In S60400, the intermediate accessory control unit 30900 transmits to the camera control unit 20500 by the second communication whether or not the optical information of the intermediate accessory 4000 is held.

S60500にてカメラ制御部20500が中間アクセサリ4000の光学情報の有無を中間アクセサリ3000から受信すると、S60600に遷移する。 When the camera control unit 20500 receives the presence or absence of the optical information of the intermediate accessory 4000 from the intermediate accessory 3000 in S60500, the process proceeds to S60600.

S60600では、他の中間アクセサリの光学情報を有している中間アクセサリ(第1の中間アクセサリとも称する)をカメラ制御部20500が判断する。 In S60600, the camera control unit 20500 determines an intermediate accessory (also referred to as a first intermediate accessory) having optical information of another intermediate accessory.

中間アクセサリ制御部30900が中間アクセサリ4000の光学情報を保持している場合、S60700に遷移し、中間アクセサリ3000が第1の中間アクセサリであるとカメラ制御部20500が判断する。 When the intermediate accessory control unit 30900 holds the optical information of the intermediate accessory 4000, the process proceeds to S60700, and the camera control unit 20500 determines that the intermediate accessory 3000 is the first intermediate accessory.

中間アクセサリ制御部30900が中間アクセサリ4000の光学情報を保持していない場合、S60800に遷移し、中間アクセサリ4000が第1の中間アクセサリであり、中間アクセサリ3000の光学情報を保持しているとカメラ制御部20500が判断する。 When the intermediate accessory control unit 30900 does not hold the optical information of the intermediate accessory 4000, the process proceeds to S60800, and the intermediate accessory 4000 is the first intermediate accessory and the camera control is performed when the optical information of the intermediate accessory 3000 is held. The unit 20500 makes the determination.

中間アクセサリが3つ以上装着された場合であっても、同様に第1の中間アクセサリを決定することが可能である。例えば、アクセサリが3つ装着された場合は、そのうちの2つのアクセサリとの間で、S60200〜S60500同様の処理を行う。第1の中間アクセサリが判明すると、S60900に遷移する。 Even when three or more intermediate accessories are attached, the first intermediate accessory can be determined similarly. For example, when three accessories are attached, the same processing as S60200 to S60500 is performed between the two accessories. When the first intermediate accessory is found, the process proceeds to S60900.

S60900に遷移すると、カメラ制御部20500はレンズ制御部11300に対して、第1通信にてS60700またはS60800で決定した第1の中間アクセサリの識別情報および光学情報(第4の情報)の有無返答要求(第3の指示情報)を送信する。言い換えると、第1の中間アクセサリの光学情報を保持しているか問い合わせる。 Upon transitioning to S60900, the camera control unit 20500 requests the lens control unit 11300 for the presence/absence reply of the identification information and the optical information (fourth information) of the first intermediate accessory determined in S60700 or S60800 in the first communication. (Third instruction information) is transmitted. In other words, ask if it holds the optical information of the first intermediate accessory.

S61000においてレンズ制御部11300が第1の中間アクセサリの識別情報および光学情報有無返答要求を受信すると、S61100に遷移し、第1の中間アクセサリの光学情報を保持しているか否かを第1通信にてカメラ制御部20500に送信する。 When the lens control unit 11300 receives the identification information of the first intermediate accessory and the optical information presence/absence reply request in S61000, the process proceeds to S61100, and it is determined in the first communication whether or not the optical information of the first intermediate accessory is held. And transmits it to the camera control unit 20500.

S61200にてカメラ制御部20500が第1の中間アクセサリの光学情報の有無を交換レンズ1000から受信すると、S61300に遷移し、レンズ制御部11300が第1の中間アクセサリの光学情報を保持しているか否かを判断する。これにより、第1のアクセサリを判断する。 When the camera control unit 20500 receives the presence/absence of the optical information of the first intermediate accessory from the interchangeable lens 1000 in S61200, the process proceeds to S61300, and the lens control unit 11300 holds the optical information of the first intermediate accessory. To judge. This determines the first accessory.

レンズ制御部11300が第1の中間アクセサリの光学情報を保持しているとカメラ制御部20500が判断した場合、S61400に遷移する。S61400では、交換レンズ1000が第1のアクセサリであり、中間アクセサリ3000および中間アクセサリ4000の光学情報を保持していると判断される。レンズ制御部11300が第1の中間アクセサリの光学情報を保持していないとカメラ制御部20500が判断した場合、S61500に遷移する。 When the camera control unit 20500 determines that the lens control unit 11300 holds the optical information of the first intermediate accessory, the process proceeds to S61400. In S61400, it is determined that the interchangeable lens 1000 is the first accessory and holds the optical information of the intermediate accessory 3000 and the intermediate accessory 4000. When the camera control unit 20500 determines that the lens control unit 11300 does not hold the optical information of the first intermediate accessory, the process proceeds to S61500.

S61500では、カメラ制御部20500は、第1の中間アクセサリが第1のアクセサリであると判断する。 In S61500, the camera control unit 20500 determines that the first intermediate accessory is the first accessory.

S61400またはS61500により第1のアクセサリが確定すると、S61600に遷移し、カメラ制御部20500は第1のアクセサリの識別情報及びアクセサリ種を記憶する。第1のアクセサリが記憶されると、S61700に遷移し、サブプロセスS30700は終了する。 When the first accessory is determined in S61400 or S61500, the process proceeds to S61600, and the camera control unit 20500 stores the identification information of the first accessory and the accessory type. When the first accessory is stored, the process moves to S61700 and the sub-process S30700 ends.

<実施例5の効果>
以上説明したように、実施例5では、カメラと交換レンズが通信可能な第1の通信経路と、カメラとアクセサリが通信可能な第2の通信経路を独立して有する。そして、それぞれの通信経路を用いた通信により取得した各ユニットの識別情報及び中間アクセサリ補正処理要否情報に基づいて、交換レンズの光学情報を補正するユニットを決定する。これにより、交換レンズの光学情報を適切に補正しつつ、撮像装置、交換レンズ及び中間アクセサリの各ユニット間で、より意図したタイミングで通信を行うことができる。
<Effect of Example 5>
As described above, the fifth embodiment independently has the first communication path through which the camera and the interchangeable lens can communicate and the second communication path through which the camera and the accessory can communicate. Then, the unit for correcting the optical information of the interchangeable lens is determined based on the identification information of each unit and the intermediate accessory correction processing necessity information acquired by the communication using the respective communication paths. Accordingly, it is possible to appropriately correct the optical information of the interchangeable lens and to perform communication at a more intended timing among the units of the imaging device, the interchangeable lens, and the intermediate accessory.

実施例5では、交換レンズを装着した直後の起動シーケンスにおいて交換レンズの光学情報を中間アクセサリの光学情報に基づいて補正する方法について説明した。実施例6では、アクセサリに備え付けられた操作部材を操作することによりアクセサリの光学系が動的に変化する場合に、交換レンズの光学情報を補正する方法について説明する。 In the fifth embodiment, a method of correcting the optical information of the interchangeable lens based on the optical information of the intermediate accessory in the startup sequence immediately after mounting the interchangeable lens has been described. Example 6 In Example 6, a method of correcting the optical information of the interchangeable lens when the optical system of the accessory dynamically changes by operating the operation member provided in the accessory will be described.

中間アクセサリに備え付けられた操作部材が操作されることによりアクセサリの光学系が動的に変化する例としては、倍率が可変である変倍レンズや、透過率が可変のNDフィルタなどが挙げられる。 Examples of dynamically changing the optical system of the accessory by operating the operation member provided in the intermediate accessory include a variable power lens having a variable magnification and an ND filter having a variable transmittance.

実施例6では、交換レンズを装着して現在の光学系が確定した際に、実施例5で説明した処理が実行される。これにより、カメラ制御部20500は、交換レンズ1000、カメラ本体2000、中間アクセサリ3000および中間アクセサリ4000のうち、全アクセサリの光学情報を保持しているユニットを把握しているものとする。 In the sixth embodiment, the process described in the fifth embodiment is executed when the current optical system is determined by mounting the interchangeable lens. As a result, the camera control unit 20500 recognizes the unit holding the optical information of all the accessories among the interchangeable lens 1000, the camera body 2000, the intermediate accessory 3000, and the intermediate accessory 4000.

また、実施例5のような操作により取得したアクセサリの識別情報により、カメラ制御部20500は動的に光学系が変化しうるアクセサリを認識しているものとする。 Further, it is assumed that the camera control unit 20500 recognizes the accessory whose optical system can dynamically change, based on the accessory identification information acquired by the operation as in the fifth embodiment.

以下、光学情報が動的に変化する、補正処理要否情報が「要」のアクセサリを動的アクセサリと表現する。光学情報が動的に変化しない、補正処理要否情報が「否」の中間アクセサリを、静的中間アクセサリと称する。また、光学情報が動的に変化する交換レンズを動的レンズ、光学情報が動的に変化しない交換レンズを静的レンズと称する。 Hereinafter, an accessory whose optical information dynamically changes and whose correction processing necessity information is “necessary” is referred to as a dynamic accessory. An intermediate accessory whose correction process necessity information is “No” in which the optical information does not change dynamically is referred to as a static intermediate accessory. An interchangeable lens whose optical information changes dynamically is called a dynamic lens, and an interchangeable lens whose optical information does not change dynamically is called a static lens.

なお、本実施例では中間アクセサリ3000と中間アクセサリ4000とがカメラ本体2000と交換レンズ1000との間に装着されている例を説明するが、いずれか一方の中間アクセサリのみが装着されている場合であっても本実施例は適用可能である。 In the present embodiment, an example in which the intermediate accessory 3000 and the intermediate accessory 4000 are mounted between the camera body 2000 and the interchangeable lens 1000 will be described. However, in the case where only one of the intermediate accessories is mounted. However, this embodiment can be applied.

<動的アクセサリの探索処理(図17)>
図17に、実施例5と本実施例の関係を示す。S70100においてカメラシステムが起動すると、S70200に遷移する。
<Dynamic accessory search processing (FIG. 17)>
FIG. 17 shows the relationship between the fifth embodiment and this embodiment. When the camera system is activated in S70100, the process proceeds to S70200.

S70200では、カメラ制御部20500が、図13で説明した処理を実行する。すなわち、例えば初期通信、第1のユニットを決定、交換レンズの光学情報の補正を実行する。当該初期通信において、交換レンズ1000、中間アクセサリ3000、及び4000から、光学系が動的に変化するか否かに対応する情報(動的アクセサリ情報、とも称する)を取得しておく。例えば、光学系が動的に変化するか否かの情報を、図14のS40200や図15のS50200、S50900で識別情報を取得するタイミングでカメラ制御部20500がアクセサリに送信要求を送信し、当該送信要求に応じてアクセサリは動的アクセサリ情報を送信する。認証情報が動的アクセサリ情報に含まれるようにし、カメラ制御部20500がアクセサリに送信した認証情報の送信要求への応答として、動体アクセサリ情報を含む認証情報を取得するようにしても良い。なお、動的アクセサリ情報を別途取得せず、S70200で取得したアクセサリの識別情報から、動的アクセサリであるか否かをカメラ制御部20500が判断してもよい。この場合は、カメラ制御部20500のメモリ(不図示)がアクセサリの識別情報と光学系が動的に変化するか否かの対応関係を示す情報(テーブル等)を有するよう構成しても良い。これにより、アクセサリの識別情報に基づいて動的アクセサリであるか否かをカメラ制御部20500が判断することが可能である。 In S70200, the camera control unit 20500 executes the process described in FIG. That is, for example, the initial communication, the first unit is determined, and the optical information of the interchangeable lens is corrected. In the initial communication, information (also referred to as dynamic accessory information) corresponding to whether or not the optical system dynamically changes is acquired from the interchangeable lens 1000, the intermediate accessory 3000, and 4000. For example, the camera control unit 20500 transmits a transmission request to the accessory at the timing of acquiring the identification information in S40200 of FIG. 14, S50200, and S50900 of FIG. The accessory transmits the dynamic accessory information in response to the transmission request. The authentication information may be included in the dynamic accessory information, and the authentication information including the moving body accessory information may be acquired as a response to the transmission request of the authentication information transmitted to the accessory by the camera control unit 20500. Note that the camera control unit 20500 may determine whether or not it is a dynamic accessory from the accessory identification information acquired in S70200, without separately acquiring the dynamic accessory information. In this case, the memory (not shown) of the camera control unit 20500 may be configured to have the identification information of the accessory and the information (table or the like) indicating the correspondence relationship of whether or not the optical system dynamically changes. Thereby, the camera control unit 20500 can determine whether or not the accessory is a dynamic accessory based on the identification information of the accessory.

サブプロセスS70200が終了すると、S70300に遷移する。 When the sub process S70200 ends, the process moves to S70300.

S70300では、カメラ制御部20500は、前述の動的アクセサリ情報に基づいて、動的アクセサリが装着されているか否かを判定する。より具体的には、動的アクセサリ情報として光学系が動的に変化することを示す情報をいずれかのアクセサリから取得した場合には、動的アクセサリが装着されているとカメラ制御部20500は判断する。また、動的アクセサリ情報として光学系が動的に変化することを示す情報を取得しなかった場合には、動的アクセサリが装着されていないとカメラ制御部20500は判断する。動的アクセサリが装着されていればS70400に遷移する。 In S70300, the camera control unit 20500 determines whether or not the dynamic accessory is attached based on the dynamic accessory information described above. More specifically, when the information indicating that the optical system dynamically changes as the dynamic accessory information is acquired from any of the accessories, the camera control unit 20500 determines that the dynamic accessory is attached. To do. Further, when the information indicating that the optical system dynamically changes is not acquired as the dynamic accessory information, the camera control unit 20500 determines that the dynamic accessory is not mounted. If the dynamic accessory is attached, the process proceeds to S70400.

S704で00は、カメラ制御部20500は、動的アクセサリの光学情報の変化に基づいて交換レンズの光学情報を補正するサブプロセスを実行する。動的アクセサリが装着されていない場合や動的アクセサリが操作されない場合は、交換レンズの光学情報を補正する必要はないので、S70500に遷移し、交換レンズの光学補正処理は終了する。 In S704, 00, the camera control unit 20500 executes a sub-process of correcting the optical information of the interchangeable lens based on the change of the optical information of the dynamic accessory. When the dynamic accessory is not attached or when the dynamic accessory is not operated, there is no need to correct the optical information of the interchangeable lens, and therefore the process proceeds to S70500, and the optical correction process for the interchangeable lens ends.

<動的アクセサリの操作に応じた光学情報の補正処理(図18)>
以下、図18を用いて、本発明の実施例6である動的アクセサリの操作に応じた光学情報の変化に基づいて交換レンズの光学情報を補正するサブプロセスS70400を説明する。
<Optical information correction processing according to operation of dynamic accessory (FIG. 18)>
Hereinafter, with reference to FIG. 18, a sub-process S70400 for correcting the optical information of the interchangeable lens based on the change of the optical information according to the operation of the dynamic accessory, which is Embodiment 6 of the present invention, will be described.

図18に示すサブプロセスにおいては、中間アクセサリ3000が動的アクセサリ、交換レンズ1000が第1のユニットかつ静的レンズであり、中間アクセサリ4000は静的中間アクセサリであるものとする。すなわち、図17のS70200においてカメラ制御部20500およびレンズ制御部11300がそのように認識したものとする。 In the sub-process shown in FIG. 18, it is assumed that the intermediate accessory 3000 is a dynamic accessory, the interchangeable lens 1000 is a first unit and a static lens, and the intermediate accessory 4000 is a static intermediate accessory. That is, it is assumed that the camera control unit 20500 and the lens control unit 11300 recognize that way in S70200 of FIG.

S80100にてシーケンスが開始すると、S80200に遷移する。 When the sequence starts in S80100, the process proceeds to S80200.

S80200において、カメラ制御部20500は光学データ識別情報送信要求を第2通信にて動的アクセサリである中間アクセサリ3000の中間アクセサリ制御部30900に送信する。 In S80200, the camera control unit 20500 transmits an optical data identification information transmission request to the intermediate accessory control unit 30900 of the intermediate accessory 3000 that is a dynamic accessory by the second communication.

S80300にて中間アクセサリ制御部30900が光学データ識別情報送信要求を受信すると、S80400に遷移し、第2通信にてカメラ制御部20500に光学データ識別情報を送信する。 When the intermediate accessory control unit 30900 receives the optical data identification information transmission request in S80300, the process proceeds to S80400, and the optical data identification information is transmitted to the camera control unit 20500 in the second communication.

なお、動的アクセサリの光学データ識別情報は、交換レンズ1000の光学情報の補正のパラメータに関する情報であり、本実施例では例えば現在の光学情報であるとする。例えば、中間アクセサリが変倍レンズを有する場合は、現在の倍率の情報である。また、例えば、中間アクセサリがNDフィルタを有する場合は、現在の光路長を補正するための情報である。なお、光学データ識別情報は、第1のユニットが動的アクセサリの光学的な状態を認識できるものであれば、他の情報であってもよい。その他、種類(機種)の識別に用いられる機種ナンバー(ID)等の情報に複数とりうる状態の情報を付与したものであってもよいし、動的に変化する光学データを示す光学データ識別情報であってもよい。また、アクセサリが有する機能を示す情報や同一機種の中での個体を識別可能な製造ナンバー(シリアルナンバー)等の情報を含んでいてもよい。 It should be noted that the optical data identification information of the dynamic accessory is information regarding a parameter for correcting the optical information of the interchangeable lens 1000, and is assumed to be, for example, current optical information in the present embodiment. For example, when the intermediate accessory has a variable power lens, it is information on the current magnification. Further, for example, when the intermediate accessory has an ND filter, it is information for correcting the current optical path length. The optical data identification information may be other information as long as the first unit can recognize the optical state of the dynamic accessory. In addition, information such as a model number (ID) used for identifying the type (model) may be added with information on a plurality of possible states, or optical data identification information indicating dynamically changing optical data. May be Further, it may include information indicating the function of the accessory and information such as a manufacturing number (serial number) capable of identifying an individual in the same model.

S80500においてカメラ制御部20500が光学データ識別情報を受信すると、S80600に遷移する。 When the camera control unit 20500 receives the optical data identification information in S80500, the process proceeds to S80600.

S80600では、カメラ制御部20500は、当該光学データ識別情報に基づいて中間アクセサリ3000の光学情報が変化したかを判断する。例えば、S70200の初期通信で受信した中間アクセサリ3000の光学情報と、S80500において受信した光学データ識別情報とを比較する。光学情報が変化していない場合は、S80200に戻り、カメラ制御部20500が所定時間経過後に光学データ識別情報送信要求を再送信する。 In S80600, the camera control unit 20500 determines whether the optical information of the intermediate accessory 3000 has changed based on the optical data identification information. For example, the optical information of the intermediate accessory 3000 received in the initial communication of S70200 is compared with the optical data identification information received in S80500. If the optical information has not changed, the process returns to S80200, and the camera control unit 20500 retransmits the optical data identification information transmission request after a lapse of a predetermined time.

S80600において中間アクセサリ3000の光学情報が変化したとカメラ制御部20500が判断した場合は、S80700に遷移し、光学レンズの光学情報の補正を行うための処理に移行する。 When the camera control unit 20500 determines in S80600 that the optical information of the intermediate accessory 3000 has changed, the process proceeds to S80700 and shifts to a process for correcting the optical information of the optical lens.

なお、動的アクセサリの光学情報の変化をカメラ制御部20500が認識する手段としては、S80200、80300、80400、80500、S80600のように、ポーリングにより一定周期で動的アクセサリと通信を行うことで光学情報の変化の有無を受信してもよい。 As a means for the camera control unit 20500 to recognize the change in the optical information of the dynamic accessory, as shown in S80200, 80300, 80400, 80500, and S80600, the optical accessory is communicated with the dynamic accessory at a constant cycle by polling. Whether or not information has changed may be received.

また、動的アクセサリの光学情報が変化した際に動的アクセサリから割り込み信号を受信してもよい。例えば、動的アクセサリである中間アクセサリ3000が、当該中間アクセサリ3000の光学情報を変化させる操作部材を有するとする。この場合に、当該操作部材が操作されたことを検出して、後述の中間アクセサリ制御部30900からカメラ制御部20500に割り込み信号を送信するようにしても良い。また、カメラ制御部20500が中間アクセサリ制御部309から割り込み信号を受信し、S80600で光学データ識別情報が変化したと判断してから、前述のS80200、S80300、S80400、S80500を実行するようにしても良い。 Also, an interrupt signal may be received from the dynamic accessory when the optical information of the dynamic accessory changes. For example, it is assumed that the intermediate accessory 3000 that is a dynamic accessory has an operation member that changes the optical information of the intermediate accessory 3000. In this case, it may be possible to detect that the operation member is operated and transmit an interrupt signal from the intermediate accessory control unit 30900, which will be described later, to the camera control unit 20500. Further, even if the camera control unit 20500 receives the interrupt signal from the intermediate accessory control unit 309 and determines in S80600 that the optical data identification information has changed, the above-described S80200, S80300, S80400, and S80500 may be executed. good.

また、S80200、S80300、S80400、S80500、のように変化が反映された光学データ識別情報をやり取りしてもよい。また、光学データ識別情報の変化のみをカメラ制御部20500に通知して、カメラ制御部20500が現在の光学データ識別情報を算出し、やり取りを開始してもよい。 Further, the optical data identification information in which the change is reflected may be exchanged as in S80200, S80300, S80400, and S80500. Further, only the change of the optical data identification information may be notified to the camera control unit 20500, and the camera control unit 20500 may calculate the current optical data identification information and start the exchange.

S80700に遷移すると、カメラ制御部20500は、第1通信により中間アクセサリ3000の光学データ識別情報と交換レンズ1000の光学情報の補正依頼(光学補正依頼とも称する)とを第1のユニットである交換レンズの1000のレンズ制御部11300に送信する。 When the process proceeds to S80700, the camera control unit 20500 uses the first communication to transmit the optical data identification information of the intermediate accessory 3000 and the correction request for the optical information of the interchangeable lens 1000 (also referred to as an optical correction request) through the first communication. 1000 lens control unit 11300.

S80800において、レンズ制御部11300は、中間アクセサリ3000の光学データ識別情報と光学補正依頼を受信すると、S80900に遷移する。 Upon receiving the optical data identification information of the intermediate accessory 3000 and the optical correction request in S80800, the lens control unit 11300 transitions to S80900.

S80900では、レンズ制御部11300は、中間アクセサリ3000の光学データ識別情報により現在の中間アクセサリ3000の光学情報をレンズ制御部11300内のテーブルより取得し、S80900に遷移する。 In S80900, the lens control unit 11300 acquires the current optical information of the intermediate accessory 3000 from the table in the lens control unit 11300 based on the optical data identification information of the intermediate accessory 3000, and transitions to S80900.

S81000では、サブプロセスS70200において取得していた静的中間アクセサリである中間アクセサリ4000の光学情報と中間アクセサリ3000の光学情報に基づき、交換レンズ1000の光学情報を補正する。 In S81000, the optical information of the interchangeable lens 1000 is corrected based on the optical information of the intermediate accessory 4000 which is the static intermediate accessory acquired in the sub-process S70200 and the optical information of the intermediate accessory 3000.

補正が完了すると、S81100において、レンズ制御部11300は補正した交換レンズ1000の光学情報をカメラ制御部20500に第1通信にて送信する。 When the correction is completed, in S81100, the lens control unit 11300 transmits the corrected optical information of the interchangeable lens 1000 to the camera control unit 20500 in the first communication.

S81200においてカメラ制御部20500が補正した交換レンズの光学情報を受信すると、S81300に遷移し、光学情報をカメラ制御部20500に記憶する。 When the optical information of the interchangeable lens corrected by the camera control unit 20500 is received in S81200, the process proceeds to S81300 and the optical information is stored in the camera control unit 20500.

S81300が終了すると、S80200に戻り、再び動的アクセサリの光学情報の変化を監視する。 When S81300 ends, the process returns to S80200 to monitor the change in the optical information of the dynamic accessory again.

本実施例では中間アクセサリのうち一つが動的アクセサリであり、光学レンズ1000が第1のユニットである場合について記述した。その他、動的アクセサリが複数あった場合や第1のユニットが交換レンズ以外のユニットであった場合であっても、同様に補正処理を行うことができる。 In this embodiment, one of the intermediate accessories is a dynamic accessory, and the optical lens 1000 is the first unit. In addition, even when there are a plurality of dynamic accessories or when the first unit is a unit other than the interchangeable lens, the correction process can be similarly performed.

また、第1のユニットのみが動的アクセサリであった場合、第1のユニットがそのことを認識していれば、自身の光学情報が変化したことを認識した段階で光学補正を行い、光学補正後の交換レンズ1000の光学データをカメラ本体2000に送信してもよい。 Further, when only the first unit is a dynamic accessory, if the first unit recognizes that, the optical correction is performed at the stage when it recognizes that the optical information of itself changes. The optical data of the interchangeable lens 1000 later may be transmitted to the camera body 2000.

交換レンズ1000の光学情報の補正処理は、S80500で取得した動的アクセサリの光学情報のみではなく、S81000の中間アクセサリ4000の光学情報のように、静的中間アクセサリの光学情報も考慮して行われる。静的中間アクセサリが装着されている場合、静的中間アクセサリの光学情報により予め補正しておいて、光学情報が動的に変化した場合に動的アクセサリの光学情報により最終的な補正処理を行ってもよい。 The correction process of the optical information of the interchangeable lens 1000 is performed in consideration of not only the optical information of the dynamic accessory acquired in S80500 but also the optical information of the static intermediate accessory like the optical information of the intermediate accessory 4000 in S81000. .. When the static intermediate accessory is attached, it is corrected in advance with the optical information of the static intermediate accessory, and when the optical information changes dynamically, the final correction processing is performed with the optical information of the dynamic accessory. May be.

<実施例6の効果>
以上説明したように、実施例6では、中間アクセサリ3000の光学情報の変化をカメラ制御部20500が検出する。そしてカメラ本体2000が光学情報の変化に関する情報と交換レンズ1000の光学情報の補正依頼とをレンズ制御部11300に送信する。そして、レンズ制御部11300が交換レンズ1000の光学情報を補正し、カメラ制御部20500に送信する。
<Effect of Example 6>
As described above, in the sixth embodiment, the camera control unit 20500 detects the change in the optical information of the intermediate accessory 3000. Then, the camera body 2000 transmits information regarding changes in optical information and a request for correcting optical information of the interchangeable lens 1000 to the lens controller 11300. Then, the lens control unit 11300 corrects the optical information of the interchangeable lens 1000 and sends it to the camera control unit 20500.

これにより、アクセサリの光学情報が動的に変化する場合であっても、交換レンズの光学情報を適切に補正することができる。 Thereby, even when the optical information of the accessory dynamically changes, the optical information of the interchangeable lens can be appropriately corrected.

本実施例では、中間アクセサリ識別情報としてアクセサリ固有の光学データを示す光学データ識別情報を用いる場合に着目して説明する。 In the present embodiment, description will be made focusing on a case where optical data identification information indicating optical data unique to an accessory is used as the intermediate accessory identification information.

中間アクセサリ識別情報が機種ナンバー(ID)など製品固有の情報は、新製品のアクセサリが既知のアクセサリと同様の光学系を持つ場合、もしくは既知のアクセサリと同様の補正方法で補正可能なアクセサリであっても、新たな機種ナンバーが割り振られる。そのため、交換レンズの光学情報の補正の要否を機種ナンバー(ID)などで判断した場合には、その機種ナンバー(ID)が未知の場合は、そのアクセサリの光学特性を考慮してレンズの光学情報を補正することができなかった。 The product-specific information such as the intermediate accessory identification information such as the model number (ID) is an accessory that can be corrected when the accessory of the new product has the same optical system as the known accessory, or by the same correction method as the known accessory. However, a new model number is assigned. Therefore, if the necessity of correcting the optical information of the interchangeable lens is determined based on the model number (ID) or the like, and if the model number (ID) is unknown, the optical characteristics of the lens are considered in consideration of the optical characteristics of the accessory. The information could not be corrected.

そこで、本実施例では、中間アクセサリ識別情報として光学データ識別情報を用いる。本実施例では、中間アクセサリ識別情報が補正方法に紐づけられている。より具体的には、補正の方法に関する情報と補正のパラメータに関する情報とを組み合わせたものを光学データ識別情報とする。このような光学データ識別情報を以下、補正識別情報と呼ぶ。本実施例の補正の方法に関する情報は、中間アクセサリの光学部材に対応する情報であり、補正のパラメータに関する情報は、当該光学部材の光学特性による中間アクセサリの光学情報に対応する情報である。中間アクセサリが変倍レンズを有する変倍アダプタである場合を例に挙げると、補正の方法に関する情報は変倍レンズを示す情報であり、補正のパラメータに関する情報は変倍レンズの倍率情報である。 Therefore, in this embodiment, the optical data identification information is used as the intermediate accessory identification information. In this embodiment, the intermediate accessory identification information is associated with the correction method. More specifically, a combination of the information about the correction method and the information about the correction parameter is used as the optical data identification information. Hereinafter, such optical data identification information is referred to as correction identification information. The information regarding the correction method of the present embodiment is information corresponding to the optical member of the intermediate accessory, and the information regarding the correction parameter is information corresponding to the optical information of the intermediate accessory according to the optical characteristics of the optical member. Taking a case where the intermediate accessory is a variable power adapter having a variable power lens as an example, the information regarding the correction method is information indicating the variable power lens, and the information regarding the correction parameter is magnification information of the variable power lens.

レンズ制御部11300は、補正の方法に関する情報と補正パラメータに関する情報とを紐づけて記憶するように構成しても良い。光学情報の補正に他の情報が必要であれば、その情報も補正の方法に関する情報と補正パラメータに関する情報とに紐づけて記憶するようにしても良い。 The lens controller 11300 may be configured to store the information about the correction method and the information about the correction parameter in association with each other. If other information is required to correct the optical information, that information may also be stored in association with the information regarding the correction method and the information regarding the correction parameter.

このように、補正の方法に関する情報と補正のパラメータに関する情報とを、カメラ制御部20500を介してレンズ制御部11300に送信する。これにより、新たに補正のパラメータに関する情報が異なる中間アクセサリを考慮した補正が必要になっても、補正パラメータである倍率情報を設定しなおすことで、既存のユニット(本実施例では交換レンズ1000)による補正が可能となる。 As described above, the information about the correction method and the information about the correction parameter are transmitted to the lens controller 11300 via the camera controller 20500. As a result, even if it becomes necessary to perform correction in consideration of an intermediate accessory that newly has different information regarding correction parameters, the existing unit (interchangeable lens 1000 in this embodiment) can be set by resetting magnification information that is a correction parameter. Can be corrected by

このように、光学データ識別情報を用いることで、そのアクセサリの光学特性を考慮して交換レンズの光学情報を補正することができる。例えば、既存の製品と同様の光学系を持つ場合、もしくは既存の製品と同様の方法で補正可能なアクセサリであった場合に、その機種ナンバー(ID)が未知であっても、交換レンズの光学情報を補正することができる。 In this way, by using the optical data identification information, the optical information of the interchangeable lens can be corrected in consideration of the optical characteristics of the accessory. For example, if the accessory has an optical system similar to that of an existing product, or if it is an accessory that can be corrected by the same method as that of an existing product, even if its model number (ID) is unknown, The information can be corrected.

なお、補正識別情報を用いる場合、補正アルゴリズムを各ユニットで記憶することは効率的ではないので、補正を実施するユニットを予め決定する方が好ましい。本実施例では、補正を実施するユニットが交換レンズと予め決定されている場合を説明する。また、補正識別情報を用いた場合の交換レンズの補正方法について説明する。実施例5および6のように第1のユニットで補正を行う場合においても同様に補正識別情報を用いることができる。 When the correction identification information is used, it is not efficient to store the correction algorithm in each unit, so it is preferable to predetermine the unit to be corrected. In the present embodiment, a case will be described in which the unit for performing correction is predetermined as an interchangeable lens. A method of correcting the interchangeable lens when using the correction identification information will be described. The correction identification information can be used similarly when the correction is performed by the first unit as in the fifth and sixth embodiments.

<実施例7における、補正された光学情報の取得処理(図20)>
図20は、各アクセサリを装着して初めて電源を供給した際に、カメラ本体2000が各アクセサリから補正情報を取得し、それを交換レンズ1000に送信して補正を依頼し、補正された交換レンズ1000の光学情報を取得する処理の流れを示している。
<Process for Obtaining Corrected Optical Information in Example 7 (FIG. 20)>
FIG. 20 shows that when the accessory is mounted and power is supplied for the first time, the camera body 2000 acquires the correction information from each accessory, sends it to the interchangeable lens 1000 to request the correction, and the corrected interchangeable lens. The flow of processing which acquires 1000 optical information is shown.

S100100にてカメラ本体2000が起動すると、S100200に遷移する。 When the camera body 2000 is activated in S100100, the process proceeds to S100200.

S100200に遷移すると、カメラ本体2000は、不図示の電源供給用マウント接点を介して、交換レンズ1000、中間アクセサリ3000、中間アクセサリ4000に電源が供給し、S100300へ遷移する。 Upon transitioning to S100200, the camera body 2000 supplies power to the interchangeable lens 1000, the intermediate accessory 3000, and the intermediate accessory 4000 via a power supply mount contact (not shown), and transitions to S100300.

第2通信によるアクセサリとの初期通信処理であるサブプロセスS100300は、実施例5中のサブプロセスS30400とほぼ同様である。S100300では中間アクセサリの識別情報として前述の補正識別情報を取得する。 The sub-process S100300, which is the initial communication process with the accessory by the second communication, is almost the same as the sub-process S30400 in the fifth embodiment. In S100300, the above-mentioned correction identification information is acquired as the identification information of the intermediate accessory.

S100300によりアクセサリの補正認証情報を取得すると、S100400に遷移する。 When the correction authentication information of the accessory is acquired in S100300, the process proceeds to S100400.

S100400に遷移すると、カメラ制御部20500は、S100300にて取得した中間アクセサリ補正識別情報を交換レンズ1000へ送信し、光学情報の補正を依頼する。交換レンズが中間アクセサリの補正識別情報を取得するとS100500へ遷移する。 Upon transitioning to S100400, the camera control unit 20500 transmits the intermediate accessory correction identification information acquired in S100300 to the interchangeable lens 1000, and requests correction of optical information. When the interchangeable lens acquires the correction identification information of the intermediate accessory, the process proceeds to S100500.

S100500に遷移すると、交換レンズ制御部11300は中間アクセサリ補正識別情報による自身の光学情報の補正が必要かを判断する。光学情報の補正が必要な中間アクセサリが装着されていた場合には、S100600に遷移する。 Upon transitioning to S100500, the interchangeable lens control unit 11300 determines whether or not the own optical information needs to be corrected by the intermediate accessory correction identification information. If an intermediate accessory that requires correction of optical information is attached, the process proceeds to S100600.

S100600に遷移すると、交換レンズ制御部11300は中間アクセサリ補正識別情報による自身の光学情報を補正し、補正された光学情報をカメラへ送信する。 Upon transitioning to S100600, the interchangeable lens control unit 11300 corrects its own optical information based on the intermediate accessory correction identification information, and transmits the corrected optical information to the camera.

また、S100500において、中間アクセサリが装着されていない、または装着されている全中間アクセサリが交換レンズの光学情報の補正が不要な中間アクセサリであった場合には、補正処理の必要がないため、S100700に遷移する。 Further, in S100500, if the intermediate accessories are not attached, or if all the attached intermediate accessories are intermediate accessories that do not require correction of the optical information of the interchangeable lens, correction processing is not necessary, and thus S100700. Transition to.

S100700では、交換レンズ制御部11300は、自身の光学情報をカメラへ送信する。 In S100700, the interchangeable lens control unit 11300 transmits its own optical information to the camera.

S100600およびS100700における光学情報の送信タイミングは補正完了直後でもよいし、カメラから依頼されたタイミングでもよい。 The transmission timing of the optical information in S100600 and S100700 may be immediately after the completion of the correction, or may be the timing requested by the camera.

S100600、もしくはS100700により光学情報を取得したのちにS100800に遷移し、光学情報取得シーケンスは終了する。 After the optical information is acquired in S100600 or S100700, the process proceeds to S100800, and the optical information acquisition sequence ends.

このようにして、カメラと交換レンズが通信可能な第1の通信経路とカメラと中間アクセサリが通信可能な第2の通信経路を独立して持つカメラシステムにおいて、中間アクセサリの光学情報に基づいて交換レンズの光学情報を適切に補正できる。 In this way, in the camera system that independently has the first communication path through which the camera and the interchangeable lens can communicate and the second communication path through which the camera and the intermediate accessory can communicate, exchange based on the optical information of the intermediate accessory. The optical information of the lens can be corrected appropriately.

また、実施例5で、アクセサリの認証情報にアクセサリの識別情報と補正処理要否情報とが含まれている例を示した。これに対して、アクセサリの認証情報に補正処理要否情報のみを持たせ、補正処理要否情報が補正「要」を示している場合に、補正処理要否情報を別途取得するようにしても良い。これにより、補正処理要否情報の要否によらず補正識別情報を取得した場合と比較して、補正処理要否情報が補正「否」を示している場合の通信量を減らすことが可能である。この場合、前述の実施例同様、中間アクセサリ識別情報と補正処理要否情報とをともに取得する。すなわち、補正処理要否情報が補正「要」であり補正識別情報を別途取得した場合には、アクセサリを識別する情報として中間アクセサリ識別情報と補正識別情報の両方を取得する。これにより、補正処理要否情報が補正「否」を示している場合の通信量を減らすとともに、補正処理要否情報が補正「要」であるか「否」であるかによらず、中間アクセサリ識別情報は別の用途に用いることが可能である。 Further, in the fifth embodiment, an example is shown in which the accessory authentication information includes the accessory identification information and the correction process necessity information. On the other hand, if the authentication information of the accessory has only the correction processing necessity information and the correction processing necessity information indicates the correction “necessary”, the correction processing necessity information may be acquired separately. good. As a result, it is possible to reduce the amount of communication when the correction processing necessity information indicates correction “no”, as compared with the case where the correction identification information is acquired regardless of the necessity of the correction processing necessity information. is there. In this case, as in the above-described embodiment, both the intermediate accessory identification information and the correction processing necessity information are acquired. That is, when the correction processing necessity information is “correction required” and the correction identification information is acquired separately, both the intermediate accessory identification information and the correction identification information are acquired as the information for identifying the accessory. This reduces the amount of communication when the correction processing necessity information indicates correction “no”, and makes it possible to reduce the amount of communication regardless of whether the correction processing necessity information is correction “necessary” or “no”. The identification information can be used for another purpose.

また、補正識別情報の含まれる補正の方法に関する情報に基づいて、当該補正の方法に関する情報に対応する情報をレンズ制御部11300が記憶していないと判断した場合には、交換レンズ1000の光学情報補正を行わないように制御しても良い。 If it is determined that the lens control unit 11300 does not store information corresponding to the information regarding the correction method based on the information regarding the correction method that includes the correction identification information, the optical information of the interchangeable lens 1000. You may control so that it may not correct.

<実施例7の効果>
以上で述べたように、補正の方法に関する情報と補正のパラメータに関する情報とをカメラ制御部20500が中間アクセサリ制御部30900から取得し、これらの情報をレンズ制御部11300に送信する。これにより、レンズ制御部11300は、新たなアクセサリであっても補正の方法が既知であれば、当該アクセサリを考慮した光学情報の補正が可能である。
<Effect of Example 7>
As described above, the camera control unit 20500 acquires the information regarding the correction method and the information regarding the correction parameter from the intermediate accessory control unit 30900, and transmits these information to the lens control unit 11300. Accordingly, the lens control unit 11300 can correct the optical information in consideration of the accessory, if the correction method is known even for the new accessory.

上述の実施例では、カメラ本体2000が、交換レンズ1000と第1通信で行う初期通信において、交換レンズ1000の認証情報として交換レンズ1000の識別情報(第1のレンズ識別情報とも称する)を取得することを説明した。また、カメラ本体2000が、アクセサリと第2通信で行う初期通信において、交換レンズ1000の認証情報として交換レンズ1000の識別情報(第2のレンズ識別情報とも称する)を取得することを説明した。本実施例では、第1のレンズ識別情報と第2のレンズ識別情報との関係に着目した実施例を説明する。 In the above-described embodiment, the camera body 2000 acquires the identification information of the interchangeable lens 1000 (also referred to as the first lens identification information) as the authentication information of the interchangeable lens 1000 in the initial communication with the interchangeable lens 1000 in the first communication. I explained that. Further, it has been described that the camera body 2000 acquires the identification information (also referred to as second lens identification information) of the interchangeable lens 1000 as the authentication information of the interchangeable lens 1000 in the initial communication performed with the accessory in the second communication. In this embodiment, an embodiment in which attention is paid to the relationship between the first lens identification information and the second lens identification information will be described.

前述のとおり、交換レンズ1000及びアクセサリの識別情報は、該当するユニットの種類(機種)の識別に用いられる機種ナンバー(ID)等の情報であっても良い。また、交換レンズが有する機能を示す情報や同一機種の中での個体を識別可能な製造ナンバー(シリアルナンバー)等の情報を含んでいてもよい。 As described above, the identification information of the interchangeable lens 1000 and the accessory may be information such as a model number (ID) used to identify the type (model) of the corresponding unit. Further, it may include information indicating the function of the interchangeable lens and information such as a manufacturing number (serial number) capable of identifying an individual in the same model.

ここで、本実施例のカメラシステムにおいて、交換レンズ1000はカメラ本体2000と、第1通信と第2通信との両方によって通信可能であり、実施例5で説明したように、第1通信と第2通信の両方によってカメラ本体2000と初期通信を行う。交換レンズ1000は、第1通信と第2通信のいずれの初期通信においても、カメラ本体2000に交換レンズ1000の識別情報(前述の第1のレンズ識別情報と第2のレンズ識別情報)を送信する。 Here, in the camera system of the present embodiment, the interchangeable lens 1000 can communicate with the camera body 2000 by both the first communication and the second communication, and as described in the fifth embodiment, the first communication and the second communication can be performed. Initial communication is performed with the camera body 2000 by both of the two communications. The interchangeable lens 1000 transmits identification information (the above-mentioned first lens identification information and second lens identification information) of the interchangeable lens 1000 to the camera body 2000 in both initial communication of the first communication and the second communication. ..

このときレンズ制御部11300は、第1のレンズ識別情報と第2のレンズ識別情報として同一の情報を送っても構わないが、本実施例ではあえて第2のレンズ識別情報として第1のレンズ識別情報とは異なる情報をカメラ制御部20500へ送信する。これにより、レンズ制御部11300が第2通信によりカメラ制御部20500へ送信する第2のレンズ識別情報の有効活用を図るものである。 At this time, the lens controller 11300 may send the same information as the first lens identification information and the second lens identification information, but in the present embodiment, the first lens identification information is intentionally used as the second lens identification information. Information different from the information is transmitted to the camera control unit 20500. Thereby, the lens control unit 11300 effectively utilizes the second lens identification information transmitted to the camera control unit 20500 by the second communication.

本実施例の第1のレンズ識別情報と第2のレンズ識別情報についてより具体的に説明する。第1のレンズ識別情報は、交換レンズ1000の種類(機種)を識別することを可能にする情報であって、一例として機種ナンバー(ID)であるものとする。 The first lens identification information and the second lens identification information of this embodiment will be described more specifically. The first lens identification information is information that enables the type (model) of the interchangeable lens 1000 to be identified, and is, for example, a model number (ID).

これに対し第2のレンズ識別情報は、第1のレンズ識別情報とは異なる情報であり、一例として、交換レンズ1000がレンズであることを示す情報であるものとする。この場合、第2のレンズ識別情報は、あくまで交換レンズ1000がレンズであることを示す情報であって、交換レンズ10の種類(機種)には対応していない情報である。このことから、例えば、第2のレンズ識別情報を交換レンズ1000の種類(機種)によらない一意の情報とすることができる。 On the other hand, the second lens identification information is different from the first lens identification information, and is, for example, information indicating that the interchangeable lens 1000 is a lens. In this case, the second lens identification information is information indicating that the interchangeable lens 1000 is a lens, and is information that does not correspond to the type (model) of the interchangeable lens 10. From this, for example, the second lens identification information can be unique information that does not depend on the type (model) of the interchangeable lens 1000.

このように、本実施例では、レンズ制御部11300が、カメラ本体2000と交換レンズ1000との一対一の通信である第1通信の初期通信で送信する第1の識別情報を、カメラ本体2000と各アクセサリとの一対多の通信を想定した第2通信では送信しない。第2通信では第2の識別情報として、レンズであることを示す情報、言い換えると中間アクセサリではないことを示す情報をカメラ制御部10500に送信する。 As described above, in the present embodiment, the lens control unit 11300 transmits the first identification information transmitted in the initial communication of the first communication, which is one-to-one communication between the camera body 2000 and the interchangeable lens 1000, to the camera body 2000. It is not transmitted in the second communication assuming one-to-many communication with each accessory. In the second communication, as the second identification information, information indicating that it is a lens, in other words, information indicating that it is not an intermediate accessory is transmitted to the camera control unit 10500.

本実施例において第1のレンズ識別情報と第2のレンズ識別情報とを上述のように使い分けることによって、例えば以下に説明する効果を実現することが可能である。 In the present embodiment, by selectively using the first lens identification information and the second lens identification information as described above, it is possible to achieve the effects described below, for example.

例えば、第1通信でカメラ制御部20500がレンズ制御部11300から取得する識別情報を交換レンズのための体系とし、第2通信でカメラ制御部20500が各アクセサリの制御部から取得する識別情報を中間アクセサリのための体系として扱うことが可能である。これにより、将来登場し得る中間アクセサリに対して拡張性を持たせたカメラシステムとすることが可能である。 For example, the identification information acquired by the camera control unit 20500 from the lens control unit 11300 in the first communication is used as a system for the interchangeable lens, and the identification information acquired by the camera control unit 20500 from the control unit of each accessory in the second communication is intermediate. It can be treated as a system for accessories. This makes it possible to provide a camera system that has expandability for intermediate accessories that may appear in the future.

また、例えば、中間アクセサリ接続数を把握するために用いることもできる。カメラ制御部10500に対して第2の識別情報以外の識別情報を送信するアクセサリは交換レンズ1000ではないことから、中間アクセサリであると判断することが可能であるためである。 It can also be used, for example, to grasp the number of intermediate accessory connections. This is because it is possible to determine that the accessory that transmits the identification information other than the second identification information to the camera control unit 10500 is an intermediate accessory because the interchangeable lens 1000 is not the accessory.

中間アクセサリの接続数を把握した場合には、例えば所定数以上の中間アクセサリが装着されている場合は、ユーザへの警告動作を行ってもよいし、いずれかの中間アクセサリの機能を制限してもよい。これにより、消費電力を削減したり、通信品質を保つことが可能ある。ファームアップなど大量のデータを中間アクセサリに送信する場合は、中間アクセサリが1つだけ接続されていると判別した場合に限って中間アクセサリのファームアップモードへ遷移することを許可するなどしてもよい。 When the number of connected intermediate accessories is known, for example, when a predetermined number or more of intermediate accessories are attached, a warning operation may be performed to the user, or the function of one of the intermediate accessories may be restricted. Good. This makes it possible to reduce power consumption and maintain communication quality. When transmitting a large amount of data such as firmware up to the intermediate accessory, the transition to the firmware up mode of the intermediate accessory may be permitted only when it is determined that only one intermediate accessory is connected. ..

また、交換レンズ1000が中間アクセサリではなくレンズであると判別されることで、第2通信の初期通信においてレンズ制御部11300からカメラ制御部10500へと送信すべき情報を削減することも可能である。例えば補正処理要否情報をレンズ制御部11300からカメラ制御部10500へ応答しないようにしても良い。中間アクセサリではない交換レンズ1000の装着によって、交換レンズ1000の光学情報の補正は必要とならないためである。 Further, it is possible to reduce the information to be transmitted from the lens control unit 11300 to the camera control unit 10500 in the initial communication of the second communication by determining that the interchangeable lens 1000 is a lens rather than an intermediate accessory. .. For example, the correction processing necessity information may not be returned from the lens control unit 11300 to the camera control unit 10500. This is because it is not necessary to correct the optical information of the interchangeable lens 1000 by mounting the interchangeable lens 1000 that is not an intermediate accessory.

また、例えば、以下に末端のアクセサリが交換レンズであるか中間アクセサリであるかを電気的に判別し、その判別結果を第2の識別情報と照らし合わせるために用いても良い。以下に、より詳しく説明する。述べるようにハード処理との整合性を確認することによって通信エラーを判定することもできる。 In addition, for example, it may be used to electrically determine whether the accessory at the end is an interchangeable lens or an intermediate accessory, and compare the determination result with the second identification information. The details will be described below. As described below, the communication error can be determined by confirming the consistency with the hardware processing.

本実施例では、実施例5から実施例7での交換レンズもしくは中間アクセサリとの初期通信において、末端のアクセサリが交換レンズであるか中間アクセサリであるかを電気的に判別する方法について一例を説明する。さらに、その判別結果が第2通信により取得した識別情報により判断される第2通信の末端にあたるアクセサリとの不整合があった場合のエラー処理について説明する。 In the present embodiment, an example will be described of a method for electrically determining whether the accessory at the end is the interchangeable lens or the intermediate accessory in the initial communication with the interchangeable lens or the intermediate accessory in the fifth to seventh embodiments. To do. Further, error processing when there is a mismatch with the accessory which is the end of the second communication determined by the identification information acquired by the second communication will be described.

<実施例8におけるカメラシステムの構成(図23、図24)>
以下に、末端のアクセサリが交換レンズであるか中間アクセサリであるかを電気的に判別する方法について一例を説明する。なお、当該判別は、第2通信の初期通信においてなされるものとする。
<Configuration of Camera System in Example 8 (FIGS. 23 and 24)>
An example of a method for electrically determining whether the accessory at the end is the interchangeable lens or the intermediate accessory will be described below. The determination is made in the initial communication of the second communication.

まずは、第2通信の末端に交換レンズ1000が装着されている場合の構成について説明する。図23に示すようにカメラ本体2000のマウント20100は識別端子21200を含む。また、中間アクセサリ3000のマウント30200は識別端子31300を、マウント30200は識別田因子31300を含む。また、中間アクセサリ4000のマウント40200は識別端子41300を、マウント40100は識別端子41200を含む。また、交換レンズ1000のマウント10100は識別端子を含む。これらの識別端子を介して接続されるライン(識別ラインとも称する)は、交換レンズ1000に設けた抵抗器11800に接続されている。また、このラインはカメラ本体2000内に設けられた抵抗器21300を通してプルアップ接続されている。プルアップ電源の電圧レベルを抵抗器11800と抵抗器21300の各抵抗値で分圧した値がカメラ制御部20500に入力される。 First, the configuration when the interchangeable lens 1000 is attached to the end of the second communication will be described. As shown in FIG. 23, the mount 20100 of the camera body 2000 includes an identification terminal 21200. The mount 30200 of the intermediate accessory 3000 includes an identification terminal 31300, and the mount 30200 includes an identification factor 31300. Further, the mount 40200 of the intermediate accessory 4000 includes the identification terminal 41300, and the mount 40100 includes the identification terminal 41200. Further, the mount 10100 of the interchangeable lens 1000 includes an identification terminal. A line (also referred to as an identification line) connected through these identification terminals is connected to a resistor 11800 provided on the interchangeable lens 1000. Further, this line is pull-up connected through a resistor 21300 provided in the camera body 2000. A value obtained by dividing the voltage level of the pull-up power supply by the resistance values of the resistor 11800 and the resistor 21300 is input to the camera control unit 20500.

次に、第2通信の末端が中間アクセサリ4000である場合の構成について説明する。図24に示すように、第2通信の末端が交換レンズである場合と同様に、識別端子21200,31300,31200,41300を介した識別ラインが、中間アクセサリ4000に設けた抵抗器41400に接続されている。カメラ制御部20500への入力は、カメラ本体2000のプルアップ電源の電圧レベルを抵抗器41400と抵抗器21300の各抵抗値で分圧した値となる。 Next, the configuration when the end of the second communication is the intermediate accessory 4000 will be described. As shown in FIG. 24, similarly to the case where the end of the second communication is the interchangeable lens, the identification line via the identification terminals 21200, 31300, 31200, 41300 is connected to the resistor 41400 provided in the intermediate accessory 4000. ing. The input to the camera control unit 20500 is a value obtained by dividing the voltage level of the pull-up power supply of the camera body 2000 by the resistance values of the resistor 41400 and the resistor 21300.

<実施例8における、第2通信エラー判別方法(図25)>
ここで、交換レンズ1000に用いる抵抗器の抵抗値と末端となる中間アクセサリに用いる抵抗器の抵抗値をあらかじめ異なる値となるように規定しておく。これにより、識別端子を介した入力信号のレベルから、末端のアクセサリが交換レンズか否かを電気的に判別することが可能となる。
<Second communication error determination method in the eighth embodiment (FIG. 25)>
Here, the resistance value of the resistor used for the interchangeable lens 1000 and the resistance value of the resistor used for the intermediate accessory at the end are defined in advance to be different values. This makes it possible to electrically determine whether or not the accessory at the end is the interchangeable lens based on the level of the input signal via the identification terminal.

電気的に判別した末端のアクセサリが交換レンズ1000であった場合、第2通信による初期通信で取得した末端のアクセサリの識別情報として第2の識別情報が得られるはずである。一方で、電気的に判別した末端のアクセサリが中間アクセサリであった場合、第2通信による初期通信で取得した末端のアクセサリの識別情報は第2の識別情報とは異なる情報であるはずであり、具体的には中間アクセサリ識別情報のはずである。 When the accessory at the end electrically determined is the interchangeable lens 1000, the second identification information should be obtained as the identification information about the accessory at the end acquired in the initial communication by the second communication. On the other hand, when the electrically accessory terminal accessory is an intermediate accessory, the terminal accessory identification information acquired in the initial communication by the second communication should be different from the second identification information. Specifically, it should be the intermediate accessory identification information.

しかしながら、第2通信に何らかの問題が生じている場合には、上述の対応関係に齟齬が生じてしまう場合がある。そこで、電気的に判別した末端アクセサリと第2通信により取得した識別情報に不整合がある場合は、通信エラーが発生したと判断し、初期通信からリトライを行うことで、より正確に通信を行うことができる。 However, if some problem occurs in the second communication, there may be a discrepancy in the above correspondence. Therefore, if there is a mismatch between the electrically identified end accessory and the identification information acquired by the second communication, it is determined that a communication error has occurred, and retry is performed from the initial communication, thereby performing more accurate communication. be able to.

このように、電気的な識別情報と第2通信により取得した識別情報を照合することによって第2通信で正しく通信できているかを確認することができる。取得した識別情報が正しいかを判別できる。これにより、第2通信の通信エラーを検出することが可能となる。 In this way, by collating the electrical identification information with the identification information acquired by the second communication, it is possible to confirm whether the second communication is correctly performed. It is possible to determine whether the acquired identification information is correct. This makes it possible to detect a communication error in the second communication.

<実施例8の効果>
以上説明したように、本実施例では、第2のレンズ識別情報を、交換レンズ1000の種類(機種)に対応する第1のレンズ識別情報とは異なる情報であってレンズであることを示す情報とする。これにより、例えば、第2通信によって通信を行うアクセサリの識別性能をより向上させることが可能である。
<Effect of Example 8>
As described above, in the present embodiment, the second lens identification information is information different from the first lens identification information corresponding to the type (model) of the interchangeable lens 1000 and indicating the lens. And Thereby, for example, it is possible to further improve the identification performance of the accessory that communicates by the second communication.

<その他の実施例>
なお、上述の実施例では、第1のアクセサリは補正に関わるアクセサリのうち、他の全アクセサリの光学情報を保持するアクセサリであるとして説明した。しかし、補正に関わるアクセサリのうち互いの光学情報を最も多く有しているアクセサリであっても良い。つまり、光学情報を有していないアクセサリがあっても良い。その場合、この場合、不足している光学情報を他のユニットから取得するようにしても良い。
<Other Examples>
In addition, in the above-described embodiment, the first accessory has been described as an accessory that holds the optical information of all other accessories among the accessories related to the correction. However, among the accessories related to the correction, the accessories that have the most mutual optical information may be used. That is, there may be accessories that do not have optical information. In this case, in this case, the missing optical information may be acquired from another unit.

また、上述の実施例の初期通信において、レンズ制御部11300は、S40400とS52000において交換レンズ1000の識別情報を送信している。ここで、例えば、S52000にて送信する識別情報は、中間アクセサリではないことを示す識別情報としても良い。 In addition, in the initial communication of the above-described embodiment, the lens control unit 11300 transmits the identification information of the interchangeable lens 1000 in S40400 and S52000. Here, for example, the identification information transmitted in S52000 may be identification information indicating that the accessory is not an intermediate accessory.

また、上述の実施例の図15の初期通信において、各アクセサリはカメラ制御部20500に認証情報として複数の情報を送信しているが、必要な情報のみを送信するようにしても良い。この場合、カメラは当該必要な情報を特定して、各アクセサリに情報要求を送信する。 In addition, in the initial communication of FIG. 15 of the above-described embodiment, each accessory transmits a plurality of information as authentication information to the camera control unit 20500, but only the necessary information may be transmitted. In this case, the camera identifies the necessary information and sends an information request to each accessory.

また、上述の実施例においては中間アクセサリが2つの場合について説明したが、3つ以上の場合には、複数の中間アクセサリの中で他の中間アクセサリの光学情報をすべて有しているものか、より多く有しているものが、第1の中間アクセサリであるとする。 Further, in the above-mentioned embodiment, the case where the number of intermediate accessories is two has been described. However, in the case of three or more intermediate accessories, whether or not all of the plurality of intermediate accessories have optical information of other intermediate accessories, What has more is the first intermediate accessory.

実施例6で、動的アクセサリが交換レンズ1000の光学情報の補正を行うようにしても良い。この場合、動的アクセサリが他のアクセサリの光学情報をあらかじめ取得するようにしても良い。動的アクセサリが交換レンズ1000の光学情報を補正した場合には、補正した光学情報をカメラ本体2000へと送信する。 In Example 6, the dynamic accessory may correct the optical information of the interchangeable lens 1000. In this case, the dynamic accessory may acquire the optical information of another accessory in advance. When the dynamic accessory corrects the optical information of the interchangeable lens 1000, the corrected optical information is transmitted to the camera body 2000.

実施例6で、第1のアクセサリが複数ある場合には、動的アクセサリが交換レンズ1000の光学情報の補正を行うようにしても良い。 In Example 6, when there are a plurality of first accessories, the dynamic accessory may correct the optical information of the interchangeable lens 1000.

実施例7は、カメラ本体2000において光学レンズ1000の光学情報の補正を行う場合について説明した。これに対し、交換レンズ1000において光学情報の補正をするようにしても良い。この場合、カメラ制御部20500はレンズ制御部11300に、交換レンズ1000の光学情報の補正を行う要求を送信する。その際、交換レンズ1000は、補正が必要な中間アクセサリの光学情報が不足している場合には、中間アクセサリの光学情報を必要に応じてカメラ本体2000又は中間アクセサリから取得するようにしても良い。 The seventh embodiment has described the case where the camera body 2000 corrects the optical information of the optical lens 1000. On the other hand, optical information may be corrected in the interchangeable lens 1000. In this case, the camera control unit 20500 sends a request for correcting the optical information of the interchangeable lens 1000 to the lens control unit 11300. At that time, the interchangeable lens 1000 may acquire the optical information of the intermediate accessory from the camera body 2000 or the intermediate accessory as necessary when the optical information of the intermediate accessory requiring correction is insufficient. ..

実施例8では、補正の方法に関する情報と補正のパラメータに関する情報とをカメラ制御部20500が中間アクセサリ制御部30900から取得し、これらの情報をレンズ制御部11300に送信する例を説明した。ここで、中間アクセサリ3000が実施例6で説明したような動的中間アクセサリであり、補正のパラメータに関する情報が変化し得る場合には、当該変化の検出に応じて補正のパラメータに関する情報を再取得しても良い。すなわち、中間アクセサリ3000の操作部材が操作されたことが検出された場合に、補正のパラメータに関する情報をカメラ制御部20500が中間アクセサリ制御部30900から取得し、これらの情報をレンズ制御部11300に送信するようにしても良い。 In the eighth embodiment, an example has been described in which the camera control unit 20500 obtains the information about the correction method and the information about the correction parameter from the intermediate accessory control unit 30900, and transmits the information to the lens control unit 11300. Here, when the intermediate accessory 3000 is the dynamic intermediate accessory as described in the sixth embodiment and the information regarding the correction parameter can change, the information regarding the correction parameter is reacquired according to the detection of the change. You may. That is, when it is detected that the operation member of the intermediate accessory 3000 is operated, the camera control unit 20500 obtains the information about the correction parameter from the intermediate accessory control unit 30900, and transmits the information to the lens control unit 11300. It may be done.

また、実施例5では、第1通信方式として、クロック同期通信を行う場合を説明したが、調歩同期式通信を行っても良い。調歩同期式通信を図22を用いて説明をする。 In the fifth embodiment, the case where clock synchronous communication is performed as the first communication method has been described, but the asynchronous communication may be performed. Asynchronous communication will be described with reference to FIG.

なお、図12では3線クロック同期式通信を行う場合を例示した。これに代えて、同じく通信チャネル1の3線を用いることで実現される3線調歩同期式通信を採用した場合であっても同様の効果を実現することができる。図22は3線調歩同期式通信の通信における信号波形を示している。3線調歩同期式通信の場合は、前述のクロック通信線(LCLK)に代えて、RTS通信線(RTS)を有する。RTS通信線は、カメラ−レンズ通信線(DCL)による通信と第1のレンズ−カメラ通信線(DLC)による通信のタイミングを制御する信号をカメラマイコン20500からレンズマイコン11100へ送信するための信号線である。例えば、カメラマイコン20500からレンズマイコン11100へのレンズデータの送信要求(送信指示)や後述する通信処理の切替え要求(切替え指示)等の通知に用いられる。送信要求チャネルでの通知は該送信要求チャネルでの信号レベル(電圧レベル)をHigh(第1のレベル)とLow(第2のレベル)との間で切り替えることで行う。以下の説明では、RTS通信線に供給される信号を送信要求信号RTSという。送信要求信号RTSは、通信マスタとしてのカメラマイコン20500から通信スレーブとしてのレンズマイコン11100に送られる。レンズマイコン11100が送信要求RTSを受信すると、図22に示すようにレンズデータ信号DLCの1フレームの送信開始をカメラマイコン20500に通知するため、レンズデータ信号DLCの信号レベルを1ビット期間の間Lowとする。この1ビット期間を1フレームの開始を示すスタートビットSTと呼ぶ。すなわち、このスタートビットSTからデータフレームが開始される。スタートビットSTは、レンズデータ信号DLCの1フレームごとにその先頭ビットに設けられている。続いて、レンズマイコン111は、次の2ビット目から9ビット目までの8ビット期間で1バイトのレンズデータを送信する。データのビット配列はMSBファーストフォーマットとして、最上位のデータD7から始まり、順にデータD6、データD5と続き、最下位のデータD0で終わる。そして、レンズマイコン11100は、10ビット目に1ビットのパリティー情報PAを付加し、1フレームの最後を示すストップビットSPの期間のレンズデータ信号DLCの信号レベルをHighとする。これにより、スタートビットSTから開始されたデータフレーム期間が終了する。 Note that FIG. 12 exemplifies the case of performing 3-line clock synchronous communication. Alternatively, the same effect can be realized even when the three-line start/stop synchronization communication, which is also realized by using the three lines of the communication channel 1, is adopted. FIG. 22 shows a signal waveform in the communication of the three-line start/stop synchronous communication. In the case of three-line start/stop synchronous communication, an RTS communication line (RTS) is provided instead of the clock communication line (LCLK) described above. The RTS communication line is a signal line for transmitting from the camera microcomputer 20500 to the lens microcomputer 11100 a signal that controls the timing of communication by the camera-lens communication line (DCL) and communication by the first lens-camera communication line (DLC). Is. For example, it is used for notification of a lens data transmission request (transmission instruction) from the camera microcomputer 20500 to the lens microcomputer 11100 and a communication processing switching request (switching instruction) described later. The notification on the transmission request channel is performed by switching the signal level (voltage level) on the transmission request channel between High (first level) and Low (second level). In the following description, the signal supplied to the RTS communication line is referred to as the transmission request signal RTS. The transmission request signal RTS is sent from the camera microcomputer 20500 as a communication master to the lens microcomputer 11100 as a communication slave. When the lens microcomputer 11100 receives the transmission request RTS, as shown in FIG. 22, the camera microcomputer 20500 is notified of the start of transmission of one frame of the lens data signal DLC. Therefore, the signal level of the lens data signal DLC is set to Low for one bit period. And This 1-bit period is called a start bit ST indicating the start of 1 frame. That is, the data frame starts from this start bit ST. The start bit ST is provided at the head bit of each frame of the lens data signal DLC. Subsequently, the lens microcomputer 111 transmits 1-byte lens data in the next 8-bit period from the second bit to the ninth bit. The bit arrangement of the data is MSB first format, starting from the highest data D7, continuing in order with data D6 and data D5, and ending with the lowest data D0. Then, the lens microcomputer 11100 adds 1-bit parity information PA to the 10th bit and sets the signal level of the lens data signal DLC in the period of the stop bit SP indicating the end of one frame to High. As a result, the data frame period started from the start bit ST ends.

なお、上述した各実施例は、適宜組み合わせても良い。 The above-described embodiments may be combined as appropriate.

本発明は上述の実施例の1以上の機能を実現するプログラムをネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読み取り実行する処理でも実現できる。更に、1以上の機能を実現する回路(例えば、ASIC)によっても実現できる。 The present invention provides a program for implementing one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and a process in which one or more processors in a computer of the system or device read and execute the program. But it can be achieved. Further, it can be realized by a circuit (for example, ASIC) that realizes one or more functions.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形および変更が可能である。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes can be made within the scope of the gist thereof.

10 交換レンズ
20 カメラ本体
30,40 中間アダプタ
113 レンズ制御部
205 カメラ制御部
309,409 アダプタ制御部
10 interchangeable lens 20 camera body 30, 40 intermediate adapter 113 lens control unit 205 camera control unit 309, 409 adapter control unit

Claims (37)

レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置であって、
前記レンズ装置との間に第1の通信経路を設ける第1のカメラ通信部と、
前記撮像装置に装着された前記複数のアクセサリ装置との間に第2の通信経路を設ける第2のカメラ通信部と、
前記第1のカメラ通信部又は前記第2のカメラ通信部を介した通信を制御するカメラ制御部とを有し、
前記カメラ制御部は、
前記複数のアクセサリ装置に第1の要求を前記第2の通信経路を介して送信し、
前記第1の要求を受信した前記複数のアクセサリ装置のそれぞれから、前記撮像装置との通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して受信し、
前記第1の情報に応じて前記第2の通信経路を介した前記複数のアクセサリ装置との通信を制御することを特徴とする撮像装置。
An imaging device capable of mounting a plurality of accessory devices including a lens device,
A first camera communication unit that provides a first communication path with the lens device;
A second camera communication unit that provides a second communication path between the plurality of accessory devices attached to the imaging device;
A camera control unit that controls communication via the first camera communication unit or the second camera communication unit,
The camera control unit,
Transmitting a first request to the plurality of accessory devices via the second communication path,
From each of the plurality of accessory devices that have received the first request, receive first information corresponding to whether or not to stop communication with the imaging device via the second communication path,
An imaging apparatus, which controls communication with the plurality of accessory devices via the second communication path according to the first information.
前記カメラ制御部は、
受信した前記第1の情報から、前記複数のアクセサリ装置のうち通信対象としての前記アクセサリ装置を判別し、
前記通信対象と判別した前記アクセサリ装置との通信を行うことを特徴とする請求項1に記載の撮像装置。
The camera control unit,
From the received first information, determine the accessory device as a communication target among the plurality of accessory devices,
The image pickup apparatus according to claim 1, wherein communication is performed with the accessory device that is determined to be the communication target.
前記カメラ制御部は、
前記アクセサリ装置への電源の供給が停止されるまで前記第1の情報を保持し、
前記電源の供給が停止される際に前記第1の情報を初期化することを特徴とする請求項1または2に記載の撮像装置。
The camera control unit,
Hold the first information until the power supply to the accessory device is stopped,
The image pickup apparatus according to claim 1, wherein the first information is initialized when the power supply is stopped.
前記カメラ制御部は、前記第1の要求を受信した前記複数のアクセサリ装置のそれぞれから、前記第1の情報と前記アクセサリ装置の識別情報とを含む認証情報を受信することを特徴とする請求項1から3のいずれか一項に記載の撮像装置。 The camera control unit receives authentication information including the first information and identification information of the accessory device from each of the plurality of accessory devices that have received the first request. The imaging device according to any one of 1 to 3. 前記カメラ制御部は、前記撮像装置から前記複数のアクセサリ装置に対して電源が供給されることに応じて行われる初期通信において、前記複数のアクセサリ装置のそれぞれから前記認証情報を受信することを特徴とする請求項4に記載の撮像装置。 The camera control unit receives the authentication information from each of the plurality of accessory devices in an initial communication performed when power is supplied from the imaging device to the plurality of accessory devices. The imaging device according to claim 4. 前記撮像装置に対する前記第2の通信経路の終端であるアクセサリ装置から送信される前記認証情報は、前記終端であることを示す終端情報を含むことを特徴とする請求項4または5に記載の撮像装置。 The imaging information according to claim 4 or 5, wherein the authentication information transmitted from the accessory device that is the end of the second communication path with respect to the imaging device includes end information that indicates the end. apparatus. 前記カメラ制御部は、前記レンズ装置の認証情報を前記第1のカメラ通信部を介して受信することを特徴とする請求項4から6のいずれか一項に記載の撮像装置。 7. The image pickup apparatus according to claim 4, wherein the camera control unit receives the authentication information of the lens device via the first camera communication unit. 前記カメラ制御部は、
前記複数のアクセサリ装置のうち1つとの間で第1の通信を行うことが可能であるとともに、前記複数のアクセサリ装置との間で第2の通信を行うことが可能であり、
前記認証情報を前記第2の通信により受信することを特徴とする請求項4から7のいずれか一項に記載の撮像装置。
The camera control unit,
It is possible to perform first communication with one of the plurality of accessory devices, and it is possible to perform second communication with the plurality of accessory devices,
The image pickup apparatus according to claim 4, wherein the authentication information is received by the second communication.
前記第2のカメラ通信部は第1の接点部と第2の接点部とを有し、
前記カメラ制御部は、前記第1の通信において、前記第1の接点部の信号レベルが第1の信号レベルに維持された状態で前記第2の接点部を介したデータの送信を行い、前記第2の通信において、前記第1の接点部の信号レベルが前記第1の信号レベルよりも高い第2の信号レベルに維持された状態で前記第2の接点部を介したデータの送信を行うことを特徴とする請求項8に記載の撮像装置。
The second camera communication unit has a first contact portion and a second contact portion,
In the first communication, the camera control unit transmits data via the second contact unit while the signal level of the first contact unit is maintained at the first signal level, In the second communication, data is transmitted via the second contact portion while the signal level of the first contact portion is maintained at the second signal level higher than the first signal level. The imaging device according to claim 8, wherein
前記カメラ制御部は、
前記アクセサリ装置から、通信リクエストと該通信リクエストの要因に対応する第2の情報とを受信し、
前記第2の情報に応じて前記撮像装置または前記アクセサリ装置を制御することを特徴とする請求項1から9のいずれか一項に記載の撮像装置。
The camera control unit,
Receiving a communication request and second information corresponding to a factor of the communication request from the accessory device,
The image pickup apparatus according to any one of claims 1 to 9, wherein the image pickup apparatus or the accessory apparatus is controlled according to the second information.
前記カメラ制御部は、前記要因が前記第1の情報の変化であった場合は、前記第2の情報に応じた制御として前記第1の要求を前記複数のアクセサリ装置に送信することにより、前記第2の情報を送信した前記アクセサリ装置から前記第1の情報を再受信することを特徴とする請求項10に記載の撮像装置。 When the factor is a change in the first information, the camera control unit transmits the first request to the plurality of accessory devices as control according to the second information, The imaging device according to claim 10, wherein the first information is re-received from the accessory device that has transmitted the second information. 前記カメラ制御部は、
前記アクセサリ装置から前記第1の情報を破棄する要求を受信することに応じて、受信済みの前記第1の情報を破棄し、
前記アクセサリ装置から前記第1の情報を再受信することを特徴とする請求項1から11のいずれか一項に記載の撮像装置。
The camera control unit,
In response to receiving a request to discard the first information from the accessory device, discard the received first information,
The imaging device according to any one of claims 1 to 11, wherein the first information is re-received from the accessory device.
前記第1のカメラ通信部は第3の接点部と第4の接点部と第5の接点部とを有し、
前記カメラ制御部は、前記第3の接点部を介したクロック信号の送信に同期して前記第4の接点部を介したデータの送信と前記第5の接点部を介したデータの受信を行うことを特徴とする請求項1から12のいずれか一項の記載の撮像装置。
The first camera communication unit has a third contact portion, a fourth contact portion, and a fifth contact portion,
The camera control unit performs data transmission via the fourth contact unit and data reception via the fifth contact unit in synchronization with transmission of a clock signal via the third contact unit. The imaging device according to any one of claims 1 to 12, characterized in that.
前記第1のカメラ通信部は第3の接点部と第4の接点部と第5の接点部とを有し、
前記カメラ制御部は、前記第3の接点部を介した通知の送信に対応して前記第5の接点部を介したデータの受信を行い、該受信に対応して前記第4の接点部を介したデータの送信を行うことを特徴とする請求項1から12のいずれか一項の記載の撮像装置。
The first camera communication unit has a third contact portion, a fourth contact portion, and a fifth contact portion,
The camera control unit receives data via the fifth contact unit in response to the transmission of the notification via the third contact unit, and responds to the reception by operating the fourth contact unit. The image pickup apparatus according to claim 1, wherein the image pickup apparatus transmits data via the image pickup apparatus.
レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置に装着されるアクセサリ装置であって、
前記撮像装置と前記レンズ装置との間の第1の通信経路を介した通信が導通する第1のアクセサリ通信部と、
前記撮像装置との間に第2の通信経路を設ける第2のアクセサリ通信部と、
前記第1のアクセサリ通信部又は前記第2のアクセサリ通信部を介した通信を制御するアクセサリ制御部とを有し、
前記アクセサリ制御部は、
前記撮像装置から第1の要求を前記第2の通信経路を介して受信することに応じて、前記撮像装置との通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して前記撮像装置に送信することを特徴とするアクセサリ装置。
An accessory device mounted on an imaging device capable of mounting a plurality of accessory devices including a lens device,
A first accessory communication unit in which communication is conducted via a first communication path between the imaging device and the lens device;
A second accessory communication unit that provides a second communication path between the imaging device and
An accessory control unit that controls communication via the first accessory communication unit or the second accessory communication unit,
The accessory control unit,
In response to receiving the first request from the imaging device via the second communication path, the first communication corresponding to whether to stop the communication with the imaging device is the second communication. An accessory device for transmitting to the image pickup device via a route.
前記アクセサリ制御部は、前記撮像装置が前記第1の情報から前記アクセサリ装置を通信対象として判別することに応じて、前記撮像装置との通信を行うことを特徴とする請求項15に記載のアクセサリ装置。 16. The accessory according to claim 15, wherein the accessory control unit communicates with the imaging device in response to the imaging device discriminating the accessory device as a communication target from the first information. apparatus. 前記アクセサリ制御部は、前記撮像装置に前記第1の情報を送信した後、前記アクセサリ装置への電源の供給が停止されるまで前記撮像装置との通信を停止することを特徴とする請求項15または16に記載のアクセサリ装置。 16. The accessory control unit, after transmitting the first information to the imaging device, suspends communication with the imaging device until power supply to the accessory device is stopped. Or the accessory device according to item 16. 前記アクセサリ制御部は、前記第1の要求に応じて、前記第1の情報と前記アクセサリ装置の識別情報とを含む認証情報を前記撮像装置に送信することを特徴とする請求項15から17のいずれか一項に記載のアクセサリ装置。 18. The accessory control unit transmits authentication information including the first information and identification information of the accessory device to the imaging device in response to the first request. The accessory device according to any one of claims. 前記アクセサリ制御部は、前記撮像装置から前記アクセサリ装置に対して電源が供給されることに応じて行われる初期通信において、前記認証情報を前記撮像装置に送信することを特徴とする請求項18に記載のアクセサリ装置。 19. The accessory control unit transmits the authentication information to the imaging device in an initial communication performed in response to power being supplied from the imaging device to the accessory device. The accessory device described. 前記アクセサリ装置が前記撮像装置に対する前記第2の通信経路の終端である場合において、
前記認証情報は、前記終端であることを示す終端情報を含むことを特徴とする請求項18または19に記載のアクセサリ装置。
In the case where the accessory device is the end of the second communication path to the imaging device,
20. The accessory device according to claim 18, wherein the authentication information includes termination information indicating the termination.
前記アクセサリ装置は中間アクセサリ装置であり、
前記レンズ装置から送信された認証情報が前記アクセサリ制御部を導通することを特徴とする請求項18から20のいずれか一項に記載のアクセサリ装置。
The accessory device is an intermediate accessory device,
21. The accessory device according to claim 18, wherein the authentication information transmitted from the lens device conducts the accessory control unit.
前記アクセサリ装置はレンズ装置であり、
前記アクセサリ制御は、該レンズ装置の認証情報を前記第1のアクセサリ通信部を介して送信することを特徴とする請求項18から20のいずれか一項に記載のアクセサリ装置。
The accessory device is a lens device,
The accessory device according to any one of claims 18 to 20, wherein the accessory control unit transmits authentication information of the lens device via the first accessory communication unit.
前記撮像装置は、該撮像装置に装着された複数のアクセサリ装置のうち1つとの間で第1の通信を行うことが可能であるとともに、前記複数のアクセサリ装置との間で第2の通信を行うことが可能であり、
前記アクセサリ制御部は、前記認証情報を前記第2の通信により前記撮像装置に送信することを特徴とする請求項18から20のいずれか一項に記載のアクセサリ装置。
The imaging device is capable of performing first communication with one of the plurality of accessory devices attached to the imaging device and performing second communication with the plurality of accessory devices. Is possible to do,
The accessory device according to any one of claims 18 to 20, wherein the accessory control unit transmits the authentication information to the imaging device by the second communication.
前記第2のアクセサリ通信部は第1の接点部と第2の接点部とを有し、
前記アクセサリ制御部は、前記第1の通信において、前記第1の接点部の信号レベルが第1の信号レベルに維持された状態で前記第2の接点部を介したデータの送信を行い、前記第2の通信において、前記第1の接点部の信号レベルが前記第1の信号レベルよりも高い第2の信号レベルに維持された状態で前記第2の接点部を介したデータの送信を行うことを特徴とする請求項23に記載のアクセサリ装置。
The second accessory communication unit has a first contact portion and a second contact portion,
In the first communication, the accessory control unit transmits data via the second contact unit while the signal level of the first contact unit is maintained at the first signal level, In the second communication, data is transmitted via the second contact portion while the signal level of the first contact portion is maintained at the second signal level higher than the first signal level. The accessory device according to claim 23, wherein:
前記アクセサリ制御部は、前記撮像装置に、通信リクエストと該通信リクエストの要因に対応する第2の情報とを送信することを特徴とする請求項15から24のいずれか一項に記載のアクセサリ装置。 25. The accessory device according to claim 15, wherein the accessory control unit transmits a communication request and second information corresponding to a factor of the communication request to the imaging device. .. 前記アクセサリ制御部は、前記要因が前記第1の情報の変化であった場合は、前記撮像装置から前記第2の情報に応じた前記第1の要求を受けて、前記第1の情報を前記撮像装置に再送信することを特徴とする請求項25に記載のアクセサリ装置。 When the factor is a change in the first information, the accessory control unit receives the first request according to the second information from the imaging device, and outputs the first information to the first information. The accessory device according to claim 25, wherein the accessory device is retransmitted to the imaging device. 前記アクセサリ制御部は、
前記撮像装置に前記第1の情報を破棄する要求を送信し、新たな前記第1の情報を再送信することを特徴とする請求項15から26のいずれか一項に記載のアクセサリ装置。
The accessory control unit,
The accessory device according to any one of claims 15 to 26, wherein a request for discarding the first information is transmitted to the imaging device, and the new first information is retransmitted.
前記アクセサリ制御部は、前記撮像装置との通信の停止とともにスリープ状態に移行することを特徴とする請求項15から27のいずれか一項に記載のアクセサリ装置。 28. The accessory device according to claim 15, wherein the accessory control unit shifts to a sleep state when communication with the imaging device is stopped. 前記アクセサリ装置は、前記撮像装置と該撮像装置に装着された複数のアクセサリ装置のうち他のアクセサリ装置との通信を接続する接続状態と該通信を切断する切断状態とに切り換え可能なスイッチを有し、
前記アクセサリ制御部は、前記スイッチを前記接続状態として前記第1の要求を受信することに応じて、前記スイッチを前記切断状態に切り換えて前記撮像装置に前記第1の情報を送信することを特徴とする請求項15から28のいずれか一項に記載のアクセサリ装置。
The accessory device has a switch that can be switched between a connection state for connecting communication with the other accessory device among the plurality of accessory devices mounted on the image pickup device and a disconnection state for disconnecting the communication. Then
The accessory control unit switches the switch to the disconnection state and transmits the first information to the imaging device in response to receiving the first request with the switch in the connection state. The accessory device according to any one of claims 15 to 28.
前記アクセサリ制御部は、前記第1の情報を送信した後に、前記スイッチを前記接続状態に切り換えることを特徴とする請求項29に記載のアクセサリ装置。 30. The accessory device according to claim 29, wherein the accessory control unit switches the switch to the connection state after transmitting the first information. 前記第1のアクセサリ通信部は第3の接点部と第4の接点部と第5の接点部とを有し、
クロック信号が前記第3の接点部を介して前記撮像装置から前記レンズ装置へと送信され、該送信に同期して前記撮像装置から前記レンズ装置へ前記第4の接点部を介したデータの送信と前記レンズ装置から前記撮像装置への前記第5の接点部を介したデータの送信が行われることを特徴とする請求項15から29のいずれか一項の記載のアクセサリ装置。
The first accessory communication unit has a third contact portion, a fourth contact portion, and a fifth contact portion,
A clock signal is transmitted from the image pickup device to the lens device through the third contact portion, and data is transmitted from the image pickup device to the lens device through the fourth contact portion in synchronization with the transmission. 30. The accessory device according to any one of claims 15 to 29, wherein data is transmitted from the lens device to the imaging device via the fifth contact portion.
前記第1のアクセサリ通信部は第3の接点部と第4の接点部と第5の接点部とを有し、
前記撮像装置から前記レンズ装置への前記第3の接点部を介した通知の送信に対応して前記レンズ装置から前記撮像装置への前記第5の接点部を介したデータの送信が行われ、該送信に対応して前記撮像装置から前記レンズ装置へのデータの前記第4の接点部を介した送信が行われることを特徴とする請求項15から29のいずれか一項の記載のアクセサリ装置。
The first accessory communication unit has a third contact portion, a fourth contact portion, and a fifth contact portion,
In response to the transmission of the notification from the image pickup device to the lens device via the third contact portion, the transmission of data from the lens device to the image pickup device via the fifth contact portion is performed. 30. The accessory device according to claim 15, wherein data is transmitted from the imaging device to the lens device via the fourth contact portion in response to the transmission. ..
撮像装置と、該撮像装置に装着されるレンズ装置を含む複数のアクセサリ装置とを含む撮像システムであって、
前記撮像装置は、
前記レンズ装置との間に第1の通信経路を設ける第1のカメラ通信部と、
前記撮像装置に装着された前記複数のアクセサリ装置との間に第2の通信経路を設ける第2のカメラ通信部と、
前記第1のカメラ通信部又は前記第2のカメラ通信部を介した通信を制御するカメラ制御部とを有しており、
前記カメラ制御部は、前記複数のアクセサリ装置に第1の要求を前記第2の通信経路を介して送信し、
前記複数のアクセサリ装置はそれぞれ、前記第1の要求を受信することに応じて、前記撮像装置との通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して前記撮像装置に送信し、
前記カメラ制御部は、前記第1の情報に応じて前記第2の通信経路を介した前記複数のアクセサリ装置との通信を制御することを特徴とする撮像システム。
An imaging system including an imaging device and a plurality of accessory devices including a lens device attached to the imaging device,
The imaging device is
A first camera communication unit that provides a first communication path with the lens device;
A second camera communication unit that provides a second communication path between the plurality of accessory devices attached to the imaging device;
And a camera control unit that controls communication via the first camera communication unit or the second camera communication unit,
The camera control unit transmits a first request to the plurality of accessory devices via the second communication path,
Each of the plurality of accessory devices sends first information corresponding to whether or not to stop communication with the imaging device via the second communication path in response to receiving the first request. Sent to the imaging device,
The image pickup system, wherein the camera control unit controls communication with the plurality of accessory devices via the second communication path according to the first information.
レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置であって、前記レンズ装置との間に第1の通信経路を設ける第1のカメラ通信部と、前記撮像装置に装着された前記複数のアクセサリ装置との間に第2の通信経路を設ける第2のカメラ通信部と、前記第1のカメラ通信部又は前記第2のカメラ通信部を介した通信を制御するカメラ制御部とを有する撮像装置の通信制御方法であって、
前記複数のアクセサリ装置に第1の要求を前記第2の通信経路を介して送信するステップと、
前記第1の要求を受信した前記複数のアクセサリ装置のそれぞれから、前記撮像装置との通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して受信するステップと、
前記第1の情報に応じて前記第2の通信経路を介した前記複数のアクセサリ装置との通信を制御するステップとを有することを特徴とする撮像装置の通信制御方法。
An imaging device capable of mounting a plurality of accessory devices including a lens device, the first camera communication unit having a first communication path between the lens device and the plurality of accessory devices mounted on the imaging device. A second camera communication unit that provides a second communication path with the accessory device, and a camera control unit that controls communication via the first camera communication unit or the second camera communication unit. A communication control method for an imaging device, comprising:
Transmitting a first request to the plurality of accessory devices via the second communication path;
Receiving first information corresponding to whether or not to stop communication with the imaging device from each of the plurality of accessory devices that have received the first request, via the second communication path. ,
Controlling the communication with the plurality of accessory devices via the second communication path according to the first information.
レンズ装置を含む複数のアクセサリ装置の装着が可能な撮像装置に装着されるアクセサリ装置であって、前記撮像装置と前記レンズ装置との間の第1の通信経路を介した通信が導通する第1のアクセサリ通信部と、前記撮像装置との間に第2の通信経路を設ける第2のアクセサリ通信部と、前記第1のアクセサリ通信部又は前記第2のアクセサリ通信部を介した通信を制御するアクセサリ制御部とを有するアクセサリ装置の通信制御方法であって、
前記撮像装置から第1の要求を前記第2の通信経路を介して受信するステップと、
前記第1の要求に応じて、前記アクセサリ装置が通信を停止するか否かに対応する第1の情報を前記第2の通信経路を介して前記撮像装置に送信するステップとを有することを特徴とするアクセサリ装置の通信制御方法。
An accessory device mounted on an imaging device capable of mounting a plurality of accessory devices including a lens device, wherein communication is conducted via a first communication path between the imaging device and the lens device. Controlling the communication via the second accessory communication unit and the second accessory communication unit that provides a second communication path between the accessory communication unit and the imaging device. A communication control method for an accessory device having an accessory control unit,
Receiving a first request from the imaging device via the second communication path;
Transmitting, in response to the first request, first information corresponding to whether or not the accessory device stops communication, to the imaging device via the second communication path. Control method for accessory device.
撮像装置のコンピュータに、請求項34に記載の通信制御方法に従う処理を実行させることを特徴とするコンピュータプログラム。 A computer program for causing a computer of an imaging device to execute processing according to the communication control method according to claim 34. 撮像装置に装着が可能なアクセサリ装置のコンピュータに、請求項35に記載の通信制御方法に従う処理を実行させることを特徴とするコンピュータプログラム。


A computer program that causes a computer of an accessory device that can be attached to an imaging device to execute processing according to the communication control method according to claim 35.


JP2019111049A 2018-06-29 2019-06-14 Imaging device, accessory device, and communication control method thereof Active JP6736730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/456,672 US11412125B2 (en) 2018-06-29 2019-06-28 Imaging apparatus, accessory apparatus, and communication control method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2018124017 2018-06-29
JP2018124017 2018-06-29
JP2018143940 2018-07-31
JP2018143940 2018-07-31

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020120318A Division JP7071446B2 (en) 2018-06-29 2020-07-14 Imaging devices, accessory devices and their communication control methods

Publications (2)

Publication Number Publication Date
JP2020024378A JP2020024378A (en) 2020-02-13
JP6736730B2 true JP6736730B2 (en) 2020-08-05

Family

ID=69618686

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019111049A Active JP6736730B2 (en) 2018-06-29 2019-06-14 Imaging device, accessory device, and communication control method thereof
JP2020120318A Active JP7071446B2 (en) 2018-06-29 2020-07-14 Imaging devices, accessory devices and their communication control methods

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2020120318A Active JP7071446B2 (en) 2018-06-29 2020-07-14 Imaging devices, accessory devices and their communication control methods

Country Status (1)

Country Link
JP (2) JP6736730B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6736730B2 (en) * 2018-06-29 2020-08-05 キヤノン株式会社 Imaging device, accessory device, and communication control method thereof
US11412125B2 (en) 2018-06-29 2022-08-09 Canon Kabushiki Kaisha Imaging apparatus, accessory apparatus, and communication control method
SG11202112194XA (en) 2020-04-09 2021-12-30 Canon Kk Electronic apparatus and accessory
CN117850125A (en) * 2020-04-09 2024-04-09 佳能株式会社 Electronic device and accessory
JP2021167943A (en) * 2020-04-09 2021-10-21 キヤノン株式会社 Electronic apparatus and accessory

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014071289A (en) * 2012-09-28 2014-04-21 Nikon Corp Exchangeable lens, adaptor, camera system
CN108139654B (en) * 2015-10-20 2020-10-30 富士胶片株式会社 Lens system, auxiliary device, communication method, and recording medium
JP6700837B2 (en) * 2016-02-16 2020-05-27 キヤノン株式会社 Imaging device, lens unit, accessory, control method thereof, and imaging system
JP6736730B2 (en) * 2018-06-29 2020-08-05 キヤノン株式会社 Imaging device, accessory device, and communication control method thereof

Also Published As

Publication number Publication date
JP7071446B2 (en) 2022-05-19
JP2020024378A (en) 2020-02-13
JP2020177250A (en) 2020-10-29

Similar Documents

Publication Publication Date Title
JP6736730B2 (en) Imaging device, accessory device, and communication control method thereof
US11412125B2 (en) Imaging apparatus, accessory apparatus, and communication control method
CN108989657B (en) Image pickup apparatus, interchangeable lens, intermediate accessory, and control method therefor
JP7134798B2 (en) Camera, adapter device, and imaging control program
US11706523B2 (en) Imaging apparatus, accessory apparatus, and communication control method
JP6921896B2 (en) Imaging equipment, interchangeable lenses, intermediate accessories and their control methods
WO2018221590A1 (en) Accessory device, camera, communication control program, and camera system
US11543736B2 (en) Camera, accessory apparatus, communication control method, storage medium, and camera system
WO2018221591A1 (en) Accessory device, camera, and communication control program
JP2020003602A (en) Imaging device, accessory device, and control method of the imaging device and the accessory device
US11778314B2 (en) Imaging apparatus, accessory apparatus, and methods for controlling same
JP6427288B1 (en) Accessory device, camera and communication control program
JP6479242B2 (en) Camera and communication control method thereof
CN110661964A (en) Image pickup apparatus, accessory apparatus, communication control method therefor, and storage medium
CN110501857B (en) Accessory device, camera system having the same, and storage medium
JP7005282B2 (en) Imaging equipment, accessory equipment and their control methods
JP7341741B2 (en) Imaging device, accessory device, and communication control method
WO2018221558A1 (en) Camera and communication control method for same
JP2020038267A (en) Imaging apparatus and accessory device
JP6790181B2 (en) Imaging devices, accessories, intermediate accessories and their control methods
JP2023177479A (en) Accessory devices, imaging apparatus, imaging system, control method, and program
JP2020034745A (en) Accessory, camera, and communication control program
JP2020034802A (en) Accessory, camera, and communication control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191021

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20191021

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20191226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200407

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200604

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200715

R151 Written notification of patent or utility model registration

Ref document number: 6736730

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151