JP2015045580A - Electronic apparatus - Google Patents

Electronic apparatus Download PDF

Info

Publication number
JP2015045580A
JP2015045580A JP2013177110A JP2013177110A JP2015045580A JP 2015045580 A JP2015045580 A JP 2015045580A JP 2013177110 A JP2013177110 A JP 2013177110A JP 2013177110 A JP2013177110 A JP 2013177110A JP 2015045580 A JP2015045580 A JP 2015045580A
Authority
JP
Japan
Prior art keywords
time
unit
gps
gps module
reference time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013177110A
Other languages
Japanese (ja)
Inventor
佑亮 井手
Yusuke Ide
佑亮 井手
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 JP2013177110A priority Critical patent/JP2015045580A/en
Publication of JP2015045580A publication Critical patent/JP2015045580A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic apparatus which can acquire time information for a GPS module while saving power.SOLUTION: An electronic apparatus 10 comprises: a communication unit 112 which communicates with a position measurement unit 113 that acquires position information and time information on the basis of signals from satellites 30A to 30D; a clocking unit 112 which clocks the current time; a time calculation unit 112 which calculates the reference time on the basis of the time information received from the position measurement unit 113 via the communication unit 112 and clocking information clocked by the clocking unit 112; and a control unit 112 which controls the communication unit 112, the clocking unit 112 and the time calculation unit 112 so as to receive the time information via the position measurement unit 113 at first timing, calculate the reference time at second timing and output the reference time to the position measurement unit 113.

Description

本発明は、電子機器に関する。   The present invention relates to an electronic device.

GPS衛星を利用する測位には、GPS衛星からの電波を受信するGPSモジュール側にも時刻情報が必要とされる。このため、GPSモジュールを備える電子機器の電源スイッチがオフされ、GPSモジュールへの電源供給が停止されても計時を行えるように、GPSモジュール用のタイマ回路へ常に電源供給を行う点が開示されている(特許文献1参照)。   For positioning using a GPS satellite, time information is also required on the side of the GPS module that receives radio waves from the GPS satellite. Therefore, it is disclosed that power is always supplied to the timer circuit for the GPS module so that the time can be measured even when the power switch of the electronic device including the GPS module is turned off and the power supply to the GPS module is stopped. (See Patent Document 1).

特開2012−154872号公報JP 2012-154872 A

しかしながら、電子機器においてGPSモジュール用のタイマ回路へ常時電源供給することは、省電力の点で改善の余地があった。   However, there is room for improvement in terms of power saving to constantly supply power to the timer circuit for the GPS module in the electronic device.

本発明による電子機器は、衛星からの信号に基づいて位置情報および時刻情報を取得する位置測定ユニットと通信する通信部と、計時する計時部と、通信部を介して位置測定ユニットから入力された時刻情報、および計時部により計時された計時情報に基づいて、基準時刻を算出する時刻算出部と、第1のタイミングで位置測定ユニットから時刻情報を入力し、第2のタイミングで基準時刻の算出および位置測定ユニットへ基準時刻の出力をするように、通信部、計時部および時刻算出部をそれぞれ制御する制御部と、を備えることを特徴とする。   An electronic device according to the present invention is input from a position measurement unit via a communication unit that communicates with a position measurement unit that acquires position information and time information based on a signal from a satellite, a timer unit that measures time, and a communication unit. Based on the time information and the time information measured by the time measuring unit, the time calculation unit that calculates the reference time, and the time information from the position measurement unit at the first timing are input, and the reference time is calculated at the second timing. And a control unit for controlling the communication unit, the time measuring unit, and the time calculating unit so as to output the reference time to the position measuring unit.

本発明による電子機器では、GPSモジュール用の時刻情報の取得と省電力とを両立できる。   The electronic device according to the present invention can achieve both acquisition of time information for the GPS module and power saving.

デジタルカメラの要部構成を例示するブロック図である。It is a block diagram which illustrates the principal part structure of a digital camera. GPSモジュールによる測位の流れを説明するフローチャートである。It is a flowchart explaining the flow of the positioning by a GPS module.

以下、図面を参照して本発明を実施するための形態について説明する。
<GPS測位の概要>
GPS衛星を利用する測位は、距離測定をベースに行われる。一般に、GPSモジュールは、GPS衛星から送信されているGPS衛星の正確な位置および時刻をのせた信号を受信し、その信号がGPS衛星からGPSモジュールへ到達するまでの時間(信号伝播時間)を測定する。この信号伝播時間と伝播速度(=光速)との積をとることで、GPS衛星からGPSモジュールまでの距離が算出される。
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
<Outline of GPS positioning>
Positioning using a GPS satellite is performed based on distance measurement. In general, the GPS module receives a signal with the exact position and time of the GPS satellite transmitted from the GPS satellite, and measures the time (signal propagation time) until the signal reaches the GPS module from the GPS satellite. To do. The distance from the GPS satellite to the GPS module is calculated by taking the product of the signal propagation time and the propagation speed (= light speed).

