JP5842494B2 - Accessories and accessory control program - Google Patents

Accessories and accessory control program Download PDF

Info

Publication number
JP5842494B2
JP5842494B2 JP2011203307A JP2011203307A JP5842494B2 JP 5842494 B2 JP5842494 B2 JP 5842494B2 JP 2011203307 A JP2011203307 A JP 2011203307A JP 2011203307 A JP2011203307 A JP 2011203307A JP 5842494 B2 JP5842494 B2 JP 5842494B2
Authority
JP
Japan
Prior art keywords
data
gps
camera
control unit
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011203307A
Other languages
Japanese (ja)
Other versions
JP2013066044A (en
Inventor
佑亮 井手
佑亮 井手
今藤 和晴
和晴 今藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2011203307A priority Critical patent/JP5842494B2/en
Publication of JP2013066044A publication Critical patent/JP2013066044A/en
Application granted granted Critical
Publication of JP5842494B2 publication Critical patent/JP5842494B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Accessories Of Cameras (AREA)

Description

本発明は、アクセサリー、及びアクセサリー制御プログラムに関する。   The present invention relates to an accessory and an accessory control program.

カメラは、閃光装置等のアクセサリーとともに使用されることがある(例えば、特許文献1参照)。アクセサリーは、カメラのアクセサリーシュー(シュー座、ホットシュー等ともよばれる)に接続されて、使用される。アクセサリーシューは、アクセサリーを制御する制御信号をアクセサリーへ供給する端子を有する。カメラは、アクセサリーシューの端子を介してアクセサリーに制御信号を送信し、アクセサリーを制御することができる。   The camera may be used with accessories such as a flash device (for example, see Patent Document 1). The accessory is used by being connected to an accessory shoe (also called a shoe seat, a hot shoe, etc.) of the camera. The accessory shoe has a terminal for supplying a control signal for controlling the accessory to the accessory. The camera can control the accessory by transmitting a control signal to the accessory via the terminal of the accessory shoe.

米国特許出願公開第2010/0329302号明細書US Patent Application Publication No. 2010/033292

アクセサリーは、電池を内蔵しているか、ケーブルを介してカメラから供給されていたので利便性が悪かった。本発明は、上記の事情に鑑み成されたものであって、利便性を向上できるアクセサリー、及びアクセサリー制御プログラムを提供することを目的とする。   The accessory was not convenient because it had a built-in battery or was supplied from the camera via a cable. This invention is made in view of said situation, Comprising: It aims at providing the accessory which can improve the convenience, and an accessory control program.

上記目的を達成するため、本発明アクセサリーは、外部機器と情報通信が可能な第1情報通信部と、カメラと情報通信が可能な第2情報通信部と、制御部と、を備え、前記制御部は、前記カメラから受信する予め定められているデータの受信回数をカウントし、当該カウントしたデータの受信回数が予め定められている回数より少ない場合、前記カメラへの予め定められているデータの送信よりも前記外部機器との間におけるデータの送信または受信を優先して行う。 In order to achieve the above object, the accessory of the present invention includes a first information communication unit capable of information communication with an external device, a second information communication unit capable of information communication with a camera, and a control unit. The unit counts the number of receptions of predetermined data received from the camera, and when the number of receptions of the counted data is less than a predetermined number of times , It intends line with priority transmission or reception of data between the said external device than the transmission.

また、本発明に係るアクセサリー制御プログラムは、外部機器と情報通信が可能な第1情報通信部と、制御部と、カメラと情報通信が可能な第2情報通信部と、を有するアクセサリーの制御をコンピュータに実行させるためのプログラムであり、前記カメラから受信する予め定められているデータの受信回数をカウントし、当該カウントしたデータの受信回数が予め定められている回数より少ない場合、前記カメラへの予め定められているデータの送信よりも、前記外部機器との間でのデータの送信または受信を行う手順をコンピュータに実行させる。 The accessory control program according to the present invention controls an accessory including a first information communication unit capable of information communication with an external device, a control unit, and a second information communication unit capable of information communication with a camera. This is a program for causing a computer to execute, and counts the number of receptions of predetermined data received from the camera . When the number of times of reception of the counted data is less than a predetermined number of times , than the transmission of data is predetermined, Ru to execute the procedure for transmitting or receiving data to and from the external device to the computer.

本発明によれば、利便性を向上できるアクセサリー、及びアクセサリー制御プログラムを提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the accessory which can improve convenience and an accessory control program can be provided.

本実施形態に係るカメラシステムの外観を示す図である。It is a figure which shows the external appearance of the camera system which concerns on this embodiment. 本実施形態に係るカメラシステムを図1とは反対側から見た図である。It is the figure which looked at the camera system which concerns on this embodiment from the opposite side to FIG. 本実施形態に係るカメラシステムの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the camera system which concerns on this embodiment. 本実施形態に係るカメラとアクセサリーとの接続関係を説明する構成図である。It is a block diagram explaining the connection relation of the camera and accessory which concern on this embodiment. 本実施形態のアクセサリー600の構成を示すブロック図である。It is a block diagram which shows the structure of the accessory 600 of this embodiment. 航法メッセージの構成を説明する図である。It is a figure explaining the structure of a navigation message. NMEAデータ(第1GPS情報)の一例である。It is an example of NMEA data (1st GPS information). 本実施形態に係る第2GPS情報に含まれるデータの構成を説明する図である。It is a figure explaining the structure of the data contained in the 2nd GPS information which concerns on this embodiment. 本実施形態に係るカメラシステムにおける処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process in the camera system which concerns on this embodiment. 本実施形態に係るアクセサリーにおける定常通信シーケンスにおける処理の手順を示す図である。It is a figure which shows the procedure of the process in the regular communication sequence in the accessory which concerns on this embodiment. パソコンからGPS制御部660へデータを送信する第1のデータ送受信処理の一例を示す図である。It is a figure which shows an example of the 1st data transmission / reception process which transmits data to the GPS control part 660 from a personal computer. 本実施形態に係るカメラ、アクセサリー及びパソコン間の第1のデータ送受信処理の一例を説明する図である。It is a figure explaining an example of the 1st data transmission / reception process between the camera which concerns on this embodiment, an accessory, and a personal computer. 本実施形態に係るパソコンからGPS制御部660へデータを送信する第2のデータ送受信処理の一例を示す図である。It is a figure which shows an example of the 2nd data transmission / reception process which transmits data to the GPS control part 660 from the personal computer which concerns on this embodiment. 本実施形態に係るカメラ、アクセサリー及びパソコン間の第2のデータ送受信処理の一例を説明する図である。It is a figure explaining an example of the 2nd data transmission / reception process between the camera which concerns on this embodiment, an accessory, and a personal computer.

本実施形態について説明する。以下の説明において、同様の構成要素については、同じ符号を付してその説明を簡略化あるいは省略することがある。   This embodiment will be described. In the following description, the same components are denoted by the same reference numerals, and the description thereof may be simplified or omitted.

図1は、本実施形態に係るカメラシステム1の外観を示す図である。図2は、本実施形態に係るカメラシステム1を図1とは反対側から見た図である。   FIG. 1 is a diagram illustrating an appearance of a camera system 1 according to the present embodiment. FIG. 2 is a view of the camera system 1 according to the present embodiment as viewed from the opposite side to FIG.

図1及び図2に示すカメラシステム1は、カメラ10(カメラボディ100及び撮影レンズ200)及びアクセサリー600を備える。本実施形態のアクセサリー600は、GPS(Global Positioning System)機能を有し、位置の測位を行うこと等ができる。カメラ10は、アクセサリー600と通信して、アクセサリー600を制御することができる。カメラシステム1は、例えば、アクセサリー600によって撮像位置を測位し、カメラ10によって撮像された画像データに関連付けて測位した撮像位置情報をメモリー140に記憶させることができる。   The camera system 1 shown in FIGS. 1 and 2 includes a camera 10 (camera body 100 and photographing lens 200) and an accessory 600. The accessory 600 of the present embodiment has a GPS (Global Positioning System) function, and can perform position measurement. The camera 10 can communicate with the accessory 600 and control the accessory 600. For example, the camera system 1 can measure the imaging position using the accessory 600 and store the imaging position information measured in association with the image data captured by the camera 10 in the memory 140.

図1に示すように、カメラ10は、カメラボディ100及び撮影レンズ(交換レンズ)200を備える。カメラボディ100は、撮影レンズ200を取り付け可能なレンズマウント11を備える。なお、撮影レンズ200は、カメラボディ100とマウントするためのレンズ側マウント(不図示)を備えている。撮影レンズ200はそのレンズ側マウントを介して、レンズマウント11に対して着脱可能である。カメラボディ100は、レンズマウント11が配置されている正面12に対して側方を向く側面のうち上部に配置された頂面(上面)13と、正面12とは反対側に配置された背面14とを有する。   As shown in FIG. 1, the camera 10 includes a camera body 100 and a photographing lens (interchangeable lens) 200. The camera body 100 includes a lens mount 11 to which a photographing lens 200 can be attached. The photographing lens 200 includes a lens side mount (not shown) for mounting with the camera body 100. The taking lens 200 can be attached to and detached from the lens mount 11 via the lens side mount. The camera body 100 includes a top surface (upper surface) 13 disposed at an upper portion of a side surface facing the front surface 12 on which the lens mount 11 is disposed, and a rear surface 14 disposed on the side opposite to the front surface 12. And have.

カメラボディ100は、それぞれ頂面13に配置された、レリーズ釦16、アクセサリーシュー(以下、シュー座15という)、及び電源スイッチ31を備える。カメラ10は、レリーズ釦16が押下されたことを検出して、撮像処理等の各種処理を行う。シュー座15は、アクセサリー600を取り付け可能なように、構成されている。電源スイッチ31は、カメラボディ100のオン状態とオフ状態とを切り替えるスイッチである。   The camera body 100 includes a release button 16, an accessory shoe (hereinafter referred to as a shoe seat 15), and a power switch 31 that are disposed on the top surface 13. The camera 10 detects that the release button 16 has been pressed, and performs various processes such as an imaging process. The shoe seat 15 is configured so that the accessory 600 can be attached thereto. The power switch 31 is a switch for switching the camera body 100 between an on state and an off state.

本実施形態において、図1等に示すXYZ直交座標系を設定し、構成要素の位置関係等を説明することがある。このXYZ直交座標系において、Y軸方向は、撮影レンズ200の光軸とほぼ平行な方向である。このXYZ直交座標系において、X軸方向及びZ軸方向は、それぞれY軸方向と直交し、かつ互いに直交する方向である。正面12及び背面14は、それぞれ、Y軸方向とほぼ直交している。頂面13は、Z軸方向とほぼ直交している。   In the present embodiment, the XYZ orthogonal coordinate system shown in FIG. In this XYZ orthogonal coordinate system, the Y-axis direction is a direction substantially parallel to the optical axis of the taking lens 200. In this XYZ orthogonal coordinate system, the X-axis direction and the Z-axis direction are directions orthogonal to the Y-axis direction and orthogonal to each other. The front surface 12 and the back surface 14 are each substantially orthogonal to the Y-axis direction. The top surface 13 is substantially orthogonal to the Z-axis direction.

アクセサリー600は、各種部品を収容したアクセサリー本体610と、アクセサリー本体610に設けられたコネクター620とを含む。アクセサリー600は、シュー座15に対して着脱可能である。アクセサリー600は、シュー座15に取り付けられて、カメラボディ100に対して固定される。なお、アクセサリー600は、シュー座15とケーブル等を介して電気的に接続可能であって、カメラボディ100とは別の装置に保持されていてもよい。アクセサリー600は、シュー座15の開口24にコネクター620を挿入して所定の方向(+Y方向)にスライドさせることによって、シュー座15に取付けられる(図1参照)。   The accessory 600 includes an accessory main body 610 that accommodates various components, and a connector 620 provided on the accessory main body 610. The accessory 600 is detachable from the shoe seat 15. The accessory 600 is attached to the shoe seat 15 and fixed to the camera body 100. The accessory 600 can be electrically connected to the shoe seat 15 via a cable or the like, and may be held by a device different from the camera body 100. The accessory 600 is attached to the shoe seat 15 by inserting the connector 620 into the opening 24 of the shoe seat 15 and sliding it in a predetermined direction (+ Y direction) (see FIG. 1).

図2に示すように、カメラボディ100は、背面14に配置された表示部102と、背面14に配置された設定スイッチ104とを備える。表示部102は、液晶表示素子や有機エレクトロルミネッセンス表示素子等の表示素子を備える。表示部102は、撮像される画像、各種設定を示す画像、アクセサリー600の状態を示す画像、撮像条件を示す画像等を表示することができる。設定スイッチ104は、カメラ10とアクセサリー600の各種設定項目を変更するためのユーザーからの入力を、受け付けることができる。各種設定項目は、ズーム倍率設定、撮影モード設定、ホワイトバランス設定、露光時間設定、表示切り替え設定のうちの少なくとも1つを含む。撮影モード設定は、例えば、オートモード設定又はマニュアルモード設定である。   As shown in FIG. 2, the camera body 100 includes a display unit 102 disposed on the back surface 14 and a setting switch 104 disposed on the back surface 14. The display unit 102 includes a display element such as a liquid crystal display element or an organic electroluminescence display element. The display unit 102 can display an image to be captured, an image indicating various settings, an image indicating the state of the accessory 600, an image indicating an imaging condition, and the like. The setting switch 104 can accept input from the user for changing various setting items of the camera 10 and the accessory 600. The various setting items include at least one of zoom magnification setting, shooting mode setting, white balance setting, exposure time setting, and display switching setting. The shooting mode setting is, for example, auto mode setting or manual mode setting.

図2に示すように、アクセサリー600は、操作部630、LED635、及びデータ端子640を備える。操作部630は、アクセサリー600をカメラボディ100から取り外すために、ユーザーによって操作される操作部材である(換言すれば操作部630は取外し操作部材である)。
LED635は、例えば、アクセサリー600の測位動作状態を表示する。
データ端子640は、例えばUSB(Universal Serial Bus)端子である。
As shown in FIG. 2, the accessory 600 includes an operation unit 630, an LED 635, and a data terminal 640. The operation unit 630 is an operation member operated by the user in order to remove the accessory 600 from the camera body 100 (in other words, the operation unit 630 is a removal operation member).
For example, the LED 635 displays the positioning operation state of the accessory 600.
The data terminal 640 is, for example, a USB (Universal Serial Bus) terminal.

図3は、本実施形態に係るカメラシステムの機能構成を示すブロック図である。図3に示すように、カメラシステム1は、カメラボディ100、撮影レンズ200、及びアクセサリー600から構成される。
撮影レンズ200は、光学系210、光学系駆動部220、及び光学系制御部230を含む。被写体から撮影レンズ200へ入射した光は、光学系210を通ってカメラボディ100の撮像素子121の受光面へ入射する。
FIG. 3 is a block diagram illustrating a functional configuration of the camera system according to the present embodiment. As shown in FIG. 3, the camera system 1 includes a camera body 100, a photographing lens 200, and an accessory 600.
The taking lens 200 includes an optical system 210, an optical system drive unit 220, and an optical system control unit 230. Light incident on the photographing lens 200 from the subject enters the light receiving surface of the image sensor 121 of the camera body 100 through the optical system 210.

光学系210は、レンズや絞り等の複数の光学部品、及び複数の光学部品を収容するレンズ鏡筒等を備える。光学系210は、カメラボディ100の外部から入射した光を結像させることができる。   The optical system 210 includes a plurality of optical components such as a lens and a diaphragm, and a lens barrel that houses the plurality of optical components. The optical system 210 can image light incident from the outside of the camera body 100.

光学系駆動部220は、光学系210を駆動するアクチュエータ、光学系210における光学部品の位置を検出するエンコーダ、及び手振れ等による光学系210の移動(併進移動と回転移動の少なくとも一方)を検出するセンサーを備える。光学系駆動部220のアクチュエータは、例えば、フォーカシング制御用モータ、パワーズーム制御用モータ、絞り開口制御用モータ、手ブレ補正(Vibration Reduction;VR)制御用モータ、伸筒・縮筒制御用モータを含む。   The optical system driving unit 220 detects an actuator that drives the optical system 210, an encoder that detects the position of the optical component in the optical system 210, and a movement (at least one of a translational movement and a rotational movement) of the optical system 210 due to camera shake or the like. Provide a sensor. The actuator of the optical system drive unit 220 includes, for example, a focusing control motor, a power zoom control motor, a diaphragm aperture control motor, a vibration reduction (VR) control motor, and an expansion / reduction cylinder control motor. Including.

光学系駆動部220は、光学系制御部230からの制御指令に従って光学系駆動部220のアクチュエータを動作させることによって、フォーカシング制御、ズーミング制御、露出制御、VR制御、及び撮影レンズ200の伸縮制御を行うことができる。フォーカシング制御は、光学系210が有するレンズ等の光学部品の少なくとも1つをフォーカシング制御用モータによって光軸方向に移動して、光学系210の焦点を調整する制御である。ズーミング制御は、光学系210が有するレンズ等の光学部品の少なくとも1つをパワーズーム制御用モータによって光軸方向に移動して、撮像画角を変更する制御である。露出制御は、光学系210を構成する絞りを絞り開口制御用モータにより駆動して、絞りの開口サイズを変化させることによって、光学系210を通って撮像素子121へ入射する光の光量等を調整する制御である。VR制御は、光学系210が有するレンズ等の光学部品の少なくとも1つをVR制御用モータによって光軸と交差する方向に移動して、手ブレによる像揺れを補正する制御である。伸縮制御は、伸筒・縮筒制御用モータを駆動することによって、撮影レンズ200を光軸方向に伸筒又は縮筒させる制御である。   The optical system drive unit 220 operates the actuator of the optical system drive unit 220 in accordance with a control command from the optical system control unit 230, thereby performing focusing control, zooming control, exposure control, VR control, and expansion / contraction control of the photographing lens 200. It can be carried out. Focusing control is control for adjusting the focal point of the optical system 210 by moving at least one of optical components such as a lens included in the optical system 210 in the optical axis direction by a focusing control motor. The zooming control is a control for changing the imaging angle of view by moving at least one of optical components such as a lens included in the optical system 210 in the optical axis direction by a power zoom control motor. In exposure control, the diaphragm constituting the optical system 210 is driven by a diaphragm aperture control motor to change the aperture size of the diaphragm, thereby adjusting the amount of light incident on the image sensor 121 through the optical system 210. It is control to do. The VR control is a control for correcting image shake due to camera shake by moving at least one of optical components such as a lens included in the optical system 210 in a direction intersecting the optical axis by a VR control motor. The expansion / contraction control is control for extending or contracting the photographic lens 200 in the optical axis direction by driving an expansion / contraction cylinder control motor.

光学系駆動部220は、カメラボディ100の電池収納部110に収納された電池BATから電力が供給される。光学系駆動部220は、カメラボディ100のレンズマウント11に配置された端子を介して、電池BATから電力が供給される。光学系駆動部220を構成するアクチュエータ、エンコーダ、及びセンサーは、電池BATから供給される電力によって動作する。   The optical system drive unit 220 is supplied with electric power from the battery BAT stored in the battery storage unit 110 of the camera body 100. The optical system driving unit 220 is supplied with power from the battery BAT via a terminal disposed on the lens mount 11 of the camera body 100. The actuators, encoders, and sensors that constitute the optical system driving unit 220 are operated by electric power supplied from the battery BAT.

光学系制御部230は、カメラボディ100のレンズマウント11に配置された端子を介して、カメラボディ100のカメラ制御部170(後述する)と通信することができる。光学系制御部230は、光学系駆動部220のエンコーダの検出結果を示す情報及びセンサーの検出結果を示す情報を、カメラ制御部170に供給することができる。光学系制御部230からカメラ制御部170に供給される情報は、撮影レンズ200の種類を示すレンズ種類情報、レンズ焦点距離情報、露出制御によって設定された絞り値、フォーカシング制御により設定された被写体焦点距離情報、消費電力情報等を含む。消費電力情報は、駆動状態に消費する消費電力を示し、レンズ種類情報や、駆動されている状態に応じて変化する情報である。   The optical system control unit 230 can communicate with a camera control unit 170 (described later) of the camera body 100 via a terminal disposed on the lens mount 11 of the camera body 100. The optical system control unit 230 can supply information indicating the detection result of the encoder of the optical system driving unit 220 and information indicating the detection result of the sensor to the camera control unit 170. Information supplied from the optical system control unit 230 to the camera control unit 170 includes lens type information indicating the type of the taking lens 200, lens focal length information, an aperture value set by exposure control, and a subject focus set by focusing control. Includes distance information, power consumption information, etc. The power consumption information indicates the power consumption consumed in the driving state, and is information that changes according to the lens type information and the driven state.

アクセサリー600は、GPSモジュール部650、GPS制御部(アクセサリー制御部)660、及びバッファメモリー663を含む。GPSモジュール部650、GPS制御部660、及びバッファメモリー663は、例えば、図1及び図2に示したアクセサリー本体610に収容されている。アクセサリー600の詳細については、後述する。   The accessory 600 includes a GPS module unit 650, a GPS control unit (accessory control unit) 660, and a buffer memory 663. The GPS module part 650, the GPS control part 660, and the buffer memory 663 are accommodated in the accessory main body 610 shown in FIG.1 and FIG.2, for example. Details of the accessory 600 will be described later.

カメラボディ100は、電池収納部110、撮像処理部120、シャッター駆動部130、表示部制御回路135、メモリー140、メモリー制御回路145、入力部150、操作検出回路155、記憶部158、及びカメラ制御部170を備える。   The camera body 100 includes a battery storage unit 110, an imaging processing unit 120, a shutter drive unit 130, a display unit control circuit 135, a memory 140, a memory control circuit 145, an input unit 150, an operation detection circuit 155, a storage unit 158, and camera control. Part 170 is provided.

電池収納部110は、一次電池や二次電池等の電池BATを収納することができる。電池BATは、電池収納部110に収納されることによって、カメラボディ100に搭載される。電池収納部110に収納された電池BATは、カメラシステム1の構成要素、例えば表示部102や撮影レンズ200、アクセサリー600等の動作に必要な電力(PWR)を供給することができる。   The battery storage unit 110 can store a battery BAT such as a primary battery or a secondary battery. The battery BAT is mounted on the camera body 100 by being stored in the battery storage unit 110. The battery BAT stored in the battery storage unit 110 can supply power (PWR) necessary for the operation of the components of the camera system 1, for example, the display unit 102, the photographing lens 200, the accessory 600, and the like.

撮像処理部120は、撮像素子121、撮像素子制御回路122、及び画像回路123を備える。撮像素子121は、二次元的に配列された複数の画素を備える。撮像素子121の各画素は、CCD(Charge Coupled device)やCMOS(Complementary Metal Oxide Semiconductor)センサー等の受光素子を備える。撮像素子121の受光素子は、光学系210から各画素へ入射した光の光量に応じた電荷を発生する。撮像素子121は、各画素に入射した光により受光素子に発生した電荷を信号に変換する。撮像素子121は、光学系210を介して撮像素子121の受光面に形成された像(光学像)に応じたアナログの画像信号を生成する。撮像素子121は、撮像素子制御回路122と画像回路123のそれぞれに接続されている。画像回路123は、撮像素子121から出力された画像信号を増幅し、アナログの画像信号をデジタル信号に変換する。撮像素子制御回路122は、撮像素子121を制御して、撮像素子121に像に応じた画像信号を生成させることや、生成した画像信号を出力させること等ができる。   The imaging processing unit 120 includes an imaging element 121, an imaging element control circuit 122, and an image circuit 123. The image sensor 121 includes a plurality of pixels arranged two-dimensionally. Each pixel of the image sensor 121 includes a light receiving element such as a CCD (Charge Coupled device) or a CMOS (Complementary Metal Oxide Semiconductor) sensor. The light receiving element of the imaging element 121 generates a charge corresponding to the amount of light incident on each pixel from the optical system 210. The image sensor 121 converts the charge generated in the light receiving element by the light incident on each pixel into a signal. The image sensor 121 generates an analog image signal corresponding to an image (optical image) formed on the light receiving surface of the image sensor 121 via the optical system 210. The image sensor 121 is connected to each of the image sensor control circuit 122 and the image circuit 123. The image circuit 123 amplifies the image signal output from the image sensor 121 and converts the analog image signal into a digital signal. The image sensor control circuit 122 can control the image sensor 121 to cause the image sensor 121 to generate an image signal corresponding to the image, to output the generated image signal, and the like.

シャッター駆動部130は、カメラボディ100に収容されているシャッターの開閉を制御する。このシャッターは、光学系210を通って撮像素子121の受光面へ入射してくる光を、シャッターが閉じた状態で遮光する。なお、カメラボディ100に露出制御用のシャッター機構が搭載されていない場合には、このシャッター駆動部130も不要である。   The shutter driving unit 130 controls opening and closing of a shutter accommodated in the camera body 100. This shutter shields light incident on the light receiving surface of the image sensor 121 through the optical system 210 while the shutter is closed. If the camera body 100 is not equipped with a shutter mechanism for exposure control, the shutter drive unit 130 is also unnecessary.

表示部制御回路135は、例えば、表示部102の点灯や明るさ調整、消灯等の表示制御や、カメラ制御部170から出力される画像データを表示部102に表示させる処理を行う。   The display unit control circuit 135 performs display control such as lighting, brightness adjustment, and extinguishing of the display unit 102, and processing for causing the display unit 102 to display image data output from the camera control unit 170, for example.

メモリー140は、例えば、メモリーカード等のようにカメラボディ100から抜き差し可能な記憶媒体である。メモリー140は、例えば、カメラ制御部170によって生成される画像データ等を記憶する。メモリー制御回路145は、カメラ制御部170とメモリー140との間の情報の入出力を制御する。メモリー制御回路145は、例えば、カメラ制御部170によって生成された画像データ等の情報をメモリー140に記憶させる処理や、メモリー140に記憶されている画像データ等の情報を読み出してカメラ制御部170に出力する処理等を行う。   The memory 140 is a storage medium that can be inserted into and removed from the camera body 100, such as a memory card. The memory 140 stores image data generated by the camera control unit 170, for example. The memory control circuit 145 controls input / output of information between the camera control unit 170 and the memory 140. The memory control circuit 145, for example, stores information such as image data generated by the camera control unit 170 in the memory 140 or reads out information such as image data stored in the memory 140 to the camera control unit 170. Perform output processing.

入力部150は、ユーザーが操作することが可能な設定スイッチ104及びレリーズ釦16を備える。操作検出回路155は、入力部150に入力されたユーザーの操作を検出する。操作検出回路155は、入力部150に入力されたユーザーの操作を示す操作情報を生成し、生成した操作情報をカメラ制御部170に出力する。   The input unit 150 includes a setting switch 104 and a release button 16 that can be operated by the user. The operation detection circuit 155 detects a user operation input to the input unit 150. The operation detection circuit 155 generates operation information indicating the user's operation input to the input unit 150, and outputs the generated operation information to the camera control unit 170.

記憶部158は、不揮発性メモリー160及びバッファメモリー165を備える。不揮発性メモリー160は、カメラ制御部170を動作させるプログラムや、撮像により生成された画像データ、装置の状態を示す情報、ユーザーから入力された各種設定や撮像条件等の情報を記憶する。装置の状態を示す情報は、カメラボディ100の電池収納部110に収納された電池BATの電圧情報(電池残量)、撮影レンズ200の各アクチュエータの制御状態を示す情報等を含む。バッファメモリー165は、カメラ制御部170の制御処理に用いられる一時的な情報の記憶部である。カメラ制御部170は、例えば、撮像素子121から出力される画像信号や、画像信号に応じて生成された画像データ、アクセサリー600が出力する第2GPS情報(後述する)等をバッファメモリー165に一時的に記憶させる。   The storage unit 158 includes a nonvolatile memory 160 and a buffer memory 165. The nonvolatile memory 160 stores a program for operating the camera control unit 170, image data generated by imaging, information indicating the state of the apparatus, information such as various settings and imaging conditions input by the user. The information indicating the state of the apparatus includes voltage information (remaining battery level) of the battery BAT stored in the battery storage unit 110 of the camera body 100, information indicating the control state of each actuator of the photographing lens 200, and the like. The buffer memory 165 is a temporary information storage unit used for the control process of the camera control unit 170. The camera control unit 170 temporarily stores, for example, an image signal output from the image sensor 121, image data generated according to the image signal, second GPS information (described later) output from the accessory 600, and the like in the buffer memory 165. Remember me.

カメラ制御部170は、不揮発性メモリー160に記憶されたプログラムに基づいてカメラボディ100の構成要素の動作を制御するCPU(Central Processing Unit)と、ASIC(Application Specific Integrated Circuit)等の電子部品とを備える。カメラ制御部170は、例えば、操作検出回路155がカメラ制御部170に出力した操作情報に応じて、カメラボディ100への電源の投入や、光学系駆動部220を介した光学系210の駆動制御、撮像素子制御回路122を介した撮像素子121の駆動制御、表示部制御回路135を介した表示部102の表示制御、画像回路123に出力された画像信号に対する処理の制御等を行う。   The camera control unit 170 includes a CPU (Central Processing Unit) that controls the operation of the components of the camera body 100 based on a program stored in the non-volatile memory 160 and an electronic component such as an ASIC (Application Specific Integrated Circuit). Prepare. For example, the camera control unit 170 turns on the power to the camera body 100 or controls the drive of the optical system 210 via the optical system drive unit 220 according to the operation information output from the operation detection circuit 155 to the camera control unit 170. Then, drive control of the image sensor 121 via the image sensor control circuit 122, display control of the display unit 102 via the display unit control circuit 135, control of processing on the image signal output to the image circuit 123, and the like are performed.

カメラ制御部170は、画像処理部171、表示制御部172、撮像制御部173、操作検出処理部174、電力制御部175、及び通信部176を含む。   The camera control unit 170 includes an image processing unit 171, a display control unit 172, an imaging control unit 173, an operation detection processing unit 174, a power control unit 175, and a communication unit 176.

画像処理部171は、画像回路123から出力された画像信号に基づいて、画像データを生成する画像処理を行う。画像処理部171は、画像処理により生成した画像データをバッファメモリー165に記憶させる。   The image processing unit 171 performs image processing for generating image data based on the image signal output from the image circuit 123. The image processing unit 171 stores the image data generated by the image processing in the buffer memory 165.

表示制御部172は、画像処理部171によって生成されバッファメモリー165に記憶された画像データを一定時間間隔ごとに読み出し、読み出した画像データを表示部102に繰り返し表示させる。また、表示制御部172は、画像処理部171によって生成されバッファメモリー165に記憶された画像データを一定時間間隔ごとに読み出し、動画形式のデータ(動画データ)としてメモリー140に記録させる。また、表示制御部172は、後述する電力制御部175の判定結果に応じて、電池BATの充電残量を表示部102に表示させる。   The display control unit 172 reads the image data generated by the image processing unit 171 and stored in the buffer memory 165 at regular time intervals, and causes the display unit 102 to repeatedly display the read image data. Further, the display control unit 172 reads the image data generated by the image processing unit 171 and stored in the buffer memory 165 at regular time intervals, and records the data in the memory 140 as moving image format data (moving image data). Further, the display control unit 172 displays the remaining charge amount of the battery BAT on the display unit 102 according to the determination result of the power control unit 175 described later.

操作検出処理部174は、操作検出回路155が出力した操作情報に基づいて操作検出回路155が検出したユーザーの操作を判定し、判定した情報をバッファメモリー165に記憶させる。操作検出処理部174は、ユーザーからの操作に応じた各種処理の制御指令を、操作に対応する処理を実行する構成要素(機能部)に出力する。操作検出処理部174は、例えば撮像処理の実行を要求する旨の入力部150への入力を操作検出回路155が検出した場合に、操作検出回路155が操作検出処理部174に出力した操作情報に基づいて、撮像処理の実行を要求する制御指令を撮像制御部173に出力する。また、操作検出処理部174は、例えばオートフォーカス(AF)処理の実行を要求する旨の入力部150への入力を操作検出回路155が検出した場合に、操作検出回路155が操作検出処理部174に出力した操作情報に基づいて、AF処理の実行を要求する制御指令を出力する。AF処理において、光学系制御部230は、操作検出処理部174が出力した制御指令に基づいて、光学系210を介して撮像素子121で検出された画像を利用した測距結果を参照しつつ、光学系駆動部220のフォーカシング制御用モータを制御して、例えばユーザーが指定した被写体にピントが合うように、光学系210の焦点を調整する。   The operation detection processing unit 174 determines a user operation detected by the operation detection circuit 155 based on the operation information output from the operation detection circuit 155, and stores the determined information in the buffer memory 165. The operation detection processing unit 174 outputs control commands for various processes corresponding to operations from the user to components (function units) that execute processes corresponding to the operations. For example, when the operation detection circuit 155 detects an input to the input unit 150 requesting execution of an imaging process, the operation detection processing unit 174 outputs the operation information output to the operation detection processing unit 174. Based on this, a control command for requesting execution of the imaging process is output to the imaging control unit 173. In addition, the operation detection processing unit 174 detects that the operation detection circuit 155 detects an input to the input unit 150 that requests execution of an autofocus (AF) process, for example. On the basis of the operation information output to, a control command for requesting execution of AF processing is output. In the AF process, the optical system control unit 230 refers to a distance measurement result using an image detected by the image sensor 121 via the optical system 210 based on the control command output by the operation detection processing unit 174. The focusing control motor of the optical system driving unit 220 is controlled to adjust the focus of the optical system 210 so that, for example, the subject designated by the user is in focus.

撮像制御部173は、操作検出回路155が出力した制御指令に基づいて、カメラシステム1の構成要素に撮像処理を実行させるための制御信号を、カメラシステム1の構成要素に出力する。撮像制御部173は、撮像処理に関連する処理として、例えば以下のような処理を実行させる。撮像処理において、撮像制御部173は、予めユーザーから入力された撮像条件に応じて、光学系制御部230を介して光学系210のフォーカシング制御、露出制御、ズーミング制御、VR制御等の制御を行う。また、撮像制御部173は、撮像処理において、シャッター駆動部130を制御することによって、シャッターが開いている時間(露光時間)を制御し、撮像素子121の受光面に光学系210からの光を露光時間だけ照射させる。   The imaging control unit 173 outputs a control signal for causing the components of the camera system 1 to execute an imaging process to the components of the camera system 1 based on the control command output by the operation detection circuit 155. For example, the imaging control unit 173 executes the following process as a process related to the imaging process. In the imaging process, the imaging control unit 173 performs focusing control, exposure control, zooming control, VR control, and the like of the optical system 210 via the optical system control unit 230 in accordance with imaging conditions input in advance by the user. . In addition, the imaging control unit 173 controls the time during which the shutter is open (exposure time) by controlling the shutter driving unit 130 in the imaging process, so that the light from the optical system 210 is applied to the light receiving surface of the imaging element 121. Irradiate only for the exposure time.

電力制御部175は、電池BATから出力される電源電圧を検出した結果と判定閾値とを比較することにより、電池BATにおける電力の残量を判定する。   The power control unit 175 determines the remaining amount of power in the battery BAT by comparing the result of detecting the power supply voltage output from the battery BAT with a determination threshold.

通信部176は、カメラシステム1のうちカメラボディ100の外部に配置される外部装置に対して、各外部装置の制御部と通信可能な状態で接続される。本実施形態の撮影レンズ200は、外部装置の1つであり、光学系制御部230が通信部176と通信可能に接続される。また、本実施形態のアクセサリー600は、外部装置の1つであり、GPS制御部660が通信部176と通信可能に接続される。   The communication unit 176 is connected to an external device arranged outside the camera body 100 in the camera system 1 so as to be able to communicate with a control unit of each external device. The photographing lens 200 of this embodiment is one of external devices, and the optical system control unit 230 is connected to be communicable with the communication unit 176. Moreover, the accessory 600 of this embodiment is one of the external devices, and the GPS control unit 660 is connected so as to be communicable with the communication unit 176.

図4は、本実施形態に係るカメラ10(上述したカメラボディ100及び撮影レンズ200)とアクセサリー600との接続関係を説明する構成図である。   FIG. 4 is a configuration diagram illustrating a connection relationship between the camera 10 (the camera body 100 and the photographing lens 200 described above) and the accessory 600 according to the present embodiment.

図4に示すように、カメラ10は、負荷部30、電源スイッチ31、電源部32、アクセサリー電源制御部33、及び計時部34を備える。   As shown in FIG. 4, the camera 10 includes a load unit 30, a power switch 31, a power supply unit 32, an accessory power supply control unit 33, and a timer unit 34.

負荷部30は、既述のシャッター駆動部130や表示部102等のようにカメラボディ100の負荷部と、光学系駆動部220や光学系制御部230等のようにカメラボディ100の外部の負荷部とを含む。負荷部30は、消費電力が大きい重負荷部と、重負荷部よりも相対的に消費電力が小さい軽負荷部とを含む。重負荷部は、例えば光学系駆動部220やカメラボディ100におけるシャッター駆動部130等のように、アクチュエータを有する負荷部を含む。軽負荷部は、光学系制御部230や画像処理部171、各制御回路、表示部等を含む。   The load unit 30 includes a load unit of the camera body 100 such as the shutter drive unit 130 and the display unit 102 described above, and a load external to the camera body 100 such as the optical system drive unit 220 and the optical system control unit 230. Part. The load unit 30 includes a heavy load unit with high power consumption and a light load unit with relatively low power consumption than the heavy load unit. The heavy load unit includes a load unit having an actuator, such as the optical system drive unit 220 and the shutter drive unit 130 in the camera body 100, for example. The light load unit includes an optical system control unit 230, an image processing unit 171, each control circuit, a display unit, and the like.

電源スイッチ31は、電池BATから負荷部30の重負荷部への電力の供給を遮断するスイッチである。   The power switch 31 is a switch that cuts off the supply of power from the battery BAT to the heavy load portion of the load portion 30.

電源部32は、電池BATから供給される電力に基づいて、電池BATの出力電圧を安定化して負荷部30の軽負荷部及びカメラ制御部170に供給する。電源部32は、電池BATの出力電圧を検出する電圧検出センサーと、電池BATの出力電圧を安定化する定電圧回路とを備える。   The power supply unit 32 stabilizes the output voltage of the battery BAT based on the power supplied from the battery BAT and supplies it to the light load unit of the load unit 30 and the camera control unit 170. The power supply unit 32 includes a voltage detection sensor that detects the output voltage of the battery BAT, and a constant voltage circuit that stabilizes the output voltage of the battery BAT.

アクセサリー電源制御部33は、カメラ制御部170の制御に基づき、アクセサリー600への電力の供給を制御する。   The accessory power supply control unit 33 controls the supply of power to the accessory 600 based on the control of the camera control unit 170.

計時部34は、水晶発振器等により生成されたクロック信号に基づいて計時情報を生成(計時)し、生成した計時情報をカメラ制御部170に出力する。計時部34は、カメラ制御部170と同様に電源とGND(基準電位)とに接続されている。   The timer unit 34 generates (clocks) time information based on a clock signal generated by a crystal oscillator or the like, and outputs the generated time information to the camera control unit 170. The timer unit 34 is connected to a power source and a GND (reference potential) in the same manner as the camera control unit 170.

カメラボディ100の端子部25は、アクセサリー600の端子部623と電気的に接続可能である。端子部25は、符号Tp1から符号Tp12で示される複数の端子を含む(図4参照)。本実施形態の説明において、シュー座15の端子部25の各端子を、端子の並び順を示す番号を付して、区別する場合がある。この番号は、端子の配列方向(X軸方向)の一方側(+X側)から他方側(−X側)に向って昇順する番号である。例えば、端子部25の複数の端子のうち、最も+X側に配置された端子を1番目の端子と呼び、最も−X側に配置された端子を12番目の端子と呼ぶ。   The terminal part 25 of the camera body 100 can be electrically connected to the terminal part 623 of the accessory 600. The terminal portion 25 includes a plurality of terminals indicated by reference characters Tp1 to Tp12 (see FIG. 4). In the description of the present embodiment, each terminal of the terminal portion 25 of the shoe seat 15 may be distinguished by attaching a number indicating the terminal arrangement order. This number is an ascending order from one side (+ X side) in the terminal arrangement direction (X-axis direction) to the other side (−X side). For example, among the plurality of terminals of the terminal section 25, the terminal arranged on the most + X side is called the first terminal, and the terminal arranged on the most -X side is called the twelfth terminal.

カメラ制御部170は、端子部25及び端子部623を介して、アクセサリー600と通信してアクセサリー600を制御するための制御信号を、アクセサリー600に供給する。本実施形態において、カメラ制御部170がアクセサリー600に供給する制御信号は、通信信号DATA、及びカメラ10とアクセサリー600との間の通信タイミングを定める通信制御信号Csである。   The camera control unit 170 supplies the control signal for controlling the accessory 600 by communicating with the accessory 600 via the terminal unit 25 and the terminal unit 623 to the accessory 600. In the present embodiment, the control signal that the camera control unit 170 supplies to the accessory 600 is the communication signal DATA and the communication control signal Cs that determines the communication timing between the camera 10 and the accessory 600.

次に、図4を参照して、カメラ10における各構成要素の接続関係について説明する。以下の説明における電池BATは、電池収納部110に収納された状態とする。電池BATの正極は、電源線40(PWR)を介して、電源スイッチ31の一端に接続されている。電源スイッチ31の他端は、負荷部30の重負荷部の電源端子に接続されている。負荷部30の重負荷部の接地端子は、接地線41(PGND)を介して、電池収納部110に収納された電池BATの負極に接続されている。   Next, with reference to FIG. 4, the connection relationship of each component in the camera 10 will be described. The battery BAT in the following description is assumed to be stored in the battery storage unit 110. The positive electrode of the battery BAT is connected to one end of the power switch 31 via the power line 40 (PWR). The other end of the power switch 31 is connected to the power terminal of the heavy load portion of the load portion 30. The ground terminal of the heavy load part of the load part 30 is connected to the negative electrode of the battery BAT stored in the battery storage part 110 via the ground line 41 (PGND).

また、電池BATの正極は、電源線40を介して、電源部32の入力端子に接続されている。電源部32の第1出力端子は、負荷部30の軽負荷部の電源端子に接続されている。負荷部30の軽負荷部の接地端子は、接地線42(SGND)を介して、電池BATの負極に接続されている。また、電源部32の第2出力端子は、カメラ制御部170の電源端子に接続されている。第2出力端子の電位は、第1出力端子の電位と異なっている。カメラ制御部170の接地端子は、接地線42(SGND)を介して、電池BATの負極に接続されている。   The positive electrode of the battery BAT is connected to the input terminal of the power supply unit 32 via the power supply line 40. The first output terminal of the power supply unit 32 is connected to the power supply terminal of the light load unit of the load unit 30. The ground terminal of the light load part of the load part 30 is connected to the negative electrode of the battery BAT via a ground line 42 (SGND). The second output terminal of the power supply unit 32 is connected to the power supply terminal of the camera control unit 170. The potential of the second output terminal is different from the potential of the first output terminal. The ground terminal of the camera control unit 170 is connected to the negative electrode of the battery BAT via the ground line 42 (SGND).

接地端子Tp1は、接地線43(GND)を介して、電池BATの負極に接続されている。接地端子Tp2は、接地端子Tp1とは並列に、接地線43を介して電池BATの負極に接続されている。基準電位端子Tp3は、接地線42を介して、電池BATの負極に接続されている。基準電位端子Tp5は、基準電位端子Tp3とは並列に、接地線42を介して電池BATの負極に接続されている。なお、本実施形態のカメラ10のグランドは、いわゆる一点グランド(一点アース)を採用している。   The ground terminal Tp1 is connected to the negative electrode of the battery BAT through a ground line 43 (GND). The ground terminal Tp2 is connected to the negative electrode of the battery BAT via the ground line 43 in parallel with the ground terminal Tp1. The reference potential terminal Tp3 is connected to the negative electrode of the battery BAT through the ground line 42. The reference potential terminal Tp5 is connected to the negative electrode of the battery BAT via the ground line 42 in parallel with the reference potential terminal Tp3. Note that the ground of the camera 10 of the present embodiment employs a so-called single point ground (single point ground).

同期信号端子Tp4、通信信号端子Tp6、起動状態検出端子Tp7、発光制御信号端子Tp8、及び通信制御信号端子Tp9は、それぞれ、信号線を介してカメラ制御部170に接続されている。オープン端子Tp10は、カメラ制御部170、電源線40、接地線41、接地線42、及び接地線43等の他の回路と絶縁されている。
通信信号端子Tp6に接続しているラインにはプルアップ抵抗が設けられている。このプルアップ抵抗は電源部32の出力側に電気的に接続されている。このため通信信号端子Tp6における電位(レベル)は、アクセサリー600の装着前及びアクセサリー600との通信開始前にHレベルに維持される。なお、起動状態検出端子Tp7に接続しているラインにも、上記通信信号端子Tp6と同様に、プルアップ抵抗が設けられている。
The synchronization signal terminal Tp4, the communication signal terminal Tp6, the activation state detection terminal Tp7, the light emission control signal terminal Tp8, and the communication control signal terminal Tp9 are each connected to the camera control unit 170 via signal lines. The open terminal Tp10 is insulated from other circuits such as the camera control unit 170, the power supply line 40, the ground line 41, the ground line 42, and the ground line 43.
A pull-up resistor is provided on the line connected to the communication signal terminal Tp6. This pull-up resistor is electrically connected to the output side of the power supply unit 32. For this reason, the potential (level) at the communication signal terminal Tp6 is maintained at the H level before the attachment of the accessory 600 and before the start of communication with the accessory 600. Note that a pull-up resistor is provided on the line connected to the activation state detection terminal Tp7 as well as the communication signal terminal Tp6.

電源端子Tp11は、アクセサリー電源制御部33の第1端子に接続されている。電源端子Tp12は、電源端子Tp11と並列に、アクセサリー電源制御部33の第1端子に接続されている。アクセサリー電源制御部33の第2端子は、電源線40を介して、電池BATの正極に接続されている。アクセサリー電源制御部33は、その制御端子にカメラ制御部170から入力される制御信号によって、電池BATから電源端子Tp11と電源端子Tp12への電力供給を遮断することができる。   The power supply terminal Tp11 is connected to the first terminal of the accessory power supply control unit 33. The power supply terminal Tp12 is connected to the first terminal of the accessory power supply control unit 33 in parallel with the power supply terminal Tp11. The second terminal of the accessory power supply control unit 33 is connected to the positive electrode of the battery BAT via the power supply line 40. The accessory power supply control unit 33 can cut off the power supply from the battery BAT to the power supply terminal Tp11 and the power supply terminal Tp12 by a control signal input to the control terminal from the camera control unit 170.

次に、図5を参照して、アクセサリー600側の構成について説明する。図5は、本実施形態のアクセサリー600の構成を示すブロック図である。本実施形態のアクセサリー600は、カメラ10から供給される電力PWRによって動作する。   Next, the configuration on the accessory 600 side will be described with reference to FIG. FIG. 5 is a block diagram showing a configuration of the accessory 600 of the present embodiment. The accessory 600 according to the present embodiment is operated by the power PWR supplied from the camera 10.

図5に示すように、アクセサリー600は、端子部623(第2情報通信部)、操作部630、LED635、データ端子640(第1情報通信部)、GPSモジュール部650(測位部)、GPS制御部660、バッファメモリー663、充電部664、2次電池665、及び電源部670を含む。また、GPSモジュール部650は、アンテナ651、GPS演算部652、及びRTC653を含む。   As shown in FIG. 5, the accessory 600 includes a terminal unit 623 (second information communication unit), an operation unit 630, an LED 635, a data terminal 640 (first information communication unit), a GPS module unit 650 (positioning unit), and GPS control. Part 660, buffer memory 663, charging part 664, secondary battery 665, and power supply part 670. The GPS module unit 650 includes an antenna 651, a GPS calculation unit 652, and an RTC 653.

本実施形態のアクセサリー600は、カメラ10の端子部25を介して供給される電力PWRによって動作する。カメラ10から電力PWRが供給されていない状態では、アクセサリー600は、2次電池665によりGPSモジュール部650の記憶部652aに記憶されているデータの保持とRTC653の動作のみを行う。   The accessory 600 according to the present embodiment operates with the power PWR supplied via the terminal unit 25 of the camera 10. In a state where the power PWR is not supplied from the camera 10, the accessory 600 performs only the holding of the data stored in the storage unit 652 a of the GPS module unit 650 and the operation of the RTC 653 by the secondary battery 665.

カメラ10は、アクセサリー600が装着されている(装着状態)ことを検出すると、アクセサリー600への電力供給を、端子部25を介して開始する。アクセサリー600がカメラ10に装着されると、カメラ10の起動状態検出端子Tp7が、アクセサリー600の起動状態提供端子Ts7と端子630bとを介して端子630aと電気的に接続される。端子630aはGND(基準電位)に接続されているため、カメラ10の起動状態検出端子Tp7の電位が基準電位となり、カメラ10はアクセサリー600の装着状態を検出する。アクセサリー600は、操作部630を操作することでカメラ10から取り外すことができる。   When the camera 10 detects that the accessory 600 is mounted (mounted state), the camera 10 starts supplying power to the accessory 600 via the terminal unit 25. When the accessory 600 is attached to the camera 10, the activation state detection terminal Tp7 of the camera 10 is electrically connected to the terminal 630a via the activation state providing terminal Ts7 and the terminal 630b of the accessory 600. Since the terminal 630a is connected to GND (reference potential), the potential of the activation state detection terminal Tp7 of the camera 10 becomes the reference potential, and the camera 10 detects the attachment state of the accessory 600. The accessory 600 can be removed from the camera 10 by operating the operation unit 630.

操作部630は、シュー座15に固定(ロック)されているアクセサリー600のロックを解除するためのロック解除レバーである。操作部630は、機械式スイッチであり、端子630a、端子630b、及び端子630cを含む。アクセサリー600のロックが操作部630によって解除されるとともに、アクセサリー600がシュー座15から取り外されると、端子630aと端子630bとの電気的な接続が切れる。端子630aと端子630bとの電気的な接続が切れることで、起動状態検出端子Tp7と起動状態提供端子Ts7の電位が基準電位よりも高くなり、カメラ10はアクセサリー600が取り外されたことを検出する。   The operation unit 630 is a lock release lever for releasing the lock of the accessory 600 fixed (locked) to the shoe seat 15. The operation unit 630 is a mechanical switch and includes a terminal 630a, a terminal 630b, and a terminal 630c. When the accessory 600 is unlocked by the operation unit 630 and the accessory 600 is removed from the shoe seat 15, the electrical connection between the terminal 630a and the terminal 630b is disconnected. When the electrical connection between the terminal 630a and the terminal 630b is cut, the potentials of the activation state detection terminal Tp7 and the activation state providing terminal Ts7 become higher than the reference potential, and the camera 10 detects that the accessory 600 has been removed. .

また、GPS制御部660は、操作部630の状態(端子630aと端子630bとが電気的に接続されているか否か)を端子630cの電位の変化によって検出する。例えば、端子630cが抵抗666を介して電源端子群(Ts11、Ts12)と接続されているため、操作部630の機械式スイッチが閉じていない(アクセサリー600がシュー座15に固定されていない)場合、端子630cの電位はHレベル(基準電位よりも高い)となる。一方、操作部630の機械式スイッチが閉じた(アクセサリー600がシュー座15に固定されている)場合、端子630cは接地されるため、端子630cの電位はLレベル(基準電位)となる。GPS制御部660は、端子630cの電位の変化を検出することで操作部630の状態を検出する。   In addition, the GPS control unit 660 detects the state of the operation unit 630 (whether or not the terminals 630a and 630b are electrically connected) by a change in the potential of the terminal 630c. For example, when the terminal 630c is connected to the power supply terminal group (Ts11, Ts12) via the resistor 666, the mechanical switch of the operation unit 630 is not closed (the accessory 600 is not fixed to the shoe seat 15). The potential of the terminal 630c becomes H level (higher than the reference potential). On the other hand, when the mechanical switch of the operation unit 630 is closed (the accessory 600 is fixed to the shoe seat 15), since the terminal 630c is grounded, the potential of the terminal 630c becomes L level (reference potential). The GPS control unit 660 detects the state of the operation unit 630 by detecting a change in the potential of the terminal 630c.

次に、アクセサリー600の端子部623について説明する。図4及び図5に示したように、端子部623は、アクセサリー600がカメラ10に装着されている場合に、カメラ10の端子部25と電気的に接続される。端子部623は、符号Ts1から符号Ts12で示される複数(12個)の端子を含む。ここでは、次に説明する端子の並び順を示す番号は、端子の配列方向(X軸方向)の一方側(+X側)から他方側(−X側)に向って昇順する番号であるものとする。   Next, the terminal part 623 of the accessory 600 will be described. As shown in FIGS. 4 and 5, the terminal portion 623 is electrically connected to the terminal portion 25 of the camera 10 when the accessory 600 is attached to the camera 10. The terminal portion 623 includes a plurality (12 pieces) of terminals indicated by reference signs Ts1 to Ts12. Here, the numbers indicating the arrangement order of the terminals to be described next are numbers that increase in ascending order from one side (+ X side) to the other side (−X side) in the terminal arrangement direction (X-axis direction). To do.

端子部623における各端子の機能は、次のように割り付けられる。ここで、この端子部623の各端子Ts1〜Ts12は、図4にて既述したカメラ10側の端子部25の各端子(Tp1〜Tp12)に対応して設けられているものである。そして端子部623の各端子の機能についても、上述した端子部25の各端子の機能と対応付けられるものである。このため本実施形態の説明では、上記にて端子部25に関して既述した説明との重複を避けるため、各端子の端子番号1〜12について、カメラ側の端子部25の各端子と対応する端子の端子番号を同じ番号で記載することで、各端子の機能や配置について重複する内容については、その説明を簡略化または割愛する。   The function of each terminal in the terminal unit 623 is assigned as follows. Here, the terminals Ts1 to Ts12 of the terminal part 623 are provided corresponding to the terminals (Tp1 to Tp12) of the terminal part 25 on the camera 10 side described above with reference to FIG. The functions of the terminals of the terminal unit 623 are also associated with the functions of the terminals of the terminal unit 25 described above. For this reason, in the description of the present embodiment, in order to avoid duplication with the description described above with respect to the terminal unit 25, the terminal numbers 1 to 12 of the terminals correspond to the terminals of the terminal unit 25 on the camera side. By describing the terminal numbers with the same number, the description overlapping with respect to the function and arrangement of each terminal is simplified or omitted.

端子部623において、電源端子Ts11と電源端子Ts12はそれぞれ、カメラ10から電力PWRが供給される端子である。接地端子Ts1と接地端子Ts2は、電源端子Ts11及び電源端子Ts12に対応する接地端子であり、電位が電力PWRの基準電位(グランド)になる端子である。   In the terminal portion 623, the power supply terminal Ts11 and the power supply terminal Ts12 are terminals to which power PWR is supplied from the camera 10, respectively. The ground terminal Ts1 and the ground terminal Ts2 are ground terminals corresponding to the power supply terminal Ts11 and the power supply terminal Ts12, and are terminals whose potential becomes the reference potential (ground) of the power PWR.

基準電位端子Ts3と基準電位端子Ts5はそれぞれ、電位が信号の授受を行うための基準電位(シグナルグランド)になる端子である。   Each of the reference potential terminal Ts3 and the reference potential terminal Ts5 is a terminal whose potential becomes a reference potential (signal ground) for transmitting and receiving signals.

同期信号端子Ts4は、通信用クロック信号である同期信号(クロック信号)CLKをカメラ10に対して出力する端子である。   The synchronization signal terminal Ts4 is a terminal that outputs a synchronization signal (clock signal) CLK, which is a communication clock signal, to the camera 10.

通信信号端子Ts6は、既述したようなカメラ側の通信データを含む通信信号DATAがカメラ10側から入力されたり、或いはアクセサリー側の通信信号DATAをカメラ10に対して出力したりする端子である。   The communication signal terminal Ts6 is a terminal through which the communication signal DATA including the communication data on the camera side as described above is input from the camera 10 side, or the communication signal DATA on the accessory side is output to the camera 10. .

起動状態提供端子Ts7は、既述の起動検出レベルDET(Lレベル/SGNDによる基準電位)をカメラ10に提供する端子である。   The activation state providing terminal Ts7 is a terminal that provides the activation detection level DET (L level / reference potential based on SGND) described above to the camera 10.

発光制御信号端子Ts8は、指令信号Xがカメラ10から入力される端子であるが、GPS機能を有するアクセサリー600では使用しない。   The light emission control signal terminal Ts8 is a terminal to which the command signal X is input from the camera 10, but is not used in the accessory 600 having a GPS function.

通信制御信号端子Ts9は、既述の通信制御信号(通信起動信号)Csがカメラ10から入力される端子である。   The communication control signal terminal Ts9 is a terminal to which the above-described communication control signal (communication activation signal) Cs is input from the camera 10.

電源端子Ts11と通信制御信号端子Ts9との間には、オープン端子Ts10が配置されている。   An open terminal Ts10 is disposed between the power supply terminal Ts11 and the communication control signal terminal Ts9.

次に、カメラ10とアクセサリー600との接続関係について説明する。アクセサリー600がカメラ10に装着されている状態(以下、装着状態という)において、接地端子Ts1は、カメラ10の接地端子Tp1に接続される。接地端子Ts2は、装着状態において、カメラ10の接地端子Tp2に接続される。そしてこれらアクセサリー600側の接地端子Ts1、Ts2に接続している箇所(充電部664の接地端子など)は、装着状態において、接地端子Tp1及び接地端子Ts1を介した経路と、接地端子Tp2及び接地端子Ts2を介した経路との少なくとも一方の経路を介して、接地線43に接続されて電池BATの負極に接続される。そのため、接地端子Ts1、Ts2及びそれらに接続している箇所の電位は、装着状態において、電池BATの負極の電位に応じた基準電位になる。   Next, the connection relationship between the camera 10 and the accessory 600 will be described. In a state where the accessory 600 is mounted on the camera 10 (hereinafter referred to as a mounted state), the ground terminal Ts1 is connected to the ground terminal Tp1 of the camera 10. The ground terminal Ts2 is connected to the ground terminal Tp2 of the camera 10 in the mounted state. In addition, the locations connected to the ground terminals Ts1 and Ts2 on the accessory 600 side (such as the ground terminal of the charging unit 664) are connected to the path through the ground terminal Tp1 and the ground terminal Ts1, and the ground terminal Tp2 and the ground. It is connected to the ground line 43 via at least one of the paths via the terminal Ts2 and connected to the negative electrode of the battery BAT. Therefore, the potentials of the ground terminals Ts1 and Ts2 and the locations connected to them are reference potentials corresponding to the potential of the negative electrode of the battery BAT in the mounted state.

電源端子Ts11は、装着状態において、カメラ10の電源端子Tp11に接続される。電源端子Ts12は、装着状態において、カメラ10の電源端子Tp12に接続される。アクセサリー電源制御部33は、装着状態において、電源端子Tp11及び電源端子Ts11を介した経路と、電源端子Tp12及び電源端子Ts12を介した経路との少なくとも一方の経路を介して、電源部670に接続される。そのため、アクセサリー電源制御部33は、カメラ制御部170の制御に従って、電池BATからアクセサリー電源制御部33に供給された電力PWRを、アクセサリー600内の各回路や電気部品に供給することができる。   The power supply terminal Ts11 is connected to the power supply terminal Tp11 of the camera 10 in the mounted state. The power supply terminal Ts12 is connected to the power supply terminal Tp12 of the camera 10 in the mounted state. In the mounted state, the accessory power supply control unit 33 is connected to the power supply unit 670 via at least one of a route through the power supply terminal Tp11 and the power supply terminal Ts11 and a route through the power supply terminal Tp12 and the power supply terminal Ts12. Is done. Therefore, the accessory power supply control unit 33 can supply the power PWR supplied from the battery BAT to the accessory power supply control unit 33 to each circuit and electrical component in the accessory 600 according to the control of the camera control unit 170.

基準電位端子Ts3は、装着状態において、カメラ10の基準電位端子Tp3に接続される。基準電位端子Ts5は、装着状態において、カメラ10の基準電位端子Tp5に接続される。基準電位端子Ts3の電位は、装着状態において、基準電位端子Tp3の電位(基準電位)になる。基準電位端子Ts5の電位は、装着状態において、基準電位端子Tp5の電位(基準電位)になる。   The reference potential terminal Ts3 is connected to the reference potential terminal Tp3 of the camera 10 in the mounted state. The reference potential terminal Ts5 is connected to the reference potential terminal Tp5 of the camera 10 in the mounted state. The potential of the reference potential terminal Ts3 becomes the potential (reference potential) of the reference potential terminal Tp3 in the mounted state. The potential of the reference potential terminal Ts5 becomes the potential (reference potential) of the reference potential terminal Tp5 in the mounted state.

起動状態提供端子Ts7は、アクセサリー600がカメラ10に装着された状態であって、接地線42に接続される。そのため、カメラ制御部170は、カメラ10に接続されている状態(以下、第1状態と称す)であるときに、第1状態であることを示す起動検出レベルDET(SGNDレベル/基準電位レベル/Lowレベル/Lレベル)を、起動状態提供端子Ts7及び起動状態検出端子Tp7を介して検出することができる。また、カメラ制御部170は、下記の第2状態であるときに、第1状態とは電気的にレベルが異なる起動検出レベルDETを検出することができる。第2状態は、アクセサリー600がカメラ10に装着されていない状態を含む。   The activation state providing terminal Ts7 is a state in which the accessory 600 is attached to the camera 10, and is connected to the ground line 42. Therefore, when the camera control unit 170 is connected to the camera 10 (hereinafter referred to as a first state), the activation detection level DET (SGND level / reference potential level / Low level / L level) can be detected via the activation state providing terminal Ts7 and the activation state detection terminal Tp7. Further, the camera control unit 170 can detect the activation detection level DET that is electrically different from the first state in the following second state. The second state includes a state where the accessory 600 is not attached to the camera 10.

同期信号端子Ts4は、装着状態において、カメラ10の同期信号端子Tp4に接続される。すなわち、GPS制御部660は、装着状態において、同期信号端子Tp4及び同期信号端子Ts4を介して、カメラ制御部170に接続される。これにより、GPS制御部660は、カメラ制御部170と同期通信を行うための同期信号CLKを、同期信号端子Ts4及び同期信号端子Tp4を介して、カメラ制御部170へ送信することができる。   The synchronization signal terminal Ts4 is connected to the synchronization signal terminal Tp4 of the camera 10 in the mounted state. That is, the GPS control unit 660 is connected to the camera control unit 170 through the synchronization signal terminal Tp4 and the synchronization signal terminal Ts4 in the mounted state. Accordingly, the GPS control unit 660 can transmit a synchronization signal CLK for performing synchronous communication with the camera control unit 170 to the camera control unit 170 via the synchronization signal terminal Ts4 and the synchronization signal terminal Tp4.

通信信号端子Ts6は、装着状態において、カメラ10の通信信号端子Tp6に接続される。すなわち、GPS制御部660は、装着状態において、通信信号端子Tp6及び通信信号端子Ts6を介して、カメラ制御部170に接続される。そのため、カメラ制御部170とGPS制御部660は、装着状態において、通信信号端子Tp6及び通信信号端子Ts6を介して、シリアルデータ通信を行うことができる。この通信信号端子Tp6及びTs6はいずれも入力/出力機能を切り替え可能であり、これら両端子間における通信は、通信方向を切り替え可能な双方向通信である。通信信号DATAとして通信されるデータは次のようなものがある。カメラ10側から出力されるデータとしては、カメラ制御部170がアクセサリー600に処理を実行させる指令(コマンド)や、カメラ10に関する情報(カメラデータ)などである。一方、アクセサリー600側から出力されるデータとしては、アクセサリー600に関する情報(アクセサリー情報)などである。本実施形態において、指令あるいは情報を示すデータを送信(又は受信)することを、単に指令あるいは情報を送信(又は受信)するということがある。なお、通信信号DATAは、カメラ制御部170が送信する場合とGPS制御部660が送信する場合のいずれにおいても、アクセサリー600側から出力される同期信号CLKに同期させて送信される。   The communication signal terminal Ts6 is connected to the communication signal terminal Tp6 of the camera 10 in the mounted state. That is, the GPS control unit 660 is connected to the camera control unit 170 through the communication signal terminal Tp6 and the communication signal terminal Ts6 in the mounted state. Therefore, the camera control unit 170 and the GPS control unit 660 can perform serial data communication via the communication signal terminal Tp6 and the communication signal terminal Ts6 in the mounted state. The communication signal terminals Tp6 and Ts6 can both switch input / output functions, and communication between these terminals is bidirectional communication in which the communication direction can be switched. The data communicated as the communication signal DATA is as follows. Examples of data output from the camera 10 include a command (command) that causes the accessory 600 to execute processing by the camera control unit 170 and information (camera data) related to the camera 10. On the other hand, the data output from the accessory 600 side includes information on the accessory 600 (accessory information). In the present embodiment, sending (or receiving) data indicating a command or information may be simply sending (or receiving) a command or information. Note that the communication signal DATA is transmitted in synchronization with the synchronization signal CLK output from the accessory 600 side regardless of whether the camera control unit 170 transmits or the GPS control unit 660 transmits.

例えば、カメラ制御部170は、指定した項目の情報をカメラ制御部170からGPS制御部660へ送信することを通知する送信通知コマンド(指令)を、GPS制御部660に送信する。カメラ制御部170は、送信通知コマンドの送信終了後に、所定の時間間隔をあけて送信通知コマンドの送信に続いて、送信通知コマンドに指定された項目の情報をGPS制御部660へ送信する。   For example, the camera control unit 170 transmits to the GPS control unit 660 a transmission notification command (command) for notifying that information on the designated item is transmitted from the camera control unit 170 to the GPS control unit 660. After the transmission of the transmission notification command is completed, the camera control unit 170 transmits information on the item specified in the transmission notification command to the GPS control unit 660 after a transmission of the transmission notification command with a predetermined time interval.

また、例えば、カメラ制御部170は、指定した情報をGPS制御部660からカメラ制御部170へ送信することを要求する送信要求コマンドを、GPS制御部660へ送信することができる。GPS制御部660は、送信要求コマンドの受信完了後に、送信通知コマンドの受信に続いて、送信通知コマンドに指定された項目の情報をカメラ制御部170へ送信する。   Further, for example, the camera control unit 170 can transmit a transmission request command for requesting transmission of designated information from the GPS control unit 660 to the camera control unit 170 to the GPS control unit 660. After the reception of the transmission request command is completed, the GPS control unit 660 transmits information on the item specified in the transmission notification command to the camera control unit 170 following the reception of the transmission notification command.

通信制御信号端子Ts9は、装着状態において、カメラ10の通信制御信号端子Tp9に接続される。すなわち、GPS制御部660は、装着状態において、通信制御信号端子Tp9及び通信制御信号端子Ts9を介して、カメラ制御部170に接続される。そのため、カメラ制御部170は、通信制御信号端子Tp9及び通信制御信号端子Ts9を介して、GPS制御部660へ通信制御信号Csを供給することができる。   The communication control signal terminal Ts9 is connected to the communication control signal terminal Tp9 of the camera 10 in the mounted state. That is, the GPS control unit 660 is connected to the camera control unit 170 through the communication control signal terminal Tp9 and the communication control signal terminal Ts9 in the mounted state. Therefore, the camera control unit 170 can supply the communication control signal Cs to the GPS control unit 660 via the communication control signal terminal Tp9 and the communication control signal terminal Ts9.

この通信制御信号Csは、通信信号端子Ts6を介したカメラ10とアクセサリー600との間の通信の通信開始タイミングを定める信号である。アクセサリー600側において、通信制御信号端子Ts9に接続している配線パターンにはプルアップ抵抗(図示せず)が接続されている。このため通信信号端子Ts6における通信制御信号Csの信号レベルは、通信開始前にHレベルに維持される。通信制御信号Csの信号レベルは、通信信号端子Ts6を介したデータ通信を開始する際に、カメラ制御部170によってLレベルに立ち下げられて維持される。通信制御信号Csの信号レベルがLレベルに維持されている期間に、通信信号DATAとして複数ビットのデータが同期信号CLKに同期して送受信される。複数ビットのデータが送受信された後に、通信制御信号Csの信号レベルは、次回の通信信号DATAの送信までの期間において、再び上述のプルアップ抵抗によってHレベルに維持される。このように、通信制御信号Csは、通信信号DATA及び同期信号CLKと比較して、信号レベル(HレベルとLレベルの)の単位時間あたりの切替わり回数が少ない信号である。   The communication control signal Cs is a signal that determines the communication start timing of communication between the camera 10 and the accessory 600 via the communication signal terminal Ts6. On the accessory 600 side, a pull-up resistor (not shown) is connected to the wiring pattern connected to the communication control signal terminal Ts9. For this reason, the signal level of the communication control signal Cs at the communication signal terminal Ts6 is maintained at the H level before the start of communication. The signal level of the communication control signal Cs is lowered to the L level and maintained by the camera control unit 170 when starting data communication via the communication signal terminal Ts6. While the signal level of the communication control signal Cs is maintained at the L level, data of a plurality of bits is transmitted / received as the communication signal DATA in synchronization with the synchronization signal CLK. After a plurality of bits of data are transmitted / received, the signal level of the communication control signal Cs is maintained at the H level again by the pull-up resistor in the period until the next transmission of the communication signal DATA. As described above, the communication control signal Cs is a signal in which the number of switching of the signal level (H level and L level) per unit time is smaller than that of the communication signal DATA and the synchronization signal CLK.

次に、GPSモジュール部650について説明する。
GPS演算部652は、アンテナ651を介して測位や計時に必要なGPS情報(航法メッセージ)を測位衛星(GPS衛星)から受信する。GPS演算部652は、測位衛星から受信したGPS情報(航法メッセージ)からGPS時刻を示す情報(GPS時刻情報)を抽出する。GPS情報からGPS時刻情報が抽出できた場合、RTC653の計時情報をGPS時刻に合わせる。GPS演算部652は、GPS情報を受信できない場合、またはGPS情報を受信できてもGPS時刻情報を抽出できない場合、RTC653の計時情報をGPS時刻情報の代わりに用いる。なお、記憶部652aは、フラッシュメモリーであってもよい。
また、GPS演算部652は、GPS情報から第1GPS情報を生成し、第1GPS情報をGPS制御部660に出力する。第1GPS情報は、例えば、NMEA(National Marine Electronics Association(米国会用電子協会))が規定したGPS受信機などの通信プロトコルを有するNMEAデータである。GPS演算部652は、第1GPS情報を記憶部652a(第2記憶部)に記憶させる。
また、GPS演算部652は、GPSモジュール部650の測位動作状態(測位が完了しているか否か)を示す情報をGPS制御部660に出力する。GPS制御部660は、GPSモジュール部650の測位動作状態を、LED635を制御することで表示(点灯、もしくは点滅)する。
Next, the GPS module unit 650 will be described.
The GPS calculation unit 652 receives GPS information (navigation message) necessary for positioning and timing from the positioning satellite (GPS satellite) via the antenna 651. The GPS calculation unit 652 extracts information (GPS time information) indicating the GPS time from the GPS information (navigation message) received from the positioning satellite. When the GPS time information can be extracted from the GPS information, the time information of the RTC 653 is adjusted to the GPS time. When GPS information cannot be received, or when GPS information cannot be extracted even if GPS information can be received, the GPS calculation unit 652 uses the time information of the RTC 653 instead of the GPS time information. The storage unit 652a may be a flash memory.
In addition, the GPS calculation unit 652 generates first GPS information from the GPS information, and outputs the first GPS information to the GPS control unit 660. The first GPS information is, for example, NMEA data having a communication protocol such as a GPS receiver defined by NMEA (National Marine Electronics Association). The GPS calculation unit 652 stores the first GPS information in the storage unit 652a (second storage unit).
In addition, the GPS calculation unit 652 outputs information indicating the positioning operation state of the GPS module unit 650 (whether or not positioning is completed) to the GPS control unit 660. The GPS control unit 660 displays (lights up or blinks) the positioning operation state of the GPS module unit 650 by controlling the LED 635.

RTC(リアル・タイム・クロック)653は、例えば水晶発振器により生成されたクロック信号に基づいて計時情報を生成(計時)し、生成した計時情報をGPS演算部652に出力する。RTC653は、アクセサリー600がカメラ10に装着されていない場合、2次電池665から供給される電力を用いて計時を継続する。   An RTC (real time clock) 653 generates (measures) time information based on, for example, a clock signal generated by a crystal oscillator, and outputs the generated time information to the GPS calculation unit 652. When the accessory 600 is not attached to the camera 10, the RTC 653 continues timing using the power supplied from the secondary battery 665.

LED635は、GPS制御部660の制御に基づき、GPSモジュール部650の測位動作状態を表示する。LED635は、例えば赤色、緑色の複数の色の光を発光することができる。LED635は、例えば、アクセサリー600がカメラ10に装着され、GPSモジュール部650による測位で3機の測位衛星からのGPS情報を取得していた場合、赤色で点滅する。GPSモジュール部650による測位で4機以上の測位衛星からのGPS情報を取得していた場合、緑色で点灯する。   The LED 635 displays the positioning operation state of the GPS module unit 650 based on the control of the GPS control unit 660. The LED 635 can emit light of a plurality of colors, for example, red and green. For example, the LED 635 blinks red when the accessory 600 is attached to the camera 10 and GPS information from three positioning satellites is acquired by positioning by the GPS module unit 650. When GPS information from four or more positioning satellites has been acquired by positioning by the GPS module unit 650, the light turns green.

データ端子640は、例えばUSB(Universal Serial Bus)端子である。アクセサリー600は、データ端子640を介して接続ケーブルでパソコン(PC)等の外部機器と接続することで、パソコンからコマンドやデータを取得することができる。また、アクセサリー600は、データ端子640を介してGPS制御部660が出力するコマンドやデータをパソコンに送信する。また、データ端子640は、接続ケーブルを介して供給された電力を電源部670に供給する。   The data terminal 640 is, for example, a USB (Universal Serial Bus) terminal. The accessory 600 can acquire commands and data from a personal computer by connecting to an external device such as a personal computer (PC) with a connection cable via the data terminal 640. In addition, the accessory 600 transmits commands and data output from the GPS control unit 660 to the personal computer via the data terminal 640. Further, the data terminal 640 supplies the power supplied via the connection cable to the power supply unit 670.

GPS制御部660は、端子部623及びカメラ10の端子部25を介してカメラ制御部170と通信する。また、GPS制御部660は、アクセサリー600の各構成要素の制御を行う。
GPS制御部660は、GPSモジュール部650(GPS演算部652)が出力する第1GPS情報から、カメラ10に出力するデータを抽出する。カメラ10に出力するデータとは、例えば、Exifファイルを生成するために必要なデータであり、緯度を示す情報、経度を示す情報、高度を示す情報、協定世界時(UTC)を示す情報、測位に使用した衛星数を示す情報、測位の信頼性を示す情報、進行方向を示す情報、対地情報の各情報等である。
また、GPS制御部660は、第1GPS情報から、該第1GPS情報が有効か無効かを示すフラグ(以下、第1GPS情報の有効/無効フラグ(有効性情報)という)、2D測位状態(経度と緯度が測位できている状態)か3D測位状態(経度と緯度と高度が測位できている状態)かを示すフラグ(以下、2D測位/3D測位フラグという)を生成する。
さらに、GPS制御部660は、後述するように第1GPS情報から、カメラ10に出力するデータ(緯度を示す情報、経度を示す情報、高度を示す情報、協定世界時を示す情報、測位に使用した衛星数を示す情報、測位の信頼性を示す情報、進行方向を示す情報、対地情報)の各情報が取得できているか否かを判定する。GPS制御部660は、判定結果に基づき、該各情報が取得できているか否かを示すフラグ(以下、第1GPS取得情報フラグという)を生成する。第1GPS情報の有効/無効フラグ、2D測位/3D測位フラグ、第1GPS取得情報フラグについては後で詳述する。
GPS制御部660は、カメラ10に出力するデータに、第1GPS情報の有効/無効フラグ、2D測位/3D測位フラグ及び第1GPS取得情報フラグを付加するとともに、第1GPS情報をカメラ10に出力する第2GPS情報(第2のデータ)に変換する。GPS制御部660は、バッファメモリー663(第1記憶部、第2記憶部)のバンクを切り替えて、変換した第2GPS情報を一方のバンクに記憶させる。GPS制御部660は、カメラ制御部170からの要求に応じて、バッファメモリー663に記憶されている第2GPS情報を読み出して送信する。または、GPS制御部660は、バッファメモリー663を、例えば2つの領域として扱い、変換した第2GPS情報を一方の領域に記憶させる。
なお、第1GPS情報(NMEAデータ)は、例えばASCIIデータである。一方、第2GPS情報は、例えば1バイト単位のデータである。なお、GPS制御部660は、第2GPS情報と、生成した情報取得可否フラグとを関連付けて第2GPS情報を生成するようにしてもよい。
The GPS control unit 660 communicates with the camera control unit 170 via the terminal unit 623 and the terminal unit 25 of the camera 10. The GPS control unit 660 controls each component of the accessory 600.
The GPS control unit 660 extracts data to be output to the camera 10 from the first GPS information output from the GPS module unit 650 (GPS calculation unit 652). The data to be output to the camera 10 is, for example, data necessary for generating an Exif file. Information indicating latitude, information indicating longitude, information indicating altitude, information indicating Coordinated Universal Time (UTC), positioning Information indicating the number of satellites used, information indicating positioning reliability, information indicating the direction of travel, information on ground information, and the like.
In addition, the GPS control unit 660 determines, from the first GPS information, a flag indicating whether the first GPS information is valid or invalid (hereinafter referred to as valid / invalid flag (validity information) of the first GPS information), 2D positioning state (longitude and A flag (hereinafter referred to as 2D positioning / 3D positioning flag) indicating whether the latitude is measured) or 3D positioning status (longitude, latitude, and altitude are measured) is generated.
Further, as described later, the GPS control unit 660 uses the first GPS information to output data to the camera 10 (information indicating latitude, information indicating longitude, information indicating altitude, information indicating coordinated universal time, and positioning). It is determined whether each information of information indicating the number of satellites, information indicating positioning reliability, information indicating the traveling direction, and ground information is acquired. Based on the determination result, the GPS control unit 660 generates a flag (hereinafter referred to as a first GPS acquisition information flag) indicating whether or not the information can be acquired. The valid / invalid flag of the first GPS information, the 2D positioning / 3D positioning flag, and the first GPS acquisition information flag will be described in detail later.
The GPS control unit 660 adds a valid / invalid flag of the first GPS information, a 2D positioning / 3D positioning flag, and a first GPS acquisition information flag to the data output to the camera 10 and outputs the first GPS information to the camera 10. 2GPS information (second data) is converted. The GPS control unit 660 switches banks of the buffer memory 663 (first storage unit, second storage unit) and stores the converted second GPS information in one bank. In response to a request from the camera control unit 170, the GPS control unit 660 reads out and transmits the second GPS information stored in the buffer memory 663. Alternatively, the GPS control unit 660 treats the buffer memory 663 as two areas, for example, and stores the converted second GPS information in one area.
The first GPS information (NMEA data) is, for example, ASCII data. On the other hand, the second GPS information is, for example, 1-byte data. Note that the GPS control unit 660 may generate the second GPS information by associating the second GPS information with the generated information acquisition propriety flag.

バッファメモリー663には、GPS制御部660が変換した第2GPS情報が記憶されている。バッファメモリーは、例えば2つのバンク、または2つの記憶領域を有している。   The buffer memory 663 stores the second GPS information converted by the GPS control unit 660. The buffer memory has, for example, two banks or two storage areas.

充電部664は、電源部670の第2出力端子と接続されている。充電部664は、カメラ10から端子Ts12及び端子Ts11を介して供給された電力を用いて2次電池665を充電する。   Charging unit 664 is connected to the second output terminal of power supply unit 670. The charging unit 664 charges the secondary battery 665 using the power supplied from the camera 10 via the terminal Ts12 and the terminal Ts11.

電源部670は、第1の入力端子が、端子部623の端子Ts11及びTs12と接続され、第2の入力端子が、データ端子640に接続されている。電源部670は、第1の出力端子が、GPS演算部652、及び充電部664に接続され、第2の出力端子が、GPS制御部660、バッファメモリー663及びプルアップ抵抗666の一方端に接続されている。
電源部670は、カメラ10から端子部623を介して供給された電力をアクセサリー600内部で使用する電圧値に変換し、電圧値を変換した電力を第1と第2の出力端子から各部に供給する。
The power supply unit 670 has a first input terminal connected to the terminals Ts11 and Ts12 of the terminal unit 623, and a second input terminal connected to the data terminal 640. The power supply unit 670 has a first output terminal connected to the GPS calculation unit 652 and the charging unit 664, and a second output terminal connected to one end of the GPS control unit 660, the buffer memory 663, and the pull-up resistor 666. Has been.
The power supply unit 670 converts the power supplied from the camera 10 through the terminal unit 623 into a voltage value used inside the accessory 600, and supplies the converted power to each unit from the first and second output terminals. To do.

次に、GPSの概要について説明する。
GPSは、位置測定、測量などに用いられている。現在、地球上空の6つの軌道を24機以上の測位衛星が周回している。各測位衛星は、航法メッセージ(GPS情報)を送信している。航法メッセージは、フレームを単位に送信している。1フレームの送信には、30秒を要する。1フレームは、5組のサブフレームで構成され、サブフレーム1から5が順番に送信される。また、サブフレーム1から3は、各測位衛星に固有の情報を含み、毎回同じ内容で構成される。サブフレーム4と5は、全測位衛星が同じ内容の情報で構成され、サブフレーム毎にページ1から25で構成されている。このため、サブフレーム4と5の全ての情報を送信するには、25フレームが必要である。このため、GPS受信機が航法メッセージの全情報を得るには、12分30秒の時間がかかる。また、各サブフレームには、GPS時刻が含まれている。なお、GPS時刻とは、GPS時刻とは、1週間を単位として測位衛星で管理されている時間であり、毎週、日曜日の0時からの経過時間で表される情報である。
Next, an outline of GPS will be described.
GPS is used for position measurement, surveying, and the like. Currently, more than 24 positioning satellites orbit around six orbits over the earth. Each positioning satellite transmits a navigation message (GPS information). The navigation message is transmitted in units of frames. It takes 30 seconds to transmit one frame. One frame includes five sets of subframes, and subframes 1 to 5 are transmitted in order. Further, subframes 1 to 3 include information unique to each positioning satellite and are configured with the same contents every time. In subframes 4 and 5, all positioning satellites are composed of information having the same contents, and are composed of pages 1 to 25 for each subframe. For this reason, 25 frames are required to transmit all the information of subframes 4 and 5. For this reason, it takes 12 minutes and 30 seconds for the GPS receiver to obtain all the navigation message information. Each subframe includes GPS time. The GPS time is the time managed by the positioning satellite in units of one week, and is information represented by the elapsed time from 0:00 every Sunday.

5組のサブフレームには、図6に示すような航法メッセージが収容されている。図6は、航法メッセージの構成を説明する図である。
サブフレーム1(g601)は、各測位衛星の状態(正常に動作しているか否か)、測位衛星が送信する測位衛星のクロック誤差を補正するための係数であるクロック補正係数などにより構成されている。
サブフレーム2(g602)は、各測位衛星の軌道情報(エフェメリス(Ephemeris)・データ)1/2で構成されている。
サブフレーム3(g601)は、各測位衛星の軌道情報(エフェメリス・データ)2/2で構成されている。
サブフレーム4(g604−1〜g604−25)は、GPS受信機が受信する信号が、電離層により遅延する量を補正するための係数である電離層遅延補正係数、GPS時刻とUTC(協定世界時間;Universal Time, Coordinated))との関係を表す情報であるUTC関係情報、全測位衛星の軌道情報(アルマナック(Almanac)・データ)1/2などで構成されている。
サブフレーム5(g605−1〜g605−25)は、全測位衛星の軌道情報(アルマナック・データ)2/2で構成されている。また、各サブフレームの先頭には、GPS時刻を示す情報が含まれている。なお、GPS時刻とは、1週間を単位として測位衛星で管理されている時間であり、毎週、日曜日の0時からの経過時間で表される情報である。
The five sets of subframes contain navigation messages as shown in FIG. FIG. 6 is a diagram illustrating the configuration of the navigation message.
Subframe 1 (g601) is composed of the status of each positioning satellite (whether it is operating normally), a clock correction coefficient that is a coefficient for correcting the clock error of the positioning satellite transmitted by the positioning satellite, and the like. Yes.
Subframe 2 (g602) is composed of orbit information (ephemeris data) 1/2 of each positioning satellite.
Subframe 3 (g601) is composed of orbit information (ephemeris data) 2/2 of each positioning satellite.
Subframe 4 (g604-1 to g604-25) includes an ionospheric delay correction coefficient, which is a coefficient for correcting an amount of a signal received by the GPS receiver that is delayed by the ionosphere, GPS time, and UTC (Coordinated Universal Time; Universal Time, Coordinated)), which is information related to UTC, orbit information of all positioning satellites (Almanac data) 1/2, and the like.
Subframe 5 (g605-1 to g605-25) is composed of orbit information (almanac data) 2/2 of all positioning satellites. In addition, information indicating GPS time is included at the head of each subframe. The GPS time is the time managed by the positioning satellite in units of one week, and is information represented by the elapsed time from 0:00 every Sunday.

