JP2020166203A - Adapter device, camera system, control method and program - Google Patents

Adapter device, camera system, control method and program Download PDF

Info

Publication number
JP2020166203A
JP2020166203A JP2019068860A JP2019068860A JP2020166203A JP 2020166203 A JP2020166203 A JP 2020166203A JP 2019068860 A JP2019068860 A JP 2019068860A JP 2019068860 A JP2019068860 A JP 2019068860A JP 2020166203 A JP2020166203 A JP 2020166203A
Authority
JP
Japan
Prior art keywords
lens
adapter
data
communication
adapter device
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
JP2019068860A
Other languages
Japanese (ja)
Other versions
JP7370723B2 (en
Inventor
内山 実
Minoru Uchiyama
実 内山
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 JP2019068860A priority Critical patent/JP7370723B2/en
Publication of JP2020166203A publication Critical patent/JP2020166203A/en
Application granted granted Critical
Publication of JP7370723B2 publication Critical patent/JP7370723B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Structure And Mechanism Of Cameras (AREA)
  • Accessories Of Cameras (AREA)
  • Studio Devices (AREA)

Abstract

To achieve an adapter device that makes it possible to perform high-speed transmission/reception of data without inducing a failure of communication, not adding a new channel.SOLUTION: An adapter device 200 has a control unit 205 that controls communication with a lens device 100, using a notification channel to be used for notification from the adapter device 200 to the lens device 100, a lens data communication channel to be used for data transmission from the lens device 100 to the adapter device 200, and an adapter data communication channel to be used for data transmission from the adapter device 200 to the lens device 100. The control unit 205 is configured to: transmit a transmission request signal requesting the data transmission from the lens device 100 to the adapter device 200 via the notification channel; and responding to a reception start of first data transmitted from the lens device in responce to the transmission request signal, transmit second data to the lens device via the adapter data communication channel.SELECTED DRAWING: Figure 4

Description

本発明は、アダプタ装置、カメラシステム、制御方法およびプログラムに関する。 The present invention relates to adapter devices, camera systems, control methods and programs.

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

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

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

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

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

交換レンズとカメラとの間に装着され、あるカメラシステムにおけるレンズ装置と、他のカメラシステムのカメラとの間で通信を適切に成立させるようなアダプタ装置が知られている。このアダプタ装置では、直接接続されることが想定されていないレンズ装置と撮像装置の組み合わせにおいて、適切に通信を成立させようとするものである。このようなアダプタ装置を介して、交換レンズが撮像装置に接続されている場合について考える。 There is known an adapter device that is mounted between an interchangeable lens and a camera and that appropriately establishes communication between a lens device in one camera system and a camera in another camera system. This adapter device attempts to appropriately establish communication in a combination of a lens device and an imaging device that are not supposed to be directly connected. Consider the case where the interchangeable lens is connected to the image pickup device via such an adapter device.

特許文献1にて開示された通信システムが、アダプタ装置と交換レンズとの間に適用された場合、同じチャネルにおいてクロック信号を出力するアダプタ装置と待機要求信号を出力する交換レンズとの間で通信マスタを時間管理によって切り替える必要がある。このため、通信の衝突を防止する目的で、通信マスタを切り替える時間、すなわち通信を行うことができない通信無効時間を設ける必要があり、この結果、通信や制御の遅延を招くおそれがある。 When the communication system disclosed in Patent Document 1 is applied between an adapter device and an interchangeable lens, communication is performed between the adapter device that outputs a clock signal and the interchangeable lens that outputs a standby request signal on the same channel. It is necessary to switch the master by time management. Therefore, for the purpose of preventing communication collisions, it is necessary to provide a time for switching the communication master, that is, a communication invalid time during which communication cannot be performed, and as a result, there is a risk of delay in communication or control.

このような問題を解決するために、交換レンズによるクロックチャネルへの待機要求信号の出力を止めると、交換レンズからカメラへの通信待機要求が一切できなくなる。待機要求信号のように、交換レンズ側がデータを受信できるタイミングをコントロールできる手段が全くないと、アダプタ装置から交換レンズに対していつでも大量のデータを通信できる状態となってしまう。これにより、通信スレーブである交換レンズにおいて受信バッファのオーバーフローが生じたりアダプタ装置に送信するデータの生成が間に合わなかったりした場合に通信が破綻するおそれがある。また、待機要求信号を出力するためにチャネルを新たに設けると、消費電力が増加し、アダプタ装置や交換レンズの小型化が妨げられる。 If the output of the standby request signal to the clock channel by the interchangeable lens is stopped in order to solve such a problem, the communication standby request from the interchangeable lens to the camera cannot be made at all. If there is no means for the interchangeable lens side to control the timing at which data can be received, such as a standby request signal, a large amount of data can be communicated from the adapter device to the interchangeable lens at any time. As a result, if the interchangeable lens that is the communication slave overflows the receive buffer or the data to be transmitted to the adapter device is not generated in time, the communication may be disrupted. Further, if a new channel is provided to output the standby request signal, the power consumption increases, and the miniaturization of the adapter device and the interchangeable lens is hindered.

本発明は、新たなチャネルを追加せずに、通信の破綻を招くことなくデータの送受信を高速に行うことができるアダプタ装置を実現することを目的とする。 An object of the present invention is to realize an adapter device capable of transmitting and receiving data at high speed without adding a new channel and without causing a communication failure.

本発明の一実施形態のアダプタ装置は、カメラとレンズ装置との間に着脱可能なアダプタ装置であって、前記アダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルと、前記アダプタ装置から前記レンズ装置へのデータ送信に用いられるアダプタデータ通信チャネルとを用いて前記レンズ装置と行う通信を制御する制御部を有し、前記制御部は、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を前記通知チャネルを介して送信し、該送信要求信号に応じて前記レンズ装置から送信された第1データの受信開始に応じて、前記アダプタデータ通信チャネルを介して前記レンズ装置に第2データを送信することを特徴とする。 The adapter device according to the embodiment of the present invention is an adapter device that can be attached and detached between the camera and the lens device, and includes a notification channel used for notification from the adapter device to the lens device and the lens device to the lens device. It has a control unit that controls communication with the lens device using the lens data communication channel used for data transmission to the adapter device and the adapter data communication channel used for data transmission from the adapter device to the lens device. Then, the control unit transmits a transmission request signal requesting data transmission from the lens device to the adapter device via the notification channel, and the first unit transmitted from the lens device in response to the transmission request signal. The second data is transmitted to the lens device via the adapter data communication channel in response to the start of data reception.

本発明の一実施形態のアダプタ装置は、カメラとレンズ装置との間に着脱可能なアダプタ装置であって、前記アダプタ装置から前記レンズ装置へのデータ送信を要求する送信要求信号の送信に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルとを含むチャネルを用いて前記レンズ装置と行う通信を制御する制御部を有し、前記送信要求信号が送信されないようにするための待機要求信号を前記レンズ装置から受信している間は、前記制御部は、前記送信要求信号を前記レンズ装置に送信しないことを特徴とする。 The adapter device according to the embodiment of the present invention is an adapter device that can be attached and detached between the camera and the lens device, and is used for transmitting a transmission request signal requesting data transmission from the adapter device to the lens device. It has a control unit that controls communication with the lens device using a channel including a notification channel and a lens data communication channel used for data transmission from the lens device to the adapter device, and the transmission request signal is transmitted. The control unit does not transmit the transmission request signal to the lens device while the standby request signal is received from the lens device.

本発明の一実施形態のプログラムは、カメラとレンズ装置との間に着脱可能なアダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルと、前記アダプタ装置から前記レンズ装置へのデータ送信に用いられるアダプタデータ通信チャネルを介して前記レンズ装置と通信可能なアダプタ装置のコンピュータに実行させるプログラムであって、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して前記レンズ装置に送信するステップと、該送信要求信号に応じて前記レンズ装置から送信された第1データの受信開始に応じて、前記アダプタデータ通信チャネルを介して前記レンズ装置に第2データを送信するステップと、を実行させることを特徴とする。 The program of one embodiment of the present invention is used for a notification channel used for notification from an adapter device detachable between a camera and a lens device to the lens device, and for data transmission from the lens device to the adapter device. A program to be executed by a computer of an adapter device capable of communicating with the lens device via the lens data communication channel to be used and an adapter data communication channel used for data transmission from the adapter device to the lens device. A step of transmitting a transmission request signal requesting data transmission from the adapter device to the lens device via the notification channel, and reception of first data transmitted from the lens device in response to the transmission request signal. It is characterized in that the step of transmitting the second data to the lens device via the adapter data communication channel is executed according to the start.

本発明の一実施形態のプログラムは、カメラとレンズ装置との間に着脱可能なアダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルとを介して、前記レンズ装置と通信可能なアダプタ装置のコンピュータに実行させるプログラムであって、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号が送信されないようにするための待機要求信号を前記レンズ装置から受信開始するステップと、前記待機要求信号をしている間は、前記送信要求信号を前記レンズ装置に送信しないステップとを有することを特徴とする。 The program of one embodiment of the present invention is used for a notification channel used for notification from an adapter device detachable between a camera and a lens device to the lens device, and for data transmission from the lens device to the adapter device. A program to be executed by a computer of an adapter device capable of communicating with the lens device via a lens data communication channel, so that a transmission request signal requesting data transmission from the lens device to the adapter device is not transmitted. It is characterized by having a step of starting to receive the standby request signal from the lens device and a step of not transmitting the transmission request signal to the lens device while the standby request signal is being performed.

本発明の一実施形態のカメラシステムは、カメラに対して着脱可能なレンズ装置と、前記カメラと前記レンズ装置との間に着脱可能なアダプタ装置とを含むカメラシステムであって、前記アダプタ装置は、前記アダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルと、前記アダプタ装置から前記レンズ装置へのデータ送信に用いられるアダプタデータ通信チャネルとを用いて前記レンズ装置と行う通信を制御する第1制御部を有し、前記レンズ装置は、前記通知チャネルと、前記レンズデータ通信チャネルと、前記アダプタデータ通信チャネルとを用いて前記アダプタ装置と行う通信を制御する第2制御部とを有し、前記第1制御部は、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して前記レンズ装置に送信し、前記第2制御部は、前記送信要求信号を受信することに応じて、前記レンズデータ通信チャネルを介して前記アダプタ装置に対して第1データを送信し、前記第1制御部は、前記第1データの受信開始に応じて、前記アダプタデータ通信チャネルを介して前記レンズ装置に第2データを送信することを特徴とする。 The camera system of one embodiment of the present invention is a camera system including a lens device that can be attached to and detached from a camera and an adapter device that can be attached and detached between the camera and the lens device. For the notification channel used for notification from the adapter device to the lens device, the lens data communication channel used for data transmission from the lens device to the adapter device, and data transmission from the adapter device to the lens device. It has a first control unit that controls communication with the lens device using the adapter data communication channel used, and the lens device includes the notification channel, the lens data communication channel, and the adapter data communication channel. The first control unit has a second control unit that controls communication with the adapter device using the above, and the first control unit sends a transmission request signal requesting data transmission from the lens device to the adapter device in the notification channel. The second control unit transmits the first data to the adapter device via the lens data communication channel in response to receiving the transmission request signal. The first control unit is characterized in that the second data is transmitted to the lens device via the adapter data communication channel in response to the start of reception of the first data.

本発明の一実施形態のカメラシステムは、カメラに対して着脱可能なレンズ装置と、前記カメラと前記レンズ装置との間に着脱可能なアダプタ装置とを含むカメラシステムであって、前記アダプタ装置は、前記アダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルとを用いて前記レンズ装置と行う通信を制御する第1制御部を有し、前記レンズ装置は、前記通知チャネルと、前記レンズデータ通信チャネルとを含むチャネルを用いて前記アダプタ装置と行う通信を制御する第2制御部を有し、前記第1制御部は、前記通知チャネルを介して、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を前記レンズ装置に送信し、前記第2制御部は、前記送信要求信号を受信することに応じて、前記レンズデータ通信チャネルを介して前記アダプタ装置に対してデータを送信し、前記第2制御部は、前記アダプタ装置から前記レンズ装置に対して前記送信要求信号が送信されないようにするための待機要求信号を前記第1制御部に送信することを特徴とする。 The camera system of one embodiment of the present invention is a camera system including a lens device that can be attached to and detached from a camera and an adapter device that can be attached and detached between the camera and the lens device. 1. A notification channel used for notification from the adapter device to the lens device and a lens data communication channel used for data transmission from the lens device to the adapter device are used to control communication with the lens device. The lens device has one control unit, and the lens device has a second control unit that controls communication with the adapter device using a channel including the notification channel and the lens data communication channel, and the first control unit. The unit transmits a transmission request signal requesting data transmission from the lens device to the adapter device via the notification channel to the lens device, and the second control unit receives the transmission request signal. Data is transmitted to the adapter device via the lens data communication channel, and the second control unit prevents the adapter device from transmitting the transmission request signal to the lens device. It is characterized in that a standby request signal for the purpose is transmitted to the first control unit.

本発明のアダプタ装置によれば、新たなチャネルを追加せずに、通信の破綻を招くことなく交換レンズとデータの送受信を高速に行うことができる。 According to the adapter device of the present invention, it is possible to transmit and receive data to and from the interchangeable lens at high speed without adding a new channel and without causing a communication failure.

実施形態に係るアダプタ装置を含むカメラシステムの構成を示す図である。It is a figure which shows the structure of the camera system including the adapter device which concerns on embodiment. アダプタ装置と交換レンズの間の通信回路を示す概略図である。It is the schematic which shows the communication circuit between an adapter device and an interchangeable lens. 通信モードM1における通信波形を示す概略図である。It is the schematic which shows the communication waveform in the communication mode M1. 通信モードM2における通信波形を示す概略図である。It is the schematic which shows the communication waveform in the communication mode M2. 通信モードM3における通信波形を示す概略図である。It is the schematic which shows the communication waveform in communication mode M3. 交換レンズ及びアダプタ装置において通信フォーマットを決定するフローを説明するフローチャートである。It is a flowchart explaining the flow of determining a communication format in an interchangeable lens and an adapter device. 通信モードM2におけるデータ通信フローを説明するフローチャートである。It is a flowchart explaining the data communication flow in a communication mode M2. 通信方式を切り替える際の通信波形を示す概略図である。It is the schematic which shows the communication waveform at the time of switching a communication method. 通信方式を切り替える際の通信フローを説明するフローチャートである。It is a flowchart explaining the communication flow at the time of switching a communication method.

本実施形態は、カメラと該カメラに対して着脱可能な交換レンズ(レンズ装置)とアダプタ装置とを含むカメラシステムに関する。アダプタ装置は、カメラと交換レンズとの間に着脱可能であり、アダプタ装置を介してカメラと交換レンズで通信することも可能である。 The present embodiment relates to a camera system including a camera, an interchangeable lens (lens device) detachable from the camera, and an adapter device. The adapter device is removable between the camera and the interchangeable lens, and communication between the camera and the interchangeable lens is also possible via the adapter device.

本実施形態の説明に先立ち、本明細書で使用する用語の定義について説明する。 Prior to the description of this embodiment, the definitions of terms used in the present specification will be described.

「通信フォーマット」は、アダプタ装置と交換レンズとの間の通信全体の取り決めを示す。「通信方式」はクロック同期式と調歩同期式を意味し、クロック同期式を通信方式A、調歩同期式を通信方式Bとする。「データフォーマット」は待機要求信号(BUSY信号)の付加の可否を示し、BUSY信号の付加を許可するデータフォーマットを「フォーマットF1」とし、BUSY信号の付加を禁止するデータフォーマットを「フォーマットF2」とする。 "Communication format" refers to the overall communication arrangement between the adapter device and the interchangeable lens. The "communication method" means a clock synchronization type and a pace synchronization type, and the clock synchronization type is the communication method A and the pace synchronization type is the communication method B. The "data format" indicates whether or not the standby request signal (BUSY signal) can be added. The data format that allows the addition of the BUSY signal is "format F1", and the data format that prohibits the addition of the BUSY signal is "format F2". To do.

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

本実施形態は、特に、通信モードM2におけるアダプタ装置と交換レンズの間の通信制御に関する。以下の実施形態においては、通信モードM2を含む複数の通信モードを切り替えて通信可能なアダプタ装置と交換レンズを有するアダプタ装置システムを示す。このように通信モードを適宜切り替えて通信を行うことで、アダプタ装置と交換レンズの組み合わせや撮影モードに応じて適切な通信モードを選択することができる。 The present embodiment specifically relates to communication control between the adapter device and the interchangeable lens in the communication mode M2. In the following embodiment, an adapter device system having an adapter device capable of switching a plurality of communication modes including the communication mode M2 and communicating with an interchangeable lens is shown. By appropriately switching the communication mode in this way and performing communication, an appropriate communication mode can be selected according to the combination of the adapter device and the interchangeable lens and the shooting mode.

例えば、アダプタ装置と交換レンズが通信モードM3に対応していて、大容量のデータを送受信する場合には、それぞれの通信モードを通信モードM3に切り替えた後に、BUSY信号の付加が禁止された高速なデータ通信が実行される。また、交換レンズにおけるデータ処理にある程度の時間を要する場合には、アダプタ装置と交換レンズの通信モードをそれぞれ通信モードM2に切り替えた後に、BUSY信号の付加が許可されたデータ通信が行われる。これにより、アダプタ装置と交換レンズの間で通信の破綻を招くことのないデータ通信を実行する。 For example, when the adapter device and the interchangeable lens are compatible with the communication mode M3 and a large amount of data is transmitted / received, the addition of the BUSY signal is prohibited after switching each communication mode to the communication mode M3. Data communication is executed. If it takes a certain amount of time to process the data in the interchangeable lens, the communication mode of the adapter device and the interchangeable lens is switched to the communication mode M2, and then the data communication in which the BUSY signal is permitted is performed. As a result, data communication is performed between the adapter device and the interchangeable lens without causing communication failure.

次に、実施形態に係るアダプタ装置を有するカメラシステムについて添付の図面を用いて説明する。なお、以下の説明において同一の構成要素には同一の符号を付し、重複する説明は省略する。 Next, the camera system having the adapter device according to the embodiment will be described with reference to the attached drawings. In the following description, the same components will be designated by the same reference numerals, and duplicate description will be omitted.

図1は、本発明の一実施形態であるアダプタ装置200を含むカメラシステム1の構成を示す図である。アダプタ装置200は、交換レンズ100とカメラ300との間に取り外し可能に装着されている。 FIG. 1 is a diagram showing a configuration of a camera system 1 including an adapter device 200 according to an embodiment of the present invention. The adapter device 200 is detachably mounted between the interchangeable lens 100 and the camera 300.

交換レンズ100とアダプタ装置200は結合機構であるマウント150を介して機械的および電気的に接続されている。また、アダプタ装置200とカメラ300は結合機構であるマウント250を介して機械的および電気的に接続されている。 The interchangeable lens 100 and the adapter device 200 are mechanically and electrically connected via a mount 150, which is a coupling mechanism. Further, the adapter device 200 and the camera 300 are mechanically and electrically connected via a mount 250 which is a coupling mechanism.

交換レンズ100は通信部112を、アダプタ装置は通信部208を、カメラ300は通信部308をそれぞれ有し、これらの通信部を介して制御命令や内部情報を通信する。 The interchangeable lens 100 has a communication unit 112, the adapter device has a communication unit 208, and the camera 300 has a communication unit 308, and control commands and internal information are communicated via these communication units.

ただし、交換レンズ100とカメラ300は、本来直接接続されることが想定されていないものであり、交換レンズ100における通信プロトコルとカメラ300における通信プロトコルは異なっている。通信プロトコルとは、データのやり取りの手順を取り決めたものである。 However, the interchangeable lens 100 and the camera 300 are not supposed to be directly connected to each other, and the communication protocol of the interchangeable lens 100 and the communication protocol of the camera 300 are different. A communication protocol is a procedure for exchanging data.

すなわち、アダプタ装置200は、交換レンズ100およびカメラ300との間での信号のやりとりを適切に成立させる機能を有する。当該機能を実行するために、通信部208は、通信部308との間で行う第1の通信プロトコル(以下、カメラ側プロトコルと呼ぶ)での通信と、通信部112との間で行う通信プロトコル(以下、レンズ側プロトコルと呼ぶ)での通信が可能である。 That is, the adapter device 200 has a function of appropriately establishing signal exchange between the interchangeable lens 100 and the camera 300. In order to execute the function, the communication unit 208 communicates with the communication unit 308 using the first communication protocol (hereinafter referred to as a camera-side protocol) and a communication protocol with the communication unit 112. Communication using (hereinafter referred to as the lens-side protocol) is possible.

本実施形態において、レンズ側プロトコルは複数の通信方式に対応するように構成されている。レンズ側プロトコルにおいて通信が開始されると、交換レンズ100が対応している通信方式に関する情報を交換レンズ100からアダプタ装置200に送信させる初期通信が行われる。なお、レンズ側プロトコルでの通信が開始されるタイミングは、交換レンズ100、アダプタ装置200、カメラ300の接続が完了したタイミングや、カメラ300の電源がONになったタイミング等である。その後、通信データの種類や通信目的やタイミングに応じて、アダプタ装置200と交換レンズ100はそれぞれが対応している通信方式の中から最適な通信方式を選択して通信を行う。 In this embodiment, the lens-side protocol is configured to support a plurality of communication methods. When communication is started in the lens-side protocol, initial communication is performed in which the interchangeable lens 100 transmits information about the communication method supported by the interchangeable lens 100 to the adapter device 200. The timing at which communication using the lens-side protocol is started is the timing at which the connection between the interchangeable lens 100, the adapter device 200, and the camera 300 is completed, the timing at which the power of the camera 300 is turned on, and the like. After that, the adapter device 200 and the interchangeable lens 100 select the optimum communication method from the communication methods supported by the adapter device 200 and the interchangeable lens 100 according to the type of communication data, the communication purpose, and the timing, and perform communication.

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

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

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

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

レンズマイコン111は、交換レンズ100内の各部の動作を制御するレンズ制御部(第2制御部)である。レンズマイコン111は、インタフェース(I/F)回路112a(図2に示す)を介してデータを送受信するレンズデータ送受信部112bを備える通信部112を有する。レンズマイコン111は、アダプタ装置200から受信した制御コマンドに対応するレンズ制御を行ったり、アダプタ装置200からのデータ送信要求に対応するレンズデータをアダプタ装置200に送信したりする。レンズデータは、交換レンズ100の光学情報や、交換レンズ100に固有の特性情報(レンズID)などを含む。 The lens microcomputer 111 is a lens control unit (second control unit) that controls the operation of each unit in the interchangeable lens 100. The lens microcomputer 111 has a communication unit 112 including a lens data transmission / reception unit 112b for transmitting / receiving data via an interface (I / F) circuit 112a (shown in FIG. 2). The lens microcomputer 111 performs lens control corresponding to a control command received from the adapter device 200, and transmits lens data corresponding to a data transmission request from the adapter device 200 to the adapter device 200. The lens data includes optical information of the interchangeable lens 100, characteristic information (lens ID) unique to the interchangeable lens 100, and the like.

レンズマイコン111は、交換レンズ100内の各部の動作を制御するレンズ制御部である。レンズマイコン111は、通信部112を介して、アダプタ装置200から送信された制御コマンドを受信し、レンズデータの送信要求を受ける。また、レンズマイコン111は、制御コマンドに対応するレンズ制御を行い、通信部112を介して送信要求に対応するレンズデータをアダプタ装置200に送信する。 The lens microcomputer 111 is a lens control unit that controls the operation of each part in the interchangeable lens 100. The lens microcomputer 111 receives a control command transmitted from the adapter device 200 via the communication unit 112, and receives a lens data transmission request. Further, the lens microcomputer 111 controls the lens corresponding to the control command, and transmits the lens data corresponding to the transmission request to the adapter device 200 via the communication unit 112.

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

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

アダプタ装置200はアダプタマイクロコンピュータ(以下、アダプタマイコンという)205を有する。アダプタマイコン205は、アダプタ装置200内の各部の動作を制御するアダプタ制御部(第1制御部)として機能する。 The adapter device 200 includes an adapter microcomputer (hereinafter referred to as an adapter microcomputer) 205. The adapter microcomputer 205 functions as an adapter control unit (first control unit) that controls the operation of each unit in the adapter device 200.

アダプタマイコン205は、通信インタフェース(I/F)回路208a(図2に示す)を介してデータを送受信するアダプタデータ送受信部208bを備える通信部208を有する。アダプタデータ送受信部208bとレンズデータ送受信部112bは接続されている。通信部208はレンズ側プロトコルで制御コマンドをレンズマイコン111に送信したり、レンズマイコン111から送信されたデータを受信したりする。 The adapter microcomputer 205 has a communication unit 208 including an adapter data transmission / reception unit 208b for transmitting / receiving data via a communication interface (I / F) circuit 208a (shown in FIG. 2). The adapter data transmission / reception unit 208b and the lens data transmission / reception unit 112b are connected. The communication unit 208 transmits a control command to the lens microcomputer 111 using the lens-side protocol, and receives data transmitted from the lens microcomputer 111.

なお、アダプタデータ送受信部208bは後述する通信部308にも接続されている。通信部208はカメラ側プロトコルで通信部308から送信された制御コマンドを受信したり、通信部308にデータを送信したりする。 The adapter data transmission / reception unit 208b is also connected to the communication unit 308, which will be described later. The communication unit 208 receives a control command transmitted from the communication unit 308 by the camera-side protocol, and transmits data to the communication unit 308.

また、通信部208は、カメラ300から送信された第1の信号を、アダプタ装置200と交換レンズ100との間で行われるレンズ側プロトコルによる通信における第2の信号に変換して交換レンズ100に送信する機能を有する。また、通信部208は、交換レンズ100から送信された第3の信号を、アダプタ装置200とカメラ300との間で行われるカメラ側プロトコルによる通信における第4の信号に変換してカメラ300に送信する機能を有する。 Further, the communication unit 208 converts the first signal transmitted from the camera 300 into a second signal in the communication by the lens-side protocol performed between the adapter device 200 and the interchangeable lens 100 to the interchangeable lens 100. It has a function to transmit. Further, the communication unit 208 converts the third signal transmitted from the interchangeable lens 100 into a fourth signal in the communication by the camera-side protocol performed between the adapter device 200 and the camera 300 and transmits it to the camera 300. Has the function of

次にカメラ300の構成について説明する。カメラ300は、CCDセンサやCMOSセンサ等の撮像素子301と、A/D変換回路302と、信号処理回路303と、記録部304と、カメラマイクロコンピュータ(以下、カメラマイコンという)305と、表示部306とを有する。 Next, the configuration of the camera 300 will be described. The camera 300 includes an image sensor 301 such as a CCD sensor or a CMOS sensor, an A / D conversion circuit 302, a signal processing circuit 303, a recording unit 304, a camera microcomputer (hereinafter referred to as a camera microcomputer) 305, and a display unit. It has 306 and.

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

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

カメラマイコン305は、不図示の撮像指示スイッチおよび各種設定スイッチ等のカメラ操作部材からの入力に応じてカメラ300を制御する。また、カメラマイコン305は、通信部208を介して、変倍レンズ102の変倍動作に関する制御コマンドをアダプタマイコン205に送信する。さらに、カメラマイコン305は、通信部308を介して、輝度情報に応じた絞りユニット114の光量調節動作やフォーカス情報に応じたフォーカスレンズ104の焦点調節動作に関する制御コマンドをアダプタマイコン205に送信する。 The camera microcomputer 305 controls the camera 300 in response to inputs from camera operating members such as an imaging instruction switch (not shown) and various setting switches. Further, the camera microcomputer 305 transmits a control command related to the variable magnification operation of the variable magnification lens 102 to the adapter microcomputer 205 via the communication unit 208. Further, the camera microcomputer 305 transmits a control command regarding the light amount adjusting operation of the aperture unit 114 according to the luminance information and the focus adjusting operation of the focus lens 104 according to the focus information to the adapter microcomputer 205 via the communication unit 308.

次に、図2を用いてアダプタ装置200と交換レンズ100との間で構成される通信回路とこれらの間で行われる通信制御について説明する。アダプタマイコン205は、レンズマイコン111との間での通信フォーマットを管理する機能と、レンズマイコン111に対して送信要求等の通知を行う機能とを有する。また、レンズマイコン111は、レンズデータを生成する機能と該レンズデータを送信する機能とを有する。 Next, the communication circuit configured between the adapter device 200 and the interchangeable lens 100 and the communication control performed between them will be described with reference to FIG. The adapter 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は、インタフェース回路208a、112aを介して通信を行う。ここで、インタフェース回路208aとアダプタデータ送受信部208bを合わせて通信部208と呼び、インタフェース回路112aとレンズデータ送受信部112bを合わせて通信部112と呼ぶ。 The adapter microcomputer 205 and the lens microcomputer 111 communicate with each other via the interface circuits 208a and 112a. Here, the interface circuit 208a and the adapter data transmission / reception unit 208b are collectively referred to as a communication unit 208, and the interface circuit 112a and the lens data transmission / reception unit 112b are collectively referred to as a communication unit 112.

本実施形態では、アダプタマイコン205とレンズマイコン111は、3つのチャネルを用いた3線式の通信方式A及び通信方式Bによるシリアル通信を行う。 In the present embodiment, the adapter 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ではアダプタマイコン205からレンズマイコン111への通知に用いられる通知チャネルである。他の2つのチャネルのうち1つは、レンズマイコン111からアダプタマイコン205へのレンズデータ送信に用いられる第1のデータ通信チャネル(レンズデータ通信チャネル)である。もう1つのチャネルは、アダプタマイコン205からレンズマイコン111へのアダプタデータ送信に用いられる第2のデータ通信チャネル(アダプタデータ通信チャネル)である。 One of the above three channels is a clock channel in the communication method A, and is a notification channel used for notification from the adapter microcomputer 205 to the lens microcomputer 111 in the communication method B. One of the other two channels is a first data communication channel (lens data communication channel) used for transmitting lens data from the lens microcomputer 111 to the adapter microcomputer 205. The other channel is a second data communication channel (adapter data communication channel) used for transmitting adapter data from the adapter microcomputer 205 to the lens microcomputer 111.

アダプタマイコン205から送信されるアダプタデータが示す内容は、カメラマイコン305から出力されたレンズマイコン111に対する指令であったり、レンズマイコン111との通信の取り決め上送信しなければならないダミーデータであったりする。 The content indicated by the adapter data transmitted from the adapter microcomputer 205 may be a command to the lens microcomputer 111 output from the camera microcomputer 305, or dummy data that must be transmitted in order to communicate with the lens microcomputer 111. ..

レンズマイコン111から送信されるレンズデータが示す内容は、カメラマイコン305からの要求に対する回答であったり、定期的にカメラマイコン305に送信すべき諸値であったりする。または、アダプタマイコン205との通信の取り決め上送信しなければならないダミーデータであったりする。アダプタマイコン205は、レンズマイコン111から受信したレンズデータが示す内容がカメラマイコン305に対して送信されるべき内容であると判断した場合は、カメラ側プロトコルに応じたデータに変換してカメラマイコン305にその内容を伝達する。このとき、アダプタマイコン205は、レンズマイコン111から受信したレンズデータを、カメラマイコン305に送信可能なデータフォーマットに適宜変換してからカメラマイコン305に送信する。 The content indicated by the lens data transmitted from the lens microcomputer 111 may be a response to a request from the camera microcomputer 305, or various values to be periodically transmitted to the camera microcomputer 305. Alternatively, it may be dummy data that must be transmitted in order to communicate with the adapter microcomputer 205. When the adapter microcomputer 205 determines that the content indicated by the lens data received from the lens microcomputer 111 should be transmitted to the camera microcomputer 305, the adapter microcomputer 205 converts the data according to the camera side protocol into the data according to the camera microcomputer 305. Communicate the contents to. At this time, the adapter microcomputer 205 appropriately converts the lens data received from the lens microcomputer 111 into a data format that can be transmitted to the camera microcomputer 305, and then transmits the lens data to the camera microcomputer 305.

第1のデータ通信チャネルを介してレンズマイコン111からアダプタマイコン205に信号として送信されるレンズデータを、レンズデータ信号DLCという。また、第2のデータ通信チャネルを介してアダプタマイコン205からレンズマイコン111に信号として送信されるアダプタデータを、アダプタデータ信号DCLという。 The lens data transmitted as a signal from the lens microcomputer 111 to the adapter microcomputer 205 via the first data communication channel is called a lens data signal DLC. Further, the adapter data transmitted as a signal from the adapter microcomputer 205 to the lens microcomputer 111 via the second data communication channel is referred to as an adapter data signal DCL.

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

図3(A)〜(C)には、アダプタマイコン205とレンズマイコン111との間でやり取りされる信号の波形を示している。 3 (A) to 3 (C) show waveforms of signals exchanged between the adapter microcomputer 205 and the lens microcomputer 111.

図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 adapter microcomputer 205 outputs a clock signal LCLK having a set of clock pulses of 8 cycles, and transmits an adapter data signal DCL to the lens microcomputer 111 in synchronization with the clock signal LCLK. At the same time, the adapter 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 adapter 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 and receiving the 1-byte data, the lens microcomputer 111 transmits a signal for notifying the standby request BUSY to the adapter microcomputer 205 (hereinafter referred to as a BUSY signal), whereby a communication standby period is inserted. This communication standby period is called a BUSY frame, and the adapter microcomputer 205 is in the communication standby state while receiving the BUSY frame. Then, the communication unit in which the data frame period and the BUSY frame period are a set is one frame. Depending on the communication status, the BUSY frame may not be added, but in this case, one frame is configured only by 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 adapter microcomputer 205 transmits the request command CMD1 to the lens microcomputer 111 and receives the corresponding 2-byte lens data DT1 (DT1a, DT1b) 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 adapter 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 command CMDs are determined in advance. When the adapter microcomputer 205, which is a communication master, transmits a specific command CMD to the lens microcomputer 111, the lens microcomputer 111 transmits the required number of clocks to the adapter microcomputer 205 based on the information on the number of lens data bytes corresponding to the command CMD. To do. Further, the processing of the lens microcomputer 111 with respect to the command CMD1 includes superimposing a 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 adapter microcomputer 205 transmits the clock signal LCLK to the lens microcomputer 111, and further transmits the request command CMD1 requesting the transmission of the lens data DT1 to the lens microcomputer 111 as the adapter 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 adapter microcomputer 205 switches the clock channel on the camera microcomputer side (camera side) from the output setting to the input setting after outputting the clock signal LCLK for eight cycles on the clock channel. 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 adapter microcomputer 205 of the standby request BUSY. As a result, the BUSY signal is superimposed on the clock channel. The adapter microcomputer 205 maintains the clock channel input setting during the period when the 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 notification period of the standby request BUSY. Then, 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 standby request BUSY is released.

アダプタマイコン205は、待機要求BUSYの解除を認識すると、1フレームのクロック信号LCLKをレンズマイコン111に送信することでレンズマイコン111からレンズデータDT1aを受信する。次のフレームでクロック信号LCLKを再び8周期だけ出力したアダプタマイコン205とレンズマイコン111が上記と同様の動作を繰り返す。これにより、アダプタマイコン205はレンズマイコン111からレンズデータDT1bを受信する。 Upon recognizing the cancellation of the standby request BUSY, the adapter microcomputer 205 receives the lens data DT1a from the lens microcomputer 111 by transmitting the clock signal LCLK of one frame to the lens microcomputer 111. In the next frame, the adapter microcomputer 205 and the lens microcomputer 111, which output the clock signal LCLK again for eight cycles, repeat the same operation as described above. As a result, the adapter 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 adapter microcomputer 205 transmits the request command CMD2 to the lens microcomputer 111 and receives the corresponding 3-byte lens data DT2 (DT2a to DT2c) 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 with respect to 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 following second to fourth frames.

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

次に、通信方式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 the waveform of the communication signal exchanged between the adapter 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 notification channel is used for notification of a lens data transmission request or the like from the adapter microcomputer 205, which is the communication master, to the lens microcomputer 111, which is the communication slave. Notification on the notification channel is performed by switching the signal level (voltage level) of the notification channel between High (first level) and Low (second level). In the following description, the signal supplied to the notification channel in the communication method B is referred to as a transmission request signal RTS.

第1のデータ通信チャネルは、通信方式Aと同様に、レンズマイコン111からアダプタマイコン205への各種データを含むレンズデータ信号DLCの送信に用いられる。第2のデータ通信チャネルも、通信方式Aと同様に、アダプタマイコン205からレンズマイコン111への制御コマンドや送信要求コマンド等を含むアダプタデータ信号DCLの送信に用いられる。 The first data communication channel is used for transmitting the lens data signal DLC including various data from the lens microcomputer 111 to the adapter microcomputer 205, as in the communication method A. Similar to the communication method A, the second data communication channel is also used for transmitting the adapter data signal DCL including the control command, the transmission request command, and the like from the adapter 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 adapter microcomputer 205 and the lens microcomputer 111 do not transmit / receive data in synchronization with a common clock signal, but set a communication speed in advance and communicate based on this setting. Send and receive at bit rate. The communication bit rate indicates the amount of data that can be transferred per second, and the unit is represented by bps (bit per second).

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

図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 adapter data signal DCL and the lens data signal DLC.

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

レンズマイコン111は、レンズデータ信号DLCの1フレームの送信開始をアダプタマイコン205に通知するため、レンズデータ信号DLCの電圧レベルを1ビット期間の間Lowとする。この1ビット期間をスタートビットSTと呼び、スタートビットSTからデータフレームが開始される。続いて、レンズマイコン111は、スタートビットSTに続く2ビット目から9ビット目までの8ビット期間で1バイトのレンズデータを送信する。 In order to notify the adapter microcomputer 205 of the start of transmission of one frame of the lens data signal DLC, the lens microcomputer 111 sets the voltage level of the lens data signal DLC to Low for a 1-bit period. This 1-bit period is called a start bit ST, and a data frame is started from the start bit ST. Subsequently, the lens microcomputer 111 transmits 1-byte lens data in an 8-bit period from the 2nd bit to the 9th 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 array of data is an MSB (Most Signal Bit) first format, starting from the highest data D7, continuing with data D6 and data D5 in that 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 period of 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 one bit, and the parity information of a plurality of bits may be added. Further, the parity information is not indispensable, and the format may be such that the parity information is not added.

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

一方、レンズマイコン111からアダプタマイコン205への待機要求BUSYの通知が不要な場合がある。この場合のために、図4中の「DLC(BUSY無)」に示すように、BUSYフレーム(以下、BUSY通知ともいう)を付加せずに1フレームを構成するデータフォーマットも設けられている。つまり、レンズマイコン111は、レンズデータ信号DLCのデータフォーマットとして、レンズマイコン側の処理状況に応じてBUSY通知を付加したものと付加しないものとを選択することができる。 On the other hand, it may not be necessary to notify the standby request BUSY from the lens microcomputer 111 to the adapter microcomputer 205. For this case, as shown in "DLC (without BUSY)" in FIG. 4, a data format that constitutes one frame without adding a BUSY frame (hereinafter, also referred to as BUSY notification) is also provided. That is, the lens microcomputer 111 can select a data format of the lens data signal DLC with or without the BUSY notification according to 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 the presence / absence of BUSY notification performed by the adapter 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 adapter microcomputer 205 selects one of the bit positions of B1 and B2 as the BUSY identification position P for identifying the presence or absence of the BUSY notification. As described above, in this embodiment, the data format in which the BUSY identification position P is selected from the bit positions of B1 and B2 is adopted. This makes it possible to deal with the problem that the processing time from the transmission of the data frame of the lens data signal DLC to the confirmation of the BUSY notification (Low of the DLC) differs 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 the BUSY identification position P is the bit position of B1 or the bit position of B2 is determined by communication between the adapter microcomputer 205 and the lens microcomputer 111 before the communication in the communication method B is performed. It is not necessary to fix the BUSY identification position P to either the bit position of B1 or B2, and it may be changed according to the processing capacity of the adapter microcomputer 205 and the lens microcomputer 111. The BUSY identification position P is not limited to B1 and B2, and may be set to 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 is used as the 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 adapter microcomputer 205, which is the communication master, and the BUSY signal output by the lens microcomputer 111, which is the communication slave, on the same clock channel. Therefore, the collision between the outputs of the adapter microcomputer 205 and the lens microcomputer 111 is prevented by the time division method. That is, the output possible periods of the adapter microcomputer 205 and the lens microcomputer 111 in the clock channel are appropriately allocated to prevent collisions between the outputs.

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

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

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

次に、アダプタマイコン205とレンズマイコン111との間での通信方式Bでの通信の手順について説明する。まず、アダプタマイコン205は、レンズマイコン111との通信を開始するイベントが発生すると、送信要求信号RTSの電圧レベルをLowにする(以下、送信要求信号RTSをアサートするともいう)。電圧レベルをLowにすることで、レンズマイコン111に対して通信要求を通知する。 Next, the procedure of communication in the communication method B between the adapter microcomputer 205 and the lens microcomputer 111 will be described. First, the adapter microcomputer 205 sets the voltage level of the transmission request signal RTS to Low when an event for starting communication with the lens microcomputer 111 occurs (hereinafter, also referred to as asserting the transmission request signal RTS). By setting the voltage level to Low, the lens microcomputer 111 is notified of 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 a change in the voltage level of the transmission request signal RTS to Low, the lens microcomputer 111 generates a lens data signal DLC to be transmitted to the adapter microcomputer 205. Then, when the lens data signal DLC is ready to be transmitted, the transmission of one frame of the lens data signal DLC is started via the first data communication channel. Here, the lens microcomputer 111 starts transmitting the lens data signal DLC within a set time set mutually between the adapter microcomputer 205 and the lens microcomputer 111 from the time when the voltage level of the transmission 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 determined between the time when the voltage level of the transmission request signal RTS becomes Low and the time when the transmission of the lens data signal DLC is started. Unlike the communication method A, there is no strict restriction that the lens data to be transmitted must be fixed by the time when the first clock pulse is input, so there is a degree of freedom in the timing of starting the transmission of the lens data signal DLC. Can be given.

次にアダプタマイコン205は、レンズマイコン111から受信したレンズデータ信号DLCのデータフレームの先頭に付加されたスタートビットSTの検出に応じて、送信要求信号RTSの電圧レベルをHighに戻す。以下、送信要求信号RTSの電圧レベルをLowからHighにすることを、送信要求信号RTSをネゲートするともいう。さらに、スタートビットSTの検出に応じて、第2のデータ通信チャネルでのアダプタデータ信号DCLの送信を開始する。なお、送信要求信号RTSのネゲートとアダプタデータ信号DCLの送信開始はどちらが先であってもよい。レンズデータ信号DLCのデータフレームの受信期間と、アダプタデータ信号DCLの送信期間との少なくとも一部が重複することが好ましい。すなわち、レンズデータ信号DLCのデータフレームの受信が完了するまでに送信要求信号RTSのネゲートとアダプタデータ信号DCLの送信開始が行われることが好ましい。これにより、レンズデータ信号DLCとアダプタデータ信号DCLの1往復のやりとりを短時間で行うことができる。 Next, the adapter 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 head of the data frame of the lens data signal DLC received from the lens microcomputer 111. Hereinafter, changing the voltage level of the transmission request signal RTS from Low to High is also referred to as negating the transmission request signal RTS. Further, in response to the detection of the start bit ST, the transmission of the adapter data signal DCL on the second data communication channel is started. It does not matter which of the negate of the transmission request signal RTS and the start of transmission of the adapter data signal DCL comes first. It is preferable that at least a part of the reception period of the data frame of the lens data signal DLC and the transmission period of the adapter data signal DCL overlap. That is, it is preferable that the transmission request signal RTS negate and the adapter data signal DCL transmission be started by the time the reception of the data frame of the lens data signal DLC is completed. As a result, one round-trip exchange between the lens data signal DLC and the adapter data signal DCL can be performed in a short time.

レンズデータ信号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 the BUSY frame to the lens data signal DLC when it is necessary to notify the adapter microcomputer 205 of the standby request BUSY. The adapter microcomputer 205 monitors the presence or absence of notification of the standby request BUSY, and while the standby request BUSY is notified, it is prohibited to assert the transmission request signal RTS for the next transmission request.

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

このように、本実施形態では、アダプタマイコン205は、通信開始イベントがトリガとして送信要求信号RTSがアサートする。この送信要求信号RTSのアサートは、例えば、アダプタマイコン205がカメラマイコン305から交換レンズ100用の制御コマンドを受信した場合に、アダプタマイコン205から交換レンズ100に対してデータを送信したい旨の合図となる。 As described above, in the present embodiment, the adapter microcomputer 205 asserts the transmission request signal RTS triggered by the communication start event. The assertion of the transmission request signal RTS is, for example, a signal that the adapter microcomputer 205 wants to transmit data to the interchangeable lens 100 when the adapter microcomputer 205 receives a control command for the interchangeable lens 100 from the camera microcomputer 305. Become.

レンズマイコン111がアダプタマイコン205にレンズデータ信号DLCのデータフレーム(第1データ)の送信を開始する。これは、アダプタマイコン205にとっては、レンズマイコン111がアダプタデータを受信可能な状態であることを示す合図となる。 The lens microcomputer 111 starts transmitting the data frame (first data) of the lens data signal DLC to the adapter microcomputer 205. This is a signal for the adapter microcomputer 205 that the lens microcomputer 111 is in a state where it can receive the adapter data.

そして、アダプタマイコン205は、レンズデータ信号DLCのスタートビットSTを検出することに応じて、アダプタデータ信号DCLのデータフレーム(第2データ)をレンズマイコン111へ送信する。ここで送信されるアダプタデータ信号DCLは、アダプタ装置200がカメラマイコン305から受信した制御コマンドを、レンズ側プロトコルに適したデータに変換した信号である。 Then, the adapter microcomputer 205 transmits a data frame (second data) of the adapter data signal DCL to the lens microcomputer 111 in response to detecting the start bit ST of the lens data signal DLC. The adapter data signal DCL transmitted here is a signal obtained by converting the control command received by the adapter device 200 from the camera microcomputer 305 into data suitable for the lens-side protocol.

このとき送信されたアダプタデータ信号DCLがレンズマイコン111に対して、カメラマイコン305に送信すべきデータを要求するものであった場合、レンズマイコン111は当該要求に対する回答となるレンズデータ信号DLCを生成する。そして、次に、送信要求信号RTSがアサートされたことに応じて、生成したレンズデータ信号DLCをアダプタマイコン205に送信する。アダプタマイコン205はレンズデータ信号DLCの受信開始に応じて、アダプタデータ信号DCLをレンズマイコン111に送信する。このとき、アダプタデータ信号DCLは、レンズデータDLCの受信開始を示す合図にすぎない。 If the adapter data signal DCL transmitted at this time requests the lens microcomputer 111 for data to be transmitted to the camera microcomputer 305, the lens microcomputer 111 generates a lens data signal DLC that is a response to the request. To do. Then, in response to the assertion of the transmission request signal RTS, the generated lens data signal DLC is transmitted to the adapter microcomputer 205. The adapter microcomputer 205 transmits the adapter data signal DCL to the lens microcomputer 111 in response to the start of reception of the lens data signal DLC. At this time, the adapter data signal DCL is merely a signal indicating the start of reception of the lens data DLC.

このように、レンズデータ信号DLCは、あるときはデータ受信可能な状態であることを示す合図であったり、あるときはデータ要求に対する回答等の内容的に意味のあるデータであったりする。 As described above, the lens data signal DLC may be a signal indicating that the data can be received at one time, or may be contentally meaningful data such as a response to a data request at another time.

レンズデータ信号DLCと同様に、アダプタデータ信号DCLも、あるときはデータ受信を示す単なる合図であったり、あるときは制御指令等の内容的に意味のあるデータであったりする。 Like the lens data signal DLC, the adapter data signal DCL may be a mere signal indicating data reception at one time, or may be content-significant data such as a control command at another time.

ここでレンズマイコン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 standby request BUSY as needed, and then cancels the standby request BUSY to complete the communication processing of one frame. .. By this communication process, 1 byte of communication data is transmitted and received between the adapter 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 that communicates in the format F2 using the communication method B will be described. FIG. 5A shows the waveform of the communication signal exchanged between the adapter microcomputer 205 and the lens microcomputer 111 in the communication mode M3. FIG. 5A shows the waveform of the communication signal when three frames of data are continuously transmitted. As described above, in the format F2, it is prohibited to add the standby request BUSY to the lens data signal DLC.

通信モード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 the data frame, and the BUSY frame does not exist. Therefore, in the communication mode M3, the standby request BUSY cannot be notified from the lens microcomputer 111 to the adapter microcomputer 205.

このようなフォーマットF2は、比較的大きな容量のデータをアダプタマイコン205とレンズマイコン111との間で転送する際に用いられる。フォーマットF2では、待機要求BUSYを挟まないことにより、各フレーム間の間隔を短くした連続通信を行うことが可能となり、大容量データの高速通信が可能となる。 Such a format F2 is used when transferring a relatively large amount of data between the adapter microcomputer 205 and the lens microcomputer 111. In the format F2, continuous communication with a short interval between frames can be performed by not sandwiching the standby request BUSY, and high-speed communication of a large amount of data becomes possible.

次に、本実施形態が特徴とするアダプタマイコン205とレンズマイコン111との間の通信制御処理について説明する。図5(B)は、アダプタマイコン205とレンズマイコン111がそれぞれ、nフレームのアダプタデータ信号DCLおよびレンズデータ信号DLCを連続的に送受信するときにおける通信信号の波形を示している。アダプタマイコン205は、レンズマイコン111との通信を開始するイベントが発生すると、送信要求信号RTSをアサートする。フォーマットF2では、フォーマットF1と異なり、アダプタマイコン205は送信要求信号RTSを1フレームごとにネゲートする必要はない。そのため、連続的にデータ送受信が可能な状態である間は、1フレーム目のレンズデータ信号DLCのデータ受信中および受信後は送信要求信号RTSのアサート状態を維持する。 Next, the communication control process between the adapter microcomputer 205 and the lens microcomputer 111, which is characterized by this embodiment, will be described. FIG. 5B shows the waveforms of communication signals when the adapter microcomputer 205 and the lens microcomputer 111 continuously transmit and receive the n-frame adapter data signal DCL and the lens data signal DLC, respectively. The adapter microcomputer 205 asserts the transmission request signal RTS when an event for starting communication with the lens microcomputer 111 occurs. In the format F2, unlike the format F1, the adapter 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 asserted state of the transmission request signal RTS is maintained during and after the data reception of the lens data signal DLC of the first frame.

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

1フレーム目のレンズデータ信号DLCのデータフレームを送信したレンズマイコン111は、再び送信要求信号RTSを確認する。このとき、送信要求信号RTSがアサート状態であった場合には、レンズマイコン111は送信が完了した1フレーム目に続けて次の2フレーム目のレンズデータ信号DLC(DL2)(第3データ)をアダプタマイコン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, when the transmission request signal RTS is in the asserted state, the lens microcomputer 111 transmits the lens data signal DLC (DL2) (third data) of the next second frame following the first frame in which transmission is completed. Send to the adapter microcomputer 205. In this way, the lens data signals DLC (DL1 to DLn) from the lens microcomputer 111 are continuously transmitted to the adapter microcomputer 205 while the asserted 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 adapter microcomputer 205, the start bit ST for each frame of the lens data signal DCL from the lens microcomputer 111 is detected, and the second data communication channel of the adapter data signal DCL (DC1 to DCn) of n frames is used. Is started to be transmitted.

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

通信待機期間T2w1は、アダプタマイコン205からレンズマイコン111に対して通信待機が指示された期間である。該指示は送信要求信号RTSを一時的にネゲートすることでレンズマイコン111に通知される。レンズマイコン111は、送信要求信号RTSがネゲートされたことを検出すると、その検出時点で送信途中のレンズデータ信号DLCのフレーム(図ではDL6:以下、休止フレームという)の送信を完了した後、送信を休止する。 The communication standby period T2w1 is a period in which the adapter microcomputer 205 instructs the lens microcomputer 111 to wait for communication. 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, it transmits after completing the transmission of the lens data signal DLC frame (DL6: hereinafter referred to as pause frame in the figure) being transmitted at the time of the detection. To pause.

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

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

一方、通信待機期間T2w2はレンズマイコン111からアダプタマイコン205に対して通信待機が指示された期間である。図5(c)では、通信待機期間T2w1の終了後はアダプタマイコン205およびレンズマイコン111とも通信待機を指示しておらず、フレームDL7、DC7およびそれに続くフレームDL8、DC8〜DL9、DC9の順で連続データ送受信を行っている。 On the other hand, the communication standby period T2w2 is a period in which the lens microcomputer 111 instructs the adapter microcomputer 205 to wait for communication. In FIG. 5C, after the end of the communication standby period T2w1, neither the adapter microcomputer 205 nor the lens microcomputer 111 is instructed to wait for communication, and the frames DL7, DC7 and the subsequent frames DL8, DC8 to DL9, and DC9 are in that order. Continuous data transmission / reception is performed.

そして、レンズマイコン111内でフレームDL9の送信(アダプタマイコン205でのフレームDC9の受信)が完了したときに通信待機要求イベントが発生することで、レンズマイコン111はアダプタマイコン205に対して通信待機指示を通知する。 Then, when the transmission of the frame DL9 (reception of the frame DC9 by the adapter microcomputer 205) is completed in the lens microcomputer 111, the communication standby request event occurs, so that the lens microcomputer 111 instructs the adapter microcomputer 205 to wait for communication. 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 adapter microcomputer 205 that communication is suspended.

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

その後、レンズマイコン111内で通信待機要求イベントがなくなってレンズマイコン111がレンズデータ信号DLCの再開フレームDL10の送信を再開する。アダプタマイコン205は、該再開フレームDL10のスタートビットSTを検出することに応じてアダプタデータ信号DCLにおける対応フレームDC10の送信を再開する。 After that, the communication standby request event disappears in the lens microcomputer 111, and the lens microcomputer 111 restarts the transmission of the resume frame DL10 of the lens data signal DLC. The adapter microcomputer 205 restarts the transmission of the corresponding frame DC10 in the adapter 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, the procedure for determining the communication format performed between the adapter microcomputer 205 and the lens microcomputer 111 will be described with reference to FIG. The adapter microcomputer 205 and the lens microcomputer 111 perform the communication control shown in the flowcharts of FIGS. 6 and 7 according to a program which is a computer program. In FIGS. 6 and 7, "S" means a step.

まず、カメラ300に対して、アダプタ装置200および交換レンズ100が装着されると、ステップS100、ステップS200を開始する。ステップS100、ステップS200において、アダプタマイコン205及びレンズマイコン111は、通信フォーマットを、通信の成立が保障された初期通信フォーマットに設定する。ここで、初期通信フォーマットは、本実施形態で開示した通信方式とデータフォーマットの組み合わせでもよいし、それ以外の通信フォーマットでもよい。なお、初期通信フォーマットとして調歩同期式の通信フォーマットが選択されるときには、どのようなカメラと交換レンズが組み合わされても通信が実行できるようにBUSY識別位置Pを設定することが好ましい。 First, when the adapter device 200 and the interchangeable lens 100 are attached to the camera 300, steps S100 and S200 are started. In step S100 and step S200, the adapter 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 the present embodiment, or may be another communication format. When a pace-synchronized 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 the combination of the camera and the interchangeable lens.

続いて、ステップS101において、アダプタマイコン205は、カメラ識別情報をレンズマイコン111に送信する。カメラ識別情報は、本来であれば、交換レンズ100が直接装着可能なカメラから交換レンズ100に対して送信される情報であり、カメラにおいて対応可能な通信フォーマットを表す情報である。ここではアダプタ装置200がカメラの振りをしているため、アダプタマイコン205がカメラの代わりに交換レンズ100に対してカメラ識別情報を送信する。カメラ識別情報は、アダプタ装置200において対応可能な通信フォーマットを表す情報でもある。また、ステップS202において、レンズマイコン111は、交換レンズ100において対応可能な通信フォーマットを表すレンズ識別情報をアダプタマイコン205に送信する。 Subsequently, in step S101, the adapter microcomputer 205 transmits the camera identification information to the lens microcomputer 111. The camera identification information is originally information transmitted from a camera to which the interchangeable lens 100 can be directly attached to the interchangeable lens 100, and is information representing a communication format compatible with the camera. Here, since the adapter device 200 is pretending to be a camera, the adapter microcomputer 205 transmits camera identification information to the interchangeable lens 100 instead of the camera. The camera identification information is also information representing a communication format compatible with the adapter device 200. Further, in step S202, the lens microcomputer 111 transmits the lens identification information representing the communication format supported by the interchangeable lens 100 to the adapter microcomputer 205.

ここで、「識別情報」には、クロック同期式と調歩同期式のいずれの通信方式に対応しているのかを示す情報や、対応可能な通信ビットレートの範囲を示す情報が含まれる。BUSY識別位置Pを示す情報も識別情報に含まれる。 Here, the "identification information" includes information indicating which communication method of the clock synchronization type and the pace synchronization type is supported, and information indicating a 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 adapter 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 transmission of the camera identification information and the transmission of the lens identification information may be performed 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識別位置Pに設定する。 In steps S103 and S203, the communication format for subsequent communication is set. Specifically, the adapter microcomputer 205 and the lens microcomputer 111 determine the fastest rate among the communication bit rates that can correspond to each other as the communication bit rate. Further, among the BUSY identification positions that can correspond to each other, the position closest to the stop bit SP is set as the BUSY identification position P.

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

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

レンズマイコン111は、送信要求信号RTSがアサートされたか否かを監視しており、ステップS210において送信要求信号RTSがアサートされたことを認識するとステップS211に進む。ステップS211において、レンズマイコン111は、第1のデータ通信チャネルを介してレンズデータ信号DLCをアダプタマイコン205に送信する。 The lens microcomputer 111 monitors whether or not the transmission request signal RTS has been asserted, and when it recognizes that the transmission request signal RTS has been 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 adapter microcomputer 205 via the first data communication channel.

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

レンズマイコン111は、ステップS212でアダプタデータ信号DCLの受信開始を検出すると、ステップS213に進み、アダプタデータ信号DCLの受信処理を行う。レンズマイコン111は、ステップS213の処理と並行してステップS214において、アダプタマイコン205に待機要求BUSYを通知する必要があるか否かの判定を行う。待機要求BUSYを通知する必要がない場合は、ステップS218に進み、アダプタデータ信号DCLの受信が完了するまで待機する。 When the lens microcomputer 111 detects the start of reception of the adapter data signal DCL in step S212, the lens microcomputer 111 proceeds to step S213 and performs reception processing of the adapter data signal DCL. In parallel with the process of step S213, the lens microcomputer 111 determines in step S214 whether or not it is necessary to notify the adapter microcomputer 205 of the standby request BUSY. If it is not necessary to notify the standby request BUSY, the process proceeds to step S218 and waits until the reception of the adapter 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 for the lens microcomputer 111 to notify the adapter microcomputer 205 of the standby request BUSY, the process proceeds to step S215 to add a BUSY frame to the lens data signal DLC. The lens microcomputer 111 executes necessary processing while notifying the standby request BUSY, and releases the standby request BUSY after the next communication preparation is ready (Yes in step S216) (step S217). After canceling the standby request BUSY, the process proceeds to step S218 and waits until the reception of the adapter data signal DCL is completed. When the reception of the adapter data signal DCL is completed (Yes in step S218), the process returns to step S210 and continues monitoring whether or not the transmission request signal RTS has been asserted.

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

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

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

また、通信の開始タイミングに関しては、まず、アダプタマイコン205が、レンズマイコン111からアダプタマイコン205へのデータ送信を要求する送信要求信号RTSを送信する。そして、送信要求信号RTSの受信に応じてレンズマイコン111からアダプタマイコン205へレンズデータ信号DLCのデータ送信が開始される。当該レンズデータ信号DLCの受信開始に応じてアダプタマイコン205はレンズマイコン111に対してアダプタデータ信号DCLの送信を開始する。具体的には、アダプタマイコン205は、レンズマイコン111から送信されるデータフレームのスタートビットSTを検出することに応じてアダプタデータ信号DCLのデータ送信を開始する。通信の開始タイミングをこのように設定することで、送信要求信号RTSを受けたレンズマイコン111がアダプタマイコン205に対してデータ送信を開始するタイミングに自由度を持たせることができる。 Regarding the communication start timing, first, the adapter microcomputer 205 transmits a transmission request signal RTS requesting data transmission from the lens microcomputer 111 to the adapter microcomputer 205. Then, in response to the reception of the transmission request signal RTS, data transmission of the lens data signal DLC is started from the lens microcomputer 111 to the adapter microcomputer 205. The adapter microcomputer 205 starts transmitting the adapter data signal DCL to the lens microcomputer 111 in response to the start of reception of the lens data signal DLC. Specifically, the adapter microcomputer 205 starts data transmission of the adapter data signal DCL 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 a degree of freedom to the timing at which the lens microcomputer 111 that has received the transmission request signal RTS starts data transmission to the adapter microcomputer 205.

例えば、レンズマイコン111の情報処理能力に応じて、レンズデータ信号DLCのデータ送信の開始タイミングを変化させることができる。これにより、アダプタマイコン205からアダプタデータ信号DCLが送信されるタイミングを調整することができる。よって通信の破綻を招くことなく、アダプタ装置200と交換レンズ100の間の通信速度を向上させることができる。そして、アダプタ装置200を介することによって、互いに通信プロトコルの異なるカメラ300と交換レンズ100とを用いた場合であっても、ユーザは通信破綻なしに撮影を行うことができる。 For example, the start timing of data transmission of the lens data signal DLC can be changed according to the information processing capability of the lens microcomputer 111. Thereby, the timing at which the adapter data signal DCL is transmitted from the adapter microcomputer 205 can be adjusted. Therefore, the communication speed between the adapter device 200 and the interchangeable lens 100 can be improved without causing communication failure. Then, through the adapter device 200, the user can take a picture without communication failure even when the camera 300 and the interchangeable lens 100 having different communication protocols are used.

なお、前述した送信要求信号RTSのアサートや待機要求BUSYの通知の方法は一例であって、これ以外でもよい。例えば、送信要求信号RTSのアサートや待機要求BUSYが、電圧レベルのLowからHighへの切り替えによって表されてもよい。 The method of asserting the transmission request signal RTS and notifying the standby request BUSY described above is an example, and may be other than this. For example, the assertion of the transmission request signal RTS and the standby request BUSY may be represented by switching the voltage level from Low to High.

続いて、通信方式Aから通信方式Bへの切り替え手順について図8を用いて説明する。図8は、通信方式Aから通信方式Bへの切り替え前後にアダプタマイコン205とレンズマイコン111の間でやりとりされる通信信号の波形を示している。通信方式Aから通信方式Bへの切り替えにおいて、アダプタマイコン205は、通信部208の通信設定を通信方式Aに対応した設定から通信方式Bに対応した設定に変更する。同様に、レンズマイコン111は、レンズ通信部112の通信設定を通信方式Aに対応した第1の設定から通信方式Bに対応した第2の設定に変更する。 Subsequently, the procedure for switching from the communication method A to the communication method B will be described with reference to FIG. FIG. 8 shows waveforms of communication signals exchanged between the adapter microcomputer 205 and the lens microcomputer 111 before and after switching from the communication method A to the communication method B. When switching from the communication method A to the communication method B, the adapter microcomputer 205 changes the communication setting of the communication unit 208 from the setting corresponding to the communication method A to the setting corresponding to the communication method B. Similarly, the lens microcomputer 111 changes the communication setting of the lens communication unit 112 from the first setting corresponding to the communication method A to the second setting corresponding to the communication method B.

図8中に示した切り替えタイミングXにおいて、アダプタマイコン205とレンズマイコン111における通信設定の切り替えが完了し、以降は、通信方式Bでの通信が行われる。これまでに説明したように、通知チャネルは、通信方式Aではクロックチャネルとして機能し、通信方式Bではアダプタマイコン205からレンズマイコン111への通知に用いられる。 At the switching timing X shown in FIG. 8, the switching of the communication settings between the adapter microcomputer 205 and the lens microcomputer 111 is completed, and thereafter, communication by the communication method B is performed. As described above, the notification channel functions as a clock channel in the communication method A, and is used for notification from the adapter microcomputer 205 to the lens microcomputer 111 in the communication method B.

本実施形態では、通信方式Aにおいて通信スレーブであるレンズマイコン111が、通信マスタであるアダプタマイコン205よりも先に第2の設定への変更を行う。 In the present embodiment, the lens microcomputer 111, which is a communication slave in the communication method A, changes to the second setting before the adapter microcomputer 205, which is the communication master.

図9は、通信方式の切り替えにおける処理の内容を示すフローチャートである。通信方式の切り替えは、アダプタマイコン205からの指示により行われる。 FIG. 9 is a flowchart showing the contents of processing in switching the communication method. The communication method is switched according to an instruction from the adapter microcomputer 205.

アダプタマイコン205は、S120において、通信方式の切替イベントが発生したか否かを監視する。発生していない(No)と判断した場合は、S120に戻る。アダプタマイコン205は、通信方式の切替イベントが発生した(Yes)と判断した場合は、S121に進む。そして、通信方式Aでの通信により、通信方式Aから通信方式Bへの切り替え通知をアダプタデータ通信チャネルを介してレンズマイコン111に送信する。この切り替え通知は、データフレームの中に含まれる。 The adapter microcomputer 205 monitors in S120 whether or not a communication method switching event has occurred. If it is determined that it has not occurred (No), the process returns to S120. When the adapter microcomputer 205 determines that the communication method switching event has occurred (Yes), the adapter microcomputer 205 proceeds to S121. Then, by communicating in the communication method A, the notification of switching from the communication method A to the communication method B is transmitted to the lens microcomputer 111 via the adapter data communication channel. This switching notification is included in the data frame.

レンズマイコン111は、S220において、切替通知を受けたか否かを監視する。受けていない(No)と判断した場合は、S220に戻る。レンズマイコン111は、切り替え通知を受けた(Yes)と判断した場合、S221において通知チャネルにBUSY信号を重畳する。これにより、通信待機要求BUSYをアダプタマイコン205に通知する。 The lens microcomputer 111 monitors in S220 whether or not a switching notification has been received. If it is determined that the item has not been received (No), the process returns to S220. When the lens microcomputer 111 determines that the switching notification has been received (Yes), the lens microcomputer 111 superimposes the BUSY signal on the notification channel in S221. As a result, the communication standby request BUSY is notified to the adapter microcomputer 205.

そして、レンズマイコン111は、アダプタマイコン205に通信待機要求BUSYを通知している間に、S222において、通信部112の通信設定を第1の設定から、第2の設定に変更する。 Then, the lens microcomputer 111 changes the communication setting of the communication unit 112 from the first setting to the second setting in S222 while notifying the adapter microcomputer 205 of the communication standby request BUSY.

レンズマイコン111における通信方式の切り替えが完了すると、S223において、レンズマイコン111は通信待機要求BUSYを解除する。BUSYを解除することで、通信方式の切り替えが完了したことをアダプタマイコン205に対して通知する。その後、レンズマイコン111は前述のS210の工程に進み、通信方式Bでの送信要求信号RTSの通知の有無を監視する。 When the switching of the communication method in the lens microcomputer 111 is completed, the lens microcomputer 111 cancels the communication standby request BUSY in S223. By canceling BUSY, the adapter microcomputer 205 is notified that the switching of the communication method is completed. After that, the lens microcomputer 111 proceeds to the step of S210 described above, and monitors the presence or absence of notification of the transmission request signal RTS in the communication method B.

アダプタマイコン205は、S122において通信待機要求BUSYが解除されると、通信部208の通信設定を通信方式Aに対応した第1の設定から、通信方式Bに対応した第2の設定に変更する。その後、アダプタマイコン205は、S110に進み、通信方式Bにおける通信イベントの発生の有無を監視する。アダプタマイコン205における通信方式Bへの切り替えが完了するタイミングは、図8に示した切り替えタイミングXとなる。切り替えタイミングX以降は、通信方式Bでのデータ通信が実行される。 When the communication standby request BUSY is canceled in S122, the adapter microcomputer 205 changes the communication setting of the communication unit 208 from the first setting corresponding to the communication method A to the second setting corresponding to the communication method B. After that, the adapter microcomputer 205 proceeds to S110 and monitors whether or not a communication event has occurred in the communication method B. The timing at which the switching to the communication method B in the adapter microcomputer 205 is completed is the switching timing X shown in FIG. After the switching timing X, the data communication in the communication method B is executed.

以上説明したように、本実施形態では、通信スレーブとしてのレンズマイコン111が通信マスタとしてのアダプタマイコン205よりも先に第1の設定から第2の設定への変更を行う構成としている。レンズマイコン111がすぐに第2の設定への変更を実行できるか否かが不明であるため、アダプタマイコン205は、レンズマイコン111での第2の設定への変更を確認した上で、第1の設定から第2の設定への変更を実行する。 As described above, in the present embodiment, the lens microcomputer 111 as the communication slave is configured to change from the first setting to the second setting before the adapter microcomputer 205 as the communication master. Since it is unclear whether the lens microcomputer 111 can immediately execute the change to the second setting, the adapter microcomputer 205 confirms the change to the second setting in the lens microcomputer 111, and then makes the first setting. Execute the change from the setting of to the second setting.

レンズマイコン111での第2の設定への変更が実行されたことを確認することなく、アダプタマイコン205での第2の設定への変更を実行すると、交換レンズ100とアダプタ装置200の通信方式が異なって両者間の通信が破綻するおそれがある。本実施形態では、レンズマイコン111での第2の設定への変更を確認した上で、アダプタマイコン205が第1の設定から第2の設定への変更を実行することで、上述した事態の発生を防ぐことができる。 If the change to the second setting is executed in the adapter microcomputer 205 without confirming that the change to the second setting is executed in the lens microcomputer 111, the communication method between the interchangeable lens 100 and the adapter device 200 is changed. Differently, communication between the two may break down. In the present embodiment, after confirming the change to the second setting in the lens microcomputer 111, the adapter microcomputer 205 executes the change from the first setting to the second setting, so that the above-mentioned situation occurs. Can be prevented.

また、レンズマイコン111は、アダプタマイコン205に通信待機要求BUSYを通知している間に、レンズマイコン111の通信設定を第1の設定から第2の設定に変更する。これにより、アダプタマイコン205からクロック信号CLKが出力されることのない状態で通信設定の変更を実行することができ、アダプタマイコン205とレンズマイコン111の間で通信の衝突が起きる事態を回避することができる。 Further, the lens microcomputer 111 changes the communication setting of the lens microcomputer 111 from the first setting to the second setting while notifying the adapter microcomputer 205 of the communication standby request BUSY. As a result, the communication setting can be changed without the clock signal CLK being output from the adapter microcomputer 205, and a situation in which a communication collision occurs between the adapter microcomputer 205 and the lens microcomputer 111 can be avoided. Can be done.

なお、レンズマイコン111は、通信方式Aから通信方式Bへの切り替え通知に応じて必ずしも通信方式の切り替えを行う必要はなく、通信方式の切り替えを拒否することができるようにしても良い。例えば、アダプタマイコン205からの切り替え通知を受信した後に、レンズデータ通信チャネルを介して通信方式の切り替えを拒否することを示す通知を送信する。これを受信したアダプタマイコン205は、通信設定を変更することなく、通信方式Aにおけるレンズマイコン111との通信を継続することができる。これにより、レンズマイコン111が第2の設定への変更をすぐに実行できない場合に、アダプタマイコン205が、第1の設定から第2の設定への変更を実行した直後に再度第1の設定への変更を実行しなければならない事態を回避することができる。以上で通信方式の切り替えに関する説明を終了する。 The lens microcomputer 111 does not necessarily have to switch the communication method in response to the notification of switching from the communication method A to the communication method B, and may refuse to switch the communication method. For example, after receiving the switching notification from the adapter microcomputer 205, a notification indicating that the switching of the communication method is rejected is transmitted via the lens data communication channel. Upon receiving this, the adapter microcomputer 205 can continue communication with the lens microcomputer 111 in the communication method A without changing the communication setting. As a result, when the lens microcomputer 111 cannot immediately execute the change to the second setting, the adapter microcomputer 205 returns to the first setting immediately after executing the change from the first setting to the second setting. You can avoid having to make changes to. This is the end of the explanation of switching the communication method.

前述の各実施形態では、3つのチャネルを1組としたチャネルが形成されており、第1の通信のプロトコルでアダプタ装置200と交換レンズ100が通信を行う場合について説明したが、さらに別の通信プロトコルにより通信可能であってもよい。例えば、アダプタ装置200と交換レンズ100との間でさらに2つのチャネルを1組とした別のチャネルが形成されており、第1の通信プロトコルとは異なる第2の通信プロトコルで通信可能でもよい。この2つのチャネルのうち、一方を通信タイミングの通知に用いられる通知チャネルとし、他方をアダプタ装置200と交換レンズ100との間でデータの送受信が可能なデータ通信チャネルとしてもよい。 In each of the above-described embodiments, a channel in which three channels are set is formed, and a case where the adapter device 200 and the interchangeable lens 100 communicate with each other in the first communication protocol has been described, but still another communication. Communication may be possible depending on the protocol. For example, another channel, which is a set of two channels, is formed between the adapter device 200 and the interchangeable lens 100, and communication may be possible using a second communication protocol different from the first communication protocol. Of these two channels, one may be a notification channel used for notification of communication timing, and the other may be a data communication channel capable of transmitting and receiving data between the adapter device 200 and the interchangeable lens 100.

以上説明した実施形態は代表的な例に過ぎず、本発明の実施に際しては、各実施形態に対して種々の変形や変更が可能である。 The embodiments described above are merely typical examples, and various modifications and changes can be made to each embodiment in carrying out the present invention.

100 交換レンズ
111 レンズマイコン(第2制御部)
200 アダプタ装置
205 アダプタマイコン(第1制御部)
208 通信部
300 カメラ
100 Interchangeable Lens 111 Lens Microcomputer (2nd Control Unit)
200 Adapter device 205 Adapter microcomputer (1st control unit)
208 Communication unit 300 Camera

Claims (28)

カメラとレンズ装置との間に着脱可能なアダプタ装置であって、
前記アダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルと、前記アダプタ装置から前記レンズ装置へのデータ送信に用いられるアダプタデータ通信チャネルとを用いて前記レンズ装置と行う通信を制御する制御部を有し、
前記制御部は、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を前記通知チャネルを介して送信し、該送信要求信号に応じて前記レンズ装置から送信された第1データの受信開始に応じて、前記アダプタデータ通信チャネルを介して前記レンズ装置に第2データを送信することを特徴とするアダプタ装置。
It is an adapter device that can be attached and detached between the camera and the lens device.
A notification channel used for notification from the adapter device to the lens device, a lens data communication channel used for data transmission from the lens device to the adapter device, and data transmission from the adapter device to the lens device. It has a control unit that controls communication with the lens device using the adapter data communication channel.
The control unit transmits a transmission request signal requesting data transmission from the lens device to the adapter device via the notification channel, and the first data transmitted from the lens device in response to the transmission request signal. An adapter device characterized in that second data is transmitted to the lens device via the adapter data communication channel in response to the start of reception.
前記第1データを受信する期間と前記第2データを送信する期間は少なくとも一部が重複することを特徴とする請求項1に記載のアダプタ装置。 The adapter device according to claim 1, wherein at least a part of the period for receiving the first data and the period for transmitting the second data overlap. 前記制御部は、前記第1データに含まれるスタートビットを受信することに応じて、前記第2データの送信を開始することを特徴とする請求項1又は2に記載のアダプタ装置。 The adapter device according to claim 1 or 2, wherein the control unit starts transmission of the second data in response to receiving the start bit included in the first data. 前記制御部は、前記通知チャネルの電圧レベルを変更することにより前記送信要求信号を前記レンズ装置に送信することを特徴とする請求項1乃至3のいずれか1項に記載のアダプタ装置。 The adapter device according to any one of claims 1 to 3, wherein the control unit transmits the transmission request signal to the lens device by changing the voltage level of the notification channel. 前記制御部は、前記通知チャネルの電圧レベルを第1レベルから前記第1レベルとは異なる第2レベルに変更することによって前記送信要求信号を送信し、前記レンズデータ通信チャネルを介して前記第1データに続いて第3データを受信する場合に、前記第1データの受信中および受信後に前記通知チャネルの電圧レベルを前記第2レベルに維持することを特徴とする請求項4に記載のアダプタ装置。 The control unit transmits the transmission request signal by changing the voltage level of the notification channel from the first level to a second level different from the first level, and the first level via the lens data communication channel. The adapter device according to claim 4, wherein when the third data is received following the data, the voltage level of the notification channel is maintained at the second level during and after the reception of the first data. .. 前記送信要求信号が送信されないようにするための待機要求信号を前記レンズ装置から受信している間は、前記制御部は、前記送信要求信号を前記レンズ装置に送信しないことを特徴とする請求項1乃至5のいずれか1項に記載のアダプタ装置。 The claim is characterized in that the control unit does not transmit the transmission request signal to the lens device while the standby request signal for preventing the transmission request signal from being transmitted is received from the lens device. The adapter device according to any one of 1 to 5. 前記待機要求信号は、前記レンズデータ通信チャネルの電圧レベルを変更することによって表されることを特徴とする請求項6に記載のアダプタ装置。 The adapter device according to claim 6, wherein the standby request signal is represented by changing the voltage level of the lens data communication channel. 前記制御部は、前記レンズデータ通信チャネルの電圧レベルが第1レベルから該第1レベルよりも低い第2レベルに変更されたことに応じて、前記送信要求信号を送信しない通信待機状態を開始することを特徴とする請求項7に記載のアダプタ装置。 The control unit starts a communication standby state in which the transmission request signal is not transmitted in response to the change in the voltage level of the lens data communication channel from the first level to the second level lower than the first level. The adapter device according to claim 7. 前記制御部は、前記レンズデータ通信チャネルの電圧レベルが前記第2レベルから前記第1レベルに変更されたことに応じて、前記送信要求信号を送信しない通信待機状態を解除することを特徴とする請求項8に記載のアダプタ装置。 The control unit is characterized in that the communication standby state in which the transmission request signal is not transmitted is released in response to the change in the voltage level of the lens data communication channel from the second level to the first level. The adapter device according to claim 8. 前記待機要求信号は、前記レンズデータ通信チャネルを介して前記レンズ装置から受信するデータフレームに付加されることを特徴とする請求項6乃至9のいずれか1項に記載のアダプタ装置。 The adapter device according to any one of claims 6 to 9, wherein the standby request signal is added to a data frame received from the lens device via the lens data communication channel. 前記待機要求信号は、前記データフレームに含まれるストップビットよりも後の所定位置に付加されることを特徴とする請求項10に記載のアダプタ装置。 The adapter device according to claim 10, wherein the standby request signal is added to a predetermined position after the stop bit included in the data frame. カメラとレンズ装置との間に着脱可能なアダプタ装置であって、
前記アダプタ装置から前記レンズ装置へのデータ送信を要求する送信要求信号の送信に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルとを含むチャネルを用いて前記レンズ装置と行う通信を制御する制御部を有し、
前記送信要求信号が送信されないようにするための待機要求信号を前記レンズ装置から受信している間は、前記制御部は、前記送信要求信号を前記レンズ装置に送信しないことを特徴とするアダプタ装置。
It is an adapter device that can be attached and detached between the camera and the lens device.
A channel including a notification channel used for transmitting a transmission request signal requesting data transmission from the adapter device to the lens device and a lens data communication channel used for data transmission from the lens device to the adapter device is used. It has a control unit that controls communication with the lens device.
The adapter device is characterized in that the control unit does not transmit the transmission request signal to the lens device while the standby request signal for preventing the transmission request signal from being transmitted is received from the lens device. ..
前記待機要求信号は、前記レンズデータ通信チャネルの電圧レベルを変更することによって表されることを特徴とする請求項12に記載のアダプタ装置。 The adapter device according to claim 12, wherein the standby request signal is represented by changing the voltage level of the lens data communication channel. 前記制御部は、前記レンズデータ通信チャネルの電圧レベルが第1レベルから該第1レベルよりも低い第2レベルに変更されたことに応じて、前記送信要求信号を送信しない通信待機状態を開始することを特徴とする請求項13に記載のアダプタ装置。 The control unit starts a communication standby state in which the transmission request signal is not transmitted in response to the change in the voltage level of the lens data communication channel from the first level to the second level lower than the first level. 13. The adapter device according to claim 13. 前記制御部は、前記レンズデータ通信チャネルの電圧レベルが前記第2レベルから前記第1レベルに変更されたことに応じて、前記送信要求信号を送信しない通信待機状態を解除することを特徴とする請求項14に記載のアダプタ装置。 The control unit is characterized in that the communication standby state in which the transmission request signal is not transmitted is released in response to the change in the voltage level of the lens data communication channel from the second level to the first level. The adapter device according to claim 14. 前記待機要求信号は、前記レンズデータ通信チャネルを介して前記レンズ装置から受信するデータフレームに付加されることを特徴とする請求項12乃至15のいずれか1項に記載のアダプタ装置。 The adapter device according to any one of claims 12 to 15, wherein the standby request signal is added to a data frame received from the lens device via the lens data communication channel. 前記待機要求信号は、前記データフレームに含まれるストップビットよりも後の所定位置に付加されることを特徴とする請求項16に記載のアダプタ装置。 The adapter device according to claim 16, wherein the standby request signal is added to a predetermined position after the stop bit included in the data frame. 前記アダプタ装置と前記レンズ装置との間に設けられるチャネルは、前記通知チャネルと、前記レンズデータ通信チャネルと、前記アダプタ装置から前記レンズ装置へのデータ送信に用いられるアダプタデータ通信チャネルから構成されることを特徴とする請求項12乃至17のいずれか1項に記載のアダプタ装置。 The channel provided between the adapter device and the lens device includes the notification channel, the lens data communication channel, and an adapter data communication channel used for data transmission from the adapter device to the lens device. The adapter device according to any one of claims 12 to 17, characterized in that. 前記アダプタ装置と前記レンズ装置との間で行われる通信の通信プロトコルは、前記アダプタ装置と前記カメラとの間で行われる通信プロトコルとは異なることを特徴とする請求項1乃至18のいずれか1項に記載のアダプタ装置。 Any one of claims 1 to 18, wherein the communication protocol for communication between the adapter device and the lens device is different from the communication protocol for communication between the adapter device and the camera. The adapter device described in the section. 前記制御部は、前記カメラから受信した第1の信号を、前記アダプタ装置と前記レンズ装置との間で行われる通信の通信プロトコルに応じた第2の信号に変換して前記レンズ装置に送信することを特徴とする請求項1乃至19のいずれか1項に記載のアダプタ装置。 The control unit converts the first signal received from the camera into a second signal corresponding to the communication protocol of the communication performed between the adapter device and the lens device and transmits the second signal to the lens device. The adapter device according to any one of claims 1 to 19, wherein the adapter device is characterized by the above. 前記制御部は、前記レンズ装置と調歩同期式の通信を行うことを特徴とする請求項1乃至20のいずれか1項に記載のアダプタ装置。 The adapter device according to any one of claims 1 to 20, wherein the control unit performs pace-synchronous communication with the lens device. 前記アダプタ装置は、クロック信号と同期したクロック同期式の通信方式と、調歩同期式の通信方式の間で通信方式を切り替えて前記レンズ装置と通信可能であり、
前記制御部は、前記クロック同期式の通信において、前記通知チャネルを介して前記クロック信号を前記レンズ装置に送信し、前記調歩同期式の通信において、前記通知チャネルを介して前記送信要求信号を前記レンズ装置に送信することを特徴とする請求項21に記載のアダプタ装置。
The adapter device can communicate with the lens device by switching the communication method between a clock synchronization type communication method synchronized with a clock signal and a pace synchronization type communication method.
In the clock-synchronous communication, the control unit transmits the clock signal to the lens device via the notification channel, and in the pace-synchronous communication, the transmission request signal is transmitted via the notification channel. The adapter device according to claim 21, wherein the adapter device transmits to a lens device.
前記アダプタ装置および前記レンズ装置のそれぞれは、クロック信号と同期したクロック同期式の通信方式に対応した第1の設定と、調歩同期式の通信方式に対応した第2の設定とを切り替え可能であり、
前記制御部は、前記第1の設定から前記第2の設定への切り替えを指示する通知を前記レンズ装置に送信した後に、前記第1の設定がされた前記レンズ装置から、前記アダプタ装置から前記レンズ装置へのデータ通信が行われないようにするための待機要求信号を前記通知チャネルを介して受信し、
前記通知チャネルを介して前記待機要求信号を受信している間は前記レンズ装置に対してデータ通信を行わないことを特徴とする請求項1乃至22のいずれか1項に記載のアダプタ装置。
Each of the adapter device and the lens device can switch between a first setting corresponding to a clock-synchronized communication method synchronized with a clock signal and a second setting corresponding to a pace-synchronized communication method. ,
After transmitting a notification instructing the switching from the first setting to the second setting to the lens device, the control unit uses the lens device with the first setting, the adapter device, and the like. A standby request signal for preventing data communication to the lens device is received via the notification channel.
The adapter device according to any one of claims 1 to 22, wherein data communication is not performed with the lens device while the standby request signal is being received via the notification channel.
前記制御部は前記レンズ装置での前記第1の設定から前記第2の設定への切り替えが完了したことを示す通知を、前記通知チャネルを介して受信することに応じて、前記第1の設定から前記第2の設定への切り替えを行うことを特徴とする請求項23に記載のアダプタ装置。 The control unit receives the notification indicating that the switching from the first setting to the second setting in the lens device is completed via the notification channel, and the first setting. The adapter device according to claim 23, wherein the second setting is switched from the first to the second setting. カメラとレンズ装置との間に着脱可能なアダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルと、前記アダプタ装置から前記レンズ装置へのデータ送信に用いられるアダプタデータ通信チャネルを介して前記レンズ装置と通信可能なアダプタ装置のコンピュータに実行させるプログラムであって、
前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して前記レンズ装置に送信するステップと、
該送信要求信号に応じて前記レンズ装置から送信された第1データの受信開始に応じて、前記アダプタデータ通信チャネルを介して前記レンズ装置に第2データを送信するステップと、を実行させることを特徴とするプログラム。
A notification channel used for notification from an adapter device detachable between a camera and a lens device to the lens device, a lens data communication channel used for data transmission from the lens device to the adapter device, and the adapter device. A program to be executed by a computer of an adapter device capable of communicating with the lens device via an adapter data communication channel used for transmitting data from the lens device to the lens device.
A step of transmitting a transmission request signal requesting data transmission from the lens device to the adapter device to the lens device via the notification channel.
In response to the start of reception of the first data transmitted from the lens device in response to the transmission request signal, the step of transmitting the second data to the lens device via the adapter data communication channel is executed. Characterized program.
カメラとレンズ装置との間に着脱可能なアダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルとを介して、前記レンズ装置と通信可能なアダプタ装置のコンピュータに実行させるプログラムであって、
前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号が送信されないようにするための待機要求信号を前記レンズ装置から受信開始するステップと、
前記待機要求信号を受信している間は、前記送信要求信号を前記レンズ装置に送信させないステップとを実行させることを特徴とするプログラム。
Through a notification channel used for notification from the adapter device detachable between the camera and the lens device to the lens device, and a lens data communication channel used for data transmission from the lens device to the adapter device, A program to be executed by a computer of an adapter device capable of communicating with the lens device.
A step of starting reception from the lens device of a standby request signal for preventing transmission of a transmission request signal requesting data transmission from the lens device to the adapter device, and
A program characterized in that while receiving the standby request signal, the step of not transmitting the transmission request signal to the lens device is executed.
カメラに対して着脱可能なレンズ装置と、前記カメラと前記レンズ装置との間に着脱可能なアダプタ装置とを含むカメラシステムであって、
前記アダプタ装置は、前記アダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルと、前記アダプタ装置から前記レンズ装置へのデータ送信に用いられるアダプタデータ通信チャネルとを用いて前記レンズ装置と行う通信を制御する第1制御部を有し、
前記レンズ装置は、前記通知チャネルと、前記レンズデータ通信チャネルと、前記アダプタデータ通信チャネルとを用いて前記アダプタ装置と行う通信を制御する第2制御部とを有し、
前記第1制御部は、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を、前記通知チャネルを介して前記レンズ装置に送信し、
前記第2制御部は、前記送信要求信号を受信することに応じて、前記レンズデータ通信チャネルを介して前記アダプタ装置に対して第1データを送信し、
前記第1制御部は、前記第1データの受信開始に応じて、前記アダプタデータ通信チャネルを介して前記レンズ装置に第2データを送信することを特徴とするカメラシステム。
A camera system including a lens device that can be attached to and detached from a camera and an adapter device that can be attached and detached between the camera and the lens device.
The adapter device includes a notification channel used for notification from the adapter device to the lens device, a lens data communication channel used for data transmission from the lens device to the adapter device, and the adapter device to the lens device. It has a first control unit that controls communication with the lens device using an adapter data communication channel used for data transmission of the lens device.
The lens device has a notification channel, a lens data communication channel, and a second control unit that controls communication with the adapter device using the adapter data communication channel.
The first control unit transmits a transmission request signal requesting data transmission from the lens device to the adapter device to the lens device via the notification channel.
In response to receiving the transmission request signal, the second control unit transmits the first data to the adapter device via the lens data communication channel.
The camera system is characterized in that the first control unit transmits second data to the lens device via the adapter data communication channel in response to the start of reception of the first data.
カメラに対して着脱可能なレンズ装置と、前記カメラと前記レンズ装置との間に着脱可能なアダプタ装置とを含むカメラシステムであって、
前記アダプタ装置は、前記アダプタ装置から前記レンズ装置への通知に用いられる通知チャネルと、前記レンズ装置から前記アダプタ装置へのデータ送信に用いられるレンズデータ通信チャネルとを用いて前記レンズ装置と行う通信を制御する第1制御部を有し、
前記レンズ装置は、前記通知チャネルと、前記レンズデータ通信チャネルとを含むチャネルを用いて前記アダプタ装置と行う通信を制御する第2制御部を有し、
前記第1制御部は、前記通知チャネルを介して、前記レンズ装置から前記アダプタ装置へのデータ送信を要求する送信要求信号を前記レンズ装置に送信し、
前記第2制御部は、前記送信要求信号を受信することに応じて、前記レンズデータ通信チャネルを介して前記アダプタ装置に対してデータを送信し、
前記第2制御部は、前記アダプタ装置から前記レンズ装置に対して前記送信要求信号が送信されないようにするための待機要求信号を前記第1制御部に送信することを特徴とするカメラシステム。
A camera system including a lens device that can be attached to and detached from a camera and an adapter device that can be attached and detached between the camera and the lens device.
The adapter device communicates with the lens device using a notification channel used for notification from the adapter device to the lens device and a lens data communication channel used for data transmission from the lens device to the adapter device. Has a first control unit that controls
The lens device has a second control unit that controls communication with the adapter device using a channel including the notification channel and the lens data communication channel.
The first control unit transmits a transmission request signal requesting data transmission from the lens device to the adapter device to the lens device via the notification channel.
In response to receiving the transmission request signal, the second control unit transmits data to the adapter device via the lens data communication channel.
The camera system is characterized in that the second control unit transmits a standby request signal for preventing the transmission request signal from being transmitted from the adapter device to the lens device to the first control unit.
JP2019068860A 2019-03-29 2019-03-29 Adapter device, camera system, control method and program Active JP7370723B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019068860A JP7370723B2 (en) 2019-03-29 2019-03-29 Adapter device, camera system, control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019068860A JP7370723B2 (en) 2019-03-29 2019-03-29 Adapter device, camera system, control method and program

Publications (2)

Publication Number Publication Date
JP2020166203A true JP2020166203A (en) 2020-10-08
JP7370723B2 JP7370723B2 (en) 2023-10-30

Family

ID=72716305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019068860A Active JP7370723B2 (en) 2019-03-29 2019-03-29 Adapter device, camera system, control method and program

Country Status (1)

Country Link
JP (1) JP7370723B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015172745A (en) * 2014-02-20 2015-10-01 キヤノン株式会社 Adapter and camera system
JP2016095529A (en) * 2016-01-07 2016-05-26 株式会社ニコン Adapter, camera system and adapter control program
JP2017181838A (en) * 2016-03-31 2017-10-05 キヤノン株式会社 Accessory device, imaging device, and communication control program
JP2018164228A (en) * 2017-03-27 2018-10-18 キヤノン株式会社 Accessory device and imaging apparatus
JP2018205722A (en) * 2017-05-31 2018-12-27 キヤノン株式会社 Accessory device, camera and communication control program
JP2019008132A (en) * 2017-06-23 2019-01-17 キヤノン株式会社 Imaging device, accessory device and communication control program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015172745A (en) * 2014-02-20 2015-10-01 キヤノン株式会社 Adapter and camera system
JP2016095529A (en) * 2016-01-07 2016-05-26 株式会社ニコン Adapter, camera system and adapter control program
JP2017181838A (en) * 2016-03-31 2017-10-05 キヤノン株式会社 Accessory device, imaging device, and communication control program
JP2018164228A (en) * 2017-03-27 2018-10-18 キヤノン株式会社 Accessory device and imaging apparatus
JP2018205722A (en) * 2017-05-31 2018-12-27 キヤノン株式会社 Accessory device, camera and communication control program
JP2019008132A (en) * 2017-06-23 2019-01-17 キヤノン株式会社 Imaging device, accessory device and communication control program

Also Published As

Publication number Publication date
JP7370723B2 (en) 2023-10-30

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
JP6866078B2 (en) Accessory device, imaging device, communication control method and communication control program
JP2017181830A (en) Accessory device, imaging device, and communication control device
CN110958381B (en) Adapter device, camera system, control method, and storage medium
CN108668073B (en) Accessory device, image pickup device, and imaging system
WO2017170397A1 (en) Accessory device, imaging device, and communication control program
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
JP6874189B2 (en) Accessory device, imaging device and communication control program
JP2019008322A (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
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: 20220315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230523

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231018

R151 Written notification of patent or utility model registration

Ref document number: 7370723

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151