GPSモジュールの位置は、GPS衛星の位置を中心とする半径が測定距離の球面上にあると考えてよいことから、3機のGPS衛星についてそれぞれ距離測定を行うと、3個の球面の交わりとしてGPSモジュールの位置が求められる。上記距離測定においては、信号伝播時間を正確に測るため、GPS衛星に搭載されている原子時計と同程度の正確な時刻情報が必要とされる。しかしながら、GPSモジュールに原子時計を備えることは非現実的であることから、GPSモジュールに低精度の時計を備え、GPSモジュールの時計とGPS衛星の原子時計との間の時刻差を演算で求める手法が採用される。   Since the position of the GPS module may be considered that the radius centered on the position of the GPS satellite is on the spherical surface of the measurement distance, when distance measurement is performed for each of the three GPS satellites, the intersection of the three spherical surfaces The position of the GPS module is determined. In the above distance measurement, accurate time information equivalent to that of an atomic clock mounted on a GPS satellite is required to accurately measure the signal propagation time. However, since it is unrealistic to provide the GPS module with an atomic clock, the GPS module is equipped with a low-accuracy clock, and the time difference between the GPS module clock and the GPS satellite atomic clock is calculated. Is adopted.

具体的には、上記距離測定を4機のGPS衛星について同時に行い、4機のGPS衛星からの受信情報に基づいて4個の未知数を求める測位演算を行う。4つの未知数のうち3つが3次元の位置情報に相当し、残りの1つがGPS衛星との間の時刻差情報に相当する。このように、4機のGPS衛星からの受信情報に基づいて測位演算を行うことで、結果として、GPSモジュールの低精度の時刻情報をGPS衛星の正確な時刻情報に合わせられる。本説明では、GPSモジュールで測位演算に用いる時刻情報をGPS基準時刻と呼ぶことにする。   Specifically, the distance measurement is simultaneously performed for four GPS satellites, and a positioning calculation is performed to obtain four unknowns based on information received from the four GPS satellites. Of the four unknowns, three correspond to three-dimensional position information, and the remaining one corresponds to time difference information from the GPS satellite. As described above, the positioning calculation is performed based on the reception information from the four GPS satellites, and as a result, the low-accuracy time information of the GPS module can be matched with the accurate time information of the GPS satellites. In this description, time information used for positioning calculation in the GPS module is referred to as GPS reference time.

従来は、GPS基準時刻を消失しないように、GPSモジュールにおいて低精度の時計(例えば計時回路)が常に計時を行っていた。これに対し、本実施形態では、GPSモジュールに対する電源供給を停止する場合は、GPSモジュールの計時回路への電源供給も停止させ、GPSモジュールにおける計時を停止させる。そして、GPSモジュールの計時停止中は、GPSモジュールと組合わされるホスト機器が備える時計(例えばRTC(リアルタイムクロック))を用いて、GPS基準時刻の情報を維持する。   Conventionally, a low-precision clock (for example, a clock circuit) always keeps time in the GPS module so that the GPS reference time is not lost. On the other hand, in this embodiment, when the power supply to the GPS module is stopped, the power supply to the timer circuit of the GPS module is also stopped, and the time measurement in the GPS module is stopped. And while the time measurement of the GPS module is stopped, the GPS reference time information is maintained using a clock (for example, RTC (real time clock)) provided in the host device combined with the GPS module.

本実施形態は、このようなGPSモジュールに対する電源供給の停止中にGPS基準時刻の情報を維持する点に特徴を有するので、以下の説明はこの点を中心に行う。   Since the present embodiment is characterized in that the GPS reference time information is maintained while the power supply to the GPS module is stopped, the following description will be focused on this point.

<デジタルカメラの説明>
本実施形態では、GPSモジュールと組合せるホスト機器をデジタルカメラ10によって構成する。図1は、デジタルカメラ10の要部構成を例示するブロック図である。デジタルカメラ10は、GPSモジュール113によって所定時間ごとに測位を繰り返し、緯度や経度などの測位結果をフラッシュメモリ111に記憶させる。デジタルカメラ10は、レリーズ操作が行われると、撮影した画像データを画像ファイルとしてメモリカードなどの記憶媒体に記録する。このとき、フラッシュメモリ111に格納されている直近の測位結果を撮影位置情報として上記画像ファイルに含める。
<Description of digital camera>
In the present embodiment, the host device combined with the GPS module is configured by the digital camera 10. FIG. 1 is a block diagram illustrating the main configuration of the digital camera 10. The digital camera 10 repeats positioning at predetermined time intervals by the GPS module 113 and stores positioning results such as latitude and longitude in the flash memory 111. When the release operation is performed, the digital camera 10 records the captured image data as an image file in a storage medium such as a memory card. At this time, the latest positioning result stored in the flash memory 111 is included in the image file as shooting position information.

図1において、デジタルカメラ10は、撮影光学系101と、撮像素子102と、AFE(Analog front end)回路103と、画像処理回路104と、LCDモニタ105と、RAM110と、フラッシュメモリ111と、CPU112と、GPSモジュール113と、外部インターフェイス114と、操作部材115と、RTC116と、を備える。   In FIG. 1, a digital camera 10 includes a photographing optical system 101, an image sensor 102, an AFE (Analog front end) circuit 103, an image processing circuit 104, an LCD monitor 105, a RAM 110, a flash memory 111, and a CPU 112. A GPS module 113, an external interface 114, an operation member 115, and an RTC 116.

撮影光学系101は、ズームレンズやフォーカシングレンズを含む複数のレンズ群で構成され、撮像素子102の撮像面に被写体像を結像させる。なお、図1を簡単にするため、撮影光学系101を単レンズとして図示している。   The photographing optical system 101 includes a plurality of lens groups including a zoom lens and a focusing lens, and forms a subject image on the imaging surface of the image sensor 102. In order to simplify FIG. 1, the photographing optical system 101 is illustrated as a single lens.