また、エフェメリス・データは、測位衛星の位置を計算するために必要な軌道の6要素(昇交点赤経、軌道傾斜角、近地点引数、軌道長半径、離心率、真近点角)のデータ、各補正値、及び軌道のエポック時刻toe(軌道の元期(ephemeris reference time))などにより構成されている。エフェメリス・データは、2時間毎に更新される。また、エフェメリス・データの有効期間は、2時間±2時間である。
アルマナック・データは、各測位衛星の軌道情報である。また、アルマナック・データは、約1日に1度の頻度で更新されている。また、アルマナック・データの有効期間は、エポック時刻±3日間である。
In addition, the ephemeris data is the data of 6 elements (orbital ascension, orbital inclination, near-point argument, orbital length radius, eccentricity, and right near-point angle) necessary for calculating the position of the positioning satellite, Each correction value and the epoch time toe of the orbit (the epoch of the orbit (ephemeris reference time)) are included. The ephemeris data is updated every 2 hours. The valid period of the ephemeris data is 2 hours ± 2 hours.
Almanac data is orbit information of each positioning satellite. Almanac data is updated about once a day. The valid period of the almanac data is epoch time ± 3 days.

GPSモジュール部650は、受信したこれらのデータを記憶部652aに記憶する。記憶されているアルマナック・データ及びエフェメリス・データ共に有効な状態から測位を開始することをホットスタートという。また、エフェメリス・データが無効でありアルマナック・データのみ有効な状態から測位を開始することをウォームスタートという。アルマナック・データ及びエフェメリス・データ共に無効な状態から測位を開始することをコールドスタートという。
そして、ホットスタートの場合、GPSモジュール部650において、電源投入後に最初の位置情報が出力されるまでの時間は、記憶されているエフェメリス・データを用いて測位できるので数秒程度である。
一方、ウォームスタートの場合、GPSモジュール部650は、エフェメリス・データを再取得する必要がある。このため、エフェメリス・データを再取得に30秒以上の時間がかかり、さらに取得したエフェメリス・データの検査にも時間がかかる。このため、ウォームスタート場合、電源投入後に最初の位置情報が出力されるまでの時間は、30秒〜60秒程度である。
さらに、コールドスタートの場合、GPSモジュール部650は、全ての航法メッセージを取得する必要がある。このため、測位信号の捕獲と航法メッセージの取得に数分〜12分30秒かかる。従って、電源投入後に最初の位置情報が出力されるまでの時間は、数分〜12分30秒程度である。
The GPS module unit 650 stores the received data in the storage unit 652a. Starting positioning from a state in which both stored almanac data and ephemeris data are valid is called hot start. Also, starting the positioning from a state where the ephemeris data is invalid and only the almanac data is valid is called warm start. Starting the positioning from a state where both the almanac data and the ephemeris data are invalid is called a cold start.
In the case of a hot start, the time until the first position information is output after the power is turned on in the GPS module unit 650 is about several seconds because positioning can be performed using the stored ephemeris data.
On the other hand, in the case of a warm start, the GPS module unit 650 needs to re-acquire ephemeris data. For this reason, it takes 30 seconds or more to re-acquire the ephemeris data, and it also takes time to inspect the acquired ephemeris data. For this reason, in the case of a warm start, the time until the first position information is output after the power is turned on is about 30 to 60 seconds.
Further, in the case of a cold start, the GPS module unit 650 needs to acquire all navigation messages. For this reason, it takes several minutes to 12 minutes and 30 seconds to capture a positioning signal and to obtain a navigation message. Therefore, the time until the first position information is output after the power is turned on is about several minutes to 12 minutes and 30 seconds.

