JP6768419B2 - Accessory device, image pickup device and communication control program - Google Patents

Accessory device, image pickup device and communication control program Download PDF

Info

Publication number
JP6768419B2
JP6768419B2 JP2016169536A JP2016169536A JP6768419B2 JP 6768419 B2 JP6768419 B2 JP 6768419B2 JP 2016169536 A JP2016169536 A JP 2016169536A JP 2016169536 A JP2016169536 A JP 2016169536A JP 6768419 B2 JP6768419 B2 JP 6768419B2
Authority
JP
Japan
Prior art keywords
image pickup
accessory device
accessory
data
notification
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
JP2016169536A
Other languages
Japanese (ja)
Other versions
JP2018036503A (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 JP2016169536A priority Critical patent/JP6768419B2/en
Publication of JP2018036503A publication Critical patent/JP2018036503A/en
Application granted granted Critical
Publication of JP6768419B2 publication Critical patent/JP6768419B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、相互に通信が可能な撮像装置(以下、カメラ本体という)と交換レンズ等のアクセサリ装置に関する。 The present invention relates to an imaging device (hereinafter referred to as a camera body) capable of communicating with each other and an accessory device such as an interchangeable lens.

アクセサリ装置が着脱可能なカメラ本体を含むアクセサリ交換型カメラシステムでは、カメラ本体がアクセサリ装置を制御したりアクセサリ装置がその制御や撮像に必要なデータをカメラ本体に提供したりするための通信が行われる。特に、交換レンズを用いて記録用動画やライブビュー表示用動画を撮像する際にはその撮像周期に合わせた滑らかなレンズ制御が求められるため、カメラ本体の撮像タイミングと交換レンズの制御タイミングとの同期をとる必要がある。したがって、カメラ本体は、交換レンズからのデータの受信と交換レンズへの各種命令や要求等の送信とを撮像周期内で完了させる必要がある。ただし、カメラ本体が交換レンズから受信するデータ量が増加したり撮像周期が短縮したり(高フレームレート化したり)することで、より短時間で大量のデータの通信が求められる。 In an accessory-replaceable camera system that includes a camera body to which an accessory device can be attached and detached, communication is performed so that the camera body controls the accessory device and the accessory device provides the camera body with data necessary for the control and imaging. It is said. In particular, when an interchangeable lens is used to image a video for recording or a video for live view display, smooth lens control is required according to the imaging cycle, so the imaging timing of the camera body and the control timing of the interchangeable lens Need to be synchronized. Therefore, the camera body needs to complete the reception of data from the interchangeable lens and the transmission of various commands and requests to the interchangeable lens within the imaging cycle. However, as the amount of data received by the camera body from the interchangeable lens increases and the imaging cycle is shortened (higher frame rate), communication of a large amount of data is required in a shorter time.

特許文献1には、交換レンズからカメラ本体に大容量データを送信する場合に、通常はカメラ本体から交換レンズへのデータ送信に用いられる通信チャネルを交換レンズからカメラ本体へのデータ送信用の通信チャネルに切り替えるカメラシステムが開示されている。このカメラシステムでは、もともと交換レンズからカメラ本体へのデータ送信に用いられる通信チャネルが別に用意されているので、大容量データの送信時には、2つの通信チャネルで交換レンズからカメラ本体へのデータ送信が行われる。 In Patent Document 1, when a large amount of data is transmitted from the interchangeable lens to the camera body, the communication channel normally used for data transmission from the camera body to the interchangeable lens is changed to communication for data transmission from the interchangeable lens to the camera body. A camera system that switches to a channel is disclosed. In this camera system, a communication channel originally used for data transmission from the interchangeable lens to the camera body is separately prepared, so when transmitting a large amount of data, data transmission from the interchangeable lens to the camera body is performed through two communication channels. Will be done.

特開2015−121638号公報Japanese Unexamined Patent Publication No. 2015-121638

しかしながら、特許文献1にて開示されたカメラシステムでは、通信方向が切り替えられるチャネルでは、その切り替えに際して交換レンズからカメラ本体に送信されるデータのカメラ本体から交換レンズに送信されるデータとの衝突を回避する必要がある。例えば、カメラ本体や交換レンズのマイクロコンピュータが、静電気による回路の異常によって通信方向を正確に認識できなくなるエラー(リセット)が発生した場合にそのまま両者間でデータ送信を続けると、データの衝突が発生する。 However, in the camera system disclosed in Patent Document 1, in the channel where the communication direction is switched, the data transmitted from the interchangeable lens to the camera body may collide with the data transmitted from the camera body to the interchangeable lens at the time of the switching. Need to avoid. For example, if the camera body or the microcomputer of the interchangeable lens continues to transmit data between the two when an error (reset) occurs that makes it impossible to accurately recognize the communication direction due to a circuit abnormality due to static electricity, data collision occurs. To do.

本発明は、撮像装置とアクセサリ装置のいずれかにおいて通信方向の認識ができなくなるエラーが発生した場合に撮像装置とアクセサリ装置のそれぞれから送信されるデータの衝突を回避できるようにした撮像装置およびアクセサリ装置を提供する。 The present invention is an imaging device and an accessory that can avoid a collision of data transmitted from each of the imaging device and the accessory device when an error that makes it impossible to recognize the communication direction occurs in either the imaging device or the accessory device. Provide the device.

本発明の一側面としての撮像装置は、アクセサリ装置が取り外し可能に装着される。該撮像装置は、アクセサリ装置との間に、撮像装置からアクセサリ装置への通知に用いられる通知チャネルと、アクセサリ装置から撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、撮像装置とアクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるカメラ通信部と、カメラ通信部を介したアクセサリ装置とのデータ通信を制御するカメラ制御部とを有する。カメラ通信部は、第2のデータ通信チャネルでのデータ送信方向を、撮像装置からアクセサリ装置への第1の方向とアクセサリ装置から撮像装置への第2の方向とに切替え可能に設定する。カメラ制御部は、カメラ通信部における第2のデータ通信チャネルでのデータ送信方向を認識できなくなるエラーが発生した場合に、通知チャネルを介して、アクセサリ装置にエラーの発生を通知するためのエラー通知を行うことを特徴とする。 In the imaging device as one aspect of the present invention, an accessory device is detachably attached. The image pickup device includes a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and an image pickup device, and the image pickup device. A camera communication unit that provides three channels consisting of a second data communication channel used for data transmission with the accessory device, and a camera control unit that controls data communication between the accessory device via the camera communication unit. And have. The camera communication unit sets the data transmission direction in the second data communication channel so as to be switchable between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. The camera control unit notifies the accessory device of the occurrence of the error via the notification channel when an error occurs in which the camera communication unit cannot recognize the data transmission direction in the second data communication channel. It is characterized by performing.

また、本発明の他の一側面としてのアクセサリ装置は、撮像装置に取り外し可能に装着される。該アクセサリ装置は、撮像装置との間に、撮像装置からアクセサリ装置への通知に用いられる通知チャネルと、アクセサリ装置から撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、撮像装置とアクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるアクセサリ通信部と、アクセサリ通信部を介した撮像装置とのデータ通信を制御するアクセサリ制御部とを有する。撮像装置は、第2のデータ通信チャネルでのデータ送信方向を、撮像装置からアクセサリ装置への第1の方向とアクセサリ装置から撮像装置への第2の方向とに切替え可能に設定する。アクセサリ制御部は、通知チャネルを介して撮像装置から第2のデータ通信チャネルでのデータ送信方向を認識できなくなるエラーの発生を通知するエラー通知を受けることに応じて、撮像装置へのデータ送信を停止することを特徴とする。 Further, the accessory device as another aspect of the present invention is detachably attached to the image pickup device. The accessory device includes a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and an image pickup device, and the image pickup device. An accessory communication unit that provides three channels consisting of a second data communication channel used for data transmission to and from the accessory device, and an accessory control unit that controls data communication between the image pickup device and the image pickup device via the accessory communication unit. And have. The image pickup device sets the data transmission direction in the second data communication channel so as to be switchable between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. The accessory control unit transmits data to the image pickup device in response to receiving an error notification from the image pickup device via the notification channel to notify the occurrence of an error that makes it impossible to recognize the data transmission direction in the second data communication channel. It is characterized by stopping.

また、本発明の他の一側面としてのアクセサリ装置は、撮像装置に取り外し可能に装着される。該アクセサリ装置は、撮像装置との間に、撮像装置からアクセサリ装置への通知に用いられる通知チャネルと、アクセサリ装置から撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、撮像装置とアクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるアクセサリ通信部と、アクセサリ通信部を介した撮像装置とのデータ通信を制御するアクセサリ制御部とを有する。アクセサリ通信部は、第2のデータ通信チャネルでのデータ送信方向を、撮像装置からアクセサリ装置への第1の方向とアクセサリ装置から撮像装置への第2の方向とに切替え可能に設定する。アクセサリ制御部は、アクセサリ通信部における前記第2のデータ通信チャネルでのデータ送信方向を認識できなくなるエラーが発生した場合に、第1の通信チャネルを介して、撮像装置にエラーの発生を通知するためのエラー通知を行うことを特徴とする。 Further, the accessory device as another aspect of the present invention is detachably attached to the image pickup device. The accessory device includes a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and an image pickup device, and the image pickup device. An accessory communication unit that provides three channels consisting of a second data communication channel used for data transmission to and from the accessory device, and an accessory control unit that controls data communication between the image pickup device and the image pickup device via the accessory communication unit. And have. The accessory communication unit sets the data transmission direction in the second data communication channel so as to be switchable between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. When an error occurs in the accessory communication unit that makes it impossible to recognize the data transmission direction in the second data communication channel, the accessory control unit notifies the image pickup apparatus of the occurrence of the error via the first communication channel. It is characterized by performing an error notification for the purpose.

本発明の他の一側面としての撮像装置は、アクセサリ装置が取り外し可能に装着される。該撮像装置は、アクセサリ装置との間に、撮像装置からアクセサリ装置への通知に用いられる通知チャネルと、アクセサリ装置から撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、撮像装置とアクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるカメラ通信部と、カメラ通信部を介したアクセサリ装置とのデータ通信を制御するカメラ制御部とを有する。アクセサリ装置は、第2のデータ通信チャネルでのデータ送信方向を、撮像装置からアクセサリ装置への第1の方向とアクセサリ装置から撮像装置への第2の方向とに切替え可能に設定する。カメラ制御部は、通知チャネルを介してアクセサリ装置に送信要求通知を行うことで該アクセサリ装置にデータ送信を行わせ、第1の通信チャネルを介してアクセサリ装置から第2のデータ通信チャネルでのデータ送信方向を認識できなくなるエラーの発生を通知するエラー通知を受けることに応じて、アクセサリ装置に対する送信要求通知を解除することを特徴とする。 In the imaging device as another aspect of the present invention, an accessory device is detachably attached. The image pickup device includes a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and an image pickup device, and the image pickup device. A camera communication unit that provides three channels consisting of a second data communication channel used for data transmission with the accessory device, and a camera control unit that controls data communication between the accessory device via the camera communication unit. And have. The accessory device is set so that the data transmission direction in the second data communication channel can be switched between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. The camera control unit causes the accessory device to transmit data by notifying the accessory device of the transmission request via the notification channel, and the data from the accessory device to the second data communication channel via the first communication channel. It is characterized in that the transmission request notification to the accessory device is canceled in response to receiving the error notification for notifying the occurrence of the error that the transmission direction cannot be recognized.

なお、撮像装置およびアクセサリ装置のコンピュータに、上述した撮像装置およびアクセサリ装置の動作を行わせるコンピュータプログラムとしての通信制御プログラムも、本発明の他の一側面を構成する。 A communication control program as a computer program for causing the computer of the imaging device and the accessory device to operate the above-mentioned imaging device and the accessory device also constitutes another aspect of the present invention.

本発明によれば、撮像装置とアクセサリ装置のいずれかにおいて通信方向の認識ができなくなるエラーが発生した場合に撮像装置とアクセサリ装置のそれぞれから送信されるデータの衝突を回避して、安定したデータ通信を行うことができる。 According to the present invention, when an error that the communication direction cannot be recognized occurs in either the image pickup device or the accessory device, collision of data transmitted from each of the image pickup device and the accessory device is avoided, and stable data is obtained. Can communicate.

本発明の実施例であるレンズ交換型カメラシステムの構成を示すブロック図。The block diagram which shows the structure of the interchangeable lens type camera system which is an Example of this invention. 実施例におけるカメラ本体と交換レンズとの間の通信回路を示す図。The figure which shows the communication circuit between a camera body and an interchangeable lens in an Example. 実施例におけるDLC2ch通信設定での通信波形を示す図。The figure which shows the communication waveform in the DLC2ch communication setting in an Example. 実施例における初期通信設定とDLC2ch通信設定のバッファ方向の遷移を示す図。The figure which shows the transition of the initial communication setting and the DLC2ch communication setting in the buffer direction in an Example. 実施例におけるカメラマイコンによる通信方向認識エラーの伝達処理を示すタイミングチャート。The timing chart which shows the transmission process of the communication direction recognition error by the camera microcomputer in an Example. 図5の通信方向認識エラーの伝達処理を示すフローチャート。The flowchart which shows the transmission process of the communication direction recognition error of FIG. 実施例におけるレンズマイコンによる通信方向認識エラーの伝達処理を示すタイミングチャート。The timing chart which shows the transmission process of the communication direction recognition error by the lens microcomputer in an Example. 図7の通信方向認識エラーの伝達処理を示すフローチャート。The flowchart which shows the transmission process of the communication direction recognition error of FIG.

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

図1には、本発明の実施例1である撮像装置としてのカメラ本体200とこれに取り外し可能に装着されたアクセサリ装置としての交換レンズ100とを含む撮像システム(以下、カメラシステムという)の構成を示している。 FIG. 1 shows a configuration of an imaging system (hereinafter referred to as a camera system) including a camera body 200 as an imaging device according to a first embodiment of the present invention and an interchangeable lens 100 as an accessory device detachably attached thereto. Is shown.

カメラ本体200と交換レンズ100は、それぞれが有する通信部を介して制御命令や内部情報の伝送を行う。また、それぞれの通信部は複数の通信フォーマットをサポートしており、通信データの種類や通信目的に応じて互いに同期して同一の通信フォーマットに切り替えることにより、様々な状況に対する最適な通信フォーマットを選択することが可能となっている。 The camera body 200 and the interchangeable lens 100 transmit control commands and internal information via their respective communication units. In addition, each communication unit supports multiple communication formats, and by switching to the same communication format in synchronization with each other according to the type of communication data and communication purpose, the optimum communication format for various situations can be selected. It is possible to do.

まず、交換レンズ100とカメラ本体200の具体的な構成について説明する。交換レンズ100とカメラ本体200は、結合機構であるマウント300を介して機械的および電気的に接続されている。交換レンズ100は、マウント300に設けられた電源端子部(図示せず)を介してカメラ本体200から電源の供給を受け、後述する各種アクチュエータやレンズマイクロコンピュータ(以下、レンズマイコンという)111を動作させる。また、交換レンズ100とカメラ本体200は、マウント300に設けられた通信端子部(図2に示す)を介して相互に通信を行う。 First, a specific configuration of the interchangeable lens 100 and the camera body 200 will be described. The interchangeable lens 100 and the camera body 200 are mechanically and electrically connected via a mount 300, which is a coupling mechanism. The interchangeable lens 100 receives power from the camera body 200 via a power supply terminal (not shown) provided on the mount 300, and operates various actuators and a lens microcomputer (hereinafter referred to as a lens microcomputer) 111, which will be described later. Let me. Further, the interchangeable lens 100 and the camera body 200 communicate with each other via a communication terminal portion (shown in FIG. 2) provided on the mount 300.

交換レンズ100は、撮像光学系を有する。撮像光学系は、被写体OBJ側から順に、フィールドレンズ101と、変倍を行う変倍レンズ102と、光量を調節する絞りユニット114と、像振れ補正レンズ103と、焦点調節を行うフォーカスレンズ104とを含む。 The interchangeable lens 100 has an imaging optical system. The imaging optical system includes a field lens 101, a variable magnification lens 102 that performs magnification change, an aperture unit 114 that adjusts the amount of light, an image shake correction lens 103, and a focus lens 104 that adjusts focus, in order from the subject OBJ side. including.

変倍レンズ102とフォーカスレンズ104はそれぞれ、レンズ保持枠105,106により保持されている。レンズ保持枠105,106は、不図示のガイド軸により図中に破線で示した光軸方向に移動可能にガイドされており、それぞれステッピングモータ107,108によって光軸方向に駆動される。ステッピングモータ107,108はそれぞれ、駆動パルスに同期して変倍レンズ102およびフォーカスレンズ104を移動させる。 The variable magnification lens 102 and the focus lens 104 are held by lens holding frames 105 and 106, respectively. The lens holding frames 105 and 106 are movably guided in the optical axis direction shown by a broken line in the drawing by a guide shaft (not shown), and are driven in the optical axis direction by stepping motors 107 and 108, respectively. The stepping motors 107 and 108 move the variable magnification lens 102 and the focus lens 104 in synchronization with the drive pulse, respectively.

像振れ補正レンズ103は、撮像光学系の光軸に直交する方向に移動することで、手振れ等に起因する像振れを低減する。 The image shake correction lens 103 moves in a direction orthogonal to the optical axis of the image pickup optical system to reduce image shake caused by camera shake or the like.

レンズマイコン111は、交換レンズ100内の各部の動作を制御するアクセサリ制御部である。レンズマイコン111は、アクセサリ通信部としてのレンズデータ送受信部112bを介して、カメラ本体200から送信された制御コマンドを受信し、レンズデータ(アクセサリデータ)の送信要求を受ける。また、レンズマイコン111は、制御コマンドに対応するレンズ制御を行い、レンズデータ送受信部112bを介して送信要求に対応するレンズデータをカメラ本体200に送信する。レンズマイコン111は、コンピュータプログラムとしての通信制御プログラムに従ってカメラ本体200(後述するカメラマイクロコンピュータ205)との通信に関する動作を行う。 The lens microcomputer 111 is an accessory control unit that controls the operation of each part in the interchangeable lens 100. The lens microcomputer 111 receives a control command transmitted from the camera body 200 via the lens data transmission / reception unit 112b as an accessory communication unit, and receives a transmission request for lens data (accessory data). Further, the lens microcomputer 111 performs lens control corresponding to the control command, and transmits the lens data corresponding to the transmission request to the camera body 200 via the lens data transmission / reception unit 112b. The lens microcomputer 111 performs an operation related to communication with the camera body 200 (camera microcomputer 205 described later) according to a communication control program as a computer program.

また、レンズマイコン111は、制御コマンドのうち変倍やフォーカシングに関するコマンドに応答してズーム駆動回路119およびフォーカス駆動回路120に駆動信号を出力してステッピングモータ107,108を駆動させる。これにより、変倍レンズ102による変倍動作を制御するズーム処理やフォーカスレンズ104による焦点調節動作を制御するAF(オートフォーカス)処理が行われる。 Further, the lens microcomputer 111 outputs a drive signal to the zoom drive circuit 119 and the focus drive circuit 120 in response to commands related to scaling and focusing among control commands to drive the stepping motors 107 and 108. As a result, zoom processing for controlling the variable magnification operation by the variable magnification lens 102 and AF (autofocus) processing for controlling the focus adjustment operation by the focus lens 104 are performed.

交換レンズ100は、ユーザにより回転操作可能なマニュアルフォーカスリング130と、該マニュアルフォーカスリング130の回転操作量を検出するフォーカスエンコーダ131とを有する。レンズマイコン111は、フォーカスエンコーダ131により検出されたマニュアルフォーカスリング130の回転操作量に応じてフォーカス駆動回路120にステッピングモータ108を駆動させてフォーカスレンズ104を移動させる。これにより、MF(マニュアルフォーカス)が行われる。 The interchangeable lens 100 includes a manual focus ring 130 that can be rotated by the user, and a focus encoder 131 that detects the amount of rotation of the manual focus ring 130. The lens microcomputer 111 moves the focus lens 104 by driving the stepping motor 108 to the focus drive circuit 120 according to the rotation operation amount of the manual focus ring 130 detected by the focus encoder 131. As a result, MF (manual focus) is performed.

絞りユニット114は、絞り羽根114a、114bを備えて構成される。絞り羽根114a,114bの状態は、ホール素子115により検出され、増幅回路122およびA/D変換回路123を介してレンズマイコン111に入力される。レンズマイコン111は、A/D変換回路123からの入力信号に基づいて絞り駆動回路121に駆動信号を出力して絞りアクチュエータ113を駆動させる。これにより、絞りユニット114による光量調節動作を制御する。 The diaphragm unit 114 includes diaphragm blades 114a and 114b. The states of the diaphragm blades 114a and 114b are detected by the Hall element 115 and input to the lens microcomputer 111 via the amplifier circuit 122 and the A / D conversion circuit 123. The lens microcomputer 111 outputs a drive signal to the aperture drive circuit 121 based on the input signal from the A / D conversion circuit 123 to drive the aperture actuator 113. Thereby, the light amount adjustment operation by the diaphragm unit 114 is controlled.

さらに、レンズマイコン111は、交換レンズ100内に設けられた振動ジャイロ等の不図示の振れセンサにより検出された振れに応じて、防振駆動回路125を介して防振アクチュエータ126を駆動する。これにより、像振れ補正レンズ103の移動を制御する像振れ補正処理が行われる。 Further, the lens microcomputer 111 drives the vibration-proof actuator 126 via the vibration-proof drive circuit 125 in response to the vibration detected by a vibration sensor (not shown) such as a vibration gyro provided in the interchangeable lens 100. As a result, the image shake correction process for controlling the movement of the image shake correction lens 103 is performed.

カメラ本体200は、CCDセンサやCMOSセンサ等の撮像素子201と、A/D変換回路202と、信号処理回路203と、記録部204と、カメラマイクロコンピュータ(以下、カメラマイコンという)205と、表示部206とを有する。 The camera body 200 displays an image sensor 201 such as a CCD sensor or a CMOS sensor, an A / D conversion circuit 202, a signal processing circuit 203, a recording unit 204, and a camera microcomputer (hereinafter referred to as a camera microcomputer) 205. It has a part 206.

撮像素子201は、交換レンズ100内の撮像光学系により形成された被写体像を光電変換して電気信号(アナログ信号)を出力する。A/D変換回路202は、撮像素子201からのアナログ信号をデジタル信号に変換する。信号処理回路203は、A/D変換回路202からのデジタル信号に対して各種画像処理を行って映像信号を生成する。 The image sensor 201 photoelectrically converts the subject image formed by the image pickup optical system in the interchangeable lens 100 and outputs an electric signal (analog signal). The A / D conversion circuit 202 converts the analog signal from the image sensor 201 into a digital signal. The signal processing circuit 203 performs various image processing on the digital signal from the A / D conversion circuit 202 to generate a video signal.

また、信号処理回路203は、映像信号から被写体像のコントラスト状態、つまりは撮像光学系の焦点状態を示すフォーカス情報や露出状態を表す輝度情報も生成する。信号処理回路203は、映像信号を表示部206に出力し、表示部206は映像信号を構図やピント状態等の確認に用いられるライブビュー画像として表示する。また、信号処理回路203は、映像信号を記録部204に出力し、記録部204は映像信号を記録する。 Further, the signal processing circuit 203 also generates the contrast state of the subject image, that is, the focus information indicating the focus state of the imaging optical system and the luminance information indicating the exposure state from the video signal. The signal processing circuit 203 outputs a video signal to the display unit 206, and the display unit 206 displays the video signal as a live view image used for checking the composition, focus state, and the like. Further, the signal processing circuit 203 outputs a video signal to the recording unit 204, and the recording unit 204 records the video signal.

カメラ制御部としてのカメラマイコン205は、不図示の撮像指示スイッチおよび各種設定スイッチ等を含むカメラ操作部207からの入力に応じてカメラ本体200の制御を行う。また、カメラマイコン205は、カメラデータ送受信部208bを介して、不図示のズームスイッチの操作に応じて変倍レンズ102の変倍動作に関する制御コマンドをレンズマイコン111に送信する。さらに、カメラマイコン205は、カメラデータ送受信部208bを介して、輝度情報に応じた絞りユニット114の光量調節動作やフォーカス情報に応じたフォーカスレンズ104の焦点調節動作に関する制御コマンドをレンズマイコン111に送信する。カメラマイコン205は、コンピュータプログラムとしての通信制御プログラムに従ってレンズマイコン111との通信に関する動作を行う。 The camera microcomputer 205 as a camera control unit controls the camera body 200 in response to an input from the camera operation unit 207 including an imaging instruction switch (not shown), various setting switches, and the like. Further, the camera microcomputer 205 transmits a control command related to the variable magnification operation of the variable magnification lens 102 to the lens microcomputer 111 in response to an operation of a zoom switch (not shown) via the camera data transmission / reception unit 208b. Further, the camera microcomputer 205 transmits to the lens microcomputer 111 control commands related to the light amount adjusting operation of the aperture unit 114 according to the luminance information and the focus adjusting operation of the focus lens 104 according to the focus information via the camera data transmission / reception unit 208b. To do. The camera microcomputer 205 performs an operation related to communication with the lens microcomputer 111 according to a communication control program as a computer program.

次に、図2を用いてカメラ本体200(カメラマイコン205)と交換レンズ100(レンズマイコン111)との間で構成される通信回路とこれらの間で行われる通信処理について説明する。カメラマイコン205は、レンズマイコン111との間での通信方式や通信設定を管理する機能と、レンズマイコン111に対して送信要求等の通知を行う機能とを有する。また、レンズマイコン111は、レンズデータを生成する機能と該レンズデータを送信する機能とを有する。さらに、カメラマイコン205とレンズマイコン111はそれぞれ記憶素子であるレジスタ123,210と、内部を初期化するためのリセット回路124,209とを有する。本実施例でのリセット回路はLowアクティブとする。 Next, the communication circuit configured between the camera body 200 (camera microcomputer 205) and the interchangeable lens 100 (lens microcomputer 111) and the communication processing performed between them will be described with reference to FIG. The camera microcomputer 205 has a function of managing a communication method and communication settings with the lens microcomputer 111, and a function of notifying the lens microcomputer 111 of a transmission request or the like. Further, the lens microcomputer 111 has a function of generating lens data and a function of transmitting the lens data. Further, the camera microcomputer 205 and the lens microcomputer 111 have registers 123 and 210, which are storage elements, and reset circuits 124 and 209 for initializing the inside, respectively. The reset circuit in this embodiment is Low active.

カメラマイコン205はカメラ通信インタフェース回路208aを有し、レンズマイコン111はレンズ通信インタフェース回路112aを有する。カメラマイコン205(カメラデータ送受信部208b)とレンズマイコン111(レンズデータ送受信部112b)は、マウント300に設けられた通信端子部(図中に3つの四角形で示す)と上記通信インタフェース回路208a,112aを介して通信を行う。本実施例では、カメラマイコン205とレンズマイコン111は、3つのチャネルを用いた(3線式の)調歩同期式シリアル通信を行う。カメラ通信インタフェース回路208aとカメラデータ送受信部208bによりカメラ通信部208が構成され、レンズ通信インタフェース回路112aとレンズデータ送受信部112bによりアクセサリ通信部としてのレンズ通信部112が構成される。 The camera microcomputer 205 has a camera communication interface circuit 208a, and the lens microcomputer 111 has a lens communication interface circuit 112a. The camera microcomputer 205 (camera data transmission / reception unit 208b) and the lens microcomputer 111 (lens data transmission / reception unit 112b) include a communication terminal unit (indicated by three squares in the figure) provided on the mount 300 and the communication interface circuits 208a and 112a. Communicate via. In this embodiment, the camera microcomputer 205 and the lens microcomputer 111 perform (3-wire) pace-synchronized serial communication using three channels. The camera communication interface circuit 208a and the camera data transmission / reception unit 208b constitute the camera communication unit 208, and the lens communication interface circuit 112a and the lens data transmission / reception unit 112b constitute the lens communication unit 112 as an accessory communication unit.

上記3つのチャネルは、通知チャネルとしての送信要求チャネルと、第1のデータ通信チャネルと、第2のデータ通信チャネルとから構成される。送信要求チャネルは、カメラマイコン205からレンズマイコン111へのレンズデータの送信要求(送信指示)や後述する通信設定の切替え要求(切替え指示)等の通知に用いられる。送信要求チャネルでの通知は該送信要求チャネルの信号レベル(電圧レベル)をHigh(第1のレベル)とLow(第2のレベル)との間で切り替えることで行う。以下の説明では、送信要求チャネルに供給される信号を送信要求信号RTSという。 The above three channels are composed of a transmission request channel as a notification channel, a first data communication channel, and a second data communication channel. The transmission request channel is used for notification of a lens data transmission request (transmission instruction) from the camera microcomputer 205 to the lens microcomputer 111, a communication setting switching request (switching instruction) described later, and the like. Notification on the transmission request channel is performed by switching the signal level (voltage level) of the transmission request channel between High (first level) and Low (second level). In the following description, the signal supplied to the transmission request channel is referred to as a transmission request signal RTS.

第1のデータ通信チャネルは、レンズマイコン111からカメラマイコン205へのレンズデータ送信に用いられる。以下の説明では、第1のデータ通信チャネルでレンズマイコン111からカメラマイコン205に信号として送信されるレンズデータを、レンズデータ信号DLCという。第2のデータ通信チャネルは、カメラマイコン205からレンズマイコン111へのカメラデータ送信に用いられる。以下の説明では、第2のデータ通信チャネルでカメラマイコン205からレンズマイコン111に信号として送信されるカメラデータを、カメラデータ信号DCLという。 The first data communication channel is used for transmitting lens data from the lens microcomputer 111 to the camera microcomputer 205. In the following description, the lens data transmitted as a signal from the lens microcomputer 111 to the camera microcomputer 205 in the first data communication channel is referred to as a lens data signal DLC. The second data communication channel is used for transmitting camera data from the camera microcomputer 205 to the lens microcomputer 111. In the following description, the camera data transmitted as a signal from the camera microcomputer 205 to the lens microcomputer 111 in the second data communication channel is referred to as a camera data signal DCL.

さらに本実施例では、第2のデータ通信チャネルを、通信インタフェース回路208a,112a内での通信方向(通信設定)の切り替えにより、レンズマイコン111からカメラマイコン205へのレンズデータ送信に用いることも可能となっている。すなわち、第2のデータ通信チャネルの信号回路は、入出力方向の切り替えが可能なように入出力バッファが並列に構成されており、それぞれ排他的に選択可能となっている。レンズマイコン111内のレジスタ123とカメラマイコン205内のレジスタ210には第2のデータ通信チャネルの信号回路のバッファの入出力方向(データ送信方向:以下、バッファ方向という)の初期値としてのレジスタデータが記憶されている。カメラマイコン205とレンズマイコン111は通信開始時に該レジスタデータを読み込むことで通信方向の認識と設定を行う。これにより、カメラマイコン205とレンズマイコン111との間の最初の通信においては、必ずカメラマイコン205からレンズマイコン111にカメラデータ信号DCLが送信されるバッファ方向(図中に白三角形で示すバッファ方向)から通信が開始される。 Further, in this embodiment, the second data communication channel can be used for transmitting lens data from the lens microcomputer 111 to the camera microcomputer 205 by switching the communication direction (communication setting) in the communication interface circuits 208a and 112a. It has become. That is, in the signal circuit of the second data communication channel, the input / output buffers are configured in parallel so that the input / output directions can be switched, and each can be exclusively selected. Register data in the register 123 in the lens microcomputer 111 and the register 210 in the camera microcomputer 205 as initial values of the input / output direction (data transmission direction: hereinafter referred to as the buffer direction) of the buffer of the signal circuit of the second data communication channel. Is remembered. The camera microcomputer 205 and the lens microcomputer 111 recognize and set the communication direction by reading the register data at the start of communication. As a result, in the first communication between the camera microcomputer 205 and the lens microcomputer 111, the buffer direction in which the camera data signal DCL is always transmitted from the camera microcomputer 205 to the lens microcomputer 111 (the buffer direction indicated by the white triangle in the figure). Communication is started from.

以下の説明では、第2のデータ通信チャネルでレンズマイコン111からカメラマイコン205に信号として送信されるレンズデータを、第2のレンズデータ信号DLC2という。また、第2のレンズデータ信号DLC2の送信とともに第1のデータ通信チャネルでレンズマイコン111からカメラマイコン205に送信されるレンズデータ信号DLCを、第2のレンズデータ信号DLC2と区別するため、第1のレンズデータ信号DLCという。 In the following description, the lens data transmitted as a signal from the lens microcomputer 111 to the camera microcomputer 205 on the second data communication channel is referred to as a second lens data signal DLC2. Further, in order to distinguish the lens data signal DLC transmitted from the lens microcomputer 111 to the camera microcomputer 205 on the first data communication channel together with the transmission of the second lens data signal DLC2 from the second lens data signal DLC2, the first lens data signal DLC2 is transmitted. Lens data signal DLC.

また、レンズマイコン111からカメラマイコン205に、第1のデータ通信チャネルのみでレンズデータ信号DLCを送信する(すなわち第2のデータ通信チャネルでカメラデータ信号DCLを送信する)通信設定を通常通信設定(第1の設定)という。一方、第1および第2のデータ通信チャネルの双方で第1および第2のレンズデータ信号DLC,DLC2を送信する通信設定をDLC2ch通信設定(第2の設定)という。 Further, the communication setting for transmitting the lens data signal DLC from the lens microcomputer 111 to the camera microcomputer 205 only on the first data communication channel (that is, transmitting the camera data signal DCL on the second data communication channel) is set as a normal communication setting (that is, the camera data signal DCL is transmitted on the second data communication channel). The first setting). On the other hand, a communication setting for transmitting the first and second lens data signals DLC and DLC2 on both the first and second data communication channels is called a DLC 2ch communication setting (second setting).

