JP2010237515A - Imaging apparatus and photographic lens - Google Patents

Imaging apparatus and photographic lens Download PDF

Info

Publication number
JP2010237515A
JP2010237515A JP2009086416A JP2009086416A JP2010237515A JP 2010237515 A JP2010237515 A JP 2010237515A JP 2009086416 A JP2009086416 A JP 2009086416A JP 2009086416 A JP2009086416 A JP 2009086416A JP 2010237515 A JP2010237515 A JP 2010237515A
Authority
JP
Japan
Prior art keywords
lens
data
communication
camera body
power
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
Application number
JP2009086416A
Other languages
Japanese (ja)
Inventor
Kazuharu Kondo
和晴 今藤
Norikazu Yokonuma
則一 横沼
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2009086416A priority Critical patent/JP2010237515A/en
Publication of JP2010237515A publication Critical patent/JP2010237515A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus that reduces the time to wait for transmission/reception of lens data without causing an error of lens data, and to provide a photographic lens. <P>SOLUTION: When the photographic lens 200 is attached to a camera body 100, the camera body 100 receives a lens identifier 21C and compares a stored lens identifier 22C stored in a flash memory 142 with the received lens identifier 21C. When they match each other, the lens data 21 is identified with the stored lens data 22, and the lens data 21 is not transferred. On the other hand, when the two lens identifiers 21C and 22C do not match each other, the camera body 100 receives the lens data 21 and writes the lens data 21 over the stored lens data 22. Thus, the lens data 21 of the photographic lens 200 is stored in the flash memory 142. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、撮影レンズを着脱可能に取り付け可能な撮像装置に関し、特に撮影レンズとの間でデータの送受信が行われる撮像装置に関する。   The present invention relates to an imaging apparatus to which a photographic lens can be detachably attached, and more particularly to an imaging apparatus that transmits and receives data to and from the photographic lens.

一般に、一眼レフカメラなどの撮像装置は、撮影レンズの着脱を自由に行うことができるよう構成されている。撮像装置に取り付け可能な撮影レンズの中には、撮影レンズに関するデータ(以下、レンズデータという)を撮像装置へ送信する撮影レンズが存在する。このような撮影レンズを撮像装置へ取り付けた場合、撮像装置は、撮影レンズから受信したレンズデータに基づいて、露出制御など各種の制御を行う。特許文献1では、撮影レンズを取り付けたときに撮影レンズから分光透過率特性のデータを受信するカメラが開示されている。   In general, an imaging apparatus such as a single-lens reflex camera is configured so that a photographing lens can be freely attached and detached. Among photographic lenses that can be attached to an imaging device, there is a photographic lens that transmits data relating to the photographic lens (hereinafter referred to as lens data) to the imaging device. When such a photographing lens is attached to the imaging device, the imaging device performs various controls such as exposure control based on lens data received from the photographing lens. Patent Document 1 discloses a camera that receives spectral transmittance characteristic data from a photographing lens when the photographing lens is attached.

特開2002−354490号公報JP 2002-354490 A

特許文献1に開示されているカメラでは、撮影レンズが取り付けられたときにのみ、撮影レンズから分光透過率特性を表す情報を取得する。しかしながら、撮影レンズのカメラへの取り付けが行われたとき、カメラが撮影レンズとの通信を行えない場合がある。例えば、カメラからバッテリが取り外されていた場合、カメラの通信回路に給電がなされないので、カメラは撮影レンズとの通信を行うことができない。この場合カメラは、現在取り付けられている撮影レンズのレンズデータではなく、以前に取り付けられていた撮影レンズのレンズデータに基づいて撮影レンズの制御を行ってしまう。   In the camera disclosed in Patent Document 1, information representing the spectral transmittance characteristic is acquired from the photographing lens only when the photographing lens is attached. However, when the photographic lens is attached to the camera, the camera may not be able to communicate with the photographic lens. For example, when the battery is removed from the camera, power is not supplied to the communication circuit of the camera, and the camera cannot communicate with the taking lens. In this case, the camera controls the photographic lens based on the lens data of the photographic lens that was previously attached, not the lens data of the photographic lens that is currently attached.

請求項1に係る発明は、撮影レンズ毎に異なるレンズ識別子を含む固有のレンズデータを備えた撮影レンズを、着脱可能に取り付けられる取付手段と、前記レンズデータを記憶する記憶手段と、前記取付手段に取り付けられている前記撮影レンズから前記レンズデータを受信する第1の通信手段と、電源投入操作または電源電池の装填が行われたときに前記第1の通信手段により受信されたレンズ識別子と、前記記憶手段に記憶されているレンズ識別子とが一致するか否かを判定する判定手段とを備え、前記第1の通信手段は、前記判定手段が行った否定判定に応じて前記レンズデータを受信することを特徴とする撮像装置である。
請求項7に係る発明は、撮影レンズ毎に異なるレンズ識別子を含む固有のレンズデータを備えた撮影レンズを、個々のコンバージョンレンズごとに異なるコンバージョンレンズ識別子を含む固有の補正データを備えたコンバージョンレンズを介して、着脱可能に取り付け可能であり、前記補正データに基づき前記レンズデータを補正して得られる補正済みレンズデータを制御に用いる撮像装置であって、前記補正済みレンズデータと前記補正データとを記憶する記憶手段と、前記コンバージョンレンズから前記補正済みレンズデータと前記補正データとを受信する通信手段と、電源投入操作または電源電池の装填が行われたときに前記通信手段により受信されたレンズ識別子と前記記憶手段に記憶されているレンズ識別子とが一致するか否か、および、電源投入操作が行われたときに前記通信手段により受信されたコンバージョンレンズ識別子と前記記憶手段に記憶されているコンバージョンレンズ識別子とが一致するか否かを判定する判定手段とを備え、前記通信手段は、前記判定手段が行った否定判定に応じて前記レンズデータを受信することを特徴とする撮像装置である。
請求項8に係る発明は、撮像装置に設けらた取付手段を介して前記撮像装置に着脱可能な撮影レンズにおいて、撮影レンズ毎に互いに異なるデータであり且つレンズ識別子及び該撮影レンズの固有の特性データを含むレンズデータを記憶する記憶手段と、取付手段を介して装着されている撮像装置に対してレンズデータを送信する通信手段と、を構成し、通信手段は、レンズデータを送信する際に、先ずレンズ識別子を特性データと分離した上で送信し、その後、所定条件が満たされるまで該特性データの送信を禁止することを特徴とする撮影レンズである。
According to a first aspect of the present invention, there is provided mounting means for detachably mounting a photographic lens having unique lens data including a lens identifier that differs for each photographic lens, storage means for storing the lens data, and the mounting means. A first communication means for receiving the lens data from the photographic lens attached to the lens; a lens identifier received by the first communication means when a power-on operation or a power battery is loaded; Determination means for determining whether or not the lens identifier stored in the storage means matches, and the first communication means receives the lens data in response to a negative determination made by the determination means. This is an imaging device.
The invention according to claim 7 includes a photographic lens having unique lens data including a lens identifier that is different for each photographic lens, and a conversion lens having unique correction data including a conversion lens identifier that is different for each individual conversion lens. An image pickup apparatus that is detachably attachable and uses corrected lens data obtained by correcting the lens data based on the correction data for control, the corrected lens data and the correction data being Storage means for storing; communication means for receiving the corrected lens data and the correction data from the conversion lens; and a lens identifier received by the communication means when a power-on operation or a power battery is loaded. Whether or not the lens identifier stored in the storage means matches And determining means for determining whether or not the conversion lens identifier received by the communication means when the power-on operation is performed matches the conversion lens identifier stored in the storage means, The communication unit is an imaging device that receives the lens data in response to a negative determination made by the determination unit.
According to an eighth aspect of the present invention, in a photographic lens that can be attached to and detached from the imaging device via an attachment means provided in the imaging device, the data is different for each photographic lens, and the lens identifier and the specific characteristics of the photographic lens A storage unit that stores lens data including data, and a communication unit that transmits lens data to the imaging device mounted via the mounting unit are configured. When the communication unit transmits the lens data, the communication unit transmits the lens data. First, the lens identifier is transmitted after being separated from the characteristic data, and then the transmission of the characteristic data is prohibited until a predetermined condition is satisfied.

本発明によれば、カメラボディに装着されている撮影レンズと、カメラボディ内のメモリに記憶されている撮影レンズに関するレンズデータとの錯誤が発生することない。また比較的にデータ量の多いレンズデータのカメラボディへの転送処理を、その必要な場合にのみ行うように構成したので、レンズデータの送受信による無用な待ち時間を削減することができる。   According to the present invention, there is no error between the photographic lens mounted on the camera body and the lens data related to the photographic lens stored in the memory in the camera body. In addition, since the lens data having a relatively large amount of data is transferred to the camera body only when necessary, unnecessary waiting time due to transmission / reception of lens data can be reduced.

本発明を適用した一眼レフタイプのカメラのカメラボディ100とカメラボディ100に装着する撮影レンズ200を示した斜視図である。1 is a perspective view showing a camera body 100 of a single-lens reflex camera to which the present invention is applied and a photographing lens 200 attached to the camera body 100. FIG. カメラボディ100および撮影レンズ200の構成を示すブロック図である。FIG. 2 is a block diagram illustrating configurations of a camera body 100 and a photographing lens 200. 撮影レンズ200が備える変換テーブルデータの例を示す図である。It is a figure which shows the example of the conversion table data with which the imaging lens 200 is provided. 2種類の通信モードで行われる通信の概要を示す図である。It is a figure which shows the outline | summary of the communication performed in two types of communication modes. カメラボディ100を電源オフ状態からオン状態に切り替えた場合の処理を示すフローチャートである。It is a flowchart which shows the process at the time of switching the camera body 100 from a power-OFF state to an ON state. 撮影レンズ200の取付をカメラボディ100が電源オフ状態のときに行った場合の処理を示すフローチャートである。6 is a flowchart showing processing when the photographic lens 200 is attached when the camera body 100 is in a power-off state. 撮影レンズ200の取付をカメラボディ100が電源オン状態のときに行った場合の処理を示すフローチャートである。6 is a flowchart showing processing when the photographic lens 200 is attached when the camera body 100 is in a power-on state. カメラボディ100によるレンズデータ21の受信処理、ならびに、撮影レンズ200によるレンズデータ21の送信処理を示すフローチャートである。4 is a flowchart showing a reception process of lens data 21 by the camera body 100 and a transmission process of lens data 21 by the photographing lens 200. 低速モードにおけるカメラボディ100と撮影レンズ200との接続を示す図である。It is a figure which shows the connection of the camera body 100 and the photographic lens 200 in a low speed mode. 高速モードにおけるカメラボディ100と撮影レンズ200との接続を示す図である。It is a figure which shows the connection of the camera body 100 and the photographic lens 200 in high speed mode. 低速モードにおけるデータ転送の信号例を示す図である。It is a figure which shows the example of a signal of the data transfer in a low speed mode. 高速モードにおけるデータ転送の信号例を示す図である。It is a figure which shows the example of a signal of the data transfer in high speed mode.

――第1の実施の形態――
図1〜2を参照して、カメラボディおよび撮影レンズについて、本発明を適用した第1の実施の形態を説明する。図1は、本発明を適用した一眼レフタイプのカメラのカメラボディ100とカメラボディ100に装着する撮影レンズ200を示した斜視図であり、図2は、カメラボディ100および撮影レンズ200の構成を示すブロック図である。カメラボディ100にはカメラボディ100の各部を制御する制御回路101と、撮像ユニット102と、レリーズボタン104と、カメラ側レンズマウント108と、記録媒体装着部100aとが設けられている。記録媒体装着部100aには記録媒体11が挿入されて取り付けられている。
-First embodiment-
With reference to FIGS. 1-2, 1st Embodiment to which this invention is applied is described about a camera body and a photographic lens. FIG. 1 is a perspective view showing a camera body 100 of a single-lens reflex camera to which the present invention is applied and a photographing lens 200 attached to the camera body 100. FIG. FIG. The camera body 100 is provided with a control circuit 101 that controls each part of the camera body 100, an imaging unit 102, a release button 104, a camera side lens mount 108, and a recording medium mounting portion 100a. The recording medium 11 is inserted and attached to the recording medium mounting portion 100a.

カメラボディ100は、クイックリターンミラー106を有する。カメラ側レンズマウント108は、カメラボディ100に対して撮影レンズ200が着脱可能に取り付けられる取付部である。カメラ側レンズマウント108は、複数の端子を含む電気的接続部109と、カメラボディへの撮影レンズ200の着脱を検出する不図示のメカニカルスイッチとを備える。電気的接続部109は、撮影レンズ200との間でデータ通信を行う複数の端子と撮影レンズ200へ電力供給を行う複数の端子とを有する。   The camera body 100 has a quick return mirror 106. The camera side lens mount 108 is an attachment portion to which the photographing lens 200 is detachably attached to the camera body 100. The camera side lens mount 108 includes an electrical connection portion 109 including a plurality of terminals and a mechanical switch (not shown) that detects attachment / detachment of the photographing lens 200 to / from the camera body. The electrical connection unit 109 includes a plurality of terminals that perform data communication with the photographing lens 200 and a plurality of terminals that supply power to the photographing lens 200.

撮影レンズ200は、レンズ側マウント201と、被写体像をカメラボディの撮像ユニット102に結像する不図示の撮影光学系と、制御回路205とを有する。レンズ側マウント201は、複数の端子を有する電気的接続部202と、カメラ側レンズマウント108のメカニカルスイッチを押圧する不図示の押圧部とを有する。電気的接続部202は、カメラボディ100との間でデータ通信を行う複数の端子とカメラボディ100からの電力供給を受ける複数の端子とを含む。   The photographic lens 200 includes a lens side mount 201, a photographic optical system (not shown) that forms a subject image on the imaging unit 102 of the camera body, and a control circuit 205. The lens side mount 201 includes an electrical connection unit 202 having a plurality of terminals and a pressing unit (not shown) that presses the mechanical switch of the camera side lens mount 108. The electrical connection unit 202 includes a plurality of terminals that perform data communication with the camera body 100 and a plurality of terminals that receive power supply from the camera body 100.

また、図2に示すように、カメラボディ100には測距センサ121と、測光センサ122と、モニタ123と、レリーズスイッチ124と、通信部125と、発光装置制御部126と、発光装置127と、電源制御回路128と、内蔵バッテリー129とが設けられている。測距センサ121は、撮影光学系の被写体への合焦状態を示す合焦情報を出力するセンサである。測光センサ122は、被写体像の明るさに応じた測光処理用の光電変換信号を出力するセンサである。   As shown in FIG. 2, the camera body 100 includes a distance measuring sensor 121, a photometric sensor 122, a monitor 123, a release switch 124, a communication unit 125, a light emitting device control unit 126, and a light emitting device 127. A power control circuit 128 and a built-in battery 129 are provided. The distance measuring sensor 121 is a sensor that outputs focusing information indicating a focusing state on a subject of the photographing optical system. The photometric sensor 122 is a sensor that outputs a photoelectric conversion signal for photometric processing corresponding to the brightness of the subject image.

モニタ123は、撮影で得られた画像や撮影に関する各種の情報などを表示するためのモニタであり、たとえば液晶表示装置が用いられて、カメラボディ100の背面に設けられている。レリーズスイッチ124は、レリーズボタン104に連動してレリーズ操作信号を制御回路101に出力する。レリーズ操作信号には、レリーズボタンの半押し操作に対応する半押し操作信号と、半押し操作より深く押下される全押し操作に対応する全押し操作信号とがある。通信部125は、カメラボディ100に取り付けられた撮影レンズ200と通信を行う。通信部125は更に、撮影レンズ200への電力供給を行う。通信部125による撮影レンズ200への電力供給は、通信部125に電力が供給されている場合にのみ行われる。発光装置制御部126は、発光装置127の発光を制御することで被写体に照射する照明光を制御する制御部であり、撮影レンズ200を介して被写体光の明るさを検出する不図示の測光センサを有している。   The monitor 123 is a monitor for displaying an image obtained by shooting, various information related to shooting, and the like, and is provided on the back surface of the camera body 100 using, for example, a liquid crystal display device. The release switch 124 outputs a release operation signal to the control circuit 101 in conjunction with the release button 104. The release operation signal includes a half-press operation signal corresponding to a half-press operation of the release button and a full-press operation signal corresponding to a full-press operation pressed deeper than the half-press operation. The communication unit 125 communicates with the photographing lens 200 attached to the camera body 100. The communication unit 125 further supplies power to the photographing lens 200. Power supply to the photographing lens 200 by the communication unit 125 is performed only when power is supplied to the communication unit 125. The light emitting device control unit 126 is a control unit that controls the illumination light irradiated to the subject by controlling the light emission of the light emitting device 127, and a photometric sensor (not shown) that detects the brightness of the subject light via the photographing lens 200. have.

電源制御回路128は、内蔵バッテリー129を電源とし、カメラボディ100に含まれる各部材に対して電力の供給を行う。カメラボディ100は、電源オフ状態、電源オン状態、および通信可能状態のうちいずれか1つの電源状態を採る。電源制御回路128は、カメラボディ100の電源状態に応じて、どの部材へ電力の供給を行うかを決定する。カメラボディ100が電源オフ状態のときは、電源制御回路128による電力の供給はどの部材に対しても一切行われない。カメラボディ100が電源オン状態のときは、電源制御回路128によりカメラボディ100が有する全ての部材へ電力の供給が行われる。通信可能状態のとき、電源制御回路128は通信部125,メインCPU137,メモリ141,フラッシュメモリ142にのみ電力を供給する。通信部125に電力が供給されている場合、通信部125により撮影レンズ200へ電力が供給される。すなわち、カメラボディ100が電源オン状態のとき、ならびに、カメラボディ100が通信可能状態のとき、撮影レンズ200へ電力が供給される。   The power supply control circuit 128 uses the built-in battery 129 as a power supply, and supplies power to each member included in the camera body 100. The camera body 100 takes any one of the power-off state, the power-on state, and the communicable state. The power control circuit 128 determines to which member power is supplied according to the power state of the camera body 100. When the camera body 100 is in the power off state, no power is supplied to any member by the power control circuit 128. When the camera body 100 is in the power-on state, power is supplied to all members of the camera body 100 by the power supply control circuit 128. In a communicable state, the power supply control circuit 128 supplies power only to the communication unit 125, the main CPU 137, the memory 141, and the flash memory 142. When power is supplied to the communication unit 125, power is supplied to the photographing lens 200 by the communication unit 125. That is, when the camera body 100 is in a power-on state and when the camera body 100 is in a communicable state, power is supplied to the photographing lens 200.