図7は、NMEAデータ(第1GPS情報)の一例である。
図7に示すように、NMEAデータは、航法メッセージ(GPS情報)から抽出されたデータが、規定されている内容に分類されたASCIIデータである。データは、センテンス毎に送信され、「$」文字とセンテンスの種類を示す文字列で始まり、改行コード「CR、LF」コードでセンテンスが終了する。図7では、RMCセンテンス、GGAセンテンス、GSAセンテンスの例を示している。センテンスg631は、RMC(Recommended Minimum Navigation Information)センテンスである。センテンスg631は、センテンス名g611、測位時刻g612、データの有効性を示すステータスg613、緯度g614、経度g615、対地速度g616、進行方向g617、測位年月g618、磁気偏差g619、測位モードg620、チェックサムg621を含む。なお、測位モードとは、1台のGPSモジュール部による測位である単独測位か、2台のGPSモジュール部による測位である相対測位(DGPS(Differential GPS))等の測位の種類である。
センテンスg632は、GGA(Global Positioning System Fix Data. Time, Position and fix related data for a GPS receiver)センテンスである。センテンスg633は、RMF(Position Fix Sentence)センテンスである。
FIG. 7 is an example of NMEA data (first GPS information).
As shown in FIG. 7, the NMEA data is ASCII data in which data extracted from the navigation message (GPS information) is classified into prescribed contents. The data is transmitted for each sentence, starts with a character string indicating the “$” character and the type of sentence, and ends with a line feed code “CR, LF” code. FIG. 7 shows examples of RMC sentence, GGA sentence, and GSA sentence. The sentence g631 is an RMC (Recommended Minimum Navigation Information) sentence. A sentence g631 includes a sentence name g611, a positioning time g612, a status g613 indicating the validity of data, a latitude g614, a longitude g615, a ground speed g616, a traveling direction g617, a positioning date g618, a magnetic deviation g619, a positioning mode g620, a checksum. g621 is included. The positioning mode is a positioning type such as single positioning that is positioning by one GPS module unit or relative positioning (DGPS (Differential GPS)) that is positioning by two GPS module units.
The sentence g632 is a GGA (Global Positioning System Fix Data. Time, Position and fix related data for a GPS receiver) sentence. The sentence g633 is an RMF (Position Fix Sentence) sentence.

