JP2020112819A - Accessory device, imaging device, and communication control program - Google Patents

Accessory device, imaging device, and communication control program Download PDF

Info

Publication number
JP2020112819A
JP2020112819A JP2020057267A JP2020057267A JP2020112819A JP 2020112819 A JP2020112819 A JP 2020112819A JP 2020057267 A JP2020057267 A JP 2020057267A JP 2020057267 A JP2020057267 A JP 2020057267A JP 2020112819 A JP2020112819 A JP 2020112819A
Authority
JP
Japan
Prior art keywords
accessory
communication
data
imaging device
channel
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.)
Granted
Application number
JP2020057267A
Other languages
Japanese (ja)
Other versions
JP6874189B2 (en
Inventor
一敏 河田
Kazutoshi Kawada
一敏 河田
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 JP2020057267A priority Critical patent/JP6874189B2/en
Publication of JP2020112819A publication Critical patent/JP2020112819A/en
Application granted granted Critical
Publication of JP6874189B2 publication Critical patent/JP6874189B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide an accessory device and an imaging device that can transmit and receive data at high speed without causing communication to fail without adding a new channel.SOLUTION: There is provided a channel between an imaging device 200 and an accessory device 100, including a notification channel used for notice from the imaging device 200 to the accessory device 100, and an accessory data communication channel used for transmission of data from the accessory device to the imaging device. An accessory control unit 111 transmits data to the imaging device 200 via the accessory data communication channel in response to reception of a transmission request signal, and transmits a communication wait request signal to the imaging device 200 so as to prevent a transmission request signal from being transmitted from the imaging device 200 to the accessory device 100 via the accessory data communication channel.SELECTED DRAWING: Figure 4

Description

本発明は、相互に通信が可能な撮像装置と交換レンズ等のアクセサリ装置に関する。 The present invention relates to an image pickup apparatus and an accessory apparatus such as an interchangeable lens that can communicate with each other.

レンズ交換型カメラシステムには、カメラ本体としての撮像装置が撮像処理やレンズ制御を行い、交換レンズとしてのレンズ装置がカメラ本体からの制御命令に従ってレンズ駆動を行うシステムが知られている。こうしたカメラシステムにおいては、カメラ本体から交換レンズへの制御命令の伝達と交換レンズからカメラ本体へのレンズ情報の伝達は、相互に情報のやりとりをするための通信チャネルを介して行われる。 As a lens interchangeable camera system, there is known a system in which an imaging device as a camera main body performs image capturing processing and lens control, and a lens device as an interchangeable lens drives a lens according to a control command from the camera main body. In such a camera system, the transmission of control commands from the camera body to the interchangeable lens and the transmission of lens information from the interchangeable lens to the camera body are performed via a communication channel for exchanging information with each other.

また、レンズ交換型カメラシステムの中でも特にデジタルカメラシステムでは、動画撮影時やライブビュー撮影時に撮像周期に合わせた滑らかなレンズ制御が求められている。このためには、カメラ本体の撮像タイミングと交換レンズの制御タイミングとの同期をとる必要があり、カメラ本体は、レンズ制御に必要なレンズ情報の取得と交換レンズへの制御命令の送信を撮像周期内で完了させる必要がある。 Further, among the interchangeable-lens type camera systems, particularly in digital camera systems, smooth lens control in accordance with the imaging cycle is required at the time of moving image shooting and live view shooting. For this purpose, it is necessary to synchronize the image capturing timing of the camera body with the control timing of the interchangeable lens, and the camera body acquires the lens information necessary for lens control and transmits the control command to the interchangeable lens in the image capturing cycle. Must be completed within.

一方、撮像技術の高度化によってカメラ本体が交換レンズから取得するレンズ情報のデータ量が増加し、フレームレートが高速化している。これにより、従来よりも短時間に大量のデータを通信する必要が生じている。 On the other hand, the sophistication of imaging technology has increased the amount of lens information data that the camera body acquires from the interchangeable lens, and has increased the frame rate. As a result, it becomes necessary to communicate a large amount of data in a shorter time than in the past.

特許文献1には、クロックチャネルと、カメラ本体から交換レンズへのデータ送信チャネルと、交換レンズからカメラ本体へのデータ送信チャネルの3つのチャネルから構成されるクロック同期式の通信システムが開示されている。この通信システムでは、まずカメラ本体が通信マスタとしてクロック信号を生成し、クロックチャネルを介して1フレームのクロック信号を交換レンズに出力する。その後、クロックチャネルの入出力が入れ替わり、カメラ本体に代わって通信マスタとなった交換レンズが同チャネルに通信待機要求を出力する。これにより、交換レンズはカメラ本体に対して通信後の処理待ち状態であることを通知することが可能となる。 Patent Document 1 discloses a clock-synchronized communication system including a clock channel, a data transmission channel from a camera body to an interchangeable lens, and a data transmission channel from an interchangeable lens to a camera body. There is. In this communication system, the camera body first generates a clock signal as a communication master, and outputs a one-frame clock signal to the interchangeable lens via the clock channel. After that, the inputs and outputs of the clock channels are switched, and the interchangeable lens that has become the communication master instead of the camera body outputs a communication standby request to the same channel. As a result, the interchangeable lens can notify the camera body that it is in a processing waiting state after communication.

特開平9−304804号公報JP, 9-304804, A

特許文献1にて開示された通信システムでは、同じチャネルにおいてクロック信号を出力するカメラ本体と通信待機要求を出力する交換レンズとの間で通信マスタを時間管理によって切り替える必要がある。このため、通信の衝突を防止する目的で、通信マスタを切り替える時間、すなわち通信を行うことができない通信無効時間を設ける必要があり、この結果、通信や制御の遅延を招くおそれがある。 In the communication system disclosed in Patent Document 1, it is necessary to switch the communication master between the camera body that outputs a clock signal and the interchangeable lens that outputs a communication standby request in the same channel by time management. Therefore, in order to prevent communication collision, it is necessary to provide a time for switching communication masters, that is, a communication invalid time during which communication cannot be performed, which may result in delay of communication and control.

このような問題を解決するために、交換レンズによるクロックチャネルへの通信待機要求信号の出力を止めると、交換レンズからカメラ本体への通信待機要求が一切できなくなる。通信待機要求信号を出力することなく大量のデータを通信すると、通信スレーブである交換レンズにおいて受信バッファのオーバーフローが生じたりカメラ本体に送信するデータの生成が間に合わなかったりした場合に通信が破綻するおそれがある。また、通信待機要求信号を出力するためにチャネルを新たに設けると、消費電力が増加し、カメラ本体や交換レンズの小型化が妨げられる。 In order to solve such a problem, if the output of the communication standby request signal from the interchangeable lens to the clock channel is stopped, the communication standby request from the interchangeable lens to the camera body cannot be made at all. If a large amount of data is communicated without outputting a communication standby request signal, communication may break if the receiving lens overflows in the interchangeable lens that is the communication slave or the data to be transmitted to the camera body cannot be generated in time. There is. Further, if a new channel is provided to output the communication standby request signal, power consumption increases, which hinders downsizing of the camera body and the interchangeable lens.

本発明は、新たなチャネルを追加せずに、通信の破綻を招くことなくデータの送受信を高速に行うことができるアクセサリ装置及び撮像装置を実現することを目的とする。 An object of the present invention is to provide an accessory device and an imaging device that can perform high-speed data transmission/reception without causing a communication failure without adding a new channel.

撮像装置に対して着脱可能なアクセサリ装置であって、前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられるアクセサリデータ通信チャネルとを含むチャネルを設けるアクセサリ通信部、及び前記アクセサリ通信部の制御を行うアクセサリ制御部を有し、前記アクセサリ制御部は、前記アクセサリ装置から前記撮像装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して受信することに応じて、前記アクセサリデータ通信チャネルを介して前記撮像装置に対してデータを送信し、前記アクセサリ制御部は、前記アクセサリデータ通信チャネルを介して、前記撮像装置から前記アクセサリ装置に対して前記送信要求信号が送信されないようにするための通信待機要求信号を前記撮像装置に送信することを特徴とする。 An accessory device that is attachable to and detachable from an imaging device, and a notification channel used for notification from the imaging device to the accessory device, and data transmission from the accessory device to the imaging device. An accessory data communication channel provided with a channel including an accessory data communication channel, and an accessory control unit that controls the accessory communication unit, wherein the accessory control unit transmits data from the accessory device to the imaging device. In response to receiving a transmission request signal for requesting via the notification channel, transmitting data to the imaging device via the accessory data communication channel, and the accessory control unit controls the accessory data communication. A communication standby request signal for preventing the transmission request signal from being transmitted from the imaging device to the accessory device via a channel is transmitted to the imaging device.

また、本発明の撮像装置は、アクセサリ装置が取り外し可能に装着される撮像装置であって、前記アクセサリ装置との間に、前記撮像装置から前記アクセサリ装置への送信要求信号の送信に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられるアクセサリデータ通信チャネルとを含むチャネルを設ける撮像装置通信部、及び前記撮像装置通信部の制御を行う撮像装置制御部を有し、前記撮像装置制御部は、前記送信要求信号が送信されないようにするための通信待機要求信号を、前記アクセサリデータ通信チャネルを介して前記アクセサリ装置から通知されている間は、前記送信要求信号を前記アクセサリ装置に送信しないことを特徴とする。 The image pickup apparatus of the present invention is an image pickup apparatus to which an accessory device is detachably attached, and is a notification used for transmitting a transmission request signal from the image pickup apparatus to the accessory device between the accessory device and the accessory device. An imaging device communication unit that includes a channel and a channel including an accessory data communication channel used for data transmission from the accessory device to the imaging device, and an imaging device control unit that controls the imaging device communication unit, The imaging device control unit, while the communication standby request signal for preventing the transmission request signal from being transmitted, is notified from the accessory device via the accessory data communication channel, the transmission request signal It is characterized in that it is not transmitted to the accessory device.

本発明によれば、新たなチャネルを追加せずに、通信の破綻を招くことなくデータの送受信を高速に行うことができるアクセサリ装置及び撮像装置が得られる。 According to the present invention, it is possible to obtain an accessory device and an imaging device that can perform high-speed data transmission/reception without causing a communication failure without adding a new channel.

本発明の撮像装置及びアクセサリ装置を含むカメラシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the camera system containing the imaging device and accessory device of this invention. 撮像装置とアクセサリ装置の間の通信回路を示す概略図である。It is a schematic diagram showing a communication circuit between an imaging device and an accessory device. 通信モードM1における通信波形を示す概略図である。It is a schematic diagram showing a communication waveform in communication mode M1. 通信モードM2における通信波形を示す概略図である。It is a schematic diagram showing a communication waveform in communication mode M2. 通信モードM3における通信波形を示す概略図である。It is a schematic diagram showing a communication waveform in communication mode M3. アクセサリ装置及び撮像装置において通信フォーマットを決定するフローを説明するフローチャートである。It is a flowchart explaining the flow which determines a communication format in an accessory device and an imaging device. 通信モードM2におけるデータ通信フローを説明するフローチャートである。It is a flow chart explaining the data communication flow in communication mode M2.

以下、本発明のアクセサリ装置としての交換レンズ及び撮像装置としてのカメラ本体における通信制御方法について、添付の図面に基づいて詳細に説明する。まず、本実施例における用語の定義について説明する。 Hereinafter, a communication control method in an interchangeable lens as an accessory device and a camera body as an imaging device of the present invention will be described in detail with reference to the accompanying drawings. First, the definition of terms in this embodiment will be described.

「通信フォーマット」は、カメラ本体と交換レンズとの間の通信全体の取り決めを示す。「通信方式」はクロック同期式と調歩同期式を意味し、クロック同期式を通信方式A、調歩同期式を通信方式Bとする。「データフォーマット」は通信待機要求信号(BUSY信号)の付加の可否を示し、BUSY信号の付加を許可するデータフォーマットを「フォーマットF1」とし、BUSY信号の付加を禁止するデータフォーマットを「フォーマットF2」とする。 “Communication format” indicates the overall agreement between the camera body and the interchangeable lens. “Communication system” means a clock synchronous system and an asynchronous system, and the clock synchronous system is a communication system A and the asynchronous system is a communication system B. “Data format” indicates whether or not a communication standby request signal (BUSY signal) can be added. The data format that allows the BUSY signal to be added is “format F1” and the data format that prohibits the BUSY signal to be added is “format F2”. And

「通信モード」は、通信方式とデータフォーマットの組み合わせを意味し、本実施例では以下の3つの通信モードについて説明する。「通信モードM1」は通信方式AかつフォーマットF1の通信モードであり、「通信モードM2」は通信方式BかつフォーマットF1の通信モードである。また、「通信モードM3」は通信方式BかつフォーマットF2の通信モードである。 “Communication mode” means a combination of a communication method and a data format, and in this embodiment, the following three communication modes will be described. "Communication mode M1" is a communication mode A and format F1 communication mode, and "communication mode M2" is a communication mode B and format F1 communication mode. The "communication mode M3" is the communication mode B and the communication mode of the format F2.

本発明は、通信モードM2におけるカメラ本体と交換レンズの間の通信制御に関する発明である。以下の実施形態においては、通信モードM2を含む複数の通信モードを切り替えて通信可能なカメラ本体と交換レンズを有する撮像システムを示す。このように通信モードを適宜切り替えて通信を行うことで、カメラ本体と交換レンズの組み合わせや撮影モードに応じて適切な通信モードを選択することができる。 The present invention relates to communication control between the camera body and the interchangeable lens in the communication mode M2. In the following embodiment, an imaging system having a camera body and an interchangeable lens that can communicate by switching a plurality of communication modes including a communication mode M2 will be shown. By appropriately switching the communication modes in this way to perform communication, an appropriate communication mode can be selected according to the combination of the camera body and the interchangeable lens and the shooting mode.

例えば、カメラ本体と交換レンズが通信モードM3に対応していて、大容量のデータを送受信する場合には、それぞれの通信モードを通信モードM3に切り替えた後に、BUSY信号の付加が禁止された高速なデータ通信が実行される。また、交換レンズにおけるデータ処理にある程度の時間を要する場合には、カメラ本体と交換レンズの通信モードをそれぞれ通信モードM2に切り替えた後に、BUSY信号の付加が許可されたデータ通信が行われる。これにより、カメラ本体と交換レンズの間で通信の破綻を招くことのないデータ通信を実行することができる。 For example, when the camera body and the interchangeable lens are compatible with the communication mode M3 and a large amount of data is transmitted and received, after switching the respective communication modes to the communication mode M3, the high speed in which the addition of the BUSY signal is prohibited. Data communication is performed. When it takes some time for data processing in the interchangeable lens, the communication mode of the camera body and the interchangeable lens is switched to the communication mode M2, and then data communication in which the BUSY signal is permitted to be added is performed. As a result, it is possible to perform data communication between the camera body and the interchangeable lens without causing communication failure.

図1には、本発明の実施例1である撮像装置としてのカメラ本体200とこれに取り外し可能に装着されたアクセサリ装置としての交換レンズ100とを含む撮像システム(以下、カメラシステムという)の構成を示している。 FIG. 1 is a configuration of an image pickup system (hereinafter, referred to as a camera system) including a camera body 200 as an image pickup apparatus 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. Also, 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 the purpose of communication, 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, the specific configurations 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 that 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 controls various actuators and a lens microcomputer (hereinafter, referred to as a lens microcomputer) 111 described later. Further, the interchangeable lens 100 and the camera body 200 communicate with each other via a communication terminal (shown in FIG. 2) provided on the mount 300.

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

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

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

レンズマイコン111は、交換レンズ100内の各部の動作を制御するアクセサリ制御部である。レンズマイコン111は、アクセサリ通信部としてのレンズ通信部112を介して、カメラ本体200から送信された制御コマンドを受信し、レンズデータの送信要求を受ける。また、レンズマイコン111は、制御コマンドに対応するレンズ制御を行い、レンズ通信部112を介して送信要求に対応するレンズデータをカメラ本体200に送信する。 The lens microcomputer 111 is an accessory control unit that controls the operation of each unit in the interchangeable lens 100. The lens microcomputer 111 receives the control command transmitted from the camera body 200 via the lens communication unit 112 as an accessory communication unit, and receives a lens data transmission request. In addition, the lens microcomputer 111 performs lens control corresponding to the control command, and transmits lens data corresponding to the transmission request to the camera body 200 via the lens communication unit 112.

また、レンズマイコン111は、制御コマンドのうち変倍やフォーカシングに関するコマンドに応答してズーム駆動回路119およびフォーカス駆動回路120に駆動信号を出力してステッピングモータ107、108を駆動させる。これにより、変倍レンズ102による変倍動作を制御するズーム処理やフォーカスレンズ104による焦点調節動作を制御するオートフォーカス処理を行う。 In addition, the lens microcomputer 111 outputs a drive signal to the zoom drive circuit 119 and the focus drive circuit 120 in response to a command relating to zooming and focusing among the control commands to drive the stepping motors 107 and 108. As a result, zoom processing for controlling the zooming operation by the zooming lens 102 and autofocus processing for controlling the focus adjusting operation by the focus lens 104 are 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 diaphragm drive circuit 121 based on an input signal from the A/D conversion circuit 123 to drive the diaphragm actuator 113. This controls the light amount adjustment operation by the diaphragm unit 114.

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

カメラ本体200は、CCDセンサやCMOSセンサ等の撮像素子201と、A/D変換回路202と、信号処理回路203と、記録部204と、カメラマイクロコンピュータ(以下、カメラマイコンという)205と、表示部206とを有する。 The camera body 200 includes 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, a camera microcomputer (hereinafter referred to as a camera microcomputer) 205, and a display. And part 206.

撮像素子201は、交換レンズ100内の撮像光学系により形成された被写体像を光電変換して電気信号(アナログ信号)を出力する。A/D変換回路202は、撮像素子201からのアナログ信号をデジタル信号に変換する。信号処理回路203は、A/D変換回路202からのデジタル信号に対して各種画像処理を行って映像信号を生成する。 The image pickup element 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 an analog signal from the image sensor 201 into a digital signal. The signal processing circuit 203 performs various kinds of image processing on the digital signal from the A/D conversion circuit 202 to generate a video signal.

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

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

次に、図2を用いてカメラ本体200と交換レンズ100との間で構成される通信回路とこれらの間で行われる通信制御について説明する。カメラマイコン205は、レンズマイコン111との間での通信フォーマットを管理する機能と、レンズマイコン111に対して送信要求等の通知を行う機能とを有する。また、レンズマイコン111は、レンズデータを生成する機能と該レンズデータを送信する機能とを有する。 Next, a communication circuit configured between the camera body 200 and the interchangeable lens 100 and communication control performed between them will be described with reference to FIG. The camera microcomputer 205 has a function of managing a communication format 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.

カメラマイコン205とレンズマイコン111は、マウント300に設けられた通信端子とそれぞれに設けられた通信インタフェース回路208a、112aを介して通信を行う。ここで、通信インタフェース回路208aとカメラデータ送受信部208bを合わせてカメラ通信部208と呼び、通信インタフェース回路112aとレンズデータ送受信部112bを合わせてレンズ通信部112と呼ぶ。 The camera microcomputer 205 and the lens microcomputer 111 communicate with each other via communication terminals provided on the mount 300 and communication interface circuits 208a and 112a provided respectively. Here, the communication interface circuit 208a and the camera data transmission/reception unit 208b are collectively referred to as a camera communication unit 208, and the communication interface circuit 112a and the lens data transmission/reception unit 112b are collectively referred to as a lens communication unit 112.

本実施例では、カメラマイコン205とレンズマイコン111は、3つのチャネルを用いた3線式の通信方式A及び通信方式Bによるシリアル通信を行う。 In the present embodiment, the camera microcomputer 205 and the lens microcomputer 111 perform serial communication by the three-wire communication method A and the communication method B using three channels.

上記3つのチャネルのうちの1つは、通信方式Aではクロックチャネルとなり、通信方式Bでは送信要求チャネルとなる通知チャネルである。他の2つのチャネルのうち1つは、レンズマイコン111からカメラマイコン205へのレンズデータ送信に用いられる第1のデータ通信チャネル(アクセサリデータ通信チャネル)である。もう1つのチャネルは、カメラマイコン205からレンズマイコン111へのカメラデータ送信に用いられる第2のデータ通信チャネル(撮像装置データ通信チャネル)である。 One of the three channels is a notification channel that is a clock channel in communication method A and a transmission request channel in communication method B. One of the other two channels is a first data communication channel (accessory data communication channel) used for lens data transmission from the lens microcomputer 111 to the camera microcomputer 205. The other channel is a second data communication channel (imaging device data communication channel) used for camera data transmission from the camera microcomputer 205 to the lens microcomputer 111.

第1のデータ通信チャネルでレンズマイコン111からカメラマイコン205に信号として送信されるレンズデータを、レンズデータ信号DLCという。また、第2のデータ通信チャネルでカメラマイコン205からレンズマイコン111に信号として送信されるカメラデータを、カメラデータ信号DCLという。 Lens data transmitted as a signal from the lens microcomputer 111 to the camera microcomputer 205 on the first data communication channel is referred to as a lens data signal DLC. Further, camera data transmitted as a signal from the camera microcomputer 205 to the lens microcomputer 111 on the second data communication channel is referred to as a camera data signal DCL.

まず、通信方式Aでの通信について説明する。通信方式Aでは、通信マスタとしてのカメラマイコン205から通信スレーブとしてのレンズマイコン111にクロック信号LCLKがクロックチャネルを介して出力される。カメラデータ信号DCLは、カメラマイコン205からレンズマイコン111への制御コマンドや送信要求コマンド等を含む。一方、レンズデータ信号DLCは、クロック信号LCLKに同期してレンズマイコン111からカメラマイコン205に送信される様々なデータを含む。カメラマイコン205とレンズマイコン111は、共通のクロック信号LCLKに同期して相互かつ同時に送受信を行う全二重通信方式(フルデュープレックス方式)で通信可能である。 First, communication in the communication method A will be described. In the communication method A, the clock signal LCLK is output from the camera microcomputer 205 as the communication master to the lens microcomputer 111 as the communication slave via the clock channel. The camera data signal DCL includes a control command from the camera microcomputer 205 to the lens microcomputer 111, a transmission request command, and the like. On the other hand, the lens data signal DLC includes various data transmitted from the lens microcomputer 111 to the camera microcomputer 205 in synchronization with the clock signal LCLK. The camera microcomputer 205 and the lens microcomputer 111 can communicate with each other by a full-duplex communication method (full-duplex method) in which transmission and reception are mutually and simultaneously performed in synchronization with a common clock signal LCLK.

図3(A)〜(C)には、カメラマイコン205とレンズマイコン111との間でやり取りされる信号の波形を示している。このやり取りの手順を取り決めたものを通信プロトコルと呼ぶ。 FIGS. 3A to 3C show waveforms of signals exchanged between the camera microcomputer 205 and the lens microcomputer 111. The protocol for this exchange procedure is called a communication protocol.

図3(A)は、最小通信単位である1フレームの信号波形を示している。まず、カメラマイコン205は、8周期のクロックパルスを1組とするクロック信号LCLKを出力するとともに、クロック信号LCLKに同期してレンズマイコン111に対してカメラデータ信号DCLを送信する。これと同時に、カメラマイコン205は、クロック信号LCLKに同期してレンズマイコン111から出力されたレンズデータ信号DLCを受信する。 FIG. 3A shows a signal waveform of one frame which is the minimum communication unit. First, the camera microcomputer 205 outputs a clock signal LCLK having a set of eight-cycle clock pulses, and transmits a camera data signal DCL to the lens microcomputer 111 in synchronization with the clock signal LCLK. At the same time, the camera microcomputer 205 receives the lens data signal DLC output from the lens microcomputer 111 in synchronization with the clock signal LCLK.

このようにして、レンズマイコン111とカメラマイコン205との間で1組のクロック信号LCLKに同期して1バイト(8ビット)のデータが送受信される。この1バイトのデータ送受信の期間をデータフレームと呼ぶ。この1バイトのデータの送受信後に、レンズマイコン111がカメラマイコン205に対して通信待機要求BUSYを通知する信号(以下、BUSY信号という)を送信し、これにより通信待機期間が挿入される。この通信待機期間をBUSYフレームと呼び、BUSYフレームを受信している間、カメラマイコン205は通信待機状態となる。そして、データフレーム期間とBUSYフレーム期間とを1組とする通信単位が1フレームとなる。なお、通信状況により、BUSYフレームが付加されない場合もあるが、この場合はデータフレーム期間のみで1フレームが構成される。 In this way, 1 byte (8 bits) of data is transmitted and received between the lens microcomputer 111 and the camera microcomputer 205 in synchronization with a set of clock signals LCLK. This 1-byte data transmission/reception period is called a data frame. After transmitting/receiving this 1-byte data, the lens microcomputer 111 transmits a signal (hereinafter referred to as a BUSY signal) for notifying the communication standby request BUSY to the camera microcomputer 205, whereby the communication standby period is inserted. This communication waiting period is called a BUSY frame, and the camera microcomputer 205 is in a communication waiting state while receiving the BUSY frame. Then, one frame is a communication unit in which the data frame period and the BUSY frame period are paired. Depending on the communication status, the BUSY frame may not be added, but in this case, one frame is composed of only the data frame period.

図3(B)は、カメラマイコン205がレンズマイコン111に要求コマンドCMD1を送信し、これに対応する2バイトのレンズデータDT1(DT1a、DT1b)をレンズマイコン111から受信するときの信号波形を示している。図3(B)では、「通信CMD1」に応じてデータ通信が実行される例を示している。 FIG. 3B shows a signal waveform when the camera microcomputer 205 transmits a request command CMD1 to the lens microcomputer 111 and receives 2-byte lens data DT1 (DT1a, DT1b) corresponding thereto from the lens microcomputer 111. ing. FIG. 3B shows an example in which data communication is executed according to “communication CMD1”.

カメラマイコン205とレンズマイコン111との間では、予め複数種類のコマンドCMDのそれぞれに対応するレンズデータDTの種類とバイト数が決められている。通信マスタであるカメラマイコン205が、特定のコマンドCMDをレンズマイコン111に送信すると、レンズマイコン111は該コマンドCMDに対応するレンズデータバイト数の情報に基づいて必要なクロック数をカメラマイコン205に送信する。また、コマンドCMD1に対するレンズマイコン111の処理には、各フレームのクロック信号LCLKにBUSY信号を重畳することが含まれており、データフレーム間には上述したBUSYフレームが挿入される。 Between the camera microcomputer 205 and the lens microcomputer 111, the type and the number of bytes of the lens data DT corresponding to each of the plurality of types of commands CMD are determined in advance. When the camera microcomputer 205, which is a communication master, sends a specific command CMD to the lens microcomputer 111, the lens microcomputer 111 sends the required number of clocks to the camera microcomputer 205 based on the information on the number of lens data bytes corresponding to the command CMD. To do. The processing of the lens microcomputer 111 for the command CMD1 includes superimposing the BUSY signal on the clock signal LCLK of each frame, and the above-mentioned BUSY frame is inserted between the data frames.

通信CMD1では、カメラマイコン205はクロック信号LCLKをレンズマイコン111に送信し、さらにレンズデータDT1の送信を要求する要求コマンドCMD1をカメラデータ信号DCLとしてレンズマイコン111に送信する。このフレームでのレンズデータ信号DLCは無効データとして扱われる。 In the communication CMD1, the camera microcomputer 205 transmits a clock signal LCLK to the lens microcomputer 111, and further transmits a request command CMD1 requesting transmission of the lens data DT1 to the lens microcomputer 111 as a camera data signal DCL. The lens data signal DLC in this frame is treated as invalid data.

続いて、カメラマイコン205は、クロックチャネルでクロック信号LCLKを8周期だけ出力した後にカメラマイコン側(カメラ本体側)のクロックチャネルを出力設定から入力設定に切り替える。レンズマイコン111は、カメラマイコン側のクロックチャネルの切り替えが完了すると、レンズマイコン111側(交換レンズ側)のクロックチャネルを入力設定から出力設定に切り替える。そして、レンズマイコン111は、通信待機要求BUSYをカメラマイコン205に通知するために、クロックチャネルの電圧レベルをLowにする。これにより、クロックチャネルにBUSY信号を重畳する。カメラマイコン205は、通信待機要求BUSYが通知されている期間はクロックチャネルの入力設定を維持し、レンズマイコン111への通信を停止する。 Subsequently, the camera microcomputer 205 outputs the clock signal LCLK for eight cycles on the clock channel, and then switches the clock channel on the camera microcomputer side (camera body side) from the output setting to the input setting. When the switching of the clock channel on the camera microcomputer side is completed, the lens microcomputer 111 switches the clock channel on the lens microcomputer 111 side (interchangeable lens side) from the input setting to the output setting. Then, the lens microcomputer 111 sets the voltage level of the clock channel to Low in order to notify the camera microcomputer 205 of the communication standby request BUSY. As a result, the BUSY signal is superimposed on the clock channel. The camera microcomputer 205 maintains the input setting of the clock channel during the period when the communication standby request BUSY is notified, and stops the communication to the lens microcomputer 111.

レンズマイコン111は、通信待機要求BUSYの通知期間中に送信要求コマンドCMD1に対応するレンズデータDT1を生成する。そして、レンズデータDT1を次のフレームのレンズデータ信号DLCとして送信する準備が完了すると、レンズマイコン側のクロックチャネルの信号レベルをHighに切り替え、通信待機要求BUSYを解除する。 The lens microcomputer 111 generates the lens data DT1 corresponding to the transmission request command CMD1 during the communication standby request BUSY notification period. When the preparation for transmitting the lens data DT1 as the lens data signal DLC of the next frame is completed, the signal level of the clock channel on the lens microcomputer side is switched to High and the communication standby request BUSY is released.

カメラマイコン205は、通信待機要求BUSYの解除を認識すると、1フレームのクロック信号LCLKをレンズマイコン111に送信することでレンズマイコン111からレンズデータDT1aを受信する。次のフレームでカメラマイコン205がクロック信号LCLKを再び8周期だけ出力したカメラマイコン205とレンズマイコン111が上記と同様の動作を繰り返すことで、カメラマイコン205はレンズマイコン111からレンズデータDT1bを受信する。 Upon recognizing the release of the communication standby request BUSY, the camera microcomputer 205 transmits the one-frame clock signal LCLK to the lens microcomputer 111 to receive the lens data DT1a from the lens microcomputer 111. In the next frame, the camera microcomputer 205 outputs the clock signal LCLK again for 8 cycles, and the camera microcomputer 205 and the lens microcomputer 111 repeat the same operation as described above, so that the camera microcomputer 205 receives the lens data DT1b from the lens microcomputer 111. ..

図3(C)は、カメラマイコン205がレンズマイコン111に要求コマンドCMD2を送信し、これに対応する3バイトのレンズデータDT2(DT2a〜DT2c)をレンズマイコン111から受信するときの信号波形を示している。図3(C)では、通信CMD2に応じてデータ通信が実行される例を示している。この通信CMD2での要求コマンドCMD2に対するレンズマイコン111の処理には、1フレーム目にのみクロックチャネルにBUSY信号を重畳することが含まれる。すなわち、レンズマイコン111は、続く2フレーム目から4フレーム目にはBUSY信号を重畳しない。 FIG. 3C shows a signal waveform when the camera microcomputer 205 transmits the request command CMD2 to the lens microcomputer 111 and receives 3-byte lens data DT2 (DT2a to DT2c) corresponding thereto from the lens microcomputer 111. ing. FIG. 3C shows an example in which data communication is executed according to the communication CMD2. The processing of the lens microcomputer 111 for the request command CMD2 in the communication CMD2 includes superimposing the BUSY signal on the clock channel only in the first frame. That is, the lens microcomputer 111 does not superimpose the BUSY signal on the subsequent second to fourth frames.

これにより、2フレーム目から4フレーム目までのフレーム間にBUSYフレームが挿入されず、フレーム間の待機期間を短くすることが可能である。ただし、BUSYフレームを挿入しない期間は、レンズマイコン111がカメラマイコン205に対して通信待機要求を送ることができない。このため、これによる通信の破綻が生じないように、送信するデータ数や送信間隔、レンズマイコン111内での通信処理の優先順位等を決定しておく必要がある。 Accordingly, the BUSY frame is not inserted between the second frame to the fourth frame, and the waiting period between the frames can be shortened. However, the lens microcomputer 111 cannot send a communication standby request to the camera microcomputer 205 while the BUSY frame is not inserted. Therefore, it is necessary to determine the number of data to be transmitted, the transmission interval, the priority order of communication processing in the lens microcomputer 111, and the like so as not to cause communication failure.

次に、通信方式Bでの通信について説明する。ここでは通信方式Bを用いてフォーマットF1により通信を行う通信モードM2についても併せて説明する。図4には、通信モードM2においてカメラマイコン205とレンズマイコン111との間でやり取りされる通信信号の波形を示している。先に述べたように、フォーマットF1では、レンズデータ信号DLCにBUSYフレームが選択的に付加される。 Next, communication in the communication method B will be described. Here, the communication mode M2 in which communication is performed in the format F1 using the communication method B will also be described. FIG. 4 shows a waveform of a communication signal exchanged between the camera microcomputer 205 and the lens microcomputer 111 in the communication mode M2. As described above, in the format F1, the BUSY frame is selectively added to the lens data signal DLC.

通信方式Bにおいて、送信要求チャネルは、通信マスタであるカメラマイコン205から通信スレーブとしてのレンズマイコン111へのレンズデータの送信要求等の通知に用いられる。送信要求チャネルでの通知は該送信要求チャネルでの信号のレベル(電圧レベル)をHigh(第1のレベル)とLow(第2のレベル)との間で切り替えることで行う。以下の説明では、通信方式Bにおいて送信要求チャネルに供給される信号を送信要求信号RTSという。 In the communication method B, the transmission request channel is used for notification of a lens data transmission request or the like from the camera microcomputer 205, which is a communication master, to the lens microcomputer 111, which is a communication slave. The notification on the transmission request channel is performed by switching the level (voltage level) of the signal on the transmission request channel between High (first level) and Low (second level). In the following description, the signal supplied to the transmission request channel in communication method B is referred to as the transmission request signal RTS.

第1のデータ通信チャネルは、通信方式Aと同様に、レンズマイコン111からカメラマイコン205への各種データを含むレンズデータ信号DLCの送信に用いられる。第2のデータ通信チャネルも、通信方式Aと同様に、カメラマイコン205からレンズマイコン111への制御コマンドや送信要求コマンド等を含むカメラデータ信号DCLの送信に用いられる。 The first data communication channel is used to transmit the lens data signal DLC including various data from the lens microcomputer 111 to the camera microcomputer 205, as in the communication method A. Similarly to the communication method A, the second data communication channel is also used for transmitting the camera data signal DCL including the control command and the transmission request command from the camera microcomputer 205 to the lens microcomputer 111.

通信方式Bでは、通信方式Aと異なり、カメラマイコン205とレンズマイコン111は、共通のクロック信号に同期してデータの送受信を行うのではなく、予め通信速度を設定し、この設定に基づいた通信ビットレートで送受信を行う。通信ビットレートとは、1秒間に転送することができるデータ量を示し、単位はbps(bit per second)で表される。 In the communication method B, unlike the communication method A, the camera microcomputer 205 and the lens microcomputer 111 do not transmit and receive data in synchronization with a common clock signal, but set a communication speed in advance and perform communication based on this setting. Send and receive at the bit rate. The communication bit rate indicates the amount of data that can be transferred in one second, and the unit is represented by bps (bit per second).

なお、本実施例では、この通信方式Bにおいても、通信方式Aと同様に、カメラマイコン205とレンズマイコン111は相互に送受信を行う全二重通信方式(フルデュープレックス方式)で通信を行う。 In this embodiment, also in the communication method B, as in the communication method A, the camera microcomputer 205 and the lens microcomputer 111 communicate with each other by a full-duplex communication method (full-duplex method).

図4は最小通信単位である1フレームの信号波形を示している。1フレームのデータフォーマットの内訳は、カメラデータ信号DCLとレンズデータ信号DLCでは一部異なる部分がある。 FIG. 4 shows a signal waveform of one frame which is the minimum communication unit. The breakdown of the data format of one frame is partially different between the camera data signal DCL and the lens data signal DLC.

まずレンズデータ信号DLCのデータフォーマットについて説明する。1フレームのレンズデータ信号DLCは、前半のデータフレームとこれに続くBUSYフレームとにより構成されている。レンズデータ信号DLCは、データ送信を行っていない状態では信号レベルはHighに維持されている。 First, the data format of the lens data signal DLC will be described. The lens data signal DLC for one frame is composed of a first half data frame and a BUSY frame that follows it. The signal level of the lens data signal DLC is maintained at High when data is not being transmitted.

レンズマイコン111は、レンズデータ信号DLCの1フレームの送信開始をカメラマイコン205に通知するため、レンズデータ信号DLCの電圧レベルを1ビット期間の間LOWとする。この1ビット期間をスタートビットSTと呼び、スタートビットSTからデータフレームが開始される。続いて、レンズマイコン111は、スタートビットSTに続く2ビット目から9ビット目までの8ビット期間で1バイトのレンズデータを送信する。 The lens microcomputer 111 sets the voltage level of the lens data signal DLC to LOW for one bit period in order to notify the camera microcomputer 205 of the start of transmission of one frame of the lens data signal DLC. This 1-bit period is called a start bit ST, and the data frame starts from the start bit ST. Subsequently, the lens microcomputer 111 transmits 1-byte lens data in the 8-bit period from the second bit to the ninth bit following the start bit ST.

データのビット配列はMSB(Most Significant Bit)ファーストフォーマットとして、最上位のデータD7から始まり、順にデータD6、データD5と続き、最下位のデータD0で終了する。そして、レンズマイコン111は、10ビット目に1ビットのパリティー情報(PA)を付加し、1フレームの最後を示すストップビットSPの期間、レンズデータ信号DLCの電圧レベルをHIGHとする。これにより、スタートビットSTから開始されたデータフレーム期間が終了する。なお、パリティー情報は1ビットである必要はなく、複数のビットのパリティー情報が付加されても良い。また、パリティー情報は必須ではなく、パリティー情報が付加されないフォーマットとしても良い。 The bit arrangement of the data is MSB (Most Significant Bit) first format, starting from the highest data D7, followed by data D6 and data D5 in order, and ending with the lowest data D0. Then, the lens microcomputer 111 adds 1-bit parity information (PA) to the 10th bit and sets the voltage level of the lens data signal DLC to HIGH during the stop bit SP indicating the end of one frame. As a result, the data frame period started from the start bit ST ends. The parity information does not have to be 1 bit, and the parity information of a plurality of bits may be added. Further, the parity information is not essential, and the format may be such that the parity information is not added.

続いて、図中の「DLC(BUSY有)」に示すように、レンズマイコン111は、ストップビットSPの後にBUSYフレームを付加する。BUSYフレームは、通信方式Aと同様に、レンズマイコン111からカメラマイコン205に通知する通信待機要求BUSYの期間を表す。レンズマイコン111は、通信待機要求BUSYを解除するまでレンズデータ信号DLCの信号レベルをLowに保持する。 Subsequently, as indicated by "DLC (with BUSY)" in the figure, the lens microcomputer 111 adds a BUSY frame after the stop bit SP. Like the communication method A, the BUSY frame represents the period of the communication standby request BUSY notified from the lens microcomputer 111 to the camera microcomputer 205. The lens microcomputer 111 holds the signal level of the lens data signal DLC at Low until the communication standby request BUSY is released.

一方、レンズマイコン111からカメラマイコン205への通信待機要求BUSYの通知が不要な場合がある。この場合のために、図中の「DLC(BUSY無)」に示すように、BUSYフレーム(以下、BUSY通知ともいう)を付加せずに1フレームを構成するデータフォーマットも設けられている。つまり、レンズデータ信号DLCのデータフォーマットとしては、レンズマイコン側の処理状況に応じてBUSY通知を付加したものと付加しないものとを選択することができる。 On the other hand, it may be unnecessary to notify the communication standby request BUSY from the lens microcomputer 111 to the camera microcomputer 205. For this case, as shown in “DLC (without BUSY)” in the figure, a data format that forms one frame without adding a BUSY frame (hereinafter, also referred to as BUSY notification) is also provided. That is, as the data format of the lens data signal DLC, it is possible to select whether the BUSY notification is added or not, depending on the processing status on the lens microcomputer side.

カメラマイコン205が行うBUSY通知の有無の識別方法について説明する。図4の「DLC(BUSY無)」に示す信号波形および図4の「DLC(BUSY有)」に示す信号波形には、B1とB2というビット位置が含まれている。カメラマイコン205は、これらB1とB2のいずれかのビット位置をBUSY通知の有無を識別するBUSY識別位置Pとして選択する。このように本実施例では、BUSY識別位置PをB1とB2のビット位置から選択するデータフォーマットを採用する。これにより、レンズマイコン111の処理性能によってレンズデータ信号DLCのデータフレーム送信後にBUSY通知(DLCのLow)が確定するまでの処理時間が異なる課題に対処することができる。 A method of identifying whether or not there is a BUSY notification performed by the camera microcomputer 205 will be described. The signal waveform shown in "DLC (without BUSY)" in FIG. 4 and the signal waveform shown in "DLC (with BUSY)" in FIG. 4 include bit positions B1 and B2. The camera microcomputer 205 selects one of these bit positions B1 and B2 as the BUSY identification position P for identifying the presence/absence of BUSY notification. As described above, the present embodiment adopts the data format for selecting the BUSY identification position P from the bit positions of B1 and B2. Accordingly, it is possible to deal with the problem that the processing time until the BUSY notification (DLC Low) is determined after the transmission of the data frame of the lens data signal DLC is different depending on the processing performance of the lens microcomputer 111.

BUSY識別位置PをB1のビット位置とするかB2のビット位置とするかは、通信方式Bでの通信を行う前にカメラマイコン205とレンズマイコン111との間で通信により決定する。なお、BUSY識別位置PをB1とB2のビット位置のいずれかに固定する必要はなく、カメラマイコン205、レンズマイコン111の処理能力に応じて変更してもよい。なお、BUSY識別位置Pは、B1やB2に限らず、ストップビットSPよりも後の所定位置に設定することができる。 Whether to set the BUSY identification position P to the bit position of B1 or the bit position of B2 is determined by communication between the camera microcomputer 205 and the lens microcomputer 111 before performing communication in the communication method B. The BUSY identification position P does not have to be fixed to one of the bit positions B1 and B2, and may be changed according to the processing capabilities of the camera microcomputer 205 and the lens microcomputer 111. The BUSY identification position P is not limited to B1 and B2, and can be set at a predetermined position after the stop bit SP.

ここで、通信方式Aにおいてクロック信号LCLKに付加されたBUSYフレームが、通信方式Bではレンズデータ信号DLCに付加されるデータフォーマットとした理由について説明する。 Here, the reason why the BUSY frame added to the clock signal LCLK in the communication method A has a data format added to the lens data signal DLC in the communication method B will be described.

通信方式Aでは、通信マスタであるカメラマイコン205が出力するクロック信号LCLKと通信スレーブであるレンズマイコン111が出力するBUSY信号とを同一のクロックチャネルでやり取りする必要がある。このため、カメラマイコン205とレンズマイコン111の出力同士の衝突を時分割方式で防止している。つまり、クロックチャネルにおけるカメラマイコン205とレンズマイコン111の出力可能期間を適宜割り当てることで出力同士の衝突を防ぐことができる。 In the communication method A, it is necessary to exchange the clock signal LCLK output by the camera microcomputer 205, which is a communication master, and the BUSY signal output by the lens microcomputer 111, which is a communication slave, on the same clock channel. Therefore, the collision between the outputs of the camera microcomputer 205 and the lens microcomputer 111 is prevented by the time division method. That is, it is possible to prevent collision between outputs by appropriately assigning the output possible period of the camera microcomputer 205 and the lens microcomputer 111 in the clock channel.

ただし、この時分割方式では、カメラマイコン205とレンズマイコン111の出力同士の衝突を確実に防ぐ必要がある。このため、カメラマイコン205が8パルスのクロック信号LCLKの出力を完了した時点からレンズマイコン111がBUSY信号の出力を許容される時点までの間に、両マイコン205、111の出力が禁止される一定の出力禁止期間が挿入される。この出力禁止期間はカメラマイコン205とレンズマイコン111が通信できない通信無効期間となるため、実効的な通信速度を低下させる原因となる。 However, in this time division method, it is necessary to surely prevent a collision between the outputs of the camera microcomputer 205 and the lens microcomputer 111. Therefore, from the time when the camera microcomputer 205 completes the output of the 8-pulse clock signal LCLK to the time when the lens microcomputer 111 permits the output of the BUSY signal, the output of both microcomputers 205 and 111 is prohibited. The output prohibition period of is inserted. This output prohibition period is a communication invalid period in which the camera microcomputer 205 and the lens microcomputer 111 cannot communicate with each other, which causes a reduction in effective communication speed.

このような課題を解決するために、通信方式Bでは、レンズマイコン111の専用出力チャネルである第1のデータ通信チャネルでのレンズデータ信号DLCにレンズマイコン111からのBUSYフレームを付加するデータフォーマットを採用している。 In order to solve such a problem, in the communication method B, a data format for adding a BUSY frame from the lens microcomputer 111 to the lens data signal DLC in the first data communication channel which is a dedicated output channel of the lens microcomputer 111 is used. It is adopted.

次に、カメラデータ信号DCLのデータフォーマットについて説明する。1フレームのデータフレームの仕様はレンズデータ信号DLCと共通である。ただし、カメラデータ信号DCLは、レンズデータ信号DLCとは異なり、BUSYフレームの付加が禁止されている。 Next, the data format of the camera data signal DCL will be described. The specifications of one data frame are the same as those of the lens data signal DLC. However, unlike the lens data signal DLC, the camera data signal DCL is prohibited from adding a BUSY frame.

次に、カメラマイコン205とレンズマイコン111との間での通信方式Bでの通信の手順について説明する。まず、カメラマイコン205は、レンズマイコン111との通信を開始するイベントが発生すると、送信要求信号RTSの電圧レベルをLowにする(以下、送信要求信号RTSをアサートするという)ことで、レンズマイコン111に対して通信要求を通知する。 Next, a procedure of communication in the communication method B between the camera microcomputer 205 and the lens microcomputer 111 will be described. First, when an event to start communication with the lens microcomputer 111 occurs, the camera microcomputer 205 sets the voltage level of the transmission request signal RTS to Low (hereinafter referred to as asserting the transmission request signal RTS), and thus the lens microcomputer 111. To notify the communication request.

レンズマイコン111は、送信要求信号RTSの電圧レベルがLowに変化したことにより通信要求を検出すると、カメラマイコン205に送信するレンズデータ信号DLCの生成処理を行う。そして、該レンズデータ信号DLCの送信準備が整うと、第1のデータ通信チャネルを介して1フレームのレンズデータ信号DLCの送信を開始する。ここで、レンズマイコン111は、通信要求信号RTSの電圧レベルがLowとなった時点から、カメラマイコン205とレンズマイコン111との間で相互に設定した設定時間内にレンズデータ信号DLCの送信を開始する。 When the lens microcomputer 111 detects a communication request due to the voltage level of the transmission request signal RTS changing to Low, the lens microcomputer 111 performs a process of generating the lens data signal DLC to be transmitted to the camera microcomputer 205. Then, when the lens data signal DLC is ready to be transmitted, transmission of the lens data signal DLC for one frame is started via the first data communication channel. Here, the lens microcomputer 111 starts transmission of the lens data signal DLC within a set time mutually set between the camera microcomputer 205 and the lens microcomputer 111 from the time when the voltage level of the communication request signal RTS becomes Low. To do.

すなわち、通信方式Bでは、通信要求信号RTSの電圧レベルがLowとなった時点からレンズデータ信号DLCの送信が開始されるまでの間に、送信するレンズデータを確定させればよい。通信方式Aのように、最初のクロックパルスが入力される時点までに送信するレンズデータを確定させておく必要があるといった厳しい制約がないため、レンズデータ信号DLCの送信を開始するタイミングに自由度を持たせることができる。 That is, in the communication method B, the lens data to be transmitted may be fixed between the time when the voltage level of the communication request signal RTS becomes Low and the time when the transmission of the lens data signal DLC is started. Unlike the communication method A, since there is no strict constraint that the lens data to be transmitted needs to be determined by the time the first clock pulse is input, there is no restriction on the timing of starting transmission of the lens data signal DLC. Can have

次にカメラマイコン205は、レンズマイコン111から受信したレンズデータ信号DLCのデータフレームの先頭に付加されたスタートビットSTの検出に応じて、送信要求信号RTSの電圧レベルをHighに戻す。以下、送信要求信号RTSをネゲートするという。これにより、送信要求を解除するとともに第2の通信チャネルでのカメラデータ信号DCLの送信を開始する。なお、送信要求信号RTSのネゲートとカメラデータ信号DCLの送信開始はどちらが先であってもよく、レンズデータ信号DLCのデータフレームの受信が完了するまでにこれらを行えばよい。 Next, the camera microcomputer 205 returns the voltage level of the transmission request signal RTS to High in response to the detection of the start bit ST added to the beginning of the data frame of the lens data signal DLC received from the lens microcomputer 111. Hereinafter, the transmission request signal RTS will be negated. As a result, the transmission request is canceled and the transmission of the camera data signal DCL on the second communication channel is started. It should be noted that the negation of the transmission request signal RTS and the start of transmission of the camera data signal DCL may be performed first, and these may be performed until the reception of the data frame of the lens data signal DLC is completed.

レンズデータ信号DLCのデータフレームを送信したレンズマイコン111は、カメラマイコン205に通信待機要求BUSYを通知する必要がある場合には、レンズデータ信号DLCにBUSYフレームを付加する。カメラマイコン205は、通信待機要求BUSYの通知の有無を監視しており、通信待機要求BUSYが通知されている間は次の送信要求のために送信要求信号RTSをアサートすることが禁止される。 The lens microcomputer 111 that has transmitted the data frame of the lens data signal DLC adds a BUSY frame to the lens data signal DLC when it is necessary to notify the camera microcomputer 205 of the communication standby request BUSY. The camera microcomputer 205 monitors whether or not the communication standby request BUSY has been notified, and while the communication standby request BUSY is being notified, assertion of the transmission request signal RTS for the next transmission request is prohibited.

レンズマイコン111は、通信待機要求BUSYによりカメラマイコン205からの通信を待機させている期間に必要な処理を実行し、次の通信準備が整った後に通信待機要求BUSYを解除する。カメラマイコン205は、通信待機要求BUSYが解除され、かつカメラデータ信号DCLのデータフレームの送信が完了したことを条件に、次の送信要求のために送信要求信号RTSをアサートすることが許可される。 The lens microcomputer 111 executes necessary processing during the period in which the communication from the camera microcomputer 205 is on standby in response to the communication standby request BUSY, and releases the communication standby request BUSY after the next communication is ready. The camera microcomputer 205 is permitted to assert the transmission request signal RTS for the next transmission request, provided that the communication standby request BUSY is released and the transmission of the data frame of the camera data signal DCL is completed. ..

このように、本実施例では、カメラマイコン205での通信開始イベントがトリガとなって送信要求信号RTSがアサートされたことに応じて、レンズマイコン111がカメラマイコン205にレンズデータ信号DLCのデータフレームの送信を開始する。そして、カメラマイコン205は、レンズデータ信号DLCのスタートビットSTを検出することに応じて、カメラデータ信号DCLのデータフレームのレンズマイコン111への送信を開始する。 As described above, in this embodiment, the lens microcomputer 111 sends the data frame of the lens data signal DLC to the camera microcomputer 205 in response to the transmission request signal RTS being asserted triggered by the communication start event in the camera microcomputer 205. To start sending. Then, the camera microcomputer 205 starts transmitting the data frame of the camera data signal DCL to the lens microcomputer 111 in response to detecting the start bit ST of the lens data signal DLC.

ここでレンズマイコン111は、必要に応じて通信待機要求BUSYのためにレンズデータ信号DLCのデータフレームの後にBUSYフレームを付加し、その後、通信待機要求BUSYを解除することで1フレームの通信処理が完了する。この通信処理により、カメラマイコン205とレンズマイコン111との間で相互に1バイトの通信データが送受信される。 Here, the lens microcomputer 111 adds a BUSY frame after the data frame of the lens data signal DLC for the communication standby request BUSY as necessary, and then releases the communication standby request BUSY to perform one frame of communication processing. Complete. By this communication processing, 1-byte communication data is transmitted and received between the camera microcomputer 205 and the lens microcomputer 111.

次に、通信方式Bを用いてフォーマットF2により通信を行う通信モードM3について説明する。図5(A)には、通信モードM3においてカメラマイコン205とレンズマイコン111との間でやり取りされる通信信号の波形を示している。図5(A)では、連続的に3フレームのデータを送信するときにおける通信信号の波形を示している。先に述べたように、フォーマットF2では、レンズデータ信号DLCに通信待機要求BUSYを付加することは禁止される。 Next, the communication mode M3 in which communication is performed in the format F2 using the communication method B will be described. FIG. 5A shows a waveform of a communication signal exchanged between the camera microcomputer 205 and the lens microcomputer 111 in the communication mode M3. FIG. 5A shows a waveform of a communication signal when transmitting data of three frames continuously. As described above, in the format F2, adding the communication standby request BUSY to the lens data signal DLC is prohibited.

通信モードM3におけるレンズデータ信号DLCのデータフォーマットでは、データフレームのみで1フレームが構成され、BUSYフレームは存在しない。このため、通信モードM3では、レンズマイコン111からカメラマイコン205への通信待機要求BUSYを通知することができない。 In the data format of the lens data signal DLC in the communication mode M3, one frame is composed of only data frames, and no BUSY frame exists. Therefore, in the communication mode M3, the communication standby request BUSY from the lens microcomputer 111 to the camera microcomputer 205 cannot be notified.

このようなフォーマットF2は、比較的大きな容量のデータをカメラマイコン205とレンズマイコン111との間で転送する際に、フレーム間の間隔を短くした連続通信を行う用途に用いられる。すなわち、フォーマットF2により、大容量データの高速通信が可能となる。 The format F2 as described above is used for continuous communication with a short interval between frames when transferring a relatively large amount of data between the camera microcomputer 205 and the lens microcomputer 111. That is, the format F2 enables high-speed communication of a large amount of data.

次に、本実施例が特徴とするカメラマイコン205とレンズマイコン111との間の通信制御処理について説明する。図5(B)は、カメラマイコン205とレンズマイコン111がそれぞれ、nフレームのカメラデータ信号DCLおよびレンズデータ信号DLCを連続的に送受信するときにおける通信信号の波形を示している。カメラマイコン205は、レンズマイコン111との通信を開始するイベントが発生すると、送信要求信号RTSをアサートする。フォーマットF2では、フォーマットF1と異なり、カメラマイコン205は送信要求信号RTSを1フレームごとにネゲートする必要はない。そのため、連続的にデータ送受信が可能な状態である間は、送信要求信号RTSのアサート状態を維持する。 Next, a communication control process between the camera microcomputer 205 and the lens microcomputer 111, which is a feature of this embodiment, will be described. FIG. 5B shows waveforms of communication signals when the camera microcomputer 205 and the lens microcomputer 111 continuously transmit and receive the camera data signal DCL and the lens data signal DLC of n frames, respectively. The camera microcomputer 205 asserts the transmission request signal RTS when an event that starts communication with the lens microcomputer 111 occurs. In the format F2, unlike the format F1, the camera microcomputer 205 does not need to negate the transmission request signal RTS for each frame. Therefore, while the data can be continuously transmitted/received, the assertion state of the transmission request signal RTS is maintained.

レンズマイコン111は、送信要求信号RTSのアサートにより通信要求を検出すると、カメラマイコン205に送信するレンズデータ信号DLCの生成処理を行う。そして、該レンズデータ信号DLCの送信準備が整うと、第1のデータ通信チャネルでの1フレーム目のレンズデータ信号DLC(DL1)の送信を開始する。 When the lens microcomputer 111 detects the communication request by asserting the transmission request signal RTS, the lens microcomputer 111 performs the generation process of the lens data signal DLC to be transmitted to the camera microcomputer 205. When the lens data signal DLC is ready to be transmitted, transmission of the lens data signal DLC (DL1) of the first frame on the first data communication channel is started.

1フレーム目のレンズデータ信号DLCのデータフレームを送信したレンズマイコン111は、再び送信要求信号RTSを確認する。このとき、送信要求信号RTSがアサート状態であった場合には、レンズマイコン111は送信が完了した1フレーム目に続けて次の2フレーム目のレンズデータ信号DLC(DL2)をカメラマイコン205に送信する。このようにして送信要求信号RTSのアサート状態が維持されている間はレンズマイコン111からのレンズデータ信号DLC(DL1〜DLn)がカメラマイコン205に連続的に送信される。そして、予め決められたフレーム数nの送信が完了すると、レンズデータ信号DLCの送信が停止される。 The lens microcomputer 111 that has transmitted the data frame of the lens data signal DLC of the first frame confirms the transmission request signal RTS again. At this time, if the transmission request signal RTS is in the asserted state, the lens microcomputer 111 transmits the lens data signal DLC (DL2) of the next second frame to the camera microcomputer 205 following the first frame in which the transmission is completed. To do. In this way, the lens data signals DLC (DL1 to DLn) from the lens microcomputer 111 are continuously transmitted to the camera microcomputer 205 while the assertion state of the transmission request signal RTS is maintained. Then, when the transmission of the predetermined number of frames n is completed, the transmission of the lens data signal DLC is stopped.

カメラマイコン205からは、レンズマイコン111からのレンズデータ信号DCLのフレームごとのスタートビットSTを検出することに応じて、nフレームのカメラデータ信号DCL(DC1〜DCn)の第2の通信チャネルでの送信が開始される。 From the camera microcomputer 205, in response to detecting the start bit ST for each frame of the lens data signal DCL from the lens microcomputer 111, in the second communication channel of the camera data signal DCL (DC1 to DCn) of n frames. Transmission starts.

図5(C)には、図5(B)で示した連続データ送受信の通信中にカメラマイコン205から又はレンズマイコン111から一時的な通信待機が指示された場合の通信信号の波形を示している。ここでも、カメラマイコン205から通信要求信号RTSがアサートされることでレンズマイコン111がレンズデータ信号DLCの送信を開始し、そのスタートビットSTの検出に応じてカメラマイコン205がカメラデータ信号DCLの送信を開始する。 FIG. 5C shows the waveform of the communication signal when the camera microcomputer 205 or the lens microcomputer 111 instructs a temporary communication standby during the communication of continuous data transmission and reception shown in FIG. 5B. There is. Also here, the communication request signal RTS is asserted from the camera microcomputer 205 so that the lens microcomputer 111 starts transmitting the lens data signal DLC, and the camera microcomputer 205 transmits the camera data signal DCL in response to the detection of the start bit ST. To start.

T2w1は、カメラマイコン205から通信待機が指示された期間である通信待機期間を示し、該指示は送信要求信号RTSを一時的にネゲートすることでレンズマイコン111に通知される。レンズマイコン111は、送信要求信号RTSがネゲートされたことを検出すると、その検出時点で送信途中のレンズデータ信号DLCのフレーム(図ではDL6:以下、休止フレームという)の送信を完了した後、送信を休止する。 T2w1 indicates a communication standby period in which the communication standby is instructed by the camera microcomputer 205, and the instruction is notified to the lens microcomputer 111 by temporarily negating the transmission request signal RTS. When the lens microcomputer 111 detects that the transmission request signal RTS has been negated, the lens microcomputer 111 completes the transmission of the lens data signal DLC frame (DL6: hereinafter, a rest frame) in the transmission at the time of the detection, and then transmits. Pause.

このレンズデータ信号DLCの送信休止を受けて、カメラマイコン205も、カメラデータ信号DCLのうち上記休止フレームに対応するフレーム(DC6)を送信した後にカメラデータ信号DCLの送信を休止する。このような通信制御により、連続データ送受信の通信中に通信待機指示が発生した場合でもレンズデータ信号DLCとカメラデータ信号DCLの送信済みフレーム数を同数にするように管理することができる。 In response to the suspension of the transmission of the lens data signal DLC, the camera microcomputer 205 also suspends the transmission of the camera data signal DCL after transmitting the frame (DC6) corresponding to the suspension frame in the camera data signal DCL. With such communication control, even if a communication standby instruction is issued during continuous data transmission/reception, the lens data signal DLC and the camera data signal DCL can be managed to have the same number of transmitted frames.

カメラマイコン205は、通信待機の要求イベントがなくなると、送信要求信号RTSを再びアサートすることでレンズマイコン111に対して通信再開を指示することができる。通信再開指示に応じて、レンズマイコン111は休止フレームの次のフレーム(DL7:以下、再開フレームという)からレンズデータ信号DLCの送信を再開する。そして、再開フレームのスタートビットSTの検出に応じて、カメラマイコン205はカメラデータ信号DCLの上記再開フレームに対応するフレーム(DC7)からの送信を再開する。 When the communication waiting request event disappears, the camera microcomputer 205 can instruct the lens microcomputer 111 to restart communication by asserting the transmission request signal RTS again. In response to the communication restart instruction, the lens microcomputer 111 restarts transmission of the lens data signal DLC from the frame following the pause frame (DL7: hereinafter referred to as restart frame). Then, in response to the detection of the start bit ST of the restart frame, the camera microcomputer 205 restarts the transmission of the camera data signal DCL from the frame (DC7) corresponding to the restart frame.

一方、T2w2はレンズマイコン111から通信待機が指示された期間である通信待機期間を表している。図では、通信待機期間T2w1の終了後はカメラマイコン205およびレンズマイコン111とも通信待機を指示しておらず、上述した再開フレームDL7,DC7およびそれに続くフレームDL8、DC8〜DL9、DC9の順で連続データ送受信を行っている。 On the other hand, T2w2 represents a communication standby period in which the lens microcomputer 111 instructs the communication standby. In the figure, neither the camera microcomputer 205 nor the lens microcomputer 111 is instructed to wait for communication after the end of the communication waiting period T2w1, and the above-described restart frames DL7 and DC7 and the subsequent frames DL8, DC8 to DL9, and DC9 are consecutive in this order. Sending and receiving data.

そして、レンズマイコン111内でフレームDL9の送信(カメラマイコン205でのフレームDC9の受信)が完了したときに通信待機要求イベントが発生することで、レンズマイコン111はカメラマイコン205に対して通信待機指示を通知する。 Then, when the communication standby request event occurs when the transmission of the frame DL9 (reception of the frame DC9 by the camera microcomputer 205) is completed in the lens microcomputer 111, the lens microcomputer 111 instructs the camera microcomputer 205 to perform the communication standby instruction. To notify.

送信要求信号RTSがアサート状態であるときに、レンズマイコン111がレンズデータ信号DLCを送信しないことで、レンズマイコン111からカメラマイコン205へ通信を休止することが通知される。 When the transmission request signal RTS is in the asserted state, the lens microcomputer 111 does not transmit the lens data signal DLC, so that the lens microcomputer 111 notifies the camera microcomputer 205 that communication is suspended.

カメラマイコン205は、レンズデータ信号DLCのフレームごとのスタートビットSTを常時監視しており、スタートビットSTを検出しない場合には、次のカメラデータ信号DCLのフレームの送信を停止するよう取り決めている。カメラマイコン205は、送信要求信号RTSをアサートしていてもレンズマイコン111からのレンズデータ信号DLC(図ではDL10)を受信しない場合は、カメラデータ信号DCL(DC10)を送信することなく通信を休止する。なお、カメラマイコン205は、レンズマイコン111からの指示による通信待機期間T2w2中は送信要求信号RTSをアサート状態に維持する。 The camera microcomputer 205 constantly monitors the start bit ST of each frame of the lens data signal DLC, and if it does not detect the start bit ST, it decides to stop the transmission of the next frame of the camera data signal DCL. .. If the camera microcomputer 205 does not receive the lens data signal DLC (DL10 in the figure) from the lens microcomputer 111 even if the transmission request signal RTS is asserted, the camera microcomputer 205 suspends communication without transmitting the camera data signal DCL (DC10). To do. The camera microcomputer 205 maintains the transmission request signal RTS in the asserted state during the communication standby period T2w2 instructed by the lens microcomputer 111.

その後、レンズマイコン111内で通信待機要求イベントがなくなってレンズマイコン111がレンズデータ信号DLCの再開フレームDL10の送信を再開する。カメラマイコン205は、該再開フレームDL10のスタートビットSTを検出することに応じてカメラデータ信号DCLにおける対応フレームDC10の送信を再開する。 Then, the communication standby request event disappears in the lens microcomputer 111, and the lens microcomputer 111 restarts the transmission of the restart frame DL10 of the lens data signal DLC. The camera microcomputer 205 restarts the transmission of the corresponding frame DC10 in the camera data signal DCL in response to detecting the start bit ST of the restart frame DL10.

次に、図6を用いて、カメラマイコン205とレンズマイコン111の間で行われる通信フォーマットの決定手順について説明する。カメラマイコン205及びレンズマイコン111は、コンピュータプログラムである通信制御プログラムに従って、図6、図7のフローチャートに示す通信制御を行う。なお図6、7において「S」はステップ意味する。 Next, a procedure for determining a communication format performed between the camera microcomputer 205 and the lens microcomputer 111 will be described with reference to FIG. The camera microcomputer 205 and the lens microcomputer 111 perform the communication control shown in the flowcharts of FIGS. 6 and 7 according to the communication control program which is a computer program. 6 and 7, "S" means a step.

まず、カメラ本体200に交換レンズ100が装着されると、ステップS100、ステップS200において、カメラマイコン205及びレンズマイコン111は、通信フォーマットを、通信の成立が保障された初期通信フォーマットに設定する。ここで、初期通信フォーマットは、本実施例で開示した通信方式とデータフォーマットの組み合わせでもよいし、それ以外の通信フォーマットでもよい。なお、初期通信フォーマットとして調歩同期式の通信フォーマットが選択されるときには、どのようなカメラと交換レンズが組み合わされても通信が実行できるようにBUSY識別位置Pを設定することが好ましい。 First, when the interchangeable lens 100 is attached to the camera body 200, in step S100 and step S200, the camera microcomputer 205 and the lens microcomputer 111 set the communication format to the initial communication format in which the establishment of communication is guaranteed. Here, the initial communication format may be a combination of the communication method and the data format disclosed in this embodiment, or may be another communication format. When the start-stop synchronization communication format is selected as the initial communication format, it is preferable to set the BUSY identification position P so that communication can be executed regardless of which camera and interchangeable lens are combined.

続いて、ステップS101において、カメラマイコン205は、カメラ本体200において対応可能な通信フォーマットを表すカメラ識別情報をレンズマイコン111に送信する。また、ステップS202において、レンズマイコン111は、交換レンズ100において対応可能な通信フォーマットを表すレンズ識別情報をカメラマイコン205に送信する。 Subsequently, in step S101, the camera microcomputer 205 transmits camera identification information indicating a communication format compatible with the camera body 200 to the lens microcomputer 111. Further, in step S202, the lens microcomputer 111 transmits lens identification information indicating a communication format compatible with the interchangeable lens 100 to the camera microcomputer 205.

ここで、「識別情報」には、クロック同期式と調歩同期式のいずれの通信方式に対応しているのかを示す情報や、対応可能な通信ビットレートの範囲を示す情報が含まれる。BUSY識別位置Pを示す情報も識別情報に含まれる。 Here, the “identification information” includes information indicating which of the clock synchronization type and the start/stop synchronization type communication system is supported, and information indicating the range of communication bit rates that can be supported. Information indicating the BUSY identification position P is also included in the identification information.

カメラマイコン205は、ステップS102においてレンズ識別情報を受信する。レンズマイコン111は、ステップS201においてカメラ識別情報を受信する。ここで、図6のフローチャートでは、カメラ識別情報が送信された後にレンズ識別情報が送信されているが、カメラ識別情報の送信とレンズ識別情報の送信は同時であってもよい。また、レンズ識別情報が送信された後にカメラ識別情報が送信されるようにしてもよい。 The camera microcomputer 205 receives the lens identification information in step S102. The lens microcomputer 111 receives the camera identification information in step S201. Here, in the flowchart of FIG. 6, the lens identification information is transmitted after the camera identification information is transmitted, but the camera identification information and the lens identification information may be transmitted at the same time. Further, the camera identification information may be transmitted after the lens identification information is transmitted.

続いて、ステップS103、ステップS203において、以降の通信における通信フォーマットの設定が行われる。具体的には、カメラマイコン205とレンズマイコン111は、互いに対応可能な通信ビットレートのうち最速レートを通信ビットレートとして決定する。また、互いに対応可能なBUSY識別位置のうちストップビットSPから最も近い位置をBUSY識別位置に設定する。 Subsequently, in steps S103 and S203, the communication format is set in the subsequent communication. Specifically, the camera microcomputer 205 and the lens microcomputer 111 determine the fastest communication bit rate among the communication bit rates compatible with each other as the communication bit rate. Further, among the BUSY identifying positions which can correspond to each other, the position closest to the stop bit SP is set as the BUSY identifying position.

次に、図7を用いて、調歩同期式の通信方式におけるデータ通信フローについて説明する。図7では、BUSY信号の付加が許可されたデータフォーマットにおける通信フローについて説明する。 Next, the data communication flow in the asynchronous communication system will be described with reference to FIG. In FIG. 7, a communication flow in the data format in which the BUSY signal is permitted to be added will be described.

カメラマイコン205は、レンズマイコン111との通信を開始する通信イベントが発生したか否かを監視しており、ステップS110において通信イベントが発生したときにステップS111に進む。ステップS111では、これまでに説明したように、通信要求信号RTSをアサートすることで、レンズマイコン111に対して通信要求を行う。 The camera microcomputer 205 monitors whether or not a communication event for starting communication with the lens microcomputer 111 has occurred, and when a communication event has occurred in step S110, the process proceeds to step S111. In step S111, the communication request signal RTS is asserted to make a communication request to the lens microcomputer 111, as described above.

レンズマイコン111は、通信要求信号RTSがアサートされたか否かを監視しており、ステップS210において通信要求信号RTSがアサートされたことを認識するとステップS211に進む。ステップS211において、レンズマイコン111は、第1のデータ通信チャネルを介してレンズデータ信号DLCをカメラマイコン205に送信する。 The lens microcomputer 111 monitors whether the communication request signal RTS is asserted, and when recognizing that the communication request signal RTS is asserted in step S210, the process proceeds to step S211. In step S211, the lens microcomputer 111 transmits the lens data signal DLC to the camera microcomputer 205 via the first data communication channel.

カメラマイコン205は、レンズマイコン111からレンズデータ信号DLCを受信すると(ステップS112のYES)、ステップS113に進み、通信要求信号RTSをネゲートする。そして、ステップS114に進み、第2のデータ通信チャネルを介してカメラデータ信号DCLをレンズマイコン111に送信する。 Upon receiving the lens data signal DLC from the lens microcomputer 111 (YES in step S112), the camera microcomputer 205 proceeds to step S113 and negates the communication request signal RTS. Then, in step S114, the camera data signal DCL is transmitted to the lens microcomputer 111 via the second data communication channel.

レンズマイコン111は、ステップS212でカメラデータ信号DCLの受信開始を検出すると、ステップS213に進み、カメラデータ信号DCLの受信処理を行う。ステップS213の処理と並行してステップS214において、カメラマイコン205に通信待機要求BUSYを通知する必要があるか否かの判定を行う。通信待機要求BUSYを通知する必要がない場合は、ステップS218に進み、カメラデータ信号DCLの受信が完了するまで待機する。 When the lens microcomputer 111 detects the reception start of the camera data signal DCL in step S212, the lens microcomputer 111 proceeds to step S213 to perform the reception processing of the camera data signal DCL. In parallel with the processing of step S213, in step S214, it is determined whether or not it is necessary to notify the camera microcomputer 205 of the communication standby request BUSY. If it is not necessary to notify the communication standby request BUSY, the process proceeds to step S218 and waits until the reception of the camera data signal DCL is completed.

一方、レンズマイコン111からカメラマイコン205に対して通信待機要求BUSYを通知する必要があるときは、ステップS215に進み、レンズデータ信号DLCにBUSYフレームを付加する。レンズマイコン111は、通信待機要求BUSYを通知している間に必要な処理を実行し、次の通信準備が整った後に(ステップS216のYes)、通信待機要求BUSYを解除する(ステップS217)。通信待機要求BUSYを解除した後は、ステップS218に進み、カメラデータ信号DCLの受信が完了するまで待機する。カメラデータ信号DCLの受信が完了すると(ステップS218のYes)、ステップS210に戻り、通信要求信号RTSがアサートされたか否かの監視を継続する。 On the other hand, when it is necessary to notify the camera microcomputer 205 of the communication standby request BUSY from the lens microcomputer 111, the process proceeds to step S215, and a BUSY frame is added to the lens data signal DLC. The lens microcomputer 111 executes necessary processing while notifying the communication standby request BUSY, and releases the communication standby request BUSY after the next communication is ready (Yes in step S216) (step S217). After canceling the communication standby request BUSY, the process proceeds to step S218 and waits until the reception of the camera data signal DCL is completed. When the reception of the camera data signal DCL is completed (Yes in step S218), the process returns to step S210 to continue monitoring whether the communication request signal RTS is asserted.

カメラマイコン205は、ステップS115において通信待機要求BUSYの通知を受けると、通信待機要求BUSYが解除されるまで待機する。通信待機要求BUSYが解除される(ステップS116のYES)と、ステップS117に進み、カメラデータ信号DCLの送信が完了したか否かの判定を行う。また、ステップS115において通信待機要求BUSYの通知を受けていないときにもステップS117に進み、カメラデータ信号DCLの送信が完了したか否かの判定を行う。ステップS117において、カメラデータ信号DCLの送信が完了したと判定されると、ステップS110に戻り、通信イベントが発生したか否かの監視を継続する。 Upon receiving the notification of the communication standby request BUSY in step S115, the camera microcomputer 205 waits until the communication standby request BUSY is released. When the communication standby request BUSY is canceled (YES in step S116), the process proceeds to step S117 to determine whether the transmission of the camera data signal DCL is completed. Further, even when the communication standby request BUSY is not notified in step S115, the process proceeds to step S117, and it is determined whether or not the transmission of the camera data signal DCL is completed. When it is determined in step S117 that the transmission of the camera data signal DCL is completed, the process returns to step S110, and the monitoring of whether a communication event has occurred is continued.

以上説明したように、本実施例は、3つのチャネルから構成される調歩同期式(通信方式B)の通信における通信制御に関するものである。レンズマイコン111の専用出力チャネルである第1のデータ通信チャネルを介して、レンズマイコン111からカメラマイコン205に通信待機要求BUSYが送信される。一方、カメラマイコン205からの送信要求信号RTSは、カメラマイコン205の専用出力チャネルとしての通知チャネルを介して、カメラマイコン205からレンズマイコン111へ送信される。 As described above, the present embodiment relates to communication control in start-stop synchronization (communication method B) communication including three channels. A communication standby request BUSY is transmitted from the lens microcomputer 111 to the camera microcomputer 205 via the first data communication channel which is a dedicated output channel of the lens microcomputer 111. On the other hand, the transmission request signal RTS from the camera microcomputer 205 is transmitted from the camera microcomputer 205 to the lens microcomputer 111 via the notification channel as a dedicated output channel of the camera microcomputer 205.

このように、レンズマイコン111からの通信待機要求BUSYは、レンズマイコン111の専用出力チャネルを介して送受信し、カメラマイコン205からの送信要求信号RTSは、カメラマイコン205の専用出力チャネルを介して送受信される。これにより、カメラマイコン205とレンズマイコン111の間の通信無効期間を短縮することができ、結果として実行的な通信速度を高速化させることができる。 As described above, the communication standby request BUSY from the lens microcomputer 111 is transmitted/received via the dedicated output channel of the lens microcomputer 111, and the transmission request signal RTS from the camera microcomputer 205 is transmitted/received via the dedicated output channel of the camera microcomputer 205. To be done. As a result, the communication invalid period between the camera microcomputer 205 and the lens microcomputer 111 can be shortened, and as a result, the effective communication speed can be increased.

また、通信の開始タイミングに関しては、レンズマイコン111からカメラマイコン205へのデータ送信が先に開始される。カメラマイコン205は、レンズマイコン111から送信されるデータフレームのスタートビットSTを検出することに応じてデータ送信を開始する。通信の開始タイミングをこのように設定することで、送信要求信号RTSを受けたレンズマイコン111がカメラマイコン205に対してのデータ送信を開始するタイミングに自由度を持たせることができる。 Regarding the communication start timing, data transmission from the lens microcomputer 111 to the camera microcomputer 205 is started first. The camera microcomputer 205 starts data transmission in response to detecting the start bit ST of the data frame transmitted from the lens microcomputer 111. By setting the communication start timing in this way, it is possible to give the lens microcomputer 111, which has received the transmission request signal RTS, a timing at which data transmission to the camera microcomputer 205 starts.

例えば、レンズマイコン111の情報処理能力に応じてデータ送信の開始タイミングを変化させることができる。これにより、通信の破綻を招くことなく、カメラ本体200と交換レンズ100の間の通信速度を向上させることができる。 For example, the start timing of data transmission can be changed according to the information processing capability of the lens microcomputer 111. As a result, the communication speed between the camera body 200 and the interchangeable lens 100 can be improved without causing communication failure.

以上説明した実施例は代表的な例に過ぎず、本発明の実施に際しては、各実施例に対して種々の変形や変更が可能である。例えば、上記実施例では、アクセサリ装置として交換レンズを用いた例を示したが、撮像装置との通信機能を有するものであればストロボ等を用いてもよい。 The embodiments described above are merely representative examples, and various modifications and changes can be made to the embodiments when implementing the present invention. For example, in the above-described embodiment, the example in which the interchangeable lens is used as the accessory device is shown, but a strobe or the like may be used as long as it has a communication function with the imaging device.

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

Claims (25)

撮像装置に対して着脱可能なアクセサリ装置であって、
前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられるアクセサリデータ通信チャネルをと含むチャネルを設けるアクセサリ通信部、及び前記アクセサリ通信部の制御を行うアクセサリ制御部を有し、
前記アクセサリ制御部は、前記アクセサリ装置から前記撮像装置へのデータ送信を要求する送信要求信号を受信することに応じて、前記アクセサリデータ通信チャネルを介して前記撮像装置に対してデータを送信し、
前記アクセサリ制御部は、前記撮像装置から前記アクセサリ装置に対して前記送信要求信号が送信されないようにするための通信待機要求信号を前記撮像装置に送信することを特徴とするアクセサリ装置。
An accessory device detachable from an imaging device,
An accessory including a channel including a notification channel used for notification from the imaging device to the accessory device and an accessory data communication channel used for data transmission from the accessory device to the imaging device, between the imaging device A communication unit, and an accessory control unit that controls the accessory communication unit,
The accessory control unit transmits data to the imaging device via the accessory data communication channel in response to receiving a transmission request signal requesting data transmission from the accessory device to the imaging device,
The accessory device, wherein the accessory control unit transmits a communication standby request signal for preventing the transmission request signal from being transmitted from the imaging device to the accessory device, to the imaging device.
前記撮像装置と前記アクセサリ装置との間に設けられるチャネルは、前記通知チャネルと、前記アクセサリデータ通信チャネルと、前記撮像装置から前記アクセサリ装置へのデータ送信に用いられる撮像装置データ通信チャネルから構成されることを特徴とする請求項1に記載のアクセサリ装置。 The channel provided between the imaging device and the accessory device is composed of the notification channel, the accessory data communication channel, and an imaging device data communication channel used for data transmission from the imaging device to the accessory device. The accessory device according to claim 1, wherein: 前記通信待機要求信号の送信開始は、前記アクセサリデータ通信チャネルの電圧レベルを第1のレベルから該第1のレベルよりも低い第2のレベルに変更することで表されることを特徴とする請求項1又は2に記載のアクセサリ装置。 The start of transmission of the communication standby request signal is represented by changing a voltage level of the accessory data communication channel from a first level to a second level lower than the first level. Item 2. The accessory device according to Item 1 or 2. 前記アクセサリ制御部は、前記アクセサリデータ通信チャネルの電圧レベルを前記第2のレベルから前記第1のレベルに変更することにより、前記通信待機要求信号の送信を終了することを特徴とする請求項3に記載のアクセサリ装置。 4. The accessory control unit ends the transmission of the communication standby request signal by changing the voltage level of the accessory data communication channel from the second level to the first level. The accessory device according to. 前記撮像装置と調歩同期式の通信を行うことを特徴とする請求項1乃至4のいずれか1項に記載のアクセサリ装置。 The accessory device according to claim 1, wherein the accessory device performs asynchronous communication with the imaging device. 前記アクセサリ制御部は、前記アクセサリデータ通信チャネルを介して送信するデータフレームに前記通信待機要求信号を付加することにより、前記通信待機要求信号を前記撮像装置に送信することを特徴とする請求項5に記載のアクセサリ装置。 The accessory control unit transmits the communication standby request signal to the imaging device by adding the communication standby request signal to a data frame transmitted via the accessory data communication channel. The accessory device according to. 前記アクセサリ装置は、通信待機期間を設けることなくデータフレームを連続的に送信するデータフォーマットと、通信待機期間を設けてデータフレームを間欠的に送信するデータフォーマットを切り替えて前記撮像装置と通信を行うことを特徴とする請求項5又は6に記載のアクセサリ装置。 The accessory device communicates with the imaging device by switching between a data format in which data frames are continuously transmitted without providing a communication standby period and a data format in which data frames are intermittently transmitted with a communication standby period provided. The accessory device according to claim 5 or 6, characterized in that. 前記アクセサリ装置は、クロック信号と同期したクロック同期式の通信方式と、調歩同期式の通信方式の間で通信方式を切り替えて前記撮像装置と通信可能であり、
前記アクセサリ制御部は、前記クロック同期式の通信において、前記通知チャネルを介して前記撮像装置から送信される前記クロック信号を受信し、前記調歩同期式の通信において、前記通知チャネルを介して前記送信要求信号を受信することを特徴とする請求項1乃至7のいずれか1項に記載のアクセサリ装置。
The accessory device is capable of communicating with the imaging device by switching the communication system between a clock-synchronous communication system synchronized with a clock signal and an asynchronous communication system.
The accessory control unit receives the clock signal transmitted from the imaging device via the notification channel in the clock synchronous communication, and transmits the clock signal via the notification channel in the start/stop communication. The accessory device according to claim 1, wherein the accessory device receives a request signal.
前記アクセサリ制御部は、前記クロック同期式の通信方式が設定されている間は、前記通知チャネルを介して前記通信待機要求信号を前記撮像装置に送信することを特徴とする請求項8に記載のアクセサリ装置。 9. The accessory control unit transmits the communication standby request signal to the imaging device via the notification channel while the clock-synchronous communication method is set. Accessory equipment. 前記送信要求信号は、前記通知チャネルの電圧を変更することにより表されることを特徴とする請求項1乃至9のいずれか1項に記載のアクセサリ装置。 The accessory device according to any one of claims 1 to 9, wherein the transmission request signal is represented by changing a voltage of the notification channel. 前記撮像装置が有する撮像素子に対して被写体像を形成可能な撮影光学系を有することを特徴とする請求項1乃至10のいずれか1項に記載のアクセサリ装置。 The accessory device according to claim 1, further comprising a photographing optical system capable of forming a subject image with respect to an image sensor included in the image pickup device. アクセサリ装置が取り外し可能に装着される撮像装置であって、
前記アクセサリ装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられるアクセサリデータ通信チャネルとを含むチャネルを設ける撮像装置通信部、及び前記撮像装置通信部の制御を行う撮像装置制御部を有し、
前記撮像装置制御部は、前記アクセサリ装置から前記撮像装置へのデータ送信を要求する送信要求信号が送信されないようにするための通信待機要求信号を、前記アクセサリデータ通信チャネルを介して前記アクセサリ装置から受信している間は、前記送信要求信号を前記アクセサリ装置に送信しないことを特徴とする撮像装置。
An imaging device to which an accessory device is detachably mounted,
Imaging with a channel including a notification channel used for notification from the imaging device to the accessory device and an accessory data communication channel used for data transmission from the accessory device to the imaging device, between the accessory device An apparatus communication unit, and an imaging apparatus control unit that controls the imaging apparatus communication unit,
The imaging device control unit transmits a communication standby request signal for preventing transmission of a transmission request signal requesting data transmission from the accessory device to the imaging device, from the accessory device via the accessory data communication channel. The image pickup apparatus, wherein the transmission request signal is not transmitted to the accessory device while receiving.
前記撮像装置と前記アクセサリ装置との間に設けられるチャネルは、前記通知チャネルと、前記アクセサリデータ通信チャネルと、前記撮像装置から前記アクセサリ装置へのデータ送信に用いられる撮像装置データ通信チャネルから構成されることを特徴とする請求項12に記載の撮像装置。 The channel provided between the imaging device and the accessory device is composed of the notification channel, the accessory data communication channel, and an imaging device data communication channel used for data transmission from the imaging device to the accessory device. The image pickup apparatus according to claim 12, wherein 前記撮像装置制御部は、前記送信要求信号に応じて前記アクセサリ装置から送信されたデータを受信した後に、前記アクセサリ装置へのデータ送信を開始することを特徴とする請求項12又は13に記載の撮像装置。 The image pickup device control unit starts data transmission to the accessory device after receiving data transmitted from the accessory device in response to the transmission request signal. Imaging device. 前記通信待機要求信号の受信開始は、前記アクセサリデータ通信チャネルの電圧レベルを第1のレベルから該第1のレベルよりも低い第2のレベルに変更することで表されることを特徴とする請求項12乃至14のいずれか1項に記載の撮像装置。 The start of reception of the communication standby request signal is represented by changing a voltage level of the accessory data communication channel from a first level to a second level lower than the first level. Item 15. The image pickup device according to any one of items 12 to 14. 前記撮像装置制御部は、前記アクセサリデータ通信チャネルの電圧レベルが前記第2のレベルから前記第1のレベルに変更されたことに応じて、前記送信要求信号の送信をしない通信待機状態を解除することを特徴とする請求項15に記載の撮像装置。 The imaging device control unit cancels the communication standby state in which the transmission request signal is not transmitted in response to the voltage level of the accessory data communication channel being changed from the second level to the first level. The image pickup apparatus according to claim 15, wherein 前記撮像装置制御部は、前記アクセサリ装置と調歩同期式の通信を行うことを特徴とする請求項12乃至16のいずれか1項に記載の撮像装置。 The image pickup apparatus according to any one of claims 12 to 16, wherein the image pickup apparatus control unit performs start-stop synchronization communication with the accessory apparatus. 前記通信待機要求信号は、前記アクセサリデータ通信チャネルを介して前記アクセサリ装置から受信するデータフレームに付加されることを特徴とする請求項17に記載の撮像装置。 The imaging apparatus according to claim 17, wherein the communication standby request signal is added to a data frame received from the accessory device via the accessory data communication channel. 前記撮像装置は、通信待機期間を設けることなくデータフレームを連続的に送信するデータフォーマットと、通信待機期間を設けてデータフレームを間欠的に送信するデータフォーマットを切り替えて前記アクセサリ装置と通信を行うことを特徴とする請求項17又は18に記載の撮像装置。 The imaging device communicates with the accessory device by switching between a data format for continuously transmitting data frames without a communication standby period and a data format for intermittently transmitting data frames with a communication standby period. The imaging device according to claim 17 or 18, characterized in that. 前記撮像装置は、クロック信号と同期したクロック同期式の通信方式と、調歩同期式の通信方式の間で通信方式を切り替えて前記アクセサリ装置と通信可能であり、
前記撮像装置制御部は、前記クロック同期式の通信において、前記通知チャネルを介して前記クロック信号を前記アクセサリ装置に送信し、前記調歩同期式の通信において、前記通知チャネルを介して前記送信要求信号を前記アクセサリ装置に送信することを特徴とする請求項17乃至19のいずれか1項に記載の撮像装置。
The imaging device is capable of communicating with the accessory device by switching the communication system between a clock-synchronous communication system synchronized with a clock signal and a start-stop synchronization communication system,
The imaging device control unit transmits the clock signal to the accessory device via the notification channel in the clock synchronous communication, and the transmission request signal via the notification channel in the start/stop synchronous communication. 20. The image pickup device according to claim 17, wherein the image pickup device is transmitted to the accessory device.
前記クロック同期式の通信方式が設定されている間は、前記通知チャネルを介して前記通信待機要求信号を前記撮像装置に受信することを特徴とする請求項20に記載の撮像装置。 21. The imaging device according to claim 20, wherein the communication standby request signal is received by the imaging device via the notification channel while the clock-synchronous communication system is set. 前記撮像装置制御部は、前記通知チャネルの電圧を変更することにより前記送信要求信号を前記アクセサリ装置に送信することを特徴とする請求項1乃至21のいずれか1項に記載の撮像装置。 22. The imaging device according to claim 1, wherein the imaging device control unit transmits the transmission request signal to the accessory device by changing a voltage of the notification channel. 撮像装置に対して着脱可なアクセサリ装置であって、前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられるアクセサリデータ通信チャネルとを含むチャネルを設け、前記アクセサリ装置から前記撮像装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して前記撮像装置から受信することに応じて、前記アクセサリデータ通信チャネルを介して前記撮像装置に対してデータを送信するアクセサリ装置のコンピュータに、
前記アクセサリデータ通信チャネルを介して、前記撮像装置から前記アクセサリ装置に対して前記送信要求信号が送信されないようにするための通信待機要求信号を前記撮像装置に送信する制御を実行させることを特徴とする通信制御プログラム。
An accessory device that is attachable to and detachable from an imaging device, a notification channel used for notification from the imaging device to the accessory device, and data transmission from the accessory device to the imaging device. Provided with a channel including an accessory data communication channel used for, a transmission request signal requesting data transmission from the accessory device to the imaging device, in response to receiving from the imaging device via the notification channel, To a computer of an accessory device that transmits data to the imaging device via the accessory data communication channel,
Controlling the transmission of a communication standby request signal to the image pickup device to prevent the transmission request signal from being transmitted from the image pickup device to the accessory device via the accessory data communication channel. Communication control program
アクセサリ装置が取り外し可能に装着される撮像装置であって、前記アクセサリ装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられるアクセサリデータ通信チャネルとを含むチャネルを設け、前記アクセサリ装置から前記撮像装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して前記アクセサリ装置に送信する撮像装置のコンピュータに、
前記送信要求信号が送信されないようにするための通信待機要求信号を、前記アクセサリデータ通信チャネルを介して前記アクセサリ装置から通知されている間は、前記送信要求信号を前記アクセサリ装置に送信しない制御を実行させることを特徴とする通信制御プログラム。
An imaging device to which an accessory device is detachably mounted, a notification channel used for notification from the imaging device to the accessory device, and data from the accessory device to the imaging device. A computer of an imaging device that includes a channel including an accessory data communication channel used for transmission, and transmits a transmission request signal requesting data transmission from the accessory device to the imaging device to the accessory device via the notification channel. To
A control for not transmitting the transmission request signal to the accessory device while the communication standby request signal for preventing the transmission request signal from being transmitted from the accessory device via the accessory data communication channel. A communication control program characterized by being executed.
撮像装置と、該撮像装置に対して着脱可能なアクセサリ装置を含む撮像システムであって、
前記アクセサリ装置は、前記撮像装置との間に、前記撮像装置から前記アクセサリ装置への通知に用いられる通知チャネルと、前記アクセサリ装置から前記撮像装置へのデータ送信に用いられるアクセサリデータ通信チャネルとを含むチャネルを設けるアクセサリ通信部、及び前記アクセサリ通信部の制御を行うアクセサリ制御部とを有し、
前記撮像装置は、前記アクセサリ装置との間に、前記通知チャネルと、前記アクセサリデータ通信チャネルとを含むチャネルを設ける撮像装置通信部、及び前記撮像装置通信部の制御を行う撮像装置制御部とを有し、
前記撮像装置制御部は、前記アクセサリ装置から前記撮像装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して前記アクセサリ装置に送信し、
前記アクセサリ制御部は、前記送信要求信号を受信することに応じて、前記アクセサリデータ通信チャネルを介して前記撮像装置に対してデータを送信し、
前記アクセサリ制御部は、前記アクセサリデータ通信チャネルを介して、前記撮像装置から前記アクセサリ装置に対して前記送信要求信号が送信されないようにするための通信待機要求信号を前記撮像装置制御部に送信することを特徴とする撮像システム。
An imaging system including an imaging device and an accessory device detachable from the imaging device,
The accessory device includes a notification channel used for notification from the imaging device to the accessory device and an accessory data communication channel used for data transmission from the accessory device to the imaging device, between the accessory device and the imaging device. An accessory communication unit that provides a channel including the accessory communication unit, and an accessory control unit that controls the accessory communication unit,
The image pickup device includes an image pickup device communication unit that provides a channel including the notification channel and the accessory data communication channel between the accessory device and an image pickup device control unit that controls the image pickup device communication unit. Have,
The imaging device control unit transmits a transmission request signal requesting data transmission from the accessory device to the imaging device, to the accessory device via the notification channel,
The accessory control unit transmits data to the imaging device via the accessory data communication channel in response to receiving the transmission request signal,
The accessory control unit transmits a communication standby request signal to the imaging device control unit via the accessory data communication channel to prevent the transmission request signal from being transmitted from the imaging device to the accessory device. An imaging system characterized by the above.
JP2020057267A 2020-03-27 2020-03-27 Accessory device, imaging device and communication control program Active JP6874189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020057267A JP6874189B2 (en) 2020-03-27 2020-03-27 Accessory device, imaging device and communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020057267A JP6874189B2 (en) 2020-03-27 2020-03-27 Accessory device, imaging device and communication control program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018177266A Division JP2019008322A (en) 2018-09-21 2018-09-21 Accessory device, imaging device, and communication control program

Publications (2)

Publication Number Publication Date
JP2020112819A true JP2020112819A (en) 2020-07-27
JP6874189B2 JP6874189B2 (en) 2021-05-19

Family

ID=71666930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020057267A Active JP6874189B2 (en) 2020-03-27 2020-03-27 Accessory device, imaging device and communication control program

Country Status (1)

Country Link
JP (1) JP6874189B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0690269A (en) * 1992-09-09 1994-03-29 Canon Inc Data transmission method
JP2003153064A (en) * 2001-11-15 2003-05-23 Canon Inc Camera system, accessory, and equipment system
JP2010266595A (en) * 2009-05-13 2010-11-25 Canon Inc Camera and interchangeable lens mounted in camera
JP2012128203A (en) * 2010-12-15 2012-07-05 Canon Inc Imaging apparatus and interchangeable lens

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0690269A (en) * 1992-09-09 1994-03-29 Canon Inc Data transmission method
JP2003153064A (en) * 2001-11-15 2003-05-23 Canon Inc Camera system, accessory, and equipment system
JP2010266595A (en) * 2009-05-13 2010-11-25 Canon Inc Camera and interchangeable lens mounted in camera
JP2012128203A (en) * 2010-12-15 2012-07-05 Canon Inc Imaging apparatus and interchangeable lens

Also Published As

Publication number Publication date
JP6874189B2 (en) 2021-05-19

Similar Documents

Publication Publication Date Title
JP6214709B2 (en) Accessory device, imaging device, and communication control program
JP7129292B2 (en) Accessory devices, cameras, communication control programs, and camera systems
JP6341947B2 (en) Accessory device, imaging device, and communication control program
CN110958381B (en) Adapter device, camera system, control method, and storage medium
JP2018017746A (en) Accessory device, imaging device, communication control method and communication control program
CN108885387B (en) Accessory device, imaging apparatus, and communication control program
CN108668073B (en) Accessory device, image pickup device, and imaging system
JP6461258B2 (en) Accessory device, imaging device, and communication control program
JP6701109B2 (en) Accessory device, imaging device
JP6509155B2 (en) Imaging device, accessory device, and communication control program
JP2019008322A (en) Accessory device, imaging device, and communication control program
JP6874189B2 (en) Accessory device, imaging device and communication control program
JP7370723B2 (en) Adapter device, camera system, control method and program
JP2018164228A (en) Accessory device and imaging apparatus
JP6786695B2 (en) Accessory device, imaging device and communication control program
JP2017181832A (en) Accessory device, imaging device, and control method of those
JP2018205465A (en) Imaging device and control method thereof, external device, and communication system
JP2018152890A (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: 20200327

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210421

R151 Written notification of patent or utility model registration

Ref document number: 6874189

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151