次に、図3を用いてDLC2ch通信設定について説明する。図中の丸囲み数字1〜3はタイミングを示し、以下の文中では「1」〜「3」で示す。カメラマイコン205での通信を開始するイベントが発生すると、カメラマイコン205は、送信要求信号RTSのレベルをLowにする(以下、送信要求信号RTSをアサートするという)ことで、レンズマイコン111に対して通信要求通知を行う「1」。 Next, the DLC 2ch communication setting will be described with reference to FIG. Circled numbers 1 to 3 in the figure indicate timing, and are indicated by "1" to "3" in the following sentences. When an event to start communication in the camera microcomputer 205 occurs, the camera microcomputer 205 sets the level of the transmission request signal RTS to Low (hereinafter, referred to as asserting the transmission request signal RTS) to the lens microcomputer 111. "1" to notify the communication request.

送信要求信号RTSがアサートされたことに応じて、レンズマイコン111はカメラマイコン205に第1および第2のレンズデータ信号DLC,DLC2のデータフレームの送信を開始する。カメラマイコン205は、レンズマイコン111からのデータの受信を完了すると、送信要求信号RTSのレベルをHighにする(以下、送信要求信号RTSをネゲートするという)。この送信要求信号RTSのネゲートにより、レンズマイコン111に対して送信要求通知の解除、すなわち通信休止要求通知を行う「2」。さらに、カメラマイコン205は、再び送信要求信号RTSをアサートすることで、第1および第2のレンズデータ信号DLC,DLC2のデータフレームの送信を開始させる「3」。 In response to the assertion of the transmission request signal RTS, the lens microcomputer 111 starts transmitting the data frames of the first and second lens data signals DLC and DLC2 to the camera microcomputer 205. When the camera microcomputer 205 completes the reception of the data from the lens microcomputer 111, the level of the transmission request signal RTS is set to High (hereinafter, the transmission request signal RTS is referred to as negating). By negating the transmission request signal RTS, the transmission request notification is canceled, that is, the communication suspension request notification is sent to the lens microcomputer 111. Further, the camera microcomputer 205 starts transmitting the data frames of the first and second lens data signals DLC and DLC2 by asserting the transmission request signal RTS again “3”.