図8は、本実施形態に係る第2GPS情報に含まれるデータの構成を説明する図である。図8に示すように、第2GPS情報は、11種類のデータを番号1から11まで順番に含んでいる。番号1から11の順は、例えば、Exifデータに書き込む際のデータの順番と一致するように構成している。   FIG. 8 is a diagram illustrating the configuration of data included in the second GPS information according to the present embodiment. As shown in FIG. 8, the second GPS information includes eleven types of data in the order of numbers 1 to 11. The order of the numbers 1 to 11 is configured to match the order of data when writing to the Exif data, for example.

「GPSデータ有効/無効」データは、第1GPS情報の有効/無効フラグ、2D測位/3D測位フラグ、地磁気センサの有/無フラグを含んでいる。なお、第1GPS情報が有効とは、GPSモジュール部650によって位置情報が得られている状態(測位状態)を示している。一方、第1GPS情報が無効とは、GPSモジュール部650によって位置情報が得られていない状態(非測位状態)を示す。また、2D測位状態とは、3機の測位衛星からGPS情報を受信し位置情報を得ている状態である。3D測位状態とは、4機の測位衛星からGPS情報を受信し位置情報を得ている状態である。また、地磁気センサーの有/無フラグは、地磁気センサーがアクセサリー600に搭載されているか否かをフラグで示している。GPS制御部660は、第1GPS情報の有効か無効かの情報、2D測位か3D測位かの情報を第1GPS情報から抽出する。そして、GPS制御部660は、抽出した該各情報に基づき、1バイトデータである「GPSデータ有効/無効」データを生成する。第1GPS情報の有効/無効フラグは、画像ファイルデータ(例えばExifファイルデータ)を生成するために必要なデータ(緯度を示す情報、経度を示す情報、高度を示す情報、協定世界時を示す情報、測位に使用した衛星数を示す情報、測位の信頼性を示す情報、進行方向を示す情報、対地情報)が有効であるか否かを表している。すなわち、GPS情報が無効を示すフラグの場合、第1GPS情報に含まれる画像ファイルデータを生成するために必要なデータが無効であることを表している。データが無効である場合、データは画像ファイルデータに記憶しない。   The “GPS data valid / invalid” data includes a valid / invalid flag of the first GPS information, a 2D positioning / 3D positioning flag, and a presence / absence flag of the geomagnetic sensor. Note that the first GPS information is valid indicates a state where the GPS module unit 650 obtains position information (positioning state). On the other hand, the invalidity of the first GPS information indicates a state in which position information is not obtained by the GPS module unit 650 (non-positioning state). The 2D positioning state is a state in which GPS information is received from three positioning satellites and position information is obtained. The 3D positioning state is a state where GPS information is received from four positioning satellites and position information is obtained. The presence / absence flag of the geomagnetic sensor indicates whether or not the geomagnetic sensor is mounted on the accessory 600 by a flag. The GPS control unit 660 extracts information on whether the first GPS information is valid or invalid from the first GPS information, information on 2D positioning or 3D positioning. Then, the GPS control unit 660 generates “GPS data valid / invalid” data that is 1-byte data based on the extracted information. The valid / invalid flag of the first GPS information includes data (information indicating latitude, information indicating longitude, information indicating altitude, information indicating coordinated universal time) necessary for generating image file data (for example, Exif file data), This indicates whether or not the information indicating the number of satellites used for positioning, the information indicating the reliability of positioning, the information indicating the traveling direction, and the ground information) is valid. That is, if the GPS information is a flag indicating invalidity, it indicates that the data necessary for generating the image file data included in the first GPS information is invalid. If the data is invalid, the data is not stored in the image file data.