撮像ユニット102には、撮像素子2と、撮像素子2の前面に配設された光学フィルタ(不図示)とが一体的に設けられている。撮像素子2は、被写体像を電気的画像信号に変換する素子であるCCDやCMOSなどのイメージセンサによって構成される。撮像素子2は、撮影レンズ200を通過した被写体光による像を撮像し、撮像信号(アナログ撮像信号)を出力する。記録媒体11は、たとえばメモリカードのようにカメラボディ100に着脱可能な記憶媒体であり、後述するように制御回路101で所定の処理が施された画像データを保存する。   The imaging unit 102 is integrally provided with the imaging element 2 and an optical filter (not shown) disposed on the front surface of the imaging element 2. The image sensor 2 is constituted by an image sensor such as a CCD or CMOS which is an element for converting a subject image into an electrical image signal. The image sensor 2 captures an image of subject light that has passed through the photographing lens 200 and outputs an image signal (analog image signal). The recording medium 11 is a storage medium that can be attached to and detached from the camera body 100, such as a memory card, and stores image data that has been subjected to predetermined processing by the control circuit 101 as will be described later.

図2に示すように、撮影レンズ200にはレンズ側ブレ補正装置(レンズ側VR装置)210と、レンズ駆動装置220と、通信部240とが設けられている。レンズ側VR装置210は、撮影レンズ200および撮影レンズ200が取り付けられたカメラボディ100の振れによる光学像のブレを補正するための装置である。レンズ側VR装置210には、撮影レンズ200の姿勢変化(撮影レンズ200のブレ量)を検出するための加速度センサ(レンズ側加速度センサ)210aと、撮像素子2の撮像面上における被写体像のブレを補正する不図示のブレ補正光学系と、ブレ補正光学系を駆動する不図示の駆動装置が設けられている。レンズ駆動装置220は、制御回路205からの指示に応じて不図示のフォーカスレンズを光軸方向に進退駆動させる。なお、撮影レンズ200には、手動でピント調節を行うために不図示のフォーカス環が設けられており、ユーザが手動でピント合わせを行うことができる。通信部240は、撮影レンズ200が取り付けられたカメラボディ100と通信を行う。   As shown in FIG. 2, the photographing lens 200 is provided with a lens side blur correction device (lens side VR device) 210, a lens driving device 220, and a communication unit 240. The lens side VR device 210 is a device for correcting blurring of an optical image due to shake of the photographing lens 200 and the camera body 100 to which the photographing lens 200 is attached. The lens-side VR device 210 includes an acceleration sensor (lens-side acceleration sensor) 210 a for detecting a change in posture of the photographing lens 200 (amount of blur of the photographing lens 200), and a blur of a subject image on the imaging surface of the image sensor 2. A blur correction optical system (not shown) that corrects the image and a drive device (not shown) that drives the blur correction optical system are provided. The lens driving device 220 drives a focus lens (not shown) to advance and retreat in the optical axis direction in response to an instruction from the control circuit 205. The photographing lens 200 is provided with a focus ring (not shown) for manual focus adjustment, and the user can manually focus. The communication unit 240 communicates with the camera body 100 to which the photographing lens 200 is attached.

撮影レンズ200をカメラボディ100のカメラ側レンズマウント108に装着すると、撮影レンズ200の接続部202とカメラボディ100の接続部109とが接続される。また、撮影レンズ200をカメラボディ100のカメラ側レンズマウント108に装着すると、カメラ側レンズマウント108に設けられた不図示のメカニカルスイッチがカメラ側レンズマウント108に設けられた不図示の押圧部により押圧され、カメラボディ100が撮影レンズ200の装着を検出する。   When the photographing lens 200 is attached to the camera-side lens mount 108 of the camera body 100, the connection part 202 of the photographing lens 200 and the connection part 109 of the camera body 100 are connected. When the photographic lens 200 is attached to the camera side lens mount 108 of the camera body 100, a mechanical switch (not shown) provided on the camera side lens mount 108 is pressed by a pressing part (not shown) provided on the camera side lens mount 108. Then, the camera body 100 detects the mounting of the taking lens 200.

図2に示すように、カメラボディ100の制御回路101は、AFE(Analog Front End)回路131と、A/D変換回路132と、ドライバ133と、タイミングジェネレータ(TG)134と、画像処理回路135と、画像圧縮回路136と、メインCPU137と、バッファメモリ138と、表示画像作成回路139とを備えている。   As shown in FIG. 2, the control circuit 101 of the camera body 100 includes an AFE (Analog Front End) circuit 131, an A / D conversion circuit 132, a driver 133, a timing generator (TG) 134, and an image processing circuit 135. An image compression circuit 136, a main CPU 137, a buffer memory 138, and a display image creation circuit 139.

タイミングジェネレータ(TG)134は、メインCPU137から送出される指示に応じてタイミング信号を発生し、ドライバ133、AFE回路131およびA/D変換回路132のそれぞれにタイミング信号を供給する。ドライバ133は、タイミング信号を用いて撮像素子2が撮像するために必要な駆動信号を生成し、生成した駆動信号を撮像素子2へ供給する。AFE回路131は、撮像素子2から出力される光電変換信号に対するアナログ処理(ゲインコントロールなど)を行う。A/D変換回路132は、アナログ処理後の撮像信号をデジタル信号に変換する。   The timing generator (TG) 134 generates a timing signal in response to an instruction sent from the main CPU 137 and supplies the timing signal to each of the driver 133, the AFE circuit 131, and the A / D conversion circuit 132. The driver 133 generates a drive signal necessary for the image sensor 2 to capture an image using the timing signal, and supplies the generated drive signal to the image sensor 2. The AFE circuit 131 performs analog processing (such as gain control) on the photoelectric conversion signal output from the image sensor 2. The A / D conversion circuit 132 converts the imaging signal after analog processing into a digital signal.

メインCPU137は、各ブロックから出力される信号を入力して所定の演算を行い、演算結果に基づく制御信号を各ブロックへ出力する。画像処理回路135は、たとえばASICとして構成され、A/D変換回路132から入力されるデジタル画像信号に対する画像処理を行う。画像処理には、たとえば、撮像素子2上の所定領域ごとに対応させて被写体輝度やコントラストなどを検出するためのグルーピング処理、撮像素子2からの画像信号に対する輪郭強調や色温度調整(ホワイトバランス調整)処理、レンズデータの情報に基づいた後述する画像補正処理、画像信号に対するフォーマット変換処理等が含まれる。   The main CPU 137 receives a signal output from each block, performs a predetermined calculation, and outputs a control signal based on the calculation result to each block. The image processing circuit 135 is configured as an ASIC, for example, and performs image processing on the digital image signal input from the A / D conversion circuit 132. For image processing, for example, grouping processing for detecting subject brightness, contrast, and the like corresponding to each predetermined area on the image sensor 2, contour enhancement and color temperature adjustment (white balance adjustment) for the image signal from the image sensor 2 ) Processing, image correction processing to be described later based on lens data information, format conversion processing for the image signal, and the like.

画像圧縮回路136は、画像処理回路135による処理後の画像信号に対して、JPEG方式で所定の圧縮比率で画像圧縮処理を行う。表示画像作成回路139は、撮像画像をモニタ123に表示させるための表示データを作成する。   The image compression circuit 136 performs image compression processing on the image signal processed by the image processing circuit 135 at a predetermined compression ratio using the JPEG method. The display image creation circuit 139 creates display data for displaying the captured image on the monitor 123.

記録媒体装着部100aに装着された記録媒体11には、メインCPU137からの指示によって撮影画像のデータおよびその情報を含む画像ファイルが記録される。記録媒体11に記録された画像ファイルは、メインCPU137からの指示によって読み出しが可能である。バッファメモリ138は、画像処理前後および画像処理途中のデータを一時的に格納する他、記録媒体11へ記録する前の画像ファイルを格納したり、記録媒体11から読み出した画像ファイルを格納したりするために使用される。   In the recording medium 11 mounted on the recording medium mounting unit 100a, the image file including the data of the captured image and the information thereof is recorded according to an instruction from the main CPU 137. The image file recorded on the recording medium 11 can be read by an instruction from the main CPU 137. The buffer memory 138 temporarily stores data before and after image processing and in the middle of image processing, stores an image file before recording on the recording medium 11, and stores an image file read from the recording medium 11. Used for.

また、カメラボディ100の制御回路101は、メモリ141およびフラッシュメモリ142を備えている。メモリ141は、制御プログラムやあらかじめ設定された各種設定値等を格納するROMおよび作業エリアのRAMを含むメモリである。このROMには、カメラボディ100に固有のボディデータが記録されている。ボディデータには、例えばレンズ側VR装置210が利用するカメラボディ100の重量など、撮影レンズ200が利用するカメラボディ100の情報が含まれている。メインCPU137は、メモリ141にアクセスして制御プログラムを実行し、各種の制御を行う。フラッシュメモリ142には、撮影レンズ200から送出されたレンズデータ(後述)が格納される。   The control circuit 101 of the camera body 100 includes a memory 141 and a flash memory 142. The memory 141 is a memory including a ROM for storing a control program, various setting values set in advance, and a RAM for a work area. Body data unique to the camera body 100 is recorded in the ROM. The body data includes information about the camera body 100 used by the photographing lens 200, such as the weight of the camera body 100 used by the lens-side VR device 210, for example. The main CPU 137 accesses the memory 141, executes a control program, and performs various controls. The flash memory 142 stores lens data (described later) sent from the taking lens 200.

撮影レンズ200の制御回路205は、メインCPU231と、メモリ232とを備えている。メインCPU231は、各ブロックから出力される信号を入力して所定の演算を行い、演算結果に基づく制御信号を各ブロックへ出力する。メモリ232は、制御プログラムやレンズデータ等を格納するROMおよび作業エリアのRAMを含むメモリである。   The control circuit 205 of the photographing lens 200 includes a main CPU 231 and a memory 232. The main CPU 231 inputs a signal output from each block, performs a predetermined calculation, and outputs a control signal based on the calculation result to each block. The memory 232 is a memory including a ROM for storing control programs, lens data, and the like, and a RAM for a work area.

次に、レンズデータについて説明する。レンズデータは、撮影レンズ200の特性を表すデータであり、個々の撮影レンズごとに設定された固定データである。レンズデータには、焦点距離、ズーム位置、開放F値に関する変換テーブルデータ(後に詳述する)と、撮影レンズ200の光学的特性を表すデータと、撮影レンズの個体ごとに異なるレンズ識別子とが含まれる。   Next, lens data will be described. The lens data is data representing the characteristics of the photographing lens 200, and is fixed data set for each individual photographing lens. The lens data includes conversion table data (to be described in detail later) regarding focal length, zoom position, and open F value, data representing optical characteristics of the photographing lens 200, and lens identifiers that differ for each individual photographing lens. It is.

撮影レンズ200の固定データのうちの光学的特性を表すデータとしては、たとえば、倍率色収差パラメータや、軸上色収差パラメータ、コマ収差パラメータ、歪曲収差パラメータ、周辺減光パラメータ、γ値パラメータ、ホワイトバランスパラメータ、輪郭補正パラメータ、ケラレに関するパラメータ、絞り値によるピントズレ量に関するパラメータ、などがある。
なお上記のうち例えば収差データなどは、撮影レンズ200に含まれる可動レンズ(ズームレンズやフォーカシングレンズ)の光軸方向における位置によって変動するものである。このような収差データは、撮影レンズの像高位置毎に、後述する図3(c)と同様な変換テーブルデータの形式で、又は像高位置毎の収差を表す近似式の係数の形式で、可動レンズの位置に応じたデータとして、撮影レンズ200内のメモリ232に記憶されている。
Examples of data representing the optical characteristics of the fixed data of the photographing lens 200 include, for example, magnification chromatic aberration parameters, axial chromatic aberration parameters, coma aberration parameters, distortion aberration parameters, peripheral dimming parameters, γ value parameters, and white balance parameters. , Contour correction parameters, parameters related to vignetting, parameters related to the amount of defocus due to the aperture value, and the like.
Of the above, for example, the aberration data varies depending on the position of the movable lens (zoom lens or focusing lens) included in the photographing lens 200 in the optical axis direction. Such aberration data is in the form of conversion table data similar to that described later with reference to FIG. 3C for each image height position of the photographic lens, or in the form of a coefficient of an approximate expression representing the aberration for each image height position. Data corresponding to the position of the movable lens is stored in the memory 232 in the photographing lens 200.

なお、レンズデータが、上述した3種類とは異なるデータを含んでいてもよい。たとえば、カメラボディ側からのレンズ駆動指令1パルスあたりの像面移動量に関するデータや、レンズ駆動系のガタ(メカガタ)に関するデータ(駆動量差分情報)等のような、撮影レンズ200の焦点調節に関する情報を含んでいてもよい。以上で述べたレンズデータはすべてROM232に格納され、変更が行われることはない。
以上のように、レンズデータは、上述の如き多様な種類の、且つ大量のデータを含むものである。
The lens data may include data different from the above three types. For example, it relates to the focus adjustment of the photographing lens 200, such as data relating to the image plane movement amount per pulse of the lens drive command from the camera body side, data relating to the play (mechanical play) of the lens drive system (drive amount difference information), and the like. Information may be included. All the lens data described above is stored in the ROM 232 and is not changed.
As described above, the lens data includes various types of data as described above and a large amount of data.

カメラボディ100は、以上で説明したレンズデータをフラッシュメモリ142に格納し、撮影レンズ200の制御や各種の画像処理を行う。カメラボディ100が電源オン状態のときに撮影レンズ200が取り付けられると、その取付(装着)に応じて、カメラボディ100に設けられている不図示のメカニカルスイッチが押下され、メインCPU137へメカニカルスイッチが押下されたことを表す信号が入力される。これにより、カメラボディ100は撮影レンズ200の装着を検知することができる。撮影レンズ200の装着を検知したカメラボディ100は、装着された撮影レンズ200のレンズデータがフラッシュメモリ142に格納されているかどうかをレンズ識別子21Cを用いて調べる。フラッシュメモリ142にレンズデータが格納されていないか、あるいはフラッシュメモリ142に格納されているレンズデータが現在装着されている撮影レンズ200のレンズデータとは異なると判断した場合には、撮影レンズ200からレンズデータを受信してフラッシュメモリ142へ格納する。   The camera body 100 stores the lens data described above in the flash memory 142, and controls the photographing lens 200 and performs various image processing. When the photographing lens 200 is attached when the camera body 100 is in the power-on state, a mechanical switch (not shown) provided in the camera body 100 is pressed according to the attachment (attachment), and the mechanical switch is connected to the main CPU 137. A signal indicating that the button has been pressed is input. Thereby, the camera body 100 can detect the mounting of the photographing lens 200. The camera body 100 that has detected the mounting of the photographic lens 200 checks whether the lens data of the mounted photographic lens 200 is stored in the flash memory 142 using the lens identifier 21C. If it is determined that the lens data is not stored in the flash memory 142 or that the lens data stored in the flash memory 142 is different from the lens data of the currently mounted photographic lens 200, the photographic lens 200 The lens data is received and stored in the flash memory 142.

他方、カメラボディ100が電源オフ状態のときに撮影レンズ200が取り付けられると、不図示のメカニカルスイッチが押下されることにより、電源制御回路128へメカニカルスイッチが押下されたことを表す信号が入力される。電源制御回路128はこの信号に対応して、カメラボディ100の電源状態を電源オフ状態から通信可能状態に遷移させる。通信可能状態となったカメラボディ100は、前述した電源オン状態の場合と同様に、装着された撮影レンズ200のレンズデータがフラッシュメモリ142に格納されているかを調べる。そして、フラッシュメモリ142にレンズデータが格納されていないか、あるいはフラッシュメモリ142に格納されているレンズデータが現在装着されている撮影レンズ200のレンズデータとは異なると判断した場合には、撮影レンズ200からレンズデータを受信してフラッシュメモリ142へ格納する。カメラボディ100は、以上の処理を実行後、再び電源オフ状態へ遷移する。   On the other hand, when the photographing lens 200 is attached when the camera body 100 is in the power-off state, a signal indicating that the mechanical switch is pressed is input to the power control circuit 128 by pressing a mechanical switch (not shown). The In response to this signal, the power control circuit 128 changes the power state of the camera body 100 from the power-off state to the communicable state. The camera body 100 in the communicable state checks whether the lens data of the attached photographing lens 200 is stored in the flash memory 142 as in the case of the power-on state described above. If it is determined that the lens data is not stored in the flash memory 142 or that the lens data stored in the flash memory 142 is different from the lens data of the currently mounted photographic lens 200, the photographic lens Lens data is received from 200 and stored in the flash memory 142. The camera body 100 transitions to the power-off state again after executing the above processing.

次に、レンズデータに含まれる変換テーブルデータについて説明する。撮影レンズ200はいわゆるズームレンズであり、ズーム操作によりその焦点距離が変化する。また、撮影レンズ200は焦点調節操作によりフォーカス位置(ここでは、焦点調節された被写体の位置、すなわち距離をフォーカス位置という)が変化する。撮影レンズ200は、その開放F値も焦点距離の変化やフォーカス位置の変化に応じて変動する。これらの焦点距離とフォーカス位置と開放F値とに関するデータ(焦点距離そのものの数値データと、フォーカス位置そのものの数値データと、開放F値そのものの数値データ)を、撮影レンズ200の光学系データと呼ぶ。   Next, conversion table data included in the lens data will be described. The photographing lens 200 is a so-called zoom lens, and its focal length is changed by a zoom operation. Further, the focus position of the photographing lens 200 (here, the position of the subject whose focus is adjusted, that is, the distance is referred to as the focus position) is changed by the focus adjustment operation. The photographic lens 200 also changes its open F value according to a change in focal length or a change in focus position. The data regarding the focal length, the focus position, and the open F value (the numerical data of the focal length itself, the numerical data of the focus position itself, and the numerical data of the open F value itself) are referred to as optical system data of the photographing lens 200. .