撮像素子102は、撮像面に受光素子が二次元配列されたCMOSイメージセンサなどによって構成される。撮像素子102は、被写体像を光電変換して画像信号を生成する。画像信号は、AFE回路103に入力される。   The imaging element 102 is configured by a CMOS image sensor or the like in which light receiving elements are two-dimensionally arranged on the imaging surface. The image sensor 102 photoelectrically converts the subject image to generate an image signal. The image signal is input to the AFE circuit 103.

AFE回路103は、画像信号に対して所定の信号処理を行うとともに、信号処理後の画像信号をデジタルデータに変換する。デジタルデータは画像処理回路104に入力される。画像処理回路104は、デジタルデータに対する各種の画像処理(色補間処理、階調変換処理、輪郭強調処理、ホワイトバランス調整処理、画像圧縮処理、画像伸張処理など)を施す。   The AFE circuit 103 performs predetermined signal processing on the image signal and converts the image signal after the signal processing into digital data. Digital data is input to the image processing circuit 104. The image processing circuit 104 performs various types of image processing (color interpolation processing, gradation conversion processing, contour enhancement processing, white balance adjustment processing, image compression processing, image expansion processing, etc.) on digital data.

LCDモニタ105は液晶パネルによって構成され、CPU112からの指示に応じて画像や操作メニュー画面などを表示する。RAM110はCPU112のワークメモリとして使用される。また、RAM110は、画像処理回路104による画像処理工程におけるデジタル画像データを一時的に記憶する。   The LCD monitor 105 is constituted by a liquid crystal panel, and displays an image, an operation menu screen, and the like according to an instruction from the CPU 112. The RAM 110 is used as a work memory for the CPU 112. The RAM 110 temporarily stores digital image data in the image processing step performed by the image processing circuit 104.

フラッシュメモリ111は不揮発性メモリであり、CPU112が実行するプログラムを格納する他、各種データの記憶用に用いられる。フラッシュメモリ111には、GPS基準時刻情報を記憶するエリア111aと、カメラ内基準時刻情報を記憶するエリア111bとが設けられる。GPS基準時刻情報は、上述したように、GPSモジュール113で測位演算に用いる時刻である。   The flash memory 111 is a nonvolatile memory, and is used for storing various data in addition to storing a program executed by the CPU 112. The flash memory 111 is provided with an area 111a for storing GPS reference time information and an area 111b for storing in-camera reference time information. The GPS reference time information is a time used for positioning calculation by the GPS module 113 as described above.

カメラ内基準時刻情報は、ユーザによってデジタルカメラ10に設定されたローカル時刻(例えば、日本標準時刻)を示す情報である。CPU112は、フラッシュメモリ111に格納されるプログラムを実行することによってデジタルカメラ10が行う動作を制御する。CPU112は、AF(オートフォーカス)動作制御や、自動露出(AE)演算も行う。   The in-camera reference time information is information indicating a local time (for example, Japanese standard time) set in the digital camera 10 by the user. The CPU 112 controls an operation performed by the digital camera 10 by executing a program stored in the flash memory 111. The CPU 112 also performs AF (autofocus) operation control and automatic exposure (AE) calculation.

操作部材115は、メインスイッチ、レリーズボタンおよびメニュースイッチなどを含む。操作部材115は、メインスイッチ操作やレリーズ操作、メニュー選択操作など、各操作に応じた操作信号をCPU112へ送出する。CPU112は、操作部材115からの操作信号の入力を監視する他、GPSモジュール113からの測位データ(GPS基準時刻を含む)を取得する。   The operation member 115 includes a main switch, a release button, a menu switch, and the like. The operation member 115 sends an operation signal corresponding to each operation, such as a main switch operation, a release operation, and a menu selection operation, to the CPU 112. In addition to monitoring input of operation signals from the operation member 115, the CPU 112 acquires positioning data (including GPS reference time) from the GPS module 113.

GPSモジュール113は、GPSモジュール内CPU113aおよびRF部113bを含む。RF部113bによって4機のGPS衛星30A〜30Dからの電波を受信し、GPSモジュール内CPU113aが、受信電波にのせられている情報を用いて測位データ(緯度、経度、高度、時刻)を算出する。CPU112は、GPSモジュール113から所定時間(例えば5秒)ごとに測位データを受け取って不揮発性メモリ(フラッシュメモリ111)の所定領域に、測位データを上書き記憶させる。   The GPS module 113 includes a CPU 113a in the GPS module and an RF unit 113b. The RF unit 113b receives radio waves from the four GPS satellites 30A to 30D, and the CPU 113a in the GPS module calculates positioning data (latitude, longitude, altitude, and time) using information carried on the received radio waves. . The CPU 112 receives positioning data from the GPS module 113 every predetermined time (for example, 5 seconds), and overwrites and stores the positioning data in a predetermined area of the nonvolatile memory (flash memory 111).

GPSモジュール113は通電制御端子113cを備えており、CPU112からの制御信号に応じて通電(電源供給)と非通電(電源遮断)とを切り替える。例えば、通電制御端子113cがHレベルに制御されると、GPSモジュール113は、モジュール内部への電源供給を開始する。通電制御端子113cがLレベルに制御されると、GPSモジュール113はモジュール内部への電源供給を遮断する。CPU112は通常、メインスイッチがオン操作され、カメラ内各部へ通電を開始するタイミングで通電制御端子113cをHレベルに制御する。また、CPU112は、メインスイッチがオフ操作されると、GPSモジュール113へ測位停止を要求してから通電制御端子113cをLレベルに制御する。   The GPS module 113 includes an energization control terminal 113c, and switches between energization (power supply) and non-energization (power cutoff) in accordance with a control signal from the CPU 112. For example, when the energization control terminal 113c is controlled to H level, the GPS module 113 starts supplying power to the inside of the module. When the energization control terminal 113c is controlled to L level, the GPS module 113 cuts off the power supply to the inside of the module. The CPU 112 normally controls the energization control terminal 113c to H level at the timing when the main switch is turned on and energization of each part in the camera is started. Further, when the main switch is turned off, the CPU 112 requests the GPS module 113 to stop positioning, and then controls the energization control terminal 113c to the L level.