「GPSデータ取得情報」データは、第1GPS取得情報フラグを含んでいる。第1GPS取得情報フラグとは、第1GPS情報に含まれる緯度、経度、高度、UTC、測位に使用した測位衛星信号、測位の信頼性、進行方向、対地速度の各情報を取得できているか否かを示す複数のフラグである。GPS制御部660は、該各情報を第1GPS情報から抽出する。そして、抽出した該各情報に基づき、該各情報が取得できているか否かを判定する。GPS制御部660は、判別結果に基づき、1バイトデータである「GPSデータ取得情報」データを生成する。
具体的に例えば、「GPSデータ有効/無効」データの第1GPS情報の有効/無効フラグに無効を示す0が設定されている場合、GPSモジュール部650は、まだ測位ができていない状態(非測位状態)である。この場合、「GPSデータ取得情報」データの第1GPS取得情報フラグには、各々、データが取得できていないことを示す0が設定されている。
また、「GPSデータ有効/無効」データの第1GPS情報の有効/無効フラグに有効を示す1が設定されている場合、且つ2D測位/3D測位フラグに2D測位状態を示す0が設定され、緯度、経度、高度、UTC、測位に使用した測位衛星信号、測位の信頼性、進行方向、対地速度の各情報に対する複数のフラグのうち、いずれかのフラグに取得できていないことを示す0が設定されている。
さらに、「GPSデータ有効/無効」データの第1GPS情報の有効/無効フラグに有効を示す1が設定され、且つ2D測位/3D測位フラグに3D測位状態を示す1が設定されている場合、緯度、経度、高度、UTC、測位に使用した測位衛星信号、測位の信頼性、進行方向、対地速度の各情報に対する全てのフラグに取得できていることを示す1が設定されている場合がある。ただし、2D測位/3D測位フラグに3D測位状態を示す1が設定されている場合であっても、例えば、「対地速度」データが未取得であり、フラグに取得できていないことを示す0が設定されていない場合もある。
The “GPS data acquisition information” data includes a first GPS acquisition information flag. The first GPS acquisition information flag indicates whether the latitude, longitude, altitude, UTC, positioning satellite signal used for positioning, positioning reliability, traveling direction, and ground speed information included in the first GPS information can be acquired. Are a plurality of flags. The GPS control unit 660 extracts each piece of information from the first GPS information. Then, based on each extracted information, it is determined whether or not each information can be acquired. The GPS control unit 660 generates “GPS data acquisition information” data that is 1-byte data based on the determination result.
Specifically, for example, when 0 indicating “invalid” is set in the valid / invalid flag of the first GPS information of the “GPS data valid / invalid” data, the GPS module unit 650 is in a state where positioning has not been performed yet (non-positioning State). In this case, the first GPS acquisition information flag of the “GPS data acquisition information” data is set to 0 indicating that data has not been acquired.
In addition, when 1 indicating validity is set in the validity / invalidity flag of the first GPS information of the “GPS data valid / invalid” data, and 0 indicating the 2D positioning state is set in the 2D positioning / 3D positioning flag, the latitude , Longitude, altitude, UTC, positioning satellite signal used for positioning, positioning reliability, traveling direction, ground speed, among the plurality of flags for each information, 0 indicating that it has not been acquired in any flag is set Has been.
Further, when 1 is set to the valid / invalid flag of the first GPS information of the “GPS data valid / invalid” data, and 1 indicating the 3D positioning state is set to the 2D positioning / 3D positioning flag, In some cases, 1 is set to indicate that all the flags for longitude, altitude, UTC, positioning satellite signal used for positioning, positioning reliability, traveling direction, and ground speed information can be acquired. However, even when “1” indicating the 3D positioning state is set in the 2D positioning / 3D positioning flag, for example, “ground speed” data is not acquired and 0 indicating that the flag cannot be acquired. It may not be set.

「緯度」データと「経度」データ及び「高度」データは、緯度と経度及び高度を示す情報である。GPS制御部660は、緯度、経度、及び高度の情報を第1GPS情報から抽出して、抽出した情報を「緯度」データと「経度」データ及び「高度」データとする。   “Latitude” data, “longitude” data, and “altitude” data are information indicating latitude, longitude, and altitude. The GPS control unit 660 extracts latitude, longitude, and altitude information from the first GPS information, and uses the extracted information as “latitude” data, “longitude” data, and “altitude” data.

「UTC」データ及び「衛星信号」データは、UTC情報と測位に使用した測位衛星の個数を示す情報である。GPS制御部660は、UTCと衛星信号との情報を第1GPS情報から抽出して、抽出した情報を「UTC」データ及び「衛星信号」データとする。   “UTC” data and “satellite signal” data are information indicating the UTC information and the number of positioning satellites used for positioning. The GPS control unit 660 extracts information on the UTC and the satellite signal from the first GPS information, and uses the extracted information as “UTC” data and “satellite signal” data.

「測位の信頼性」データは、測位の信頼性を表す情報であり、PDOP(Position Dilution of Precision;位置精度劣化度)、HDOP(Horizontal Dilution of Precision)VDOP(Vertical Dilution of Precision)などの値である。PDOPは、測位衛星の幾何学的配置を指数化したものである。PDOP値が小さければ位置の精度が高く、大きければ位置の精度が低いことを示している。PDOPの水平成分、垂直成分だけを指数化したものが、それぞれHDOPとVDOPである。GPS制御部660は、PDOP、HDOP、及びVDOPの情報を第1GPS情報から抽出して、抽出した情報を「測位の信頼性」データとする。   “Positioning reliability” data is information indicating the reliability of positioning, and is a value such as PDOP (Position Dilution of Precision), HDOP (Horizontal Dilution of Precision), VDOP (Vertical Dilution of Precision), etc. is there. PDOP is an indexed positioning satellite geometry. If the PDOP value is small, the position accuracy is high, and if the PDOP value is large, the position accuracy is low. HDOP and VDOP are obtained by indexing only the horizontal and vertical components of PDOP. The GPS control unit 660 extracts PDOP, HDOP, and VDOP information from the first GPS information, and uses the extracted information as “positioning reliability” data.

「進行方向」データ及び「対地速度」データは、測位衛星の進行方向情報と対地速度情報である。GPS制御部660は、進行方向と対地速度との情報を第1GPS情報から抽出して、抽出した情報を「進行方向」データ及び「対地速度」データとする。   The “traveling direction” data and the “ground speed” data are the traveling direction information and the ground speed information of the positioning satellite. The GPS control unit 660 extracts information on the traveling direction and the ground speed from the first GPS information, and uses the extracted information as “traveling direction” data and “ground speed” data.

「方位」データは、図示しない地磁気センサーから取得した方位を示す情報である。GPS制御部660は、アクセサリー600に地磁気センサーが搭載されているか否かを判別する。地磁気センサーが搭載されていると判別した場合、GPS制御部660は、地磁気センサーから出力されたデータから方位を示す情報を抽出し、抽出した情報を「方位」データとする。   “Direction” data is information indicating an orientation obtained from a geomagnetic sensor (not shown). The GPS control unit 660 determines whether or not a geomagnetic sensor is mounted on the accessory 600. If it is determined that the geomagnetic sensor is mounted, the GPS control unit 660 extracts information indicating the direction from the data output from the geomagnetic sensor, and sets the extracted information as “direction” data.

以上のように、GPS制御部660は、GPSモジュール部650から得られる第1GPS情報から第2GPS情報を生成する。そして、GPS制御部660は、第2GPS情報をカメラ10に通信信号端子Ts6を介して送信する。   As described above, the GPS control unit 660 generates the second GPS information from the first GPS information obtained from the GPS module unit 650. Then, the GPS control unit 660 transmits the second GPS information to the camera 10 via the communication signal terminal Ts6.

次に、「GPSデータ有効/無効」データの各フラグの設定方法について説明する。
まずは、第1GPS情報の有効/無効フラグについて説明する。GPS制御部660は、GPSモジュール部650が出力する第1GPS情報からGGAセンテンスを抽出し、抽出したGGAセンテンスの中からGPS Quality Indicator情報g622(図7参照。以下、情報g622という)を抽出する。情報g622の値が0の場合、受信不能を表している。情報g622の値が0の場合、GPS制御部660は、第1GPS情報が無効であるとして、第1GPS情報が有効か無効かを示すフラグに無効を示す0を設定する。情報g622の値が1の場合、単独受信モードを表し、情報g622の値が2の場合、Differential GPS測位モードを表している。情報g622の値が1または2の場合、GPS制御部660は、GPSデータが有効であるとして、GPSデータが有効か無効かを示すフラグに有効を示す1を設定する。
Next, a method for setting each flag of the “GPS data valid / invalid” data will be described.
First, the valid / invalid flag of the first GPS information will be described. The GPS control unit 660 extracts a GGA sentence from the first GPS information output by the GPS module unit 650, and extracts GPS Quality Indicator information g622 (see FIG. 7; hereinafter referred to as information g622) from the extracted GGA sentence. When the value of the information g622 is 0, it indicates that reception is impossible. When the value of the information g622 is 0, the GPS control unit 660 sets the flag indicating whether the first GPS information is valid or invalid as 0 indicating that the first GPS information is invalid. When the value of information g622 is 1, it represents the single reception mode, and when the value of information g622 is 2, it represents the differential GPS positioning mode. When the value of the information g622 is 1 or 2, the GPS control unit 660 sets the flag indicating whether the GPS data is valid or not as 1 indicating that the GPS data is valid.