DLC2ch通信設定は、レンズマイコン111からカメラマイコン205へのデータ転送のみで使用される通信設定として特化されており、このDLC2ch通信設定ではカメラマイコン205からレンズマイコン111へのデータ転送はできない。このように2チャンネルで第1および第2のレンズデータ信号DLC,DLC2をカメラマイコン205に送信することにより、短時間で(高速に)大容量のレンズデータ伝送を行うことができる。 The DLC2ch communication setting is specialized as a communication setting used only for data transfer from the lens microcomputer 111 to the camera microcomputer 205, and data transfer from the camera microcomputer 205 to the lens microcomputer 111 is not possible with this DLC2ch communication setting. By transmitting the first and second lens data signals DLC and DLC2 to the camera microcomputer 205 on the two channels in this way, it is possible to transmit a large amount of lens data in a short time (high speed).

次に、図4を用いて第2のデータ通信チャネル(DCL/DLC2)でのバッファ方向の遷移について説明する。通信開始時の通常通信設定では、カメラおよびレンズ通信インタフェース回路208a,112aのバッファ方向(以下それぞれ、カメラバッファ方向およびレンズバッファ方向という)は図4中の第1欄(丸囲み数字1の欄:以下、同様)に示すようになっている。すなわち、カメラバッファ方向およびレンズバッファ方向はともにカメラマイコン205からレンズマイコン111への送信に対応する方向(以下、レンズ方向という)となっている。なお、レンズ方向とは反対に、レンズマイコン111からカメラマイコン205への送信に対応する方向を、カメラ方向という。 Next, the transition in the buffer direction in the second data communication channel (DCL / DLC2) will be described with reference to FIG. In the normal communication setting at the start of communication, the buffer directions of the camera and lens communication interface circuits 208a and 112a (hereinafter referred to as the camera buffer direction and the lens buffer direction, respectively) are the first column in FIG. 4 (the column of the circled number 1: Hereinafter, the same applies). That is, both the camera buffer direction and the lens buffer direction are directions corresponding to transmission from the camera microcomputer 205 to the lens microcomputer 111 (hereinafter referred to as the lens direction). The direction corresponding to the transmission from the lens microcomputer 111 to the camera microcomputer 205, which is opposite to the lens direction, is referred to as the camera direction.