撮影地点の測位データを示す情報を撮影画像に関連づけて保存する設定が行われている場合のCPU112は、撮影画像のデータ、測位データ、および撮影時刻情報(例えばカメラ内基準時刻)を含む exif形式の画像ファイルを生成し、不図示の記憶媒体へ当該画像ファイルを記録するように制御する。具体的には、CPU112がレリーズボタンの押下操作信号を受けると、図1の各ブロックへ指示を送って撮影処理を開始させ、撮影した画像ファイルを記憶媒体(不図示)へ記録する。   The CPU 112 when the information indicating the positioning data of the shooting point is set to be stored in association with the shot image, the exif format including the shot image data, the positioning data, and the shooting time information (for example, the reference time in the camera) The image file is generated, and the image file is controlled to be recorded on a storage medium (not shown). Specifically, when the CPU 112 receives a release button pressing operation signal, it sends an instruction to each block in FIG. 1 to start the shooting process, and records the shot image file in a storage medium (not shown).

外部インターフェイス114は、CPU112からの指示により外部機器(パーソナルコンピュータやクレードル等)との間で不図示のケーブルを介してデータを送受信する。RTC116は、内蔵する水晶発振子が発する所定周波数のクロック信号をカウントし、CPU112からの要求に応じてカウント値を出力する。RTC116は、不図示の電池から電力供給を受けており、メインスイッチのオン/オフ状態にかかわらずカウント動作を継続するように構成されている。   The external interface 114 transmits / receives data to / from an external device (such as a personal computer or a cradle) according to an instruction from the CPU 112 via a cable (not shown). The RTC 116 counts a clock signal having a predetermined frequency generated by a built-in crystal oscillator, and outputs a count value in response to a request from the CPU 112. The RTC 116 is supplied with electric power from a battery (not shown), and is configured to continue the counting operation regardless of the on / off state of the main switch.

CPU112は、メインスイッチがオン操作された際、例えば、フラッシュメモリ111のエリア111aに格納されているGPS基準時刻に対し、RTC116による最新のカウント値に基づく時間を加え、新たなGPS基準時刻として置き換える。CPU112は、メインスイッチがオフ操作された際、フラッシュメモリ111の所定領域に格納されている最新の時刻情報(GPSモジュール113から測位データとともに送信されたGPS基準時刻)をエリア111aに上書き記憶させる。   When the main switch is turned on, for example, the CPU 112 adds a time based on the latest count value by the RTC 116 to the GPS reference time stored in the area 111a of the flash memory 111, and replaces it with a new GPS reference time. . When the main switch is turned off, the CPU 112 overwrites and stores in the area 111a the latest time information (GPS reference time transmitted together with the positioning data from the GPS module 113) stored in a predetermined area of the flash memory 111.

また、CPU112は、上記メインスイッチがオン操作された際、例えば、フラッシュメモリ111のエリア111bに格納されているカメラ内基準時刻に対し、RTC116による最新のカウント値に基づく時間を加え、新たなローカル時刻として置き換える。CPU112は、置き換えたローカル時刻とRTC116によるカウント値に基づいてローカル時刻を計時する。CPU112は、上記メインスイッチがオフ操作された際、最新のローカル時刻をエリア111bに上書き記憶させる。   Further, when the main switch is turned on, the CPU 112 adds a time based on the latest count value by the RTC 116 to the reference time in the camera stored in the area 111b of the flash memory 111, for example, and creates a new local Replace as time. The CPU 112 measures the local time based on the replaced local time and the count value by the RTC 116. When the main switch is turned off, the CPU 112 overwrites and stores the latest local time in the area 111b.

<位置測定制御>
上記デジタルカメラ10のCPU112が実行するGPSモジュール113による測位の流れについて、図2に例示するフローチャートを参照して説明する。図2において、左側にデジタルカメラ10側の処理の流れを示し、右側にGPSモジュール113側の処理の流れを示す。
<Position measurement control>
The flow of positioning by the GPS module 113 executed by the CPU 112 of the digital camera 10 will be described with reference to the flowchart illustrated in FIG. In FIG. 2, the process flow on the digital camera 10 side is shown on the left side, and the process flow on the GPS module 113 side is shown on the right side.

<デジタルカメラ10側の処理>
CPU112は、操作部材115を構成するメインスイッチがオン操作され、カメラ内の各部へ通電を開始させるタイミングで図2による処理を起動させる。図2による処理は、撮影処理など他の処理が行われる場合にも並行して行われる。図2のステップS11において、CPU112は、GPSモジュール113の上記通電制御端子113cへの出力をHレベルにし、GPSモジュール113の内部へ通電を開始させてステップS12へ進む。これにより、GPSモジュール113が起動する。
<Processing on the digital camera 10>
The CPU 112 activates the process shown in FIG. 2 at a timing when the main switch constituting the operation member 115 is turned on and energization of each part in the camera is started. The processing according to FIG. 2 is performed in parallel even when other processing such as photographing processing is performed. In step S11 of FIG. 2, the CPU 112 sets the output of the GPS module 113 to the energization control terminal 113c to H level, starts energization inside the GPS module 113, and proceeds to step S12. As a result, the GPS module 113 is activated.

