JP5661335B2 - Camera system, interchangeable lens, and camera body - Google Patents

Camera system, interchangeable lens, and camera body Download PDF

Info

Publication number
JP5661335B2
JP5661335B2 JP2010121929A JP2010121929A JP5661335B2 JP 5661335 B2 JP5661335 B2 JP 5661335B2 JP 2010121929 A JP2010121929 A JP 2010121929A JP 2010121929 A JP2010121929 A JP 2010121929A JP 5661335 B2 JP5661335 B2 JP 5661335B2
Authority
JP
Japan
Prior art keywords
camera
lens
timing
control means
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010121929A
Other languages
Japanese (ja)
Other versions
JP2011248138A (en
JP2011248138A5 (en
Inventor
昭博 川波
川波  昭博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010121929A priority Critical patent/JP5661335B2/en
Publication of JP2011248138A publication Critical patent/JP2011248138A/en
Publication of JP2011248138A5 publication Critical patent/JP2011248138A5/en
Application granted granted Critical
Publication of JP5661335B2 publication Critical patent/JP5661335B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Structure And Mechanism Of Cameras (AREA)

Description

本発明は、カメラシステム、交換レンズ、及びカメラ本体に関する。 The present invention relates to a camera system, an interchangeable lens, and a camera body.

従来、一眼レフカメラでは、フィルム交換式が一般的であったが、近年、CCDやCMOS等の電子式撮像素子によるデジタル式が採用されている。この電子式撮像素子は、ビデオカメラでは従来から採用されており、デジタル一眼レフカメラのシステム構成がビデオカメラと類似していることから、近年ではデジタル一眼レフカメラでもビデオカメラのような動画撮影が可能である。このデジタル一眼レフカメラでは、動画撮影が可能になったことから、従来の静止画撮影のシステム構成に加え、動画撮影のシステム構成を加えることが要求される。   Conventionally, in a single-lens reflex camera, a film exchange type is generally used, but in recent years, a digital type using an electronic image pickup device such as a CCD or a CMOS has been adopted. This electronic image sensor has been conventionally used in video cameras, and the system configuration of a digital single-lens reflex camera is similar to that of a video camera. Is possible. Since this digital single-lens reflex camera can shoot moving images, it is required to add a moving image shooting system configuration to the conventional still image shooting system configuration.

例えば、特許文献1は、交換レンズとカメラ(カメラボディ)との間にアダプタを取り付けた場合と取り付けていない場合とで、モード、即ち、通信端子の使用方法が変わるカメラシステムを開示している。具体的には、露光同期信号を専用端子でカメラ側から交換レンズ側に送信することで、オートフォーカスの精度を向上させるものである。ここで、露光同期信号とは、一般的には垂直同期信号(VD)、即ち、電子式撮像素子が露光を開始するタイミング信号を示す。一方、予め固定された通信仕様でカメラが交換レンズとの通信を行うと、不用な通信が増え、互換性が低下する場合がある。そこで、特許文献2は、レンズユニットに送信する通信内容にアドレスを付加し、垂直同期信号に同期させて通信を行う撮像方法を開示している。   For example, Patent Document 1 discloses a camera system in which a mode, that is, a method of using a communication terminal changes depending on whether or not an adapter is attached between an interchangeable lens and a camera (camera body). . Specifically, the accuracy of autofocus is improved by transmitting an exposure synchronization signal from the camera side to the interchangeable lens side using a dedicated terminal. Here, the exposure synchronization signal generally indicates a vertical synchronization signal (VD), that is, a timing signal at which the electronic imaging device starts exposure. On the other hand, if the camera communicates with the interchangeable lens with a communication specification fixed in advance, unnecessary communication may increase and compatibility may deteriorate. Therefore, Patent Document 2 discloses an imaging method in which an address is added to the content of communication transmitted to the lens unit and communication is performed in synchronization with a vertical synchronization signal.

特開2008−216439号公報JP 2008-216439 A 特開平10−65952号公報Japanese Patent Laid-Open No. 10-65952

しかしながら、特許文献1のカメラシステムでは、電子式撮像素子が露光を開始するタイミングを交換レンズに送信する専用の通信端子を設置しているため、カメラ及び交換レンズ共に高コストとなる。また、特許文献2の撮像方法では、カメラと交換レンズとの間の通信を垂直同期信号と同期させるので、常に同じタイミングでしか通信ができない。例えば、ユーザーが、突然オートフォーカス動作を停止させるために、カメラのオートフォーカス停止の設定を操作しても、次の露光タイミングでしか交換レンズに停止情報を伝えられない。即ち、ユーザーの指示に対して機器の動作が遅れるため、操作しづらいカメラとなる。   However, in the camera system of Patent Document 1, since a dedicated communication terminal for transmitting the timing at which the electronic image sensor starts exposure to the interchangeable lens is installed, both the camera and the interchangeable lens are expensive. Further, in the imaging method of Patent Document 2, since communication between the camera and the interchangeable lens is synchronized with the vertical synchronization signal, communication can always be performed only at the same timing. For example, even if the user suddenly stops the autofocus operation, even if the user operates the autofocus stop setting of the camera, stop information can be transmitted to the interchangeable lens only at the next exposure timing. That is, since the operation of the device is delayed with respect to the user's instruction, the camera is difficult to operate.

本発明は、このような状況鑑みてなされたものであり、デジタル一眼レフカメラの操作性の向上を図るカメラシステムを提供することを目的とする。 The present invention has been made in view of such a situation, and an object thereof is to provide a camera system that improves the operability of a digital single-lens reflex camera.

上記課題を解決するために、本発明は、交換レンズとカメラ本体を有するカメラシステムであって、交換レンズは、交換レンズの動作を制御し、カメラ本体と通信を行うレンズ制御手段を有し、カメラ本体は、カメラ本体の動作を制御し、交換レンズと通信を行うカメラ制御手段を有し、レンズ制御手段とカメラ制御手段とは、非同期通信方式により通信を行い、レンズ制御手段は、カメラ制御手段から送信される垂直同期信号に基づいた同期制御を行い、カメラ制御手段は、レンズ制御手段とカメラ制御手段との間で通信が行われていない場合、同期制御を行うためのタイミング情報を、垂直同期信号に基づいて定められる同期タイミングで前記レンズ制御手段に送信し、同期タイミングで、レンズ制御手段とカメラ制御手段との間で通信が行われている場合は、通信が終了してから、同期タイミングに対する遅延情報を含むタイミング情報をレンズ制御手段に送信することを特徴とする。 In order to solve the above problems, the present invention is a camera system having an interchangeable lens and a camera body, the interchangeable lens having lens control means for controlling the operation of the interchangeable lens and communicating with the camera body , The camera body has camera control means for controlling the operation of the camera body and communicating with the interchangeable lens . The lens control means and the camera control means communicate by an asynchronous communication method, and the lens control means is for camera control. Synchronization control based on the vertical synchronization signal transmitted from the means, and when the camera control means is not communicating between the lens control means and the camera control means, timing information for performing the synchronization control, Transmit to the lens control means at a synchronization timing determined based on the vertical synchronization signal, and communicate between the lens control means and the camera control means at the synchronization timing. If it is done, since the communication is completed, and transmits the timing information including the delay information with respect to the synchronization timing to the lens control unit.

本発明によれば、デジタル一眼レフカメラの操作性が向上する。   According to the present invention, the operability of a digital single lens reflex camera is improved.

本発明の実施形態に係るカメラシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the camera system which concerns on embodiment of this invention. コントラストAF方式におけるウォブリング動作を示す図である。It is a figure which shows the wobbling operation | movement in contrast AF system. 接点ユニットを介した通信回路を示す概念図である。It is a conceptual diagram which shows the communication circuit via a contact unit. カメラマイコンからの同期クロック出力信号に対する電気信号図である。It is an electric signal figure with respect to the synchronous clock output signal from a camera microcomputer. 非同期通信用カメラコマンドの一覧表である。It is a list of camera commands for asynchronous communication. 同期通信用カメラコマンドの一覧表である。It is a list of camera commands for synchronous communication. カメラマイコンからの同期クロック出力信号を示す概念図である。It is a conceptual diagram which shows the synchronous clock output signal from a camera microcomputer. レンズマイコンによる割り込み処理を示すフローチャートである。It is a flowchart which shows the interruption process by a lens microcomputer.

以下、本発明を実施するための形態について図面等を参照して説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

(第1実施形態)
まず、本発明の実施形態に係るカメラシステム(以下、通信制御に係る部分に着目して「通信制御装置」という。)を構成する交換レンズとカメラ本体との内部の制御系について説明する。図1は、交換レンズ1とカメラ本体2との構成を模式的に図示し、かつ、その内部の制御系を示すブロック図である。交換レンズ1は、交換式オートフォーカスレンズであり、フォーカスユニット3と、モーター4と、移動量検出ユニット5と、絶対位置検出ユニット6と、EEPROM7と、レンズマイコン8と、接点ユニット9を備える。まず、フォーカスユニット3は、フォーカスレンズ10を保持し、該フォーカスレンズ10を光軸及び水平方向に移動可能とする、被写体にピントを合わせるための保持機構である。モーター4は、フォーカスユニット3を駆動させるためのアクチュエータである。このモーター4の種類としては、電磁式、超音波式又はボイスコイル式等のモーターが採用可能であり、本実施形態では、電磁式を採用する。移動量検出ユニット5は、モーター4の回転量と回転速度とを検出するための検出手段である。この移動量検出ユニット5は、円周上に同一ピッチで形成された切り欠きを有し、モーター4の回転と同期して回転する円盤を備え、LEDから投光された光がフォトインタラプタ素子(受光素子)に到達するか遮光されるかにより信号の変化を検出するものである。ここで、移動量検出ユニット5は、フォーカスユニット3の移動量がモーター4の回転量と比例することから、フォーカスユニット3の移動量を計測することができる。絶対位置検出ユニット6は、フォーカスユニット3の絶対位置を検出するための検出手段である。この絶対位置検出ユニット6は、フォーカスユニット3に連動して移動する複数の金属のブラシと、固定された金属パターンとの導通による信号の変化を検出し、この信号変化に基づいてフォーカスユニット3の現在位置を特定するものである。EEPROM(又は、フラッシュメモリー)7は、書き換え可能な不揮発性メモリーであり、このEEPROM7に記憶されるデータは、交換レンズ1の調整データとなる。レンズマイコン8は、交換レンズ1内の構成要素の制御を行うレンズ制御手段である。このレンズマイコン8は、カメラ本体2との通信を行うための通信コントローラ、リセット例外処理、A/D、タイマー、入出力ポート、ROM及びRAM等の機能を搭載する。接点ユニット9は、カメラ本体2との通信を行うための複数の金属接点を有し、レンズマイコン8とカメラマイコン12とを電気的に接続する接続手段である。複数の金属接点は、カメラ本体2側に設置された複数の金属突起と、交換レンズ1側に設置された、前記金属突起と機械的に接触する複数の金属片とで構成される。この金属接点は、カメラ本体2から交換レンズ1に対して電源を供給する機能も有する。
(First embodiment)
First, an internal control system of an interchangeable lens and a camera body constituting a camera system according to an embodiment of the present invention (hereinafter referred to as a “communication control device” focusing on a portion related to communication control) will be described. FIG. 1 is a block diagram schematically showing the configuration of the interchangeable lens 1 and the camera body 2 and showing the internal control system. The interchangeable lens 1 is an interchangeable autofocus lens, and includes a focus unit 3, a motor 4, a movement amount detection unit 5, an absolute position detection unit 6, an EEPROM 7, a lens microcomputer 8, and a contact unit 9. First, the focus unit 3 is a holding mechanism for holding the focus lens 10 and focusing the subject so that the focus lens 10 can be moved in the optical axis and horizontal directions. The motor 4 is an actuator for driving the focus unit 3. As the type of the motor 4, a motor such as an electromagnetic type, an ultrasonic type, or a voice coil type can be adopted. In this embodiment, an electromagnetic type is adopted. The movement amount detection unit 5 is detection means for detecting the rotation amount and rotation speed of the motor 4. This movement amount detection unit 5 has a notch formed at the same pitch on the circumference, and includes a disk that rotates in synchronization with the rotation of the motor 4, and the light projected from the LED is a photo interrupter element ( The change of the signal is detected depending on whether it reaches the light receiving element) or is shielded from light. Here, the movement amount detection unit 5 can measure the movement amount of the focus unit 3 because the movement amount of the focus unit 3 is proportional to the rotation amount of the motor 4. The absolute position detection unit 6 is detection means for detecting the absolute position of the focus unit 3. The absolute position detection unit 6 detects a change in signal due to conduction between a plurality of metal brushes moving in conjunction with the focus unit 3 and a fixed metal pattern, and based on the change in signal, The current position is specified. The EEPROM (or flash memory) 7 is a rewritable nonvolatile memory, and the data stored in the EEPROM 7 is adjustment data for the interchangeable lens 1. The lens microcomputer 8 is lens control means for controlling the components in the interchangeable lens 1. The lens microcomputer 8 is equipped with functions such as a communication controller for performing communication with the camera body 2, reset exception processing, A / D, timer, input / output port, ROM, and RAM. The contact unit 9 has a plurality of metal contacts for communicating with the camera body 2 and is a connection means for electrically connecting the lens microcomputer 8 and the camera microcomputer 12. The plurality of metal contacts are composed of a plurality of metal projections installed on the camera body 2 side and a plurality of metal pieces mechanically contacting the metal projections installed on the interchangeable lens 1 side. This metal contact also has a function of supplying power from the camera body 2 to the interchangeable lens 1.

カメラ本体2は、撮像装置本体であり、測距ユニット11と、カメラマイコン12と、CCDセンサー13とを備える。測距ユニット11は、被写体までの距離に対するフォーカスユニット3の現在位置とのフィルム面でのズレ量を測距するための測定手段である。一般に、オートフォーカスカメラでは複数のラインCCDを使用したピントのズレ方式を採用する。この場合、被写体のコントラスト(明暗)の違いを読み取ることで予め距離の離れた他のラインCCDと比較し、コントラストが同じとなるCCDライン上の位置のズレを検出する。即ち、ピントが合っている状態では、CCDライン上の同じ位置にコントラストが合うことになる。なお、その他の測距方式として、例えば、赤外発光(ILED)体を使用して三角測距を行うものもあるが、本発明では、特に限定しない。カメラマイコン12は、カメラ本体2内の構成要素の制御を行う装置制御手段である。このカメラマイコン12は、レンズマイコン8との通信を行うための通信コントローラ、A/D、電流検出器、タイマー、レンズへの電源供給スイッチ、入出力ポート、ROM及びRAM等の機能を搭載する。CCDセンサー13は、被写体像からの反射光を電気信号に変換する撮像素子である。なお、カメラ本体2は、その他の機能を備えていてもよい。   The camera body 2 is an imaging apparatus body, and includes a distance measuring unit 11, a camera microcomputer 12, and a CCD sensor 13. The distance measuring unit 11 is a measuring means for measuring the amount of deviation on the film surface from the current position of the focus unit 3 with respect to the distance to the subject. In general, an autofocus camera employs a focus shift method using a plurality of line CCDs. In this case, the difference in the contrast (brightness and darkness) of the subject is read and compared with other line CCDs that are previously separated from each other, a shift in the position on the CCD line where the contrast is the same is detected. In other words, in the focused state, the contrast is matched at the same position on the CCD line. In addition, as another distance measuring method, for example, there is a method of performing triangular distance measurement using an infrared light emitting (ILED) body, but the present invention is not particularly limited. The camera microcomputer 12 is a device control unit that controls the components in the camera body 2. The camera microcomputer 12 has functions such as a communication controller for communicating with the lens microcomputer 8, an A / D, a current detector, a timer, a power supply switch to the lens, an input / output port, a ROM, and a RAM. The CCD sensor 13 is an image sensor that converts reflected light from a subject image into an electrical signal. The camera body 2 may have other functions.

次に、本実施形態に係る通信制御装置の作用について説明する。まず、撮像装置のオートフォーカス(AF)動作について説明する。カメラマイコン12は、ユーザーによる不図示のAFスイッチからのAF開始の指示があるまで待機し、指示があった場合は、AF動作を開始する。ここで、本実施形態のカメラ本体2は、2つのAF方式、即ち、位相差検出方式とコントラストAF方式とを備える。まず、位相差検出方式は、通常の写真撮影である静止画撮影を行う場合に機能し、測距ユニット11からの測距データに基づいてAF動作を行う方式である。一方、コントラストAF方式は、ビデオカメラのような動画撮影を行う場合に機能し、被写体のコントラストを検出することでAF動作を行う方式である。以下、本実施形態の通信制御装置は、主にコントラストAF方式の機能時に作用するものとして説明する。   Next, the operation of the communication control apparatus according to this embodiment will be described. First, an autofocus (AF) operation of the imaging apparatus will be described. The camera microcomputer 12 waits until the user gives an instruction to start AF from an unillustrated AF switch, and when there is an instruction, starts the AF operation. Here, the camera body 2 of the present embodiment includes two AF methods, that is, a phase difference detection method and a contrast AF method. First, the phase difference detection method functions when performing still image shooting, which is normal photography, and performs AF operation based on distance measurement data from the distance measurement unit 11. On the other hand, the contrast AF method functions when performing moving image shooting like a video camera, and performs an AF operation by detecting the contrast of a subject. Hereinafter, the communication control apparatus of the present embodiment will be described assuming that it mainly operates during the function of the contrast AF method.

図2は、コントラストAF方式(又は、TVAF方式)において、至近側と無限側とへ微小駆動(反転駆動)し、焦点評価値を検出するウォブリング動作を示す図である。図2において、VD信号(垂直同期信号)は、所定の時間間隔で異なるレベルの信号を発信する同期信号であり、この場合、CCDセンサー13に電荷を蓄積するタイミングを示す。撮像装置は、VD信号がLoレベルの時に蓄積動作、即ち、露光動作を実施し、VD信号に同期したタイミングで被写体像を取り込む。したがって、撮像装置は、このVDタイミングで露光した被写体像のコントラストを検出しながらAF動作を行う。具体的には、レンズマイコン8が各構成要素にAF動作を指令し、モーター4がVDタイミング毎にフォーカスユニット3を至近側と無限側とに繰り返し微小駆動させながら、CCDセンサー13が被写体像のコントラストを検出する。このとき、カメラマイコン12は、例えば、無限側に駆動した方がコントラストは高いと判断した場合は、レンズマイコン8に対してフォーカスユニット3を無限側に移動させるよう指令し、再び至近側と無限側との駆動を実施したときのコントラスト差を検出する。カメラマイコン12は、この動作を繰り返し、至近側と無限側とに駆動した時のコントラスト差がゼロになったときにピントが合った状態であると判断する。   FIG. 2 is a diagram showing a wobbling operation in which the focus evaluation value is detected by performing minute driving (reverse driving) to the near side and the infinite side in the contrast AF method (or TVAF method). In FIG. 2, a VD signal (vertical synchronization signal) is a synchronization signal that transmits signals of different levels at predetermined time intervals, and in this case, indicates a timing at which charges are accumulated in the CCD sensor 13. The imaging apparatus performs an accumulation operation, that is, an exposure operation when the VD signal is at the Lo level, and captures a subject image at a timing synchronized with the VD signal. Therefore, the imaging apparatus performs the AF operation while detecting the contrast of the subject image exposed at the VD timing. Specifically, the lens microcomputer 8 instructs each component to perform an AF operation, and the motor 4 repeatedly finely drives the focus unit 3 to the near side and the infinite side at every VD timing, while the CCD sensor 13 detects the subject image. Detect contrast. At this time, for example, if the camera microcomputer 12 determines that the contrast is higher when driven to the infinity side, the camera microcomputer 12 instructs the lens microcomputer 8 to move the focus unit 3 to the infinity side, and again, the camera microcomputer 12 is again infinite with the closest side. The difference in contrast when driving with the side is detected. The camera microcomputer 12 repeats this operation, and determines that the camera is in focus when the contrast difference between driving to the near side and the infinity side becomes zero.

ここで、図2に示すAF動作1の駆動許可期間において、レンズマイコン8は、常にフォーカスユニット3を反転駆動させ、移動量検出ユニット5で駆動量や速度を検出する制御を行う。この駆動量や速度は、絶対位置検出ユニット6が検出したフォーカスユニット3の絶対位置情報に基づいて、適宜変更される。これは、フォーカスユニット3の絶対位置により、光学的な敏感度特性が異なるためである。一方、図2に示すAF動作1の駆動停止期間において、カメラマイコン12は、コントラスト値の比較を行い、被写体にピントを合わせるためフォーカスユニット3の駆動方向を決定し、決定した方向と駆動量とを接点ユニット9を通じて交換レンズ1に送信する。このように、カメラマイコン12は、フォーカスユニット3の駆動許可及び駆動停止の各指令を、適宜レンズマイコン8に対して送信する。レンズマイコン8は、この指令に基づいて、フォーカスユニット3の反転動作をVD信号に同期させて繰り返す。このとき、レンズマイコン8は、フォーカスユニット3の駆動方向情報をカメラマイコン12に常時送信する。そして、カメラマイコン12は、この駆動方向情報に基づいて、次にどちらの方向にフォーカスユニット3を駆動させるかを決定する。   Here, in the driving permission period of the AF operation 1 shown in FIG. 2, the lens microcomputer 8 performs control to always drive the focus unit 3 in the reverse direction and detect the driving amount and speed by the movement amount detection unit 5. The drive amount and speed are appropriately changed based on the absolute position information of the focus unit 3 detected by the absolute position detection unit 6. This is because the optical sensitivity characteristic varies depending on the absolute position of the focus unit 3. On the other hand, during the driving stop period of the AF operation 1 shown in FIG. 2, the camera microcomputer 12 compares the contrast values, determines the driving direction of the focus unit 3 to focus on the subject, and determines the determined direction and driving amount. Is transmitted to the interchangeable lens 1 through the contact unit 9. As described above, the camera microcomputer 12 appropriately transmits to the lens microcomputer 8 commands for permitting and stopping the driving of the focus unit 3. Based on this command, the lens microcomputer 8 repeats the reversing operation of the focus unit 3 in synchronization with the VD signal. At this time, the lens microcomputer 8 constantly transmits the driving direction information of the focus unit 3 to the camera microcomputer 12. Then, the camera microcomputer 12 determines in which direction the focus unit 3 is to be driven next based on this drive direction information.

次に、通信制御装置の通信処理について説明する。まず、接点ユニット9を介したレンズマイコン8とカメラマイコン12との通信回路について説明する。図3は、レンズマイコン8とカメラマイコン12との通信回路を示す概略図である。一般に、交換レンズ1とカメラ本体2との通信では、各マイコン8、12に設定されたシリアル通信機能によって各種データを交換する。図3に示すように、レンズマイコン8は、入力端子Linと、出力端子Loutと、同期クロック入力端子Lclkとを備える。入力端子Linは、カメラマイコン12からの出力データを受信する端子である。出力端子Loutは、カメラマイコン12へ出力データを送信する端子である。同期クロック入力端子Lclkは、Lin及びLoutの各データ通信において、同期をとるための端子である。同様に、カメラマイコン12は、入力端子Cinと、出力端子Coutと、同期クロック出力端子Cclkとを備える。入力端子Cinは、レンズマイコン8からの出力データを受信する端子である。出力端子Coutは、レンズマイコン8へ出力データを送信する端子である。同期クロック出力端子Cclkは、Cin及びCoutの各データ通信において、同期をとるための端子である。 Next, communication processing of the communication control apparatus will be described. First, a communication circuit between the lens microcomputer 8 and the camera microcomputer 12 via the contact unit 9 will be described. FIG. 3 is a schematic diagram showing a communication circuit between the lens microcomputer 8 and the camera microcomputer 12. In general, in communication between the interchangeable lens 1 and the camera body 2, various data are exchanged by a serial communication function set in each of the microcomputers 8 and 12. As shown in FIG. 3, the lens microcomputer 8 includes an input terminal L in , an output terminal L out, and a synchronous clock input terminal L clk . Input terminal L in is a terminal for receiving the output data from the camera microcomputer 12. The output terminal L out is a terminal that transmits output data to the camera microcomputer 12. The synchronization clock input terminal L clk is a terminal for synchronization in each of the data communication of L in and L out . Similarly, the camera microcomputer 12 includes an input terminal C in , an output terminal C out, and a synchronous clock output terminal C clk . The input terminal C in is a terminal that receives output data from the lens microcomputer 8. The output terminal C out is a terminal that transmits output data to the lens microcomputer 8. The synchronous clock output terminal C clk is a terminal for synchronizing in each data communication of C in and C out .

次に、上記通信回路を介して通信を行う場合の電気信号について説明する。図4は、同期クロック出力端子Cclkからの出力信号に対する電気信号図である。カメラマイコン12は、レンズマイコン8に対して通信を行う場合、同期クロック出力端子Cclkからの出力信号がHiからLoに切り変わったときに、レンズマイコン8に対する出力端子Coutからの出力信号のHi/Loを切り換える。このとき、レンズマイコン8は、入力端子Linにおいて、カメラマイコン12からの入力信号のHi/Loを切り換える。ここで、カメラマイコン12は、同期クロック出力端子Cclkからの出力信号がLoからHiに切り変わったときに、レンズマイコン8からの入力信号を入力端子Cinから内部レジスタに取り込む。同様に、レンズマイコン8も、カメラマイコン12からの入力信号を入力端子Linから内部レジスタに取り込む。レンズマイコン8とカメラマイコン12は、このような相互通信を合計8回繰り返し、1バイトデータとして記憶することにより、撮像装置の各種処理に使用する。例えば、通信がMSBファースト(Most Significant Byte First)である場合を考える。このとき、図4に示すように、出力端子Coutから入力端子Linへは00111010B(3Ahex)、一方、出力端子Loutから入力端子Cinへは10011001B(99hex)というデータがそれぞれ送信される。なお、図3及び図4では、本実施形態の通信方式をクロック同期式のシリアル通信として説明したが、UARTやUSB等の他の通信方式を採用しても良い。 Next, an electrical signal when communication is performed via the communication circuit will be described. FIG. 4 is an electrical signal diagram for the output signal from the synchronous clock output terminal C clk . The camera microcomputer 12, when performing communication with the lens microcomputer 8, when the output signal from the synchronous clock output terminal C clk is changed over to Lo from Hi, the output signal from the output terminal C out with respect to the lens microcomputer 8 Switch Hi / Lo. At this time, the lens microcomputer 8, the input terminal L in, switch the Hi / Lo of the input signal from the camera microcomputer 12. Here, when the output signal from the synchronous clock output terminal C clk switches from Lo to Hi, the camera microcomputer 12 takes in the input signal from the lens microcomputer 8 from the input terminal C in to the internal register. Similarly, the lens microcomputer 8 also takes in the internal register input signal from the camera microcomputer 12 through the input terminal L in. The lens microcomputer 8 and the camera microcomputer 12 are used for various processes of the imaging apparatus by repeating such mutual communication eight times in total and storing them as 1-byte data. For example, consider a case where communication is MSB first (Most Significant Byte First). At this time, as shown in FIG. 4, each transmitted data that 10011001B (99hex) is to 00111010B (3Ahex), whereas, the input terminal C in the output terminal L out from the output terminal C out to the input terminal L in . 3 and 4, the communication method of this embodiment has been described as clock synchronous serial communication, but other communication methods such as UART and USB may be employed.

次に、カメラマイコン12がレンズマイコン8へ送信するカメラコマンドについて説明する。図5は、具体的な通信内容を含むカメラコマンドを示す一覧表である。なお、通常のカメラコマンド通信は、上述したVD信号に対して非同期で行うため、このようなカメラコマンドを「非同期通信用カメラコマンド」と呼ぶ。この場合、レンズマイコン8は、カメラマイコン12から受信したカメラコマンドを解析し、カメラマイコン12からの指示として各種処理の制御を行う。   Next, a camera command transmitted from the camera microcomputer 12 to the lens microcomputer 8 will be described. FIG. 5 is a list showing camera commands including specific communication contents. Since normal camera command communication is performed asynchronously with respect to the VD signal described above, such a camera command is referred to as “camera command for asynchronous communication”. In this case, the lens microcomputer 8 analyzes the camera command received from the camera microcomputer 12 and controls various processes as instructions from the camera microcomputer 12.

図5において、まず、カメラコマンド10hexは、交換レンズ1の機構に関連した特性情報を交換レンズ1からカメラ本体2へ送信させる命令である。この場合、交換レンズ1が送信するデータ量を、予め8バイトと定義する。つまり、レンズマイコン8が8バイトのデータを送信した後、9バイト目が次の通信(データ通信)となる。カメラコマンド11hexは、交換レンズ1の光学に関する情報を交換レンズ1からカメラ本体2へ送信させる命令である。この場合、交換レンズ1が送信するデータ量を、予め15バイトと定義する。カメラコマンド12hexは、交換レンズ1の状態に関する情報を交換レンズ1からカメラ本体2へ送信させる命令である。この場合、交換レンズ1が送信するデータ量を、予め4バイトと定義する。この交換レンズ1の状態に関する情報には、フォーカスユニット3の駆動方向情報が含まれる。カメラコマンド13hexは、フォーカスユニット3への駆動命令と、このときの駆動量を交換レンズ1に受信させる受信要求命令との2つの命令である。この場合、カメラマイコン12が送信するデータ量(駆動量)を、予め3バイトと定義する。例えば、駆動量が負の数値である場合には至近側駆動、一方、正の数値である場合には、無限側駆動と予め定義する。カメラコマンド14hexは、フォーカスユニット3への駆動時間情報の受信要求命令である。この場合、カメラマイコン12が送信するデータ量を、予め2バイトと定義する。ここで、「駆動時間情報」とは、具体的には、カメラコマンド13hexでフォーカスユニット3を駆動する場合の駆動時間リミット値である。レンズマイコン8は、フォーカスユニット3の駆動量と駆動時間リミット値とに基づいて、フォーカスユニット3の移動速度を決定する。即ち、フォーカスユニット3の移動速度は、駆動量が大きく、かつ、駆動時間リミット値が短いほど速い。なお、このカメラコマンド14hexは、カメラマイコン12からカメラコマンド13hexが送信される前に送信され、レンズマイコン8は、予め受信したカメラコマンド14hexの駆動時間情報に基づいてフォーカスユニット3の駆動開始を指示する。更に、カメラコマンド15hexは、上述したフォーカスユニット3の反転駆動の駆動許可及び駆動禁止に関する命令である。この場合、カメラマイコン12が送信するデータ量を、予め1バイトと定義する。レンズマイコン8は、カメラコマンド15hexを受信した後、予めカメラコマンド13hexで受信したフォーカスユニット3の駆動量に基づいて、フォーカスユニット3に反転駆動の開始を指示する。このとき、駆動量の値がゼロである場合には、反転駆動を禁止とする。また、カメラコマンド15hexで反転駆動許可中にカメラコマンド13hexを受信した場合には、カメラコマンド13hexが優先される。即ち、レンズマイコン8は、カメラコマンド13hexによるフォーカスユニット3の駆動を終了したとき、カメラコマンド15hexの反転駆動を指示する。   In FIG. 5, the camera command 10 hex is a command for transmitting characteristic information related to the mechanism of the interchangeable lens 1 from the interchangeable lens 1 to the camera body 2. In this case, the amount of data transmitted by the interchangeable lens 1 is defined as 8 bytes in advance. That is, after the lens microcomputer 8 transmits 8 bytes of data, the 9th byte is the next communication (data communication). The camera command 11 hex is a command for transmitting information related to the optics of the interchangeable lens 1 from the interchangeable lens 1 to the camera body 2. In this case, the amount of data transmitted by the interchangeable lens 1 is defined as 15 bytes in advance. The camera command 12 hex is a command for transmitting information related to the state of the interchangeable lens 1 from the interchangeable lens 1 to the camera body 2. In this case, the amount of data transmitted by the interchangeable lens 1 is defined in advance as 4 bytes. The information regarding the state of the interchangeable lens 1 includes drive direction information of the focus unit 3. The camera command 13 hex is two commands: a drive command for the focus unit 3 and a reception request command for causing the interchangeable lens 1 to receive the drive amount at this time. In this case, the data amount (drive amount) transmitted by the camera microcomputer 12 is defined as 3 bytes in advance. For example, when the driving amount is a negative numerical value, it is preliminarily defined as a near side driving, and when it is a positive numerical value, it is defined as an infinite driving. The camera command 14 hex is a command for receiving drive time information to the focus unit 3. In this case, the amount of data transmitted by the camera microcomputer 12 is defined as 2 bytes in advance. Here, the “driving time information” is specifically a driving time limit value when the focus unit 3 is driven by the camera command 13 hex. The lens microcomputer 8 determines the moving speed of the focus unit 3 based on the drive amount of the focus unit 3 and the drive time limit value. That is, the moving speed of the focus unit 3 is faster as the driving amount is larger and the driving time limit value is shorter. The camera command 14 hex is transmitted before the camera command 13 hex is transmitted from the camera microcomputer 12, and the lens microcomputer 8 instructs the focus unit 3 to start driving based on the driving time information of the camera command 14 hex received in advance. To do. Furthermore, the camera command 15 hex is a command related to the permission and prohibition of the reverse driving of the focus unit 3 described above. In this case, the amount of data transmitted by the camera microcomputer 12 is defined as 1 byte in advance. After receiving the camera command 15 hex, the lens microcomputer 8 instructs the focus unit 3 to start reversal driving based on the drive amount of the focus unit 3 previously received by the camera command 13 hex. At this time, if the value of the driving amount is zero, the inversion driving is prohibited. If the camera command 13 hex is received while the reverse drive is permitted by the camera command 15 hex, the camera command 13 hex is given priority. That is, when the lens microcomputer 8 finishes driving the focus unit 3 with the camera command 13 hex, it instructs the camera command 15 hex to be reversed.

ここで、レンズマイコン8は、フォーカスユニット3に対して反転駆動を指示するために、VD信号が必要となる。特に、本実施形態では、VD信号に同期したカメラコマンドを新たに追加する。図6は、VD信号に同期させるカメラコマンドを示す一覧表である。このカメラコマンド通信は、上述したVD信号と同期しているため、このようなカメラコマンドを「同期通信用カメラコマンド(同期通信用指令)」と呼ぶ。図6において、まず、カメラコマンド20hexは、カメラ本体2による露光動作の開始時にカメラマイコン12からレンズマイコン8へ送信される命令である。なお、このカメラコマンド20hexは、データ量を0バイトとしたタイミング情報(垂直同期コマンド1)である。レンズマイコン8は、VD同期タイミング専用の内部のタイマーを使用し、カメラコマンド20hexを受信後、次回のVD同期タイミングをプリセットするように動作する。即ち、レンズマイコン8は、上記タイマー情報によりフォーカスユニット3の反転動作を制御する。また、カメラコマンド21hex〜2Fhexも、カメラコマンド20hexと同様に、カメラ本体2による露光動作の開始時にカメラマイコン12からレンズマイコン8へ送信される命令である。また、このカメラコマンド21hex〜2Fhexも、データ量を0バイトとしたタイミング情報(垂直同期コマンド2)である。但し、カメラコマンド21〜2Fhexの場合には、その下位に位置する4ビットの情報は、実際のVD同期信号から遅延している通信量を示す。   Here, the lens microcomputer 8 requires a VD signal in order to instruct the focus unit 3 to perform inversion driving. In particular, in this embodiment, a new camera command synchronized with the VD signal is added. FIG. 6 is a list showing camera commands to be synchronized with the VD signal. Since this camera command communication is synchronized with the VD signal described above, such a camera command is referred to as a “synchronous communication camera command (synchronous communication command)”. In FIG. 6, the camera command 20 hex is a command transmitted from the camera microcomputer 12 to the lens microcomputer 8 at the start of the exposure operation by the camera body 2. The camera command 20 hex is timing information (vertical synchronization command 1) with the data amount set to 0 bytes. The lens microcomputer 8 uses an internal timer dedicated to VD synchronization timing and operates to preset the next VD synchronization timing after receiving the camera command 20 hex. That is, the lens microcomputer 8 controls the reversing operation of the focus unit 3 based on the timer information. Similarly to the camera command 20 hex, the camera commands 21 hex to 2 Fhex are also commands that are transmitted from the camera microcomputer 12 to the lens microcomputer 8 when the exposure operation by the camera body 2 is started. The camera commands 21 hex to 2 F hex are also timing information (vertical synchronization command 2) with a data amount of 0 bytes. However, in the case of the camera commands 21 to 2Fhex, the 4-bit information located in the lower order thereof indicates the communication amount delayed from the actual VD synchronization signal.

次に、本実施形態に係る同期通信用カメラコマンドの作用について説明する。図7は、カメラマイコン12の同期クロック出力端子Cclkからの出力信号を示す概念図である。レンズマイコン8とカメラマイコン12との通信中は、図7に示すように、同期クロック出力端子Cclkからの出力信号が変化する。ここで、図5に示した非同期通信用カメラコマンドは、VD信号に同期していないため、カメラマイコン12は、カメラ本体2の各種動作において、必要に応じてレンズマイコン8と通信する。更に、本実施形態では、カメラマイコン12は、VD信号を発信させた場合には、図6に示した同期通信用カメラコマンドを新たに出力信号に追加し、レンズマイコン8に対して送信する。 Next, the operation of the camera command for synchronous communication according to this embodiment will be described. FIG. 7 is a conceptual diagram showing an output signal from the synchronous clock output terminal C clk of the camera microcomputer 12. During communication between the lens microcomputer 8 and the camera microcomputer 12, the output signal from the synchronous clock output terminal C clk changes as shown in FIG. Here, since the camera command for asynchronous communication shown in FIG. 5 is not synchronized with the VD signal, the camera microcomputer 12 communicates with the lens microcomputer 8 as necessary in various operations of the camera body 2. Furthermore, in this embodiment, when the camera microcomputer 12 transmits the VD signal, the camera command for synchronous communication shown in FIG. 6 is newly added to the output signal and transmitted to the lens microcomputer 8.

図7において、出力信号SIGは、カメラコマンド14hexの2バイトデータ、カメラコマンド10hexの8バイトデータ、更にカメラコマンド12hexの4バイトデータを、それぞれ順に送信していることを示す信号図である。出力信号SIGは、出力信号SIGのカメラコマンド14hexの通信波形のみを拡大した信号図であり、非同期通信用カメラコマンドであるカメラコマンド14hexを送信後に、データ1及びデータ2からなる2バイトのデータを送信していることを示す。出力信号SIGは、出力信号SIGのカメラコマンド10hexの通信波形のみを拡大した信号図であり、非同期通信用カメラコマンドであるカメラコマンド10hexを送信後に、データ1〜8からなる8バイトのデータを送信していることを示す。 In FIG. 7, an output signal SIG 1 is a signal diagram showing that 2 byte data of the camera command 14 hex, 8 byte data of the camera command 10 hex, and 4 byte data of the camera command 12 hex are transmitted in order. The output signal SIG 2 is a signal diagram in which only the communication waveform of the camera command 14 hex of the output signal SIG 1 is enlarged, and after transmitting the camera command 14 hex, which is a camera command for asynchronous communication, a 2-byte data 1 and data 2 Indicates that data is being transmitted. The output signal SIG 3 is a signal diagram in which only the communication waveform of the camera command 10 hex of the output signal SIG 1 is enlarged. After transmitting the camera command 10 hex which is a camera command for asynchronous communication, 8-byte data consisting of data 1 to 8 is transmitted. Indicates that is being sent.

ここで、カメラマイコン12は、従来の通信であれば、非同期通信中にVD信号を発信した場合は、同期通信用カメラコマンドを送信することができない。例えば、出力信号SIGにおいて、初めにカメラマイコン12がカメラコマンド10hexを送信すると、レンズマイコン8は、上述のように交換レンズ1の特定情報を常に送信する。ここで、図7に示すように、データ2(データ通信の2バイト目)でVD信号が発信されたと仮定する(VDタイミングA)。このとき、カメラマイコン12は、非同期通信用カメラコマンド10hexに係るデータの受信中であるために、レンズマイコン8に対して同期通信用カメラコマンドを送信することができない。したがって、レンズマイコン8がVDタイミングAで発信されたVD信号を受信できるのは、非同期通信が終了したVDタイミングBの位置となり、VDタイミングがずれる。このVDタイミングのずれは、図2に示すAF動作2のように、結果的に、交換レンズ1内のAF動作の開始ずれを引き起こす。一方、非同期通信を実施していない時にVD信号が発信された場合には(VDタイミングC)、VDタイミングがずれない。 Here, in the case of conventional communication, the camera microcomputer 12 cannot transmit a camera command for synchronous communication when a VD signal is transmitted during asynchronous communication. For example, when the camera microcomputer 12 first transmits the camera command 10 hex in the output signal SIG 3 , the lens microcomputer 8 always transmits the specific information of the interchangeable lens 1 as described above. Here, as shown in FIG. 7, it is assumed that a VD signal is transmitted with data 2 (second byte of data communication) (VD timing A). At this time, since the camera microcomputer 12 is receiving data related to the asynchronous communication camera command 10 hex, the camera microcomputer 12 cannot transmit the synchronous communication camera command to the lens microcomputer 8. Therefore, the lens microcomputer 8 can receive the VD signal transmitted at the VD timing A at the position of the VD timing B at which the asynchronous communication is completed, and the VD timing is shifted. This deviation in VD timing results in a start deviation of the AF operation in the interchangeable lens 1 as in the AF operation 2 shown in FIG. On the other hand, when the VD signal is transmitted when the asynchronous communication is not performed (VD timing C), the VD timing is not shifted.

そこで、本実施形態では、図6に示すようにVDタイミングBとVDタイミングCとにおいて、異なる同期通信用カメラコマンドを使用する。例えば、VDタイミングCのように非同期通信を実施していない状態でのタイミングでは、カメラコマンド20hexを使用し、一方、VDタイミングBのように非同期通信中のタイミングでは、カメラコマンド21hex〜2Fhexを使用する。このとき、カメラコマンド21hex〜2Fhexの下位の4ビットの情報は、具体的には前回の非同期通信の何バイト目にVD信号が発信されたかを示す。例えば、出力信号SIGでは、1バイト目がカメラコマンド10hexであり、次の2バイト目がデータ1(データ通信の1バイト目)であり、そして、3バイト目のデータ2(データ通信の2バイト目)の通信時点に、VDタイミングAが発生している。そこで、レンズマイコン8は、非同期通信が終了した時点のVDタイミングBにおいて、カメラコマンド20hex+3バイト目という意味で、カメラコマンド23hexを送信する。このとき、レンズマイコン8は、全てのVD信号タイミングを内部に備えたVD同期タイミング専用のタイマーを基準として常時記憶し、同期通信用カメラコマンドの下位の4ビット情報に基づいて受信時のVDタイミングから遅延VDタイミングを導き出す。即ち、この遅延VDタイミングは、時間的な遅延情報である。そして、レンズマイコン8は、導き出された遅延VDタイミングに基づいてVDタイミング情報を補正することで、正確なVDタイミング情報にてAF動作を制御する。 Therefore, in this embodiment, different synchronous communication camera commands are used at VD timing B and VD timing C as shown in FIG. For example, the camera command 20 hex is used at the timing when asynchronous communication is not performed as in VD timing C, while the camera commands 21 hex to 2 Fhex are used at timing during asynchronous communication as VD timing B. To do. At this time, the information of the lower 4 bits of the camera commands 21 hex to 2 Fhex specifically indicates the byte number of the previous asynchronous communication in which the VD signal is transmitted. For example, in the output signal SIG 3 , the first byte is the camera command 10 hex, the next second byte is the data 1 (first byte of data communication), and the third byte of data 2 (data communication 2 VD timing A occurs at the time of communication (byte). Therefore, the lens microcomputer 8 transmits the camera command 23 hex in the sense of the camera command 20 hex + the third byte at the VD timing B when the asynchronous communication ends. At this time, the lens microcomputer 8 always stores all VD signal timings with reference to a timer dedicated to VD synchronization timing provided therein, and VD timing at the time of reception based on lower-order 4-bit information of the camera command for synchronous communication. To derive the delayed VD timing. That is, this delay VD timing is temporal delay information. Then, the lens microcomputer 8 corrects the VD timing information based on the derived delay VD timing, thereby controlling the AF operation with accurate VD timing information.

ここで、カメラマイコン12における同期通信用カメラコマンドの生成方法について説明する。まず、カメラマイコン12において、VD同期信号を生成するタイマーの割り込みが発生する。ここで、カメラマイコン12は、現在レンズマイコン8と通信中かどうかを判断し、通信していない場合は、カメラコマンド20hexをレンズマイコン8へ送信する。一方、レンズマイコン8と通信中の場合は、カメラマイコン12は、非同期通信カメラコマンドを含めたデータ量が何バイト目の通信かを判断する。   Here, a method for generating a camera command for synchronous communication in the camera microcomputer 12 will be described. First, in the camera microcomputer 12, a timer interrupt for generating a VD synchronization signal is generated. Here, the camera microcomputer 12 determines whether it is currently communicating with the lens microcomputer 8, and when not communicating, transmits the camera command 20 hex to the lens microcomputer 8. On the other hand, when communicating with the lens microcomputer 8, the camera microcomputer 12 determines how many bytes of communication the data amount including the asynchronous communication camera command is.

次に、レンズマイコン8におけるVD同期信号の生成方法について説明する。レンズマイコン8は、前記タイマーの割り込みが発生した場合にAF動作を制御する。このとき、レンズマイコン8は、カメラマイコン12から同期通信用カメラコマンドを受信するごとにタイマー値を内部メモリーに記憶し、VDタイミングの発生位置を判断する。加えて、レンズマイコン8は、カメラマイコン12から同期通信用カメラコマンドを受信するごとに次回の新たなVDタイミングの割り込み時間を設定して、常に最新のVDタイミング情報に更新する。例えば、レンズマイコン8は、同期通信用カメラコマンド20hexを受信すると、現在のタイマー値に次回のVDタイミングを加算した値を、割り込み処理を行う内部レジスタに書き込む。一方、レンズマイコン8は、同期通信用カメラコマンド23hexを受信すると、前回の非同期通信の3バイト目でVDタイミングAが発生したと認識する。そして、レンズマイコン8は、VDタイミングを記憶している内部メモリーから3バイト目のVDタイミング情報を読み出し、その情報に次回のVDタイミングを加算した値を内部レジスタに書き込む。   Next, a method for generating a VD synchronization signal in the lens microcomputer 8 will be described. The lens microcomputer 8 controls the AF operation when the timer interruption occurs. At this time, whenever the lens microcomputer 8 receives a camera command for synchronous communication from the camera microcomputer 12, the lens microcomputer 8 stores the timer value in the internal memory and determines the generation position of the VD timing. In addition, every time a camera command for synchronous communication is received from the camera microcomputer 12, the lens microcomputer 8 sets an interrupt time for the next new VD timing, and always updates the latest VD timing information. For example, when receiving the synchronous communication camera command 20 hex, the lens microcomputer 8 writes a value obtained by adding the next VD timing to the current timer value to an internal register that performs interrupt processing. On the other hand, when receiving the synchronous communication camera command 23 hex, the lens microcomputer 8 recognizes that the VD timing A has occurred at the third byte of the previous asynchronous communication. Then, the lens microcomputer 8 reads the 3rd byte VD timing information from the internal memory storing the VD timing, and writes the value obtained by adding the next VD timing to the information to the internal register.

次に、レンズマイコン8による割り込み処理について説明する。図8は、カメラマイコン12から同期通信用カメラコマンドを受信した場合のレンズマイコン8による割り込み処理の流れを示すフローチャートである。まず、レンズマイコン8は、割り込み処理を開始すると(ステップS100)、VDタイミングを決定するタイマー値(カウンタ値)を内部メモリーに記憶する(ステップS101)。ここで、レンズマイコン8は、内部メモリーを最大16個備える。例えば、カメラマイコン12から送信された通信内容が、非同期通信用カメラコマンドである場合は、レンズマイコン8は、「メモリー1」にタイマー値を記憶する。一方、データや同期通信用カメラコマンドである場合は、レンズマイコン8は、「メモリー2」以降に順にその内容を記憶する。即ち、ステップS101には、レンズマイコン8が、内部メモリーをどこまで使用しているかを常時把握する処理も含まれる。   Next, interrupt processing by the lens microcomputer 8 will be described. FIG. 8 is a flowchart showing the flow of interrupt processing by the lens microcomputer 8 when a camera command for synchronous communication is received from the camera microcomputer 12. First, when the interrupt processing is started (step S100), the lens microcomputer 8 stores a timer value (counter value) for determining the VD timing in the internal memory (step S101). Here, the lens microcomputer 8 includes a maximum of 16 internal memories. For example, when the communication content transmitted from the camera microcomputer 12 is a camera command for asynchronous communication, the lens microcomputer 8 stores a timer value in “memory 1”. On the other hand, in the case of data or a camera command for synchronous communication, the lens microcomputer 8 stores the contents in order after “Memory 2”. That is, step S101 includes processing for constantly grasping how far the lens microcomputer 8 is using the internal memory.

次に、レンズマイコン8は、ステップS101での通信内容の解析結果に基づいて、カメラマイコン12から送信された通信内容が、非同期通信用カメラコマンド及びデータを含む非同期通信であるかどうかを判定する(ステップS102)。このとき、レンズマイコン8は、カメラマイコン12から送信された通信内容が非同期通信であると判定した場合(Y)は、非同期通信用カメラコマンドの判定結果を解析し、図5に示すような通常の各種通信処理を行う(ステップS103)。一方、レンズマイコン8は、カメラマイコン12から送信された通信内容が同期通信用カメラコマンドを含む同期通信であると判定した場合(N)は、同期通信用カメラコマンドが、カメラコマンド20hexかそれ以外かを判定する(ステップS104)。   Next, the lens microcomputer 8 determines whether the communication content transmitted from the camera microcomputer 12 is an asynchronous communication including the camera command and data for asynchronous communication based on the analysis result of the communication content in step S101. (Step S102). At this time, if the lens microcomputer 8 determines that the communication content transmitted from the camera microcomputer 12 is asynchronous communication (Y), the lens microcomputer 8 analyzes the determination result of the camera command for asynchronous communication, and the normal state as shown in FIG. The various communication processes are performed (step S103). On the other hand, if the lens microcomputer 8 determines that the communication content transmitted from the camera microcomputer 12 is synchronous communication including the camera command for synchronous communication (N), the camera command for synchronous communication is the camera command 20 hex or otherwise. Is determined (step S104).

ここで、レンズマイコン8は、ステップS104において、同期通信用カメラコマンドがカメラコマンド20hexであると判定した場合(Y)は、今回の通信タイミングがVDタイミングであると認識する。そして、レンズマイコン8は、次回のVDタイミングを決定するために現在のタイマー値を取得し、予め内部に記憶したVDタイミングの値を加算する(ステップS105)。一方、レンズマイコン8は、ステップS104において、同期通信用カメラコマンドがカメラコマンド20hexではないと判定した場合(N)は、今回の通信タイミング以前に、VDタイミングが発生していると認識する。このとき、レンズマイコン8は、次回のVDタイミングを決定するために、同期通信用カメラコマンドの下位の4ビット情報の数値を割り出す。図7の例で考えると、この数値は、出力信号SIGでは前回の非同期通信で3バイト目の通信を示していることから、この場合は「3」となる。レンズマイコン8は、この数値「3」から、ステップS101にて把握したメモリー情報の「メモリー3」でVDタイミングAが発生していると判断する。そして、レンズマイコン8は、「メモリー3」のタイマー値を読み出し、予め内部に記憶したVDタイミングの値を加算する(ステップS106)。そして、レンズマイコン8は、ステップS105又はステップS106にて加算した値を、次回の割り込みを決定する内部レジスタに書き込み(ステップS107)、割り込み処理を終了する(ステップS108)。この割り込み処理によって設定したVDタイミングを経過すれば、VD信号の割り込みが発生することになる。したがって、レンズマイコン8は、この割り込み処理による補正結果に基づいてAF制御を行えば良い。 If the lens microcomputer 8 determines in step S104 that the camera command for synchronous communication is the camera command 20hex (Y), the lens microcomputer 8 recognizes that the current communication timing is the VD timing. Then, the lens microcomputer 8 acquires the current timer value in order to determine the next VD timing, and adds the value of the VD timing stored therein in advance (step S105). On the other hand, if the lens microcomputer 8 determines in step S104 that the camera command for synchronous communication is not the camera command 20 hex (N), the lens microcomputer 8 recognizes that the VD timing has occurred before the current communication timing. At this time, in order to determine the next VD timing, the lens microcomputer 8 determines the numerical value of the lower 4 bits information of the camera command for synchronous communication. Considering the example in FIG. 7, this value is “3” in this case because the output signal SIG 3 indicates the third byte communication in the previous asynchronous communication. The lens microcomputer 8 determines from this numerical value “3” that the VD timing A is generated in “memory 3” of the memory information grasped in step S101. Then, the lens microcomputer 8 reads the timer value of “memory 3” and adds the value of the VD timing stored in advance therein (step S106). Then, the lens microcomputer 8 writes the value added in step S105 or step S106 to the internal register that determines the next interrupt (step S107), and ends the interrupt process (step S108). When the VD timing set by this interrupt processing elapses, an interrupt of the VD signal occurs. Therefore, the lens microcomputer 8 may perform AF control based on the correction result by this interruption process.

以上のように、本発明の通信制御装置によれば、AF動作の基準となるVD信号に対して同期通信用カメラコマンドを適用することにより、VDタイミング情報の発生位置(発生時間)のずれを適宜補正する。したがって、例えば、ユーザーが、突然AF動作を停止させるような緊急操作を行った場合でも、フォーカスユニットが直ぐさま反応することができるので、本発明の通信制御装置を備えた撮像装置自体の操作性が向上する。また、電子式撮像素子が露光を開始するタイミングを交換レンズに送信するような専用の通信端子を設置する必要がないため、安価な交換レンズ及びカメラ本体を提供することができる。   As described above, according to the communication control apparatus of the present invention, by applying the camera command for synchronous communication to the VD signal that is the reference of the AF operation, the deviation of the generation position (generation time) of the VD timing information is reduced. Correct as appropriate. Therefore, for example, even when the user performs an emergency operation that suddenly stops the AF operation, the focus unit can react immediately, so that the operability of the imaging device itself provided with the communication control device of the present invention is improved. Will improve. In addition, since it is not necessary to install a dedicated communication terminal for transmitting the timing at which the electronic image sensor starts exposure to the interchangeable lens, an inexpensive interchangeable lens and camera body can be provided.

(第2実施形態)
次に、本発明の第2実施形態に係る通信制御装置について説明する。ここで、第1実施形態における同期通信用カメラコマンド21hex〜2Fhexは、カメラマイコン12が、従来、VDタイミングが発生したのでレンズマイコン8に送信しようとしたが、非同期通信中であるため送信できなかった場合に適用するものである。この同期通信用カメラコマンド21hex〜2Fhexの下位の4ビット情報は、VDタイミングの発生時から実際のレンズマイコン8への送信時までの時間的な遅延情報である。例えば、21hexと22hexとの差は、1であり、時間に換算にすると、500(μsec)である。そこで、本実施形態では、カメラマイコン12は、図7におけるVDタイミングBで同期通信用カメラコマンドを送信する前に、VDタイミングAからの遅延時間(遅延情報)を演算して、その演算結果を同期通信用カメラコマンド20hexに加算して送信する。例えば、図7におけるVDタイミングCでは同期通信用カメラコマンドが単に20hexとなり、つまり、この場合の遅延時間は、ゼロである。
(Second Embodiment)
Next, a communication control apparatus according to the second embodiment of the present invention will be described. Here, the camera command 12 hex to 2F hex for synchronous communication in the first embodiment cannot be transmitted because the camera microcomputer 12 has tried to transmit to the lens microcomputer 8 because VD timing has conventionally occurred. Applicable when The low-order 4-bit information of the synchronous communication camera commands 21 hex to 2 Fhex is time delay information from the time when the VD timing is generated to the time of transmission to the actual lens microcomputer 8. For example, the difference between 21 hex and 22 hex is 1, which is 500 (μsec) in terms of time. Therefore, in this embodiment, the camera microcomputer 12 calculates the delay time (delay information) from the VD timing A before transmitting the camera command for synchronous communication at the VD timing B in FIG. It is added to the camera command 20 hex for synchronous communication and transmitted. For example, at VD timing C in FIG. 7, the camera command for synchronous communication is simply 20 hex, that is, the delay time in this case is zero.

遅延時間の演算方法としては、カメラマイコン12は、VDタイミングBからVDタイミングAまでの遅延時間を500(μsec)で除算し、その演算結果を同期通信用カメラコマンド20hexに加算すれば良い。このとき、最大遅延時間は、15(個)×500(μsec)=7.5(msec)となるため、全ての非同期通信は、それ以下の時間で終了することになる。一方、レンズマイコン8は、同期通信用カメラコマンドの下位の4ビットに500(μsec)を乗算し、現在のタイマー値と予め設定したVDタイミングの値とを加算した値から乗算結果を引くことで、正確なVDタイミングを算出する。このように、本実施形態では、第1実施形態の効果に加えて、前回の非同期通信のVDタイミング情報をレンズマイコン8が記憶する必要がない、即ち、タイマーを必要としないため、レンズマイコン8の処理が簡単となる。   As a calculation method of the delay time, the camera microcomputer 12 may divide the delay time from the VD timing B to the VD timing A by 500 (μsec) and add the calculation result to the synchronous communication camera command 20 hex. At this time, since the maximum delay time is 15 (pieces) × 500 (μsec) = 7.5 (msec), all asynchronous communications are completed in a shorter time. On the other hand, the lens microcomputer 8 multiplies the lower 4 bits of the camera command for synchronous communication by 500 (μsec), and subtracts the multiplication result from the value obtained by adding the current timer value and the preset VD timing value. Calculate accurate VD timing. Thus, in this embodiment, in addition to the effect of the first embodiment, the lens microcomputer 8 does not need to store the VD timing information of the previous asynchronous communication, that is, the timer is not required. Is easy.

以上、本発明の好ましい実施形態について説明したが、本発明は、これらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

例えば、上記実施形態では、VDタイミングを同期通信として説明したが、本発明は、所定時間毎に通信が必要なシステムの通信や、CCDセンサー13以外の別なユニットからの通信であっても採用可能である。   For example, in the above-described embodiment, the VD timing is described as synchronous communication. However, the present invention can be applied to communication of a system that requires communication every predetermined time or communication from another unit other than the CCD sensor 13. Is possible.

1 交換レンズ
2 カメラ本体
8 レンズマイコン
12 カメラマイコン
1 Interchangeable lens 2 Camera body 8 Lens microcomputer 12 Camera microcomputer

Claims (5)

交換レンズとカメラ本体を有するカメラシステムであって、
前記交換レンズは、該交換レンズの動作を制御し、前記カメラ本体と通信を行うレンズ制御手段を有し、
前記カメラ本体は、該カメラ本体の動作を制御し、前記交換レンズと通信を行うカメラ制御手段を有し、
前記レンズ制御手段と前記カメラ制御手段とは、非同期通信方式により通信を行い、
前記レンズ制御手段は、前記カメラ制御手段から送信される垂直同期信号に基づいた同期制御を行い、
前記カメラ制御手段は、前記レンズ制御手段と前記カメラ制御手段との間で通信が行われていない場合、前記同期制御を行うためのタイミング情報を、前記垂直同期信号に基づいて定められる同期タイミングで前記レンズ制御手段に送信し、
前記同期タイミングで、前記レンズ制御手段と前記カメラ制御手段との間で通信が行われている場合は、該通信が終了してから、前記同期タイミングに対する遅延情報を含む前記タイミング情報を前記レンズ制御手段に送信することを特徴とするカメラシステム。
A camera system having an interchangeable lens and a camera body,
The interchangeable lens has lens control means for controlling the operation of the interchangeable lens and communicating with the camera body ,
The camera body has camera control means for controlling the operation of the camera body and communicating with the interchangeable lens ,
The lens control means and the camera control means communicate by an asynchronous communication method,
The lens control means performs synchronization control based on a vertical synchronization signal transmitted from the camera control means,
The camera control means, when communication is not performed between the lens control means and the camera control means, provides timing information for performing the synchronization control at a synchronization timing determined based on the vertical synchronization signal. Transmitted to the lens control means,
When communication is performed between the lens control unit and the camera control unit at the synchronization timing, the timing information including delay information with respect to the synchronization timing is transmitted to the lens control after the communication ends. A camera system for transmitting to a means .
前記遅延情報は、前記同期タイミングから前記レンズ制御手段と前記カメラ制御手段との間の通信が終了するまでの時間に関する情報であることを特徴とする請求項に記載のカメラシステム。 The camera system according to claim 1 , wherein the delay information is information related to a time from the synchronization timing until communication between the lens control unit and the camera control unit ends. 前記レンズ制御手段は、前記遅延情報に基づいて、前記同期タイミングを設定することを特徴とする請求項1または2に記載のカメラシステム。 The lens control means, a camera system according to claim 1 or 2, based on the delay information, wherein the setting the synchronization control line cormorants timing. メラ制御手段を有するカメラ本体に着脱可能な交換レンズであって、
前記交換レンズの動作を制御し、非同期通信方式により前記カメラ本体と通信を行うレンズ制御手段を有し、
前記カメラ制御手段は、前記カメラ本体の動作を制御し、非同期通信方式により前記交換レンズと通信を行うことが可能であり、
前記レンズ制御手段は、前記カメラ制御手段から送信される垂直同期信号に基づいた同期制御を行い、
前記同期制御を行うためのタイミング情報を、前記垂直同期信号に基づいて定められる同期タイミングで、前記カメラ制御手段から受信し、
前記同期タイミングで、前記レンズ制御手段と前記カメラ制御手段との間で通信が行われている場合は、該通信が終了してから、前記同期タイミングに対する遅延情報を含む前記タイミング情報を前記カメラ制御手段から受信し、
前記タイミング情報に基づいて前記同期制御を行うことを特徴とする交換レンズ。
A removable interchangeable lens to a camera body having a camera control unit,
A lens control unit that controls the operation of the interchangeable lens and communicates with the camera body by an asynchronous communication method ;
The camera control means controls the operation of the camera body, and can communicate with the interchangeable lens by an asynchronous communication method.
The lens control means performs synchronization control based on a vertical synchronization signal transmitted from the camera control means,
Timing information for performing the synchronization control is received from the camera control means at a synchronization timing determined based on the vertical synchronization signal;
When communication is performed between the lens control unit and the camera control unit at the synchronization timing, the timing information including delay information with respect to the synchronization timing is controlled by the camera after the communication ends. Received from the means,
An interchangeable lens, wherein the synchronization control is performed based on the timing information.
ンズ制御手段を有する交換レンズが着脱可能なカメラ本体であって、
前記カメラ本体の動作を制御し、非同期通信方式により前記交換レンズと通信を行うカメラ制御手段を有し、
前記レンズ制御手段は、前記交換レンズの動作を制御し、非同期通信方式により前記カメラ本体と通信を行うことが可能であり、
前記カメラ制御手段は、前記レンズ制御手段に同期制御を実行させるための垂直同期信号を、前記レンズ制御手段に送信し、
前記レンズ制御手段に前記同期制御を実行させるためのタイミング情報を、前記垂直同期信号に基づいて定められる同期タイミングで前記レンズ制御手段に送信し、
前記同期タイミングで、前記レンズ制御手段と前記カメラ制御手段との間で通信が行われている場合は、該通信が終了してから、前記同期タイミングに対する遅延情報を含む前記タイミング情報を前記レンズ制御手段に送信することを特徴とするカメラ本体。
A interchangeable lens camera main body detachable with lenses control means,
Camera control means for controlling the operation of the camera body and communicating with the interchangeable lens by an asynchronous communication method ;
The lens control means controls the operation of the interchangeable lens and can communicate with the camera body by an asynchronous communication method.
The camera control means transmits a vertical synchronization signal for causing the lens control means to execute synchronization control, to the lens control means,
Timing information for causing the lens control means to execute the synchronization control is transmitted to the lens control means at a synchronization timing determined based on the vertical synchronization signal,
When communication is performed between the lens control unit and the camera control unit at the synchronization timing, the timing information including delay information with respect to the synchronization timing is transmitted to the lens control after the communication ends. A camera body characterized by transmitting to the means.
JP2010121929A 2010-05-27 2010-05-27 Camera system, interchangeable lens, and camera body Active JP5661335B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010121929A JP5661335B2 (en) 2010-05-27 2010-05-27 Camera system, interchangeable lens, and camera body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010121929A JP5661335B2 (en) 2010-05-27 2010-05-27 Camera system, interchangeable lens, and camera body

Publications (3)

Publication Number Publication Date
JP2011248138A JP2011248138A (en) 2011-12-08
JP2011248138A5 JP2011248138A5 (en) 2013-07-04
JP5661335B2 true JP5661335B2 (en) 2015-01-28

Family

ID=45413468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010121929A Active JP5661335B2 (en) 2010-05-27 2010-05-27 Camera system, interchangeable lens, and camera body

Country Status (1)

Country Link
JP (1) JP5661335B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5995536B2 (en) * 2012-06-05 2016-09-21 キヤノン株式会社 IMAGING DEVICE, LENS UNIT, IMAGING DEVICE CONTROL METHOD, LENS UNIT CONTROL METHOD, AND IMAGING SYSTEM
JP6045205B2 (en) * 2012-06-07 2016-12-14 キヤノン株式会社 Imaging apparatus and control method thereof, and lens apparatus and control method thereof
JP5965553B2 (en) * 2013-11-08 2016-08-10 富士フイルム株式会社 Camera system, camera body, interchangeable lens, and communication method
JP6643159B2 (en) * 2016-03-23 2020-02-12 キヤノン株式会社 Lens device, control device, and control method thereof
JP6584489B2 (en) * 2017-12-25 2019-10-02 キヤノン株式会社 Imaging apparatus, control method therefor, and lens unit
WO2020017398A1 (en) * 2018-07-20 2020-01-23 株式会社ニコン Interchangeable lens and method for stopping movable member

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8164680B2 (en) * 2008-03-27 2012-04-24 Panasonic Corporation Imaging system and camera body

Also Published As

Publication number Publication date
JP2011248138A (en) 2011-12-08

Similar Documents

Publication Publication Date Title
JP3779247B2 (en) Imaging device
US8259182B2 (en) Optical apparatus and camera system having a function of moving a focus lens in an optical axis direction to reduce focus shake generated in the optical axis direction
JP5661335B2 (en) Camera system, interchangeable lens, and camera body
US10708503B2 (en) Image capture system, image capturing apparatus, lens unit, control methods therefor, and storage medium
JP2014013360A (en) Imaging apparatus and control method thereof, and lens device and control method thereof
JP2010266595A (en) Camera and interchangeable lens mounted in camera
JP2005173267A (en) Focusing device, optical equipment and image pickup device
JPH0875991A (en) Autofocusing camera
JP2003222790A (en) Camera
JP2013024900A (en) Lens control device of optical apparatus
JP5521507B2 (en) Interchangeable lens camera body and interchangeable lens
US20110286733A1 (en) Lens-interchangeable camera performing focus control, lens barrel, and program
JP4283268B2 (en) Imaging device
JP4847352B2 (en) Imaging apparatus and control method thereof
JP2012042825A (en) Imaging apparatus
JP5979902B2 (en) Camera and camera system
JP5766047B2 (en) Lens device, camera, and imaging system
JP6786288B2 (en) Imaging device, lens device, control method, program, and storage medium
JP2014035505A (en) Lens device, image pickup device, and control method for these devices
JP2016110000A (en) Imaging device
JP5904714B2 (en) FOCUS DETECTION DEVICE, ITS CONTROL METHOD, AND IMAGING DEVICE HAVING FOCUS DETECTION DEVICE
JP4928236B2 (en) Imaging apparatus and imaging system
JPH055828A (en) Focus detector for camera
JP2007027830A (en) Electronic camera
JP2009294471A (en) Lens interchangeable digital camera system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130522

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130522

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140502

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141203

R151 Written notification of patent or utility model registration

Ref document number: 5661335

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151