2D測位/3D測位フラグについて説明する。GPS制御部660は、GPSモジュール部650が出力する第1GPS情報からRMFセンテンスを抽出し、抽出したRMFセンテンスの中からFix type情報g623(図7参照。以下、情報g623という)を抽出する。情報g623の値が1の場合、3機の衛星からのGPS情報を利用できることを表している。このため、GPS制御部660は、2D測位状態であるとして、2D測位状態か3D測位状態かを示すフラグに、2D測位状態を示す0を設定する。情報g623の値が2の場合、4機以上の衛星からのGPS情報を利用できることを表している。このため、GPS制御部660は、3D測位状態であるとして、2D測位状態か3D測位状態かを示すフラグに、3D測位状態を示す1を設定する。
このように、「GPSデータ有効/無効」データの各フラグは、第1GPS情報から抽出したセンテンスの情報の値に基づき設定されるフラグである。
The 2D positioning / 3D positioning flag will be described. The GPS control unit 660 extracts the RMF sentence from the first GPS information output from the GPS module unit 650, and extracts the fix type information g623 (see FIG. 7; hereinafter referred to as information g623) from the extracted RMF sentence. When the value of the information g623 is 1, it indicates that GPS information from three satellites can be used. For this reason, the GPS control unit 660 sets 0 indicating the 2D positioning state in a flag indicating whether the 2D positioning state or the 3D positioning state is assumed to be the 2D positioning state. When the value of the information g623 is 2, it indicates that GPS information from four or more satellites can be used. For this reason, the GPS control unit 660 sets 1 indicating the 3D positioning state to the flag indicating the 2D positioning state or the 3D positioning state, assuming that it is the 3D positioning state.
Thus, each flag of the “GPS data valid / invalid” data is a flag set based on the value of the sentence information extracted from the first GPS information.

次に、「GPSデータ取得情報」データのフラグの設定方法について説明する。
GPS制御部660は、GPSモジュール部650が出力する第1GPS情報からUTCに関するデータを抽出する。UTCに関するデータとは、例えば、第1GPS情報のZDA(Time & Date - UTC, Day, Month, Year and Local Time Zone)データ、GGA(Global Positioning System Fix Data. Time, Position and fix related data for a GPS receiver)センテンス等である。GPS制御部660は、これらの抽出したデータのステータスが有効であるか否かを抽出し、さらにUTCデータを抽出する。GPS制御部660は、抽出したUTCデータが予め定められている範囲の数値であるか否かを判定する。なお、UTCデータは、西暦、月、日、時刻(時、分、秒)により構成されている。GPS制御部660は、抽出したUTCデータの「月」を示すデータが、1月から12月を示す値であると判定した場合、このデータを有効であると判定する。GPS制御部660は、抽出したUTCデータの「年」を示すデータが、例えば2000年から3000年を示す値であると判定した場合、このデータを有効であると判定する。GPS制御部660は、抽出したUTCデータの「日」を示すデータが、1日から31日を示す値であると判定した場合、このデータを有効であると判定する。GPS制御部660は、抽出したUTCデータの「時」を示すデータが、0時から23時を示す値であると判定した場合、このデータを有効であると判定する。GPS制御部660は、抽出したUTCデータの「分」を示すデータが、0分から59分を示す値であると判定した場合、このデータを有効であると判定する。GPS制御部660は、抽出したUTCデータの「秒」を示すデータが、0秒から59秒を示す値であると判定した場合、このデータを有効であると判定する。以上の判定により全てのデータが有効であり、さらに抽出したデータのステータスが有効である場合、GPS制御部660は、UTCデータが取得できていると判定し、UTCデータ取得に対するフラグを1に設定する。
GPS制御部660は、西暦、月、日、時刻(時、分、秒)のうちいずれかのデータが予め定めた範囲外の値の場合、または抽出したデータのステータスが無効である場合、UTCデータが取得できていないと判定し、UTCデータ取得に対するフラグを0に設定する。
このように、GPS制御部660は、第1GPS情報から1つ以上のセンテンスを抽出し、抽出したセンテンスの情報に基づき、取得できているか否かを判定する。そして、「GPSデータ取得情報」データのフラグは、該判定結果に基づき設定されるフラグである。
Next, a method for setting a flag of “GPS data acquisition information” data will be described.
The GPS control unit 660 extracts UTC data from the first GPS information output by the GPS module unit 650. The data related to UTC is, for example, ZDA (Time & Date-UTC, Day, Month, Year and Local Time Zone) data of the first GPS information, GGA (Global Positioning System Fix Data. Time, Position and fix related data for a GPS) receiver) sentence. The GPS control unit 660 extracts whether or not the status of the extracted data is valid, and further extracts UTC data. The GPS control unit 660 determines whether or not the extracted UTC data is a numerical value in a predetermined range. The UTC data is composed of the year, month, day, and time (hour, minute, second). If the GPS control unit 660 determines that the data indicating “month” in the extracted UTC data is a value indicating January to December, the GPS control unit 660 determines that this data is valid. If the GPS control unit 660 determines that the data indicating the “year” of the extracted UTC data is a value indicating, for example, 2000 to 3000, this data is determined to be valid. If the GPS control unit 660 determines that the data indicating “day” of the extracted UTC data is a value indicating 1st to 31st, it determines that this data is valid. When the GPS control unit 660 determines that the data indicating “hour” of the extracted UTC data is a value indicating 0 to 23:00, the GPS control unit 660 determines that the data is valid. If the GPS control unit 660 determines that the data indicating “minute” of the extracted UTC data is a value indicating 0 to 59 minutes, the GPS control unit 660 determines that the data is valid. When it is determined that the data indicating “second” of the extracted UTC data is a value indicating 0 to 59 seconds, the GPS control unit 660 determines that this data is valid. If all the data is valid and the status of the extracted data is valid as a result of the above determination, the GPS control unit 660 determines that UTC data has been acquired and sets the flag for UTC data acquisition to 1. To do.
The GPS control unit 660 determines whether the data in the year, month, day, or time (hour, minute, second) is outside the predetermined range, or if the status of the extracted data is invalid. It is determined that data has not been acquired, and a flag for UTC data acquisition is set to 0.
As described above, the GPS control unit 660 extracts one or more sentences from the first GPS information, and determines whether or not the sentence is acquired based on the extracted sentence information. The flag of “GPS data acquisition information” data is a flag set based on the determination result.

次に、図9を参照して、カメラシステムにおける処理の手順について説明する。
図9は、本実施形態に係るカメラシステム1における処理の手順を示すフローチャートである。カメラシステム1は、アクセサリー600を起動するための一連の処理(起動シーケンス)を行う。
(ステップS1、S2)カメラシステム1は、起動シーケンス(ステップS1)において、カメラ10とアクセサリー600との間で通信ができるように準備する一連の処理(通信準備シーケンス)を行う。カメラシステム1は、通信準備シーケンスにおいて、カメラ10にアクセサリー600が装着されているか否かを検出する。カメラシステム1は、カメラ10にアクセサリー600が装着されている場合、アクセサリー600に電力の供給を開始し、また、カメラ10は、アクセサリー600に通信を許可する。
Next, with reference to FIG. 9, a procedure of processing in the camera system will be described.
FIG. 9 is a flowchart showing a processing procedure in the camera system 1 according to the present embodiment. The camera system 1 performs a series of processes (startup sequence) for starting up the accessory 600.
(Steps S1 and S2) The camera system 1 performs a series of processing (communication preparation sequence) for preparing communication between the camera 10 and the accessory 600 in the startup sequence (step S1). The camera system 1 detects whether the accessory 600 is attached to the camera 10 in the communication preparation sequence. When the accessory 600 is attached to the camera 10, the camera system 1 starts supplying power to the accessory 600, and the camera 10 permits the accessory 600 to communicate.

(ステップS3)カメラシステム1は、起動シーケンスにおいて通信準備シーケンスの終了後に、撮像に必要な情報をカメラ制御部170とGPS制御部660との間で相互に通信する一連の処理(初期通信シーケンス)を行う。初期通信シーケンスにおいて、カメラ制御部170は、アクセサリー600が有する機能を示す情報を取得し、取得した情報に基づいて、測位開始要求をGPS制御部660へ送信する。
なお、カメラシステム1は、ステップS2の起動シーケンスに行う以外に、例えば、カメラ10がスリープ状態から復帰後、初期通信シーケンスを行う。また、カメラシステム1は、アクセサリー600の状態が変化した場合等に、アクセサリー600からカメラ10に初期通信シーケンスを行う依頼を行った後、初期通信シーケンスを行う。なお、スリープ状態とは、所定時間ユーザー操作がなかった場合に移行する低消費電力状態である。
(Step S <b> 3) The camera system 1 performs a series of processes for communicating information necessary for imaging between the camera control unit 170 and the GPS control unit 660 (initial communication sequence) after completion of the communication preparation sequence in the startup sequence. I do. In the initial communication sequence, the camera control unit 170 acquires information indicating the function of the accessory 600 and transmits a positioning start request to the GPS control unit 660 based on the acquired information.
Note that the camera system 1 performs an initial communication sequence after the camera 10 returns from the sleep state, for example, in addition to performing the activation sequence in step S2. The camera system 1 performs the initial communication sequence after making a request from the accessory 600 to the camera 10 to perform the initial communication sequence when the state of the accessory 600 is changed. The sleep state is a low power consumption state that shifts when there is no user operation for a predetermined time.

(ステップS4)カメラシステム1は、初期通信シーケンスの終了後に、設定変更等で変化した情報を更新できるように、カメラ制御部170とGPS制御部660との間で相互に通信する一連の処理(定常通信シーケンス)を行う。 (Step S <b> 4) The camera system 1 communicates with each other between the camera control unit 170 and the GPS control unit 660 so that the information changed due to the setting change or the like can be updated after the initial communication sequence ends ( A steady communication sequence).

(ステップS5)カメラ制御部170は、定常通信シーケンスの終了後に、割込要求が有るか否かを判定する判定処理を行う。カメラシステム1は、割込要求が無いとステップS5で判定した場合(ステップS5;No)、ステップS4に戻り、定常通信シーケンスの処理を再度行う。
(ステップS6)カメラシステム1は、割込要求が有るとステップS5で判定した場合(ステップS5;Yes)、割込処理を行う。割込処理は、例えば、撮影シーケンスに含まれる一連の処理である。カメラシステム1は、割込処理の終了後に、定常通信シーケンスの処理を再度行う。すなわち、カメラシステム1は、撮影シーケンスにおいて、定常通信シーケンスの処理を行わない。
(Step S5) The camera control unit 170 performs a determination process for determining whether or not there is an interrupt request after the end of the steady communication sequence. If the camera system 1 determines in step S5 that there is no interrupt request (step S5; No), the camera system 1 returns to step S4 and performs the steady communication sequence again.
(Step S6) If the camera system 1 determines in step S5 that there is an interrupt request (step S5; Yes), it performs an interrupt process. The interrupt process is a series of processes included in the shooting sequence, for example. The camera system 1 performs the process of the steady communication sequence again after the interruption process is completed. That is, the camera system 1 does not perform the steady communication sequence process in the shooting sequence.

次に、図10を参照して、ステップS4(図9)で行う定常通信シーケンスにおける処理の手順について説明する。図10は、本実施形態に係るアクセサリー600における定常通信シーケンスにおける処理の手順を示す図である。
カメラ制御部170は、ステップS104で受信した、アクセサリー初期状態情報に含まれる機能種類情報に基づいて、アクセサリー600がGPS機能を有するか否かを判定する。アクセサリー600が拡張機能を有する場合、以下の定常通信シーケンスを行う。
Next, with reference to FIG. 10, the procedure of the process in the steady communication sequence performed in step S4 (FIG. 9) will be described. FIG. 10 is a diagram illustrating a processing procedure in a steady communication sequence in the accessory 600 according to the present embodiment.
The camera control unit 170 determines whether or not the accessory 600 has a GPS function based on the function type information included in the accessory initial state information received in step S104. When the accessory 600 has an extended function, the following steady communication sequence is performed.

(ステップS201)カメラ制御部170は、撮像中であるか否かを判定する。撮像中であると判定された場合(ステップS5201;Yes)、定常通信シーケンスを終了する。撮像中ではないと判定された場合(ステップS5201;No)、ステップS202に進む。 (Step S201) The camera control unit 170 determines whether or not imaging is being performed. If it is determined that imaging is in progress (step S5201; Yes), the steady communication sequence ends. If it is determined that the imaging is not being performed (step S5201; No), the process proceeds to step S202.

(ステップS202)カメラ制御部170は、第2GPS情報の送信を要求する第2GPS情報送信要求コマンドC5011を、GPS制御部660へ送信する。
(ステップS203)GPS制御部660は、カメラ制御部170からの第2GPS情報送信要求コマンドC5011を受信する。
(ステップS204)GPS制御部660は、第2GPS情報送信要求コマンドC5011に従って、第2GPS情報をカメラ制御部170へ送信する。
(ステップS205)カメラ制御部170は、GPS制御部660からの第2GPS情報を受信する。
(Step S202) The camera control unit 170 transmits a second GPS information transmission request command C5011 for requesting transmission of the second GPS information to the GPS control unit 660.
(Step S203) The GPS control unit 660 receives the second GPS information transmission request command C5011 from the camera control unit 170.
(Step S204) The GPS control unit 660 transmits the second GPS information to the camera control unit 170 in accordance with the second GPS information transmission request command C5011.
(Step S205) The camera control unit 170 receives the second GPS information from the GPS control unit 660.

(ステップS206)カメラ制御部170は、第2GPS情報から「GPSデータ有効/無効」データを抽出する。カメラ制御部170は、「GPSデータ有効/無効」データから第2GPS情報が有効か無効かを示す情報を抽出し、抽出結果に基づき第2GPS情報が有効か否かを判定する。
次に、カメラ制御部170は、判定結果に基づき、第2GPS情報が有効か無効かを示す情報を不揮発性メモリー160、またはバッファメモリー165に書き込んで更新する。
第2GPS情報が有効であると判定した場合(ステップS206;Yes)、ステップS207に進む。第2GPS情報が有効ではないと判定した場合(ステップS206;No)、ステップS208に進む。
(Step S <b> 206) The camera control unit 170 extracts “GPS data valid / invalid” data from the second GPS information. The camera control unit 170 extracts information indicating whether the second GPS information is valid or invalid from the “GPS data valid / invalid” data, and determines whether the second GPS information is valid based on the extraction result.
Next, the camera control unit 170 writes and updates information indicating whether the second GPS information is valid or invalid in the nonvolatile memory 160 or the buffer memory 165 based on the determination result.
When it determines with 2nd GPS information being effective (step S206; Yes), it progresses to step S207. When it determines with 2nd GPS information not being effective (step S206; No), it progresses to step S208.

(ステップS207)第2GPS情報が有効であると判定した場合(ステップS206;Yes)、カメラ制御部170は、カメラ10内のGPSデータ更新処理を行う。カメラ10内のGPSデータ更新処理終了後、第2定常通信シーケンスを終了する。
(ステップS208)第2GPS情報が有効ではないと判定した場合(ステップS206;No)、カメラ制御部170は、第2GPS情報の無効状態が60秒以上継続しているか否かを判定する。第2GPS情報の無効状態が60秒以上継続していると判定した場合(ステップS208;Yes)、ステップS209に進む。第2GPS情報の無効状態が60秒以上継続していない、すなわち60秒以内に第2GPS情報が有効に変化した場合(ステップS208;No)、ステップS5207に進む。
(ステップS209)第2GPS情報の無効状態が60秒以上継続していると判定した場合(ステップS208;Yes)、カメラ制御部170は、カメラ10内のGPSデータの無効処理を行う。カメラ10内のGPSデータの無効処理終了後、定常通信シーケンスは終了される。
(Step S207) When it determines with 2nd GPS information being effective (step S206; Yes), the camera control part 170 performs the GPS data update process in the camera 10. FIG. After the GPS data update process in the camera 10 is finished, the second steady communication sequence is finished.
(Step S208) When it is determined that the second GPS information is not valid (Step S206; No), the camera control unit 170 determines whether or not the invalid state of the second GPS information continues for 60 seconds or more. When it determines with the invalid state of 2nd GPS information continuing for 60 seconds or more (step S208; Yes), it progresses to step S209. If the invalid state of the second GPS information has not continued for 60 seconds or more, that is, if the second GPS information has been effectively changed within 60 seconds (step S208; No), the process proceeds to step S5207.
(Step S209) When it is determined that the invalid state of the second GPS information continues for 60 seconds or more (Step S208; Yes), the camera control unit 170 performs invalidation processing of the GPS data in the camera 10. After the invalidation processing of the GPS data in the camera 10 is finished, the steady communication sequence is finished.

次に、ステップS4(図9)で行う定常通信シーケンスにおけるカメラ10内のGPSデータ更新における処理の手順について説明する。
カメラ制御部170は、「GPSデータ有効/無効」データに基づき、不揮発性メモリー160に記憶されているデータ有効・無効状態データを書き換えて更新する。例えば、第2GPS情報が無効である場合、カメラ制御部170は、データ有効・無効状態データとして“0”を記録する。第2GPS情報が有効である場合、カメラ制御部170は、データ有効・無効状態データとして“1”を記録する。
カメラ制御部170は、第2GPS情報が有効である場合、第2GPS情報から図8を参照して説明した、各データ(「緯度」データ、「経度」データ、「高度」データ、「UTC」データ、「衛星信号」データ、「測位の信頼性」データ、「進行方向」データ、「対地速度」データ、「方位」データ)を抽出し、抽出した各データに基づき、不揮発性メモリー160に記憶されている各データを書き換えて更新する。
Next, a process procedure for updating GPS data in the camera 10 in the steady communication sequence performed in step S4 (FIG. 9) will be described.
The camera control unit 170 rewrites and updates the data valid / invalid state data stored in the nonvolatile memory 160 based on the “GPS data valid / invalid” data. For example, when the second GPS information is invalid, the camera control unit 170 records “0” as the data valid / invalid state data. When the second GPS information is valid, the camera control unit 170 records “1” as data valid / invalid state data.
When the second GPS information is valid, the camera control unit 170 determines each data ("latitude" data, "longitude" data, "altitude" data, "UTC" data) described from the second GPS information with reference to FIG. , “Satellite signal” data, “positioning reliability” data, “traveling direction” data, “ground speed” data, “azimuth” data), and stored in the nonvolatile memory 160 based on the extracted data Rewrite and update each data.

次に、ステップS214(図11)で行う第2GPS情報の無効処理について説明する。
カメラ制御部170は、第2GPS情報の無効状態が60秒以上継続していると判定した場合、撮像された画像データが保存されている画像ファイルに対して、第2GPS情報に基づく情報を書き込まない。また、カメラ10の表示部102に表示する位置情報に関する表示を無効表示にする。なお、無効表示とは、例えば、「――」(ハイフォン)である。
Next, the invalidation process of the second GPS information performed in step S214 (FIG. 11) will be described.
When the camera control unit 170 determines that the invalid state of the second GPS information continues for 60 seconds or more, the camera control unit 170 does not write information based on the second GPS information to the image file in which the captured image data is stored. . Further, the display related to the position information displayed on the display unit 102 of the camera 10 is invalidated. The invalid display is, for example, “—” (Hai Phong).

[第1のデータ送受信処理の説明]
次に、図11及び図12を参照して、アクセサリー600とパソコン等の外部機器とをデータ端子640を介して接続ケーブルで接続した場合の動作について説明する。図11は、パソコンからGPS制御部660へデータを送信する第1のデータ送受信処理の一例を示す図である。接続ケーブルは、例えば、USBケーブルである。図12は、本実施形態に係るカメラ、アクセサリー及びパソコン間の第1のデータ送受信処理の一例を説明する図である。
また、アクセサリー600がカメラ10に装着されているとき、データ端子640を介して接続ケーブルで外部機器が接続された場合、アクセサリー600には、カメラ10から電力が供給される。一方、アクセサリー600がカメラ10から取り外され、データ端子640に接続ケーブル経由で外部機器が接続されている場合、アクセサリー600は、外部機器からデータ端子640を介して電力が供給される。
[Description of First Data Transmission / Reception Processing]
Next, with reference to FIG. 11 and FIG. 12, the operation when the accessory 600 and an external device such as a personal computer are connected via the data terminal 640 with a connection cable will be described. FIG. 11 is a diagram illustrating an example of a first data transmission / reception process for transmitting data from the personal computer to the GPS control unit 660. The connection cable is, for example, a USB cable. FIG. 12 is a diagram illustrating an example of a first data transmission / reception process between the camera, the accessory, and the personal computer according to the present embodiment.
Further, when the accessory 600 is attached to the camera 10, when an external device is connected with a connection cable via the data terminal 640, power is supplied to the accessory 600 from the camera 10. On the other hand, when the accessory 600 is removed from the camera 10 and an external device is connected to the data terminal 640 via a connection cable, the accessory 600 is supplied with power from the external device via the data terminal 640.

アクセサリー600がカメラ10に装着されているとき、データ端子640を介して接続ケーブルで外部機器が接続された場合、アクセサリー600には、カメラ10から電力が供給される。一方、アクセサリー600がカメラ10から取り外され、データ端子640に接続ケーブル経由で外部機器が接続されている場合、アクセサリー600は、外部機器からデータ端子640を介して電力が供給される。   When the accessory 600 is attached to the camera 10, when an external device is connected with a connection cable via the data terminal 640, power is supplied to the accessory 600 from the camera 10. On the other hand, when the accessory 600 is removed from the camera 10 and an external device is connected to the data terminal 640 via a connection cable, the accessory 600 is supplied with power from the external device via the data terminal 640.