ステップS12において、CPU112は、GPS基準時刻情報がフラッシュメモリ111に記憶されているか否かを判定する。CPU112は、エリア111aにGPS基準時刻が格納されている場合にステップS12を肯定判定してステップS13へ進む。CPU112は、エリア111aにGPS基準時刻が格納されていない場合には、ステップS12を否定判定してステップS14へ進む。   In step S <b> 12, the CPU 112 determines whether GPS reference time information is stored in the flash memory 111. If the GPS reference time is stored in the area 111a, the CPU 112 makes a positive determination in step S12 and proceeds to step S13. If the GPS reference time is not stored in the area 111a, the CPU 112 makes a negative determination in step S12 and proceeds to step S14.

ステップS13において、CPU112は、フラッシュメモリ111のエリア111aからGPS基準時刻を読み出し、RTC116による最新のカウント値に基づく時間を加え、新たなGPS基準時刻として置き換える。CPU112は、置き換えたGPS基準時刻の情報をGPSモジュール113へ送信し、ステップS14へ進む。ステップS14において、CPU112は、GPSモジュール113へ駆動要求してステップS15へ進む。これにより、GPSモジュール113が測位を開始する。   In step S13, the CPU 112 reads the GPS reference time from the area 111a of the flash memory 111, adds a time based on the latest count value by the RTC 116, and replaces it with a new GPS reference time. The CPU 112 transmits the replaced GPS reference time information to the GPS module 113, and proceeds to step S14. In step S14, the CPU 112 requests the GPS module 113 to drive and proceeds to step S15. Thereby, the GPS module 113 starts positioning.

ステップS15において、CPU112は、GPSモジュール113から測位データ(GPS基準時刻を含む)を取得してステップS16へ進む。ステップS16において、CPU112は、測位データ(GPS基準時刻を含む)をフラッシュメモリ111の所定領域に記憶させてステップS17へ進む。   In step S15, the CPU 112 acquires positioning data (including the GPS reference time) from the GPS module 113, and proceeds to step S16. In step S16, the CPU 112 stores the positioning data (including the GPS reference time) in a predetermined area of the flash memory 111, and proceeds to step S17.

ステップS17において、CPU112は、電源オフ処理を行うか否かを判定する。CPU112は、操作部材115を構成するメインスイッチがオフ操作された場合にステップS17を肯定判定してステップS18へ進む。CPU112は、操作部材115を構成するメインスイッチがオフ操作されない場合には、ステップS17を否定判定してステップS15へ戻り、上述した処理を繰り返す。   In step S17, the CPU 112 determines whether or not to perform a power-off process. When the main switch constituting the operation member 115 is turned off, the CPU 112 makes an affirmative decision in step S17 and proceeds to step S18. When the main switch constituting the operation member 115 is not turned off, the CPU 112 makes a negative determination in step S17, returns to step S15, and repeats the above-described processing.

ステップS18において、CPU112は、GPS基準時刻情報をフラッシュメモリ111に記憶させてステップS19へ進む。具体的には、フラッシュメモリ111の所定領域に格納されている最新の測位データのうち、GPS基準時刻をフラッシュメモリ111エリア111aに上書き記憶させる。   In step S18, the CPU 112 stores the GPS reference time information in the flash memory 111, and proceeds to step S19. Specifically, of the latest positioning data stored in a predetermined area of the flash memory 111, the GPS reference time is overwritten and stored in the flash memory 111 area 111a.

ステップS19において、CPU112は、GPSモジュール113へ駆動停止を要求してステップS20へ進む。ステップS20において、CPU112は、GPSモジュール113の上記通電制御端子113cへの出力をLレベルにし、GPSモジュール113の内部への通電を終了させて図2による処理を終了する。   In step S19, the CPU 112 requests the GPS module 113 to stop driving and proceeds to step S20. In step S20, the CPU 112 sets the output of the GPS module 113 to the energization control terminal 113c to L level, terminates the energization of the GPS module 113, and ends the process of FIG.

<GPSモジュール113側の処理>
GPSモジュール内CPU113aは、GPSモジュール113の内部へ通電が開始されると図2による処理を起動させる。図2のステップS51において、GPSモジュール内CPU113aは、CPU112からGPS基準時刻情報を取得してステップS52へ進む。GPSモジュール113は、ここで取得したGPS基準時刻を、ステップS53において測位演算に用いる。
<Processing on the GPS module 113 side>
The GPS module CPU 113a activates the processing shown in FIG. 2 when energization of the GPS module 113 is started. In step S51 of FIG. 2, the CPU 113a in the GPS module acquires GPS reference time information from the CPU 112, and proceeds to step S52. The GPS module 113 uses the GPS reference time acquired here for positioning calculation in step S53.

ステップS52において、GPSモジュール内CPU113aは、CPU112から駆動要求されたか否かを判定する。GPSモジュール内CPU113aは、駆動要求された場合にステップS52を肯定判定してステップS53へ進み、駆動要求されない場合には当該判定処理を繰り返しながら駆動要求を待つ。   In step S52, the CPU 113a in the GPS module determines whether or not the CPU 112 has requested driving. The CPU 113a in the GPS module makes an affirmative decision in step S52 when a drive request is made, and proceeds to step S53. If a drive request is not made, the CPU 113a waits for a drive request while repeating the decision process.