ここで、通常通信設定のバッファ方向をDLC2ch通信設定のバッファ方向に切り替える際に、カメラマイコン205から送信されるカメラデータ信号DCLとレンズマイコン111から送信される第2のレンズデータ信号DLC2との衝突を回避する必要がある。本実施例では、図4中の第2欄に示すように最初にカメラバッファ方向をカメラ方向に切り替えた後に、同第3欄に示すようにレンズバッファ方向をカメラ方向に切り替える手順を踏んでDLC2ch通信設定でのバッファ方向を設定する。これにより、カメラデータ信号DCLと第2のレンズデータ信号DLC2との衝突を回避することができる。 Here, when switching the buffer direction of the normal communication setting to the buffer direction of the DLC2ch communication setting, the collision between the camera data signal DCL transmitted from the camera microcomputer 205 and the second lens data signal DLC2 transmitted from the lens microcomputer 111. Need to be avoided. In this embodiment, the camera buffer direction is first switched to the camera direction as shown in the second column in FIG. 4, and then the lens buffer direction is switched to the camera direction as shown in the third column of the DLC 2ch. Set the buffer direction in the communication settings. Thereby, the collision between the camera data signal DCL and the second lens data signal DLC2 can be avoided.

また、DLC2ch通信設定のバッファ方向(図4中の第3欄)を通常通信設定のバッファ方向(同第1欄)に戻す際には、第2欄に示すように最初にレンズバッファ方向をレンズ方向に切り替えた後にカメラバッファ方向をレンズ方向に切り替える手順を踏む。これにより、カメラデータ信号DCLと第2のレンズデータ信号DLC2との衝突を回避することができる。 Further, when returning the buffer direction of the DLC2ch communication setting (the third column in FIG. 4) to the buffer direction of the normal communication setting (the first column of the same), the lens buffer direction is first set to the lens as shown in the second column. After switching to the direction, follow the procedure to switch the camera buffer direction to the lens direction. Thereby, the collision between the camera data signal DCL and the second lens data signal DLC2 can be avoided.