カメラボディ100は、上述の光学系データを用いて画像処理や撮影レンズ200の制御を行うので、撮影動作中は撮影レンズ200の光学系データをリアルタイムで取得する必要がある。本実施形態における撮影レンズ200は、カメラボディ100へ光学系データ(焦点距離そのものの数値データと、フォーカス位置そのものの数値データと、開放F値そのものの数値データ)を送信する代わりに、予め撮影レンズ200からカメラボディ100へ送信しておいた変換テーブルデータ(撮影レンズ200内のメモリ232に記憶されているもの)を用いて光学系データに変換される、状態データ(詳細は後述)と称するデータを送信する。すなわち撮影レンズ200は、光学系データをメモリ232内の変換テーブルデータで状態データに変換した後に、その状態データをカメラボディ100へ送信する。ここで、状態データとは、そのデータ量が光学系データ(即ち各状態量そのものの数値データ)よりも小さいデータである。カメラボディ100は、その受信した状態データを、撮影レンズ200の変換テーブルデータを用いて変換することにより、撮影レンズ200の光学系データを取得することができる。以下では、変換テーブルデータの内容と、光学系データの取得方法について説明する。   Since the camera body 100 performs image processing and control of the photographing lens 200 using the above-described optical system data, it is necessary to acquire the optical system data of the photographing lens 200 in real time during the photographing operation. The photographic lens 200 in this embodiment is not limited to transmitting optical system data (numerical data of the focal length itself, numerical data of the focus position itself, and numerical data of the open F value itself) to the camera body 100 in advance. Data referred to as status data (details will be described later) converted to optical system data using conversion table data (stored in the memory 232 in the photographing lens 200) transmitted from the camera 200 to the camera body 100. Send. That is, the photographic lens 200 transmits the state data to the camera body 100 after converting the optical system data into the state data using the conversion table data in the memory 232. Here, the state data is data whose data amount is smaller than optical system data (that is, numerical data of each state amount itself). The camera body 100 can acquire the optical system data of the photographing lens 200 by converting the received state data using the conversion table data of the photographing lens 200. Below, the content of the conversion table data and the acquisition method of optical system data are demonstrated.

図3は、撮影レンズ200が備える変換テーブルデータの例を示す図である。図3(a)には焦点距離テーブル12Aが、図3(b)にはフォーカス位置テーブル12Bが、図3(c)には開放F値テーブル12Cが、それぞれ示されている。   FIG. 3 is a diagram illustrating an example of conversion table data included in the photographing lens 200. FIG. 3A shows a focal length table 12A, FIG. 3B shows a focus position table 12B, and FIG. 3C shows an open F value table 12C.

フォーカス位置テーブル12Aには、撮影光学系のフォーカス位置の設定値一覧が格納されており、設定値の各々には、1から始まるインデックス値が割り当てられている。本実施形態におけるフォーカス位置テーブル12Aには、10通りの設定値が格納されている。
焦点距離テーブル12Bには、撮影光学系の焦点距離の設定値一覧が格納されており、設定値の各々には、1から始まるインデックス値が割り当てられている。本実施形態における焦点距離テーブル12Bには、10通りの設定値が格納されている。
なお、フォーカス位置テーブル12Aおよび焦点距離テーブル12Bに格納される設定値は、10通りより多くても少なくてもよい。また、これら2つのテーブルにそれぞれ格納されている設定値の数は、互いに異なっていてもよい。
The focus position table 12A stores a set value list of focus positions of the photographing optical system, and an index value starting from 1 is assigned to each set value. Ten setting values are stored in the focus position table 12A in the present embodiment.
The focal length table 12B stores a list of set values of the focal length of the photographing optical system, and an index value starting from 1 is assigned to each set value. Ten set values are stored in the focal length table 12B in this embodiment.
The set values stored in the focus position table 12A and the focal length table 12B may be more or less than ten. The number of setting values stored in each of these two tables may be different from each other.

開放F値テーブル12Cは、撮影光学系のフォーカス位置および焦点距離に対応する開放F値が格納されているテーブルである。例えば、フォーカス位置が無限遠(インデックス値1)、焦点距離が200mm(インデックス値10)に設定されている場合、図3(c)より、開放F値は5.6となる。本実施形態では、焦点距離の設定値が10通り存在し、フォーカス位置の設定値が10通り存在するので、開放F値テーブル12Cには10×10=100通りの設定値が格納されている。
これら3つのテーブル12A〜12Cを具備することによって、焦点距離とフォーカス位置という2種類の情報さえ入手できれば、図3(c)のテーブル12cを使って開放F値という第3の情報(3種目の情報)も入手することができる。
The open F value table 12C is a table in which open F values corresponding to the focus position and focal length of the photographing optical system are stored. For example, when the focus position is set to infinity (index value 1) and the focal length is set to 200 mm (index value 10), the open F value is 5.6 from FIG. In the present embodiment, there are 10 types of setting values for the focal length and 10 types of setting values for the focus position. Therefore, 10 × 10 = 100 setting values are stored in the open F value table 12C.
By providing these three tables 12A to 12C, if only two types of information such as focal length and focus position can be obtained, the third information (third type of open F value) can be obtained using the table 12c of FIG. Information) is also available.

以下、これら3つのテーブルを用いて撮影レンズ200の光学系データを取得する方法を説明する。なお、カメラボディ100には、撮影レンズ200から取得した変換テーブルデータが既に格納されているものとする。撮影レンズ200は、フォーカス位置テーブル12Aを参照して、撮影光学系の現在のフォーカス位置(換言すればフォーカシングレンズの位置)に対応するインデックス値を取得する。同様に撮影レンズ200は、焦点距離テーブル12Bを参照して、撮像光学系の現在の焦点距離(換言すればズームレンズの位置)に対応するインデックス値を取得する。その後撮影レンズ200は、これら2つのインデックス値をカメラボディ100へ送信する。カメラボディ100は、上記の2つのインデックス値を受信し、フォーカス位置テーブル12Aおよび焦点距離テーブル12Bを参照することにより撮影光学系のフォーカス位置および焦点距離を、開放F値テーブル12Cを参照することにより撮影光学系の開放F値をそれぞれ取得する。
ここで、上記の2つのインデックス値を、撮影レンズ200の状態データと呼ぶ。インデックス値は、そのデータ量としては、各状態量そのものの数値データ(例えば「200mm」という焦点距離のデータ量)よりも少なくて済むものである。そして更に、上述のように、フォーカス位置と焦点距離をそれぞれ示す2つのインデックス値(状態データ)を送信することで、結果的に3種類の光学系データ(フォーカス位置と焦点距離と開放F値)をカメラボディ側に伝達することになるので、少ない送信データ量で、それ以上の情報をカメラボディ100に伝達することが出来る。
Hereinafter, a method for acquiring optical system data of the photographing lens 200 using these three tables will be described. It is assumed that the conversion table data acquired from the photographing lens 200 has already been stored in the camera body 100. The photographic lens 200 refers to the focus position table 12A and acquires an index value corresponding to the current focus position of the photographic optical system (in other words, the position of the focusing lens). Similarly, the photographic lens 200 refers to the focal length table 12B and acquires an index value corresponding to the current focal length of the imaging optical system (in other words, the position of the zoom lens). Thereafter, the photographing lens 200 transmits these two index values to the camera body 100. The camera body 100 receives the above two index values and refers to the focus position table 12A and the focal length table 12B to refer to the focus position and focal length of the photographing optical system, and to the open F value table 12C. The open F value of the photographing optical system is acquired.
Here, the above two index values are referred to as state data of the photographing lens 200. The data amount of the index value is smaller than the numerical data of each state quantity itself (for example, the data amount of the focal length “200 mm”). Further, as described above, by transmitting two index values (state data) respectively indicating the focus position and the focal length, three types of optical system data (the focus position, the focal length, and the open F value) are consequently obtained. Therefore, more information can be transmitted to the camera body 100 with a small amount of transmission data.

次に、カメラボディ100と撮影レンズ200との間で行われる通信の概略を説明する。カメラボディ100と撮影レンズ200との間で転送されるデータとしては、レンズデータ、状態データ、ボディデータ、制御データ、および、焦点調整データがある。
ここで制御データは、撮影レンズ200を制御するための制御命令を含んだデータや、撮影レンズ200へレンズ識別子を送信するよう指示するレンズ識別子リクエストなどのデータである。
また、焦点調整データは、撮影レンズ200の撮影光学系に含まれるフォーカスレンズの、移動量および移動方向を表すデータである。より具体的には、フォーカシングレンズの移動量および移動方向を表す2つのパルス列信号であって、この2つのパルス列信号のパルス数で移動量を表し、両者の位相差で移動方向を表すものである。
Next, an outline of communication performed between the camera body 100 and the photographing lens 200 will be described. Data transferred between the camera body 100 and the taking lens 200 includes lens data, state data, body data, control data, and focus adjustment data.
Here, the control data is data including a control command for controlling the photographing lens 200, or data such as a lens identifier request for instructing the photographing lens 200 to transmit a lens identifier.
The focus adjustment data is data representing the amount and direction of movement of the focus lens included in the photographing optical system of the photographing lens 200. More specifically, there are two pulse train signals representing the amount and direction of movement of the focusing lens, the amount of movement being represented by the number of pulses of the two pulse train signals, and the direction of movement being represented by the phase difference between the two. .

本実施形態には一方向通信モード(以下では高速モードとも称する)および双方向通信モード(以下では低速モードとも称する)と呼称する2種類の通信モードが存在する。これら2種類の通信モードは、後述の如く、その通信方法が互いに異なるものである。
高速モードはレンズデータ、ボディデータ、および制御データを転送する際に用いられる通信モードである。高速モードによる通信は全二重(即ち別個の一方向通信ラインを用いた双方向の並列通信)で行うことが可能であり、また、大きなデータの転送に対応するためバースト転送を行う。これにより、高速モードによる通信は、低速モードよりも高速な通信が可能となっている。
他方、低速モードは、状態データ、焦点調整データ、および制御データの転送に用いられる通信モードである。この低速モードでは、双方向での通信(一方から他方への要求通信と、その要求に応じた他方から一方への応答通信)を行うために使用される通信ライン(通信接点)が兼用されているモードである。兼用の通信ラインを用いて双方向通信を行うためには、通信方向の切り替えを行う必要がある。更には、一方から他方への通信の途中で他方から一方への通信を開始できない(換言すれば、他方から一方への通信を開始するには、一方から他方への通信終了を待たなければならないこと)。このような理由から、低速モードにおいて、たとえば一方から他方へのある所定量のデータの要求と、それに応じた他方から一方への所定量のデータ転送という双方向通信を行う場合には、高速モードよりもデータ転送に時間がかかる(換言すれば、高速モードよりも低速な通信を行う)。
なお、本実施の形態では、撮影レンズの交換直後やカメラボディの電源ON直後などの、焦点調整データの通信を行う必要のないタイミングにおいて、高速モードでレンズデータの通信を行うようになっておいる。その一方で、撮影動作中(焦点調整データの通信を行う必要がある期間)は、低速モードで、状態データの通信を行うようになっている。
以下、それぞれの通信モードにおける通信内容および通信手順について、図4を用いて説明する。
In this embodiment, there are two types of communication modes called a one-way communication mode (hereinafter also referred to as a high-speed mode) and a bidirectional communication mode (hereinafter also referred to as a low-speed mode). These two communication modes have different communication methods as will be described later.
The high speed mode is a communication mode used when transferring lens data, body data, and control data. Communication in the high-speed mode can be performed in full duplex (that is, bidirectional parallel communication using separate one-way communication lines), and burst transfer is performed in order to cope with large data transfer. Thereby, the communication in the high speed mode can be performed at a higher speed than in the low speed mode.
On the other hand, the low-speed mode is a communication mode used for transferring state data, focus adjustment data, and control data. In this low-speed mode, a communication line (communication contact) used for bidirectional communication (request communication from one to the other and response communication from the other to the one according to the request) is also used. Mode. In order to perform bidirectional communication using the dual-purpose communication line, it is necessary to switch the communication direction. Furthermore, communication from one to the other cannot be started in the middle of communication from one to the other (in other words, in order to start communication from one to the other, the end of communication from one to the other must be waited) thing). For this reason, in the low speed mode, for example, when performing bidirectional communication of requesting a predetermined amount of data from one to the other and transferring a predetermined amount of data from the other to the corresponding one, the high speed mode It takes longer time to transfer data (in other words, the communication is slower than the high speed mode).
In the present embodiment, the lens data is communicated in the high-speed mode at the timing when the focus adjustment data need not be communicated, such as immediately after the taking lens is replaced or immediately after the camera body is turned on. Yes. On the other hand, during the shooting operation (period in which the focus adjustment data needs to be communicated), the status data is communicated in the low speed mode.
Hereinafter, communication contents and communication procedures in each communication mode will be described with reference to FIG.

図4は、2種類の通信モードで行われる通信の概要を示す図である。まず、図4(a)を用いて低速モードによる通信を説明し、その後、図4(b)を用いて高速モードによる通信を説明する。   FIG. 4 is a diagram illustrating an outline of communication performed in two types of communication modes. First, communication in the low speed mode will be described with reference to FIG. 4A, and then communication in the high speed mode will be described with reference to FIG. 4B.

図4(a)に示すように、カメラボディ100と撮影レンズ200との間には、2つの通信路33,34が存在する。低速モードでは、通信路33を前述の状態データおよび制御データ(制御指令)の転送に、通信路34を、撮影動作に伴う焦点調節動作を制御するのに必要な上述の焦点調整データ(フォーカシングレンズの移動量および移動方向を表す2つのパルス列信号)の転送に用いる。すなわち、この低速モードによる通信では、撮影レンズ200から撮影光学系の焦点調節状態(フォーカシング状態)や焦点距離調節状態(ズーミング状態)を表すデータがカメラボディ100に送られ、カメラボディ100からは撮影レンズ200へ撮影に関わる各種の制御命令(例えば、焦点調節のためにフォーカシングレンズを駆動させる制御命令など)や各種データのリクエストを表すデータが送られる。   As shown in FIG. 4A, there are two communication paths 33 and 34 between the camera body 100 and the photographing lens 200. In the low-speed mode, the communication path 33 is used to transfer the above-described state data and control data (control command), and the communication path 34 is used to control the focus adjustment operation associated with the photographing operation. Used to transfer two pulse train signals representing the amount of movement and the direction of movement). That is, in this communication in the low speed mode, data representing the focus adjustment state (focusing state) and the focal length adjustment state (zooming state) of the photographing optical system is sent from the photographing lens 200 to the camera body 100, and the camera body 100 takes a photograph. Various control commands related to photographing (for example, control commands for driving the focusing lens for focus adjustment) and data representing various data requests are sent to the lens 200.

以下、カメラボディ100が低速モードによる通信を行って、撮影光学系の焦点調節状態や焦点距離調節状態を表すデータを取得する手順を、図4(a)を用いて説明する。まず、カメラボディ100から撮影レンズ200へ、通信路33を介して、状態データリクエスト25が送信される。撮影レンズ200は、そのリクエスト25に応じて、通信路33を介して、状態データ26をカメラボディ100へ送信する。前述の通り、状態データ26は2つのインデックス値である。そして上述の通り、状態データリクエスト25および状態データ26は共に通信路33を通じて送信される。即ち、このときの通信路33は、カメラボディ100からのリクエスト25の送信路であり、且つ撮影レンズ200からの状態データ26の送信路としても兼用される双方向通信路となっている。このため通信路33を介した双方向通信では、カメラボディ100から撮影レンズ200への通信を行う場合と、撮影レンズ200からカメラボディ100への通信を行う場合とで、信号の授受方向(通信方向)の切り替えを行う必要がある。この切り替え動作については後述する。   Hereinafter, a procedure in which the camera body 100 performs communication in the low speed mode and acquires data representing the focus adjustment state and the focal length adjustment state of the photographing optical system will be described with reference to FIG. First, the state data request 25 is transmitted from the camera body 100 to the photographing lens 200 via the communication path 33. In response to the request 25, the photographic lens 200 transmits the state data 26 to the camera body 100 via the communication path 33. As described above, the state data 26 is two index values. As described above, both the status data request 25 and the status data 26 are transmitted through the communication path 33. That is, the communication path 33 at this time is a transmission path for the request 25 from the camera body 100 and a bidirectional communication path that is also used as a transmission path for the status data 26 from the photographing lens 200. For this reason, in the bidirectional communication via the communication path 33, the signal transmission / reception direction (communication) is determined depending on whether the communication from the camera body 100 to the photographing lens 200 is performed or the communication from the photographing lens 200 to the camera body 100 is performed. (Direction) must be switched. This switching operation will be described later.

状態データ26を受信したカメラボディ100は、あらかじめ取得しておいた撮影レンズ200の変換テーブルデータ27を用いて、受信した状態データ26を変換する。この変換により、撮影レンズ200の光学系データ、すなわち、焦点距離データ28、フォーカス位置データ29、および開放F値データ30が得られる。カメラボディ100はこれら3つのデータを用いて、画像処理および撮影レンズ200の制御を行う。   The camera body 100 that has received the state data 26 converts the received state data 26 using the conversion table data 27 of the photographing lens 200 acquired in advance. By this conversion, optical system data of the photographing lens 200, that is, focal length data 28, focus position data 29, and open F value data 30 are obtained. The camera body 100 uses these three data to perform image processing and control of the photographing lens 200.

また撮影レンズ200は、上述した通信路33を用いる通信と並行して、上述の焦点調整データ31(フォーカシングレンズの移動量および移動方向を表す2つのパルス列信号)をカメラボディ100へ送信する。焦点調整データ31の転送には通信路34が用いられ、通信路33を用いる通信とは非同期に行われる。具体的には、撮影光学系のフォーカスレンズが移動する度に、撮影レンズ200からカメラボディ100へ焦点調整データ31が送信される。   The photographic lens 200 transmits the above-described focus adjustment data 31 (two pulse train signals indicating the moving amount and moving direction of the focusing lens) to the camera body 100 in parallel with the communication using the communication path 33 described above. The communication path 34 is used for the transfer of the focus adjustment data 31 and is performed asynchronously with the communication using the communication path 33. Specifically, the focus adjustment data 31 is transmitted from the photographing lens 200 to the camera body 100 each time the focus lens of the photographing optical system moves.