ステップS53において、GPSモジュール内CPU113aは、4機のGPS衛星からの受信情報に基づいて測位演算を行うことにより、測位データ(GPS基準時刻を含む)を取得してステップS54へ進む。GPSモジュール内CPU113aは、測位演算に用いたGPS基準時刻を当該測位演算で得られる時刻差情報に基づいて校正することで、測位を行うごとに、GPS衛星30A〜30Dが有する原子時計と同程度の正確な時刻へ更新する。   In step S53, the CPU 113a in the GPS module obtains positioning data (including GPS reference time) by performing positioning calculation based on information received from the four GPS satellites, and proceeds to step S54. The CPU 113a in the GPS module calibrates the GPS reference time used for the positioning calculation based on the time difference information obtained by the positioning calculation, so that each time the positioning is performed, it is about the same as the atomic clock possessed by the GPS satellites 30A to 30D. Update to the correct time.

ステップS54において、GPSモジュール内CPU113aは、CPU112へ測位データ(GPS基準時刻を含む)を送信してステップS55へ進む。ステップS55において、GPSモジュール内CPU113aは、CPU112から駆動停止を要求されたか否かを判定する。GPSモジュール内CPU113aは、停止要求された場合にステップS55を肯定判定してステップS56へ進み、停止要求されない場合にはステップS55を否定判定してステップS53へ戻る。この場合は、所定時間ごとに測位を繰り返しながら、GPS基準時刻を更新する。ステップS56において、GPSモジュール内CPU113aは、測位を停止して図2による処理を終了する。   In step S54, the CPU 113a in the GPS module transmits the positioning data (including the GPS reference time) to the CPU 112, and proceeds to step S55. In step S55, the CPU 113a in the GPS module determines whether or not the CPU 112 has requested stop of driving. The CPU 113a in the GPS module makes an affirmative decision in step S55 when a stop request is made, and proceeds to step S56. If a stop request is not made, the CPU 113a in the GPS module makes a negative decision in step S55 and returns to step S53. In this case, the GPS reference time is updated while positioning is repeated every predetermined time. In step S56, the CPU 113a in the GPS module stops positioning and ends the process shown in FIG.

以上説明した実施形態によれば、次の作用効果が得られる。
(1)デジタルカメラ10は、GPS衛星30A〜30Dからの信号に基づいて位置情報および時刻情報を取得するGPSモジュール113と通信するCPU112と、計時するCPU112と、CPU112を介してGPSモジュール113から入力された時刻情報、およびCPU112により計時された計時情報に基づいて、GPS基準時刻を算出するCPU112と、第1(GPSモジュール113に対する通電停止)のタイミングで、GPSモジュール113から時刻情報を入力し、第2(GPSモジュール113に対する通電開始)のタイミングで、GPS基準時刻の算出およびGPSモジュール113へGPS基準時刻の出力をするように、それぞれ制御するCPU112と、を備える。これにより、GPSモジュール113に計時回路を備えて常時通電することなしに、GPS基準時刻を維持できる。
According to the embodiment described above, the following operational effects can be obtained.
(1) The digital camera 10 is input from the GPS module 113 via the CPU 112 that communicates with the GPS module 113 that acquires position information and time information based on signals from the GPS satellites 30A to 30D, the CPU 112 that measures time, and the CPU 112. The time information is input from the GPS module 113 at the timing of the CPU 112 that calculates the GPS reference time based on the measured time information and the time information measured by the CPU 112, and the first (the energization stop for the GPS module 113), And a CPU 112 for controlling the GPS reference time to be calculated and the GPS reference time to be output to the GPS module 113 at the second timing (the start of energization of the GPS module 113). As a result, the GPS reference time can be maintained without providing a time keeping circuit to the GPS module 113 and constantly energizing it.

(2)GPSモジュール113から入力される時刻情報は、GPSモジュール113へ出力したGPS基準時刻がGPSモジュール113においてGPS衛星30A〜30Dからの信号に基づいて校正された時刻である。これにより、正確なGPS基準時刻を維持できる。 (2) The time information input from the GPS module 113 is the time when the GPS reference time output to the GPS module 113 is calibrated in the GPS module 113 based on signals from the GPS satellites 30A to 30D. Thereby, an accurate GPS reference time can be maintained.

(3)第1のタイミングは、GPSモジュール113に対する通電停止時であり、第2のタイミングは、通電停止後の通電開始時である。これにより、GPSモジュール113への通電停止中においてGPS基準時刻を維持できる。 (3) The first timing is when energization is stopped for the GPS module 113, and the second timing is when energization is started after the energization is stopped. Thereby, the GPS reference time can be maintained while the energization of the GPS module 113 is stopped.

(変形例1)
以上の説明では、GPSモジュールと組合わされるホスト機器としてデジタルカメラ10を例に説明したが、デジタルカメラ10以外にも、高機能携帯電話機やタブレット型端末などの電子機器をホスト機器として構わない。
(Modification 1)
In the above description, the digital camera 10 is described as an example of the host device combined with the GPS module. However, in addition to the digital camera 10, an electronic device such as a high-function mobile phone or a tablet terminal may be used as the host device.

(変形例2)
上記実施形態では、デジタルカメラ10にGPSモジュール113が内蔵される例を説明したが、GPSモジュールは、デジタルカメラ10などの電子機器に装着(または接続)するタイプでも構わない。
(Modification 2)
In the above embodiment, an example in which the GPS module 113 is built in the digital camera 10 has been described. However, the GPS module may be a type that is mounted (or connected) to an electronic device such as the digital camera 10.