ここで、第2のデータ通信チャネルでのバッファ方向の切替え中や切替え後に、静電気等により生じた内部回路の異常に起因してカメラマイコン205およびレンズマイコン111のうち少なくとも一方にリセットが発生すると、現在の通信方向を認識できなくなる。このような通信方向認識エラーが生じた場合でも、カメラマイコン205から送信されるカメラデータ信号DCLとレンズマイコン111から送信される第2のレンズデータ信号DLC2との衝突(データ衝突)を回避する必要がある。 Here, if at least one of the camera microcomputer 205 and the lens microcomputer 111 is reset due to an abnormality in the internal circuit caused by static electricity or the like during or after the buffer direction is switched in the second data communication channel, The current communication direction cannot be recognized. Even when such a communication direction recognition error occurs, it is necessary to avoid collision (data collision) between the camera data signal DCL transmitted from the camera microcomputer 205 and the second lens data signal DLC2 transmitted from the lens microcomputer 111. There is.

このため、本実施例では、カメラマイコン205およびレンズマイコン111は図5〜図8に示すように通信方向認識エラーの発生を相互に通知する処理(エラー通知処理)を行うことで、第2のデータ通信チャネルでのデータ衝突を回避する。カメラマイコン205およびレンズマイコン111は、上記通信制御プログラムに従って本処理を行う。また、以下の説明において、「S」はステップを示す。 Therefore, in the present embodiment, the camera microcomputer 205 and the lens microcomputer 111 perform a process (error notification process) for mutually notifying the occurrence of a communication direction recognition error as shown in FIGS. 5 to 8. Avoid data conflicts on data communication channels. The camera microcomputer 205 and the lens microcomputer 111 perform this processing according to the above communication control program. Further, in the following description, "S" indicates a step.

まず、カメラマイコン205でのリセット(以下、カメラリセットという)により通信方向認識エラーが発生した場合のエラー通知処理について、図5のタイミングチャートおよび図6のフローチャートを用いて説明する。なお、図5および図6中の丸囲み数字1〜3はタイミングを示し、以下の文中では「1」〜「3」で示す。また、図6において、C:はカメラマイコン205が行う処理を示し、L:はレンズマイコン111が行う処理を示す。 First, an error notification process when a communication direction recognition error occurs due to a reset in the camera microcomputer 205 (hereinafter referred to as a camera reset) will be described with reference to the timing chart of FIG. 5 and the flowchart of FIG. The circled numbers 1 to 3 in FIGS. 5 and 6 indicate the timing, and are indicated by "1" to "3" in the following sentences. Further, in FIG. 6, C: indicates a process performed by the camera microcomputer 205, and L: indicates a process performed by the lens microcomputer 111.

S101において、DLC2ch通信設定にあるカメラマイコン205は、送信要求信号RTSをアサートしてレンズマイコン111に送信要求通知を行う「1」。これを確認したレンズマイコン111は、S102において、第1および第2のレンズデータ信号DLC,DLC2のデータフレームの送信を開始する。 In S101, the camera microcomputer 205 in the DLC2ch communication setting asserts the transmission request signal RTS to notify the lens microcomputer 111 of the transmission request "1". After confirming this, the lens microcomputer 111 starts transmitting the data frames of the first and second lens data signals DLC and DLC2 in S102.

次にS103では、カメラマイコン205は、レンズマイコン111から規定量の第1および第2のレンズデータ信号DLC,DLC2を受信したか否かを判定する。カメラマイコン205は、規定量のデータ受信を完了していればS104に進み、送信要求信号RTSをネゲートしてレンズマイコン111に通信休止要求通知を行い、データ送受信を完了する。一方、規定量のデータ受信を完了していない場合は、カメラマイコン205はS105に進む。 Next, in S103, the camera microcomputer 205 determines whether or not the specified amounts of the first and second lens data signals DLC and DLC2 have been received from the lens microcomputer 111. If the camera microcomputer 205 has completed receiving the specified amount of data, it proceeds to S104, negates the transmission request signal RTS, notifies the lens microcomputer 111 of the communication suspension request, and completes the data transmission / reception. On the other hand, if the reception of the specified amount of data is not completed, the camera microcomputer 205 proceeds to S105.

S105では、カメラマイコン205は、カメラリセットが発生したか否かを判定する。カメラマイコン205は、カメラリセットが発生していなければS103に戻り、規定量のデータ受信の完了を待つ。一方、カメラリセットが発生した場合はカメラマイコン205はS106に進み、カメラ本体200の内部回路で発生したリセット信号をトリガとして送信要求信号RTSをネゲートし、レンズマイコン111に通信休止要求通知を行う「2」。このときのカメラバッファ方向はカメラ方向に保持されたままである。 In S105, the camera microcomputer 205 determines whether or not a camera reset has occurred. If the camera reset has not occurred, the camera microcomputer 205 returns to S103 and waits for the completion of receiving the specified amount of data. On the other hand, when a camera reset occurs, the camera microcomputer 205 proceeds to S106, negates the transmission request signal RTS using the reset signal generated in the internal circuit of the camera body 200 as a trigger, and notifies the lens microcomputer 111 of the communication suspension request. 2 ". The camera buffer direction at this time is still held in the camera direction.

また、送信要求信号RTSのネゲートに応じて、レンズマイコン111は、S107においてデータフレームの送信を停止し、送信要求信号RTSのネゲートが維持されている時間(以下、ネゲート時間という)のカウントを開始する。そして、S108においてネゲート時間が所定時間に到達する(ネゲート後に所定時間が経過する)と、レンズマイコン111はS109に進む。 Further, in response to the negate of the transmission request signal RTS, the lens microcomputer 111 stops the transmission of the data frame in S107, and starts counting the time during which the negate of the transmission request signal RTS is maintained (hereinafter referred to as the negate time). To do. Then, when the negate time reaches the predetermined time in S108 (the predetermined time elapses after the negate), the lens microcomputer 111 proceeds to S109.

S109では、レンズマイコン111は、カメラマイコン205にて通信方向認識エラーが発生したことを示すエラー通知を受けたと認識して、データの衝突を回避するために、レンズバッファ方向をカメラ方向からレンズ方向に切り替える「3」。 In S109, the lens microcomputer 111 recognizes that the camera microcomputer 205 has received an error notification indicating that a communication direction recognition error has occurred, and in order to avoid data collision, the lens buffer direction is changed from the camera direction to the lens direction. Switch to "3".

この後、S110において、カメラマイコン205は、リセットからの通信復帰処理の中でカメラバッファ方向をカメラ方向からレンズ方向に切り替える。そして、S111において、カメラマイコン205は、第2のデータ通信チャネルでレンズマイコン111にカメラデータ信号DCLを送信することで通信を復帰させる。 After that, in S110, the camera microcomputer 205 switches the camera buffer direction from the camera direction to the lens direction in the communication recovery process from the reset. Then, in S111, the camera microcomputer 205 restores communication by transmitting the camera data signal DCL to the lens microcomputer 111 on the second data communication channel.