次に、図4(b)を用いて、高速モードによる通信を説明する。高速モードでは、レンズデータ、ボディデータ、および制御データの転送が行われる。図4(b)には、これらのデータを転送する前の様子が示されている。すなわち、撮影レンズ200はレンズデータ21を備え、カメラボディ100はボディデータ24を備える。レンズデータ21は変換テーブルデータ21A、光学的特性を表すデータ21B、およびレンズ識別子21Cを含む。また、カメラボディ100のフラッシュメモリ142には、撮影レンズ200の前に取り付けられていた、撮影レンズ200とは別の撮影レンズのレンズデータ(格納済みレンズデータ22)が格納されている。格納済みレンズデータ22には、レンズデータ21と同様に、変換テーブルデータ、光学的特性を表すデータ、およびレンズ識別子(格納済みレンズ識別子22C)が含まれている。   Next, communication in the high speed mode will be described with reference to FIG. In the high speed mode, lens data, body data, and control data are transferred. FIG. 4B shows a state before these data are transferred. That is, the photographing lens 200 includes lens data 21, and the camera body 100 includes body data 24. The lens data 21 includes conversion table data 21A, data 21B representing optical characteristics, and a lens identifier 21C. The flash memory 142 of the camera body 100 stores lens data (stored lens data 22) of a photographing lens that is attached in front of the photographing lens 200 and is different from the photographing lens 200. Similar to the lens data 21, the stored lens data 22 includes conversion table data, data representing optical characteristics, and a lens identifier (stored lens identifier 22C).

カメラボディ100は、カメラボディ100に現時点で装着(マウント)されている撮影レンズ200の制御および画像処理のために、撮影レンズ200のレンズデータ21を必要とする。高速モードによる通信では、このレンズデータ21が、撮影レンズ200からカメラボディ100へ送信される。カメラボディ100は受信したレンズデータをフラッシュメモリ142に格納し、撮影レンズ200の制御および画像処理に利用する。   The camera body 100 requires the lens data 21 of the photographic lens 200 for control and image processing of the photographic lens 200 currently mounted (mounted) on the camera body 100. In communication in the high speed mode, the lens data 21 is transmitted from the photographing lens 200 to the camera body 100. The camera body 100 stores the received lens data in the flash memory 142 and uses it for control of the photographing lens 200 and image processing.

しかしながら、フラッシュメモリ142に格納されている格納済レンズデータ22が撮影レンズ200のレンズデータ21と同一のデータである場合には、レンズデータ21の転送を行う必要がない。そこで、高速モードによる通信では、レンズデータ21全体の転送を行う前に、まずレンズ識別子21Cのみをカメラボディ100へ送信する。カメラボディ100は、受信したレンズ識別子21Cと格納済レンズ識別子22Cとを比較し、格納済レンズデータ22がレンズデータ21と同一のデータであるか否かを判定する。2つのレンズ識別子が一致すれば、カメラボディ100は2つのレンズデータが同一のデータであると判断し、レンズデータ21全体の転送を行わない。   However, when the stored lens data 22 stored in the flash memory 142 is the same data as the lens data 21 of the photographing lens 200, it is not necessary to transfer the lens data 21. Therefore, in the communication in the high speed mode, only the lens identifier 21C is first transmitted to the camera body 100 before the entire lens data 21 is transferred. The camera body 100 compares the received lens identifier 21 </ b> C and the stored lens identifier 22 </ b> C to determine whether the stored lens data 22 is the same data as the lens data 21. If the two lens identifiers match, the camera body 100 determines that the two lens data are the same data, and does not transfer the entire lens data 21.

高速モードによる通信では、まずカメラボディ100が通信路33を用いてレンズ識別子リクエスト23を送信する。撮影レンズ200はリクエスト23に応じてレンズ識別子21Cを送信する。レンズ識別子21Cはレンズデータ21に含まれる撮影レンズ毎に固有のデータであり、通信路34を通じて送信される。レンズ識別子21Cを受信したカメラボディ100は、フラッシュメモリ142に格納されている格納済レンズ識別子22Cと受信したレンズ識別子21Cとの比較を行う。両者が一致していた場合には、レンズデータ21と格納済レンズデータ22は同一であると判断し、レンズデータ21の転送を行わない。   In the communication in the high speed mode, first, the camera body 100 transmits the lens identifier request 23 using the communication path 33. The taking lens 200 transmits a lens identifier 21C in response to the request 23. The lens identifier 21 </ b> C is data unique to each photographing lens included in the lens data 21, and is transmitted through the communication path 34. Upon receiving the lens identifier 21C, the camera body 100 compares the stored lens identifier 22C stored in the flash memory 142 with the received lens identifier 21C. If they match, it is determined that the lens data 21 and the stored lens data 22 are the same, and the lens data 21 is not transferred.

他方、レンズ識別子21Cと格納済レンズ識別子22Cが一致しなかった場合には、カメラボディ100はレンズデータリクエスト(不図示)を通信路33を通じて送信する。撮影レンズ200はリクエストに応じて、レンズデータ21を通信路34を通じて送信する。レンズデータ21を受け取ったカメラボディ100は、格納済レンズデータ22を受信したレンズデータ21で上書きする。これにより、フラッシュメモリ142は撮影レンズ200のレンズデータ21が格納されている状態になる。   On the other hand, if the lens identifier 21C and the stored lens identifier 22C do not match, the camera body 100 transmits a lens data request (not shown) through the communication path 33. The taking lens 200 transmits the lens data 21 through the communication path 34 in response to the request. The camera body 100 that has received the lens data 21 overwrites the stored lens data 22 with the received lens data 21. Thereby, the flash memory 142 is in a state where the lens data 21 of the photographing lens 200 is stored.

また、高速モードによる通信では、上述したレンズ識別子21Cと格納済レンズデータ22Cとの比較の後、撮影レンズ200が通信路34を通じてボディデータリクエスト(不図示)を送信することがある。カメラボディ100はボディデータリクエストを受信した場合、通信路33を通じてボディデータ24を送信する。カメラボディ100によるボディデータ24の送信と、撮影レンズ200による上述したレンズデータ21の送信とは、それぞれ異なる通信路を用いて行われる。従って、これら2つの通信は並行して行われる。
以上のように、高速モードにおいては、カメラボディ100から撮影レンズ200への通信を行う場際には通信路33を介して行い、撮影レンズ200からカメラボディ100への通信を行う場合には通信路34を介して行うようになっている。即ち、高速モードにおいて、各通信路33、34はそれぞれ、通信方向を切り替えられることなく、通信方向が一方向の専用通信路として機能する。
In communication in the high-speed mode, the photographing lens 200 may transmit a body data request (not shown) through the communication path 34 after comparing the lens identifier 21C and the stored lens data 22C described above. When the camera body 100 receives the body data request, the camera body 100 transmits the body data 24 through the communication path 33. The transmission of the body data 24 by the camera body 100 and the transmission of the lens data 21 by the photographing lens 200 are performed using different communication paths. Therefore, these two communications are performed in parallel.
As described above, in the high-speed mode, communication is performed via the communication path 33 when communication from the camera body 100 to the photographing lens 200 is performed, and communication is performed when communication from the photographing lens 200 to the camera body 100 is performed. This is performed via the road 34. That is, in the high-speed mode, the communication paths 33 and 34 function as dedicated communication paths with one communication direction without switching the communication direction.