(変形例3)
上述した説明では、ステップS12において否定判定した場合にGPSモジュール113へ時刻情報を送信しない例を説明した。この場合のGPSモジュール113は、例えば、4つのGPS衛星のうちいずれか1機の衛星から送信される信号に乗せられている時刻をGPS基準時刻として扱い、通電開始後1回目の測位演算を行う。上述したように、測位演算を行うとGPS基準時刻を当該測位演算で得られる時刻差情報に基づいて校正できるので、2回目以降の測位演算には、前回の測位演算後に校正したGPS基準時刻を用いればよい。
(Modification 3)
In the above description, an example in which time information is not transmitted to the GPS module 113 when a negative determination is made in step S12 has been described. In this case, for example, the GPS module 113 treats the time put on the signal transmitted from any one of the four GPS satellites as the GPS reference time, and performs the first positioning calculation after starting energization. . As described above, when the positioning calculation is performed, the GPS reference time can be calibrated based on the time difference information obtained by the positioning calculation. Use it.

ステップS12において否定判定した場合に、GPSモジュール113へカメラ内基準時刻情報を送信するようにしてもよい。この場合のGPSモジュール113は、カメラ内基準時刻(例えば日本標準時刻)をGPS基準時刻として扱い、通電開始後1回目の測位演算を行う。上述したように、測位演算を行うとGPS基準時刻を当該測位演算で得られる時刻差情報に基づいて校正できるので、2回目以降の測位演算には、前回の測位演算後に校正したGPS基準時刻を用いればよい。   If a negative determination is made in step S12, the in-camera reference time information may be transmitted to the GPS module 113. In this case, the GPS module 113 treats the in-camera reference time (for example, Japan standard time) as the GPS reference time, and performs the first positioning calculation after the start of energization. As described above, when the positioning calculation is performed, the GPS reference time can be calibrated based on the time difference information obtained by the positioning calculation. Use it.

変形例3のCPU112は、ユーザ操作によって入力されたローカル時刻、CPU112で計時した計時情報に基づいて、GPS基準時刻と異なるカメラ内基準時刻を算出する。そして、CPU112は、GPSモジュール113からの時刻情報が存在しない場合に、カメラ内基準時刻の算出およびGPSモジュール113へカメラ内基準時刻の出力をするように、それぞれ制御を行う。これにより、GPSモジュール113に計時回路を備えて常時通電することなしに、GPS基準時刻を維持できる。   The CPU 112 of the modification 3 calculates the in-camera reference time different from the GPS reference time based on the local time input by the user operation and the time information measured by the CPU 112. Then, the CPU 112 performs control so as to calculate the in-camera reference time and output the in-camera reference time to the GPS module 113 when the time information from the GPS module 113 does not exist. As a result, the GPS reference time can be maintained without providing a time keeping circuit to the GPS module 113 and constantly energizing it.

(変形例4)
上述した説明では、CPU112がGPSモジュール113への通電を開始させた(S11)場合に、CPU112からGPSモジュール113へGPS基準時刻情報を送信する(S13)例を説明した。これに加えて、GPSモジュール113においてコールドスタートが必要な場合にも、CPU112からGPSモジュール113へGPS基準時刻情報を送信するようにしてもよい。コールドスタートは、前回の測位から経過した時間が所定時間を超えることにより、GPS衛星による送信信号からアルマナック情報およびエフェメリス情報をそれぞれ新たに取得し直すことをいう。
(Modification 4)
In the above description, when the CPU 112 starts energizing the GPS module 113 (S11), the example in which the GPS reference time information is transmitted from the CPU 112 to the GPS module 113 (S13) has been described. In addition to this, the GPS reference time information may be transmitted from the CPU 112 to the GPS module 113 when the GPS module 113 requires a cold start. The cold start means that the almanac information and the ephemeris information are newly acquired from the transmission signal by the GPS satellite when the time elapsed from the previous positioning exceeds a predetermined time.

変形例4のCPU112は、第2のタイミングに、GPSモジュール113においてコールドスタートをする場合を含めたので、GPSモジュール113への通電中に前回の測位から長時間が経過した場合において、新たに算出したGPS基準時刻をGPSモジュール113へ送信できる。   Since the CPU 112 of the modification 4 includes the case where the GPS module 113 performs a cold start at the second timing, a new calculation is performed when a long time elapses from the previous positioning while the GPS module 113 is energized. The GPS reference time can be transmitted to the GPS module 113.

以上の説明はあくまで一例であり、上記の実施形態の構成に何ら限定されるものではない。   The above description is merely an example, and is not limited to the configuration of the above embodiment.

10…デジタルカメラ
30A〜30D…GPS衛星
102…撮像素子
111…フラッシュメモリ
112…CPU
113…GPSモジュール
113a…GPSモジュール内CPU
113b…RF部
113c…通電制御端子
115…操作部材
116…RTC
DESCRIPTION OF SYMBOLS 10 ... Digital camera 30A-30D ... GPS satellite 102 ... Image pick-up element 111 ... Flash memory 112 ... CPU
113 ... GPS module 113a ... CPU in the GPS module
113b ... RF unit 113c ... energization control terminal 115 ... operation member 116 ... RTC

Claims (6)

