JP2018031942A - Imaging device, accessory device, imaging system, communication control method, and communication control program - Google Patents
Imaging device, accessory device, imaging system, communication control method, and communication control program Download PDFInfo
- Publication number
- JP2018031942A JP2018031942A JP2016165332A JP2016165332A JP2018031942A JP 2018031942 A JP2018031942 A JP 2018031942A JP 2016165332 A JP2016165332 A JP 2016165332A JP 2016165332 A JP2016165332 A JP 2016165332A JP 2018031942 A JP2018031942 A JP 2018031942A
- Authority
- JP
- Japan
- Prior art keywords
- accessory
- control unit
- request command
- response
- response data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Structure And Mechanism Of Cameras (AREA)
- Studio Devices (AREA)
Abstract
【課題】撮像装置に様々なアクセサリ装置が接続される場合に、要求コマンドの数の増加を抑えつつ、各アクセサリ装置を誤動作させすることなく通信を行う。【解決手段】撮像装置20は、複数のアクセサリ装置のうち接続された第1のアクセサリ装置30と通信を行う。カメラ制御部207は、第1のアクセサリ装置に対して、第1の応答データの送信を要求する第1の要求コマンドを送信し、第1のアクセサリ装置から受信した第1の応答データを用いて該第1のアクセサリ装置が特定のアクセサリ装置であると識別した場合に該第1のアクセサリ装置に対して第2の要求コマンドを送信することにより、第1のアクセサリ装置を、第1および第2の要求コマンドの認識が可能な第1の状態から、カメラ制御部から送信される第3の要求コマンドに応じて第1の応答データとは異なる第2の応答データをカメラ制御部に送信可能な第2の状態に移行させる。【選択図】図1When various accessory devices are connected to an imaging device, communication is performed without causing each accessory device to malfunction while suppressing an increase in the number of request commands. An imaging device communicates with a connected first accessory device among a plurality of accessory devices. The camera control unit 207 transmits a first request command for requesting transmission of the first response data to the first accessory device, and uses the first response data received from the first accessory device. When the first accessory device is identified as a specific accessory device, the first accessory device is sent to the first accessory device by transmitting a second request command to the first accessory device. From the first state in which the request command can be recognized, second response data different from the first response data can be transmitted to the camera control unit in response to the third request command transmitted from the camera control unit. Transition to the second state. [Selection] Figure 1
Description
本発明は、撮像装置(以下、カメラ本体という)と該カメラ本体に通信可能に接続されるレンズ装置(以下、交換レンズという)や操作装置等のアクセサリ装置とを含む撮像システムに関する。 The present invention relates to an imaging system including an imaging device (hereinafter referred to as a camera body) and an accessory device such as a lens device (hereinafter referred to as an interchangeable lens) and an operation device that are communicably connected to the camera body.
レンズ交換型撮像システムでは、カメラ本体とアクセサリ装置である交換レンズが相互に通信することにより、カメラ本体から交換レンズのフォーカス制御や絞り制御を行ったり交換レンズの情報をカメラ本体の表示部に表示したりすることができる。また、カメラ本体に交換レンズ以外の様々なアクセサリ装置を接続して多様な撮像を行える撮像システムも提案されている。交換レンズ以外のアクセサリ装置としては、例えば、交換レンズおよびカメラ本体とは別の箇所で交換レンズのズーム操作やフォーカス操作を行ったり撮像画面内でAFを行う領域を選択したりすることが可能な操作装置がある。このように、撮像システムには、交換レンズ以外の様々なアクセサリ装置も使用できる拡張性が求められている。一方、これらのアクセサリ装置は互いにカメラ本体に対して互換性を有する必要がある。 In an interchangeable lens imaging system, the camera body and the interchangeable lens, which is an accessory device, communicate with each other to perform focus control and aperture control of the interchangeable lens from the camera body and display information on the interchangeable lens on the display section of the camera body You can do it. There has also been proposed an imaging system in which various accessory devices other than an interchangeable lens can be connected to the camera body to perform various imaging. As an accessory device other than the interchangeable lens, for example, it is possible to perform a zoom operation and a focus operation of the interchangeable lens at a place different from the interchangeable lens and the camera body, and to select an area for performing AF in the imaging screen. There is an operating device. Thus, the imaging system is required to be extensible so that various accessory devices other than the interchangeable lens can be used. On the other hand, these accessory devices must be compatible with each other with respect to the camera body.
特許文献1には、装着されたアクセサリ装置が保持する固有情報に応じて該アクセサリ装置との通信方式を選択する電子機器(カメラ本体)が開示されている。また、特許文献2には、種々の交換レンズとコンバータレンズの組み合わせや撮像システムの拡張性を考慮して、コンバータレンズが装着された場合に交換レンズとしてのシリアル番号を変更してカメラ本体に送信する交換レンズが開示されている。 Patent Document 1 discloses an electronic device (camera body) that selects a communication method with an accessory device according to unique information held by the attached accessory device. In Patent Document 2, in consideration of various combinations of interchangeable lenses and converter lenses and expandability of the imaging system, when a converter lens is mounted, the serial number as the interchangeable lens is changed and transmitted to the camera body. An interchangeable lens is disclosed.
上記のような撮像システムにおいては、通信されるデータ(コマンドや情報)のデータ構造や通信方式の種類を増やすことなく様々なアクセサリ装置をカメラ本体に通信可能に接続できることが望ましい。 In the imaging system as described above, it is desirable that various accessory devices can be communicably connected to the camera body without increasing the data structure of communication data (commands and information) and the types of communication methods.
また、従来の撮像システムでは、カメラ本体がアクセサリ装置に対して要求コマンドを送信すると、アクセサリ装置が該要求コマンドに対応した情報を応答するように構成されている。このような構成では、それぞれ機能が異なる複数のアクセサリ装置がカメラ本体に接続される場合に、カメラ本体からこれらアクセサリ装置に対して情報の送信を要求する要求コマンドをアクセサリ装置ごとに用意する必要が生じる。この結果、用意できる要求コマンドが不足するおそれがある。また、複数のアクセサリ装置がカメラ本体に接続可能である場合に、本来は特定のアクセサリ装置に対する要求コマンドが該特定のアクセサリ装置ではないアクセサリ装置に誤認識され、該アクセサリ装置が誤動作するおそれがある。 The conventional imaging system is configured such that when the camera body transmits a request command to the accessory device, the accessory device responds with information corresponding to the request command. In such a configuration, when a plurality of accessory devices having different functions are connected to the camera body, it is necessary to prepare a request command for requesting information transmission from the camera body to the accessory device for each accessory device. Arise. As a result, there may be a shortage of request commands that can be prepared. Further, when a plurality of accessory devices can be connected to the camera body, a request command for a specific accessory device may be erroneously recognized by an accessory device that is not the specific accessory device, and the accessory device may malfunction. .
本発明は、撮像装置に様々なアクセサリ装置が接続される場合に、要求コマンドの不足を回避しつつ、各アクセサリ装置を誤動作させすることなく安定した通信を行うことができる撮像システムを提供する。 The present invention provides an imaging system capable of performing stable communication without causing malfunction of each accessory device while avoiding a shortage of request commands when various accessory devices are connected to the imaging device.
本発明の一側面としての撮像装置は、複数のアクセサリ装置を用いて撮像を行うことが可能である。該撮像装置は、複数のアクセサリ装置の接続が可能なアクセサリ接続部と、複数のアクセサリ装置のうちアクセサリ接続部に接続された第1のアクセサリ装置と通信を行うカメラ制御部とを有する。カメラ制御部は、第1のアクセサリ装置に対して、第1の応答データの送信を要求する第1の要求コマンドを送信し、第1のアクセサリ装置から受信した第1の応答データを用いて該第1のアクセサリ装置が特定のアクセサリ装置であると識別した場合に該第1のアクセサリ装置に対して第2の要求コマンドを送信することにより、第1のアクセサリ装置を、第1および第2の要求コマンドの認識が可能な第1の状態から、カメラ制御部から送信される第3の要求コマンドに応じて第1の応答データとは異なる第2の応答データをカメラ制御部に送信可能な第2の状態に移行させることを特徴とする。 The imaging device as one aspect of the present invention can perform imaging using a plurality of accessory devices. The imaging apparatus includes an accessory connection unit that can connect a plurality of accessory devices, and a camera control unit that communicates with a first accessory device connected to the accessory connection unit among the plurality of accessory devices. The camera control unit transmits a first request command for requesting transmission of the first response data to the first accessory device, and uses the first response data received from the first accessory device. When the first accessory device is identified as a specific accessory device, the first accessory device is sent to the first accessory device by transmitting a second request command to the first accessory device. From the first state where the request command can be recognized, the second response data different from the first response data can be transmitted to the camera control unit in response to the third request command transmitted from the camera control unit. It is characterized by making it transfer to the state of 2.
また、本発明の他の一側面としてのアクセサリ装置は、撮像装置が行う撮像に用いられる複数のアクセサリ装置に含まれる第1のアクセサリ装置である。該第1のアクセサリ装置は、撮像装置に対して接続が可能なカメラ接続部と、カメラ接続部を介して撮像装置と通信を行うアクセサリ制御部とを有する。アクセサリ制御部は、撮像装置から第1の要求コマンドを受信することに応じて撮像装置に第1の応答データを送信し、第1の応答データを用いて第1のアクセサリ装置が特定のアクセサリであると識別した撮像装置から第2の要求コマンドを受信することに応じて、第1および第2の要求コマンドを認識可能な第1の状態から、撮像装置から送信される第3の要求コマンドに応じて第1の応答データとは異なる第2の応答データを撮像装置に送信可能な第2の状態に移行することを特徴とする。 An accessory device according to another aspect of the present invention is a first accessory device included in a plurality of accessory devices used for imaging performed by the imaging device. The first accessory device includes a camera connection unit that can be connected to the imaging device, and an accessory control unit that communicates with the imaging device via the camera connection unit. The accessory control unit transmits the first response data to the imaging device in response to receiving the first request command from the imaging device, and the first accessory device is a specific accessory using the first response data. In response to receiving the second request command from the imaging device identified as being present, the third request command transmitted from the imaging device is changed from the first state in which the first and second request commands can be recognized. Accordingly, the second response data different from the first response data is shifted to a second state in which the second response data can be transmitted to the imaging apparatus.
なお、上記撮像装置と複数のアクセサリ装置(または第1のアクセサリ装置)を含む撮像システムも、本発明の他の一側面を構成する。 Note that an imaging system including the imaging device and a plurality of accessory devices (or first accessory devices) also constitutes another aspect of the present invention.
また、本発明の他の一側面としての撮像装置の制御方法は、複数のアクセサリ装置を用いて撮像を行うことが可能な撮像装置に、複数のアクセサリ装置のうち撮像装置に接続された第1のアクセサリ装置に対して、第1の応答データの送信を要求する第1の要求コマンドを送信させ、第1のアクセサリ装置から受信した第1の応答データを用いて該第1のアクセサリ装置が特定のアクセサリ装置であると識別した場合に該第1のアクセサリ装置に対して第2の要求コマンドを送信させることにより、第1のアクセサリ装置を、第1および第2の要求コマンドの認識が可能な第1の状態から、カメラ制御部から送信される第3の要求コマンドに応じて第1の応答データとは異なる第2の応答データを撮像装置に送信可能な第2の状態に移行させることを特徴とする。 According to another aspect of the present invention, there is provided a method for controlling an imaging apparatus, wherein the imaging apparatus capable of imaging using a plurality of accessory apparatuses is connected to the imaging apparatus among the plurality of accessory apparatuses. The accessory device is made to transmit a first request command for requesting transmission of the first response data, and the first accessory device is identified using the first response data received from the first accessory device. The first accessory device can recognize the first and second request commands by transmitting the second request command to the first accessory device when the accessory device is identified as the first accessory device. Transition from the first state to a second state in which second response data different from the first response data can be transmitted to the imaging device in response to a third request command transmitted from the camera control unit. It is characterized in.
また、本発明の他の一側面としてのアクセサリ装置の制御方法は、撮像装置が行う撮像に用いられる複数のアクセサリ装置のうち撮像装置に接続された第1のアクセサリ装置に、撮像装置から第1の要求コマンドを受信することに応じて、撮像装置に該第1の要求コマンドに対する第1の応答データを送信させ、第1の応答データを用いて第1のアクセサリ装置が特定のアクセサリであると識別した撮像装置から第2の要求コマンドを受信することに応じて、第1および第2の要求コマンドを認識可能な第1の状態から、撮像装置から送信される第3の要求コマンドに応じて第1の応答データとは異なる第2の応答データを撮像装置に送信可能な第2の状態に移行させることを特徴とする。 According to another aspect of the present invention, there is provided a method for controlling an accessory device, wherein a first accessory device connected to an imaging device among a plurality of accessory devices used for imaging performed by the imaging device is moved from the imaging device to the first. In response to receiving the request command, the imaging device transmits first response data to the first request command, and the first accessory device is a specific accessory using the first response data. In response to receiving the second request command from the identified imaging device, in response to the third request command transmitted from the imaging device from the first state in which the first and second request commands can be recognized. The second response data different from the first response data is shifted to a second state in which the second response data can be transmitted to the imaging apparatus.
なお、撮像装置およびアクセサリ装置のコンピュータに上記制御方法に従う動作を実行させるコンピュータプログラムである通信制御プログラムも、本発明の他の一側面を構成する。 Note that a communication control program, which is a computer program that causes the computer of the imaging device and the accessory device to execute an operation according to the control method, also constitutes another aspect of the present invention.
本発明によれば、撮像装置と様々なアクセサリ装置が接続される場合に、要求コマンドの不足を回避しつつ、各アクセサリ装置を誤動作させることなく安定した通信を行える拡張性が高い撮像システムを実現することができる。 According to the present invention, when an imaging device and various accessory devices are connected, an imaging system with high expandability that can perform stable communication without causing malfunction of each accessory device while avoiding a shortage of request commands is realized. can do.
以下、本発明の実施例について図面を参照しながら説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1には、本発明の実施例である撮像システムを示している。撮像システムは、レンズ装置(第2のアクセサリ装置)としての交換レンズ10と、該交換レンズ10が取り外し可能に装着された撮像装置としてのカメラ本体20とを有する。さらに、撮像システムは、カメラ本体20に取り外し可能に装着された操作装置(第1のアクセサリ装置)としてのレンズ操作ユニット30を含む。カメラ本体20には、複数(本実施例では2つ)のアクセサリ接続部であるレンズマウント210とアクセサリ接続ポート(コネクタ)211とが設けられている。レンズマウント210には交換レンズ10のカメラ接続部であるマウント部110が、アクセサリ接続ポート211にはレンズ操作ユニット30に設けられたコネクタ311がそれぞれ接続されている。図示はしないが、アクセサリ接続ポート211には、レンズ操作ユニット30以外のアクセサリ装置(第2のアクセサリ装置)を接続することも可能である。 FIG. 1 shows an imaging system that is an embodiment of the present invention. The imaging system includes an interchangeable lens 10 as a lens device (second accessory device), and a camera body 20 as an imaging device to which the interchangeable lens 10 is detachably mounted. Further, the imaging system includes a lens operation unit 30 as an operation device (first accessory device) detachably attached to the camera body 20. The camera body 20 is provided with a plurality of lens mounts 210 (two in this embodiment) as accessory connection portions and accessory connection ports (connectors) 211. The lens mount 210 is connected to a mount portion 110 that is a camera connection portion of the interchangeable lens 10, and the accessory connection port 211 is connected to a connector 311 provided in the lens operation unit 30. Although not shown, an accessory device (second accessory device) other than the lens operation unit 30 can be connected to the accessory connection port 211.
交換レンズ10の動作を制御するレンズ制御部(アクセサリ制御部)107とカメラ本体20の動作を制御するカメラ制御部207は、マウント部110およびレンズマウント210を介して相互に通信可能である。また、操作ユニット30の動作を制御する操作ユニット制御部301とカメラ制御部207は、コネクタ311およびアクセサリ接続ポート211を介して互いに通信可能である。 A lens control unit (accessory control unit) 107 that controls the operation of the interchangeable lens 10 and a camera control unit 207 that controls the operation of the camera body 20 can communicate with each other via the mount unit 110 and the lens mount 210. The operation unit control unit 301 and the camera control unit 207 that control the operation of the operation unit 30 can communicate with each other via the connector 311 and the accessory connection port 211.
まず、交換レンズ10の構成について説明する。交換レンズ装置10は、変倍レンズ101、絞り102、フォーカスレンズ103、ズーム駆動部104、絞り駆動部105、フォーカス駆動部106、上記レンズ制御部107およびレンズ操作部108を有する。変倍レンズ101、絞り102およびフォーカスレンズ103により撮像光学系が構成される。変倍レンズ101は、レンズ制御部107からのズーム制御信号を受けたズーム駆動部104により光軸方向に駆動されることにより変倍を行う。絞り102は、レンズ制御部107からの絞り制御信号を受けた絞り制御部105によって駆動されてその開口径が変更されることで撮像光学系を通過する光量を調節する。フォーカスレンズ103は、レンズ制御部107からのフォーカス制御信号を受けたフォーカス駆動部106によって光軸方向に駆動されて焦点調節を行う。 First, the configuration of the interchangeable lens 10 will be described. The interchangeable lens device 10 includes a variable power lens 101, an aperture 102, a focus lens 103, a zoom drive unit 104, an aperture drive unit 105, a focus drive unit 106, the lens control unit 107, and a lens operation unit 108. The variable magnification lens 101, the diaphragm 102, and the focus lens 103 constitute an imaging optical system. The zoom lens 101 performs zooming by being driven in the optical axis direction by the zoom drive unit 104 that has received a zoom control signal from the lens control unit 107. The diaphragm 102 is driven by the diaphragm control unit 105 that has received the diaphragm control signal from the lens control unit 107 and changes its aperture diameter, thereby adjusting the amount of light passing through the imaging optical system. The focus lens 103 is driven in the optical axis direction by the focus driving unit 106 that has received the focus control signal from the lens control unit 107 and performs focus adjustment.
レンズ操作部108には、ズーム操作リングやフォーカス操作リング等の操作部材が設けられており、各操作部材がユーザにより操作されると操作信号がレンズ制御部107に出力され、レンズ制御部107は該操作に応じた制御を行う。レンズ制御部107は、後述するカメラ制御部207から受信した各種命令、要求および情報に応じてズーム駆動部104、絞り駆動部105やフォーカス駆動部106を制御する。また、レンズ制御部107は、カメラ制御部207からの送信要求に応じてレンズ情報(光学情報等)をカメラ制御部207に送信する。 The lens operation unit 108 is provided with operation members such as a zoom operation ring and a focus operation ring. When each operation member is operated by a user, an operation signal is output to the lens control unit 107. The lens control unit 107 Control according to the operation is performed. The lens control unit 107 controls the zoom driving unit 104, the aperture driving unit 105, and the focus driving unit 106 in accordance with various commands, requests, and information received from a camera control unit 207, which will be described later. In addition, the lens control unit 107 transmits lens information (such as optical information) to the camera control unit 207 in response to a transmission request from the camera control unit 207.
次に、カメラ本体20の構成について説明する。カメラ本体20は、撮像素子201、CDS/AGC回路202、カメラ信号処理部203、フォーカス信号処理部204、表示部205、記録部206、カメラ制御部207およびカメラ操作部208を有する。撮像素子201は、CCDセンサやCMOSセンサ等の光電変換素子であり、交換レンズ10の撮像光学系により形成された被写体像を複数の画素(フォトダイオード)により光電変換する。各画素に蓄積された電荷は、カメラ制御部207により制御されるタイミングジェネレータ209からの駆動パルスに応じて、電圧信号(画素信号)として撮像素子201から順次読み出される。撮像素子201の各画素は複数(ここでは2つとする)のフォトダイオードを備えており、該複数のフォトダイオードからの出力をまとめて撮像用画素信号として出力する一方、該複数のフォトダイオードからの出力を別々にフォーカス用画素信号として出力する。 Next, the configuration of the camera body 20 will be described. The camera body 20 includes an image sensor 201, a CDS / AGC circuit 202, a camera signal processing unit 203, a focus signal processing unit 204, a display unit 205, a recording unit 206, a camera control unit 207, and a camera operation unit 208. The imaging element 201 is a photoelectric conversion element such as a CCD sensor or a CMOS sensor, and photoelectrically converts a subject image formed by the imaging optical system of the interchangeable lens 10 using a plurality of pixels (photodiodes). The electric charge accumulated in each pixel is sequentially read out from the image sensor 201 as a voltage signal (pixel signal) in accordance with a drive pulse from the timing generator 209 controlled by the camera control unit 207. Each pixel of the image pickup element 201 includes a plurality of (here, two) photodiodes, and outputs from the plurality of photodiodes are collectively output as an image pickup pixel signal. Outputs are separately output as focus pixel signals.
撮像素子201から読み出された撮像用画素信号(アナログ信号)は、CDS/AGC/AD回路202にてサンプリング、ゲイン調整およびデジタル変換されて撮像信号としてカメラ信号処理部203に入力される。また、フォーカス用画素信号は、CDS/AGC/AD回路202を介して2つの位相差検出用像信号(以下、2像信号という:図にはフォーカス用信号と記す)としてフォーカス信号処理部204に出力される。 The imaging pixel signal (analog signal) read from the imaging device 201 is sampled, gain-adjusted, and digitally converted by the CDS / AGC / AD circuit 202 and input to the camera signal processing unit 203 as an imaging signal. In addition, the focus pixel signal is passed through the CDS / AGC / AD circuit 202 to the focus signal processing unit 204 as two phase difference detection image signals (hereinafter referred to as “two image signals”; Is output.
カメラ信号処理部203は、撮像信号に対して各種画像処理を行うことで映像信号を生成する。LCD等により構成される表示部205は、カメラ信号処理部203から出力された映像信号に応じた画像を表示する。記録部206は、カメラ信号処理部203からの映像信号を、光ディスクや半導体メモリ等の記録媒体に記録する。 The camera signal processing unit 203 generates a video signal by performing various kinds of image processing on the imaging signal. A display unit 205 configured by an LCD or the like displays an image corresponding to the video signal output from the camera signal processing unit 203. The recording unit 206 records the video signal from the camera signal processing unit 203 on a recording medium such as an optical disk or a semiconductor memory.
フォーカス信号処理部204は、位相差検出用の2像信号に対して相関演算を行うことにより、これら2像信号の位相差を算出し、該位相差から撮像光学系のデフォーカス量を算出してカメラ制御部207に出力する。カメラ制御部207は、取得したデフォーカス量に応じて合焦状態を得るためのフォーカスレンズ103の駆動量を算出し、該駆動量を含むフォーカス指令をレンズ制御部107に送信する。レンズ制御部107は、フォーカス指令に応じてフォーカス駆動部106を制御してフォーカスレンズ103を駆動する。これにより、撮像面位相差AF(オートフォーカス)が行われる。 The focus signal processing unit 204 calculates a phase difference between the two image signals by performing a correlation operation on the two image signals for phase difference detection, and calculates a defocus amount of the imaging optical system from the phase difference. To the camera control unit 207. The camera control unit 207 calculates a drive amount of the focus lens 103 for obtaining a focused state according to the acquired defocus amount, and transmits a focus command including the drive amount to the lens control unit 107. The lens control unit 107 drives the focus lens 103 by controlling the focus driving unit 106 according to the focus command. Thereby, imaging surface phase difference AF (autofocus) is performed.
カメラ制御部207は、カメラ本体20内の各部と情報をやり取りしながらそれらを制御する。また、カメラ制御部207は、各種操作スイッチ等を含むカメラ操作部208でのユーザ操作に応じて、電源ON/OFF、各種設定、映像記録の開始/終了、AF/MF(マニュアルフォーカス)の切り替え、記録映像の再生等の様々なカメラ機能を実行する。さらに、カメラ制御部207は、上述したようにレンズ制御部107に対して各種命令、要求および情報を送信したりレンズ制御部107からレンズ情報を受信したりする。 The camera control unit 207 controls them while exchanging information with each unit in the camera body 20. In addition, the camera control unit 207 switches power ON / OFF, various settings, video recording start / end, and AF / MF (manual focus) switching according to user operations on the camera operation unit 208 including various operation switches. Various camera functions such as playback of recorded video are executed. Furthermore, as described above, the camera control unit 207 transmits various commands, requests, and information to the lens control unit 107 and receives lens information from the lens control unit 107.
加えて、カメラ制御部207は、レンズ操作ユニット30内の操作ユニット制御部301とも情報のやり取りが可能であり、レンズ操作ユニット30の操作部302に対してユーザにより行われた操作の情報(以下、操作情報という)を取得する。 In addition, the camera control unit 207 can exchange information with the operation unit control unit 301 in the lens operation unit 30, and information on operations performed by the user on the operation unit 302 of the lens operation unit 30 (hereinafter, referred to as “operation unit control unit 301”). , Called operation information).
次に、レンズ操作ユニット30について説明する。レンズ操作ユニット30の操作部302は、ユーザが交換レンズ10を操作するためのレンズ操作部材として、変倍を行わせるためのシーソーキーや、絞り値を変更させるためのダイヤルキー等を備えている。また、操作部302は、カメラ本体20に映像信号の記録媒体への記録を開始および終了させるスイッチや、撮像画面内においてAFにより合焦状態を得るAF領域を指定する十字キー等のカメラ操作部材も備えている。操作ユニット制御部301は、カメラ制御部207からの送信要求に対して、ユーザがこれら操作部材を操作したことを示す操作情報をカメラ制御部207に送信する。 Next, the lens operation unit 30 will be described. The operation unit 302 of the lens operation unit 30 includes a seesaw key for changing the magnification, a dial key for changing the aperture value, and the like as a lens operation member for the user to operate the interchangeable lens 10. . In addition, the operation unit 302 is a camera operation member such as a switch that causes the camera body 20 to start and end recording of a video signal on a recording medium, or a cross key that specifies an AF area in which an in-focus state is obtained by AF within an imaging screen. It also has. In response to the transmission request from the camera control unit 207, the operation unit control unit 301 transmits operation information indicating that the user has operated these operation members to the camera control unit 207.
なお、本実施例では、交換レンズ10およびカメラ本体20の両方を操作可能なレンズ操作ユニット30について説明するが、交換レンズ10およびカメラ本体20のうち少なくとも一方を操作可能であってもよい。 In the present embodiment, the lens operation unit 30 capable of operating both the interchangeable lens 10 and the camera body 20 will be described. However, at least one of the interchangeable lens 10 and the camera body 20 may be operable.
本実施例では、カメラ制御部207とレンズ制御部107間およびカメラ制御部207と操作ユニット制御部301間の通信手段として、一般的かつ共通のデータ構造(フォーマット)を有する通信コマンド(要求コマンド)が用いられる。具体的には、要求コマンドのデータ構造は、要求する情報またはコントロールを示すファンクション情報と、データサイズ(データ長)と、データ本体とを含むデータ列により構成されている。また、要求コマンドに応答して送信される情報(応答データ)も、一般的かつ共通のデータ構造を有する。具体的には、応答データの特定のデータ構造は、データサイズ(データ長)と、データ本体とを含むデータ列により構成されている。さらに、通信手段としての通信方式も、一般的かつ共通の通信方式が用いられる。本実施例では、通信方式として調歩同期式を用いる。このようなデータ構造と通信方式を用いることで、カメラ本体20に複数のアクセサリ装置(交換レンズ10、レンズ操作ユニット30およびそれ以外のアクセサリ装置)を通信可能に接続することが容易となり、撮像システムの拡張性を高めることができる。 In this embodiment, a communication command (request command) having a general and common data structure (format) as a communication means between the camera control unit 207 and the lens control unit 107 and between the camera control unit 207 and the operation unit control unit 301. Is used. Specifically, the data structure of the request command is composed of a data string including function information indicating requested information or control, a data size (data length), and a data body. Information (response data) transmitted in response to a request command also has a general and common data structure. Specifically, the specific data structure of the response data includes a data string including a data size (data length) and a data body. Furthermore, a general and common communication method is used as a communication method as a communication means. In this embodiment, an asynchronous method is used as a communication method. By using such a data structure and communication method, it becomes easy to connect a plurality of accessory devices (the interchangeable lens 10, the lens operation unit 30, and other accessory devices) to the camera body 20 so that they can communicate with each other. The extensibility of can be improved.
次に、カメラ制御部207が操作ユニット制御部301に対して行う初期通信制御処理について図2のフローチャートを用いて説明する。カメラ制御部207は、この処理をレンズ操作ユニット30がカメラ本体20に未接続の状態から、フィールド画像(以下、1フレームまたは1画面ともいう)を生成するための撮像素子201からの画素信号の読み出し周期である垂直同期期間ごとに実行する。ただし、垂直同期期間(Vレート)内にて複数回、本処理を繰り返してもよい。そして、カメラ制御部207は、操作ユニット制御部301との接続が確立されたときに一度本処理を実行し、その後は実行しない。コンピュータとしてのカメラ制御部207は、コンピュータプログラムであるカメラ通信制御プログラムに従って本処理を実行する。 Next, an initial communication control process performed by the camera control unit 207 for the operation unit control unit 301 will be described with reference to the flowchart of FIG. The camera control unit 207 performs this process on the pixel signal from the image sensor 201 for generating a field image (hereinafter also referred to as one frame or one screen) from a state where the lens operation unit 30 is not connected to the camera body 20. It is executed every vertical synchronization period which is a read cycle. However, this process may be repeated a plurality of times within the vertical synchronization period (V rate). The camera control unit 207 executes this process once when the connection with the operation unit control unit 301 is established, and does not execute thereafter. The camera control unit 207 as a computer executes this processing according to a camera communication control program that is a computer program.
まずStep201において、カメラ制御部207は、所定の接続コマンドを操作ユニット制御部301に送信し、操作ユニット制御部301から応答が返ってくるか否かを判定するための接続処理を行う。カメラ制御部207は、Step202において、操作ユニット制御部301から応答が返ってきた場合には接続が確立されたとしてStep203に進み、応答が返ってこない場合には接続が未確立としてリターンし、再度、接続処理を実行する。 First, in step 201, the camera control unit 207 transmits a predetermined connection command to the operation unit control unit 301 and performs a connection process for determining whether a response is returned from the operation unit control unit 301. If a response is returned from the operation unit control unit 301 in Step 202, the camera control unit 207 proceeds to Step 203 assuming that a connection has been established. If no response is returned, the camera control unit 207 returns that the connection has not been established. Execute the connection process.
Step203において、カメラ制御部207は、操作ユニット制御部301との接続が確立していることを示す接続確立フラグをセットする。そして、Step204では、カメラ制御部207は、第1の要求モードに入るとともに、第1の要求モードであることを示す第1の要求モードフラグをセットする。 In Step 203, the camera control unit 207 sets a connection establishment flag indicating that the connection with the operation unit control unit 301 has been established. In Step 204, the camera control unit 207 enters the first request mode and sets a first request mode flag indicating the first request mode.
次にStep205では、カメラ制御部207は操作ユニット制御部301に対して、第1の要求コマンドとしてレンズ操作ユニット30の製造者(メーカ)名の情報を要求する要求コマンドを送信する。さらに、次のStep206では、カメラ制御部207は操作ユニット制御部301に対して、他の第1の要求コマンドとして、レンズ操作ユニット30の製品(アクセサリ)名を要求する要求コマンドを送信する。この際、さらに別の第1の要求コマンドとして、レンズ操作ユニット30のシリアル番号の送信を要求する要求コマンドを操作ユニット制御部301に対して送信してもよい。これらメーカ名およびアクセサリ名(さらに必要であればシリアル番号)は、カメラ制御部207がレンズ操作ユニット30の特定のアクセサリ装置であることを識別するための情報である。 Next, in Step 205, the camera control unit 207 transmits a request command for requesting information on the manufacturer (manufacturer) name of the lens operation unit 30 to the operation unit control unit 301 as a first request command. Further, in the next step 206, the camera control unit 207 transmits a request command for requesting the product (accessory) name of the lens operation unit 30 to the operation unit control unit 301 as another first request command. At this time, a request command for requesting transmission of the serial number of the lens operation unit 30 may be transmitted to the operation unit controller 301 as still another first request command. These manufacturer name and accessory name (and serial number if necessary) are information for identifying that the camera control unit 207 is a specific accessory device of the lens operation unit 30.
そしてStep207では、カメラ制御部207は、Step205、206で受信したメーカ名、アクセサリ名が、カメラ制御部207が記憶している(予め登録されている)か否かを判定する。カメラ制御部207は、メーカ名、アクセサリ名が登録されていない(接続されたアクセサリ装置は未知のアクセサリ装置であると識別した)場合にはそのまま本処理を終了する。一方、メーカ名、アクセサリ名登録されている(接続されたアクセサリ装置は特定のアクセサリ装置であると識別した)場合はStep208に進む。 In Step 207, the camera control unit 207 determines whether the manufacturer name and accessory name received in Steps 205 and 206 are stored (pre-registered) in the camera control unit 207. If the manufacturer name and the accessory name are not registered (identified that the connected accessory device is an unknown accessory device), the camera control unit 207 ends this processing as it is. On the other hand, if the manufacturer name and the accessory name are registered (the connected accessory device is identified as a specific accessory device), the process proceeds to Step 208.
Step208では、カメラ制御部207は、操作ユニット制御部301に対して第2の要求コマンドを送信する。この第2の要求コマンドについては後述する。そして、Step209において、カメラ制御部207は、操作ユニット制御部301から第2の要求コマンドに対して予め決められた応答が返ってきたか否かを判定する。カメラ制御部207は、該応答が返ってきた場合はStep210に進み、第2の要求モードに移行するとともに、第2の要求モードであることを示す第2の要求モードフラグをセットして第1の要求モードフラグをクリアする。Step209において予め決められた応答が返ってこなかった場合は、カメラ制御部207は本処理を終了する。 In Step 208, the camera control unit 207 transmits a second request command to the operation unit control unit 301. The second request command will be described later. In step 209, the camera control unit 207 determines whether a predetermined response is returned from the operation unit control unit 301 in response to the second request command. When the response is returned, the camera control unit 207 proceeds to step 210, shifts to the second request mode, sets the second request mode flag indicating the second request mode, and sets the first request mode flag. Clear the request mode flag. If a predetermined response is not returned in Step 209, the camera control unit 207 ends this process.
次に、操作ユニット制御部301と接続が確立された後にカメラ制御部207が行う定常通信制御処理について図3のフローチャートを用いて説明する。カメラ制御部207は、この処理を垂直同期期間ごとに実行する。ただし、垂直同期期間内にて複数回、本処理を繰り返してもよい。そして、カメラ制御部207は、上述したカメラ通信制御プログラムに従って本処理を実行する。 Next, the steady communication control process performed by the camera control unit 207 after the connection with the operation unit control unit 301 is established will be described with reference to the flowchart of FIG. The camera control unit 207 executes this process for each vertical synchronization period. However, this process may be repeated a plurality of times within the vertical synchronization period. And the camera control part 207 performs this process according to the camera communication control program mentioned above.
まずStep301において、カメラ制御部207は、操作ユニット制御部301に対する接続確立フラグがセットされているか否かを判定する。カメラ制御部207は、接続確立フラグがセットされていない場合にはそのまま本処理を終了し、接続確立フラグがセットされている場合にはStep302に進む。 First, in step 301, the camera control unit 207 determines whether or not a connection establishment flag for the operation unit control unit 301 is set. If the connection establishment flag is not set, the camera control unit 207 ends this process as it is. If the connection establishment flag is set, the camera control unit 207 proceeds to Step 302.
Step302では、カメラ制御部207は、第1の要求モードフラグがセットされている(すなわち第1の要求モードである)か否かを判定し、第1の要求モードフラグがセットされている場合にはStep303に進む。Step303では、カメラ制御部207は、第1の要求モードにおいて操作ユニット制御部301が受け付け可能な要求コマンド(以下、第1の要求モード対応要求コマンドという)を操作ユニット制御部301に送信する。第1の要求モード対応要求コマンドについては後述する。一方、第1の要求モードフラグがセットされていない場合には、カメラ制御部207はStep304に進む。 At Step 302, the camera control unit 207 determines whether or not the first request mode flag is set (that is, the first request mode), and when the first request mode flag is set. Advances to Step 303. In Step 303, the camera control unit 207 transmits to the operation unit control unit 301 a request command that can be accepted by the operation unit control unit 301 in the first request mode (hereinafter referred to as a first request mode response request command). The first request mode response request command will be described later. On the other hand, if the first request mode flag is not set, the camera control unit 207 proceeds to Step 304.
Step304では、カメラ制御部207は、第2の要求モードフラグがセットされている(すなわち第2の要求モードである)か否かを判定し、第2の要求モードフラグがセットされている場合にはStep305に進む。Step305では、カメラ制御部207は、第2の要求モードにおいて操作ユニット制御部301が受け付け可能な要求コマンド(以下、第2の要求モード対応要求コマンドという)を操作ユニット制御部301に送信する。第2の要求モード対応要求コマンドについては後述する。一方、第2の要求モードフラグがセットされていない場合には、カメラ制御部207はそのまま本処理を終了する。 In Step 304, the camera control unit 207 determines whether or not the second request mode flag is set (that is, the second request mode), and when the second request mode flag is set. Advances to Step 305. In Step 305, the camera control unit 207 transmits to the operation unit control unit 301 a request command that can be received by the operation unit control unit 301 in the second request mode (hereinafter, referred to as a second request mode response request command). The second request mode response request command will be described later. On the other hand, when the second request mode flag is not set, the camera control unit 207 ends the process as it is.
ここで、本実施例では、通信手段として、撮像光学系を有するアクセサリ装置としての交換レンズ10と通信可能であり、かつ撮像光学系を有さないアクセサリ装置であるレンズ操作ユニット30とも通信可能なデータ構造および通信方式を用いる。これは、通信手段を複数搭載するとそれぞれの通信手段用の回路が別々に必要となり、カメラ本体20の大型化やコスト増を招くためである。また、カメラ本体20に複数種類のアクセサリ装置が接続可能であると、各アクセサリ装置に要求する情報が異なるため、要求する情報ごとに通信コマンド(要求コマンド)が必要である。しかし、通信コマンドに含まれるファンクション情報は限られているため、どのようにして限られたファンクション情報を用いて多様な通信コマンドを決めるかが重要である。 Here, in the present embodiment, the communication unit can communicate with the interchangeable lens 10 as an accessory device having an imaging optical system, and can also communicate with the lens operation unit 30 which is an accessory device without the imaging optical system. Use data structures and communication methods. This is because if a plurality of communication means are mounted, a separate circuit for each communication means is required, which leads to an increase in size and cost of the camera body 20. Further, when a plurality of types of accessory devices can be connected to the camera body 20, information required for each accessory device is different, and thus a communication command (request command) is required for each requested information. However, since the function information included in the communication command is limited, it is important how to determine various communication commands using the limited function information.
図6(A)には、カメラ制御部207が第1の要求モードにおいてアクセサリ装置の制御部(例えば、レンズ操作ユニット30の操作ユニット制御部301)に送信する第1の要求モード対応要求コマンドを示す。また、図6(B)には、カメラ制御部207が第2の要求モードで操作ユニット制御部301に対して送信する第2の要求モード対応要求コマンドを示す。 In FIG. 6A, the first request mode correspondence request command that the camera control unit 207 transmits to the control unit of the accessory device (for example, the operation unit control unit 301 of the lens operation unit 30) in the first request mode. Show. FIG. 6B shows a second request mode response request command that the camera control unit 207 transmits to the operation unit control unit 301 in the second request mode.
各要求コマンドのデータ構造は、要求する情報もしくは制御(コントロール)を通知するファンクション情報と、データサイズと、データ本体とを含む共通のデータ構造である。カメラ制御部207は、アクセサリ装置との接続の開始時には第1の要求コマンドとしてのメーカ名要求コマンドとアクセサリ名要求コマンドを該アクセサリ装置に送信する。そして、カメラ制御部207は、そのアクセサリ装置からの応答として送信された第1の応答データとしてのメーカ名およびアクセサリ名を受信する。カメラ制御部207は、それらメーカ名およびアクセサリ名が特定のアクセサリ装置として登録(記憶)されている場合には、該特定のアクセサリ装置(ここではレンズ操作ユニット30)がカメラ本体20に接続されたと判定(識別)する。さらにレンズ操作ユニット30が接続されたと判定したカメラ制御部207は、図6(A)に示す第2の要求コマンドとしての拡張モード要求コマンドを操作ユニット制御部301に送信する。この拡張モード要求コマンドは、レンズ操作ユニット30を通信先として拡張する旨(言い換えれば、この後に前述した操作情報の送信を要求する旨)を操作ユニット制御部301に通知する要求コマンドである。 The data structure of each request command is a common data structure including function information for notifying requested information or control (control), a data size, and a data body. The camera control unit 207 transmits a manufacturer name request command and an accessory name request command as a first request command to the accessory device at the start of connection with the accessory device. Then, the camera control unit 207 receives the manufacturer name and the accessory name as the first response data transmitted as a response from the accessory device. When the manufacturer name and the accessory name are registered (stored) as a specific accessory device, the camera control unit 207 determines that the specific accessory device (here, the lens operation unit 30) is connected to the camera body 20. Determine (identify). Further, the camera control unit 207 that has determined that the lens operation unit 30 is connected transmits an expansion mode request command as a second request command illustrated in FIG. 6A to the operation unit control unit 301. This extension mode request command is a request command for notifying the operation unit control unit 301 that the lens operation unit 30 is extended as a communication destination (in other words, the request for transmission of the operation information described above thereafter).
なお、操作ユニット制御部301においてカメラ制御部207から送信された第1および第2の要求コマンドを認識可能な第1の状態を、操作ユニット制御部301の第1の応答モードという。 Note that the first state in which the operation unit control unit 301 can recognize the first and second request commands transmitted from the camera control unit 207 is referred to as a first response mode of the operation unit control unit 301.
ここで、図6(A)に示す拡張モード要求コマンドのファンクション情報は17hであり、同じく図6(A)に示す第1の要求コマンドの1つであるシリアル番号要求コマンドのファンクション情報と同一である。しかし、シリアル番号要求コマンドのデータサイズは0(データ本体無し)であるのに対して、拡張モード要求コマンドのデータサイズは15バイトであり、データ本体として固有のデータを含む。 Here, the function information of the extended mode request command shown in FIG. 6A is 17h, which is the same as the function information of the serial number request command which is one of the first request commands shown in FIG. 6A. is there. However, the data size of the serial number request command is 0 (no data body), whereas the data size of the extended mode request command is 15 bytes and includes unique data as the data body.
このように第2の要求コマンドにおけるファンクション情報を第1の要求コマンドのファンクション情報と同一とすることで、接続するアクセサリ装置や使用する機能が増加してもファンクション情報を増やす必要がない。つまり、ファンクション情報の数を増やすことなく要求コマンドの数を増やすことができる。一方、第2の要求コマンドのデータサイズやデータ本体を固有の値として、第2の要求コマンドを操作ユニット制御部301にのみ認識可能なコマンドとする。これにより、第2の要求コマンドがレンズ操作ユニット30に対する独自(個別)の要求コマンドであると操作ユニット制御部301に認識させることができる。つまり、第2の要求コマンドを、レンズ操作ユニット30のみを第1の応答モードから第2の応答モードに移行させることが可能なコマンドとすることができる。これらにより、カメラ本体20に接続可能なアクセサリ装置の種類を各アクセサリ装置に誤動作させることなく容易に拡張することができる。 In this way, by making the function information in the second request command the same as the function information in the first request command, it is not necessary to increase the function information even if the accessory device to be connected and the functions to be used are increased. That is, the number of request commands can be increased without increasing the number of function information. On the other hand, the data size and data body of the second request command are set as unique values, and the second request command is a command that can be recognized only by the operation unit control unit 301. Accordingly, the operation unit control unit 301 can recognize that the second request command is a unique (individual) request command for the lens operation unit 30. That is, the second request command can be a command that allows only the lens operation unit 30 to shift from the first response mode to the second response mode. Accordingly, the types of accessory devices that can be connected to the camera body 20 can be easily expanded without causing each accessory device to malfunction.
また、交換レンズ10に対するファンクション情報には、フォーカスレンズ103の駆動や変倍レンズ101の駆動速度を制御するためのフォーカスコントロールやズームスピードコントロール等のコントロール要求コマンドもある。しかし、これらのコントロール要求コマンドは、駆動方向や駆動量を指示するために、通常はデータサイズが0ではない。このため、コントロール要求コマンドをデータサイズで単純に区別することは容易ではなく、データサイズだけで区別したコントロール要求コマンドの使用は交換レンズ10以外のアクセサリ装置を誤動作させる要因になり得る。したがって、拡張モード要求コマンドには、データサイズが0である要求コマンド、すなわちシリアル番号要求コマンド等の第1の要求コマンドと同一のファンクション情報を用いるのが適切である。 The function information for the interchangeable lens 10 also includes control request commands such as focus control and zoom speed control for controlling the driving of the focus lens 103 and the driving speed of the variable power lens 101. However, these control request commands usually indicate a driving direction and a driving amount, and therefore the data size is not normally zero. For this reason, it is not easy to distinguish the control request command simply by the data size, and the use of the control request command distinguished only by the data size may cause a malfunction of the accessory device other than the interchangeable lens 10. Therefore, it is appropriate to use the same function information as the request command whose data size is 0, that is, the first request command such as the serial number request command, for the extended mode request command.
図6(B)に示す第2の要求モード対応要求コマンドには、第1の要求モード対応要求コマンドに、レンズ操作ユニット30に対して前述した操作情報(第2の応答データ)の送信を要求する第3の要求コマンドとしての操作情報要求コマンドが追加されている。この操作情報要求コマンドは、操作ユニット制御部301にのみ操作情報の送信を要求するコマンドとして認識される独自のコマンドである。つまり、第1の要求コマンドは様々なアクセサリ装置が認識可能な汎用の要求コマンドである一方、第2および第3の要求コマンドはレンズ操作ユニット30(操作ユニット制御部301)のみが認識可能な独自の要求コマンドである。 The second request mode correspondence request command shown in FIG. 6B requests the lens operation unit 30 to transmit the operation information (second response data) described above to the first request mode correspondence request command. An operation information request command is added as a third request command. This operation information request command is a unique command that is recognized as a command that requests only the operation unit control unit 301 to transmit operation information. That is, the first request command is a general-purpose request command that can be recognized by various accessory devices, while the second and third request commands are unique that can be recognized only by the lens operation unit 30 (operation unit control unit 301). This is a request command.
このように、カメラ制御部207は、まず接続されたアクセサリ装置から受信したメーカ名およびアクセサリ名からカメラ本体20への特定のアクセサリ装置、すなわちレンズ操作ユニット30の接続を判定(識別)する。そして、操作ユニット制御部301に拡張モード要求コマンドを送信することによって、該操作ユニット制御部301を操作情報要求コマンドに応じて操作情報を送信可能な第2の状態である第2の応答モードに移行させる。これにより、操作情報要求コマンドと操作情報がカメラ制御部207と操作ユニット制御部301間で決められた固有(独自)のデータ構造を有する場合であってもスムーズに操作情報をカメラ制御部207に取得させることができる。 In this way, the camera control unit 207 first determines (identifies) the connection of a specific accessory device, that is, the lens operation unit 30 to the camera body 20 from the manufacturer name and the accessory name received from the connected accessory device. Then, by transmitting an extended mode request command to the operation unit control unit 301, the operation unit control unit 301 enters a second response mode, which is a second state in which operation information can be transmitted in response to the operation information request command. Transition. Thus, even when the operation information request command and the operation information have a unique (unique) data structure determined between the camera control unit 207 and the operation unit control unit 301, the operation information is smoothly transferred to the camera control unit 207. Can be acquired.
また、カメラ制御部207は、操作ユニット制御部301に対して操作情報要求コマンドを送信する際に、レンズ操作ユニット30の識別→拡張モード要求コマンドの送信→第2の応答モードへの移行→操作情報要求コマンドの送信という手順を踏む。これにより、操作情報要求コマンドをレンズ操作ユニット30以外のアクセサリ装置に誤送信することを回避できる。 Further, when transmitting the operation information request command to the operation unit control unit 301, the camera control unit 207 identifies the lens operation unit 30, transmits an extended mode request command, shifts to the second response mode, and operates. Follow the procedure of sending information request command. Thereby, it is possible to avoid erroneous transmission of the operation information request command to an accessory device other than the lens operation unit 30.
なお、操作情報要求コマンドのファンクション情報は、カメラ本体20から交換レンズ10に送信される要求コマンドに用いられるファンクション情報と同じであってもよい。すなわち、カメラ本体20と各アクセサリ装置との間でファンクション情報の意味が1つに決まっていれば問題はない。 The function information of the operation information request command may be the same as the function information used for the request command transmitted from the camera body 20 to the interchangeable lens 10. That is, there is no problem if the function information has only one meaning between the camera body 20 and each accessory device.
次に、操作ユニット制御部301がカメラ制御部207に対して行う初期通信制御処理について図4のフローチャートを用いて説明する。操作ユニット制御部301は、この処理をレンズ操作ユニット30がカメラ本体20に未接続の状態から所定同期(例えば60Hz)ごとに実行する。ただし、カメラ制御部207から要求コマンドを受信した際に発生する受信割り込みに応じて実行してもよい。そして、操作ユニット制御部301は、カメラ制御部207との接続が確立されたときに一度本処理を実行し、その後は実行しない。コンピュータとしての操作ユニット制御部301は、コンピュータプログラムである操作ユニット通信制御プログラムに従って本処理を実行する。 Next, an initial communication control process performed by the operation unit control unit 301 for the camera control unit 207 will be described with reference to the flowchart of FIG. The operation unit control unit 301 executes this process for each predetermined synchronization (for example, 60 Hz) from the state where the lens operation unit 30 is not connected to the camera body 20. However, it may be executed in response to a reception interrupt that occurs when a request command is received from the camera control unit 207. Then, the operation unit control unit 301 executes this process once when the connection with the camera control unit 207 is established, and does not execute thereafter. The operation unit control unit 301 as a computer executes this processing according to an operation unit communication control program that is a computer program.
まずStep401において、操作ユニット制御部301は、カメラ制御部207から所定の接続コマンドを受信したか否かを判定する接続処理を行う。操作ユニット制御部301は、接続コマンドを受信した場合には接続が確立されたとしてStep402に進み、接続コマンドを受信していない場合には接続が未確立としてリターンし、再度、接続処理を実行する。 First, in Step 401, the operation unit control unit 301 performs a connection process for determining whether or not a predetermined connection command has been received from the camera control unit 207. If the connection command is received, the operation unit controller 301 determines that the connection has been established, and proceeds to Step 402. If the connection command has not been received, the operation unit control unit 301 returns that the connection has not been established, and executes the connection process again. .
Step402において、操作ユニット制御部301は、カメラ制御部207との接続が確立していることを示す接続確立フラグをセットする。続いて、Step403では、操作ユニット制御部301は、第1の応答モードに入るとともに該第1の応答モードであることを示す第1の応答モードフラグをセットする。 In Step 402, the operation unit control unit 301 sets a connection establishment flag indicating that the connection with the camera control unit 207 has been established. Subsequently, in Step 403, the operation unit control unit 301 enters the first response mode and sets a first response mode flag indicating the first response mode.
次に、カメラ制御部207との接続が確立された後に操作ユニット制御部301が行う定常通信制御処理について図5のフローチャートを用いて説明する。操作ユニット制御部301は、この処理を所定同期(例えば60Hz)ごとに実行する。ただし、カメラ制御部207から要求コマンドを受信した際に発生する受信割り込みに応じて実行してもよい。そして、操作ユニット制御部301は、上述した操作ユニット通信制御プログラムに従って本処理を実行する。 Next, the steady communication control process performed by the operation unit control unit 301 after the connection with the camera control unit 207 is established will be described with reference to the flowchart of FIG. The operation unit control unit 301 executes this process for each predetermined synchronization (for example, 60 Hz). However, it may be executed in response to a reception interrupt that occurs when a request command is received from the camera control unit 207. And the operation unit control part 301 performs this process according to the operation unit communication control program mentioned above.
まずStep501において、操作ユニット制御部301は、カメラ制御部207に対する接続確立フラグがセットされているか否かを判定する。操作ユニット制御部301は、接続確立フラグがセットされていない場合にはそのまま本処理を終了し、接続確立フラグがセットされている場合にはStep502に進む。 First, in Step 501, the operation unit control unit 301 determines whether or not a connection establishment flag for the camera control unit 207 is set. If the connection establishment flag is not set, the operation unit control unit 301 ends this processing as it is, and if the connection establishment flag is set, the operation unit control unit 301 proceeds to Step 502.
Step502では、操作ユニット制御部301は、カメラ制御部207から要求コマンドを受信したか否かを判定する。操作ユニット制御部301は、要求コマンドを受信していない場合にはそのまま本処理を終了し、要求コマンドを受信した場合にはStep503にて該要求コマンドを受け付ける。 In Step 502, the operation unit control unit 301 determines whether a request command has been received from the camera control unit 207. If no request command has been received, the operation unit control unit 301 ends this processing as it is, and if a request command has been received, accepts the request command in Step 503.
次にStep504では、操作ユニット制御部301は、第1の応答モードフラグがセットされているか否かを判定し、第1の応答モードフラグがセットされている場合にはStep505に進む。Step505では、操作ユニット制御部301は、カメラ制御部207から第2の要求コマンドである拡張モード要求コマンドを受信したか否かを判定し、受信していない場合にはStep506に進む。 Next, in Step 504, the operation unit control unit 301 determines whether or not the first response mode flag is set, and proceeds to Step 505 if the first response mode flag is set. In Step 505, the operation unit control unit 301 determines whether or not an extended mode request command that is a second request command has been received from the camera control unit 207, and proceeds to Step 506 if it has not been received.
Step506では、操作ユニット制御部301は、カメラ制御部207から第1の応答モードで受け付け可能な要求コマンド(以下、第1の応答モード対応要求コマンドという)を受信したか否かを判定する。第1の応答モード対応要求コマンドについては後述する。操作ユニット制御部301は、第1の応答モード対応要求コマンドを受信した場合には、Step507に進み、その受信した要求コマンドに対応する応答をカメラ制御部207に対して行う。一方、第1の応答モード対応要求コマンドを受信していない場合には、操作ユニット制御部301はStep508に進み、カメラ制御部207にアクノリッジを応答して第1の応答モード対応要求コマンドに対応していない旨を通知する。 In Step 506, the operation unit control unit 301 determines whether or not a request command that can be accepted in the first response mode (hereinafter referred to as a first response mode response request command) is received from the camera control unit 207. The first response mode response request command will be described later. If the operation unit control unit 301 receives the first response mode response request command, the operation unit control unit 301 proceeds to Step 507 and sends a response corresponding to the received request command to the camera control unit 207. On the other hand, if the first response mode support request command has not been received, the operation unit control unit 301 proceeds to step 508 and responds with an acknowledgment to the camera control unit 207 to respond to the first response mode support request command. Notify that you have not.
一方、Step505で拡張モード要求コマンドを受信した場合は、操作ユニット制御部301はStep509に進み、カメラ制御部207に対して予め決められた応答を送信して、第2の応答モードに入る。そして、第2の応答モードであることを示す第2の応答モードフラグをセットして、Step510に進む。 On the other hand, when the extended mode request command is received in Step 505, the operation unit control unit 301 proceeds to Step 509, transmits a predetermined response to the camera control unit 207, and enters the second response mode. And the 2nd response mode flag which shows that it is the 2nd response mode is set, and it progresses to Step510.
またStep504にて第1の応答モードフラグがセットされていない場合は、操作ユニット制御部301はStep512に進み、第2の応答モードフラグがセットされているか否かを判定する。操作ユニット制御部301は、第2の応答モードフラグがセットされている場合にはStep510に進み、セットされていない場合にはそのまま本処理を終了する。 If the first response mode flag is not set in Step 504, the operation unit control unit 301 proceeds to Step 512 and determines whether or not the second response mode flag is set. If the second response mode flag is set, the operation unit control unit 301 proceeds to Step 510, and if it is not set, the operation unit control unit 301 ends this process as it is.
Step510では、操作ユニット制御部301は、カメラ制御部207から第2の応答モードで受け付け可能な要求コマンド(以下、第2の応答モード対応要求コマンドという)を受信したか否かを判定する。第2の応答モード対応要求コマンドについては後述する。操作ユニット制御部301は、第2の応答モード対応要求コマンドを受信した場合には、Step511に進み、その受信した要求コマンドに対応する応答をカメラ制御部207に対して行う。一方、第2の応答モード対応要求コマンドを受信していない場合には、操作ユニット制御部301は、Step508に進んでカメラ制御部207にアクノリッジを応答して第1の応答モード対応要求コマンドに対応していない旨を通知する。 In Step 510, the operation unit control unit 301 determines whether or not a request command that can be accepted in the second response mode (hereinafter referred to as a second response mode response request command) has been received from the camera control unit 207. The second response mode response request command will be described later. When the operation unit control unit 301 receives the second response mode response request command, the operation unit control unit 301 proceeds to Step 511 and sends a response corresponding to the received request command to the camera control unit 207. On the other hand, when the second response mode response request command has not been received, the operation unit control unit 301 proceeds to Step 508 and responds with an acknowledgment to the camera control unit 207 to respond to the first response mode response request command. Notify that you have not.
図7(A)には、第1の応答モード対応要求コマンドとこれを受信した操作ユニット制御部301がカメラ制御部207に送信する応答を示す。また、図7(B)には、第2の応答モード対応要求コマンドとこれを受信した操作ユニット制御部301がカメラ制御部207に送信する応答を示す。 FIG. 7A shows a first response mode response request command and a response transmitted from the operation unit control unit 301 to the camera control unit 207. FIG. 7B shows a second response mode response request command and a response transmitted from the operation unit control unit 301 to the camera control unit 207.
操作ユニット制御部301は、第1の応答モードにおいて、カメラ制御部207から図7(A)に示す第1の応答モード対応要求コマンドとしての第1の要求コマンド(メーカ名およびアクセサリ名要求コマンド)を受信し、かつ認識する。そして、操作ユニット制御部301は、第1の要求コマンドに対する応答である第1の応答データ(メーカ名およびアクセサリ名)をカメラ制御部207に送信する。第1の応答データは、カメラ本体20に接続されたアクセサリ装置がレンズ操作ユニット30か否かを判定(識別)するためにカメラ制御部207が送信する第1の要求コマンドに対する応答である必要がある。また、操作ユニット制御部301は、カメラ本体20に接続されたアクセサリ装置が特定のアクセサリ装置としてのレンズ操作ユニット30であると判定したカメラ制御部207から送信された第2の要求コマンドである拡張モード要求コマンドを受信して認識する。そして、該拡張モード要求コマンドに対する応答をカメラ制御部207に送信する。 In the first response mode, the operation unit control unit 301 receives a first request command (manufacturer name and accessory name request command) from the camera control unit 207 as a first response mode correspondence request command shown in FIG. Receive and recognize. Then, the operation unit control unit 301 transmits first response data (a manufacturer name and an accessory name) that is a response to the first request command to the camera control unit 207. The first response data needs to be a response to the first request command transmitted by the camera control unit 207 in order to determine (identify) whether the accessory device connected to the camera body 20 is the lens operation unit 30 or not. is there. Further, the operation unit control unit 301 is an extension that is a second request command transmitted from the camera control unit 207 that determines that the accessory device connected to the camera body 20 is the lens operation unit 30 as a specific accessory device. Receives and recognizes a mode request command. Then, a response to the extended mode request command is transmitted to the camera control unit 207.
さらに、拡張モード要求コマンドを受信した操作ユニット制御部301は、カメラ制御部207から第3の要求コマンドである操作情報要求コマンドを受信することに応じて操作情報をカメラ制御部207に送信する状態である第2の応答モードに移行する。これにより操作ユニット制御部301は、第2の応答モード対応要求コマンドには適切に応答する一方、第2の応答モード対応要求コマンド以外の要求コマンドに対してはアクノリッジを応答することで誤動作はしない。 Further, the operation unit control unit 301 that has received the extended mode request command transmits operation information to the camera control unit 207 in response to receiving an operation information request command that is a third request command from the camera control unit 207. It shifts to the second response mode. As a result, the operation unit control unit 301 responds appropriately to the second response mode response request command, but does not malfunction by responding to the request command other than the second response mode response request command. .
さらに、カメラ制御部207は、操作ユニット制御部301に対して、拡張モード要求コマンドを送信してカメラ制御部207と操作ユニット制御部301とが一対一の関係となっていることを確認してから操作情報要求コマンドを送信する。操作ユニット制御部301も、拡張モード要求コマンドを受信していない場合にはカメラ制御部207からの操作情報要求コマンドに対して応答しない。このため、カメラ本体20とは別の装置が操作ユニット制御部301に操作情報要求コマンドと同じファンクション情報を有する要求コマンドを送信しても、操作ユニット制御部301はアクノリッジを応答するのみで誤動作しない。そして、操作ユニット制御部301は、第2の応答モードにおいてレンズ操作ユニット30に特有の操作情報をカメラ制御部207に取得させることができる。これにより、良好な拡張性を有して安定した動作が可能な撮像システムを実現することができる。 Further, the camera control unit 207 transmits an extended mode request command to the operation unit control unit 301 to confirm that the camera control unit 207 and the operation unit control unit 301 have a one-to-one relationship. Sends an operation information request command. The operation unit control unit 301 also does not respond to the operation information request command from the camera control unit 207 when it has not received the extended mode request command. For this reason, even if a device other than the camera body 20 transmits a request command having the same function information as the operation information request command to the operation unit control unit 301, the operation unit control unit 301 only responds with an acknowledge and does not malfunction. . The operation unit control unit 301 can cause the camera control unit 207 to acquire operation information specific to the lens operation unit 30 in the second response mode. As a result, an imaging system capable of stable operation with good expandability can be realized.
本実施例によれば、一般的なデータ構造と通信方式を用いることで、新たな通信手段を増やさずに、カメラ本体20と複数のアクセサリ装置(交換レンズ10、レンズ操作ユニット30およびそれ以外のアクセサリ装置)を通信可能に接続することができる。 According to the present embodiment, by using a general data structure and a communication method, the camera body 20 and a plurality of accessory devices (the interchangeable lens 10, the lens operation unit 30, and the others) are added without increasing new communication means. Accessory device) can be communicably connected.
また、本実施例では、カメラ本体20は、特定のアクセサリ装置としてのレンズ操作ユニット30の接続を確認した後に、既存の要求コマンドのファンクション情報と同じファンクション情報を有してデータサイズが異なる第2の要求コマンドを送信する。これにより、カメラ本体20と特定のアクセサリ装置であるレンズ操作ユニット30との間において特定の要求コマンド(操作情報要求コマンド)とそれに対する応答(操作情報)の送受信を可能とする。この結果、カメラ本体20が特定のアクセサリ装置ではない他のアクセサリ装置と接続された場合に誤った要求コマンドやそれに対する誤った応答を送受信することによる誤動作を回避することできる。つまり、新たにファンクション情報の数を増やすことなく要求コマンドの数を増やして(要求コマンドの不足を回避しつつ)、良好な拡張性を有する撮像システムを実現することが可能である。
(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
In this embodiment, after confirming the connection of the lens operation unit 30 as a specific accessory device, the camera body 20 has the same function information as the function information of the existing request command and has a second data size different from that of the second request command. Send the request command. Thus, a specific request command (operation information request command) and a response (operation information) thereto can be transmitted and received between the camera body 20 and the lens operation unit 30 which is a specific accessory device. As a result, when the camera body 20 is connected to another accessory device that is not a specific accessory device, it is possible to avoid a malfunction caused by transmitting / receiving an incorrect request command or an incorrect response thereto. That is, it is possible to realize an imaging system having good expandability by increasing the number of request commands (avoiding the shortage of request commands) without newly increasing the number of function information.
(Other examples)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
以上説明した各実施例は代表的な例にすぎず、本発明の実施に際しては、各実施例に対して種々の変形や変更が可能である。 Each embodiment described above is only a representative example, and various modifications and changes can be made to each embodiment in carrying out the present invention.
10 交換レンズ
20 カメラ本体
30 レンズ操作ユニット
207 カメラ制御部
301 操作ユニット制御部
DESCRIPTION OF SYMBOLS 10 Interchangeable lens 20 Camera main body 30 Lens operation unit 207 Camera control part 301 Operation unit control part
Claims (12)
前記複数のアクセサリ装置の接続が可能なアクセサリ接続部と、
前記複数のアクセサリ装置のうち前記アクセサリ接続部に接続された第1のアクセサリ装置と通信を行うカメラ制御部とを有し、
前記カメラ制御部は、
前記第1のアクセサリ装置に対して、第1の応答データの送信を要求する第1の要求コマンドを送信し、
前記第1のアクセサリ装置から受信した前記第1の応答データを用いて該第1のアクセサリ装置が特定のアクセサリ装置であると識別した場合に該第1のアクセサリ装置に対して第2の要求コマンドを送信することにより、前記第1のアクセサリ装置を、前記第1および第2の要求コマンドの認識が可能な第1の状態から、前記カメラ制御部から送信される第3の要求コマンドに応じて前記第1の応答データとは異なる第2の応答データを前記カメラ制御部に送信可能な第2の状態に移行させることを特徴とする撮像装置。 An imaging device capable of imaging using a plurality of accessory devices,
An accessory connection unit capable of connecting the plurality of accessory devices;
A camera control unit that communicates with a first accessory device connected to the accessory connection unit among the plurality of accessory devices;
The camera control unit
Transmitting a first request command for requesting transmission of first response data to the first accessory device;
A second request command to the first accessory device when the first accessory device is identified as a specific accessory device using the first response data received from the first accessory device. Is transmitted from the first state in which the first and second request commands can be recognized according to the third request command transmitted from the camera control unit. An image pickup apparatus that shifts to a second state in which second response data different from the first response data can be transmitted to the camera control unit.
前記第2の要求コマンドは、前記複数のアクセサリ装置のうち前記特定のアクセサリ装置のみを前記第1の状態から前記第2の状態への移行させることが可能なコマンドであり、
前記第3の要求コマンドは、前記複数のアクセサリ装置のうち前記特定のアクセサリ装置のみに前記第2の応答データの送信を要求するコマンドであることを特徴とする請求項1に記載の撮像装置。 The first request command is a command for requesting the plurality of accessory devices to transmit the first response data,
The second request command is a command that can shift only the specific accessory device from the first state to the second state among the plurality of accessory devices,
The imaging apparatus according to claim 1, wherein the third request command is a command for requesting transmission of the second response data only to the specific accessory device among the plurality of accessory devices.
前記撮像装置に対して接続が可能なカメラ接続部と、
前記カメラ接続部を介して前記撮像装置と通信を行うアクセサリ制御部とを有し、
前記アクセサリ制御部は、
前記撮像装置から第1の要求コマンドを受信することに応じて前記撮像装置に第1の応答データを送信し、
前記第1の応答データを用いて該第1のアクセサリ装置が特定のアクセサリであると識別した前記撮像装置から第2の要求コマンドを受信することに応じて、前記第1および第2の要求コマンドを認識可能な第1の状態から、前記撮像装置から送信される第3の要求コマンドに応じて前記第1の応答データとは異なる第2の応答データを前記撮像装置に送信可能な第2の状態に移行することを特徴とするアクセサリ装置。 A first accessory device included in a plurality of accessory devices used for imaging performed by the imaging device,
A camera connection unit connectable to the imaging device;
An accessory control unit that communicates with the imaging device via the camera connection unit;
The accessory control unit
In response to receiving a first request command from the imaging device, sending first response data to the imaging device;
In response to receiving a second request command from the imaging device that has identified the first accessory device as a specific accessory using the first response data, the first and second request commands In response to a third request command transmitted from the imaging device, a second response data different from the first response data can be transmitted to the imaging device. An accessory device characterized by transitioning to a state.
前記第2の状態は前記第1、第2および第3の要求コマンドの認識が可能な状態であることを特徴とする請求項5に記載のアクセサリ装置。 The first state is a state in which the first and second request commands can be recognized,
6. The accessory device according to claim 5, wherein the second state is a state in which the first, second, and third request commands can be recognized.
前記撮像装置は、
前記複数のアクセサリ装置の接続が可能なアクセサリ接続部と、
前記複数のアクセサリ装置のうち前記アクセサリ接続部に接続された第1のアクセサリ装置と通信を行うカメラ制御部とを有し、
前記第1のアクセサリ装置は、
前記撮像装置に対して接続が可能なカメラ接続部と、
前記カメラ接続部を介して前記カメラ制御部と通信を行うアクセサリ制御部とを有し、
前記カメラ制御部は、前記アクセサリ制御部に対して、第1の応答データの送信を要求する第1の要求コマンドを送信し、
前記アクセサリ制御部は、前記第1の要求コマンドを受信することに応じて前記カメラ制御部に前記第1の応答データを送信し、
前記カメラ制御部は、前記第1の応答データを用いて前記第1のアクセサリ装置が特定のアクセサリ装置であると識別した場合に前記アクセサリ制御部に対して第2の要求コマンドを送信し、
前記アクセサリ制御部は、前記第2の要求コマンドを受信することに応じて、前記第1および第2の要求コマンドを認識可能な第1の状態から、前記カメラ制御部から送信される第3の要求コマンドに応じて前記第1の応答データとは異なる第2の応答データを前記カメラ制御部に送信可能な第2の状態に移行することを特徴とする撮像システム。 An imaging system having an imaging device capable of performing imaging using a plurality of accessory devices, and a first accessory device included in the plurality of accessory devices,
The imaging device
An accessory connection unit capable of connecting the plurality of accessory devices;
A camera control unit that communicates with a first accessory device connected to the accessory connection unit among the plurality of accessory devices;
The first accessory device includes:
A camera connection unit connectable to the imaging device;
An accessory control unit that communicates with the camera control unit via the camera connection unit;
The camera control unit transmits a first request command for requesting transmission of first response data to the accessory control unit,
The accessory control unit transmits the first response data to the camera control unit in response to receiving the first request command,
The camera control unit transmits a second request command to the accessory control unit when the first accessory device is identified as a specific accessory device using the first response data.
In response to receiving the second request command, the accessory control unit receives a third state transmitted from the camera control unit from a first state in which the first and second request commands can be recognized. The imaging system according to claim 1, wherein the second response data different from the first response data is shifted to a second state where the second response data can be transmitted to the camera control unit in response to a request command.
前記複数のアクセサリ装置のうち前記撮像装置に接続された第1のアクセサリ装置に対して、第1の応答データの送信を要求する第1の要求コマンドを送信させ、
前記第1のアクセサリ装置から受信した前記第1の応答データを用いて該第1のアクセサリ装置が特定のアクセサリ装置であると識別した場合に該第1のアクセサリ装置に対して第2の要求コマンドを送信させることにより、前記第1のアクセサリ装置を、前記第1および第2の要求コマンドの認識が可能な第1の状態から、前記カメラ制御部から送信される第3の要求コマンドに応じて前記第1の応答データとは異なる第2の応答データを前記撮像装置に送信可能な第2の状態に移行させることを特徴とする撮像装置の制御方法。 In an imaging device capable of imaging using a plurality of accessory devices,
Transmitting a first request command for requesting transmission of first response data to a first accessory device connected to the imaging device among the plurality of accessory devices;
A second request command to the first accessory device when the first accessory device is identified as a specific accessory device using the first response data received from the first accessory device. In response to the third request command transmitted from the camera control unit from the first state in which the first and second request commands can be recognized. A control method for an imaging apparatus, wherein second response data different from the first response data is shifted to a second state in which the second response data can be transmitted to the imaging apparatus.
前記撮像装置から第1の要求コマンドを受信することに応じて、前記撮像装置に該第1の要求コマンドに対する第1の応答データを送信させ、
前記第1の応答データを用いて前記第1のアクセサリ装置が特定のアクセサリであると識別した前記撮像装置から第2の要求コマンドを受信することに応じて、前記第1および第2の要求コマンドを認識可能な第1の状態から、前記撮像装置から送信される第3の要求コマンドに応じて前記第1の応答データとは異なる第2の応答データを前記撮像装置に送信可能な第2の状態に移行させることを特徴とするアクセサリ装置の制御方法。 Of the plurality of accessory devices used for imaging performed by the imaging device, the first accessory device connected to the imaging device,
In response to receiving the first request command from the imaging device, the imaging device transmits first response data for the first request command;
In response to receiving a second request command from the imaging device that has identified the first accessory device as a specific accessory using the first response data, the first and second request commands In response to a third request command transmitted from the imaging device, a second response data different from the first response data can be transmitted to the imaging device. A method for controlling an accessory device, characterized by causing transition to a state.
前記コンピュータに、
前記複数のアクセサリ装置のうち前記撮像装置に接続された第1のアクセサリ装置に対して、第1の応答データの送信を要求する第1の要求コマンドを送信させ、
前記第1のアクセサリ装置から受信した前記第1の応答データを用いて該第1のアクセサリ装置が特定のアクセサリ装置であると識別した場合に該第1のアクセサリ装置に対して第2の要求コマンドを送信させることにより、前記第1のアクセサリ装置を、前記第1および第2の要求コマンドの認識が可能な第1の状態から、前記カメラ制御部から送信される第3の要求コマンドに応じて前記第1の応答データとは異なる第2の応答データを前記撮像装置に送信可能な第2の状態に移行させることを特徴とする通信制御プログラム。 A computer program for operating a computer of an imaging device capable of imaging using a plurality of accessory devices,
In the computer,
Transmitting a first request command for requesting transmission of first response data to a first accessory device connected to the imaging device among the plurality of accessory devices;
A second request command to the first accessory device when the first accessory device is identified as a specific accessory device using the first response data received from the first accessory device. In response to the third request command transmitted from the camera control unit from the first state in which the first and second request commands can be recognized. A communication control program that shifts to a second state in which second response data different from the first response data can be transmitted to the imaging apparatus.
前記コンピュータに、
前記撮像装置から第1の要求コマンドを受信することに応じて、前記撮像装置に該第1の要求コマンドに対する第1の応答データを送信させ、
前記第1の応答データを用いて前記第1のアクセサリ装置が特定のアクセサリであると識別した前記撮像装置から第2の要求コマンドを受信することに応じて、前記第1および第2の要求コマンドを認識可能な第1の状態から、前記撮像装置から送信される第3の要求コマンドに応じて前記第1の応答データとは異なる第2の応答データを前記撮像装置に送信可能な第2の状態に移行させることを特徴とする通信制御プログラム。
A computer program for operating a computer of a first accessory device connected to the imaging device among a plurality of accessory devices used for imaging performed by the imaging device,
In the computer,
In response to receiving the first request command from the imaging device, the imaging device transmits first response data for the first request command;
In response to receiving a second request command from the imaging device that has identified the first accessory device as a specific accessory using the first response data, the first and second request commands In response to a third request command transmitted from the imaging device, a second response data different from the first response data can be transmitted to the imaging device. A communication control program for shifting to a state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016165332A JP2018031942A (en) | 2016-08-26 | 2016-08-26 | Imaging device, accessory device, imaging system, communication control method, and communication control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016165332A JP2018031942A (en) | 2016-08-26 | 2016-08-26 | Imaging device, accessory device, imaging system, communication control method, and communication control program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2018031942A true JP2018031942A (en) | 2018-03-01 |
Family
ID=61303279
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016165332A Pending JP2018031942A (en) | 2016-08-26 | 2016-08-26 | Imaging device, accessory device, imaging system, communication control method, and communication control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2018031942A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019163581A1 (en) | 2018-02-26 | 2019-08-29 | 富士フイルム株式会社 | Ink set, image-recording method, production method for laminate, object with recorded image, and laminate |
-
2016
- 2016-08-26 JP JP2016165332A patent/JP2018031942A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019163581A1 (en) | 2018-02-26 | 2019-08-29 | 富士フイルム株式会社 | Ink set, image-recording method, production method for laminate, object with recorded image, and laminate |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11006031B2 (en) | Accessory device, camera, storage medium, and camera system in which communication is performed via data and notification channels and employs differences in voltage level for the notification channel during a period in which data is received | |
| JP7135062B2 (en) | Accessory equipment and imaging equipment | |
| US11543736B2 (en) | Camera, accessory apparatus, communication control method, storage medium, and camera system | |
| JP6479242B2 (en) | Camera and communication control method thereof | |
| JP6427288B1 (en) | Accessory device, camera and communication control program | |
| US11245826B2 (en) | Communication between imaging apparatus and accessory apparatus | |
| JP2018031942A (en) | Imaging device, accessory device, imaging system, communication control method, and communication control program | |
| JPH1073860A (en) | Interchangeable lens type camera system, camera and lens unit | |
| US11201996B2 (en) | Camera, accessory apparatus, and their control methods | |
| JP2016057515A (en) | Imaging device, interchangeable lens, and communication control program | |
| US10841477B2 (en) | Accessory apparatus, camera system having the same, and storage medium | |
| WO2018221558A1 (en) | Camera and communication control method for same | |
| JPH1073861A (en) | Camera system, camera and camera accessory | |
| JP2019095721A (en) | Accessory device, imaging apparatus, and communication control program | |
| JP2019086527A (en) | Imaging apparatus, accessory apparatus, control method, and control program |