次に、レンズマイコン111でのリセット(以下、レンズリセットという)により通信方向認識エラーが発生した場合のエラー通知処理について、図7のタイミングチャートおよび図8のフローチャートを用いて説明する。なお、図7および図8中の丸囲み数字1〜4はタイミングを示し、以下の文中では「1」〜「4」で示す。また、図8において、C:はカメラマイコン205が行う処理を示し、L:はレンズマイコン111が行う処理をしめす。 Next, an error notification process when a communication direction recognition error occurs due to a reset in the lens microcomputer 111 (hereinafter referred to as a lens reset) will be described with reference to the timing chart of FIG. 7 and the flowchart of FIG. The circled numbers 1 to 4 in FIGS. 7 and 8 indicate the timing, and are indicated by "1" to "4" in the following sentences. Further, in FIG. 8, C: indicates a process performed by the camera microcomputer 205, and L: indicates a process performed by the lens microcomputer 111.

S201において、DLC2ch通信設定にあるカメラマイコン205は、送信要求信号RTSをアサートしてレンズマイコン111に送信要求通知を行う「1」。これを確認したレンズマイコン111は、S202において、第1および第2のレンズデータ信号DLC,DLC2のデータフレームの送信を開始する。 In S201, the camera microcomputer 205 in the DLC2ch communication setting asserts the transmission request signal RTS to notify the lens microcomputer 111 of the transmission request "1". After confirming this, the lens microcomputer 111 starts transmitting the data frames of the first and second lens data signals DLC and DLC2 in S202.

次にS203では、カメラマイコン205は、レンズマイコン111から規定量の第1および第2のレンズデータ信号DLC,DLC2を受信したか否かを判定する。カメラマイコン205は、規定量のデータ受信を完了していればS204に進み、送信要求信号RTSをネゲートしてレンズマイコン111に通信休止要求通知を行い、データ送受信を完了する。一方、規定量のデータ受信を完了していない場合は、カメラマイコン205はS205に進む。 Next, in S203, the camera microcomputer 205 determines whether or not the specified amounts of the first and second lens data signals DLC and DLC2 have been received from the lens microcomputer 111. If the camera microcomputer 205 has completed receiving the specified amount of data, the process proceeds to S204, negates the transmission request signal RTS, notifies the lens microcomputer 111 of the communication suspension request, and completes the data transmission / reception. On the other hand, if the reception of the specified amount of data is not completed, the camera microcomputer 205 proceeds to S205.

S205では、レンズマイコン111は、レンズリセットが発生したか否かを判定する。レンズリセットが発生していなければS203に戻る。ここでは、カメラマイコン205は規定量のデータ受信の完了を待つ。一方、レンズリセットが発生した場合は、レンズマイコン111はS206に進み、交換レンズ100の内部回路で発生したリセット信号をトリガとしてデータフレームの送信を停止する「2」。 In S205, the lens microcomputer 111 determines whether or not a lens reset has occurred. If the lens reset has not occurred, the process returns to S203. Here, the camera microcomputer 205 waits for the completion of receiving a specified amount of data. On the other hand, when the lens reset occurs, the lens microcomputer 111 proceeds to S206 and stops the transmission of the data frame triggered by the reset signal generated in the internal circuit of the interchangeable lens 100.

そして、S207にてレンズマイコン111は、通信方向認識エラーが生じたものとして、第2のデータ通信チャネルのレンズバッファ方向の初期値であるレジスタデータを読み込み、レンズバッファ方向をカメラ方向からレンズ方向に切り替える「3」。これにより、データ衝突を回避する。 Then, in S207, the lens microcomputer 111 reads the register data which is the initial value in the lens buffer direction of the second data communication channel, assuming that the communication direction recognition error has occurred, and changes the lens buffer direction from the camera direction to the lens direction. "3" to switch. This avoids data collisions.

次にS208では、カメラマイコン205は、送信要求信号RTSをアサートし、その後、レンズマイコン111からのデータ送信が途絶えてから(データ送信停止から)所定時間が経過したか否かを判定する。データ送信停止から所定時間が経過した場合は、カメラマイコン205はS209に進む。S209では、カメラマイコン205は、レンズマイコン111にて通信方向認識エラーが発生したことを示すエラー通知を受けたと認識して、送信要求信号RTSをネゲートしてレンズマイコン111に通信休止要求通知を行う「4」。 Next, in S208, the camera microcomputer 205 asserts the transmission request signal RTS, and then determines whether or not a predetermined time has elapsed since the data transmission from the lens microcomputer 111 is interrupted (from the data transmission stop). When a predetermined time has elapsed from the stop of data transmission, the camera microcomputer 205 proceeds to S209. In S209, the camera microcomputer 205 recognizes that the lens microcomputer 111 has received an error notification indicating that a communication direction recognition error has occurred, negates the transmission request signal RTS, and notifies the lens microcomputer 111 of the communication suspension request. "4".

その後、S210でカメラマイコン205は、カメラバッファ方向をカメラ方向からレンズ方向に切り替える。そして、S211において、カメラマイコン205は、第2のデータ通信チャネルでレンズマイコン111にカメラデータ信号DCLを送信することで通信を復帰させる。 After that, in S210, the camera microcomputer 205 switches the camera buffer direction from the camera direction to the lens direction. Then, in S211 the camera microcomputer 205 restores the communication by transmitting the camera data signal DCL to the lens microcomputer 111 on the second data communication channel.

このように、第2のデータ通信チャネルでのバッファ方向の切替え中や切替え後にカメラマイコン205およびレンズマイコン111のうち少なくとも一方にリセットが発生すると通信方向認識エラーが生じる場合がある。しかし、本実施例によれば、カメラマイコン205およびレンズマイコン111が通信方向認識エラーの発生を互いに通知する処理を行うことで、第2のデータ通信チャネルでのデータ衝突を回避することができる。 As described above, if at least one of the camera microcomputer 205 and the lens microcomputer 111 is reset during or after the buffer direction is switched in the second data communication channel, a communication direction recognition error may occur. However, according to this embodiment, the camera microcomputer 205 and the lens microcomputer 111 can avoid the data collision in the second data communication channel by performing the process of notifying each other of the occurrence of the communication direction recognition error.

また、バッファ方向の切替え中に発生した通信方向認識エラーによるデータ衝突の可能性があるのは、DLC2ch通信設定のバッファ方向(図4の第3欄)を通常通信設定のバッファ方向(同第1欄)に切り替える場合である。具体的には、DLC2ch通信設定のバッファ方向から図4の第2欄に示したバッファ方向への切替え途中に発生したカメラリセットによって、カメラバッファ方向のみが通常通信制御部のバッファ方向に切り替わってしまった場合である。この場合、レンズバッファ方向はまだDLC2ch通信設定時のままであるため、第2のデータ通信チャネルでのデータ衝突が生じる。しかし本実施例では、図5および図6を用いて説明したように、リセット信号をトリガとしてカメラマイコン205は送信要求信号RTSをネゲートし、ネゲート時間が所定時間に到達することで通信方向認識エラーの発生をレンズマイコン111に通知する。これにより、第2のデータ通信チャネルでのデータ衝突を回避することができる。 Further, there is a possibility of data collision due to a communication direction recognition error that occurs while switching the buffer direction. The buffer direction of the DLC2ch communication setting (column 3 in FIG. 4) is changed to the buffer direction of the normal communication setting (first). It is a case of switching to the column). Specifically, due to the camera reset that occurred during the switching from the buffer direction of the DLC2ch communication setting to the buffer direction shown in the second column of FIG. 4, only the camera buffer direction was switched to the buffer direction of the normal communication control unit. This is the case. In this case, since the lens buffer direction is still the same as when the DLC 2ch communication is set, a data collision occurs in the second data communication channel. However, in this embodiment, as described with reference to FIGS. 5 and 6, the camera microcomputer 205 negates the transmission request signal RTS with the reset signal as a trigger, and when the negate time reaches a predetermined time, a communication direction recognition error occurs. Is notified to the lens microcomputer 111 of the occurrence of. This makes it possible to avoid data collisions in the second data communication channel.