衛星からの信号に基づいて位置情報および時刻情報を取得する位置測定ユニットと通信する通信部と、
計時する計時部と、
前記通信部を介して前記位置測定ユニットから入力された前記時刻情報、および前記計時部により計時された計時情報に基づいて、基準時刻を算出する時刻算出部と、
第1のタイミングで前記位置測定ユニットから前記時刻情報を入力し、第2のタイミングで前記基準時刻の算出および前記位置測定ユニットへ前記基準時刻の出力をするように、前記通信部、前記計時部および前記時刻算出部をそれぞれ制御する制御部と、
を備えることを特徴とする電子機器。
A communication unit that communicates with a position measurement unit that acquires position information and time information based on a signal from a satellite;
A timekeeping section for timing,
A time calculation unit that calculates a reference time based on the time information input from the position measurement unit via the communication unit and the time information timed by the time measurement unit;
The communication unit, the time measuring unit, so as to input the time information from the position measurement unit at a first timing, and to calculate the reference time and output the reference time to the position measurement unit at a second timing. And a control unit for controlling each of the time calculation units,
An electronic device comprising:
請求項1に記載の電子機器において、
前記位置測定ユニットから入力される前記時刻情報は、前記位置測定ユニットへ出力した前記基準時刻が前記位置測定ユニットにおいて前記衛星からの信号に基づいて校正された時刻であることを特徴とする電子機器。
The electronic device according to claim 1,
The time information input from the position measuring unit is the time when the reference time output to the position measuring unit is calibrated based on a signal from the satellite in the position measuring unit. .
請求項1または2に記載の電子機器において、
前記第1のタイミングは、前記位置測定ユニットに対する通電停止時であり、前記第2のタイミングは、前記通電停止後の通電開始時であることを特徴とする電子機器。
The electronic device according to claim 1 or 2,
The electronic device according to claim 1, wherein the first timing is when energization is stopped for the position measurement unit, and the second timing is when energization is started after the energization is stopped.
請求項3に記載の電子機器において、
前記第2のタイミングは、前記位置測定ユニットにおいてコールドスタートをする場合であることを特徴とする電子機器。
The electronic device according to claim 3,
The electronic device according to claim 2, wherein the second timing is a case where a cold start is performed in the position measurement unit.
請求項1〜4のいずれか一項に記載の電子機器において、
前記時刻算出部はさらに、ユーザ操作によって入力された情報、および前記計時部により計時された計時情報に基づいて、前記基準時刻と異なる第2基準時刻を算出し、
前記制御部は、前記位置測定ユニットからの前記時刻情報が存在しない場合に、前記第2基準時刻の算出および前記位置測定ユニットへ前記第2基準時刻の出力をするように、前記通信部、前記計時部および前記時刻算出部をそれぞれ制御することを特徴とする電子機器。
In the electronic device as described in any one of Claims 1-4,
The time calculation unit further calculates a second reference time different from the reference time based on information input by a user operation and time information measured by the time measurement unit,
The control unit is configured to calculate the second reference time and output the second reference time to the position measurement unit when the time information from the position measurement unit does not exist. An electronic device that controls a time measuring unit and the time calculating unit, respectively.
請求項5に記載の電子機器において、
前記位置測定ユニットへ前記第2基準時刻を出力した場合において前記位置測定ユニットから入力される前記時刻情報は、前記位置測定ユニットへ出力した前記第2基準時刻が前記位置測定ユニットにおいて前記衛星からの信号に基づいて校正された時刻であることを特徴とする電子機器。
The electronic device according to claim 5,
When the second reference time is output to the position measurement unit, the time information input from the position measurement unit is the second reference time output to the position measurement unit from the satellite in the position measurement unit. An electronic device characterized in that the time is calibrated based on a signal.
JP2013177110A 2013-08-28 2013-08-28 Electronic apparatus Pending JP2015045580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013177110A JP2015045580A (en) 2013-08-28 2013-08-28 Electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013177110A JP2015045580A (en) 2013-08-28 2013-08-28 Electronic apparatus

Publications (1)

Publication Number Publication Date
JP2015045580A true JP2015045580A (en) 2015-03-12

Family

ID=52671191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013177110A Pending JP2015045580A (en) 2013-08-28 2013-08-28 Electronic apparatus

Country Status (1)

Country Link
JP (1) JP2015045580A (en)

Similar Documents

Publication Publication Date Title
JP5187399B2 (en) Imaging device
US7477295B2 (en) System and method of photography using digital camera capable of detecting information on a photographed site
JP4697210B2 (en) Map display device and map display method
JP2006339723A (en) Electronic still camera
US9736424B2 (en) Image capturing apparatus and control method therefor
JP5433930B2 (en) Camera and camera system
US10254410B2 (en) Positioning control method, positioning device and storage medium
JP2011128047A (en) Electronic equipment
JP2015119401A (en) Imaging apparatus, control method of the same, and program
JP5482169B2 (en) Digital camera, message display method, and program
JP2015045580A (en) Electronic apparatus
JP2014120856A (en) Position determination unit controller and camera
KR101663224B1 (en) Method for calculating a location information in digital photographing apparatus
JP2009225178A (en) Photographing apparatus
JP4882889B2 (en) Imaging device
JP2010038681A (en) Electronic apparatus
US9030567B2 (en) Image capture apparatus and setting time information
KR101396334B1 (en) Digital image processing apparatus for inputting GPS information to image file and method of controlling digital image processing apparatus
JP2012216885A (en) Imaging apparatus and image sharing system
JP2004297298A (en) Image display apparatus
JP6656077B2 (en) Recording device, recording device control method, and program
JP2021097373A (en) Imaging device and video data transmission method
JP2016058978A (en) Information processing apparatus, imaging apparatus, control method, and program
JP2010041170A (en) Image recording apparatus
JP5463949B2 (en) Imaging apparatus and control program