次に、カメラボディ100による電源状態の変更および通信処理について、図を用いて説明する。
図5は、カメラボディ100の電源オフ状態から電源オン状態に移行(電源スイッチオン操作)した場合の処理を示すフローチャートである。フローチャートに示す処理の開始時点では、カメラボディ100は電源オフ状態であり、撮影レンズ200は既にカメラボディ100に装着されているものとする。
まずステップS1では、カメラボディ100の電源スイッチ(不図示)のON操作が行われたか否かを判別する。
ステップS2では、電源ON操作に応じて、カメラボディが電源オフ状態からオン状態になり、且つメインCPU137が、通信部125の通信モードを高速モードに設定する。このとき撮影レンズ200の通信部240の通信モードも、メインCPU137からの通信モード切替指令を受けた撮影レンズ側のメインCPU231によって、高速モードに設定される。
なお本ステップS2では、カメラボディ側のメインCPU137が、撮影レンズ側のメインCPU231に通信モードの切り替えを指示するものとして説明したが、撮影レンズ側の通信部240の通信モードを、通常は(カメラボディ側から低速モードに切り替えるべき指令がないときは)高速モードに設定しておくようにしておけば、ここでの通信部240の高速モード切替処理は不要となる。
ステップS3では、撮影レンズ200のレンズ識別子21Cを受信し、受信したレンズ識別子21Cがフラッシュメモリ142の格納済レンズ識別子22Cと一致するか否かを判定する。両者が一致した場合にはステップS5へ進み、レンズデータ21の受信を行わない。
他方、ステップS3により否定判定がなされた場合にはステップS4へ進み、レンズデータ21を受信してフラッシュメモリ142へ格納し、ステップS5へ進む。
ステップS5では、カメラボディ100および撮影レンズ200両者の通信部125、240の通信モードを互いに低速モードにする。ここでの通信モードの切り替え方法についても上記ステップS2にて記載した通りであるので、ここでの説明を省略する。
ステップS6では、撮影レンズ200から状態データを定期的に受信し、撮影動作等を行う。その後、ステップS7で電源オフ操作が行われ、カメラボディ100は再び電源オフ状態に遷移する。
以上が、カメラボディの電源オン操作を行った場合の処理の流れである。
図6は、撮影レンズ200の取付をカメラボディ100が電源オフ状態のときに行った場合の処理を示すフローチャートである。フローチャートに示す処理の開始時点では、カメラボディ100は電源オフ状態であり、撮影レンズ200はまだ装着されていない。
Next, the power supply state change and communication processing by the camera body 100 will be described with reference to the drawings.
FIG. 5 is a flowchart showing processing when the camera body 100 is shifted from the power-off state to the power-on state (power switch on operation). Assume that the camera body 100 is in a power-off state and the photographing lens 200 is already attached to the camera body 100 at the start of the processing shown in the flowchart.
First, in step S1, it is determined whether or not an operation of turning on a power switch (not shown) of the camera body 100 has been performed.
In step S2, the camera body changes from the power-off state to the on-state in response to the power-on operation, and the main CPU 137 sets the communication mode of the communication unit 125 to the high-speed mode. At this time, the communication mode of the communication unit 240 of the photographing lens 200 is also set to the high speed mode by the main CPU 231 on the photographing lens side that has received the communication mode switching command from the main CPU 137.
In step S2, the main CPU 137 on the camera body side is described as instructing the main CPU 231 on the photographing lens side to switch the communication mode. However, the communication mode of the communication unit 240 on the photographing lens side is normally set to (Camera If the high-speed mode is set (when there is no command to switch to the low-speed mode from the body side), the high-speed mode switching process of the communication unit 240 is not necessary here.
In step S <b> 3, the lens identifier 21 </ b> C of the photographing lens 200 is received, and it is determined whether or not the received lens identifier 21 </ b> C matches the stored lens identifier 22 </ b> C of the flash memory 142. If they match, the process proceeds to step S5, and the lens data 21 is not received.
On the other hand, if a negative determination is made in step S3, the process proceeds to step S4, lens data 21 is received and stored in the flash memory 142, and the process proceeds to step S5.
In step S5, the communication modes of the communication units 125 and 240 of both the camera body 100 and the photographing lens 200 are set to the low speed mode. Since the communication mode switching method here is also as described in step S2, description thereof is omitted here.
In step S6, state data is periodically received from the photographing lens 200, and a photographing operation or the like is performed. Thereafter, a power-off operation is performed in step S7, and the camera body 100 transitions to the power-off state again.
The above is the flow of processing when the camera body is turned on.
FIG. 6 is a flowchart showing processing when the photographic lens 200 is attached when the camera body 100 is in the power-off state. At the start of the processing shown in the flowchart, the camera body 100 is in a power-off state, and the taking lens 200 is not yet attached.

まずステップS11では、撮影レンズ200の装着が行われる。撮影レンズ200の装着に対応して、ステップS12ではカメラボディが電源オフ状態から通信可能状態に遷移する。また、通信モードは高速モードとなる。通信モードの切り替え方法としては図5にて既述した方法と同様である。ステップS13では、撮影レンズ200のレンズ識別子21Cを受信し、受信したレンズ識別子21Cがフラッシュメモリ142の格納済レンズ識別子22Cと一致するか否かを判定する。両者が一致した場合にはステップS15へ進み、レンズデータ21の受信を行わない。他方、ステップS13により否定判定がなされた場合にはステップS14へ進み、レンズデータ21を受信してフラッシュメモリ142へ格納し、ステップS15へ進む。   First, in step S11, the taking lens 200 is attached. Corresponding to the mounting of the taking lens 200, the camera body transitions from the power-off state to the communicable state in step S12. The communication mode is a high speed mode. The method for switching the communication mode is the same as the method already described in FIG. In step S13, the lens identifier 21C of the photographing lens 200 is received, and it is determined whether or not the received lens identifier 21C matches the stored lens identifier 22C of the flash memory 142. If they match, the process proceeds to step S15, and the lens data 21 is not received. On the other hand, if a negative determination is made in step S13, the process proceeds to step S14, lens data 21 is received and stored in the flash memory 142, and the process proceeds to step S15.

ステップS15では、再び電源オフ状態に遷移し、電源投入操作を待つ。ステップS16では、電源投入(電源ON)操作が行われたことに応じて、電源オン状態に遷移する。ステップS17ではステップS13と同様にレンズ識別子21Cと格納済レンズ識別子22Cとの比較を行い、両者の一致が確認される。ステップS18では、通信モードを低速モードにする。ステップS19では、撮影レンズ200から状態データを定期的に受信し、撮影動作等を行う。その後、ステップS20で電源オフ操作が行われ、カメラボディ100は再び電源オフ状態に遷移する。   In step S15, the state again changes to the power-off state and waits for a power-on operation. In step S16, in response to a power-on (power-on) operation, the power-on state is entered. In step S17, the lens identifier 21C is compared with the stored lens identifier 22C in the same manner as in step S13, and a match between the two is confirmed. In step S18, the communication mode is set to the low speed mode. In step S19, state data is periodically received from the photographing lens 200, and a photographing operation or the like is performed. Thereafter, a power off operation is performed in step S20, and the camera body 100 transitions to the power off state again.

以上が、電源オフ状態で撮影レンズ200が取り付けられた場合の処理の流れである。なお、カメラボディ100から内蔵バッテリー129が取り外されていた等の理由により、撮影レンズ200を装着(交換)したときにステップS12〜S15の処理を実行することができない場合がある。この場合は、上述の動作フローにおいて、ステップS17で2つのレンズ識別子が一致しない。そこで、カメラボディ100の電池室近傍に、内蔵バッテリー129の装着を検知するメカニカルスイッチ(不図示)を設けておき、そのメカニカルスイッチが内蔵バッテリー129の装着を検知するとステップS12〜S15の処理を実行するようにしておく。このようにすることで、内蔵バッテリーの装着のたびにレンズ識別子の一致を確認でき、もし不一致ならレンズデータ21の受信処理とフラッシュメモリ142への格納処理が実行される。従って、ステップS19において撮影動作を行うときには、フラッシュメモリ142へ撮影レンズ200のレンズデータ21が格納された状態となっており、撮影レンズ200の制御および画像処理を正しく行うことができる。
なお、内蔵バッテリー129の装着を検知するメカニカルスイッチによるバッテリー装填検知信号を、通信部125および通信部240を介して撮影レンズ200側に通知するようにしても良い。このように構成することで、撮影レンズ200はそのバッテリー装填検知信号を受けて、カメラボディ100側へに、メインCPU231がレンズデータの中からレンズ識別子21Cのみ選びだし(抽出し)、それのみを先ずは他のレンズデータ(変換テーブルデータなど)とは切り分けてカメラボディ100へ自動的に送信することができる。その上で、撮影レンズ200は、レンズ識別子21Cの不一致を示す信号、あるいはレンズ識別子21C以外の残りのレンズデータを要求する信号がカメラボディ100から通信されてきたときに、それに応答してメインCPU231は残りのレンズデータをカメラボディ100へ送信する。
なお、このように撮影レンズ200に通信動作をさせる条件としては、バッテリー装填検知信号を受信したときに限られるものではない。既述したカメラボディ側の電源投入操作(既述した電源投入操作に伴い押下される不図示のメカニカルスイッチのON)が検知され、それを示す信号が撮影レンズ200に送信された場合には、メインCPU231は上記と同様に動作する。
The above is the processing flow when the taking lens 200 is attached in the power-off state. Note that the processing in steps S12 to S15 may not be executed when the photographic lens 200 is attached (replaced) because the built-in battery 129 is removed from the camera body 100 or the like. In this case, in the operation flow described above, the two lens identifiers do not match in step S17. Therefore, a mechanical switch (not shown) for detecting the mounting of the built-in battery 129 is provided in the vicinity of the battery compartment of the camera body 100, and when the mechanical switch detects the mounting of the built-in battery 129, the processing of steps S12 to S15 is executed. Make sure you do. By doing so, it is possible to confirm that the lens identifiers match each time the built-in battery is mounted. If they do not match, the lens data 21 reception process and the flash memory 142 storage process are executed. Therefore, when the photographing operation is performed in step S19, the lens data 21 of the photographing lens 200 is stored in the flash memory 142, and the photographing lens 200 can be controlled and image processing can be performed correctly.
Note that a battery loading detection signal by a mechanical switch that detects the mounting of the internal battery 129 may be notified to the photographing lens 200 side via the communication unit 125 and the communication unit 240. With this configuration, the photographic lens 200 receives the battery loading detection signal, and the main CPU 231 selects (extracts) only the lens identifier 21C from the lens data to the camera body 100 side. First, it can be separated from other lens data (such as conversion table data) and automatically transmitted to the camera body 100. In addition, when the camera lens 100 communicates a signal indicating a mismatch of the lens identifier 21C or a signal requesting the remaining lens data other than the lens identifier 21C, the photographing lens 200 responds to the main CPU 231. Transmits the remaining lens data to the camera body 100.
Note that the condition for causing the photographing lens 200 to perform the communication operation in this manner is not limited to when the battery loading detection signal is received. When the above-described power-on operation on the camera body side (ON of a mechanical switch (not shown) that is pressed in accordance with the above-described power-on operation) is detected, and a signal indicating this is transmitted to the photographing lens 200, The main CPU 231 operates in the same manner as described above.

次に、カメラボディ100が電源オン状態のときに撮影レンズ200を取り付けた場合の処理を、図7を用いて説明する。図7は、撮影レンズ200の取付をカメラボディ100が電源オン状態のときに行った場合の処理を示すフローチャートである。図6と同様に、フローチャートに示す処理の開始時点では、カメラボディ100は電源オフ状態であり、撮影レンズ200はまだ装着されていない。   Next, processing when the photographing lens 200 is attached when the camera body 100 is in the power-on state will be described with reference to FIG. FIG. 7 is a flowchart showing processing when the photographic lens 200 is attached when the camera body 100 is in the power-on state. Similar to FIG. 6, at the start of the processing shown in the flowchart, the camera body 100 is in a power-off state, and the taking lens 200 is not yet attached.

まずステップS21では、電源投入操作が行われたことに応じて、電源オン状態に遷移する。ステップS16(図6)とは異なり、撮影レンズ200はまだ取り付けられていないので、ステップS17のようなレンズ識別子を比較する処理は実行されない。ステップS22では、撮影レンズ200の装着が行われる。ステップS23では、撮影レンズ200の装着に応じて通信モードを高速モードに変更する。ステップS24ではステップS13と同様に撮影レンズ200のレンズ識別子21Cを受信し、受信したレンズ識別子21Cがフラッシュメモリ142の格納済レンズ識別子22Cと一致するか否かを判定する。両者が一致した場合にはステップS26へ進み、レンズデータ21の受信を行わない。他方、ステップS24により否定判定がなされた場合にはステップS25へ進み、レンズデータ21を受信してフラッシュメモリ142へ格納し、ステップS26へ進む。   First, in step S21, a transition to the power-on state is made in response to the power-on operation. Unlike step S16 (FIG. 6), since the taking lens 200 is not yet attached, the process of comparing lens identifiers as in step S17 is not executed. In step S22, the taking lens 200 is attached. In step S23, the communication mode is changed to the high speed mode in accordance with the mounting of the taking lens 200. In step S24, the lens identifier 21C of the taking lens 200 is received as in step S13, and it is determined whether or not the received lens identifier 21C matches the stored lens identifier 22C of the flash memory 142. If they match, the process proceeds to step S26, and the lens data 21 is not received. On the other hand, if a negative determination is made in step S24, the process proceeds to step S25, the lens data 21 is received and stored in the flash memory 142, and the process proceeds to step S26.

ステップS26では、通信モードを低速モードにする。ステップS27では、撮影レンズ200から状態データを定期的に受信し、撮影動作等を行う。その後、ステップS28で電源オフ操作が行われ、カメラボディ100は再び電源オフ状態に遷移する。以上が、電源オン状態で撮影レンズ200が取り付けられた場合の処理の流れである。   In step S26, the communication mode is set to the low speed mode. In step S27, state data is periodically received from the photographing lens 200, and a photographing operation or the like is performed. Thereafter, a power off operation is performed in step S28, and the camera body 100 transitions to the power off state again. The above is the processing flow when the taking lens 200 is attached in the power-on state.

次に、レンズ識別子21Cおよびレンズデータ21の転送処理について、図8を用いてより詳細に説明する。図8は、カメラボディ100によるレンズデータ21の受信処理、ならびに、撮影レンズ200によるレンズデータ21の送信処理を示すフローチャートである。   Next, transfer processing of the lens identifier 21C and the lens data 21 will be described in more detail with reference to FIG. FIG. 8 is a flowchart showing the reception processing of the lens data 21 by the camera body 100 and the transmission processing of the lens data 21 by the photographing lens 200.

始めにカメラボディ100の処理について説明する。まずステップS31で、カメラボディ100によりレンズ識別子リクエスト23が撮影レンズ200へ送信される。ステップS32では、撮影レンズ200がステップS42で送信するレンズ識別子21Cを受信する。ステップS33では、受信したレンズ識別子21Cが格納済レンズ識別子22Cと一致するか否かを判定する。両者が一致した場合にはレンズデータ21を受信せず、処理を終了する。他方、ステップS33により否定判定がなされた場合には、ステップS34へ進む。   First, processing of the camera body 100 will be described. First, in step S <b> 31, the lens identifier request 23 is transmitted from the camera body 100 to the photographing lens 200. In step S32, the taking lens 200 receives the lens identifier 21C transmitted in step S42. In step S33, it is determined whether or not the received lens identifier 21C matches the stored lens identifier 22C. If they match, the lens data 21 is not received and the process is terminated. On the other hand, if a negative determination is made in step S33, the process proceeds to step S34.

ステップS34では、レンズデータリクエストを撮影レンズ200へ送信する。ステップS35では、撮影レンズ200がステップS44で送信するレンズデータ21を受信する。ステップS36では、ステップS35で受信したレンズデータ21をフラッシュメモリ142へ格納し、処理を終了する。   In step S34, a lens data request is transmitted to the taking lens 200. In step S35, the lens data 21 transmitted from the photographing lens 200 in step S44 is received. In step S36, the lens data 21 received in step S35 is stored in the flash memory 142, and the process ends.

次に、撮影レンズ200の処理について説明する。まずステップS41で、カメラボディ100がステップS31で送信したレンズ識別子リクエストを受信し、ステップS42へ進む。ステップS42では、カメラボディ100へレンズ識別子21Cを送信する。ステップS43では、カメラボディ100がS34で送信するレンズデータリクエストを受信したか否かを判定する。カメラボディ100がレンズデータリクエストを送信した場合にはステップS44へ進み、レンズデータ21をカメラボディ100へ送信し、処理を終了する。他方、カメラボディ100がレンズデータリクエストを送信しなかった場合にはステップS43により否定判定がなされ、レンズデータ21を送信せずに処理を終了する。   Next, processing of the taking lens 200 will be described. First, in step S41, the camera body 100 receives the lens identifier request transmitted in step S31, and proceeds to step S42. In step S42, the lens identifier 21C is transmitted to the camera body 100. In step S43, it is determined whether the camera body 100 has received the lens data request transmitted in S34. If the camera body 100 has transmitted a lens data request, the process proceeds to step S44, where the lens data 21 is transmitted to the camera body 100, and the process ends. On the other hand, if the camera body 100 has not transmitted the lens data request, a negative determination is made in step S43, and the process is terminated without transmitting the lens data 21.

ステップS54では、撮影レンズ200へレンズデータリクエストを送信する。ステップS55では、撮影レンズ200がステップS64の処理(後述)により送信するレンズデータを受信する。ステップS56では、ステップS55で受信したレンズデータをフラッシュメモリ142へ格納する。以上が、カメラボディ100によるレンズデータ21の取得処理である。   In step S54, a lens data request is transmitted to the taking lens 200. In step S55, the lens data transmitted by the photographic lens 200 through the process of step S64 (described later) is received. In step S56, the lens data received in step S55 is stored in the flash memory 142. The lens data 21 acquisition process by the camera body 100 has been described above.

なお、図6のステップS17、および、図7のステップS24〜S25において、カメラボディ100から撮影レンズ200へのボディデータの転送が行われる。ボディデータの転送はレンズ識別子の比較結果に関係なく行われる。また、レンズデータの転送が行われている間に、ボディデータの転送がレンズデータの転送と並行して行われる。   In step S17 in FIG. 6 and steps S24 to S25 in FIG. 7, body data is transferred from the camera body 100 to the photographing lens 200. The body data is transferred regardless of the comparison result of the lens identifier. Further, while the lens data is being transferred, the body data is transferred in parallel with the lens data.

次に、2種類の通信モードの具体的な動作について、図9および図10を用いて説明する。図9は低速モードにおけるカメラボディ100と撮影レンズ200との接続を示す図であり、図10は高速モードにおけるカメラボディ100と撮影レンズ200との接続を示す図である。なお、図9および図10は、撮影レンズ200がカメラボディ100に装着され、図2に示した撮影レンズ側接続部202がカメラボディ側接続部109に電気的に接続された状態を示している。   Next, specific operations in the two types of communication modes will be described with reference to FIGS. 9 and 10. FIG. 9 is a diagram illustrating the connection between the camera body 100 and the photographing lens 200 in the low speed mode, and FIG. 10 is a diagram illustrating the connection between the camera body 100 and the photographing lens 200 in the high speed mode. 9 and 10 show a state in which the photographing lens 200 is attached to the camera body 100 and the photographing lens side connection portion 202 shown in FIG. 2 is electrically connected to the camera body side connection portion 109. .

図9および図10において、カメラボディ側接続部109は、6個の接点109a〜109fを有し、同様に撮影レンズ側接続部202も、6個の接点202a〜202fを有する。図では、これらの接点109a〜109fが接点202a〜202fに接続されていることを、6本の伝送線40,41,33a,33b,34a,34bで表している。カメラボディ100の通信部125は、電源出力端子125a、クロック入力端子125b、第1ハンドシェーク出力端子125c、第1データ出力端子125d、第1データ入力端子125e、第1パルス入力端子125f、第2割り込み入力端子125g、第2パルス入力端子125hの、計8個の端子を有し、その個数はカメラボディ側接続部109が備える接点の数よりも多い。同様に撮影レンズ200の通信部240も、電源入力端子240a、クロック出力端子240b、第1割り込み入力端子240c、第2データ入力端子240d、第1データ出力端子240e、第1パルス出力端子240f、第2ハンドシェーク出力端子240g、第2パルス出力端子240hの、計8個の端子を有し、その個数は撮影レンズ側接続部202が備える接点の数よりも多い。   9 and 10, the camera body side connecting portion 109 has six contacts 109a to 109f, and similarly, the taking lens side connecting portion 202 has six contacts 202a to 202f. In the figure, the fact that these contacts 109a to 109f are connected to the contacts 202a to 202f is represented by six transmission lines 40, 41, 33a, 33b, 34a, and 34b. The communication unit 125 of the camera body 100 includes a power output terminal 125a, a clock input terminal 125b, a first handshake output terminal 125c, a first data output terminal 125d, a first data input terminal 125e, a first pulse input terminal 125f, and a second interrupt. The input terminal 125g and the second pulse input terminal 125h have a total of eight terminals, and the number thereof is larger than the number of contacts provided in the camera body side connecting portion 109. Similarly, the communication unit 240 of the photographing lens 200 also includes a power input terminal 240a, a clock output terminal 240b, a first interrupt input terminal 240c, a second data input terminal 240d, a first data output terminal 240e, a first pulse output terminal 240f, The two handshake output terminals 240g and the second pulse output terminal 240h have a total of eight terminals, and the number thereof is larger than the number of contacts provided in the photographing lens side connection unit 202.

カメラボディ100の通信部125が有する電源出力端子125a、クロック入力端子125b、第1ハンドシェーク出力端子125c、第1データ出力端子125d、第1パルス入力端子は、各々接点109a、109b、109c、109d、109eに接続されている。第1データ入力端子125eはスイッチ43により、接点109dと接点109eとに択一的に接続される。また、第2割り込み入力端子125gと第2パルス入力端子125hとは共に、接点109fに接続されている。   A power output terminal 125a, a clock input terminal 125b, a first handshake output terminal 125c, a first data output terminal 125d, and a first pulse input terminal included in the communication unit 125 of the camera body 100 are contacts 109a, 109b, 109c, 109d, 109e. The first data input terminal 125e is alternatively connected to the contact 109d and the contact 109e by the switch 43. The second interrupt input terminal 125g and the second pulse input terminal 125h are both connected to the contact 109f.

撮影レンズ200の通信部240が有する電源入力端子240a、クロック出力端子240b、第1割り込み入力端子240c、第2データ入力端子240d、第1パルス出力端子240fは、各々接点202a、202b、202c、202d、202eに接続されている。第2データ出力端子240eはスイッチ42により、接点202dと接点202eとに択一的に接続される。また、第2ハンドシェーク出力端子240gと第2パルス出力端子240hとは共に、接点202fに接続されている。   A power input terminal 240a, a clock output terminal 240b, a first interrupt input terminal 240c, a second data input terminal 240d, and a first pulse output terminal 240f included in the communication unit 240 of the photographing lens 200 are contacts 202a, 202b, 202c, and 202d, respectively. , 202e. The second data output terminal 240e is alternatively connected to the contact 202d and the contact 202e by the switch 42. The second handshake output terminal 240g and the second pulse output terminal 240h are both connected to the contact 202f.

次に、通信部125、240が有する各々8個の端子間での信号の授受が、接続部109、202が有する各々6個の接点を介して、どのように行われるかを詳述する。なお、図9および図10において各々の端子間を結ぶ破線の矢印は、端子間で授受が行われる信号の入出力方向を表している。   Next, it will be described in detail how signals are transmitted and received between the eight terminals of the communication units 125 and 240 via the six contacts of the connection units 109 and 202, respectively. In FIGS. 9 and 10, broken-line arrows connecting the respective terminals indicate the input / output directions of signals transmitted and received between the terminals.

まず、低速モードにおける各々の端子の動作について、図9を用いて説明する。電源出力端子240aは、電源制御回路128より供給される撮影レンズ200を動作させるための電力を、撮影レンズ200へ出力する端子である。電源出力端子125aによる出力は、伝送線40を通じて撮影レンズ側の電源入力端子240aへ入力される。クロック出力端子240bは、データ転送に用いられるクロック信号が出力される端子である。クロック出力端子240bが出力したクロック信号は、伝送線41を通じてカメラボディ側のクロック入力端子125bへ入力される。   First, the operation of each terminal in the low speed mode will be described with reference to FIG. The power output terminal 240 a is a terminal that outputs power for operating the photographing lens 200 supplied from the power control circuit 128 to the photographing lens 200. The output from the power output terminal 125a is input to the power input terminal 240a on the photographing lens side through the transmission line 40. The clock output terminal 240b is a terminal from which a clock signal used for data transfer is output. The clock signal output from the clock output terminal 240b is input through the transmission line 41 to the clock input terminal 125b on the camera body side.

第1ハンドシェーク出力端子125cは、通信が実行中か否かを表すハンドシェーク信号を出力する。第1ハンドシェーク出力端子125cが出力したハンドシェーク信号は、伝送線33aを通じて第1割り込み入力端子240cへ入力される。第1割り込み入力端子240cは、通信開始時のハンドシェーク信号の変化を検知して、通信部240への割り込みを発生させる。第1割り込み入力端子240cによる割り込みを受けた通信部240は、カメラボディ100から通信開始を指示されたことを検知し、通信の準備を開始する。   The first handshake output terminal 125c outputs a handshake signal indicating whether communication is being executed. The handshake signal output from the first handshake output terminal 125c is input to the first interrupt input terminal 240c through the transmission line 33a. The first interrupt input terminal 240c detects a change in the handshake signal at the start of communication and generates an interrupt to the communication unit 240. Upon receiving an interrupt from the first interrupt input terminal 240c, the communication unit 240 detects that an instruction to start communication is received from the camera body 100, and starts preparation for communication.

第1データ出力端子125d、第1データ入力端子125e、第2データ入力端子240d、および第2データ出力端子240eは、データ信号の入出力を行うための端子である。図9に示した低速モードの場合には、第1データ入力端子125eはスイッチ43により接点109dへ接続され、第2データ出力端子はスイッチ42により接点202dへ接続されている。従って、これら4つの端子によるデータ信号の入出力は伝送線33bのみを通じて行われることとなるので、カメラボディ100から撮影レンズ200へのデータ転送と、撮影レンズ200からカメラボディ100へのデータ転送を同時に行うことはできない。カメラボディ100から撮影レンズ200へ、又は撮影レンズ200からカメラボディ100への各方向の通信は、各端子125d、125e、240d、240eの有効/無効をそれぞれ後述するように時系列に切り替える必要がある。これらの端子によるデータ転送には、伝送線41を通るクロック信号が用いられる。   The first data output terminal 125d, the first data input terminal 125e, the second data input terminal 240d, and the second data output terminal 240e are terminals for inputting and outputting data signals. In the low-speed mode shown in FIG. 9, the first data input terminal 125e is connected to the contact 109d by the switch 43, and the second data output terminal is connected to the contact 202d by the switch 42. Therefore, since the input / output of data signals by these four terminals is performed only through the transmission line 33b, data transfer from the camera body 100 to the photographing lens 200 and data transfer from the photographing lens 200 to the camera body 100 are performed. It cannot be done at the same time. In each direction of communication from the camera body 100 to the photographing lens 200 or from the photographing lens 200 to the camera body 100, it is necessary to switch the validity / invalidity of the terminals 125d, 125e, 240d, and 240e in time series as described later. is there. A clock signal passing through the transmission line 41 is used for data transfer by these terminals.

第1パルス出力端子240fおよび第2パルス出力端子240hは、2相のパルス信号を出力する端子である。この2相のパルス信号は、撮影レンズ200が備えるフォーカスレンズ(不図示)の移動量および移動方向を表す。これらの端子から出力された2相のパルス信号は、伝送線34aおよび34bを通じて、カメラボディ側の第1パルス入力端子および第2パルス入力端子に入力される。2相のパルス信号を受け取った通信部125は、パルス信号からフォーカスレンズの移動量および移動方向を検出して、図2のメインCPU137へ出力する。   The first pulse output terminal 240f and the second pulse output terminal 240h are terminals for outputting a two-phase pulse signal. This two-phase pulse signal represents the amount and direction of movement of a focus lens (not shown) included in the photographing lens 200. Two-phase pulse signals output from these terminals are input to the first pulse input terminal and the second pulse input terminal on the camera body side through transmission lines 34a and 34b. Receiving the two-phase pulse signal, the communication unit 125 detects the amount and direction of movement of the focus lens from the pulse signal, and outputs them to the main CPU 137 in FIG.

なお、低速モードのとき、カメラボディ100の通信部125が有する第2割り込み入力端子125g、および、撮影レンズ200の通信部240が有する第2ハンドシェーク出力端子240gは、それぞれ通信部125および通信部240により無効に設定されている。従って、これらの端子からは信号が出力されることもないし、これらの端子へ入力された信号に応じて、通信部125および通信部240が何らかの動作を行うこともない。   In the low-speed mode, the second interrupt input terminal 125g included in the communication unit 125 of the camera body 100 and the second handshake output terminal 240g included in the communication unit 240 of the photographing lens 200 are the communication unit 125 and the communication unit 240, respectively. Is disabled by Therefore, no signal is output from these terminals, and the communication unit 125 and the communication unit 240 do not perform any operation in accordance with the signals input to these terminals.

次に、高速モードにおける各々の端子の動作について、図10を用いて説明する。高速モードでは、低速モードのとき無効とされていた、カメラボディ100の通信部125が有する第2割り込み入力端子125g、および、撮影レンズ200の通信部240が有する第2ハンドシェーク出力端子240gが有効に設定される。替わって、カメラボディ100の通信部125が有する第1パルス入力端子125fおよび第2パルス入力端子125h、ならびに、撮影レンズ200の通信部240が有する第1パルス出力端子240fおよび第2パルス出力端子240hは無効に設定される。また高速モードでは、第1データ入力端子125eはスイッチ42により接点109eへ接続され、第2データ出力端子240eはスイッチ43により接点202eへ接続される。   Next, the operation of each terminal in the high-speed mode will be described with reference to FIG. In the high-speed mode, the second interrupt input terminal 125g included in the communication unit 125 of the camera body 100 and the second handshake output terminal 240g included in the communication unit 240 of the photographing lens 200, which are invalid in the low-speed mode, are enabled. Is set. Instead, the first pulse input terminal 125f and the second pulse input terminal 125h included in the communication unit 125 of the camera body 100, and the first pulse output terminal 240f and the second pulse output terminal 240h included in the communication unit 240 of the photographing lens 200. Is set to invalid. In the high-speed mode, the first data input terminal 125e is connected to the contact 109e by the switch 42, and the second data output terminal 240e is connected to the contact 202e by the switch 43.

スイッチ42および43による接続が切り替えられた結果として、伝送線33bには第1データ出力端子125dと第1データ入力端子202dのみが接続され、伝送線34aには第2データ出力端子240eと第2データ入力端子125eのみが接続される。これにより、伝送線33bはカメラボディ100から撮影レンズ200への一方向専用の通信路となり、また伝送線34aは撮影レンズ200からカメラボディ100への一方向専用の通信路となるので、カメラボディ100から撮影レンズ200への制御命令やデータの転送と、撮影レンズ200からカメラボディ100へのデータ転送とを同時並行的に行うことができるようになる。すなわち、カメラボディ100と撮影レンズ200との間で全二重通信が可能となる。   As a result of switching the connection by the switches 42 and 43, only the first data output terminal 125d and the first data input terminal 202d are connected to the transmission line 33b, and the second data output terminal 240e and the second data line are connected to the transmission line 34a. Only the data input terminal 125e is connected. As a result, the transmission line 33b becomes a one-way dedicated communication path from the camera body 100 to the photographing lens 200, and the transmission line 34a becomes a one-way dedicated communication path from the photographing lens 200 to the camera body 100. The control command and data transfer from the photographic lens 200 to the photographic lens 200 and the data transfer from the photographic lens 200 to the camera body 100 can be performed simultaneously in parallel. That is, full-duplex communication between the camera body 100 and the taking lens 200 is possible.

全二重通信が可能となることに伴い、第1ハンドシェーク出力端子125cが出力する信号は、伝送線33bを用いた通信すなわち第1データ出力端子125dと第1データ入力端子240dとの間で行われる通信が実行されているか否かを表すハンドシェーク信号として扱われるようになる。また、第2ハンドシェーク出力端子240gからは、電送線34aを用いた通信すなわち第2データ出力端子240eと第2データ入力端子125eとの間で行われる通信が実行されているか否かを表すハンドシェーク信号が出力される。このハンドシェーク信号は、伝送線34bを通じて第2割り込み入力端子125gへ入力される。第2割り込み入力端子125gは第1割り込み入力端子240cと同様に、通信開始時のハンドシェーク信号の変化を検知して通信部125へ割り込みを発生させる。   As full-duplex communication becomes possible, a signal output from the first handshake output terminal 125c is transmitted between the first data output terminal 125d and the first data input terminal 240d. It is handled as a handshake signal indicating whether or not communication is being executed. Further, from the second handshake output terminal 240g, a handshake signal indicating whether or not communication using the transmission line 34a, that is, communication performed between the second data output terminal 240e and the second data input terminal 125e is being executed. Is output. This handshake signal is input to the second interrupt input terminal 125g through the transmission line 34b. Similar to the first interrupt input terminal 240c, the second interrupt input terminal 125g detects a change in the handshake signal at the start of communication and causes the communication unit 125 to generate an interrupt.

以上の説明のように、低速モードにおける状態データおよび制御データの転送は、1つの伝送線33bのみを用いて転送(送信)方向を切り替えながら行われる。他方、高速モードにおける通信では、転送(送信)方向が異なる2種類のデータ転送を、伝送線33bおよび34aを用いて同時に行うことができる。   As described above, the transfer of the status data and control data in the low-speed mode is performed while switching the transfer (transmission) direction using only one transmission line 33b. On the other hand, in communication in the high-speed mode, two types of data transfer with different transfer (transmission) directions can be simultaneously performed using the transmission lines 33b and 34a.

次に、各々の通信モードにおける出力信号を、図を用いて説明する。まず図11を用いて低速モードにおける出力信号を説明し、次に図12を用いて高速モードにおける出力信号を説明する。   Next, output signals in each communication mode will be described with reference to the drawings. First, the output signal in the low speed mode will be described with reference to FIG. 11, and then the output signal in the high speed mode will be described with reference to FIG.

図11は、低速モードにおけるデータ転送の信号例を示す図である。図11(a)はカメラボディ100から撮影レンズ200へのデータ転送を、図11(b)は撮影レンズ200からカメラボディ100へのデータ転送をそれぞれ示している。   FIG. 11 is a diagram illustrating an example of a signal for data transfer in the low speed mode. 11A shows data transfer from the camera body 100 to the taking lens 200, and FIG. 11B shows data transfer from the taking lens 200 to the camera body 100.

図11(a)を用いて、カメラボディ100から撮影レンズ200へのデータ転送を説明する。低速モードにおいて、通信が行われていないとき、第1ハンドシェーク出力端子125c、クロック出力端子240b、第1データ出力端子125d、および第2データ出力端子240eからはH(High)レベルの信号が出力されている。通信を開始する際(T61)には、カメラボディ100により、第1ハンドシェーク出力端子125cの出力がL(Low)レベルとされる。これにより、撮影レンズ200はデータ転送(データ受信)の準備を開始する。   Data transfer from the camera body 100 to the photographing lens 200 will be described with reference to FIG. When communication is not being performed in the low speed mode, a signal of H (High) level is output from the first handshake output terminal 125c, the clock output terminal 240b, the first data output terminal 125d, and the second data output terminal 240e. ing. When communication is started (T61), the camera body 100 sets the output of the first handshake output terminal 125c to L (Low) level. Thereby, the photographing lens 200 starts preparation for data transfer (data reception).

撮影レンズ200側で受信の準備が完了したら(T62)、クロック出力端子240bからクロック信号を8クロック分だけ出力する。カメラボディ100はこのクロック信号に合わせて、1バイト(8ビット)の制御データを表すデータ信号51を第1データ出力端子125dから出力する。図11(a)に示したデータ信号51は、カメラボディ100から撮影レンズ200へ制御データに引き続き2バイトのデータを送信することを意味する制御データである。
即ち、撮影レンズ200から出力される上述のクロック信号は、カメラボディ100がデータを出力するための同期クロック信号として機能を持つとともに、そのカメラボディ100から出力されるデータをレンズ側で受信する準備が完了したこと(カメラボディ100側でのデータ出力動作を許容すること)を、カメラボディ100に対して告知する信号としての機能も併せ持つ。
When preparation for reception is completed on the photographing lens 200 side (T62), the clock signal is output from the clock output terminal 240b for 8 clocks. The camera body 100 outputs a data signal 51 representing 1 byte (8 bits) of control data from the first data output terminal 125d in accordance with the clock signal. A data signal 51 shown in FIG. 11A is control data meaning that 2-byte data is transmitted from the camera body 100 to the taking lens 200 following the control data.
That is, the above-described clock signal output from the photographing lens 200 functions as a synchronous clock signal for the camera body 100 to output data, and prepares to receive data output from the camera body 100 on the lens side. Has a function as a signal for notifying the camera body 100 that the data has been completed (allowing data output operation on the camera body 100 side).

低速モードでは、1バイト分のデータ信号が出力される度に、第1ハンドシェーク出力端子125cが出力するハンドシェーク信号はHレベルとなる(T63)。カメラボディ100はデータ信号51に引き続き、撮影レンズ200へ送信する2バイト分のデータを出力するために、第1ハンドシェーク出力端子125cの出力信号をLレベルとする。その後、データ信号51の場合と同様にクロック信号が出力され、データ信号51に対応するデータ信号52およびデータ信号53の転送が行われる。カメラボディ100から撮影レンズ200へのデータ転送は以上のような手順で行われる。   In the low-speed mode, every time a data signal for 1 byte is output, the handshake signal output from the first handshake output terminal 125c becomes H level (T63). The camera body 100 sets the output signal of the first handshake output terminal 125c to the L level in order to output the 2-byte data transmitted to the photographing lens 200 following the data signal 51. Thereafter, a clock signal is output as in the case of the data signal 51, and the data signal 52 and the data signal 53 corresponding to the data signal 51 are transferred. Data transfer from the camera body 100 to the photographing lens 200 is performed according to the above procedure.

次に、図11(b)を用いて、撮影レンズ200からカメラボディ100へのデータ転送を説明する。通信が行われているか否かを表すハンドシェーク信号は第1ハンドシェーク出力端子125cから出力されるが、第1ハンドシェーク出力端子125cを撮影レンズ200が制御することはできない。従って、低速モードでは、撮影レンズ200が能動的にカメラボディ100への通信を開始することはできない。撮影レンズ200によるカメラボディ100へのデータ転送は、常にカメラボディ100によるデータの要求に伴って実行される。   Next, data transfer from the photographing lens 200 to the camera body 100 will be described with reference to FIG. A handshake signal indicating whether communication is being performed is output from the first handshake output terminal 125c, but the photographing lens 200 cannot control the first handshake output terminal 125c. Accordingly, in the low speed mode, the photographing lens 200 cannot actively start communication with the camera body 100. Data transfer from the taking lens 200 to the camera body 100 is always performed in response to a data request from the camera body 100.

撮影レンズ200からカメラボディ100へのデータ転送では、まず図11(a)の場合と同様に、所定の制御データを表すデータ信号54の授受が行われる(T65)。データ信号54が表す制御データは、撮影レンズ200からカメラボディ100へ制御データに引き続き1バイトのデータを送信することを意味する制御データである。制御データの転送が完了し、第1ハンドシェーク出力端子125cからの出力信号がHレベルになると(T67)、カメラボディ100および撮影レンズ200の双方において、入力端子および出力端子の転送方向の切り替えが行われる。具体的には、カメラボディ100はこれまで使用していた第1データ出力端子125dを無効とし、第1データ入力端子125eを有効とする。同様に、撮影レンズ200はこれまで使用していた第2データ入力端子240dを無効とし、第2データ出力端子240eを有効とする。   In the data transfer from the photographing lens 200 to the camera body 100, first, similarly to the case of FIG. 11A, a data signal 54 representing predetermined control data is exchanged (T65). The control data represented by the data signal 54 is control data which means that 1-byte data is transmitted from the photographing lens 200 to the camera body 100 following the control data. When the transfer of the control data is completed and the output signal from the first handshake output terminal 125c becomes H level (T67), the transfer direction of the input terminal and the output terminal is switched in both the camera body 100 and the photographing lens 200. Is called. Specifically, the camera body 100 invalidates the first data output terminal 125d used so far and validates the first data input terminal 125e. Similarly, the photographing lens 200 invalidates the second data input terminal 240d used so far and validates the second data output terminal 240e.

カメラボディ100は、第1データ出力端子125dおよび第1データ入力端子125eの切り替えが完了した時点で第1ハンドシェーク出力端子125cの出力信号をLレベルとする(T66)。撮影レンズ200は、第1ハンドシェーク出力端子125cの出力信号がLレベルであり、かつ第2データ出力端子240dおよび第2データ入力端子240eの切り替えが完了した時点で、クロック出力端子240bからのクロック信号の出力を開始する。上述した転送方向の切り替えが行われるため、撮影レンズ200からカメラボディ100へのデータ転送における、制御データの送信完了(T65)から制御データに引き続くデータの送信開始(T67)までの時間は、カメラボディ100から撮影レンズ200へのデータ転送の場合(T63〜T64)に比べて長くなる。全てのデータ転送が終了したら、上述した転送方向の切り替えを再度行い、転送方向を元に戻す。低速モードにおけるデータ転送は、以上のように実行される。   The camera body 100 sets the output signal of the first handshake output terminal 125c to L level when the switching of the first data output terminal 125d and the first data input terminal 125e is completed (T66). The photographic lens 200 has a clock signal from the clock output terminal 240b when the output signal of the first handshake output terminal 125c is L level and the switching of the second data output terminal 240d and the second data input terminal 240e is completed. Starts output. Since the transfer direction is switched as described above, in the data transfer from the photographing lens 200 to the camera body 100, the time from the completion of transmission of control data (T65) to the start of transmission of data following the control data (T67) This is longer than when data is transferred from the body 100 to the taking lens 200 (T63 to T64). When all data transfer is completed, the transfer direction is switched again to restore the transfer direction to the original. Data transfer in the low-speed mode is executed as described above.

次に、高速モードにおける出力信号を説明する。図12は、高速モードにおけるデータ転送の信号例を示す図である。高速モードでは、まず低速モードと同様に、カメラボディ100により第1ハンドシェーク出力端子125cの出力がLレベルとされる(T81)。撮影レンズ200はこれに応じて、第2ハンドシェーク出力端子240gの出力をLレベルとし、データ転送の準備を開始する。   Next, output signals in the high speed mode will be described. FIG. 12 is a diagram illustrating an example of a signal for data transfer in the high-speed mode. In the high speed mode, first, similarly to the low speed mode, the output of the first handshake output terminal 125c is set to the L level by the camera body 100 (T81). In response to this, the photographic lens 200 sets the output of the second handshake output terminal 240g to L level and starts preparation for data transfer.

データ転送の準備が完了したら(T82)、撮影レンズ200はクロック出力端子240bからクロック信号を8クロック分だけ出力する。カメラボディ100はこのクロック信号に合わせて、レンズ識別子リクエストである1バイトの制御データを撮影レンズ200へ送信する。制御データの送信は低速モードの場合と同様に、データ信号71を第1データ出力端子125dから出力することにより行われる。データ信号の出力が終了したら、第1ハンドシェーク出力端子125cの出力をHレベルに戻す。   When preparation for data transfer is completed (T82), the photographic lens 200 outputs a clock signal for 8 clocks from the clock output terminal 240b. The camera body 100 transmits 1-byte control data, which is a lens identifier request, to the photographing lens 200 in accordance with this clock signal. The control data is transmitted by outputting the data signal 71 from the first data output terminal 125d as in the low-speed mode. When the output of the data signal is completed, the output of the first handshake output terminal 125c is returned to the H level.

撮影レンズ200は、データ信号71を受信することにより、レンズ識別子リクエストが送信されたことを認識し、レンズ識別子の送信準備を行う。送信準備が完了したら(T82)、クロック出力端子240bからクロック信号をレンズ識別子のサイズ分だけ出力し、第2データ出力端子240eからレンズ識別子を表すデータ信号72を出力する。データ信号の出力が完了したら(T83)、第2ハンドシェーク出力端子240gの出力をHレベルに戻す。   Upon receiving the data signal 71, the taking lens 200 recognizes that the lens identifier request has been transmitted, and prepares for transmission of the lens identifier. When the transmission preparation is completed (T82), the clock signal is output from the clock output terminal 240b by the size of the lens identifier, and the data signal 72 representing the lens identifier is output from the second data output terminal 240e. When the output of the data signal is completed (T83), the output of the second handshake output terminal 240g is returned to the H level.

その後、図4(b)に示した通り、カメラボディ100は受信したレンズ識別子とフラッシュメモリ142に格納されている格納済レンズ識別子との比較を行う。2つのレンズ識別子が一致しなかった場合、カメラボディ100は撮影レンズ200へレンズデータを要求し、受け取ったレンズデータをフラッシュメモリ142へ格納する。以下、図12を用いて、レンズデータおよびボディデータの転送について説明する。   Thereafter, as shown in FIG. 4B, the camera body 100 compares the received lens identifier with the stored lens identifier stored in the flash memory 142. If the two lens identifiers do not match, the camera body 100 requests lens data from the photographing lens 200 and stores the received lens data in the flash memory 142. Hereinafter, transfer of lens data and body data will be described with reference to FIG.

ボディデータおよびレンズデータの転送を行う際は、レンズ識別子を受信した場合と同様に、カメラボディ100により、第1ハンドシェーク出力端子125cの出力がLレベルとされる(T84)。撮影レンズ200はこれに応じて、第2ハンドシェーク出力端子240gの出力をLレベルとし、データ転送の準備を開始する。データ転送の準備が完了した撮影レンズ200は、クロック出力端子240bから制御データのサイズに合わせたクロック信号を出力する(T85)。そして、カメラボディ100からはレンズデータリクエストを表すデータ信号73が、撮影レンズ200からはボディデータリクエストを表すデータ信号74が、それぞれクロック信号に合わせて出力される。   When transferring body data and lens data, the output of the first handshake output terminal 125c is set to L level by the camera body 100 as in the case of receiving the lens identifier (T84). In response to this, the photographic lens 200 sets the output of the second handshake output terminal 240g to L level and starts preparation for data transfer. The photographic lens 200 that has completed preparation for data transfer outputs a clock signal that matches the size of the control data from the clock output terminal 240b (T85). A data signal 73 indicating a lens data request is output from the camera body 100 and a data signal 74 indicating a body data request is output from the photographing lens 200 according to the clock signal.

リクエストを受信したカメラボディ100および撮影レンズ200はそれぞれ、その後に出力されるクロック信号に応じて、ボディデータおよびレンズデータを出力する。低速モードとは異なり、データ信号75,76は全データが途切れなく送信される。すなわち、高速モードにおけるデータ転送では、バースト転送が行われる。以上のようにして、高速モードでは低速モードよりも高速なデータ転送が行われる。なお、レンズデータおよびボディデータのいずれか一方のみを転送する通信も、図12と同様に実行される。   The camera body 100 and the photographing lens 200 that have received the request each output body data and lens data in accordance with a clock signal output thereafter. Unlike the low-speed mode, the data signals 75 and 76 are all transmitted without interruption. That is, burst transfer is performed in data transfer in the high-speed mode. As described above, data transfer at a higher speed is performed in the high speed mode than in the low speed mode. Note that the communication for transferring only one of the lens data and the body data is also executed in the same manner as in FIG.

上述した実施の形態によるカメラボディおよび撮影レンズによれば、次の作用効果が得られる。
(1)カメラボディ100に対して電源オン操作が行われると、カメラボディ100は撮影レンズ200が備えるレンズ識別子を受信し、フラッシュメモリ142に記憶されているレンズ識別子との比較を行う。そして、比較結果が不一致であれば、撮影レンズ200からレンズデータを受信する。これにより、撮影レンズ200のレンズデータがフラッシュメモリ142へ格納されている場合にカメラボディ100の起動時間が短縮される。
また本実施の形態によれば、データ量の大きいレンズデータ(固定データ)は、高速なデータ通信を行うことが可能な通信方式で送信されるので、レンズデータ転送時の待ち時間を削減することができる。
また本実施の形態によれば、データ量のそれほど大きくないデータ(インデックス値として表された状態データ)であるが、その状態データ以外の別データ(フォーカスレンズの移動量と移動方向をリアルタイムで示すデータ)の通信路を別途確保しておかなければならない状況のとき(撮影動作中)には、状態データの通信路を一方向専用ではなくカメラボディ100からの制御命令の通信路と兼用する通信方式を採用するので、徒に通信路を増やすことなく、状態データ通信と別データ通信とを共存させることができる。
According to the camera body and the photographing lens according to the above-described embodiment, the following operational effects can be obtained.
(1) When a power-on operation is performed on the camera body 100, the camera body 100 receives a lens identifier included in the taking lens 200 and compares it with a lens identifier stored in the flash memory 142. If the comparison result does not match, the lens data is received from the photographing lens 200. Thereby, when the lens data of the photographing lens 200 is stored in the flash memory 142, the startup time of the camera body 100 is shortened.
In addition, according to the present embodiment, lens data (fixed data) having a large amount of data is transmitted by a communication method capable of performing high-speed data communication, so that waiting time during lens data transfer can be reduced. Can do.
Further, according to the present embodiment, the data amount is not so large (state data expressed as an index value), but other data other than the state data (the moving amount and moving direction of the focus lens are shown in real time). (Data) communication path must be secured separately (during shooting operation), the status data communication path is not dedicated to one direction but is also used as a communication path for the control command from the camera body 100 Since the method is adopted, state data communication and separate data communication can coexist without increasing the number of communication channels.

(2)メインCPU137は、カメラボディ100が受信したレンズ識別子とフラッシュメモリ142に格納されているレンズ識別子とが一致した場合にはフラッシュメモリ142に格納されているレンズデータを用いて撮影レンズ200およびASIC135の制御を行い、一致しなかった場合には撮影レンズ200から受信したレンズデータを用いて撮影レンズ200およびASIC135の制御を行う。これにより、取り付けられている撮影レンズ200に対応するレンズデータが常に用いられ、レンズデータの錯誤が生じない。 (2) When the lens identifier received by the camera body 100 matches the lens identifier stored in the flash memory 142, the main CPU 137 uses the lens data stored in the flash memory 142 and the lens 200 and The ASIC 135 is controlled, and if they do not match, the photographic lens 200 and the ASIC 135 are controlled using the lens data received from the photographic lens 200. As a result, lens data corresponding to the attached photographing lens 200 is always used, and there is no error in lens data.

(3)カメラボディ100は、撮影レンズ200から受信したレンズデータを、受信直後にフラッシュメモリ142へ記憶する。これにより、フラッシュメモリ142に撮影レンズ200に対応するレンズデータが格納された状態が常に保たれるので、撮影レンズ200を取り替えるまで撮影レンズ200からレンズデータを再度受信する必要がない。 (3) The camera body 100 stores the lens data received from the photographing lens 200 in the flash memory 142 immediately after reception. Accordingly, since the lens data corresponding to the photographing lens 200 is always stored in the flash memory 142, it is not necessary to receive lens data from the photographing lens 200 again until the photographing lens 200 is replaced.

(4)カメラボディ100が電源オフ状態のときに撮影レンズ200を取り付けると、通信部125による撮影レンズ200との通信、ならびに、フラッシュメモリ142へのレンズデータの書き込みが少なくとも可能な通信可能状態へ遷移する。そして、通信部125によって受信したレンズデータをフラッシュメモリ142へ書き込み、再度電源オフ状態となる。これにより、消費電力を抑えることができると共に、レンズデータの送受信を行ったことをユーザに意識させることがない。 (4) When the photographic lens 200 is attached when the camera body 100 is in the power-off state, the communication unit 125 can communicate with the photographic lens 200 and can be in a communicable state in which lens data can be written into the flash memory 142. Transition. Then, the lens data received by the communication unit 125 is written into the flash memory 142, and the power is turned off again. As a result, power consumption can be suppressed, and the user is not conscious of transmitting / receiving lens data.

(5)カメラボディ100と撮影レンズ200との間で行う通信には高速モードによる通信と低速モードによる通信とが存在し、前者によって後者よりも高速な通信が可能である。これにより、サイズの大きなデータを高速モードで転送し、データ転送時間の短縮を行うことができる。 (5) Communication between the camera body 100 and the photographing lens 200 includes communication in a high-speed mode and communication in a low-speed mode. The former allows higher-speed communication than the latter. Thereby, large data can be transferred in the high-speed mode, and the data transfer time can be shortened.

(6)通信部125,240は2つの通信モード(高速モードと低速モード)を備え、カメラボディ100がレンズデータを受信するときには高速モードによる通信を行うようにした。且つ、その一方で、カメラボディ100が撮影レンズ200に対して動作制御を行いつつ撮影レンズ200からデータを受信するとき(通信ラインを送信用と受信用とに兼用する必要がある期間)には、低速モード通信でも負担(通信時間)を削減できるように、撮影レンズ200からのデータを、通常のレンズ状態をそのまま示したデータよりもデータ量を削減できるインデックス値のデータに変換し、それを状態データとして通信するようにした。これにより、通信に必要な時間を短縮することができる。 (6) The communication units 125 and 240 have two communication modes (a high-speed mode and a low-speed mode). When the camera body 100 receives lens data, communication is performed in the high-speed mode. On the other hand, when the camera body 100 receives data from the photographic lens 200 while controlling the operation of the photographic lens 200 (a period during which the communication line needs to be used for both transmission and reception). In order to reduce the burden (communication time) even in the low-speed mode communication, the data from the photographing lens 200 is converted into index value data that can reduce the data amount as compared with the data indicating the normal lens state as it is, Communicate as status data. Thereby, the time required for communication can be shortened.

(7)カメラボディ100は、撮影レンズ200の取り付けに応じて高速モードによるレンズデータの受信を行う。これにより、撮像を行う際には、データ量の多いレンズデータの転送を行う必要が無く、通信に必要な時間を短縮することができる。 (7) The camera body 100 receives lens data in the high-speed mode according to the attachment of the taking lens 200. Thereby, when imaging, it is not necessary to transfer lens data with a large amount of data, and the time required for communication can be shortened.

(8)カメラボディ100は、撮影レンズ200から受信したレンズ識別子とフラッシュメモリ142に記録されているレンズ識別子とを比較し、一致しなかった場合にのみ高速モードによるレンズデータの転送を行う。これにより、撮影レンズ200に対応するレンズデータがフラッシュメモリ142に記録されている限りレンズデータの転送を行う必要が無く、通信に必要な時間を短縮することができる。 (8) The camera body 100 compares the lens identifier received from the photographic lens 200 with the lens identifier recorded in the flash memory 142, and transfers lens data in the high-speed mode only when they do not match. Thereby, as long as the lens data corresponding to the photographing lens 200 is recorded in the flash memory 142, it is not necessary to transfer the lens data, and the time required for communication can be shortened.

(9)高速モードと低速モードで、利用する端子の切り替えとスイッチによる通信経路の切り替えとを行う。これにより、接続部109、202に用意する接点の数を増やすことなく、全二重の通信を行うことができる。
(10)撮影レンズ200の焦点調節状態(フォーカスレンズの移動量と移動方向を表すパルス信号)を、撮影レンズ200からカメラボディ100へ通信する通信路(接点)として使用されている通信路の一部(伝送線34a)を、固定データを転送するための通信路(高速モードにおける撮影レンズ200からカメラボディ100への一方向通信路)として兼用するようにしたので、従来のシステムと比して徒に接点の数を増やすことなく、全二重の通信を行うことができる。
(11)本実施の形態では、カメラボディ100からの要求信号(リクエスト)に応じて撮影レンズ200側が発する準備完了信号とデータ通信時に使用する同期クロック信号とを兼用しているので、通信に要する端子数を抑制することができる。
(12)撮影レンズ200側からクロック信号を発するように構成しているので、撮影レンズ側が自らデータ通信を中断したい場合に、そのクロック信号の出力を停止することによって、撮影レンズ200が自発的に通信を中断することが出来る。これにより撮影レンズ200が自発的な通信中断を行うための専用の端子を設ける必要がない。そして、このように構成しておくことで、例えば撮影レンズ200がレンズデータ送信中に、撮影レンズ200側に設けられた通信を強制停させるための操作止ボタン(不図示)が操作された場合などに、通信中断を行うことが出来るので、使用者の使い勝手が良い。
なおカメラボディ側で通信を自発的に中断したい場合には、第1ハンドシェーク出力端子から出力するハンドシェーク信号を、LowレベルからHighレベルに切り替えれば良い。
(9) In the high speed mode and the low speed mode, the terminal to be used is switched and the communication path is switched by the switch. Thereby, full-duplex communication can be performed without increasing the number of contacts prepared in the connection units 109 and 202.
(10) One of the communication paths used as a communication path (contact point) for communicating the focus adjustment state of the photographing lens 200 (a pulse signal indicating the moving amount and moving direction of the focus lens) from the photographing lens 200 to the camera body 100. Since the unit (transmission line 34a) is also used as a communication path for transferring fixed data (one-way communication path from the photographing lens 200 to the camera body 100 in the high-speed mode), compared with the conventional system Full duplex communication can be performed without increasing the number of contacts.
(11) In the present embodiment, a preparation completion signal issued by the photographing lens 200 in response to a request signal (request) from the camera body 100 is used in combination with a synchronous clock signal used during data communication. The number of terminals can be suppressed.
(12) Since the photographic lens 200 is configured to emit a clock signal, when the photographic lens side wants to interrupt data communication by itself, the photographing lens 200 voluntarily stops the output of the clock signal. Communication can be interrupted. This eliminates the need for providing a dedicated terminal for the photographing lens 200 to spontaneously interrupt communication. With this configuration, for example, when an operation stop button (not shown) for forcibly stopping communication provided on the photographic lens 200 side is operated while the photographic lens 200 is transmitting lens data. Since communication can be interrupted, etc., it is convenient for the user.
When it is desired to voluntarily interrupt communication on the camera body side, the handshake signal output from the first handshake output terminal may be switched from the Low level to the High level.

――第2の実施の形態――
第2の実施の形態におけるカメラボディおよび撮影レンズは、第1の実施の形態とは異なり、通信可能状態を採らない。その代わり、電源オフ状態であってもカメラボディ100と撮影レンズ200との通信ならびにフラッシュメモリ142の読み書きが可能となるよう、電源制御回路128により通信部125、メインCPU137、メモリ141、フラッシュメモリ142への電力供給が行われる。
-Second embodiment-
Unlike the first embodiment, the camera body and the photographic lens in the second embodiment do not adopt a communicable state. Instead, the communication control unit 128 enables the communication unit 125, the main CPU 137, the memory 141, and the flash memory 142 so that communication between the camera body 100 and the photographing lens 200 and reading / writing of the flash memory 142 are possible even when the power is off. Is supplied with power.

すなわち、本実施形態におけるカメラボディは、図6に示した電源オフ状態で撮影レンズを装着した場合の処理を示すフローチャートにおいて、ステップS12における通信可能状態への遷移、ならびに、ステップS15における電源オフ状態への遷移を行わない。これは、図8に示したレンズデータの送受信処理を電源オフ状態でも行えるためである。   That is, the camera body according to the present embodiment has a transition to a communicable state in step S12 and a power-off state in step S15 in the flowchart showing the processing when the photographing lens is attached in the power-off state shown in FIG. The transition to is not performed. This is because the lens data transmission / reception processing shown in FIG. 8 can be performed even in the power-off state.

上述した第2の実施の形態によるカメラボディおよび撮影レンズによれば、第1の実施の形態によるカメラボディおよび撮影レンズで得られる作用効果に加えて、次の作用効果が得られる。
(1)カメラボディ100および撮影レンズ200が電源オフ状態のときでも、通信部125による撮影レンズ200との通信、ならびに、フラッシュメモリ142へのレンズデータの書き込みが少なくとも可能な電力供給が行われる。これにより、レンズデータの送受信を行ったことをユーザに意識させることがない。
According to the camera body and photographing lens according to the second embodiment described above, the following operational effects can be obtained in addition to the operational effects obtained with the camera body and photographing lens according to the first embodiment.
(1) Even when the camera body 100 and the photographing lens 200 are in a power-off state, the communication unit 125 communicates with the photographing lens 200 and supplies power that can at least write lens data to the flash memory 142. This prevents the user from being aware that lens data has been transmitted and received.

(2)電源制御回路128は、電源オフ状態と電源オン状態という2つの電源状態のみを管理すればよい。これにより、電源状態の制御が容易になり、電源制御回路128の回路規模を小さくすることができる。 (2) The power supply control circuit 128 only needs to manage two power supply states, that is, a power-off state and a power-on state. As a result, the control of the power supply state is facilitated, and the circuit scale of the power supply control circuit 128 can be reduced.

次のような変形も本発明の範囲内であり、変形例の一つ、もしくは複数を上述の実施形態と組み合わせることも可能である。
(1)カメラボディ100が電源オフ状態のときは、撮影レンズ200を取り付けても通信などを行わないようにしてもよい。この場合、新規に取り付けた撮影レンズ200のレンズデータは、カメラボディ100を電源オン状態にしたときに転送される。
The following modifications are also within the scope of the present invention, and one or a plurality of modifications can be combined with the above-described embodiment.
(1) When the camera body 100 is in the power-off state, communication or the like may not be performed even if the photographing lens 200 is attached. In this case, the lens data of the newly attached photographic lens 200 is transferred when the camera body 100 is turned on.

(2)撮影レンズ200が取り付けられたことの検知は、不図示のメカニカルスイッチ以外で行ってもよい。例えば、撮影レンズ200が取り付けられた際に通電する端子を用意しておき、この端子の電圧を監視することにより撮影レンズ200の取付を検知するようにしてもよい。 (2) The detection that the photographing lens 200 is attached may be performed by means other than a mechanical switch (not shown). For example, a terminal that is energized when the photographing lens 200 is attached may be prepared, and the attachment of the photographing lens 200 may be detected by monitoring the voltage at this terminal.

(3)カメラボディ100と撮影レンズ200との間にコンバージョンレンズを装着した場合でも、本発明を適用することができる。この場合、レンズ識別子やレンズデータの転送は、撮影レンズ200およびコンバージョンレンズがどちらも取り付けられた際に行われる。また、コンバージョンレンズが取り付けられたことによる光学特性への影響は、撮影レンズ200がカメラボディ100へレンズデータを送信する際にコンバージョンレンズが自身の光学特性に応じてレンズデータを補正してもよいし、コンバージョンレンズの光学特性を反映した補正データをレンズデータとは独立してカメラボディ100へ送信するようにし、カメラボディ100が補正データを用いてレンズデータを補正するようにしてもよい。なお、撮影レンズ200が出力するレンズデータは補正の有無に関わらず一旦コンバージョンレンズに送信される。コンバージョンレンズはレンズデータを撮影レンズ200からのスルー端子を通じてカメラボディ100へ送信してもよい。 (3) Even when a conversion lens is mounted between the camera body 100 and the photographing lens 200, the present invention can be applied. In this case, the lens identifier and the lens data are transferred when both the photographing lens 200 and the conversion lens are attached. In addition, the effect on the optical characteristics due to the attachment of the conversion lens may be that the conversion lens corrects the lens data according to the optical characteristics of the imaging lens 200 when transmitting the lens data to the camera body 100. The correction data reflecting the optical characteristics of the conversion lens may be transmitted to the camera body 100 independently of the lens data, and the camera body 100 may correct the lens data using the correction data. Note that the lens data output from the photographing lens 200 is once transmitted to the conversion lens regardless of whether correction is performed. The conversion lens may transmit lens data to the camera body 100 through a through terminal from the photographing lens 200.

(4)上記実施形態では、低速モードのとき、通信路34(図4)を用いてフォーカスレンズの移動量および移動方向を表すデータを送信しているが、これ以外のデータを通信路34を用いて転送するようにしてもよい。また、撮影レンズ200から通信路34へ、パルス信号以外の信号を出力するようにしてもよい。 (4) In the above embodiment, in the low speed mode, data representing the movement amount and direction of the focus lens is transmitted using the communication path 34 (FIG. 4). You may make it forward using. Further, a signal other than a pulse signal may be output from the photographing lens 200 to the communication path 34.

(5)カメラボディ100が受信したレンズデータを、レンズデータの受信直後以外のタイミングでフラッシュメモリ142へ書き込んでもよい。例えば、カメラボディ100の電源オフ操作を行ったときに、最後に受信したレンズデータをフラッシュメモリ142へ書き込むようにしてもよい。 (5) The lens data received by the camera body 100 may be written to the flash memory 142 at a timing other than immediately after the lens data is received. For example, the lens data received last may be written to the flash memory 142 when the camera body 100 is turned off.

(6)カメラボディ100がレンズ識別子を受信する際に、高速モードによる通信ではなく低速モードによる通信を用いてもよい。この場合カメラボディ100は、受信したレンズ識別子とフラッシュメモリ142に記録されているレンズ識別子とが一致しなかった場合に高速モードへ遷移し、レンズデータの転送を行う。
(7)上述の実施の形態では、クロック出力端子240bから出力されるクロック信号の周期を、高速モードでも低速モードでも同一周期のものとしている。しかしながら高速モードのときのクロック周期を、低速モードのクロック周期よりも高速に変更制御しても良い。
(8)上述の実施の形態では、クロック信号を撮影レンズ200側からのみ出力するように構成しているが、カメラボディ100側にもクロック信号を発する構成を設けるようにしても良い。この場合には、撮影レンズ200からカメラボディ100に通信するときには撮影レンズ200側の出力するクロック信号を用い、逆方向の通信の場合にはカメラボディ100側の出力するクロック信号を用いるようにすれば良い。そしてこの場合には、クロック信号の通信ライン(伝送線、端子)は、撮影レンズ側からのクロック信号と、カメラボディ側からのクロック信号との間で兼用使用することが、端子数の削減(装置の小型化)の観点から望ましい。兼用する際には、時系列に切り替え使用することになる。
(9)上記実施の形態では、撮影レンズ200の通信部240の通信モードを、カメラボディ100からの通信モード切替指令を受けて、レンズ側CPU231が切り替えるようにしているが、レンズ側のメインCPU231が能動的に通信モードを切り替えるようにしても良い。この場合、一例として、撮影レンズ200がカメラボディ100に装着されたこと、あるいはカメラボディ側の電源がONされたことを検知する手段(例えば、カメラボディ側から給電が開始されたことをもって装着、あるいはカメラボディの電源がONされたことを検知する回路手段)を撮影レンズ側に設けておき、これらの検知がなされるとメインCPU231が通信部240を高速モードに設定し、そしてレンズデータを出力し終わるとメインCPU231が通信部240を低速モードに設定するようにすれば良い。
(6) When the camera body 100 receives the lens identifier, communication in the low speed mode may be used instead of communication in the high speed mode. In this case, when the received lens identifier does not match the lens identifier recorded in the flash memory 142, the camera body 100 shifts to the high speed mode and transfers lens data.
(7) In the above-described embodiment, the cycle of the clock signal output from the clock output terminal 240b is the same in both the high speed mode and the low speed mode. However, the clock cycle in the high-speed mode may be changed and controlled at a higher speed than the clock cycle in the low-speed mode.
(8) In the above-described embodiment, the clock signal is output only from the photographing lens 200 side. However, the camera body 100 side may be configured to generate the clock signal. In this case, the clock signal output from the photographing lens 200 is used when communicating from the photographing lens 200 to the camera body 100, and the clock signal output from the camera body 100 is used when communicating in the reverse direction. It ’s fine. In this case, the clock signal communication line (transmission line, terminal) can be used between the clock signal from the photographic lens side and the clock signal from the camera body side to reduce the number of terminals ( This is desirable from the viewpoint of downsizing of the apparatus. When they are also used, they are switched in time series.
(9) In the above embodiment, the lens-side CPU 231 switches the communication mode of the communication unit 240 of the photographing lens 200 in response to a communication mode switching command from the camera body 100. However, the lens-side main CPU 231 is switched. May actively switch the communication mode. In this case, as an example, means for detecting that the photographing lens 200 is attached to the camera body 100 or that the power supply on the camera body side is turned on (for example, attachment when power supply from the camera body side is started, Alternatively, a circuit means for detecting that the power of the camera body is turned on is provided on the photographing lens side, and when these are detected, the main CPU 231 sets the communication unit 240 to the high speed mode and outputs lens data. Then, the main CPU 231 may set the communication unit 240 to the low speed mode.

本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。   As long as the characteristics of the present invention are not impaired, the present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. .

100 カメラボディ
125 通信部(カメラボディ)
137 メインCPU(カメラボディ)
200 撮影レンズ
231 メインCPU(撮影レンズ)
240 通信部(撮影レンズ)
100 Camera body 125 Communication unit (camera body)
137 Main CPU (camera body)
200 Shooting lens 231 Main CPU (shooting lens)
240 Communication unit (photographing lens)

Claims (10)

撮影レンズ毎に異なるレンズ識別子を含む固有のレンズデータを備えた撮影レンズを、着脱可能に取り付けられる取付手段と、
前記レンズデータを記憶する記憶手段と、
前記取付手段に取り付けられている前記撮影レンズから前記レンズデータを受信する第1の通信手段と、
電源投入操作または電源電池の装填が行われたときに前記第1の通信手段により受信されたレンズ識別子と、前記記憶手段に記憶されているレンズ識別子とが一致するか否かを判定する判定手段とを備え、
前記第1の通信手段は、前記判定手段が行った否定判定に応じて前記レンズデータを受信することを特徴とする撮像装置。
A mounting means for detachably mounting a photographic lens having unique lens data including a lens identifier that is different for each photographic lens;
Storage means for storing the lens data;
First communication means for receiving the lens data from the photographic lens attached to the attachment means;
Determining means for determining whether the lens identifier received by the first communication means when the power-on operation or the power battery is loaded matches the lens identifier stored in the storage means And
The imaging apparatus, wherein the first communication unit receives the lens data in response to a negative determination made by the determination unit.
請求項1に記載の撮像装置において、
前記レンズデータに基づいた制御を行う制御手段をさらに備え、
前記制御手段は、前記判定手段が肯定判定を行った場合には、前記記憶手段に記憶されている前記レンズデータに基づいた制御を行い、前記判定手段が否定判定を行った場合には、前記第1の通信手段が受信した前記レンズデータに基づいた制御を行うことを特徴とする撮像装置。
The imaging device according to claim 1,
A control means for performing control based on the lens data;
The control means performs control based on the lens data stored in the storage means when the determination means makes an affirmative determination, and when the determination means makes a negative determination, An image pickup apparatus that performs control based on the lens data received by the first communication unit.
請求項1または2に記載の撮像装置において、
前記撮影レンズが前記取付手段へ取り付けられたことを検知する検知手段をさらに備え、
前記記憶手段は、前記検知手段が前記撮影レンズの取り付けを検知したときに前記第1の通信手段により受信された前記レンズデータを、所定のタイミングで記憶することを特徴とする撮像装置。
The imaging device according to claim 1 or 2,
Further comprising detection means for detecting that the photographic lens is attached to the attachment means;
The image pickup apparatus, wherein the storage unit stores the lens data received by the first communication unit when the detection unit detects attachment of the photographing lens at a predetermined timing.
請求項3に記載の撮像装置において、
前記撮像装置は、
前記第1の通信手段と前記記憶手段とを含む第1の回路と、
前記第1の回路より消費電力が大きい第2の回路とをさらに備え、
前記第1の回路に給電を行い前記第2の回路に給電を行わない通信可能状態と、
前記第1の回路および前記第2の回路に給電を行う電源オン状態とのいずれかの状態をとることを特徴とする撮像装置。
The imaging device according to claim 3.
The imaging device
A first circuit including the first communication means and the storage means;
A second circuit that consumes more power than the first circuit,
A communicable state in which power is supplied to the first circuit and power is not supplied to the second circuit;
An imaging apparatus that is in one of a power-on state in which power is supplied to the first circuit and the second circuit.
請求項3に記載の撮像装置において、
前記撮像装置は、
前記第1の通信手段と前記記憶手段とを含む第1の回路と、
前記第1の回路より消費電力が大きい第2の回路とから構成され、
前記第1の回路および前記第2の回路に給電を行わない電源オフ状態と、
前記第1の回路に給電を行い前記第2の回路に給電を行わない通信可能状態と、
前記第1の回路および前記第2の回路に給電を行う電源オン状態とのいずれかの状態をとり、
前記検知手段は、前記撮像装置が前記電源オフ状態のときに前記撮影レンズの取り付けを検知した場合には、前記撮像装置を前記通信可能状態にし、
前記記憶手段は、前記検知手段が前記撮像装置を前記通信可能状態にしたとき、前記第1の通信手段により受信された前記レンズデータを記憶し、
前記記憶手段により前記レンズデータが記憶された後、前記撮像装置が前記電源オフ状態になることを特徴とする撮像装置。
The imaging device according to claim 3.
The imaging device
A first circuit including the first communication means and the storage means;
A second circuit that consumes more power than the first circuit;
A power-off state in which power is not supplied to the first circuit and the second circuit;
A communicable state in which power is supplied to the first circuit and power is not supplied to the second circuit;
Take one of the power-on state for supplying power to the first circuit and the second circuit,
When the detection unit detects attachment of the photographing lens when the imaging device is in the power-off state, the detection unit sets the imaging device to the communicable state,
The storage means stores the lens data received by the first communication means when the detection means brings the imaging device into the communicable state,
An image pickup apparatus, wherein the image pickup apparatus is turned off after the lens data is stored by the storage means.
請求項1〜5のいずれか一項に記載の撮像装置において、
前記撮影レンズと前記撮像装置との間で、前記レンズデータとは異なるデータの送受信を行う第2の通信手段をさらに備え、
前記第1の通信手段は、前記第2の通信手段より通信速度が高速であることを特徴とする撮像装置。
In the imaging device according to any one of claims 1 to 5,
A second communication unit configured to transmit and receive data different from the lens data between the photographing lens and the imaging device;
The imaging apparatus according to claim 1, wherein the first communication unit has a higher communication speed than the second communication unit.
撮影レンズ毎に異なるレンズ識別子を含む固有のレンズデータを備えた撮影レンズを、個々のコンバージョンレンズごとに異なるコンバージョンレンズ識別子を含む固有の補正データを備えたコンバージョンレンズを介して、着脱可能に取り付け可能であり、
前記補正データに基づき前記レンズデータを補正して得られる補正済みレンズデータを制御に用いる撮像装置であって、
前記補正済みレンズデータと前記補正データとを記憶する記憶手段と、
前記コンバージョンレンズから前記補正済みレンズデータと前記補正データとを受信する通信手段と、
電源投入操作または電源電池の装填が行われたときに前記通信手段により受信されたレンズ識別子と前記記憶手段に記憶されているレンズ識別子とが一致するか否か、および、電源投入操作が行われたときに前記通信手段により受信されたコンバージョンレンズ識別子と前記記憶手段に記憶されているコンバージョンレンズ識別子とが一致するか否かを判定する判定手段とを備え、
前記通信手段は、前記判定手段が行った否定判定に応じて前記レンズデータを受信することを特徴とする撮像装置。
A photographic lens with unique lens data including a different lens identifier for each photographic lens can be detachably attached via a conversion lens with unique correction data including a different conversion lens identifier for each individual conversion lens. And
An imaging apparatus that uses corrected lens data obtained by correcting the lens data based on the correction data for control,
Storage means for storing the corrected lens data and the correction data;
Communication means for receiving the corrected lens data and the correction data from the conversion lens;
Whether the lens identifier received by the communication means matches the lens identifier stored in the storage means when a power-on operation or a power-supply battery is loaded, and a power-on operation is performed. Determination means for determining whether or not the conversion lens identifier received by the communication means coincides with the conversion lens identifier stored in the storage means,
The communication device receives the lens data in response to a negative determination made by the determination unit.
撮像装置に設けられた取付手段を介して前記撮像装置に着脱可能な撮影レンズであって、
前記撮影レンズ毎に互いに異なるデータであって、レンズ識別子及び該撮影レンズの固有の特性データを含むレンズデータを記憶する記憶手段と、
前記取付手段を介して装着されている撮像装置に対して、前記レンズデータを送信する通信手段と、を有し、
前記通信手段は、前記レンズデータを送信する際に、先ず前記レンズ識別子を前記特性データと分離した上で送信し、その後、所定条件が満たされるまで該特性データの送信を禁止することを特徴とする撮影レンズ。
A photographic lens that can be attached to and detached from the imaging device via a mounting means provided in the imaging device;
Storage means for storing lens data including lens identifiers and unique characteristic data of the photographing lens, which are different from each other for each photographing lens;
Communication means for transmitting the lens data to the imaging device attached via the attachment means;
When transmitting the lens data, the communication means first transmits the lens identifier after separating it from the characteristic data, and then prohibits transmission of the characteristic data until a predetermined condition is satisfied. The taking lens.
前記撮像装置における電源投入操作または電源電池の装填が行われたことを検出する検出手段を更に有し、
前記通信手段は、前記検出手段による前記検出がなされると、前記レンズ識別子の通信を行うことを特徴とする請求項8に記載の撮影レンズ。
And further comprising detection means for detecting that a power-on operation or a power-source battery is loaded in the imaging device,
The photographing lens according to claim 8, wherein the communication unit communicates the lens identifier when the detection is performed by the detection unit.
前記通信手段は、前記レンズ識別子の送信後で且つ前記撮像装置から前記特性データの転送要求があったときに、前記所定条件が満たされたと判断し、該特性データの送信を行うことを特徴とする請求項9に記載の撮影レンズ。   The communication means determines that the predetermined condition is satisfied after transmitting the lens identifier and when there is a request to transfer the characteristic data from the imaging device, and transmits the characteristic data. The photographic lens according to claim 9.
JP2009086416A 2009-03-31 2009-03-31 Imaging apparatus and photographic lens Pending JP2010237515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009086416A JP2010237515A (en) 2009-03-31 2009-03-31 Imaging apparatus and photographic lens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009086416A JP2010237515A (en) 2009-03-31 2009-03-31 Imaging apparatus and photographic lens

Publications (1)

Publication Number Publication Date
JP2010237515A true JP2010237515A (en) 2010-10-21

Family

ID=43091881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009086416A Pending JP2010237515A (en) 2009-03-31 2009-03-31 Imaging apparatus and photographic lens

Country Status (1)

Country Link
JP (1) JP2010237515A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012108474A (en) * 2010-10-27 2012-06-07 Canon Inc Imaging apparatus and control method thereof, accessory and control method thereof, and imaging apparatus system
JP2013011776A (en) * 2011-06-30 2013-01-17 Canon Inc Lens device and camera system
JP2013020021A (en) * 2011-07-08 2013-01-31 Pentax Ricoh Imaging Co Ltd Shutter controller
JP2013020019A (en) * 2011-07-08 2013-01-31 Pentax Ricoh Imaging Co Ltd Shutter controller
JP2014219698A (en) * 2012-08-31 2014-11-20 株式会社ニコン Interchangeable lens
US9007515B2 (en) 2012-05-08 2015-04-14 Sony Corporation Lens-interchangeable camera system, lens data transmission method and lens data acquisition program
JP2018205709A (en) * 2017-05-31 2018-12-27 キヤノン株式会社 Imaging device and accessory device
WO2019150743A1 (en) * 2018-01-30 2019-08-08 ソニー株式会社 Imaging device, image sensor unit, camera unit, and control method
JP2019219586A (en) * 2018-06-21 2019-12-26 株式会社ニコン Interchangeable lens and determination method
JP2020013101A (en) * 2018-12-19 2020-01-23 株式会社ニコン accessory
JP2020025335A (en) * 2019-11-11 2020-02-13 キヤノン株式会社 Accessory device, imaging device, and communication control program

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8941774B2 (en) 2010-10-27 2015-01-27 Canon Kabushiki Kaisha Imaging apparatus and accessory, and method and system of the same, and medium
JP2012108474A (en) * 2010-10-27 2012-06-07 Canon Inc Imaging apparatus and control method thereof, accessory and control method thereof, and imaging apparatus system
JP2013011776A (en) * 2011-06-30 2013-01-17 Canon Inc Lens device and camera system
JP2013020021A (en) * 2011-07-08 2013-01-31 Pentax Ricoh Imaging Co Ltd Shutter controller
JP2013020019A (en) * 2011-07-08 2013-01-31 Pentax Ricoh Imaging Co Ltd Shutter controller
US9007515B2 (en) 2012-05-08 2015-04-14 Sony Corporation Lens-interchangeable camera system, lens data transmission method and lens data acquisition program
JP2014219698A (en) * 2012-08-31 2014-11-20 株式会社ニコン Interchangeable lens
JP7187178B2 (en) 2017-05-31 2022-12-12 キヤノン株式会社 Imaging equipment and accessory equipment
JP2018205709A (en) * 2017-05-31 2018-12-27 キヤノン株式会社 Imaging device and accessory device
WO2019150743A1 (en) * 2018-01-30 2019-08-08 ソニー株式会社 Imaging device, image sensor unit, camera unit, and control method
JPWO2019150743A1 (en) * 2018-01-30 2021-01-07 ソニー株式会社 Imaging device, image sensor unit, camera unit and control method
US11533419B2 (en) 2018-01-30 2022-12-20 Sony Corporation Imaging apparatus, image sensor unit, camera unit, and control method for determining and updating correction data
JP2019219586A (en) * 2018-06-21 2019-12-26 株式会社ニコン Interchangeable lens and determination method
JP7205085B2 (en) 2018-06-21 2023-01-17 株式会社ニコン Interchangeable lens and judgment method
JP2020013101A (en) * 2018-12-19 2020-01-23 株式会社ニコン accessory
JP7180360B2 (en) 2018-12-19 2022-11-30 株式会社ニコン accessory
JP2020025335A (en) * 2019-11-11 2020-02-13 キヤノン株式会社 Accessory device, imaging device, and communication control program

Similar Documents

Publication Publication Date Title
JP2010237514A (en) Imaging apparatus and imaging lens
JP2010237515A (en) Imaging apparatus and photographic lens
US10331018B2 (en) Interchangeable lens, camera system,communication method, and program
US8432480B2 (en) Interchangeable lens, camera body and camera system
CN102761688B (en) Image capture apparatus and control method thereof
US8891952B2 (en) Image sensing apparatus, control method, and user interface display apparatus
JP5495617B2 (en) Interchangeable lens, camera body, and camera system
JP2010226666A (en) Conversion lens, photographic lens, and imaging apparatus
JP2007003646A (en) Camera system, lens unit and accessory
CN108139653B (en) Lens system, method for operating lens system, recording medium, and camera system
JP2010026010A (en) Imaging apparatus and photographic lens
US20100197348A1 (en) Electronic device, method of controlling the same, and program
JP2008261983A (en) Camera
US20230388633A1 (en) Camera accessory and method of transmitting information
US10942425B2 (en) Accessory device, camera, and storage medium
US9794487B2 (en) Imaging device, camera body, and method for controlling imaging device
JP2017138395A (en) Interchangeable lens and communication method thereof, and imaging device and communication method thereof
WO2009139193A1 (en) Camera system
US7883281B2 (en) Camera body, interchangeable lens, and camera system including camera body and interchangeable lens
JP2015108674A (en) Imaging device, lens device, control method of imaging device and control method of lens device
JP4467988B2 (en) IMAGING DEVICE, IMAGING METHOD AND PROGRAM FOR IMAGING DEVICE
JPWO2020017462A1 (en) Camera accessories and information transmission method
JP5436115B2 (en) Imaging apparatus, control method thereof, and program
JPH089202A (en) Display device for still video camera
JP2006203679A (en) Imaging apparatus, imaging apparatus body and imaging unit