なお、上記各実施例ではアクセサリ装置として交換レンズを例に説明したが、照明装置(フラッシュ)等の他のアクセサリ装置を用いてもよい。
(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
In each of the above embodiments, an interchangeable lens has been described as an example of the accessory device, but another accessory device such as a lighting device (flash) may be used.
(Other Examples)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

以上説明した各実施例は代表的な例にすぎず、本発明の実施に際しては、各実施例に対して種々の変形や変更が可能である。 Each of the above-described examples is only a representative example, and various modifications and changes can be made to each of the examples in carrying out the present invention.

100 交換レンズ
111 レンズマイコン
112(112a、112b) レンズ通信部
200 カメラ本体
205 カメラマイコン
208(208a、208b) カメラ通信部
100 Interchangeable lens 111 Lens microcomputer 112 (112a, 112b) Lens communication unit 200 Camera body 205 Camera microcomputer 208 (208a, 208b) Camera communication unit

Claims (18)

アクセサリ装置が取り外し可能に装着される撮像装置であって、
前記アクセサリ装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるカメラ通信部と、
前記カメラ通信部を介した前記アクセサリ装置とのデータ通信を制御するカメラ制御部とを有し、
前記カメラ通信部は、前記第2のデータ通信チャネルでのデータ送信方向を、前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定し、
前記カメラ制御部は、前記カメラ通信部における前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーが発生した場合に、前記通知チャネルを介して、前記アクセサリ装置に前記エラーの発生を通知するためのエラー通知を行うことを特徴とする撮像装置。
An imaging device to which an accessory device is detachably attached.
Between the accessory device, a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and the image pickup device. A camera communication unit provided with three channels composed of a second data communication channel used for data transmission between the device and the accessory device.
It has a camera control unit that controls data communication with the accessory device via the camera communication unit.
The camera communication unit switches the data transmission direction in the second data communication channel between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. Set to enable
When an error occurs in which the camera control unit cannot recognize the data transmission direction in the second data communication channel in the camera communication unit, the error occurs in the accessory device via the notification channel. An imaging device characterized by performing an error notification for notifying.
前記カメラ制御部は、
前記通知チャネルの信号レベルを第1のレベルから第2のレベルに切り替えることで前記アクセサリ装置に対して前記データ送信を要求する送信要求通知を行い、
前記エラーが発生した場合に、前記通知チャネルの信号レベルを所定時間の間、前記第1のレベルに維持することで前記エラー通知を行うことを特徴とする請求項1に記載の撮像装置。
The camera control unit
By switching the signal level of the notification channel from the first level to the second level, the accessory device is notified of the transmission request requesting the data transmission.
The imaging apparatus according to claim 1, wherein when the error occurs, the error notification is performed by maintaining the signal level of the notification channel at the first level for a predetermined time.
前記撮像装置と前記アクセサリ装置との通信設定として、前記第2のデータ通信チャネルでの前記データ送信方向が前記第1の方向となる設定を第1の設定とし、前記データ送信方向が前記第2の方向となる設定を第2の設定とするとき、
前記カメラ制御部は、前記第2の設定がなされている状態で前記エラーが発生した場合に前記エラー通知を行うことを特徴とする請求項1または2に記載の撮像装置。
As a communication setting between the image pickup device and the accessory device, a setting in which the data transmission direction in the second data communication channel is the first direction is set as the first setting, and the data transmission direction is the second setting. When the setting that is in the direction of is the second setting,
The imaging device according to claim 1 or 2, wherein the camera control unit notifies the error when the error occurs in the state where the second setting is made.
前記カメラ制御部は、前記第2の設定がなされている状態で前記エラー通知を行ったときは、前記第2の設定を前記第1の設定に切り替えることを特徴とする請求項3に記載の撮像装置。 The third aspect of the present invention, wherein the camera control unit switches the second setting to the first setting when the error notification is performed in the state where the second setting is made. Imaging device. 撮像装置に取り外し可能に装着されるアクセサリ装置であって、
前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるアクセサリ通信部と、
前記アクセサリ通信部を介した前記撮像装置とのデータ通信を制御するアクセサリ制御部とを有し、
前記撮像装置は、前記第2のデータ通信チャネルでのデータ送信方向を、前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定し、
前記アクセサリ制御部は、前記通知チャネルを介して前記撮像装置から前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーの発生を通知するエラー通知を受けることに応じて、前記撮像装置への前記データ送信を停止することを特徴とするアクセサリ装置。
An accessory device that is removable and attached to the image pickup device.
Between the image pickup device, a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and the image pickup device. An accessory communication unit provided with three channels composed of a second data communication channel used for data transmission between the accessory device and the accessory device.
It has an accessory control unit that controls data communication with the image pickup device via the accessory communication unit.
The image pickup device can switch the data transmission direction in the second data communication channel between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. Set to
The accessory control unit receives an error notification from the imaging device via the notification channel to notify the occurrence of an error that makes it impossible to recognize the data transmission direction in the second data communication channel. An accessory device characterized by stopping the transmission of the data to the device.
前記通知チャネルの信号レベルが第1のレベルから第2のレベルに切り替わることで前記撮像装置から前記データ送信を要求する送信要求通知を受け、
前記通知チャネルの信号レベルが所定時間の間、前記第1のレベルに維持されることで前記エラー通知を受けることを特徴とする請求項5に記載のアクセサリ装置。
When the signal level of the notification channel is switched from the first level to the second level, the image pickup apparatus receives a transmission request notification requesting the data transmission.
The accessory device according to claim 5, wherein the error notification is received by maintaining the signal level of the notification channel at the first level for a predetermined time.
前記アクセサリ装置と前記撮像装置との通信設定として、前記第2のデータ通信チャネルでの前記データ送信方向が前記第1の方向となる設定を第1の設定とし、前記データ送信方向が前記第2の方向となる設定を第2の設定とするとき、
前記アクセサリ制御部は、前記第2の設定がなされている状態で前記エラー通知を受けることに応じて、前記第2の設定を前記第1の設定に切り替えることを特徴とする請求項5または6に記載のアクセサリ装置。
As a communication setting between the accessory device and the imaging device, a setting in which the data transmission direction in the second data communication channel is the first direction is set as the first setting, and the data transmission direction is the second setting. When the setting that is in the direction of is the second setting,
5. or 6, the accessory control unit switches the second setting to the first setting in response to receiving the error notification in the state where the second setting is made. The accessory device described in.
撮像装置に取り外し可能に装着されるアクセサリ装置であって、
前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるアクセサリ通信部と、
前記アクセサリ通信部を介した前記撮像装置とのデータ通信を制御するアクセサリ制御部とを有し、
前記アクセサリ通信部は、前記第2のデータ通信チャネルでのデータ送信方向を、前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定し、
前記アクセサリ制御部は、前記アクセサリ通信部における前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーが発生した場合に、前記第1の通信チャネルを介して、前記撮像装置に前記エラーの発生を通知するためのエラー通知を行うことを特徴とするアクセサリ装置。
An accessory device that is removable and attached to the image pickup device.
Between the image pickup device, a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and the image pickup device. An accessory communication unit provided with three channels composed of a second data communication channel used for data transmission between the accessory device and the accessory device.
It has an accessory control unit that controls data communication with the image pickup device via the accessory communication unit.
The accessory communication unit switches the data transmission direction in the second data communication channel between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. Set to enable
When an error occurs in the accessory communication unit that makes it impossible to recognize the data transmission direction in the second data communication channel, the accessory control unit connects the image pickup device to the image pickup device via the first communication channel. An accessory device characterized by performing error notification for notifying the occurrence of an error.
前記アクセサリ制御部は、
前記通知チャネルの信号レベルが第1のレベルから第2のレベルに切り替わることで受けた送信要求通知に応じて前記第1の通信チャネルを介して前記撮像装置に前記データ送信を行い、
前記エラーが発生した場合に、前記第1の通信チャネルでの前記データ送信を所定時間の間、停止することで前記エラー通知を行うことを特徴とする請求項8に記載のアクセサリ装置。
The accessory control unit
The data is transmitted to the imaging device via the first communication channel in response to the transmission request notification received by switching the signal level of the notification channel from the first level to the second level.
The accessory device according to claim 8, wherein when the error occurs, the error notification is performed by stopping the data transmission on the first communication channel for a predetermined time.
前記アクセサリ装置と前記撮像装置との通信設定として、前記第2のデータ通信チャネルでの前記データ送信方向が前記第1の方向となる設定を第1の設定とし、前記データ送信方向が前記第2の方向となる設定を第2の設定とするとき、
前記アクセサリ制御部は、前記第2の設定がなされている状態で前記エラーが発生した場合に前記エラー通知を行うことを特徴とする請求項8または9に記載のアクセサリ装置。
As a communication setting between the accessory device and the imaging device, a setting in which the data transmission direction in the second data communication channel is the first direction is set as the first setting, and the data transmission direction is the second setting. When the setting that is in the direction of is the second setting,
The accessory device according to claim 8 or 9, wherein the accessory control unit notifies the error when the error occurs in the state where the second setting is made.
前記アクセサリ制御部は、前記第2の設定がなされている状態で前記エラー通知を行ったときは、前記第2の設定を前記第1の設定に切り替えることを特徴とする請求項10に記載のアクセサリ装置。 The tenth aspect of the present invention, wherein the accessory control unit switches the second setting to the first setting when the error notification is performed in the state where the second setting is made. Accessory device. アクセサリ装置が取り外し可能に装着される撮像装置であって、
前記アクセサリ装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるカメラ通信部と、
前記カメラ通信部を介した前記アクセサリ装置とのデータ通信を制御するカメラ制御部とを有し、
前記アクセサリ装置は、前記第2のデータ通信チャネルでのデータ送信方向を、前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定し、
前記カメラ制御部は、
前記通知チャネルを介して前記アクセサリ装置に送信要求通知を行うことで該アクセサリ装置に前記データ送信を行わせ、
前記第1の通信チャネルを介して前記アクセサリ装置から前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーの発生を通知するエラー通知を受けることに応じて、前記アクセサリ装置に対する前記送信要求通知を解除することを特徴とする撮像装置。
An imaging device to which an accessory device is detachably attached.
Between the accessory device, a notification channel used for notification from the image pickup device to the accessory device, a first data communication channel used for data transmission from the accessory device to the image pickup device, and the image pickup device. A camera communication unit provided with three channels composed of a second data communication channel used for data transmission between the device and the accessory device.
It has a camera control unit that controls data communication with the accessory device via the camera communication unit.
The accessory device can switch the data transmission direction in the second data communication channel between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. Set to
The camera control unit
By notifying the accessory device of a transmission request via the notification channel, the accessory device is made to transmit the data.
In response to receiving an error notification from the accessory device via the first communication channel to notify the occurrence of an error that makes it impossible to recognize the data transmission direction in the second data communication channel, the said to the accessory device. An imaging device characterized by canceling a transmission request notification.
前記カメラ制御部は、前記第1の通信チャネルを介した前記アクセサリ装置からの前記データ送信が所定時間の間、停止することで前記エラー通知を受けることを特徴とする請求項12に記載の撮像装置。 The imaging according to claim 12, wherein the camera control unit receives the error notification by stopping the data transmission from the accessory device via the first communication channel for a predetermined time. apparatus. 前記撮像装置と前記アクセサリ装置との通信設定として、前記第2のデータ通信チャネルでの前記データ送信方向が前記第1の方向となる設定を第1の設定とし、前記データ送信方向が前記第2の方向となる設定を第2の設定とするとき、
前記カメラ制御部は、前記第2の設定がなされている状態で前記エラー通知を受けることに応じて、前記第2の設定を前記第1の設定に切り替えることを特徴とする請求項12または13に記載の撮像装置。
As a communication setting between the image pickup device and the accessory device, a setting in which the data transmission direction in the second data communication channel is the first direction is set as the first setting, and the data transmission direction is the second setting. When the setting that is in the direction of is the second setting,
A 12 or 13 claim, wherein the camera control unit switches the second setting to the first setting in response to receiving the error notification in a state where the second setting is made. The imaging apparatus according to.
アクセサリ装置が取り外し可能に装着される撮像装置であり、前記アクセサリ装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設け、前記第2のデータ通信チャネルでのデータ送信方向を、前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定する撮像装置のコンピュータを動作させるコンピュータプログラムであって、
前記コンピュータに、前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーが発生した場合に、前記通知チャネルを介して、前記アクセサリ装置に前記エラーの発生を通知するためのエラー通知を行わせることを特徴とする通信制御プログラム。
An image pickup device to which the accessory device is detachably mounted, and a notification channel used for notification from the image pickup device to the accessory device and data transmission from the accessory device to the image pickup device between the image pickup device and the accessory device. A third data communication channel composed of a first data communication channel used for the above and a second data communication channel used for data transmission between the image pickup device and the accessory device is provided, and the second data communication is provided. A computer that operates a computer of an imaging device that sets a data transmission direction in a channel so as to be switchable between a first direction from the imaging device to the accessory device and a second direction from the accessory device to the imaging device. It ’s a program
When the computer encounters an error that makes it impossible to recognize the data transmission direction in the second data communication channel, an error notification for notifying the accessory device of the occurrence of the error via the notification channel. A communication control program characterized by performing.
撮像装置に取り外し可能に装着されるアクセサリ装置であり、前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設けるアクセサリ装置のコンピュータを動作させるコンピュータプログラムであって、
前記撮像装置が前記第2のデータ通信チャネルでのデータ送信方向を前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定する場合に、前記コンピュータに、前記通知チャネルを介して前記撮像装置から前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーの発生を通知するエラー通知を受けることに応じて、前記撮像装置への前記データ送信を停止させることを特徴とする通信制御プログラム。
An accessory device that is detachably attached to the image pickup device, and is a notification channel used for notification from the image pickup device to the accessory device, and data transmission from the accessory device to the image pickup device. Operate the computer of the accessory device provided with three channels including the first data communication channel used for the above and the second data communication channel used for data transmission between the image pickup device and the accessory device. It ’s a computer program
The image pickup device is set so that the data transmission direction in the second data communication channel can be switched between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. In response to receiving an error notification from the imaging device via the notification channel to notify the computer of the occurrence of an error in which the data transmission direction in the second data communication channel cannot be recognized. A communication control program characterized by stopping the transmission of the data to the imaging device.
撮像装置に取り外し可能に装着されるアクセサリ装置であり、前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設け、前記第2のデータ通信チャネルでのデータ送信方向を前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定するアクセサリ装置のコンピュータを動作させるコンピュータプログラムであって、
前記コンピュータに、前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーが発生した場合に、前記第1の通信チャネルを介して、前記撮像装置に前記エラーの発生を通知するためのエラー通知を行わせることを特徴とする通信制御プログラム。
An accessory device that is detachably attached to the image pickup device, and a notification channel used for notification from the image pickup device to the accessory device and data transmission from the accessory device to the image pickup device between the image pickup device and the image pickup device. A third data communication channel composed of a first data communication channel used for the above and a second data communication channel used for data transmission between the image pickup device and the accessory device is provided, and the second data communication is provided. A computer program for operating the computer of the accessory device that sets the data transmission direction in the channel to be switchable between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. And
In order to notify the imaging device of the occurrence of the error via the first communication channel when an error that makes it impossible to recognize the data transmission direction in the second data communication channel occurs in the computer. A communication control program characterized by giving an error notification of.
アクセサリ装置が取り外し可能に装着される撮像装置であり、前記アクセサリ装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられる第1のデータ通信チャネルと、前記撮像装置と前記アクセサリ装置との間でのデータ送信に用いられる第2のデータ通信チャネルから構成される3つのチャネルを設ける撮像装置のコンピュータを動作させるコンピュータプログラムであって、
前記アクセサリ装置が前記第2のデータ通信チャネルでのデータ送信方向を前記撮像装置から前記アクセサリ装置への第1の方向と前記アクセサリ装置から前記撮像装置への第2の方向とに切替え可能に設定する場合に、
前記コンピュータに、
前記通知チャネルを介して前記アクセサリ装置に送信要求通知を行うことで該アクセサリ装置に前記データ送信を行わせ、
前記第1の通信チャネルを介して前記アクセサリ装置から前記第2のデータ通信チャネルでの前記データ送信方向を認識できなくなるエラーの発生を通知するエラー通知を受けることに応じて、前記アクセサリ装置に対する前記送信要求通知を解除することを特徴とする通信制御プログラム。
An image pickup device to which the accessory device is detachably mounted, and a notification channel used for notification from the image pickup device to the accessory device and data transmission from the accessory device to the image pickup device between the image pickup device and the accessory device. Operates a computer of an imaging device provided with three channels including a first data communication channel used for the above and a second data communication channel used for data transmission between the imaging device and the accessory device. It ’s a computer program
The accessory device is set so that the data transmission direction in the second data communication channel can be switched between the first direction from the image pickup device to the accessory device and the second direction from the accessory device to the image pickup device. If you do
On the computer
By notifying the accessory device of a transmission request via the notification channel, the accessory device is made to transmit the data.
In response to receiving an error notification from the accessory device via the first communication channel to notify the occurrence of an error that makes it impossible to recognize the data transmission direction in the second data communication channel, the said to the accessory device. A communication control program characterized by canceling a transmission request notification.
JP2016169536A 2016-08-31 2016-08-31 Accessory device, image pickup device and communication control program Active JP6768419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016169536A JP6768419B2 (en) 2016-08-31 2016-08-31 Accessory device, image pickup device and communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016169536A JP6768419B2 (en) 2016-08-31 2016-08-31 Accessory device, image pickup device and communication control program

Publications (2)

Publication Number Publication Date
JP2018036503A JP2018036503A (en) 2018-03-08
JP6768419B2 true JP6768419B2 (en) 2020-10-14

Family

ID=61567461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016169536A Active JP6768419B2 (en) 2016-08-31 2016-08-31 Accessory device, image pickup device and communication control program

Country Status (1)

Country Link
JP (1) JP6768419B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5578951B2 (en) * 2010-06-08 2014-08-27 キヤノン株式会社 Imaging device and interchangeable lens
JP6029290B2 (en) * 2012-03-01 2016-11-24 キヤノン株式会社 Imaging device, interchangeable lens, and imaging device system
JP2015121638A (en) * 2013-12-24 2015-07-02 パナソニックIpマネジメント株式会社 Communication system and camera system
JP2017181830A (en) * 2016-03-31 2017-10-05 キヤノン株式会社 Accessory device, imaging device, and communication control device
JP6843516B2 (en) * 2016-03-31 2021-03-17 キヤノン株式会社 Accessory device, imaging device and communication control program
JP6669396B2 (en) * 2016-03-31 2020-03-18 キヤノン株式会社 Accessory device, imaging device, and communication control program
JP6341947B2 (en) * 2016-03-31 2018-06-13 キヤノン株式会社 Accessory device, imaging device, and communication control program

Also Published As

Publication number Publication date
JP2018036503A (en) 2018-03-08

Similar Documents

Publication Publication Date Title
JP5604293B2 (en) Camera system
JP7129292B2 (en) Accessory devices, cameras, communication control programs, and camera systems
JP7297809B2 (en) IMAGING DEVICE, ACCESSORY DEVICE, IMAGING SYSTEM AND CONTROL METHOD THEREOF
JP6341947B2 (en) Accessory device, imaging device, and communication control program
JP6716206B2 (en) Imaging device, lens device, and data communication processing program
US10868952B2 (en) Image-capturing apparatus, accessory apparatus and control method therefor
JP2017181830A (en) Accessory device, imaging device, and communication control device
US10942425B2 (en) Accessory device, camera, and storage medium
JP6768419B2 (en) Accessory device, image pickup device and communication control program
JP6045205B2 (en) Imaging apparatus and control method thereof, and lens apparatus and control method thereof
JP6838943B2 (en) A lens device, an image pickup device, and a communication control method for the lens device and the image pickup device.
US10530984B2 (en) Imaging apparatus, accessory device, storage medium, and imaging system
JP6788368B2 (en) Accessory device, imaging device and their control method
JP2019201337A (en) Accessory device, camera system including the same, and program
JP6786695B2 (en) Accessory device, imaging device and communication control program
US20210364888A1 (en) Lens apparatus, image pickup apparatus, and camera system
US20230009822A1 (en) Lens apparatus, image pickup apparatus, image pickup apparatus body, and storage medium
JP2018152890A (en) Accessory device, imaging device, and communication control program
JP2019095721A (en) Accessory device, imaging apparatus, and communication control program
JP2021182090A (en) Lens device, imaging apparatus, and camera system
JP2018097087A (en) Accessory device, imaging device, 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: 20190731

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200527

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200923

R151 Written notification of patent or utility model registration

Ref document number: 6768419

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151