(ステップS301)利用者は、アクセサリー600とパソコン(図示せず)とをデータ端子640を介して接続ケーブル(図示せず)で接続する。
(ステップS302)パソコンが接続された場合、GPS制御部660は、パソコンが接続されたことを、例えばデータ端子640の電圧変化に基づき検出する。
(Step S301) The user connects the accessory 600 and a personal computer (not shown) via a data terminal 640 with a connection cable (not shown).
(Step S302) When a personal computer is connected, the GPS control unit 660 detects that the personal computer is connected based on, for example, a voltage change at the data terminal 640.

(ステップS303)時刻t0において、パソコンは、アクセサリー600にデータの送信を開始する。
(ステップS304)GPS制御部660は、パソコンからデータを受信し、受信したデータをバッファメモリー663に記憶させる。なお、パソコンからGPS制御部660に送信するデータは、例えばアシストデータである。なお、アシストデータとは、位置情報の取得に必要な測位衛星の軌道情報で、アクセサリー600に このデータを記憶さえておくことでGPSモジュール部650が位置情報を取得するまでの時間を短くすることができるデータである。この場合、パソコンは、図示しないネットワークを介して、このアシストデータを予め取得する。また、アシストデータの有効期間は、30日程度である。
なお、GPS制御部660は、パソコンから受信したデータがアシストデータの場合、受信したデータを記憶部652aに記憶させるようにしてもよい。
(Step S303) At time t0, the personal computer starts transmitting data to the accessory 600.
(Step S304) The GPS control unit 660 receives data from the personal computer and stores the received data in the buffer memory 663. The data transmitted from the personal computer to the GPS control unit 660 is, for example, assist data. The assist data is the orbit information of the positioning satellite necessary for acquiring the position information. By storing this data in the accessory 600, the time until the GPS module unit 650 acquires the position information is shortened. It is data that can be. In this case, the personal computer acquires the assist data in advance via a network (not shown). Further, the valid period of the assist data is about 30 days.
Note that if the data received from the personal computer is assist data, the GPS control unit 660 may store the received data in the storage unit 652a.

(ステップS305)パソコンは、GPS制御部660へのデータ送信が完了したか判定する。データ送信が完了していないと判定した場合(ステップS305;No)、ステップS303に戻り、パソコンは、GPS制御部660へのデータ送信を継続する。データ送信が完了したと判定した場合(ステップS305;Yes)、パソコンは、アクセサリー600とのデータ通信処理を完了する。 (Step S305) The personal computer determines whether data transmission to the GPS control unit 660 is completed. When it is determined that the data transmission is not completed (step S305; No), the process returns to step S303, and the personal computer continues the data transmission to the GPS control unit 660. When it is determined that the data transmission is completed (step S305; Yes), the personal computer completes the data communication process with the accessory 600.

(ステップS306)時刻t1において、カメラ制御部170は、第2GPSデータ送信要求コマンドC5011を、GPS制御部660へ送信する。
(ステップS307)GPS制御部660は、カメラ制御部170からの第2GPSデータ送信要求コマンドC5011を受信する。
(Step S306) At time t1, the camera control unit 170 transmits the second GPS data transmission request command C5011 to the GPS control unit 660.
(Step S307) The GPS control unit 660 receives the second GPS data transmission request command C5011 from the camera control unit 170.

(ステップS308)GPS制御部660は、パソコンからのデータ受信が完了したか否かを判定する。データ受信が完了したと判定した場合(ステップS308;Yes)、ステップS310に進む。データ受信が完了していないと判定した場合(ステップS308;No)、ステップS304に戻り、パソコンからのデータ受信を継続する。データ受信が完了していないと判定した場合、GPS制御部660は、ステップS307で受信した第2GPSデータ送信要求コマンドC5011に応答せず、例えば、カメラ制御部170に第2GPSデータの送信やコマンドに対する応答を送信しない。 (Step S308) The GPS control unit 660 determines whether or not the data reception from the personal computer is completed. If it is determined that the data reception has been completed (step S308; Yes), the process proceeds to step S310. If it is determined that the data reception has not been completed (step S308; No), the process returns to step S304, and the data reception from the personal computer is continued. If it is determined that the data reception has not been completed, the GPS control unit 660 does not respond to the second GPS data transmission request command C5011 received in step S307. Do not send a response.

(ステップS309)カメラ制御部170は、ステップS306で送信した第2GPSデータ送信要求コマンドC5011への応答が有るか否かを判定する。第2GPSデータ送信要求コマンドC5011への応答が有ると判定した場合(ステップS309;Yes)ステップS311に進む。第2GPSデータ送信要求コマンドC5011への応答が無いと判定した場合(ステップS309;No)、ステップS306に戻る。
カメラ制御部170は、時刻t1において第2GPSデータ送信要求コマンドC5011を送信したことに対する応答がなかった場合(ステップS309;No)、リトライ処理として、時刻t2及びt3において、例えば所定の時間間隔で第2GPSデータ送信要求コマンドC5011をGPS制御部660へ予め定められている回数、送信する。
次に、時刻t2及びt3において、GPS制御部660は、カメラ制御部170からの第2GPSデータ送信要求コマンドC5011を受信する。しかしながら、時刻t2及びt3において、パソコンとのデータ送受信が完了していないため、GPS制御部660は、パソコンとのデータ送受信を継続し、カメラ制御部170へ応答しない。
(Step S309) The camera control unit 170 determines whether or not there is a response to the second GPS data transmission request command C5011 transmitted in step S306. When it is determined that there is a response to the second GPS data transmission request command C5011 (step S309; Yes), the process proceeds to step S311. When it is determined that there is no response to the second GPS data transmission request command C5011 (step S309; No), the process returns to step S306.
When there is no response to the transmission of the second GPS data transmission request command C5011 at time t1 (step S309; No), the camera control unit 170 performs, for example, a predetermined time interval at times t2 and t3 as retry processing. 2GPS data transmission request command C5011 is transmitted to GPS control unit 660 a predetermined number of times.
Next, at times t2 and t3, the GPS control unit 660 receives the second GPS data transmission request command C5011 from the camera control unit 170. However, since the data transmission / reception with the personal computer is not completed at the times t2 and t3, the GPS control unit 660 continues the data transmission / reception with the personal computer and does not respond to the camera control unit 170.

次に、時刻t4において、カメラ制御部170は、リトライ処理として、GPS制御部660へ第2GPSデータ送信要求コマンドC5011を再送信する(ステップS306)。
時刻t4において、GPS制御部660は、カメラ制御部170からの第2GPSデータ送信要求コマンドC5011を受信する。GPS制御部660は、データ受信が完了したか否かを判定する(ステップS307及びS308)。
Next, at time t4, the camera control unit 170 retransmits the second GPS data transmission request command C5011 to the GPS control unit 660 as a retry process (step S306).
At time t4, the GPS control unit 660 receives the second GPS data transmission request command C5011 from the camera control unit 170. The GPS control unit 660 determines whether the data reception is completed (steps S307 and S308).

(ステップS310)データ受信が完了したと判定したため、GPS制御部660は、時刻t4からt5の期間に、カメラ制御部170へ第2GPS情報を送信する。
(ステップS311)時刻t4からt5の期間、カメラ制御部170は、GPS制御部660から第2GPS情報を受信する。
カメラ10とアクセサリー600との間のデータ送受信が完了後、データ通信処理を完了する。
(Step S310) Since it is determined that the data reception has been completed, the GPS control unit 660 transmits the second GPS information to the camera control unit 170 during the period from time t4 to t5.
(Step S311) During the period from time t4 to t5, the camera control unit 170 receives the second GPS information from the GPS control unit 660.
After the data transmission / reception between the camera 10 and the accessory 600 is completed, the data communication process is completed.

なお、図11及び図12を参照して説明した例では、パソコンがGPS制御部660にデータ送信を開始する例を説明したが、これに限られない。例えば、パソコンからGPS制御部660へアシストデータを送信する場合、パソコンは、まずネットワーク経由でアシストデータを取得する。アシストデータ取得後、パソコンはGPS制御部660へ、取得したアシストデータの送信を開始する。このような場合、パソコンとアクセサリー600との間の通信は継続されている状態であり、GPS制御部660は、パソコンとの通信が継続しているときもカメラ制御部170からの第2GPSデータ送信要求コマンドC5011に対して応答しないようにしてもよい。   In the example described with reference to FIGS. 11 and 12, the example in which the personal computer starts data transmission to the GPS control unit 660 has been described. However, the present invention is not limited to this. For example, when transmitting assist data from the personal computer to the GPS control unit 660, the personal computer first obtains assist data via the network. After acquiring the assist data, the personal computer starts transmitting the acquired assist data to the GPS control unit 660. In such a case, communication between the personal computer and the accessory 600 is continued, and the GPS control unit 660 transmits the second GPS data from the camera control unit 170 even when communication with the personal computer is continued. You may make it not respond with respect to request command C5011.

また、図11及び図12において、パソコンからアクセサリー600へデータを送信する例を説明したが、アクセサリー600からパソコンへデータを送信、あるいはパソコンとアクセサリー600との間でデータ送受信を行うようにしてもよい。   11 and 12, the example in which data is transmitted from the personal computer to the accessory 600 has been described. However, data may be transmitted from the accessory 600 to the personal computer, or data may be transmitted and received between the personal computer and the accessory 600. Good.

[第2のデータ送受信処理の説明]
次に、図13及び図14を参照して、アクセサリー600とパソコン等の外部機器とをデータ端子640を介して接続ケーブルで接続した場合の他の動作について説明する。図13は、本実施形態に係るパソコンからGPS制御部660へデータを送信する第2のデータ送受信処理の一例を示す図である。図14は、本実施形態に係るカメラ、アクセサリー及びパソコン間の第2のデータ送受信処理の一例を説明する図である。
図13及び図14の例において、カメラ制御部170は、第2GPSデータ送信要求コマンドC5011をGPS制御部660へ、予め定められている周期で送信する。図11及び図12を参照して説明した例との差異は、カメラ制御部170は、予め定められた回数、第2GPSデータ送信要求コマンドC5011をGPS制御部660へ送信しても応答が無い場合、アクセサリー600に何らかの異常が発生したと判定してGPS制御部660に対して電源オフ処理を行う。このため、GPS制御部660は、カメラ制御部170から第2GPSデータ送信要求コマンドC5011の受信回数(コマンド受信回数)が、予め定められている回数より少ない期間内にパソコンとのデータ送受信を行う。
[Description of Second Data Transmission / Reception Processing]
Next, with reference to FIGS. 13 and 14, another operation when the accessory 600 and an external device such as a personal computer are connected via the data terminal 640 with a connection cable will be described. FIG. 13 is a diagram showing an example of a second data transmission / reception process for transmitting data from the personal computer to the GPS control unit 660 according to the present embodiment. FIG. 14 is a diagram illustrating an example of second data transmission / reception processing between the camera, the accessory, and the personal computer according to the present embodiment.
13 and 14, the camera control unit 170 transmits the second GPS data transmission request command C5011 to the GPS control unit 660 at a predetermined cycle. The difference from the example described with reference to FIGS. 11 and 12 is that the camera control unit 170 does not respond even if the second GPS data transmission request command C5011 is transmitted to the GPS control unit 660 a predetermined number of times. Then, it is determined that some abnormality has occurred in the accessory 600, and the GPS control unit 660 is turned off. For this reason, the GPS control unit 660 performs data transmission / reception with the personal computer within a period in which the number of times of receiving the second GPS data transmission request command C5011 (command reception number) from the camera control unit 170 is smaller than a predetermined number of times.

ステップS401からS404は、図11で説明したステップS301からS304と同様に行い、パソコンは、時刻t0からGPS制御部660との通信を開始し、GPS制御部660にデータ1(第1のデータ)の送信を開始する。   Steps S401 to S404 are performed in the same manner as steps S301 to S304 described with reference to FIG. 11. The personal computer starts communication with the GPS control unit 660 from time t0, and the GPS control unit 660 receives data 1 (first data). Start sending.

(ステップS405)パソコンは、GPS制御部660へのデータ送信が完了したか判定する。データ送信が完了していないと判定した場合(ステップS405;No)、ステップS414に進む。データ送信が完了したと判定した場合(ステップS405;Yes)、パソコンは、アクセサリー600とのデータ通信処理を完了する。 (Step S405) The personal computer determines whether data transmission to the GPS control unit 660 is completed. When it is determined that the data transmission is not completed (step S405; No), the process proceeds to step S414. When it is determined that the data transmission is completed (step S405; Yes), the personal computer completes the data communication process with the accessory 600.

(ステップS406)時刻t101において、カメラ制御部170は、第2GPSデータ送信要求コマンドC5011を、GPS制御部660へ送信する。
(ステップS407)GPS制御部660は、カメラ制御部170からの第2GPSデータ送信要求コマンドC5011を受信する。
(Step S406) At time t101, the camera control unit 170 transmits a second GPS data transmission request command C5011 to the GPS control unit 660.
(Step S407) The GPS control unit 660 receives the second GPS data transmission request command C5011 from the camera control unit 170.

(ステップS408)第2GPSデータ送信要求コマンドC5011を受信後、GPS制御部660は、パソコンからのデータ受信が完了したか否かを判定する。データ受信が完了したと判定した場合(ステップS408;Yes)、ステップS417に進む。データ受信が完了していないと判定した場合(ステップS408;No)、ステップS409に進む。 (Step S408) After receiving the second GPS data transmission request command C5011, the GPS control unit 660 determines whether or not the data reception from the personal computer is completed. When it is determined that the data reception is completed (step S408; Yes), the process proceeds to step S417. If it is determined that the data reception has not been completed (step S408; No), the process proceeds to step S409.

(ステップS409)GPS制御部660は、コマンド受信回数をカウントする。図14に示したように、時刻t101において、コマンド受信回数は1回である。
(ステップS410)GPS制御部660は、コマンド受信回数がn回以上であるか否かを判定する。コマンド受信回数がn回以上であると判定した場合(ステップS410;Yes)、ステップS413に進む。コマンド受信回数がn回以上ではないと判定した場合(ステップS410;No)、ステップS404に戻り、ステップS404からS410を繰り返す。
(Step S409) The GPS control unit 660 counts the number of command receptions. As shown in FIG. 14, the command reception count is one at time t101.
(Step S410) The GPS control unit 660 determines whether the number of command receptions is n or more. If it is determined that the number of command receptions is n or more (step S410; Yes), the process proceeds to step S413. If it is determined that the number of command receptions is not n or more (step S410; No), the process returns to step S404, and steps S404 to S410 are repeated.

(ステップS411)カメラ制御部170は、ステップS406で送信した第2GPSデータ送信要求コマンドC5011への応答が有るか否かを判定する。第2GPSデータ送信要求コマンドC5011への応答が有ると判定した場合(ステップS411;Yes)ステップS418に進む。第2GPSデータ送信要求コマンドC5011への応答が無いと判定した場合(ステップS411;No)、ステップS412に進む。 (Step S411) The camera control unit 170 determines whether or not there is a response to the second GPS data transmission request command C5011 transmitted in step S406. When it is determined that there is a response to the second GPS data transmission request command C5011 (step S411; Yes), the process proceeds to step S418. If it is determined that there is no response to the second GPS data transmission request command C5011 (step S411; No), the process proceeds to step S412.

(ステップS412)カメラ制御部170は、GPS制御部170に第2GPSデータ送信要求コマンドC5011の送信回数(コマンド送信回数)がn回より大きいか否かを判定する。コマンド送信回数がn回より大きくないと判定した場合(ステップS412;No)、ステップS406に戻り、第2GPSデータ送信要求コマンドC5011をGPS制御部660へ予め定められている周期で送信し続ける(時刻t102及びt103)。
コマンド送信回数がn回より大きいと判定した場合(ステップS412;Yes)、ステップS421に進む。
(Step S412) The camera control unit 170 determines whether or not the number of transmissions (command transmission times) of the second GPS data transmission request command C5011 to the GPS control unit 170 is greater than n times. If it is determined that the number of command transmissions is not greater than n (step S412; No), the process returns to step S406, and the second GPS data transmission request command C5011 is continuously transmitted to the GPS control unit 660 at a predetermined period (time). t102 and t103).
If it is determined that the number of command transmissions is greater than n (step S412; Yes), the process proceeds to step S421.

(ステップS413)コマンド受信回数がn回以上であると判定した場合、例えば図14の時刻t103において、GPS制御部660は、データ送信の一時停止要求コマンドをパソコンへ送信する。
(ステップS414)パソコンは、GPS制御部660からのデータ送信一時停止要求コマンドが送信されてきたか否かを判定する。データ送信一時停止要求コマンドが送信されてきたと判定した場合(ステップS414;Yes)、パソコンは、GPS制御部660からのデータ送信一時停止要求コマンドを受信し、ステップS415に進む。データ送信一時停止要求コマンドが送信されてきていないと判定した場合(ステップS414;No)、ステップS403に戻り、GPS制御部660との通信を継続する。
(ステップS415)パソコンは、受信したデータ送信一時停止要求コマンドに従って、GPS制御部660へデータ1の送信を一時停止する。
(Step S413) If it is determined that the number of command receptions is n or more, for example, at time t103 in FIG. 14, the GPS control unit 660 transmits a data transmission pause request command to the personal computer.
(Step S414) The personal computer determines whether or not a data transmission suspension request command from the GPS control unit 660 has been transmitted. When it is determined that the data transmission pause request command has been transmitted (step S414; Yes), the personal computer receives the data transmission pause request command from the GPS control unit 660, and proceeds to step S415. When it is determined that the data transmission pause request command has not been transmitted (step S414; No), the process returns to step S403, and communication with the GPS control unit 660 is continued.
(Step S415) The personal computer temporarily stops transmission of data 1 to the GPS control unit 660 in accordance with the received data transmission pause request command.

(ステップS416)データ送信一時停止要求コマンドを送信後、時刻t103からt104の期間に、GPS制御部660は、第2GPS情報(第2のデータ)をカメラ制御部170に送信する。
(ステップS417)時刻t103からt104の期間、カメラ制御部170は、GPS制御部660から第2GPS情報を受信する。
カメラ10とアクセサリー600との間のデータ送受信が完了後、データ通信処理を完了する。
(Step S416) After transmitting the data transmission pause request command, the GPS control unit 660 transmits the second GPS information (second data) to the camera control unit 170 during the period from time t103 to t104.
(Step S417) During the period from time t103 to t104, the camera control unit 170 receives the second GPS information from the GPS control unit 660.
After the data transmission / reception between the camera 10 and the accessory 600 is completed, the data communication process is completed.

(ステップS418)時刻t104において、カメラ制御部170への第2GPS情報送信後、GPS制御部660は、データ送信再開要求コマンドをパソコンへ送信する。
(ステップS419)パソコンは、GPS制御部660からのデータ送信再開要求コマンドを受信する。パソコンは、受信したデータ送信再開要求コマンドに従って、ステップS403に戻り、残りのデータ2をGPS制御部660への送信を再開する。
図14に示した例では、パソコンは、データ2を時刻105からt106の期間、GPS制御部660へ送信する。このため、GPS制御部660は、時刻t105において、カメラ制御部170から受信した第2GPSデータ送信要求コマンドC5011に対して応答しないで、パソコンとのデータ送受信を継続する。
(Step S418) At time t104, after transmitting the second GPS information to the camera control unit 170, the GPS control unit 660 transmits a data transmission resumption request command to the personal computer.
(Step S419) The personal computer receives the data transmission resumption request command from the GPS control unit 660. The personal computer returns to step S403 in accordance with the received data transmission resumption request command, and resumes transmission of the remaining data 2 to the GPS control unit 660.
In the example illustrated in FIG. 14, the personal computer transmits data 2 to the GPS control unit 660 during a period from time 105 to t106. Therefore, the GPS control unit 660 does not respond to the second GPS data transmission request command C5011 received from the camera control unit 170 at time t105, and continues data transmission / reception with the personal computer.

(ステップS420)ステップS412において、コマンド送信回数がn回より大きいと判定した場合、カメラ制御部170は、アクセサリー600に何らかの異常が発生したと判定してGPS制御部660に対して電源オフ処理を行う。 (Step S420) If it is determined in step S412 that the number of command transmissions is greater than n, the camera control unit 170 determines that some abnormality has occurred in the accessory 600 and performs a power-off process on the GPS control unit 660. Do.

また、図13及び図14において、パソコンからアクセサリー600へデータを送信する例を説明したが、アクセサリー600からパソコンへデータを送信、あるいはパソコンとアクセサリー600との間でデータ送受信を行うようにしてもよい。この場合においても、GPS制御部660は、カメラ制御部170から第2GPSデータ送信要求コマンドC5011を受信した場合、予め定められているコマンド受信回数以内にパソコンとのデータ送受信を行い、データ送受信後に第2GPS情報をカメラ制御部170へ送信する。
なお、カメラ制御部170からGPS制御部660へ送信するコマンドとして第2GPSデータ送信要求コマンドC5011を例に説明したが、これに限られず他のコマンドでもよい。他のコマンドを受信した場合であっても、GPS制御部660は、予め定められているコマンド受信回数以内にパソコンとのデータ送受信を行い、データ送受信後にコマンドに応じた応答をカメラ制御部170へ送信するようにしてもよい。なお、予め定められているコマンド受信回数は、コマンド毎に異なる回数であっても、同じ回数であってもよい。
13 and 14, the example in which data is transmitted from the personal computer to the accessory 600 has been described. However, data may be transmitted from the accessory 600 to the personal computer, or data may be transmitted and received between the personal computer and the accessory 600. Good. Also in this case, when the GPS control unit 660 receives the second GPS data transmission request command C5011 from the camera control unit 170, the GPS control unit 660 performs data transmission / reception with the personal computer within the predetermined number of command receptions, and after data transmission / reception, 2GPS information is transmitted to the camera control unit 170.
Although the second GPS data transmission request command C5011 has been described as an example of a command to be transmitted from the camera control unit 170 to the GPS control unit 660, the present invention is not limited to this, and other commands may be used. Even when another command is received, the GPS control unit 660 performs data transmission / reception with the personal computer within a predetermined number of command receptions, and sends a response according to the command to the camera control unit 170 after the data transmission / reception. You may make it transmit. The predetermined number of command receptions may be different for each command or the same number.

図11〜図14を参照して説明したように、アクセサリー600は、データ端子640を備えている。アクセサリー600のデータ端子640に接続ケーブルが接され、アクセサリー600がパソコンとの通信を行っている場合、パソコンは、アシストデータをアクセサリー600に送信、または書き込むことができる。
また、アクセサリー600は、データ端子640に接続ケーブルが接され、パソコンとの通信が行われている場合、カメラ10から送信されるコマンドに対して応答せず、第2GPS情報を送信しない。従って、パソコンとアクセサリー600との間で迅速にデータ送受信ができる。
この結果、GPS制御部660は、アシストデータを用いて、測位衛星からの受信データを受信することができるので、スリープ解除後や電源供給開始後に行う測位にかかる時間を短くできる。また、測位にかかる時間を短くできるため、アクセサリー600の消費電力を削減することができる。また、ネットワークから取得したアシストデータによっては、衛星軌道のデータの有効期間が最大で7日程度にできるため、測位衛星から航法メッセージを取得して更新する間隔を長くできる。
As described with reference to FIGS. 11 to 14, the accessory 600 includes the data terminal 640. When the connection cable is connected to the data terminal 640 of the accessory 600 and the accessory 600 is communicating with the personal computer, the personal computer can transmit or write assist data to the accessory 600.
Further, when the connection cable is connected to the data terminal 640 and communication with the personal computer is performed, the accessory 600 does not respond to the command transmitted from the camera 10 and does not transmit the second GPS information. Therefore, data can be quickly transmitted and received between the personal computer and the accessory 600.
As a result, the GPS control unit 660 can receive the received data from the positioning satellite using the assist data, so that it is possible to shorten the time required for positioning after the sleep release or after the power supply is started. Moreover, since the time required for positioning can be shortened, the power consumption of the accessory 600 can be reduced. Also, depending on the assist data acquired from the network, the effective period of the satellite orbit data can be about 7 days at the maximum, so that the interval for acquiring and updating the navigation message from the positioning satellite can be extended.

さらに、図13及び図14を参照して説明したように、カメラ制御部170から送信されるコマンドが、予め定められている回数、アクセサリー600へ再送信される場合、GPS制御部660は、この予め定められている回数より少ないコマンドが再送信されている期間内にパソコンとのデータ送受信を行う。
また、GPS制御部660は、カメラ制御部170のコマンド送信のリトライ処理期間内に、パソコンとのデータ送受信を行い、データ送受信中は、カメラ制御部170からのコマンドに応答しない。そして、カメラ制御部170のコマンド送信のリトライ処理期間内にパソコンとのデータ送受信が完了しない場合、GPS制御部660は、一度、パソコンとのデータ送受信を停止するコマンドをパソコンへ送信した後、第2GPS情報をカメラ制御部170へ送信する。
この結果、GPS制御部660は、カメラ制御部170からのコマンドのリトライ処理期間内にパソコンとのデータ送受信を行うことができる。
Furthermore, as described with reference to FIGS. 13 and 14, when the command transmitted from the camera control unit 170 is retransmitted to the accessory 600 a predetermined number of times, the GPS control unit 660 Data transmission / reception with a personal computer is performed within a period in which commands less than a predetermined number of times are retransmitted.
In addition, the GPS control unit 660 performs data transmission / reception with the personal computer during the command transmission retry processing period of the camera control unit 170, and does not respond to a command from the camera control unit 170 during the data transmission / reception. If the data transmission / reception with the personal computer is not completed within the command transmission retry processing period of the camera control unit 170, the GPS control unit 660 once transmits a command for stopping the data transmission / reception with the personal computer to the personal computer. 2GPS information is transmitted to the camera control unit 170.
As a result, the GPS control unit 660 can perform data transmission / reception with the personal computer within the retry processing period of the command from the camera control unit 170.

次に、図11〜図14を参照して説明したGPS制御部660とパソコンとの間で送受されるデータの他の使用例を説明する。
パソコンは、GPS制御部660から測位データを受信する。測位データ受信後、パソコンは、例えばネットワーク経由で、測位データに基づく地図の画像データを取得し、取得した地図の画像データをGPS制御部660に送信する。
GPS制御部660は、パソコンから地図の画像データを受信し、受信した地図の画像データを記憶されている測位データと合わせて、図示しないアクセサリー600の表示部に表示する。または、GPS制御部660は、パソコンから受信した地図の画像データを第2GPS情報に付加してカメラ制御部170に送信する。カメラ制御部170は、受信した第2GPS情報及び地図の画像データに基づき画像データを生成し、生成した画像データを表示部102に表示させる。カメラ制御部170が生成する画像データは、例えば、地図の画像上に第2GPS情報に基づく測位データを文字情報として合成したものである。
上述したように、アクセサリー600とパソコンとの間で送受信したデータを用いることで、さらにカメラシステム1の利便性を向上できる。
Next, another usage example of data transmitted and received between the GPS control unit 660 and the personal computer described with reference to FIGS. 11 to 14 will be described.
The personal computer receives positioning data from the GPS control unit 660. After receiving the positioning data, the personal computer acquires map image data based on the positioning data, for example, via a network, and transmits the acquired map image data to the GPS control unit 660.
The GPS control unit 660 receives map image data from the personal computer, and displays the received map image data on the display unit of the accessory 600 (not shown) together with the stored positioning data. Alternatively, the GPS control unit 660 adds the map image data received from the personal computer to the second GPS information and transmits it to the camera control unit 170. The camera control unit 170 generates image data based on the received second GPS information and map image data, and causes the display unit 102 to display the generated image data. The image data generated by the camera control unit 170 is, for example, obtained by combining positioning data based on the second GPS information as character information on a map image.
As described above, the convenience of the camera system 1 can be further improved by using data transmitted and received between the accessory 600 and the personal computer.

なお、図11から図14を参照して説明した例において、パソコンとGPS制御部660との間で送受信するデータの容量は、例えば、予め定められた容量毎にデータを送信する。すなわち、例えば、パソコンは、GPS制御部660に送信するデータの容量が予め定められた容量より大きい場合、予め定められている容量に送信データを分けて、GPS制御部660へ送信するようにしてもよい。   In the example described with reference to FIG. 11 to FIG. 14, the capacity of data transmitted and received between the personal computer and the GPS control unit 660 is, for example, transmitted for each predetermined capacity. That is, for example, if the capacity of data to be transmitted to the GPS control unit 660 is larger than a predetermined capacity, the personal computer divides the transmission data into a predetermined capacity and transmits the data to the GPS control unit 660. Also good.

また、図11から図14に示したパソコンとアクセサリー600との間のデータ送受信が行われている期間、GPS制御部660は、GPSモジュール部650に対して、測位を停止させるように制御してもよい。   In addition, the GPS control unit 660 controls the GPS module unit 650 to stop positioning during a period in which data transmission / reception is performed between the personal computer and the accessory 600 illustrated in FIGS. 11 to 14. Also good.

なお、本発明の技術範囲は上記の実施形態に限定されるものではない。上記の実施形態で説明した要件のうち少なくとも1つの要件は、省略される場合がある。上記の実施形態で説明した各要件は、適宜、組み合わせることができる。   The technical scope of the present invention is not limited to the above embodiment. At least one of the requirements described in the above embodiments may be omitted. The requirements described in the above embodiments can be combined as appropriate.

なお、上述のカメラボディ100とアクセサリー600は、内部にコンピュータシステムを有している。そして、各機能部の動作の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータシステムが読み出して実行することによって、上記処理が行われる。ここでいうコンピュータシステムとは、CPU及び各種メモリーやOS、周辺機器等のハードウェアを含むものである。   The camera body 100 and the accessory 600 described above have a computer system inside. The operation process of each functional unit is stored in a computer-readable recording medium in the form of a program, and the above processing is performed by the computer system reading and executing the program. Here, the computer system includes a CPU, various memories, an OS, and hardware such as peripheral devices.

また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリーのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。 Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, it also includes those that hold a program for a certain period of time, such as a volatile memory inside a computer system serving as a server or client in that case. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

1・・・カメラシステム、10・・・カメラ、15・・・シュー座(アクセサリーシュー)、25・・・端子部、160・・・不揮発性メモリー、165・・・バッファメモリー、Tp1・・・接地端子、Tp2・・・接地端子、Tp3・・・基準電位端子、Tp4・・・同期信号端子、Tp5・・・基準電位端子、Tp6・・・通信信号端子、Tp7・・・起動検出レベル端子、Tp8・・・発光制御信号端子、Tp9・・・通信制御信号端子、Tp10・・・オープン端子、Tp11・・・電源端子、Tp12・・・電源端子、Ts1・・・接地端子、Ts2・・・接地端子、Ts3・・・基準電位端子、Ts4・・・同期信号端子、Ts5・・・基準電位端子、Ts6・・・通信信号端子、Ts7・・・起動状態提供端子、Ts8・・・発光制御信号端子、Ts9・・・通信制御信号端子、Ts10・・・オープン端子、Ts11・・・電源端子、Ts12・・・電源端子、CLK・・・同期信号、DET・・・起動検出レベル、DATA・・・通信信号、PWR・・・電力、PGND・・・基準電位、SGND・・・基準電位、
34・・・計時部、600・・・アクセサリー、623・・・端子部(第2情報通信部)、630・・・操作部、635・・・LED、640・・・データ端子(第1情報通信部)、650・・・GPSモジュール部(測位部)、660・・・GPS制御部(アクセサリー制御部)、663・・・バッファメモリー(第1記憶部、第2記憶部)、664・・・充電部、665・・・2次電池、651・・・アンテナ、652・・・GPS演算部、652a・・・記憶部、653・・・RTC
DESCRIPTION OF SYMBOLS 1 ... Camera system, 10 ... Camera, 15 ... Shoe seat (accessory shoe), 25 ... Terminal part, 160 ... Nonvolatile memory, 165 ... Buffer memory, Tp1 ... Ground terminal, Tp2 ... ground terminal, Tp3 ... reference potential terminal, Tp4 ... synchronization signal terminal, Tp5 ... reference potential terminal, Tp6 ... communication signal terminal, Tp7 ... start detection level terminal , Tp8 ... light emission control signal terminal, Tp9 ... communication control signal terminal, Tp10 ... open terminal, Tp11 ... power supply terminal, Tp12 ... power supply terminal, Ts1 ... ground terminal, Ts2 ... Ground terminal, Ts3: reference potential terminal, Ts4: synchronization signal terminal, Ts5: reference potential terminal, Ts6: communication signal terminal, Ts7: start state providing terminal, Ts8,. Light emission control signal terminal, Ts9 ... communication control signal terminal, Ts10 ... open terminal, Ts11 ... power supply terminal, Ts12 ... power supply terminal, CLK ... synchronization signal, DET ... start detection level, DATA: Communication signal, PWR: Power, PGND: Reference potential, SGND: Reference potential,
34 ... Timekeeping unit, 600 ... Accessory, 623 ... Terminal unit (second information communication unit), 630 ... Operating unit, 635 ... LED, 640 ... Data terminal (first information) Communication unit), 650... GPS module unit (positioning unit), 660... GPS control unit (accessory control unit), 663... Buffer memory (first storage unit, second storage unit), 664. -Charging part, 665 ... secondary battery, 651 ... antenna, 652 ... GPS calculation part, 652a ... storage part, 653 ... RTC

Claims (11)

外部機器と情報通信が可能な第1情報通信部と、
カメラと情報通信が可能な第2情報通信部と、
制御部と、
を備え、
前記制御部は、
前記カメラから受信する予め定められているデータの受信回数をカウントし、当該カウントしたデータの受信回数が予め定められている回数より少ない場合、前記カメラへの予め定められているデータの送信よりも前記外部機器との間におけるデータの送信または受信を優先して行う
クセサリー。
A first information communication unit capable of information communication with an external device;
A second information communication unit capable of information communication with the camera;
A control unit;
With
The controller is
Count the number of times of reception of predetermined data received from the camera, and if the number of times of reception of the counted data is less than the predetermined number of times, than the transmission of the predetermined data to the camera Prioritize data transmission or reception with the external device
A Kusesari.
前記制御部は、
前記外部機器との間におけるデータの送信または受信が完了した後、前記カメラへの予め定められているデータを送信する
求項1に記載のアクセサリー。
The controller is
After data transmission or reception with the external device is completed, predetermined data is transmitted to the camera.
Accessories described in Motomeko 1.
前記制御部は、
前記カウントしたデータの受信回数が予め定められている回数以上の場合、前記カメラからの予め定められているデータを送信または受信する
求項1又は請求項2に記載のアクセサリー。
The controller is
When the counted number of times of receiving the data is equal to or greater than a predetermined number, the predetermined data from the camera is transmitted or received .
Motomeko 1 or accessory according to claim 2.
前記制御部は、
前記カウントしたデータの受信回数が予め定められている回数以上の場合、前記外部機器との通信を一時停止する要求を前記外部機器に送信する
求項1から請求項3のいずれか1項に記載のアクセサリー。
The controller is
When the number of times the counted data is received is equal to or greater than a predetermined number, a request to temporarily stop communication with the external device is transmitted to the external device.
Accessories as set forth Motomeko 1 to any one of claims 3.
前記外部機器との間で送信または受信が行われる第1のデータの大きさは、
前記第2情報通信部と前記カメラとの間で行われる通信期間内に送受信できる大きさである
求項1から請求項のいずれか1項に記載のアクセサリー。
The size of the first data to be transmitted or received with the external device is:
It is the magnitude | size which can be transmitted / received within the communication period performed between the said 2nd information communication part and the said camera.
Accessories as set forth Motomeko 1 to any one of claims 4.
第2のデータを記憶している第1記憶部
を備え、
前記カメラから受信する予め定められているデータは、
前記第1記憶部に記憶されている前記第2のデータを前記カメラへ送信させる送信要求である
求項1から請求項のいずれか1項に記載のアクセサリー。
A first storage unit storing second data;
The predetermined data received from the camera is
A transmission request for causing the camera to transmit the second data stored in the first storage unit
Accessories as set forth Motomeko 1 to any one of claims 5.
測位を行う測位部、
を備え、
前記制御部は、
前記外部機器から受信した情報を第2記憶部に記憶させ、
前記記憶させた情報が、測位に関するデータである場合、前記第2記憶部に記憶させた情報に基づいて前記測位部に測位を行わせるように制御する
求項1から請求項のいずれか1項に記載のアクセサリー。
A positioning unit that performs positioning,
With
The controller is
Storing the information received from the external device in the second storage unit;
When the stored information is data related to positioning, control is performed to cause the positioning unit to perform positioning based on the information stored in the second storage unit.
Accessories as set forth Motomeko 1 to any one of claims 6.
前記制御部は、
前記第1情報通信部と前記外部機器との間で通信を行っている場合、前記測位部による測位を禁止する
求項に記載のアクセサリー。
The controller is
When communication is performed between the first information communication unit and the external device, positioning by the positioning unit is prohibited.
Accessories described in Motomeko 7.
前記カメラから前記第2情報通信部を介して電力が供給される
求項1から請求項のいずれか1項に記載のアクセサリー。
Electric power is supplied from the camera via the second information communication unit.
Accessories as set forth Motomeko 1 to any one of claims 8.
前記外部機器から前記第1情報通信部を介して電力が供給される
求項1から請求項のいずれか1項に記載のアクセサリー。
Power is supplied from the external device via the first information communication unit.
Accessories as set forth Motomeko 1 to any one of claims 9.
外部機器と情報通信が可能な第1情報通信部と、制御部と、カメラと情報通信が可能な第2情報通信部と、を有するアクセサリーの制御をコンピュータに実行させるためのプログラムであり、
前記カメラから受信する予め定められているデータの受信回数をカウントし、当該カウントしたデータの受信回数が予め定められている回数より少ない場合、前記カメラへの予め定められているデータの送信よりも、前記外部機器との間でのデータの送信または受信を行う手順
をコンピュータに実行させるためのアクセサリー制御プログラム。
A program for causing a computer to control an accessory having a first information communication unit capable of information communication with an external device, a control unit, and a second information communication unit capable of information communication with a camera,
Count the number of times of reception of predetermined data received from the camera, and if the number of times of reception of the counted data is less than the predetermined number of times, than the transmission of the predetermined data to the camera An accessory control program for causing a computer to execute a procedure for transmitting or receiving data to or from the external device.
JP2011203307A 2011-09-16 2011-09-16 Accessories and accessory control program Active JP5842494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011203307A JP5842494B2 (en) 2011-09-16 2011-09-16 Accessories and accessory control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011203307A JP5842494B2 (en) 2011-09-16 2011-09-16 Accessories and accessory control program

Publications (2)

Publication Number Publication Date
JP2013066044A JP2013066044A (en) 2013-04-11
JP5842494B2 true JP5842494B2 (en) 2016-01-13

Family

ID=48189152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011203307A Active JP5842494B2 (en) 2011-09-16 2011-09-16 Accessories and accessory control program

Country Status (1)

Country Link
JP (1) JP5842494B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3405484B2 (en) * 1994-12-16 2003-05-12 オリンパス光学工業株式会社 Adapter device
JP2003153064A (en) * 2001-11-15 2003-05-23 Canon Inc Camera system, accessory, and equipment system
JP2003337374A (en) * 2002-05-22 2003-11-28 Canon Inc Accessory of camera, camera, flash device and camera system
JP5181416B2 (en) * 2005-10-07 2013-04-10 株式会社ニコン Projection device
JP4973270B2 (en) * 2007-03-27 2012-07-11 株式会社ニコン Camera accessory equipment and camera system
JP2009159118A (en) * 2007-12-25 2009-07-16 Sony Corp Camera apparatus

Also Published As

Publication number Publication date
JP2013066044A (en) 2013-04-11

Similar Documents

Publication Publication Date Title
WO2013011988A1 (en) Accessory, camera, method for controlling accessory, accessory control program, and camera control program
US9596390B2 (en) Imaging apparatus, imaging method, and computer-readable recording medium
US20130028586A1 (en) Camera system, accessory, camera, camera system control program, accessory control program, and camera control program
JP5750862B2 (en) Positioning device, positioning method and program
JP2013048404A (en) Camera system, accessory, camera, camera system control program, accessory control program, and camera control program
KR20120035886A (en) Information display apparatus, information display method, and storage medium
US20210278687A1 (en) Stabilizing device, imaging device, photographic system, stabilizing method, photographic method, and recording medium storing a program
JP2019039851A (en) Photogrammetry system and photogrammetry method
JP2011135404A (en) Information acquisition device, position information storage method and program
JP2018128392A (en) Survey system
JP5842494B2 (en) Accessories and accessory control program
JP5479148B2 (en) Imaging device
US20230314136A1 (en) Method and device for orienting
CN112995524A (en) High-precision acquisition vehicle, and photo exposure information generation system, method and synchronization device thereof
JP5704872B2 (en) Display device
JP6222170B2 (en) Imaging device
JP2016017973A (en) Imaging device
JP6057142B2 (en) Imaging apparatus, control method thereof, and program
JP2013025198A (en) Accessory and accessory control program
JP2013025197A (en) Accessory, camera, accessory control program, and camera control program
JPH10221752A (en) Image pickup device, digital still camera and pc card
JP6583340B2 (en) Electronic device, camera, electronic device control program, and camera control program
JP2015062043A (en) Camera body and interchangeable lens
JP2012227717A (en) Display device, display program, and display method
JP2012181473A (en) Image projection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140910

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150728

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150928

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20151020

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151102

R150 Certificate of patent or registration of utility model

Ref document number: 5842494

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250