[go: up one dir, main page]

JP2012021774A - Observation apparatus, and observation method and program - Google Patents

Observation apparatus, and observation method and program Download PDF

Info

Publication number
JP2012021774A
JP2012021774A JP2010157416A JP2010157416A JP2012021774A JP 2012021774 A JP2012021774 A JP 2012021774A JP 2010157416 A JP2010157416 A JP 2010157416A JP 2010157416 A JP2010157416 A JP 2010157416A JP 2012021774 A JP2012021774 A JP 2012021774A
Authority
JP
Japan
Prior art keywords
signal
power supply
data
control
unit
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.)
Withdrawn
Application number
JP2010157416A
Other languages
Japanese (ja)
Inventor
Masato Matsumoto
真人 松本
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.)
MegaChips Corp
Original Assignee
MegaChips 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 MegaChips Corp filed Critical MegaChips Corp
Priority to JP2010157416A priority Critical patent/JP2012021774A/en
Publication of JP2012021774A publication Critical patent/JP2012021774A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique for restraining power consumption in identifying positions by the use of radio signals received from satellites in the Global Positioning System (GPS).SOLUTION: A demodulator 19 for demodulating transmitted signals from GPS includes: a replica signal generating circuit 192, a correlation processing unit 193, a receiver processor 194 and a navigation processor 195. After saving of control parameters used during satellite tracking by the receiver processor 194 as control data 122, power supply to the demodulator 19 is stopped to suppress power consumption by the demodulator 19 and, when power supply to the demodulator 19 is resumed, control parameters at the time of successful satellite tracking (the control data 122) are read out to resume satellite re-capturing according to the read-out control parameters.

Description

本発明は、GPS(Global Positioning System)を利用して位置を取得する技術に関する。より詳細には、位置を取得するために必要な情報を観測する際の電力消費を抑制する技術に関する。   The present invention relates to a technique for acquiring a position using GPS (Global Positioning System). More specifically, the present invention relates to a technique for suppressing power consumption when observing information necessary for acquiring a position.

GPSでは、複数の衛星が送信時刻(全衛星の時計は高精度に一致している)や、それぞれ自己の軌道を示す情報(エフェメリス)等をGPS信号として送信しつつ飛行している。そして、これらのGPS信号は、全ての衛星が同一周波数を用いる、CDMA(Code Division Multiple Access)方式により送信されている。測位に必要な情報を観測するGPS受信機は、このようなGPS信号を受信することにより自機の位置を求めるように構成されている。   In the GPS, a plurality of satellites fly while transmitting a transmission time (the clocks of all the satellites coincide with high accuracy), information indicating their own orbit (ephemeris), and the like as GPS signals. These GPS signals are transmitted by a CDMA (Code Division Multiple Access) method in which all satellites use the same frequency. A GPS receiver that observes information necessary for positioning is configured to obtain the position of its own device by receiving such a GPS signal.

従来より、GPS受信機が搭載される装置として、道路案内装置や航跡記録装置等が知られている。道路案内装置や航跡記録装置等は、稼働中において、常に、自機の位置を把握し続ける必要がある。したがって、このような用途に用いられるGPS受信機は、常に、通電状態とされ、常時、位置を測定し続けるように構成されていた。   Conventionally, a road guide device, a wake recording device, and the like are known as devices on which a GPS receiver is mounted. Road guidance devices, track recording devices, and the like must always keep track of their own position during operation. Therefore, the GPS receiver used for such an application is always in an energized state and is configured to continuously measure the position.

据え置き型の装置のように、位置変化を想定していない装置では、GPS機能はあまり必要とされるものではない。言い換えれば、GPS受信機により提供されるGPS機能は、位置が刻々と変化する装置において、主に必要とされる機能である。このような装置(GPS受信機を含む)は、移動中に、商用電源等による安定した電力供給を受けることは比較的困難である。したがって、GPS受信機を搭載するような装置は、少なくとも移動中の間は電池による電力供給によって駆動可能なように構成されるのが一般的であり、電池の消耗を抑制することが重要な課題となる。   A device that does not assume a change in position, such as a stationary device, does not require a GPS function. In other words, the GPS function provided by the GPS receiver is a function mainly required in a device whose position changes every moment. Such a device (including a GPS receiver) is relatively difficult to receive a stable power supply from a commercial power source or the like while moving. Therefore, it is general that a device equipped with a GPS receiver is configured so that it can be driven by power supply by a battery at least during movement, and it is an important issue to suppress battery consumption. .

この課題を解決するために、従来より、GPS受信機を間欠的に動作させ、GPS受信機による電力消費を抑制する技術が提案されている。例えば、このような技術が特許文献1に記載されている。しかし、特許文献1に記載されているように、GPS受信機への電力供給を間欠的に行うことにより電力消費を抑制すると、GPS受信機に対する電力供給が遮断される期間が生じ、その間、GPS受信機は衛星を追尾するために必要な処理を実行することができない。すなわち、例えば消費電力の抑制効果を向上させるために、比較的長時間、GPS受信機に対する電力供給を遮断すると、その間にGPS受信機が衛星を追尾できない状態に遷移してしまい、その後、GPS受信機への電力供給が開始されても、GPS受信機は衛星探索から処理を開始することとなり、位置を測定できるようになるまでに比較的長時間を要することとなる。   In order to solve this problem, conventionally, a technique has been proposed in which a GPS receiver is operated intermittently to suppress power consumption by the GPS receiver. For example, this technique is described in Patent Document 1. However, as described in Patent Document 1, if power consumption is suppressed by intermittently supplying power to the GPS receiver, a period in which the power supply to the GPS receiver is interrupted occurs, The receiver cannot perform the processing necessary to track the satellite. That is, for example, if the power supply to the GPS receiver is cut off for a relatively long time in order to improve the power consumption suppression effect, the GPS receiver transitions to a state where it cannot track the satellite during that time, and then GPS reception is performed. Even if the power supply to the aircraft is started, the GPS receiver starts processing from the satellite search, and it takes a relatively long time until the position can be measured.

そこで、GPS受信機に対する電力供給が開始されてから、当該GPS受信機が位置を測定できるようになるまでの時間を短縮するための技術が提案されている。このような技術が例えば特許文献2ないし4に記載されている。   Therefore, a technique for shortening the time from when the power supply to the GPS receiver is started until the GPS receiver can measure the position has been proposed. Such techniques are described in Patent Documents 2 to 4, for example.

特開2010−049680号公報JP 2010-049680 A 特開2007−155577号公報JP 2007-1555577 A 特開2007−158886号公報JP 2007-158886 A 特開2009−276198号公報JP 2009-276198 A

特許文献2および3は、間欠的な動作を行うに際して、衛星からの受信データ(航法メッセージ)の有効期限を考慮し、当該有効期限の間だけ間欠的に動作させる技術である。したがって、GPS受信機への電源の投入時に、衛星探索を最初から実行することなく、維持された有効期限内の航法メッセージによって、短時間で位置算出が可能となるように構成されている。しかし、特許文献2および3に記載の技術は、間欠動作中のGPS受信機のON状態の継続期間やOFF状態の継続期間については考慮されていない。   Patent Documents 2 and 3 are techniques for intermittently operating only during the validity period in consideration of the validity period of the received data (navigation message) from the satellite when performing the intermittent operation. Therefore, when the GPS receiver is turned on, the position can be calculated in a short time by the navigation message within the validity period that has been maintained without executing the satellite search from the beginning. However, the techniques described in Patent Documents 2 and 3 do not take into account the duration of the ON state and the duration of the OFF state of the GPS receiver during intermittent operation.

また、特許文献4は、GPS受信機に電源が投入されたときの衛星捕捉を、基準局から送信される情報(アシスト情報)を用いて短縮する技術であり、携帯電話等の通信機能を有する装置を前提とした技術である。したがって、通信機能を有さない装置や、通信機能が使用不能である場合には、測位可能となるまでに要する時間が長くなるという問題がある。また、間欠的に動作させる際のデューティ比(ON状態の継続期間とOFF状態の継続期間との比)については記載されているものの、これらの期間をどのように決定するかについてはなんら記載されていない。   Patent Document 4 is a technique for shortening satellite capture when power is supplied to a GPS receiver using information (assist information) transmitted from a reference station, and a device having a communication function such as a mobile phone. This technology is based on Therefore, there is a problem that the time required for positioning becomes long when the apparatus does not have a communication function or when the communication function is unusable. Moreover, although the duty ratio (ratio between the duration of the ON state and the duration of the OFF state) for the intermittent operation is described, there is no description about how to determine these periods. Not.

本発明は、上記課題に鑑みてなされたものであり、全地球測位システムにおける衛星からの電波を受信して位置を特定する際の電力消費を抑制する技術を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique for suppressing power consumption when specifying a position by receiving radio waves from a satellite in a global positioning system.

上記の課題を解決するため、請求項1の発明は、記録データを記録する記録装置であって、全地球測位システムにおける衛星から送信される電波を受信するアンテナと、前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、レプリカ信号を生成するレプリカ信号生成手段と、前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段と、前記相関手段から出力される相関信号に基づいて、前記衛星から送信された送信データを取得するデータ取得手段と、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力を供給する電力供給手段と、前記電力供給手段を制御して前記電力供給手段による電力の供給状態を制御する電力供給制御手段と、前記電力供給手段による、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されるときの前記信号制御手段における制御パラメータを記憶する記憶手段とを備え、前記信号制御手段は、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への前記電力供給手段による電力の供給が再開されたときに、前記記憶手段に記憶されている制御パラメータを読み出して、前記レプリカ信号生成手段に対する制御を再開することを特徴とする。   In order to solve the above problems, the invention of claim 1 is a recording apparatus for recording recording data, wherein an antenna for receiving radio waves transmitted from a satellite in a global positioning system, and an input signal from the antenna are received. A signal conversion means for converting to a digital signal, a replica signal generation means for generating a replica signal, a correlation signal corresponding to the digital signal converted by the signal conversion means and the replica signal generated by the replica signal generation means A correlation means to obtain, a signal control means for controlling the replica signal generation means according to a control parameter in accordance with a correlation signal output from the correlation means, and a satellite based on the correlation signal output from the correlation means. Data acquisition means for acquiring transmitted transmission data, the signal conversion means, the replica signal generation means, and Power supply means for supplying power to the signal control means, power supply control means for controlling the power supply means to control the power supply state by the power supply means, and the signal conversion by the power supply means Storage means for storing control parameters in the signal control means when supply of power to at least one of the replica signal generation means and the signal control means is stopped, and the signal control means , When the supply of power by the power supply means to the signal conversion means, the replica signal generation means, and the signal control means is resumed, the control parameter stored in the storage means is read, and the replica signal It is characterized by resuming control on the generating means.

また、請求項2の発明は、請求項1の発明に係る記録装置であって、前記データ取得手段により取得された送信データに基づいて、前記電力供給手段による電力の供給を停止させる期間を求める演算手段と、前記電力供給手段による電力の供給が停止されてからの停止状態継続時間を計測する計時手段とをさらに備え、前記電力供給制御手段は、前記演算手段により求められた期間と前記計時手段により計測される停止状態継続時間とに応じて、前記電力供給手段による電力の供給を再開させることを特徴とする。   The invention according to claim 2 is the recording apparatus according to claim 1, wherein a period for stopping the supply of power by the power supply unit is obtained based on the transmission data acquired by the data acquisition unit. The power supply control means further includes a calculation means and a time measuring means for measuring a stop state duration time after the supply of power by the power supply means is stopped, and the power supply control means includes the period determined by the calculation means and the time measurement. The power supply by the power supply means is resumed according to the stop state duration measured by the means.

また、請求項3の発明は、請求項2の発明に係る記録装置であって、前記演算手段は、前記電力供給手段による前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力供給が停止されている間の前記制御パラメータの適正値の経時変化量を予測して、前記期間を求めることを特徴とする。   The invention of claim 3 is the recording apparatus according to the invention of claim 2, wherein the computing means is one of the signal conversion means, the replica signal generation means, and the signal control means by the power supply means. It is characterized in that the period is obtained by predicting an amount of change over time of an appropriate value of the control parameter while power supply to at least one is stopped.

また、請求項4の発明は、請求項2または3の発明に係る記録装置であって、前記制御パラメータは、搬送波の周波数誤差に対応した制御パラメータを含み、前記演算手段は、前記衛星との相対加速度に応じて、前記期間を求めることを特徴とする。   According to a fourth aspect of the present invention, there is provided a recording apparatus according to the second or third aspect of the invention, wherein the control parameter includes a control parameter corresponding to a frequency error of a carrier wave, and the computing means is connected to the satellite. The period is obtained according to the relative acceleration.

また、請求項5の発明は、請求項1ないし4のいずれかの発明に係る記録装置であって、被写体を撮像することにより、前記被写体を表現した画像データを取得する撮像手段をさらに備え、前記画像データを前記記録データとすることを特徴とする。   The invention of claim 5 is the recording apparatus according to any one of claims 1 to 4, further comprising an imaging means for acquiring image data representing the subject by imaging the subject, The image data is the recording data.

また、請求項6の発明は、全地球測位システムにおける衛星から送信される電波を受信して前記衛星から送信される送信信号を復調する復調装置であって、前記電波を受信するアンテナと、前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、レプリカ信号を生成するレプリカ信号生成手段と、前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段と、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されるときの前記信号制御手段における制御パラメータを記憶する記憶手段とを備え、前記信号制御手段は、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力の供給が再開されたときに、前記記憶手段に記憶されている制御パラメータを読み出して、前記レプリカ信号生成手段に対する制御を再開することを特徴とする。   The invention of claim 6 is a demodulator that receives radio waves transmitted from satellites in a global positioning system and demodulates transmission signals transmitted from the satellites, the antenna receiving the radio waves, A signal conversion means for converting an input signal from the antenna into a digital signal; a replica signal generation means for generating a replica signal; a digital signal converted by the signal conversion means; and a replica signal generated by the replica signal generation means; Correlation means for obtaining a correlation signal according to the above, signal control means for controlling the replica signal generation means by a control parameter in accordance with the correlation signal output from the correlation means, the signal conversion means, the replica signal generation means And the signal control means when the supply of power to at least one of the signal control means is stopped Storage means for storing control parameters, and the signal control means stores in the storage means when power supply to the signal conversion means, the replica signal generation means and the signal control means is resumed. The control parameter being read is read out, and the control on the replica signal generating means is resumed.

また、請求項7の発明は、外部の制御装置に接続され、全地球測位システムにおける衛星から送信される電波を受信して前記衛星から送信される送信信号を復調する復調装置であって、全地球測位システムにおける衛星から送信される電波を受信するアンテナと、前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、レプリカ信号を生成するレプリカ信号生成手段と、前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段とを備え、前記相関手段から出力される相関信号を前記衛星から送信される送信信号の復調信号として前記外部の制御装置に向けて出力することを特徴とする。   The invention according to claim 7 is a demodulator that is connected to an external control device, receives radio waves transmitted from a satellite in the global positioning system, and demodulates a transmission signal transmitted from the satellite, Antenna for receiving radio waves transmitted from satellites in the earth positioning system, signal conversion means for converting an input signal from the antenna into a digital signal, replica signal generation means for generating a replica signal, and conversion by the signal conversion means Correlation means for obtaining a correlation signal according to the digital signal thus generated and the replica signal generated by the replica signal generation means, and the replica signal generation means according to a control parameter according to the correlation signal output from the correlation means And a signal control means for controlling the correlation signal output from the correlation means. And outputs toward the outside of the control device as a demodulated signal.

また、請求項8の発明は、外部の制御装置に接続され、全地球測位システムにおける衛星から送信される電波を受信して前記衛星から送信される送信信号を復調する復調装置であって、全地球測位システムにおける衛星から送信される電波を受信するアンテナと、前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、レプリカ信号を生成するレプリカ信号生成手段と、前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段と、前記相関手段から出力される前記衛星から送信される送信信号の復調信号に基づいて、フレームデータを作成するデータ生成手段とを備え、前記データ生成手段は、作成したフレームデータを前記外部の制御装置に向けて出力することを特徴とする。   The invention of claim 8 is a demodulator that is connected to an external control device, receives radio waves transmitted from a satellite in the global positioning system, and demodulates a transmission signal transmitted from the satellite. Antenna for receiving radio waves transmitted from satellites in the earth positioning system, signal conversion means for converting an input signal from the antenna into a digital signal, replica signal generation means for generating a replica signal, and conversion by the signal conversion means Correlation means for obtaining a correlation signal according to the digital signal thus generated and the replica signal generated by the replica signal generation means, and the replica signal generation means according to a control parameter according to the correlation signal output from the correlation means Signal control means for controlling, and a demodulated signal of a transmission signal transmitted from the satellite output from the correlation means. There are, a data generation means for generating frame data, said data generating means, and outputs the frame data created toward the outside of the control device.

また、請求項9の発明は、全地球測位システムにおける衛星から送信される電波をアンテナで受信して前記衛星から送信された送信データを取得する受信方法であって、前記アンテナからの入力信号を信号変換手段により変換したデジタル信号と信号制御手段からの制御パラメータに基づいてレプリカ信号生成手段により生成されるレプリカ信号とに応じた相関信号を生成しつつ、生成した前記相関信号に応じて前記信号制御手段における制御パラメータを変更することにより、前記デジタル信号と前記レプリカ信号との同期を維持して、前記衛星から送信された送信信号を復調する工程と、復調された前記送信信号に基づいて送信データを取得する工程と、取得された送信データに基づいて、電力の供給を停止する期間を求める工程と、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されるときの前記信号制御手段における制御パラメータを記憶手段に記憶する工程と、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給を停止させる工程と、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されてからの停止状態継続時間を計測する工程と、前記期間と前記停止状態継続時間とに応じて、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力の供給を再開させる工程と、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力の供給が再開されたときに、前記記憶手段に記憶されている前記制御パラメータを読み出して、読み出した前記制御パラメータにより前記信号制御手段による前記レプリカ信号生成手段に対する制御を再開させる工程とを有することを特徴とする。   The invention of claim 9 is a receiving method for acquiring transmission data transmitted from the satellite by receiving radio waves transmitted from the satellite in the global positioning system by an antenna, and receiving an input signal from the antenna. While generating a correlation signal according to the digital signal converted by the signal conversion means and the replica signal generated by the replica signal generation means based on the control parameter from the signal control means, the signal according to the generated correlation signal A step of demodulating a transmission signal transmitted from the satellite while maintaining synchronization between the digital signal and the replica signal by changing a control parameter in a control means, and transmission based on the demodulated transmission signal A step of acquiring data, a step of determining a period for stopping the supply of power based on the acquired transmission data, Storing in the storage means a control parameter in the signal control means when supply of power to at least one of the signal conversion means, the replica signal generation means and the signal control means is stopped; and the signal conversion Means for stopping power supply to at least one of the replica signal generation means and the signal control means, and at least one of the signal conversion means, the replica signal generation means and the signal control means Measuring the stop state duration after the supply of power to the power source is stopped, and depending on the period and the stop state duration, to the signal conversion means, the replica signal generation means, and the signal control means The step of resuming the supply of power to the signal, and the power to the signal conversion means, the replica signal generation means, and the signal control means Reading the control parameters stored in the storage means when the supply is resumed, and resuming control of the replica signal generation means by the signal control means according to the read control parameters. Features.

請求項1に記載の発明は、信号制御手段は、信号変換手段、レプリカ信号生成手段および信号制御手段への電力供給手段による電力の供給が再開されたときに、記憶手段に記憶されている制御パラメータを読み出して、レプリカ信号生成手段に対する制御を再開することにより、電力の供給が再開されたときに、短時間で衛星を捕捉することができる。すなわち、間欠動作中における動作時間を短縮できるため、電力消費を抑制できる。   According to the first aspect of the present invention, the signal control means controls the control stored in the storage means when the power supply by the power supply means to the signal conversion means, the replica signal generation means, and the signal control means is resumed. By reading the parameters and resuming control of the replica signal generating means, the satellite can be captured in a short time when the supply of power is resumed. That is, since the operation time during intermittent operation can be shortened, power consumption can be suppressed.

第1の実施の形態におけるデジタルカメラを示す図である。It is a figure which shows the digital camera in 1st Embodiment. 第1の実施の形態におけるデジタルカメラのブロック図である。1 is a block diagram of a digital camera according to a first embodiment. 第1の実施の形態におけるデジタルカメラの機能ブロックをデータの流れとともに示す図である。It is a figure which shows the functional block of the digital camera in 1st Embodiment with the flow of data. 第1の実施の形態における測位部をデータの流れとともに示す図である。It is a figure which shows the positioning part in 1st Embodiment with the flow of data. 第1の実施の形態におけるデジタルカメラの動作を示す流れ図である。3 is a flowchart showing the operation of the digital camera in the first embodiment. 第1の実施の形態におけるデジタルカメラの動作を示す流れ図である。3 is a flowchart showing the operation of the digital camera in the first embodiment. 第1の実施の形態における測位部の動作を示す流れ図である。It is a flowchart which shows operation | movement of the positioning part in 1st Embodiment. 第1の実施の形態における測位部の動作を示す流れ図である。It is a flowchart which shows operation | movement of the positioning part in 1st Embodiment. 第2の実施の形態におけるデジタルカメラのブロック図である。It is a block diagram of the digital camera in 2nd Embodiment. 第2の実施の形態におけるデジタルカメラの機能ブロックをデータの流れとともに示す図である。It is a figure which shows the functional block of the digital camera in 2nd Embodiment with the flow of data. 第2の実施の形態における観測部をデータの流れとともに示す図である。It is a figure which shows the observation part in 2nd Embodiment with the flow of data. 第2の実施の形態におけるデジタルカメラの動作を示す流れ図である。It is a flowchart which shows operation | movement of the digital camera in 2nd Embodiment. 第2の実施の形態におけるデジタルカメラの動作を示す流れ図である。It is a flowchart which shows operation | movement of the digital camera in 2nd Embodiment. 第2の実施の形態におけるデジタルカメラの動作を示す流れ図である。It is a flowchart which shows operation | movement of the digital camera in 2nd Embodiment. 第2の実施の形態における復調部の動作を示す流れ図である。It is a flowchart which shows operation | movement of the demodulation part in 2nd Embodiment. 第3の実施の形態におけるゲーム機を示す図である。It is a figure which shows the game machine in 3rd Embodiment. 第3の実施の形態におけるゲーム機のブロック図である。It is a block diagram of the game machine in a 3rd embodiment. 第3の実施の形態におけるゲーム機の機能ブロックをデータの流れとともに示す図である。It is a figure which shows the functional block of the game machine in 3rd Embodiment with the flow of data. 第3の実施の形態における復調部をデータの流れとともに示す図である。It is a figure which shows the demodulation part in 3rd Embodiment with the flow of data. 第3の実施の形態におけるゲーム機の動作を示す流れ図である。It is a flowchart which shows operation | movement of the game machine in 3rd Embodiment. 第3の実施の形態におけるゲーム機の動作を示す流れ図である。It is a flowchart which shows operation | movement of the game machine in 3rd Embodiment. 第3の実施の形態におけるゲーム機の動作を示す流れ図である。It is a flowchart which shows operation | movement of the game machine in 3rd Embodiment. 第3の実施の形態における復調部の動作を示す流れ図である。It is a flowchart which shows operation | movement of the demodulation part in 3rd Embodiment. 第3の実施の形態における復調部の動作を示す流れ図である。It is a flowchart which shows operation | movement of the demodulation part in 3rd Embodiment.

以下、本発明の好適な実施の形態について、添付の図面を参照しつつ、詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the accompanying drawings.

<1. 第1の実施の形態>
図1は、第1の実施の形態におけるデジタルカメラ1を示す図である。本発明に係る記録装置としてのデジタルカメラ1は、図1に示すように、ユーザによって携帯可能な装置として設計されており、後述する撮像データを記録する。
<1. First Embodiment>
FIG. 1 is a diagram showing a digital camera 1 according to the first embodiment. As shown in FIG. 1, a digital camera 1 as a recording apparatus according to the present invention is designed as an apparatus that can be carried by a user, and records imaging data to be described later.

図2は、第1の実施の形態におけるデジタルカメラ1のブロック図である。図2に示すように、デジタルカメラ1は、各種データの演算を実行するCPU10、予め記憶されているデータに対する読み取りのみ可能なROM11、データの読み書きがいずれも可能なRAM12、操作部13および表示部14を備えている。また、デジタルカメラ1は、メモリカード90を装着することが可能なカードスロット15、撮像部16、計時部17、電力供給部18および復調部19を備えている。   FIG. 2 is a block diagram of the digital camera 1 according to the first embodiment. As shown in FIG. 2, the digital camera 1 includes a CPU 10 that performs various data operations, a ROM 11 that can only read data stored in advance, a RAM 12 that can read and write data, an operation unit 13, and a display unit. 14 is provided. The digital camera 1 also includes a card slot 15 into which a memory card 90 can be inserted, an imaging unit 16, a timer unit 17, a power supply unit 18, and a demodulation unit 19.

CPU10は、ROM11に記憶されているプログラム80を読み出して、RAM12をワーキングエリアとして使用しつつ、当該プログラム80を実行することにより、デジタルカメラ1が備える各構成を制御する。このようにデジタルカメラ1は、一般的なコンピュータとしての機能を有している。   The CPU 10 reads out the program 80 stored in the ROM 11 and controls the components included in the digital camera 1 by executing the program 80 while using the RAM 12 as a working area. Thus, the digital camera 1 has a function as a general computer.

図3は、第1の実施の形態におけるデジタルカメラ1の機能ブロックをデータの流れとともに示す図である。図3に示す記録部100および電力供給制御部101は、CPU10がプログラム80に従って動作することにより実現される機能ブロックである。   FIG. 3 is a diagram illustrating functional blocks of the digital camera 1 according to the first embodiment together with a data flow. The recording unit 100 and the power supply control unit 101 illustrated in FIG. 3 are functional blocks that are realized when the CPU 10 operates according to the program 80.

図3に示す位置データ120は、復調部19による測位処理によって求められるデジタルカメラ1(復調部19)のある時点における位置を特定するデータである。本実施の形態は、位置データ120は、デジタルカメラ1の存在する位置の緯度および経度を示すデータである。   The position data 120 shown in FIG. 3 is data for specifying the position of the digital camera 1 (demodulation unit 19) at a certain time point obtained by the positioning process by the demodulation unit 19. In the present embodiment, the position data 120 is data indicating the latitude and longitude of the position where the digital camera 1 exists.

タイミングデータ123は、位置データ120と同様に復調部19によって作成される。タイミングデータ123は、復調部19への電力供給を停止させる期間(以下、「停止期間」と称する。)を示すデータであるが、詳細は後述する。   The timing data 123 is created by the demodulator 19 similarly to the position data 120. The timing data 123 is data indicating a period during which power supply to the demodulator 19 is stopped (hereinafter referred to as a “stop period”), details of which will be described later.

画像データ124は、撮像部16が被写体を撮像することにより取得するデータであって、当該被写体を表現したデータである。   The image data 124 is data acquired by the imaging unit 16 capturing an image of the subject, and is data representing the subject.

記録部100は、位置データ120と画像データ124とを関連づけて、カードスロット15を介してメモリカード90に撮像データ900として記憶させる機能を有している。記録部100は、例えば、シャッターボタンが押下されたときに取得された位置データ120と、当該シャッターボタンの押下により撮影された画像データ124と関連づけてメモリカード90に記録する。このように本実施の形態におけるデジタルカメラ1では、撮像データ900には撮像位置を示す位置データ120が含まれる。   The recording unit 100 has a function of associating the position data 120 and the image data 124 and storing them in the memory card 90 as the imaging data 900 via the card slot 15. The recording unit 100 records, for example, the position data 120 acquired when the shutter button is pressed and the image data 124 captured when the shutter button is pressed, in the memory card 90. As described above, in the digital camera 1 according to the present embodiment, the imaging data 900 includes the position data 120 indicating the imaging position.

電力供給制御部101は、電力供給部18を制御して電力供給部18による電力の供給状態を制御する機能を有する。   The power supply control unit 101 has a function of controlling the power supply unit 18 to control the power supply state by the power supply unit 18.

電力供給制御部101は、デジタルカメラ1の動作モードを通常モードと省電力モードとの間で切り替える機能を有している。通常モードから省電力モードに切り替えるとき、電力供給制御部101は、電力供給部18および復調部19に対して省電力移行信号を伝達する。一方、省電力モードから通常モードに切り替えるとき、電力供給制御部101は、電力供給部18に対して通常移行信号を伝達する。   The power supply control unit 101 has a function of switching the operation mode of the digital camera 1 between the normal mode and the power saving mode. When switching from the normal mode to the power saving mode, the power supply control unit 101 transmits a power saving transition signal to the power supply unit 18 and the demodulation unit 19. On the other hand, when switching from the power saving mode to the normal mode, the power supply control unit 101 transmits a normal transition signal to the power supply unit 18.

なお、本実施の形態におけるデジタルカメラ1は、デジタルカメラ1の電源がONの状態のときに通常モードで動作し、当該電源がOFFの状態のときに省電力モードで動作する。すなわち、動作モードの切り替えは操作部13からの入力信号を電力供給制御部101が検出することによって実行される。ただし、通常モードと省電力モードとの切り替えタイミングは、これに限定されるものではなく、ユーザによるデジタルカメラ1の使用頻度(操作頻度)や、他の動作モード(再生モードか撮影モードか)等を参照して切り替えてもよい。   Note that the digital camera 1 in the present embodiment operates in the normal mode when the power of the digital camera 1 is ON, and operates in the power saving mode when the power is OFF. That is, the operation mode is switched when the power supply control unit 101 detects an input signal from the operation unit 13. However, the switching timing between the normal mode and the power saving mode is not limited to this, and the usage frequency (operation frequency) of the digital camera 1 by the user, other operation modes (reproduction mode or shooting mode), and the like. You may switch by referring to.

電力供給制御部101は、復調部19により求められた停止期間(タイミングデータ123)と、計時部17により計測される停止状態継続時間とに応じて、電力供給部18を制御する。   The power supply control unit 101 controls the power supply unit 18 according to the stop period (timing data 123) obtained by the demodulation unit 19 and the stop state duration measured by the time measuring unit 17.

より具体的には、後述する制御データ122がRAM12に格納されたときに、タイミングデータ123に示される停止期間を計時部17にセットする。また、制御データ122が作成されたタイミングに応じて復調部19への電力供給を停止させる信号(以下、「停止信号」と称する。)を電力供給部18に出力する。その後、停止状態計測時間が停止期間に達したことを示す信号(以下、「起床信号」と称する。)を計時部17から受け取ると、電力供給部18に復調部19への電力供給を再開させる信号(以下、「再開信号」と称する。)を出力する。   More specifically, when control data 122 (to be described later) is stored in the RAM 12, a stop period indicated by the timing data 123 is set in the timer unit 17. In addition, a signal for stopping power supply to the demodulation unit 19 (hereinafter referred to as “stop signal”) is output to the power supply unit 18 according to the timing at which the control data 122 is created. After that, when a signal indicating that the stop state measurement time has reached the stop period (hereinafter referred to as “wake-up signal”) is received from the time measuring unit 17, the power supply unit 18 restarts the power supply to the demodulation unit 19. A signal (hereinafter referred to as “resume signal”) is output.

図2に戻って、操作部13は、各種ボタン類やキー、スイッチ等が該当する。ユーザは、操作部13を操作することによってデジタルカメラ1に対して、様々な情報を入力することができる。特に、デジタルカメラ1は、撮像部16に撮像を指示するために操作するシャッターボタンや、デジタルカメラ1の電源の状態を切り替える指示を入力するための電源ボタン等を操作部13として備えている。   Returning to FIG. 2, the operation unit 13 corresponds to various buttons, keys, switches, and the like. The user can input various information to the digital camera 1 by operating the operation unit 13. In particular, the digital camera 1 includes a shutter button that is operated to instruct the imaging unit 16 to perform imaging, a power button that is used to input an instruction to switch the power state of the digital camera 1, and the like as the operation unit 13.

表示部14は、各種ランプやLED、液晶パネル等であり、ユーザに対して各種のデータを提示する機能を有している。なお、デジタルカメラ1は、タッチパネルディスプレイのようなデバイスを備えることによって操作部13および表示部14の機能を実現していてもよい。   The display unit 14 includes various lamps, LEDs, liquid crystal panels, and the like, and has a function of presenting various data to the user. The digital camera 1 may realize the functions of the operation unit 13 and the display unit 14 by including a device such as a touch panel display.

カードスロット15は、可搬性の記憶媒体であるメモリカード90をデジタルカメラ1に対して着脱自在に収納する機能を提供する。これによりデジタルカメラ1(CPU10)は、メモリカード90を自機の記憶装置として使用することができ、撮像データ900等の比較的大容量のデータを記憶することができる。   The card slot 15 provides a function of detachably storing a memory card 90 that is a portable storage medium with respect to the digital camera 1. As a result, the digital camera 1 (CPU 10) can use the memory card 90 as its own storage device, and can store a relatively large amount of data such as the imaging data 900.

また、デジタルカメラ1から取り外されたメモリカード90は、図示しない外部のコンピュータ等に装着することができるように構成されている。したがって、ユーザは、メモリカード90に記憶された撮像データ900を外部のコンピュータにおいて読み出して利用することが可能である。   The memory card 90 removed from the digital camera 1 is configured so that it can be attached to an external computer or the like (not shown). Therefore, the user can read and use the imaging data 900 stored in the memory card 90 on an external computer.

なお、デジタルカメラ1は、図示しない外部のコンピュータとの間でデータ通信を行うための機能を備えていてもよい。このような機能を実現する構成としては、USB端子や赤外線通信部等が想定される。デジタルカメラ1がこのような構成を備えていれば、ユーザは、メモリカード90に記憶された撮像データ900を外部のコンピュータに転送して利用することが可能となる。   The digital camera 1 may have a function for performing data communication with an external computer (not shown). As a configuration for realizing such a function, a USB terminal, an infrared communication unit, or the like is assumed. If the digital camera 1 has such a configuration, the user can use the image data 900 stored in the memory card 90 by transferring it to an external computer.

撮像部16は、レンズや光学フィルタ等から構成される光学系、レンズ等を駆動するモータ、CCD等の光電変換素子、被写体を照明するフラッシュ、および、取得したデータに対する補正処理や圧縮処理を行う画像処理部等から構成される。撮像部16は、ユーザの指示(例えばシャッターボタンの押下)に応じて被写体を撮像し、被写体を表現したデジタルデータ(画像データ124)を取得する機能を有している。   The imaging unit 16 performs a correction process or a compression process on an optical system including a lens, an optical filter, a motor that drives the lens, a photoelectric conversion element such as a CCD, a flash that illuminates a subject, and acquired data. It consists of an image processing unit and the like. The imaging unit 16 has a function of capturing a subject in accordance with a user instruction (for example, pressing a shutter button) and acquiring digital data (image data 124) representing the subject.

計時部17は、一般的な時計であり、時間を計測する機能を有している。特に、計時部17は、電力供給部18による復調部19への電力供給が停止されてからの停止状態継続時間を計測し、停止状態継続時間が停止時間に達すると、CPU10に起床信号により通知する機能を有している。   The timer unit 17 is a general clock and has a function of measuring time. In particular, the timer 17 measures the stop state duration after the power supply to the demodulation unit 19 by the power supply unit 18 is stopped, and notifies the CPU 10 by a wake-up signal when the stop state duration reaches the stop time. It has a function to do.

電力供給部18は、図示しない電池を備え、CPU10からの制御信号(省電力移行信号、停止信号、再開信号等)に応じて、デジタルカメラ1の各構成への電力供給を行う。特に、本実施の形態における電力供給部18は、復調部19への電力供給を担っている。   The power supply unit 18 includes a battery (not shown), and supplies power to each component of the digital camera 1 according to control signals (power saving transition signal, stop signal, restart signal, etc.) from the CPU 10. In particular, the power supply unit 18 in the present embodiment is responsible for supplying power to the demodulation unit 19.

本実施の形態における電力供給部18は、復調部19に対して一括して電力を供給している。すなわち、電力供給部18が復調部19に対する電力の供給を停止させると、復調部19における各構成(後述)は同時に電力供給が停止され、動作を停止する。また、電力供給部18が復調部19に対する電力の供給を再開させると、復調部19における各構成は同時に電力供給が再開される。   The power supply unit 18 in the present embodiment supplies power to the demodulation unit 19 in a lump. That is, when the power supply unit 18 stops supplying power to the demodulation unit 19, the components (described later) in the demodulation unit 19 are simultaneously stopped from supplying power and stop operating. In addition, when the power supply unit 18 restarts the power supply to the demodulation unit 19, the power supply of each component in the demodulation unit 19 is restarted simultaneously.

なお、図2では、電力供給部18からデジタルカメラ1の各構成への電力供給線については図示を省略している。また、電力供給部18は、デジタルカメラ1が電源ケーブル等により商用電源に接続された場合には、各構成に対する電力供給を、先述の電池から当該商用電源に切り替える機能も有している。   In FIG. 2, the illustration of power supply lines from the power supply unit 18 to each component of the digital camera 1 is omitted. In addition, when the digital camera 1 is connected to a commercial power source via a power cable or the like, the power supply unit 18 also has a function of switching the power supply for each component from the battery described above to the commercial power source.

図4は、第1の実施の形態における復調部19をデータの流れとともに示す図である。復調部19は、後述する測位処理により、デジタルカメラ1(復調部19)の位置を特定するための位置データ120を求める機能を有している。なお、本実施の形態における復調部19は、省電力モード中の停止期間において電力が供給されない状態となり、電力消費を抑制する。   FIG. 4 is a diagram illustrating the demodulation unit 19 according to the first embodiment together with the data flow. The demodulator 19 has a function of obtaining position data 120 for specifying the position of the digital camera 1 (demodulator 19) by a positioning process described later. Note that the demodulator 19 in the present embodiment is in a state where no power is supplied during the stop period during the power saving mode, and suppresses power consumption.

図4に示す観測データ121は、ある位置においてある瞬間にデジタルカメラ1(復調部19)が観測したデータであり、主に衛星からの信号をナビゲーションプロセッサ195がデコードすることにより得られるデータ(すなわち、衛星から送信された送信データ)である。ただし、観測データ121は、実際に衛星から送信されたデータ以外のデータを含んでいてもよい。このようなデータとして、例えば、送信データを受信(観測)したときの計時部17の値(受信時刻)や、衛星に搭載されている時計(送信時刻の基準となる)と計時部17との誤差などがある。   The observation data 121 shown in FIG. 4 is data observed by the digital camera 1 (demodulation unit 19) at a certain position at a certain moment, and is mainly obtained by decoding a signal from a satellite by the navigation processor 195 (that is, , Transmission data transmitted from a satellite). However, the observation data 121 may include data other than data actually transmitted from the satellite. As such data, for example, the value (reception time) of the timekeeping unit 17 when transmission data is received (observed), the clock mounted on the satellite (which serves as a reference for transmission time), and the timekeeping unit 17 There are errors.

なお、レシーバプロセッサ194により作成される制御データ122、およびナビゲーションプロセッサ195により作成されるタイミングデータ123については後述する。   The control data 122 created by the receiver processor 194 and the timing data 123 created by the navigation processor 195 will be described later.

図4に示すように、復調部19は、全地球測位システム(GNSS:Global Navigation Satellite System)における衛星から送信される電波を受信するアンテナ190、アンテナ190からの入力信号をデジタル信号に変換するRFIC191、レプリカ信号を生成するレプリカ信号生成回路192、RFIC191により変換されたデジタル信号とレプリカ信号生成回路192により生成されたレプリカ信号との相関を取る相関処理部193を備えている。   As shown in FIG. 4, the demodulator 19 includes an antenna 190 that receives radio waves transmitted from satellites in a global navigation satellite system (GNSS), and an RFIC 191 that converts an input signal from the antenna 190 into a digital signal. A replica signal generation circuit 192 that generates a replica signal, and a correlation processing unit 193 that correlates the digital signal converted by the RFIC 191 and the replica signal generated by the replica signal generation circuit 192 are provided.

アンテナ190は、全地球測位システムにおける衛星からの電波を受信してアナログ信号をRFIC191に伝達する。なお、以下では、特に断らない限り、全地球測位システムとして米国により提供されてるGPS(Global Positioning System)を採用する例について述べる。   The antenna 190 receives radio waves from satellites in the global positioning system and transmits analog signals to the RFIC 191. In the following, an example in which a GPS (Global Positioning System) provided by the United States as a global positioning system is employed unless otherwise specified will be described.

RFIC191は、アンテナ190から入力されるアナログ信号をダウンコンバートしつつデジタル信号に変換し、相関処理部193に向けて出力する。   The RFIC 191 converts the analog signal input from the antenna 190 into a digital signal while down-converting the analog signal, and outputs the digital signal to the correlation processing unit 193.

レプリカ信号生成回路192は、レシーバプロセッサ194からの制御信号(制御パラメータを示す信号)に基づいてレプリカ信号を生成し、相関処理部193に向けて出力する。   The replica signal generation circuit 192 generates a replica signal based on a control signal (a signal indicating a control parameter) from the receiver processor 194 and outputs the replica signal to the correlation processing unit 193.

図4において詳細は図示していないが、レプリカ信号生成回路192は、衛星からデータを送信するための搬送波に対応したキャリアレプリカ信号を生成するキャリア生成回路と、衛星に固有の拡散コード(PNコード)に対応したコードレプリカ信号を生成するコード生成回路とを備えている。   Although not shown in detail in FIG. 4, the replica signal generation circuit 192 includes a carrier generation circuit that generates a carrier replica signal corresponding to a carrier wave for transmitting data from the satellite, and a spread code (PN code unique to the satellite). And a code generation circuit for generating a code replica signal corresponding to (1).

キャリア生成回路は、後述の相関処理部193によりIF信号のI信号と相関処理されるキャリアレプリカ信号と、同じく相関処理部193によりIF信号のQ信号と相関処理されるキャリアレプリカ信号とを生成する。   The carrier generation circuit generates a carrier replica signal that is correlated with the I signal of the IF signal by a correlation processing unit 193, which will be described later, and a carrier replica signal that is correlated with the Q signal of the IF signal by the correlation processing unit 193. .

キャリア生成回路にはレシーバプロセッサ194からの制御パラメータ(より詳細には周波数誤差に対応する制御パラメータ。以下、「周波数制御パラメータ」と称する。)が入力される。キャリア生成回路は、レシーバプロセッサ194から入力される周波数制御パラメータに応じて、キャリアレプリカ信号の周波数を変更する。言い換えれば、キャリア生成回路は、レシーバプロセッサ194から入力される周波数制御パラメータに応じた周波数のキャリアレプリカ信号を生成する。   A control parameter from the receiver processor 194 (more specifically, a control parameter corresponding to a frequency error; hereinafter referred to as “frequency control parameter”) is input to the carrier generation circuit. The carrier generation circuit changes the frequency of the carrier replica signal according to the frequency control parameter input from the receiver processor 194. In other words, the carrier generation circuit generates a carrier replica signal having a frequency corresponding to the frequency control parameter input from the receiver processor 194.

コード生成回路は、捕捉する衛星に固有のPNコードを選択して、当該PNコードに応じたコードレプリカ信号を生成する。なお、捕捉する衛星が切り替わるときには、コード生成回路は、切り替え先の衛星に固有のPNコードにより新たなコードレプリカ信号を生成する。また、コード生成回路は、レシーバプロセッサ194からの制御パラメータ(より詳細にはコード位相差に対応する制御パラメータ。以下、「コード制御パラメータ」と称する。)に応じて、コードレプリカ信号の位相を変更することが可能である。   The code generation circuit selects a PN code specific to the satellite to be captured and generates a code replica signal corresponding to the PN code. When the satellite to be captured is switched, the code generation circuit generates a new code replica signal using a PN code unique to the switching destination satellite. Further, the code generation circuit changes the phase of the code replica signal in accordance with the control parameter from the receiver processor 194 (more specifically, the control parameter corresponding to the code phase difference; hereinafter referred to as “code control parameter”). Is possible.

より詳細には、コード生成回路は、プロンプト(Prompt)コードレプリカ信号(P信号)と、プロンプトコードレプリカ信号に対して1/2チップだけ進相したアーリー(Early)コードレプリカ信号(E信号)と、プロンプトコードレプリカ信号に対して1/2チップだけ遅相したレート(Late)コードレプリカ信号(L信号)とを生成する。   More specifically, the code generation circuit includes a prompt code replica signal (P signal), an early code replica signal (E signal) advanced by ½ chip with respect to the prompt code replica signal, and Then, a rate code replica signal (L signal) delayed by ½ chip with respect to the prompt code replica signal is generated.

相関処理部193は、RFIC191からの入力信号(IF信号)を、レプリカ信号生成回路192(キャリア生成回路)から入力されるキャリアレプリカ信号によりベースバンド周波数にダウンコンバートする。さらに、相関処理部193は、上記ダウンコンバートされたデジタル信号(I信号およびQ信号)と、レプリカ信号生成回路192(コード生成回路)から入力されるコードレプリカ信号(E信号、P信号およびL信号)との相関処理を行う。すなわち、相関処理部193によって、RFIC191からの入力信号と、レプリカ信号生成回路192からのレプリカ信号とに応じた相関信号(IE信号、IP信号、IL信号、QE信号、QP信号およびQL信号)が生成され、出力される。   The correlation processing unit 193 down-converts the input signal (IF signal) from the RFIC 191 to the baseband frequency by the carrier replica signal input from the replica signal generation circuit 192 (carrier generation circuit). Further, the correlation processing unit 193 receives the down-converted digital signal (I signal and Q signal) and the code replica signal (E signal, P signal, and L signal) input from the replica signal generation circuit 192 (code generation circuit). ). That is, the correlation processing unit 193 generates correlation signals (IE signal, IP signal, IL signal, QE signal, QP signal, and QL signal) according to the input signal from the RFIC 191 and the replica signal from the replica signal generation circuit 192. Generated and output.

図4に示すように、復調部19は、さらに、レシーバプロセッサ194、ナビゲーションプロセッサ195、ROM196、RAM197、ROM198およびRAM199を備えている。   As shown in FIG. 4, the demodulator 19 further includes a receiver processor 194, a navigation processor 195, a ROM 196, a RAM 197, a ROM 198, and a RAM 199.

レシーバプロセッサ194は、ROM196に記憶されているプログラム81を読み取って、RAM197をワーキングエリアとして使用しつつ、当該プログラム81を実行する。すなわち、レシーバプロセッサ194はマイクロコンピュータとしての機能を有している。   The receiver processor 194 reads the program 81 stored in the ROM 196 and executes the program 81 while using the RAM 197 as a working area. That is, the receiver processor 194 has a function as a microcomputer.

レシーバプロセッサ194は、相関処理部193から出力される相関信号(IE信号、IP信号、IL信号、QE信号、QP信号およびQL信号)に応じて、レプリカ信号生成回路192に対する制御パラメータにより当該レプリカ信号生成回路192を制御する。   The receiver processor 194 determines the replica signal according to the control parameter for the replica signal generation circuit 192 according to the correlation signal (IE signal, IP signal, IL signal, QE signal, QP signal, and QL signal) output from the correlation processing unit 193. The generation circuit 192 is controlled.

例えば、衛星はそれぞれの衛星軌道上を高速に飛行しているため、当該衛星から送信される電波はドップラー効果によって本来の周波数に対して周波数誤差を生じている。さらに、当該飛行中の衛星と地球の自転により移動しているデジタルカメラ1(復調部19)との間の相対速度はほぼ常に変化しており、ドップラー効果による周波数誤差もほぼ常に変化している。   For example, since satellites fly at high speeds on their orbits, radio waves transmitted from the satellites have a frequency error with respect to the original frequency due to the Doppler effect. Furthermore, the relative speed between the satellite in flight and the digital camera 1 (demodulation unit 19) moving due to the rotation of the earth is almost always changing, and the frequency error due to the Doppler effect is also almost always changing. .

そこで、レシーバプロセッサ194は、相関処理部193から出力される相関信号を監視しつつ、キャリアレプリカ信号によってダウンコンバートされたデジタル信号と、レプリカ信号生成回路192からのレプリカ信号との相関が得られる(両信号の同期が得られる)ように、周波数制御パラメータを変更することにより、キャリアレプリカ信号生成回路(キャリアレプリカ信号)をフィードバック制御する。   Accordingly, the receiver processor 194 obtains a correlation between the digital signal down-converted by the carrier replica signal and the replica signal from the replica signal generation circuit 192 while monitoring the correlation signal output from the correlation processing unit 193 ( The carrier replica signal generation circuit (carrier replica signal) is feedback controlled by changing the frequency control parameter so that both signals can be synchronized.

すなわち、レシーバプロセッサ194は、周波数制御パラメータを変更しつつ、相関処理部193からの相関信号を監視して、周波数誤差を生じた搬送波の周波数を捕捉する。その後も相関処理部193からの相関信号を監視しつつ、同期した状態が維持されるように、周波数制御パラメータを変更し、周波数誤差が変化している搬送波の周波数を追尾する。このような制御は従来の技術(例えばPhase Locked LoopやFrequency Locked Loop等)を用いて実現できる。   That is, the receiver processor 194 monitors the correlation signal from the correlation processing unit 193 while changing the frequency control parameter, and captures the frequency of the carrier wave causing the frequency error. After that, while monitoring the correlation signal from the correlation processing unit 193, the frequency control parameter is changed so that the synchronized state is maintained, and the frequency of the carrier wave whose frequency error is changed is tracked. Such control can be realized using conventional techniques (for example, Phase Locked Loop, Frequency Locked Loop, etc.).

さらに、衛星とデジタルカメラ1(復調部19)との距離や、衛星時計と計時部17との誤差等により、RFIC191から入力されるIF信号と、レプリカ信号生成回路192により生成されるコードレプリカ信号との間にはコード位相差が生じる。そして、衛星およびデジタルカメラ1は移動しているため、衛星とデジタルカメラ1との距離はほぼ常に変化しており、コード位相差もほぼ常に変化している。   Further, an IF signal input from the RFIC 191 and a code replica signal generated by the replica signal generation circuit 192 due to a distance between the satellite and the digital camera 1 (demodulation unit 19), an error between the satellite clock and the time measuring unit 17, or the like. There is a code phase difference between. Since the satellite and the digital camera 1 are moving, the distance between the satellite and the digital camera 1 is almost always changing, and the code phase difference is also almost always changing.

そこで、レシーバプロセッサ194は、相関処理部193からの出力信号を監視しつつ、 ダウンコンバートされたデジタル信号(より詳細にはI信号およびQ信号)と、レプリカ信号生成回路192からのコードレプリカ信号との相関が得られる(両信号の同期が得られる)ようにコード制御パラメータを変更し、コードレプリカ信号生成回路(コードレプリカ信号)をフィードバック制御する。   Therefore, the receiver processor 194 monitors the output signal from the correlation processing unit 193, and detects the down-converted digital signal (more specifically, the I signal and the Q signal) and the code replica signal from the replica signal generation circuit 192. Thus, the code control parameter is changed so that the correlation between the two is obtained (synchronization of both signals is obtained), and the code replica signal generation circuit (code replica signal) is feedback-controlled.

すなわち、レシーバプロセッサ194は、コード制御パラメータを変更しつつ、相関処理部193からの出力信号を監視して、ダウンコンバートされたデジタル信号とコードレプリカ信号との同期を確保する。その後もレシーバプロセッサ194は、相関処理部193からの出力信号を監視しつつ、同期した状態が維持されるように、コード制御パラメータを変更し、位相を追尾する。このような制御は従来の技術(例えばDelay Locked Loop等)を用いて実現できる。   That is, the receiver processor 194 monitors the output signal from the correlation processing unit 193 while changing the code control parameter, and ensures synchronization between the down-converted digital signal and the code replica signal. Thereafter, the receiver processor 194 changes the code control parameter and tracks the phase so that the synchronized state is maintained while monitoring the output signal from the correlation processing unit 193. Such control can be realized by using a conventional technique (for example, Delay Locked Loop).

また、レシーバプロセッサ194は、復調部19に対する電力供給が停止される前に、制御パラメータをRAM12に退避させる機能も有している。すなわち、レシーバプロセッサ194は、電力供給部18による電力供給が停止される直前のタイミング(本実施の形態では、ナビゲーションプロセッサ195がタイミングデータ123を作成したタイミング)で、その時点における制御パラメータを制御データ122としてRAM12に記憶させる。   The receiver processor 194 also has a function of saving control parameters in the RAM 12 before power supply to the demodulator 19 is stopped. That is, the receiver processor 194 sets the control parameter at the time immediately before the power supply by the power supply unit 18 is stopped (in this embodiment, the timing at which the navigation processor 195 created the timing data 123) as the control data. The data is stored in the RAM 12 as 122.

なお、本実施の形態におけるレシーバプロセッサ194は、制御パラメータのうち、周波数制御パラメータのみを制御データ122として退避させる。また、電力供給部18による電力供給が停止される直前のタイミングは、省電力移行信号によりレシーバプロセッサ194に伝達されてもよい。   Note that the receiver processor 194 in the present embodiment saves only the frequency control parameter among the control parameters as the control data 122. The timing immediately before the power supply by the power supply unit 18 is stopped may be transmitted to the receiver processor 194 by a power saving transition signal.

さらに、レシーバプロセッサ194は、電力供給部18による電力の供給が再開されたときに、RAM12に記憶されている制御データ122(本実施の形態では周波数制御パラメータ)を読み出し、読み出した制御パラメータによってレプリカ信号生成回路192に対する制御を再開する。   Further, the receiver processor 194 reads the control data 122 (frequency control parameter in the present embodiment) stored in the RAM 12 when the power supply by the power supply unit 18 is resumed, and the replica is determined by the read control parameter. Control for the signal generation circuit 192 is resumed.

このように、第1の実施の形態におけるレシーバプロセッサ194は、主に本発明における信号制御手段に相当する。   Thus, the receiver processor 194 in the first embodiment mainly corresponds to the signal control means in the present invention.

ナビゲーションプロセッサ195は、ROM198に記憶されているプログラム82を読み取って、RAM199をワーキングエリアとして使用することにより当該プログラム82を実行する。すなわち、ナビゲーションプロセッサ195はマイクロコンピュータとしての機能を有している。   The navigation processor 195 reads the program 82 stored in the ROM 198 and executes the program 82 by using the RAM 199 as a working area. That is, the navigation processor 195 has a function as a microcomputer.

ナビゲーションプロセッサ195は、相関処理部193から出力される相関信号に基づいて、衛星から送信された送信データを取得し、観測データ121として出力する。なお、詳細は説明しないが、ナビゲーションプロセッサ195は、衛星の捕捉が完了し、当該衛星を追尾する状態となったことを当該相関信号に応じて検出し、追尾状態になってからの相関信号(復調された送信信号)から、当該衛星から送信された送信データをデコードする。   The navigation processor 195 acquires transmission data transmitted from the satellite based on the correlation signal output from the correlation processing unit 193 and outputs it as observation data 121. Although not described in detail, the navigation processor 195 detects, based on the correlation signal, that the satellite has been captured and is in a state of tracking the satellite, and the correlation signal ( The transmission data transmitted from the satellite is decoded from the demodulated transmission signal.

例えば、GPSにおける衛星は、送信データ(PNコード)の送信時刻や当該衛星に固有の衛星軌道を表現したエフェメリスデータ、全衛星の概略の軌道を表現したアルマナックデータ等を含む送信データを送信しながら飛行している。ナビゲーションプロセッサ195は、この送信データをデコードすることにより取得して、観測データ121として出力する。   For example, a GPS satellite transmits transmission data including transmission time of transmission data (PN code), ephemeris data expressing a satellite orbit unique to the satellite, almanac data expressing an approximate orbit of all satellites, and the like. Flying. The navigation processor 195 acquires this transmission data by decoding it and outputs it as observation data 121.

また、ナビゲーションプロセッサ195は、観測データ121(送信データ)に基づいて、電力供給部18による復調部19への電力供給を停止させる期間(停止期間)を求める。停止期間は、ナビゲーションプロセッサ195からタイミングデータ123として出力されるが、停止期間を求める手法については後述する。   In addition, the navigation processor 195 obtains a period (stop period) in which the power supply unit 18 stops supplying power to the demodulation unit 19 based on the observation data 121 (transmission data). The stop period is output as timing data 123 from the navigation processor 195, and a method for obtaining the stop period will be described later.

さらに、ナビゲーションプロセッサ195は、操作部13(CPU10)から伝達されるタイミングに応じて、観測データ121に基づいて、当該タイミングにおけるデジタルカメラ1(復調部19)の位置を演算(測位処理)し、位置データ120として出力する。   Furthermore, the navigation processor 195 calculates (positioning process) the position of the digital camera 1 (demodulation unit 19) at the timing based on the observation data 121 in accordance with the timing transmitted from the operation unit 13 (CPU 10). Output as position data 120.

ナビゲーションプロセッサ195から出力された位置データ120、観測データ121およびタイミングデータ123は、本実施の形態におけるデジタルカメラ1では、図4に示すように、いずれもRAM12に記憶される。   Position data 120, observation data 121, and timing data 123 output from navigation processor 195 are all stored in RAM 12, as shown in FIG.

本実施の形態におけるデジタルカメラ1は、電力供給部18が一括して復調部19への電力供給を行う。したがって、デジタルカメラ1は、先述のように観測データ121および制御データ122をRAM12に格納する。しかし、停止期間中においても、記憶したデータが失われない記憶装置を復調部19に設けた場合には、これらのデータを復調部19に設けられた当該記憶装置に格納するように構成してもよい。   In the digital camera 1 in the present embodiment, the power supply unit 18 collectively supplies power to the demodulation unit 19. Therefore, the digital camera 1 stores the observation data 121 and the control data 122 in the RAM 12 as described above. However, when a storage device that does not lose stored data is provided in the demodulator 19 even during the suspension period, the data is stored in the storage device provided in the demodulator 19. Also good.

このような構成として、例えば、不揮発性の記憶素子からなる記憶装置を復調部19に別途設けてもよいし、あるいは、復調部19に設けられた記憶装置に対しては停止期間中であっても電力供給部18によるリフレッシュ用の電力だけは継続して供給するように構成してもよい。   As such a configuration, for example, a storage device including a non-volatile storage element may be separately provided in the demodulation unit 19, or the storage device provided in the demodulation unit 19 is in a stop period. Alternatively, only the power for refreshing by the power supply unit 18 may be continuously supplied.

以上が、第1の実施の形態におけるデジタルカメラ1の構成および機能の説明である。次に、デジタルカメラ1が衛星から送信される電波を受信して当該衛星から送信された送信データを取得する方法について説明する。   The above is the description of the configuration and function of the digital camera 1 in the first embodiment. Next, a method in which the digital camera 1 receives radio waves transmitted from a satellite and acquires transmission data transmitted from the satellite will be described.

図5および図6は、第1の実施の形態におけるデジタルカメラ1の動作を示す流れ図である。   5 and 6 are flowcharts showing the operation of the digital camera 1 in the first embodiment.

第1の実施の形態におけるデジタルカメラ1は電源がOFFの状態において、省電力モードで動作している。したがって、ユーザによって電源ボタン(操作部13)が操作され、デジタルカメラ1の電源がONの状態にされると、CPU10(電力供給制御部101)は、動作モードを省電力モードから通常モードに切り替える。すなわち、電源がONの状態に切り替えられたことを検出すると、電力供給制御部101は、電力供給部18および復調部19に対して通常移行信号を伝達する(ステップS1)。   The digital camera 1 according to the first embodiment operates in the power saving mode when the power is off. Therefore, when the user operates the power button (operation unit 13) to turn on the digital camera 1, the CPU 10 (power supply control unit 101) switches the operation mode from the power saving mode to the normal mode. . That is, when detecting that the power supply has been switched to the ON state, the power supply control unit 101 transmits a normal transition signal to the power supply unit 18 and the demodulation unit 19 (step S1).

ステップS1を実行すると、デジタルカメラ1は、撮像指示の有無と、電源をOFFの状態に切り替える指示の有無とを監視しながら待機する状態となる(ステップS2,S6)。この状態を、便宜上、「通常モード維持状態」と称する。   When step S1 is executed, the digital camera 1 enters a standby state while monitoring the presence / absence of an imaging instruction and the presence / absence of an instruction to switch the power off (steps S2 and S6). This state is referred to as “normal mode maintaining state” for convenience.

通常モード維持状態において、ユーザにより撮像指示がされると、CPU10はステップS2においてYesと判定する。そしてCPU10は撮像部16に撮像を実行させるとともに、復調部19に測位処理(位置データ120を取得する処理)を実行させる。これにより、撮像部16が撮像処理を実行し画像データ124が取得され(ステップS3)、復調部19が測位処理を実行し位置データ120が取得される(ステップS4)。   When the user gives an imaging instruction in the normal mode maintaining state, the CPU 10 determines Yes in step S2. Then, the CPU 10 causes the imaging unit 16 to perform imaging, and causes the demodulation unit 19 to execute a positioning process (a process for acquiring the position data 120). Thereby, the imaging unit 16 executes the imaging process and the image data 124 is acquired (step S3), and the demodulation unit 19 executes the positioning process and acquires the position data 120 (step S4).

画像データ124および位置データ120が取得されると、CPU10(記録部100)は、画像データ124と位置データ120とを関連づけて、撮像データ900をメモリカード90に記録する(ステップS5)。   When the image data 124 and the position data 120 are acquired, the CPU 10 (recording unit 100) associates the image data 124 with the position data 120 and records the imaging data 900 on the memory card 90 (step S5).

なお、本実施の形態では、撮像部16による撮像が行われるときに、復調部19による測位処理が付随的に実行される例を説明した。すなわち、測位処理は撮像位置を記録するために実行される例で説明した。しかし、復調部19による測位処理は、必ずしも撮像に付随して実行されなければならないわけではなく、撮像部16による撮像と独立して実行されてもよい。例えば、単に、ユーザが現在位置を知りたいと所望したときに操作部13を操作し、これに応じて復調部19が測位処理を実行し、表示部14が位置データ120を表示してもよい。   In the present embodiment, the example in which the positioning process by the demodulation unit 19 is incidentally performed when the imaging unit 16 performs imaging is described. In other words, the positioning process has been described with the example executed for recording the imaging position. However, the positioning process by the demodulation unit 19 does not necessarily have to be performed along with the imaging, and may be performed independently of the imaging by the imaging unit 16. For example, the operation unit 13 may be operated simply when the user desires to know the current position, the demodulation unit 19 executes the positioning process in response to this, and the display unit 14 displays the position data 120. .

通常モード維持状態において、ユーザにより操作部13が操作され、デジタルカメラ1の電源をOFFの状態に切り替えるように指示されると、CPU10はステップS6においてYesと判定する。   When the operation unit 13 is operated by the user in the normal mode maintaining state and the digital camera 1 is instructed to be switched off, the CPU 10 determines Yes in step S6.

ステップS6においてYesと判定すると、CPU10(電力供給制御部101)は、動作モードを省電力モードに切り替え、電力供給部18および復調部19に対して省電力移行信号を伝達する(ステップS11)。そして、電力供給制御部101は、復調部19によって制御データ122がRAM12に格納されるまで待機する(ステップS12)。   If it determines with Yes in step S6, CPU10 (power supply control part 101) will switch an operation mode to a power saving mode, and will transmit a power saving transition signal to the power supply part 18 and the demodulation part 19 (step S11). Then, the power supply control unit 101 waits until the demodulating unit 19 stores the control data 122 in the RAM 12 (step S12).

CPU10から省電力移行信号が入力されると、電力供給部18は、電力の消費抑制を優先する状態となり、必要に応じて各構成に対する電力の供給を停止する。ただし、ステップS11において、電力供給部18は、復調部19に対する電力の供給は停止せずに継続する。また、ステップS11において省電力移行信号を受け取った復調部19は、タイミングデータ123の作成と、制御データ122の作成とを実行するが、これらの処理は後述する。   When a power saving transition signal is input from the CPU 10, the power supply unit 18 is in a state of giving priority to suppression of power consumption, and stops supplying power to each component as necessary. However, in step S11, the power supply unit 18 continues the supply of power to the demodulation unit 19 without stopping. In addition, the demodulator 19 that has received the power saving transition signal in step S11 executes creation of the timing data 123 and creation of the control data 122. These processes will be described later.

ステップS12によりCPU10が待機している状態において、制御データ122が作成されると、電力供給制御部101は、ステップS12においてYesと判定し、タイミングデータ123に示される停止期間を計時部17にセットする。これにより、計時部17が停止状態継続時間の計測を開始する(ステップS13)。   When the control data 122 is created while the CPU 10 is waiting in step S12, the power supply control unit 101 determines Yes in step S12, and sets the stop period indicated in the timing data 123 in the time measuring unit 17. To do. Thereby, the time measuring part 17 starts measurement of a stop state continuation time (step S13).

さらに、電力供給制御部101は、電力供給部18に対して停止信号を伝達する。これにより電力供給部18が復調部19への電力の供給を停止する(ステップS14)。なお、ステップS14が実行されると、電力供給制御部101は、停止時間が経過するまで待機状態となる(ステップS15)。   Further, the power supply control unit 101 transmits a stop signal to the power supply unit 18. As a result, the power supply unit 18 stops supplying power to the demodulation unit 19 (step S14). In addition, if step S14 is performed, the electric power supply control part 101 will be in a standby state until stop time passes (step S15).

計時部17から起床信号が入力されることにより停止時間が経過したことを検出すると、電力供給制御部101は、電力供給部18に向けて再開信号を出力する。これにより、電力供給部18による復調部19に対する電力の供給が再開される(ステップS16)。なお、起床信号を再開信号として電力供給部18に入力させる構成でもよい。すなわち、停止時間が経過したタイミングを電力供給部18に通知することができればCPU10(電力供給制御部101)が関与しなくてもよい。   When it is detected that the stop time has elapsed due to the input of the wake-up signal from the timer unit 17, the power supply control unit 101 outputs a restart signal to the power supply unit 18. Thereby, the supply of power to the demodulation unit 19 by the power supply unit 18 is resumed (step S16). The wake-up signal may be input to the power supply unit 18 as a restart signal. That is, the CPU 10 (power supply control unit 101) may not be involved as long as the power supply unit 18 can be notified of the timing at which the stop time has elapsed.

ステップS12ないしS16を実行中において、CPU10は、操作部13からの割り込み信号を監視することにより、ユーザによってデジタルカメラ1の電源がONの状態に切り替えられたか否かを監視している(ステップS17)。これによりデジタルカメラ1は、省電力モードにおいてユーザが電源をONの状態に切り替えない間は、ステップS12ないしS16の処理を継続する。一方、ユーザが電源をONの状態に切り替える操作を行った場合は、電力供給制御部101はステップS17においてYesと判定し、ステップS1からの処理を繰り返す。   While executing Steps S12 to S16, the CPU 10 monitors whether or not the power of the digital camera 1 has been switched to the ON state by monitoring an interrupt signal from the operation unit 13 (Step S17). ). As a result, the digital camera 1 continues the processes of steps S12 to S16 while the user does not switch the power ON in the power saving mode. On the other hand, when the user performs an operation of switching the power supply to the ON state, the power supply control unit 101 determines Yes in step S17 and repeats the processing from step S1.

以上が、主にデジタルカメラ1の動作の説明である。次に、復調部19の動作について詳細に説明する。   The above is the description of the operation of the digital camera 1 mainly. Next, the operation of the demodulator 19 will be described in detail.

図7および図8は、第1の実施の形態における復調部19の動作を示す流れ図である。本実施の形態における復調部19は、電力供給部18からの電力供給が開始されることにより動作を開始し、電力供給部18からの電力供給が途絶えることにより動作を停止する。   7 and 8 are flowcharts showing the operation of the demodulator 19 in the first embodiment. The demodulator 19 in the present embodiment starts operation when power supply from the power supply unit 18 is started, and stops operation when power supply from the power supply unit 18 is interrupted.

電力供給部18からの電力供給が再開されると、まず、レシーバプロセッサ194は、RAM12から制御データ122を読み出し、読み出した制御パラメータをセットし(ステップS21)、当該読み出した制御パラメータによりレプリカ信号生成回路192を制御する。これにより、レプリカ信号生成回路192は、制御データ122に格納されていた制御パラメータに基づいてレプリカ信号を生成する(ステップS22)。   When power supply from the power supply unit 18 is resumed, first, the receiver processor 194 reads the control data 122 from the RAM 12, sets the read control parameter (step S21), and generates a replica signal based on the read control parameter. The circuit 192 is controlled. As a result, the replica signal generation circuit 192 generates a replica signal based on the control parameter stored in the control data 122 (step S22).

すなわち、レシーバプロセッサ194は、復調部19への電力の供給が再開されたときに、RAM12に記憶されている制御パラメータ(制御データ122)を読み出して、読み出した当該制御パラメータによりレプリカ信号生成回路192に対する制御を再開する。   That is, the receiver processor 194 reads the control parameter (control data 122) stored in the RAM 12 when the supply of power to the demodulator 19 is resumed, and the replica signal generation circuit 192 is read based on the read control parameter. Resume control of.

これは、復調部19への電力供給を停止させたときに衛星を追尾していたレプリカ信号(以下、「過去レプリカ信号」と称する。)を、RAM12から読み出した制御パラメータによって近似的に再現し、このレプリカ信号(以下、「近似過去レプリカ信号」と称する)によって、今回の衛星の捕捉を開始することに相当する(ただし、本実施の形態では周波数追尾のみ)。   This is a replica signal (hereinafter referred to as “past replica signal”) that has been tracking the satellite when the power supply to the demodulator 19 is stopped is approximately reproduced by the control parameter read from the RAM 12. This replica signal (hereinafter referred to as “approximate past replica signal”) corresponds to the start of acquisition of the current satellite (however, in this embodiment, only frequency tracking).

なお、電力供給が開始された時点において、制御データ122が格納されていない場合(例えば、工場出荷時等)や、制御データ122に含まれていない制御パラメータ(本実施の形態ではコード制御パラメータ)も存在する。レシーバプロセッサ194は、このような制御パラメータについては、ROM196に記憶されている初期値の制御パラメータを、開始時の制御パラメータとしてセットする。   When the control data 122 is not stored at the time when the power supply is started (for example, at the time of shipment from the factory), or control parameters not included in the control data 122 (in this embodiment, code control parameters) Is also present. For such control parameters, the receiver processor 194 sets an initial value control parameter stored in the ROM 196 as a control parameter at the start.

次に、相関処理部193が、アンテナ190からの入力信号をRFIC191により変換したデジタル信号と、レシーバプロセッサ194からの制御パラメータに基づいてレプリカ信号生成回路192により生成されるレプリカ信号とに応じた相関信号を生成する(ステップS23)。   Next, the correlation processing unit 193 performs correlation according to the digital signal obtained by converting the input signal from the antenna 190 by the RFIC 191 and the replica signal generated by the replica signal generation circuit 192 based on the control parameter from the receiver processor 194. A signal is generated (step S23).

すなわち、相関処理部193は、RFIC191により変換したデジタル信号をステップS22において生成されるキャリアレプリカ信号によりダウンコンバートしつつ、ダウンコンバートされたデジタル信号とステップS22において生成されるコードレプリカ信号との相関処理を行う。   That is, the correlation processing unit 193 performs down-conversion of the digital signal converted by the RFIC 191 with the carrier replica signal generated in step S22, and performs correlation processing between the down-converted digital signal and the code replica signal generated in step S22. I do.

さらに、レシーバプロセッサ194は、相関処理部193から出力される相関信号に応じて、両信号の同期が得られているか否かを判定する(ステップS24)。そして、位相が一致していない場合は(ステップS25においてNo)コード制御パラメータを変更し(ステップS26)、周波数が一致していない場合は(ステップS27においてNo)周波数制御パラメータを変更する(ステップS28)。   Further, the receiver processor 194 determines whether or not the two signals are synchronized according to the correlation signal output from the correlation processing unit 193 (step S24). If the phases do not match (No in step S25), the code control parameter is changed (step S26). If the frequencies do not match (No in step S27), the frequency control parameter is changed (step S28). ).

なお、ステップS22ないしS28の処理は従来の技術である衛星捕捉技術を、適宜、適用することにより実現できる。   In addition, the process of step S22 thru | or S28 is realizable by applying the satellite acquisition technique which is a prior art suitably.

衛星の捕捉が完了すると(ステップS24においてYes)、レシーバプロセッサ194は衛星追尾を開始する(ステップS29)。ステップS29における衛星追尾は、従来の技術により実現できるが、簡単に説明すれば、レプリカ信号生成回路192、相関処理部193およびレシーバプロセッサ194がステップS22ないしS28と同様の処理を繰り返しながら、同期を維持することにより実現できる。   When satellite acquisition is completed (Yes in step S24), the receiver processor 194 starts satellite tracking (step S29). The satellite tracking in step S29 can be realized by a conventional technique. However, in brief, the replica signal generation circuit 192, the correlation processing unit 193, and the receiver processor 194 repeat the same processes as in steps S22 to S28 while synchronizing. It can be realized by maintaining.

なお、本実施の形態では、ステップS29により開始された衛星追尾は、復調部19への電力の供給が停止されるまで継続される。また、衛星追尾が実行されている間において、相関処理部193から出力される相関信号には、衛星から送信された送信信号が復調された信号(復調信号)が含まれる(主にIP信号)。   In the present embodiment, the satellite tracking started in step S29 is continued until the supply of power to the demodulation unit 19 is stopped. While the satellite tracking is being executed, the correlation signal output from the correlation processing unit 193 includes a signal (demodulated signal) obtained by demodulating the transmission signal transmitted from the satellite (mainly an IP signal). .

すなわち、衛星追尾を行っている状態(ステップS29が実行された後、電力供給が停止されるまでの状態)とは、相関処理部193により生成した相関信号に応じてレシーバプロセッサ194における制御パラメータを変更することにより、キャリアレプリカ信号によりダウンコンバートされたデジタル信号と、コードレプリカ信号との同期を維持して、衛星から送信された送信信号を復調することに相当する。したがって、復調部19が衛星追尾を行っている状態において、ナビゲーションプロセッサ195は、相関処理部193から出力される相関信号に基づいて、送信データをデコードして取得することが可能である。   That is, the state in which the satellite tracking is being performed (the state in which the power supply is stopped after step S29 is executed) is the control parameter in the receiver processor 194 according to the correlation signal generated by the correlation processing unit 193. By changing, it corresponds to demodulating the transmission signal transmitted from the satellite while maintaining the synchronization of the digital signal down-converted by the carrier replica signal and the code replica signal. Therefore, in a state where the demodulator 19 is performing satellite tracking, the navigation processor 195 can decode and acquire transmission data based on the correlation signal output from the correlation processor 193.

衛星の捕捉が完了し、衛星追尾が開始されると、ナビゲーションプロセッサ195は、動作モードが通常モードか否かを確認する(ステップS31)。   When the satellite acquisition is completed and the satellite tracking is started, the navigation processor 195 checks whether or not the operation mode is the normal mode (step S31).

復調部19は、省電力モードにおいてのみ電力供給が停止される。一方、復調部19に対する電力供給が開始される場合とは、省電力モードにおいて停止期間が経過したために電力供給が再開される場合の他に、省電力モードにおける停止中に電源ボタンが操作され通常モードに移行するために電力供給が再開される場合がある。したがって、復調部19は、ステップS31を実行して現在のモードを確認する必要がある。   The demodulator 19 stops supplying power only in the power saving mode. On the other hand, the case where the power supply to the demodulator 19 is started includes a case where the power button is operated during the stop in the power saving mode in addition to the case where the power supply is resumed because the stop period has elapsed in the power saving mode. The power supply may be resumed to enter the mode. Therefore, the demodulator 19 needs to confirm the current mode by executing step S31.

ステップS31の処理は、ナビゲーションプロセッサ195がCPU10(電力供給制御部101)に問い合わせをしてもよいし、予め電力供給制御部101が動作モードを示すデータをRAM12に格納しておいて、ナビゲーションプロセッサ195がこれを参照してもよい。   In the process of step S31, the navigation processor 195 may make an inquiry to the CPU 10 (power supply control unit 101), or the power supply control unit 101 stores data indicating the operation mode in the RAM 12 in advance, and the navigation processor 195 may refer to this.

ステップS31において通常モードと判定すると、ナビゲーションプロセッサ195は、相関処理部193から出力される相関信号(復調された送信信号)に基づいて送信データのデコードを開始し、観測データ121の取得を開始する(ステップS32)。   If the navigation processor 195 determines that the normal mode is selected in step S31, the navigation processor 195 starts decoding transmission data based on the correlation signal (demodulated transmission signal) output from the correlation processing unit 193, and starts acquiring the observation data 121. (Step S32).

ステップS32において、ナビゲーションプロセッサ195は、復調された送信信号からbitを生成し、生成したbitからフレームデータを構成する。さらに、ナビゲーションプロセッサ195は、生成したフレームデータに基づいてパリティチェックを行い、衛星から送信された送信データをデコードして、観測データ121としてRAM12に記憶させる。   In step S32, the navigation processor 195 generates bits from the demodulated transmission signal, and constructs frame data from the generated bits. Further, the navigation processor 195 performs a parity check based on the generated frame data, decodes the transmission data transmitted from the satellite, and stores it in the RAM 12 as the observation data 121.

なお、ナビゲーションプロセッサ195は、復調された送信信号からbitを生成する際に、当該bitと当該bitの到着時間(受信時間)との関連づけを行い、受信時間は観測データ121に含められる。   When the navigation processor 195 generates a bit from the demodulated transmission signal, the navigation processor 195 associates the bit with the arrival time (reception time) of the bit, and the reception time is included in the observation data 121.

通常モードにおいて衛星追尾状態となると、ナビゲーションプロセッサ195は、ステップS32を繰り返すことにより観測データ121を取得しつつ、CPU10からの測位指示(測位処理を実行させる指示)と、省電力移行信号とを監視する状態となる(ステップS33,S35)。   When the satellite tracking state is entered in the normal mode, the navigation processor 195 obtains the observation data 121 by repeating step S32, and monitors the positioning instruction (instruction for executing the positioning process) from the CPU 10 and the power saving transition signal. (S33, S35).

CPU10から測位指示があると、ナビゲーションプロセッサ195は、観測データ121を読み出して、観測データ121に基づいて演算を行い、現在の位置を特定する位置データ120を取得する(ステップS34)。   When there is a positioning instruction from the CPU 10, the navigation processor 195 reads the observation data 121, performs an operation based on the observation data 121, and obtains position data 120 specifying the current position (step S34).

なお、測位指示を検出したときに、位置データ120を求めるために必要な観測データ121の取得が未だ完了していない場合は、ナビゲーションプロセッサ195は、必要な観測データ121を取得する処理を継続してから、ステップS34を実行する。また、CPU10からの測位指示は、本実施の形態では操作部13(シャッターボタン)が操作されたときに、CPU10から復調部19に対して伝達される。また、観測データ121に基づいて位置データ120を求める測位処理は、従来技術により実現できるため、詳細な説明は省略する。   If the acquisition of the observation data 121 necessary for obtaining the position data 120 is not yet completed when the positioning instruction is detected, the navigation processor 195 continues the process of acquiring the necessary observation data 121. Then, step S34 is executed. In the present embodiment, the positioning instruction from the CPU 10 is transmitted from the CPU 10 to the demodulation unit 19 when the operation unit 13 (shutter button) is operated. In addition, since the positioning process for obtaining the position data 120 based on the observation data 121 can be realized by the conventional technique, detailed description thereof is omitted.

通常モードにおいて衛星追尾を行っている状態で、CPU10から省電力移行信号が伝達されると、ナビゲーションプロセッサ195は、ステップS35においてYesと判定し、省電力モードにおける動作を開始する。   When the power saving transition signal is transmitted from the CPU 10 while performing satellite tracking in the normal mode, the navigation processor 195 determines Yes in step S35 and starts the operation in the power saving mode.

ステップS31においてYesと判定する(省電力モードにおいて電力供給が再開された状態)か、または、ステップS35においてYesと判定する(通常モードから省電力モードに切り替えられた状態)と、ナビゲーションプロセッサ195は、RAM12から観測データ121を読み出し取得する(ステップS36)。   If it is determined Yes in step S31 (state in which power supply has been resumed in the power saving mode), or if it is determined Yes in step S35 (state in which the normal mode is switched to the power saving mode), the navigation processor 195 Then, the observation data 121 is read and acquired from the RAM 12 (step S36).

ステップS36を実行するときに、後述の処理(ステップS37の処理:停止期間を求める処理)を実行するために必要な観測データ121がRAM12に記憶されておらず、必要なデータが取得できない場合がある。このような場合には、ナビゲーションプロセッサ195は、必要なデータが取得できるまで、衛星追尾状態を継続して送信データのデコード等を行う。   When step S36 is executed, the observation data 121 necessary for executing the later-described processing (processing of step S37: processing for obtaining the stop period) is not stored in the RAM 12, and the necessary data may not be acquired. is there. In such a case, the navigation processor 195 continues the satellite tracking state until necessary data can be acquired, and decodes transmission data or the like.

GPSにおいては、観測データ121に含まれるエフェメリスデータやアルマナックデータには有効期限が設定されており、これが過ぎている場合には新たに送信データを受信(デコード)して、観測データ121を更新する必要がある。省電力モードにおいてはステップS32が実行されないので、省電力モードが比較的長時間継続されると、その間に、エフェメリスデータやアルマナックデータの有効期限が経過してしまう場合も起こりうる。   In GPS, the ephemeris data and almanac data included in the observation data 121 have an expiration date. If this has passed, the transmission data is newly received (decoded) and the observation data 121 is updated. There is a need. Since step S32 is not executed in the power saving mode, if the power saving mode is continued for a relatively long time, the expiration date of the ephemeris data or the almanac data may pass during that time.

このような場合には、ナビゲーションプロセッサ195は、ステップS36において、ステップS32に相当する処理を実行し、新たな送信データをデコードにより取得して観測データ121を更新する。なお、エフェメリスデータの有効期限は1〜2時間程度であり、その取得には30秒程度を要する。また、アルマナックデータの有効期限は1週間程度であり、その取得には12分程度を要する。   In such a case, the navigation processor 195 executes processing corresponding to step S32 in step S36, acquires new transmission data by decoding, and updates the observation data 121. The expiration date of the ephemeris data is about 1 to 2 hours, and it takes about 30 seconds to acquire it. The validity period of almanac data is about one week, and it takes about 12 minutes to acquire it.

詳細は後述するが、ステップS37の処理では復調部19の地球上の位置を求めることが必要となり、復調部19の位置を求めるには、衛星との相対距離(疑似距離)を求める必要がある。例えば、GPSにおいては、衛星と復調部19との相対距離を求めるには、少なくともサブフレームを1つ受信する必要があり、そのためには6秒程度の時間が必要となる。   Although details will be described later, it is necessary to obtain the position of the demodulator 19 on the earth in the process of step S37, and in order to obtain the position of the demodulator 19, it is necessary to obtain the relative distance (pseudo distance) from the satellite. . For example, in GPS, in order to obtain the relative distance between the satellite and the demodulator 19, it is necessary to receive at least one subframe, which requires about 6 seconds.

ただし、停止期間を求めるにあたって、停止期間中の復調部19の地球上の位置の変化を無視できる場合は、毎回、観測データ121を更新する必要はない。先述のように、ナビゲーションプロセッサ195は、少なくともエフェメリスデータの有効期限に応じた周期で観測データ121を更新する。したがって、復調部19の地球上の速度が充分に遅く、エフェメリスデータの有効期限内における復調部19の地球上の位置の変化が、停止期間を求めるに際して充分に無視できるならば、ステップS36において位置を求めるための送信データのデコードは必要ない。この場合、ナビゲーションプロセッサ195は、ステップS29を実行し、ステップS31でYesと判定した後は、RAM12に記憶されている過去の観測データ121を取得すればよく、少なくとも送信データのサブフレームを1つ受信するまで待機する必要はない。   However, in obtaining the stop period, it is not necessary to update the observation data 121 every time if the change in the position of the demodulator 19 on the earth during the stop period can be ignored. As described above, the navigation processor 195 updates the observation data 121 at a period corresponding to at least the expiration date of the ephemeris data. Accordingly, if the speed of the demodulator 19 on the earth is sufficiently slow and the change in the position of the demodulator 19 on the earth within the expiration date of the ephemeris data can be sufficiently ignored when determining the stop period, the position is determined in step S36. It is not necessary to decode the transmission data to obtain In this case, after executing Step S29 and determining Yes in Step S31, the navigation processor 195 may acquire the past observation data 121 stored in the RAM 12, and at least one subframe of transmission data is obtained. There is no need to wait until receiving.

このように、ステップS36の処理は、観測データ121に含まれるデータの有効期限に応じた周期ごとに、当該データのデコードに要する時間だけ継続されることになる。そして、ステップS36が実行されている間、電力供給部18は復調部19への電力の供給を継続する必要がある。すなわち、ステップS36の処理に要する時間は、復調部19を間欠的に動作させる際の動作時間に影響し、電力消費に影響を与える。   As described above, the process of step S36 is continued for the time required for decoding the data for each period corresponding to the expiration date of the data included in the observation data 121. And while step S36 is performed, the electric power supply part 18 needs to continue supply of the electric power to the demodulation part 19. FIG. That is, the time required for the process of step S36 affects the operation time when the demodulator 19 is operated intermittently, and affects the power consumption.

次に、ナビゲーションプロセッサ195は、ステップS36で取得した観測データ121(送信データ)に基づいて、電力の供給を停止する期間(停止期間)を求め(ステップS37)、タイミングデータ123としてRAM12に記憶させる。   Next, the navigation processor 195 obtains a period (stop period) during which power supply is stopped based on the observation data 121 (transmission data) acquired in step S36 (step S37), and stores it in the RAM 12 as timing data 123. .

先述のように、衛星を捕捉(追尾)している状態において、レシーバプロセッサ194の制御パラメータ(周波数制御パラメータおよびコード制御パラメータ)は、主にドップラー効果によって生じる周波数誤差と、主に相対距離および時計のズレによって生じる位相差とに応じた値である。   As described above, the control parameters (frequency control parameters and code control parameters) of the receiver processor 194 in the state of acquiring (tracking) the satellite include frequency errors mainly caused by the Doppler effect, mainly relative distances and clocks. It is a value corresponding to the phase difference caused by the deviation.

ここで、一旦生じた周波数誤差および位相差がその後も変化しないのであれば、衛星を捕捉することにより決定された制御パラメータを、その後は、変化させる必要がないことになる。しかし、実際には先述のように周波数誤差および位相差はほぼ常に変化する。しかも全ての送信データを受信するには最大で12分以上も必要となる。したがって、この間、送信データをデコードしつづけるために、レシーバプロセッサ194は、衛星を捕捉した後も、制御パラメータを変更しつつ、PLL(FLL)により衛星を追尾しつづける。   Here, if the frequency error and the phase difference once generated do not change after that, the control parameter determined by acquiring the satellite does not need to be changed thereafter. However, in practice, the frequency error and the phase difference almost always change as described above. In addition, a maximum of 12 minutes or more is required to receive all transmission data. Therefore, during this time, in order to continue decoding the transmission data, the receiver processor 194 continues to track the satellite with the PLL (FLL) while changing the control parameter even after acquiring the satellite.

しかし、デジタルカメラ1は、省電力モードにおいて復調部19に対する電力の供給を停止する。当然のことながら、電力の供給が停止されている状態では、レシーバプロセッサ194は衛星を追尾することはできない。したがって、レシーバプロセッサ194は、復調部19への電力供給が再開されたときに、すでに説明したように、ステップS22ないしS28を実行して衛星の捕捉から処理をやりなおすが、衛星の捕捉をやりなおす際には、ステップS21を実行する。すなわち、電力の供給が停止されている間、RAM12に退避しておいた制御パラメータで衛星の捕捉を開始する。   However, the digital camera 1 stops supplying power to the demodulation unit 19 in the power saving mode. Of course, the receiver processor 194 cannot track the satellite when the power supply is stopped. Therefore, when the power supply to the demodulator 19 is resumed, the receiver processor 194 executes steps S22 to S28 and restarts the process from capturing the satellite as described above. Step S21 is executed. That is, while power supply is stopped, satellite acquisition is started with the control parameters saved in the RAM 12.

電力の供給が停止される直前の周波数誤差と、電力の供給が再開されたときの周波数誤差とが近似していれば、電力の供給が停止される直前の周波数制御パラメータと、電力の供給が再開されたときに衛星を捕捉するために必要な周波数制御パラメータ(すなわち適切な周波数制御パラメータ)とは近似することになる。   If the frequency error immediately before the power supply is stopped and the frequency error when the power supply is restarted are approximate, the frequency control parameter immediately before the power supply is stopped and the power supply It will approximate the frequency control parameters (ie, appropriate frequency control parameters) required to acquire the satellite when resumed.

レシーバプロセッサ194は、衛星の捕捉を開始するときの制御パラメータを変更しつつ、適切な制御パラメータを決定するため、電力の供給が再開されたときの制御パラメータが適切な周波数制御パラメータに近似しているほど、衛星を捕捉するまでに要する時間が短縮される。   The receiver processor 194 changes the control parameter when starting satellite acquisition and determines an appropriate control parameter so that the control parameter when power supply is resumed approximates the appropriate frequency control parameter. The more it takes, the less time it takes to acquire the satellite.

ナビゲーションプロセッサ195は、観測データ121に基づいて電力の供給が停止されている間の周波数誤差の経時変化量(すなわち、周波数制御パラメータの適正値の経時変化量に相当する。)を予測して、当該変化量が閾値以内となるように、停止期間を求める。なお、閾値とは、レシーバプロセッサ194が衛星を追尾する際に用いるPLL(またはFLL)において、周波数制御パラメータを適切な周波数制御パラメータに収束させることができる周波数誤差の変化量の許容最大値である。   The navigation processor 195 predicts a temporal change amount of the frequency error while the power supply is stopped based on the observation data 121 (that is, it corresponds to a temporal change amount of an appropriate value of the frequency control parameter), and The stop period is obtained so that the amount of change falls within the threshold. The threshold value is an allowable maximum value of the amount of change in frequency error that can converge the frequency control parameter to an appropriate frequency control parameter in the PLL (or FLL) used when the receiver processor 194 tracks the satellite. .

周波数誤差は、先述のようにドップラー効果によって生じ、ドップラー効果は衛星と復調部19との相対速度によって生じる。したがって、周波数誤差の経時変化は、衛星と復調部19との間の相対加速度によって生じ、停止期間中の周波数誤差の経時変化量の予測値は、当該相対加速度を停止期間中にわたって積分することによって求めることができる。   The frequency error is caused by the Doppler effect as described above, and the Doppler effect is caused by the relative velocity between the satellite and the demodulator 19. Therefore, the change with time of the frequency error is caused by the relative acceleration between the satellite and the demodulator 19, and the predicted value of the change with time of the frequency error during the stop period is obtained by integrating the relative acceleration over the stop period. Can be sought.

長期的にみれば、周波数誤差が同一となる瞬間(同じ周波数制御パラメータで衛星を捕捉することが可能となる瞬間)は何度も訪れる。したがって、そのような瞬間にのみ電力の供給を再開させると、長期間、電力の供給を停止できるので電力の消費抑制効果が大きく、一見好ましい。しかし、ユーザによる測位指示がそのような瞬間に近いタイミングでのみ行われることは一般に期待できない。すなわち、ユーザによる測位指示がどのようなタイミングで行われたとしても、周波数誤差の変化量が閾値以内となるように維持しておくことが好ましい。   In the long run, the moment when the frequency error is the same (the moment when the satellite can be acquired with the same frequency control parameter) will come many times. Therefore, it is preferable to restart the supply of power only at such a moment because the power supply can be stopped for a long period of time, so that the effect of suppressing the power consumption is great. However, it cannot be generally expected that the positioning instruction from the user is given only at a timing close to such a moment. That is, it is preferable to keep the change amount of the frequency error within a threshold value no matter what timing the positioning instruction is given by the user.

したがって、第1の実施の形態におけるナビゲーションプロセッサ195は、周波数誤差の経時変化量の予測値と閾値とが、ステップS37の実行時以後、初めて等しくなる時間を求め、当該時間に電力の供給を再開するように停止期間を求める。   Therefore, the navigation processor 195 according to the first embodiment obtains a time when the predicted value of the time variation of the frequency error and the threshold value are equal for the first time after the execution of step S37, and resumes power supply at that time. Ask for a suspension period.

ここで、衛星と復調部19との相対加速度は、衛星の速度が既知であるため、衛星の軌道と、衛星の位置と、復調部19の位置と、復調部19の速度とによって求まる。また、復調部19の速度は、復調部19の位置と、当該位置における地球の自転速度と、復調部19の地球に対する相対速度とによって求まる。なお、地球に対する復調部19の相対速度はドップラー効果に対する影響が小さいので無視してもよい。また、復調部19の位置が求まれば、当該位置における地球の自転速度は既知である。   Here, the relative acceleration between the satellite and the demodulator 19 is obtained from the orbit of the satellite, the position of the satellite, the position of the demodulator 19 and the speed of the demodulator 19 since the speed of the satellite is known. Further, the speed of the demodulator 19 is obtained from the position of the demodulator 19, the rotation speed of the earth at the position, and the relative speed of the demodulator 19 to the earth. Note that the relative speed of the demodulator 19 with respect to the earth has a small influence on the Doppler effect and may be ignored. Moreover, if the position of the demodulation part 19 is calculated | required, the rotation speed of the earth in the said position is known.

GPSにおいて、観測データ121に含まれているエフェメリスデータが有効であれば、衛星の軌道と衛星の位置は当該エフェメリスデータから求まる。また、復調部19の位置は観測データ121から測位処理と同様の処理により求まる。さらに、停止期間が比較的短時間であれば、衛星時刻と計時部17の時刻との誤差は一定とみなせる。   If the ephemeris data included in the observation data 121 is valid in GPS, the orbit of the satellite and the position of the satellite can be obtained from the ephemeris data. Further, the position of the demodulator 19 is obtained from the observation data 121 by a process similar to the positioning process. Furthermore, if the stop period is relatively short, the error between the satellite time and the time of the time measuring unit 17 can be regarded as constant.

したがって、ナビゲーションプロセッサ195は、ステップS37において、観測データ121に基づいて、停止期間を求めることができる。   Therefore, the navigation processor 195 can obtain the stop period based on the observation data 121 in step S37.

タイミングデータ123が作成されると、レシーバプロセッサ194が、そのタイミングにおける制御パラメータをRAM12に記憶させる。これにより、復調部19(RFIC191、レプリカ信号生成回路192およびレシーバプロセッサ194のうちの少なくとも1つ)への電力の供給が停止されるときのレシーバプロセッサ194における制御パラメータがRAM12に制御データ122として記憶される(ステップS38)。   When the timing data 123 is created, the receiver processor 194 causes the RAM 12 to store control parameters at that timing. Thereby, the control parameter in the receiver processor 194 when the power supply to the demodulator 19 (at least one of the RFIC 191, the replica signal generation circuit 192, and the receiver processor 194) is stopped is stored as control data 122 in the RAM 12. (Step S38).

レシーバプロセッサ194により制御データ122が作成され、制御パラメータのRAM12への退避が完了すると、前述のように、ステップS12においてCPU10がこれを検出して停止信号を電力供給部18に出力する。この停止信号に応じて、ステップS14が実行され、電力供給部18が、復調部19(RFIC191、レプリカ信号生成回路192およびレシーバプロセッサ194のうちの少なくとも1つ)への電力の供給を停止させる。これにより、復調部19の動作が停止し、電力の供給が再開されるまでの間、復調部19における電力消費が抑制される。   When the control data 122 is generated by the receiver processor 194 and the saving of the control parameters to the RAM 12 is completed, the CPU 10 detects this in step S12 and outputs a stop signal to the power supply unit 18 as described above. In response to the stop signal, step S14 is executed, and the power supply unit 18 stops supplying power to the demodulation unit 19 (at least one of the RFIC 191, the replica signal generation circuit 192, and the receiver processor 194). Thereby, the power consumption in the demodulator 19 is suppressed until the operation of the demodulator 19 is stopped and the supply of power is resumed.

その後、復調部19(前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段)への電力の供給が再開されたときに、先述のステップS21が実行される。すなわち、RAM12に記憶されている制御パラメータ(ステップS38において退避しておいた制御パラメータ)を読み出して、読み出した当該制御パラメータによりレシーバプロセッサ194によるレプリカ信号生成回路192に対する制御を再開する。   Thereafter, when the supply of power to the demodulator 19 (the signal conversion unit, the replica signal generation unit, and the signal control unit) is resumed, the above-described step S21 is executed. That is, the control parameter stored in the RAM 12 (the control parameter saved in step S38) is read, and the control of the replica signal generation circuit 192 by the receiver processor 194 is resumed with the read control parameter.

以上のように、第1の実施の形態における記録装置としてのデジタルカメラ1は、全地球測位システムにおける衛星から送信される電波を受信するアンテナ190と、アンテナ190からの入力信号をデジタル信号に変換するRFIC191と、レプリカ信号を生成するレプリカ信号生成回路192と、RFIC191により変換されたデジタル信号とレプリカ信号生成回路192により生成されたレプリカ信号とに応じた相関信号を得る相関処理部193と、相関処理部193から出力される相関信号に応じて、制御パラメータによりレプリカ信号生成回路192を制御するレシーバプロセッサ194と、相関処理部193から出力される相関信号に基づいて、衛星から送信された送信データを取得して観測データ121を作成するナビゲーションプロセッサ195と、復調部19(RFIC191、レプリカ信号生成回路192およびレシーバプロセッサ194)への電力を供給する電力供給部18と、電力供給部18を制御して電力供給部18による電力の供給状態を制御する電力供給制御部101と、電力供給部18による、復調部19(RFIC191、レプリカ信号生成回路192およびレシーバプロセッサ194のうちの少なくとも1つ)への電力の供給が停止されるときのレシーバプロセッサ194における制御パラメータを制御データ122として記憶するRAM12とを備え、復調部19(RFIC191、レプリカ信号生成回路192およびレシーバプロセッサ194)への電力供給部18による電力の供給が再開されたときに、RAM12に記憶されている制御パラメータを読み出して、レプリカ信号生成回路192に対する制御を再開することにより、電力の供給が再開されたときに、短時間で衛星を捕捉することができるため、間欠的に動作させる際の動作時間(電力供給時間)を短縮でき、消費電力を抑制できる。   As described above, the digital camera 1 as the recording device in the first embodiment has the antenna 190 that receives radio waves transmitted from the satellite in the global positioning system, and converts the input signal from the antenna 190 into a digital signal. An RFIC 191, a replica signal generation circuit 192 that generates a replica signal, a correlation processing unit 193 that obtains a correlation signal corresponding to the digital signal converted by the RFIC 191 and the replica signal generated by the replica signal generation circuit 192, and a correlation In accordance with the correlation signal output from the processing unit 193, a receiver processor 194 that controls the replica signal generation circuit 192 with control parameters, and transmission data transmitted from the satellite based on the correlation signal output from the correlation processing unit 193 To obtain observation data 121 Power processor 18, power supply unit 18 that supplies power to demodulation unit 19 (RFIC 191, replica signal generation circuit 192, and receiver processor 194), and power supply state by controlling power supply unit 18 The power supply control unit 101 that controls the receiver and the receiver when the power supply unit 18 stops supplying power to the demodulation unit 19 (at least one of the RFIC 191, the replica signal generation circuit 192, and the receiver processor 194) RAM 12 that stores control parameters in processor 194 as control data 122, and when power supply by power supply unit 18 to demodulation unit 19 (RFIC 191, replica signal generation circuit 192, and receiver processor 194) is resumed, Stored in RAM12 By reading the control parameters and resuming control of the replica signal generation circuit 192, the satellite can be captured in a short time when the power supply is resumed. (Power supply time) can be shortened and power consumption can be suppressed.

また、電力供給部18による電力の供給が停止されてからの停止状態継続時間を計測する計時部17をさらに備え、ナビゲーションプロセッサ195が、観測データ121に基づいて、電力供給部18による電力の供給を停止させる期間を求め、電力供給制御部101が、ナビゲーションプロセッサ195により求められた期間と計時部17により計測される停止状態継続時間とに応じて、電力供給部18による電力の供給を再開させることにより、適切なタイミングで電力の供給を再開することができる。   The power supply unit 18 further includes a time measuring unit 17 that measures a stop state duration after the power supply is stopped, and the navigation processor 195 supplies the power by the power supply unit 18 based on the observation data 121. The power supply control unit 101 restarts the power supply by the power supply unit 18 in accordance with the period obtained by the navigation processor 195 and the stop state duration measured by the time measuring unit 17. As a result, the supply of power can be resumed at an appropriate timing.

例えば、GPSにおいては地球上で観測されるドップラー効果による周波数誤差を捕捉するために、誤差検索範囲はIF周波数に対して±10KHz程度が必要とされている。この誤差検索範囲を捕捉開始時に200Hz程度で検索するとすれば、最大で100秒程度が必要となる。   For example, in GPS, in order to capture a frequency error due to the Doppler effect observed on the earth, the error search range is required to be about ± 10 KHz with respect to the IF frequency. If this error search range is searched at about 200 Hz at the start of acquisition, a maximum of about 100 seconds is required.

これに対して、ナビゲーションプロセッサ195は、退避しておいた周波数制御パラメータが、捕捉開始時(電力の供給を開始するとき)においても、衛星の捕捉に用いるPLLまたはFLL、若しくはその両方を収束させられる範囲にあるように、電力の供給を開始させるタイミングを決定する。言い換えれば、周波数制御パラメータの有効期限に応じて停止期間が決定される。したがって、より確実に、間欠的に動作させる際の動作時間を短縮できるので、消費電力を抑制できる。   In contrast, the navigation processor 195 causes the saved frequency control parameter to converge the PLL and / or FLL used for satellite acquisition even at the start of acquisition (when power supply is started). The timing for starting the supply of electric power is determined so as to be within a predetermined range. In other words, the stop period is determined according to the expiration date of the frequency control parameter. Therefore, since the operation time when operating intermittently can be shortened more reliably, power consumption can be suppressed.

また、ナビゲーションプロセッサ195が、電力供給部18による復調部19(RFIC191、レプリカ信号生成回路192およびレシーバプロセッサ194のうちの少なくとも1つ)への電力供給が停止されている間の制御パラメータの適正値の経時変化量を予測して、停止期間を求めることにより、停止期間を正確に求めることができる。   In addition, the navigation processor 195 has an appropriate value of the control parameter while the power supply unit 18 stops supplying power to the demodulation unit 19 (at least one of the RFIC 191, the replica signal generation circuit 192, and the receiver processor 194). By predicting the amount of change over time and determining the stop period, the stop period can be accurately determined.

また、制御パラメータは搬送波の周波数誤差に対応した制御パラメータ(周波数制御パラメータ)を含み、ナビゲーションプロセッサ195が衛星との相対加速度に応じて、停止期間を求めることにより、停止期間をより正確に求めることができる。   The control parameter includes a control parameter (frequency control parameter) corresponding to the frequency error of the carrier wave, and the navigation processor 195 obtains the stop period more accurately according to the relative acceleration with the satellite, thereby obtaining the stop period more accurately. Can do.

さらに、被写体を撮像することにより、当該被写体を表現した画像データ124を取得する撮像部16を備え、画像データ124を撮像データ900(記録データ)として記録するデジタルカメラ1として記録装置が構成されている。デジタルカメラ1は、従来の技術に比べて衛星捕捉までの所要時間を短縮できるので、シャッターチャンスでの位置をより正確に得ることができる。   Further, the imaging apparatus 16 that acquires the image data 124 representing the subject by imaging the subject is provided, and the recording apparatus is configured as the digital camera 1 that records the image data 124 as the imaging data 900 (recording data). Yes. Since the digital camera 1 can shorten the time required to capture the satellite as compared with the conventional technique, the position at the photo opportunity can be obtained more accurately.

なお、本実施の形態では、復調部19が2つのプロセッサ(レシーバプロセッサ194およびナビゲーションプロセッサ195)を備えるとして説明した。しかし、昨今の微細加工技術や半導体製造技術等の進歩により、レシーバプロセッサ194およびナビゲーションプロセッサ195の機能を1チップのプロセッサによって実現することも可能となっている。したがって、そのようなCPUを採用することにより、第1の実施の形態における復調部19が実現されてもよい。   In the present embodiment, the demodulator 19 has been described as including two processors (a receiver processor 194 and a navigation processor 195). However, with recent advances in microfabrication technology, semiconductor manufacturing technology, etc., the functions of the receiver processor 194 and the navigation processor 195 can be realized by a one-chip processor. Therefore, the demodulator 19 in the first embodiment may be realized by adopting such a CPU.

また、ステップS37において、ナビゲーションプロセッサ195が過去の観測データ121によって停止期間を求めることができる場合(エフェメリス有効期限内の復調部19の地球上の位置の変化を無視できる場合)、ナビゲーションプロセッサ195は、ステップS36,S37の処理をステップS29の実行後に行う必要はない(衛星が捕捉されるまで待機しておく必要はない)。すなわち、レシーバプロセッサ194によって衛星の捕捉が行われている間(ステップS21ないしS28の実行中)に、これと並行してナビゲーションプロセッサ195がステップS36,S37に相当する処理を行ってもよい。その場合は、レシーバプロセッサ194は、ステップS24においてYesと判定した時点で制御パラメータをRAM12に記憶すればよい。   In step S37, when the navigation processor 195 can obtain the stop period based on the past observation data 121 (when the change in the position of the demodulator 19 on the earth within the ephemeris expiration date can be ignored), the navigation processor 195 The processes of steps S36 and S37 need not be performed after the execution of step S29 (it is not necessary to wait until the satellite is acquired). That is, while satellite acquisition is being performed by the receiver processor 194 (during execution of steps S21 to S28), the navigation processor 195 may perform processing corresponding to steps S36 and S37 in parallel with this. In that case, the receiver processor 194 may store the control parameter in the RAM 12 when it is determined Yes in step S24.

<2. 第2の実施の形態>
図9は、第2の実施の形態におけるデジタルカメラ2のブロック図である。デジタルカメラ2は、ROM11がプログラム80の代わりにプログラム83を格納していることと、復調部19の代わりに復調部20を備えていることが、デジタルカメラ1と異なっている。以下、デジタルカメラ2において、デジタルカメラ1と同様の機能を有する構成には、同符号を付し、適宜説明を省略する。
<2. Second Embodiment>
FIG. 9 is a block diagram of the digital camera 2 according to the second embodiment. The digital camera 2 is different from the digital camera 1 in that the ROM 11 stores the program 83 instead of the program 80 and that the demodulator 20 is provided instead of the demodulator 19. Hereinafter, in the digital camera 2, components having the same functions as those of the digital camera 1 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

第2の実施の形態における電力供給部18は、復調部19の代わりに復調部20に対して電力を供給する。   The power supply unit 18 in the second embodiment supplies power to the demodulation unit 20 instead of the demodulation unit 19.

図10は、第2の実施の形態におけるデジタルカメラ2の機能ブロックをデータの流れとともに示す図である。図10に示す記録部100、電力供給制御部102およびナビゲーション部103は、CPU10がプログラム83に従って動作することにより実現される機能ブロックである。なお、第2の実施の形態では、位置データ120、観測データ121およびタイミングデータ123は、いずれもナビゲーション部103によって作成される。   FIG. 10 is a diagram illustrating functional blocks of the digital camera 2 according to the second embodiment together with a data flow. The recording unit 100, the power supply control unit 102, and the navigation unit 103 illustrated in FIG. 10 are functional blocks that are realized by the CPU 10 operating according to the program 83. In the second embodiment, the position data 120, the observation data 121, and the timing data 123 are all created by the navigation unit 103.

第2の実施の形態における電力供給制御部102は、電力供給部18を制御して電力供給部18による電力の供給状態を制御する機能を有する。   The power supply control unit 102 in the second embodiment has a function of controlling the power supply unit 18 to control the power supply state by the power supply unit 18.

電力供給制御部102は、デジタルカメラ1の動作モードを通常モードと省電力モードとの間で切り替える機能を有している。通常モードから省電力モードに切り替えるとき、電力供給制御部102は、電力供給部18およびナビゲーション部103に対して省電力移行信号を伝達する。一方、省電力モードから通常モードに切り替えるとき、電力供給制御部102は、電力供給部18およびナビゲーション部103に対して通常移行信号を伝達する。   The power supply control unit 102 has a function of switching the operation mode of the digital camera 1 between the normal mode and the power saving mode. When switching from the normal mode to the power saving mode, the power supply control unit 102 transmits a power saving transition signal to the power supply unit 18 and the navigation unit 103. On the other hand, when switching from the power saving mode to the normal mode, the power supply control unit 102 transmits a normal transition signal to the power supply unit 18 and the navigation unit 103.

なお、本実施の形態におけるデジタルカメラ2は、デジタルカメラ1と同様に、デジタルカメラ2の電源がONの状態のときに通常モードで動作し、当該電源がOFFの状態のときに省電力モードで動作する。   Note that the digital camera 2 in the present embodiment operates in the normal mode when the power of the digital camera 2 is on, and in the power saving mode when the power is off, as with the digital camera 1. Operate.

電力供給制御部102は、ナビゲーション部103により求められた停止期間(タイミングデータ123)と、計時部17により計測される停止状態継続時間とに応じて、電力供給部18を制御する。   The power supply control unit 102 controls the power supply unit 18 according to the stop period (timing data 123) obtained by the navigation unit 103 and the stop state duration measured by the time measuring unit 17.

より具体的には、制御データ122がRAM12に格納されたときに、タイミングデータ123に示される停止期間を計時部17にセットする。また、制御データ122が作成されたタイミングに応じて復調部20への電力供給を停止させる信号(以下、「停止信号」と称する。)を電力供給部18に出力する。その後、停止状態計測時間が停止期間に達したことを示す起床信号を計時部17から受け取ると、電力供給部18に復調部20への電力供給を再開させる信号(以下、「再開信号」と称する。)を出力する。   More specifically, when the control data 122 is stored in the RAM 12, the stop period indicated by the timing data 123 is set in the timer unit 17. In addition, a signal for stopping power supply to the demodulation unit 20 (hereinafter referred to as “stop signal”) is output to the power supply unit 18 in accordance with the timing at which the control data 122 is created. Thereafter, when a wake-up signal indicating that the stop state measurement time has reached the stop period is received from the time measuring unit 17, a signal for causing the power supply unit 18 to resume power supply to the demodulation unit 20 (hereinafter referred to as a "restart signal"). .) Is output.

ナビゲーション部103は、復調部20からの相関信号(第1の実施の形態における相関処理部193からの出力信号と同等の信号)に応じて、観測データ121を作成する。また、操作部13から入力される測位指示に応じて、観測データ121に基づいて測位処理を実行し、位置データ120を作成する。   The navigation unit 103 creates observation data 121 according to the correlation signal from the demodulation unit 20 (a signal equivalent to the output signal from the correlation processing unit 193 in the first embodiment). In addition, a positioning process is executed based on the observation data 121 in accordance with a positioning instruction input from the operation unit 13 to create position data 120.

なお、ナビゲーション部103は、動作モードおよび相関信号に応じて、観測データ121に基づいてタイミングデータ123を作成するとともに、タイミングデータ123の作成が完了したタイミングを復調部20に通知するが、詳細は後述する。   The navigation unit 103 creates the timing data 123 based on the observation data 121 according to the operation mode and the correlation signal, and notifies the demodulation unit 20 of the timing when the creation of the timing data 123 is completed. It will be described later.

図11は、第2の実施の形態における復調部20をデータの流れとともに示す図である。   FIG. 11 is a diagram illustrating the demodulator 20 according to the second embodiment together with the data flow.

第2の実施の形態における復調部20は、アンテナ190、RFIC191、レプリカ信号生成回路192、相関処理部193、レシーバプロセッサ194、ROM196およびRAM197を備えている。   The demodulator 20 in the second embodiment includes an antenna 190, an RFIC 191, a replica signal generation circuit 192, a correlation processor 193, a receiver processor 194, a ROM 196, and a RAM 197.

第1の実施の形態における復調部19と比較すれば、復調部20は、ナビゲーションプロセッサ195に相当する構成を備えていないことと、ROM196がプログラム81の代わりにプログラム84を格納していること、および、相関処理部193から出力される相関信号がCPU10に向けて出力されることが異なっている。   Compared with the demodulator 19 in the first embodiment, the demodulator 20 does not have a configuration corresponding to the navigation processor 195 and that the ROM 196 stores the program 84 instead of the program 81. The difference is that the correlation signal output from the correlation processing unit 193 is output to the CPU 10.

第2の実施の形態におけるレシーバプロセッサ194は、プログラム84に従って動作することにより、第1の実施の形態におけるレシーバプロセッサ194とほぼ同様の機能を実現する。   The receiver processor 194 in the second embodiment operates in accordance with the program 84, thereby realizing substantially the same function as the receiver processor 194 in the first embodiment.

ただし、第2の実施の形態におけるレシーバプロセッサ194は、タイミングデータ123が作成されたタイミングをCPU10(ナビゲーション部103)から通知され、それに応じて制御データ122をRAM12に記憶させる。   However, the receiver processor 194 in the second embodiment is notified from the CPU 10 (navigation unit 103) of the timing at which the timing data 123 is created, and stores the control data 122 in the RAM 12 accordingly.

図12、図13および図14は、第2の実施の形態におけるデジタルカメラ2の動作を示す流れ図である。   12, 13 and 14 are flowcharts showing the operation of the digital camera 2 in the second embodiment.

第2の実施の形態におけるデジタルカメラ2は電源がOFFの状態において、省電力モードで動作している。したがって、ユーザによって電源ボタン(操作部13)が操作され、デジタルカメラ1の電源がONの状態にされると、CPU10(電力供給制御部102)は、動作モードを省電力モードから通常モードに切り替える。すなわち、電源がONの状態に切り替えられたことを検出すると、電力供給制御部102は、電力供給部18およびナビゲーション部103に対して通常移行信号を伝達する(ステップS41)。   The digital camera 2 in the second embodiment operates in the power saving mode when the power is off. Therefore, when the user operates the power button (operation unit 13) and the digital camera 1 is turned on, the CPU 10 (power supply control unit 102) switches the operation mode from the power saving mode to the normal mode. . That is, when it is detected that the power is switched to the ON state, the power supply control unit 102 transmits a normal transition signal to the power supply unit 18 and the navigation unit 103 (step S41).

ステップS41が実行されたとき、電力供給部18による復調部20への電力の供給が停止されていた場合は、電力供給部18は復調部20への電力の供給を再開させる。したがって、動作モードが通常モードに切り替わるタイミングにかかわらず、ステップS41が実行された後は、復調部20から相関信号が出力される。   When the supply of power to the demodulation unit 20 by the power supply unit 18 is stopped when step S41 is executed, the power supply unit 18 resumes the supply of power to the demodulation unit 20. Therefore, the correlation signal is output from the demodulator 20 after step S41 is executed regardless of the timing at which the operation mode is switched to the normal mode.

ステップS41を実行すると、デジタルカメラ2は、撮像指示の有無(ステップS44)と、電源をOFFの状態に切り替える指示の有無(ステップS48)とを監視しながら、同期が確保されるまで(衛星を捕捉するまで)待機する状態となる(ステップS42)。   When step S41 is executed, the digital camera 2 monitors the presence / absence of an imaging instruction (step S44) and the presence / absence of an instruction to switch the power OFF (step S48) until synchronization is ensured (satellite A standby state is entered (until it is captured) (step S42).

そして、同期が確保されると(ステップS42においてYesと判定すると)、デジタルカメラ2は、引き続きステップS44,S48による監視を継続しながら、ナビゲーション部103が相関信号(復調信号)に基づいて送信データをデコードすることにより観測データ121を取得し更新(ステップS43)しつづける状態となる。この状態を、第2の実施の形態において、「通常モード維持状態」と称する。   Then, when synchronization is ensured (determined as Yes in step S42), the digital camera 2 continues to monitor in steps S44 and S48 while the navigation unit 103 transmits the transmission data based on the correlation signal (demodulated signal). Is obtained, the observation data 121 is acquired and updated (step S43). This state is referred to as a “normal mode maintaining state” in the second embodiment.

通常モード維持状態において、ユーザにより撮像指示がされると、CPU10はステップS44においてYesと判定する。そしてCPU10は撮像部16に撮像を実行させる。これにより、撮像部16が撮像処理を実行し画像データ124が取得される(ステップS45)。   When the user gives an imaging instruction in the normal mode maintaining state, the CPU 10 determines Yes in step S44. Then, the CPU 10 causes the imaging unit 16 to perform imaging. Thereby, the imaging unit 16 executes the imaging process, and the image data 124 is acquired (step S45).

ステップS45の処理と並行して、ナビゲーション部103は、測位処理を実行し位置データ120を求める(ステップS46)。なお、位置データ120を作成するのに必要な観測データ121が未だ取得されていないときは、観測データ121を取得してから位置データ120を求める。   In parallel with the process in step S45, the navigation unit 103 executes a positioning process to obtain the position data 120 (step S46). When the observation data 121 necessary for creating the position data 120 has not yet been acquired, the position data 120 is obtained after the observation data 121 is acquired.

画像データ124および位置データ120が取得されると、CPU10(記録部100)は、画像データ124と位置データ120とを関連づけて、撮像データ900をメモリカード90に記録する(ステップS47)。   When the image data 124 and the position data 120 are acquired, the CPU 10 (recording unit 100) associates the image data 124 with the position data 120 and records the imaging data 900 on the memory card 90 (step S47).

通常モード維持状態において、ユーザにより操作部13が操作され、デジタルカメラ2の電源をOFFの状態に切り替えるように指示がされると(ステップS48においてYes)、電力供給制御部102は、動作モードを省電力モードに切り替え、ナビゲーション部103に対して省電力移行信号を伝達する(ステップS51)。   When the operation unit 13 is operated by the user in the normal mode maintaining state and an instruction is given to switch the power of the digital camera 2 to the OFF state (Yes in step S48), the power supply control unit 102 changes the operation mode. The mode is switched to the power saving mode, and a power saving transition signal is transmitted to the navigation unit 103 (step S51).

CPU10から省電力移行信号が入力されると、電力供給部18は、電力の消費抑制を優先する状態となり、必要に応じて各構成に対する電力の供給を停止する。ただし、ステップS51において、電力供給部18は、復調部20に対する電力の供給は停止せずに継続する。   When a power saving transition signal is input from the CPU 10, the power supply unit 18 is in a state of giving priority to suppression of power consumption, and stops supplying power to each component as necessary. However, in step S51, the power supply unit 18 continues the supply of power to the demodulation unit 20 without stopping.

また、ステップS51において省電力モードへの切り替わりを通知する省電力移行信号を受け取ったナビゲーション部103は、RAM12に記憶されている観測データ121を取得する(ステップS52)。   In addition, the navigation unit 103 that has received the power saving transition signal notifying the switching to the power saving mode in step S51 acquires the observation data 121 stored in the RAM 12 (step S52).

通常モードでは、すでにステップS42ないしS48の処理が継続されているので、通常モードから省電力モードに切り替わったとき(ステップS51が実行されるとき)には、すでに同期が確保されており、ステップS43が繰り返されることによって観測データ121が更新されているので、すでに停止期間を求めるために必要なデータはデコード済みであると考えられる。しかし、通常モード維持状態が比較的短時間であり、未だ必要なデータが取得されていない場合、ナビゲーション部103は、ステップS52において、相関信号をデコードすることにより必要なデータが得られるまで待機する。   In the normal mode, since the processing of steps S42 to S48 has already been continued, when switching from the normal mode to the power saving mode (when step S51 is executed), synchronization is already ensured, and step S43 is performed. Since the observation data 121 is updated by repeating the above, it is considered that data necessary for obtaining the stop period has already been decoded. However, if the normal mode maintaining state is relatively short and the necessary data has not yet been acquired, the navigation unit 103 waits until necessary data is obtained by decoding the correlation signal in step S52. .

ステップS52を実行することにより、観測データ121が取得されると、ナビゲーション部103は当該観測データ121に基づいて、停止期間を求め(ステップS53)、タイミングデータ123の作成する。さらに、ナビゲーション部103は、タイミングデータ123が作成されたタイミングを復調部20のレシーバプロセッサ194に通知する。   When the observation data 121 is acquired by executing step S52, the navigation unit 103 obtains a stop period based on the observation data 121 (step S53) and creates the timing data 123. Further, the navigation unit 103 notifies the timing at which the timing data 123 is created to the receiver processor 194 of the demodulation unit 20.

ステップS53が実行されると、ナビゲーション部103からの通知に従って復調部20(レシーバプロセッサ194)が制御データ122を作成し、当該制御データ122をRAM12に記憶させる。   When step S53 is executed, the demodulator 20 (receiver processor 194) creates the control data 122 in accordance with the notification from the navigation unit 103, and stores the control data 122 in the RAM 12.

ステップS53を実行した後、CPU10は制御データ122がRAM12に記憶されるまで待機している(ステップS54)。そして、RAM12に制御データ122が記憶されると、電力供給制御部102は、ステップS54においてYesと判定し、ステップS53において作成されたタイミングデータ123に示される停止期間を計時部17にセットする。これにより、計時部17が停止状態継続時間の計測を開始する(ステップS55)。   After executing step S53, the CPU 10 stands by until the control data 122 is stored in the RAM 12 (step S54). When the control data 122 is stored in the RAM 12, the power supply control unit 102 determines Yes in step S54, and sets the stop period indicated in the timing data 123 created in step S53 in the time measuring unit 17. Thereby, the time measuring part 17 starts measurement of a stop state continuation time (step S55).

さらに、電力供給制御部102は、電力供給部18に対して停止信号を伝達する。これにより電力供給部18が、復調部20への電力の供給を停止する(ステップS656)。なお、ステップS56が実行されると、電力供給制御部102は、停止時間が経過するまで待機状態となる(ステップS61)。具体的には、計時部17からの起床信号を検出するまで待機する。   Further, the power supply control unit 102 transmits a stop signal to the power supply unit 18. As a result, the power supply unit 18 stops supplying power to the demodulation unit 20 (step S656). In addition, if step S56 is performed, the electric power supply control part 102 will be in a standby state until stop time passes (step S61). Specifically, it waits until it detects a wake-up signal from the timer 17.

計時部17から起床信号が入力されることにより停止時間が経過したことを検出すると、電力供給制御部102は、電力供給部18に向けて再開信号を出力する。これにより、電力供給部18による復調部20に対する電力の供給が再開される(ステップS62)。   When it is detected that the stop time has elapsed due to the wake-up signal being input from the time measuring unit 17, the power supply control unit 102 outputs a restart signal to the power supply unit 18. Thereby, the supply of power to the demodulation unit 20 by the power supply unit 18 is resumed (step S62).

詳細は後述するが、ステップS62が実行されて、復調部20に対する電力の供給が再開されると、停止期間中において停止していた相関信号の出力が再開される。   Although details will be described later, when step S62 is executed and the supply of power to the demodulation unit 20 is resumed, the output of the correlation signal that has been suspended during the suspension period is resumed.

停止期間中の復調部20に対する電力の供給が再開されるのは、停止期間が経過したとき(ステップS62においてYesと判定されたとき)と、停止期間中に電源がONの状態に切り替えられたとき(ステップS41が実行されたとき)とが存在する。しかし、ナビゲーション部103は、相関信号の出力が再開されたことを検出したときの動作モードを確認することにより、状況を判定できる。すなわち、動作モードが省電力モードのときは前者であり、動作モードが通常モードのときは後者である。   The supply of power to the demodulator 20 during the suspension period is resumed when the suspension period has elapsed (when determined Yes in step S62) and when the power supply is switched on during the suspension period. (When step S41 is executed). However, the navigation unit 103 can determine the situation by confirming the operation mode when it is detected that the output of the correlation signal has been resumed. That is, the former is when the operation mode is the power saving mode, and the latter when the operation mode is the normal mode.

ステップS62が実行されることにより、復調部20からの相関信号の出力が再開されると、ナビゲーション部103は、当該相関信号に応じて、同期が確保されているか否かを判定する(ステップS63)。そして、同期が確保されるまで(衛星が捕捉されるまで)、待機した後、ステップS52,S53と同様に、観測データ121の取得と取得した観測データ121に基づいて停止期間を求める処理を実行する(ステップS64,S65)。   When the output of the correlation signal from the demodulation unit 20 is resumed by executing step S62, the navigation unit 103 determines whether synchronization is ensured according to the correlation signal (step S63). ). Then, after waiting until the synchronization is ensured (until the satellite is acquired), similarly to steps S52 and S53, the acquisition of the observation data 121 and the process for obtaining the stop period based on the acquired observation data 121 are executed. (Steps S64 and S65).

第2の実施の形態においても、省電力モードにおいて、CPU10は操作部13からの割り込み信号を監視しており、デジタルカメラ2の電源がONの状態に切り替えられる指示を監視している(ステップS66)。電源がONの状態に切り替えられていない間(ステップS66においてNoと判定される間)、デジタルカメラ2はステップS54ないしS56およびS61ないしS65の処理を繰り返す。一方、電源がONの状態に切り替えられると、CPU10はステップS66においてYesと判定し、ステップS41に戻って処理を繰り返す。   Also in the second embodiment, in the power saving mode, the CPU 10 monitors an interrupt signal from the operation unit 13 and monitors an instruction to switch the power of the digital camera 2 to the ON state (step S66). ). While the power is not switched to the ON state (while it is determined No in step S66), the digital camera 2 repeats the processes of steps S54 to S56 and S61 to S65. On the other hand, when the power is switched to the ON state, the CPU 10 determines Yes in step S66, returns to step S41, and repeats the process.

以上が、主にデジタルカメラ2の動作の説明である。次に、復調部20の動作について詳細に説明する。   The above is the description of the operation of the digital camera 2 mainly. Next, the operation of the demodulator 20 will be described in detail.

図15は、第2の実施の形態における復調部20の動作を示す流れ図である。本実施の形態における復調部20は、電力供給部18からの電力供給が開始されることにより動作を開始し、電力供給部18からの電力供給が途絶えることにより動作を停止する。   FIG. 15 is a flowchart showing the operation of the demodulator 20 in the second embodiment. The demodulator 20 in the present embodiment starts operation when power supply from the power supply unit 18 is started, and stops operation when power supply from the power supply unit 18 is interrupted.

電力供給部18からの電力供給が再開されると、まず、レシーバプロセッサ194は、RAM12から制御データ122を読み出し、読み出した制御パラメータをセットし(ステップS71)、当該読み出した制御パラメータによりレプリカ信号生成回路192を制御する。これにより、レプリカ信号生成回路192は、第1の実施の形態と同様に、制御データ122に格納されていた制御パラメータに基づいてレプリカ信号を生成する(ステップS72)。   When the power supply from the power supply unit 18 is resumed, first, the receiver processor 194 reads the control data 122 from the RAM 12, sets the read control parameter (step S71), and generates a replica signal based on the read control parameter. The circuit 192 is controlled. As a result, the replica signal generation circuit 192 generates a replica signal based on the control parameter stored in the control data 122, as in the first embodiment (step S72).

なお、ステップS73ないしS78までの処理(衛星を捕捉するまでの処理)は、第1の実施の形態におけるステップS23ないしS28と同様に実行することができるため、説明を省略する。   Note that the processing from Steps S73 to S78 (processing until the satellite is captured) can be executed in the same manner as Steps S23 to S28 in the first embodiment, and thus description thereof is omitted.

衛星の捕捉が完了し、同期が確保されると、復調部20は衛星追尾を開始する(ステップS79)。これにより、復調部20の相関処理部193から、復調された送信信号がCPU10(ナビゲーション部103)に向けて出力される(ステップS80)。   When the acquisition of the satellite is completed and synchronization is ensured, the demodulator 20 starts satellite tracking (step S79). Thereby, the demodulated transmission signal is output from the correlation processing unit 193 of the demodulation unit 20 to the CPU 10 (navigation unit 103) (step S80).

レシーバプロセッサ194は、衛星追尾中において、ナビゲーション部103からの通知(タイミングデータ123が作成されたタイミングについての通知)を監視する(ステップS81)。   The receiver processor 194 monitors the notification from the navigation unit 103 (notification of the timing at which the timing data 123 is created) during satellite tracking (step S81).

衛星追尾中において、ナビゲーション部103からの通知がない間、レシーバプロセッサ194により衛星追尾状態が維持され、相関処理部193が復調信号を出力しつづける。一方、ナビゲーション部103からの通知があると、レシーバプロセッサ194は、制御パラメータを制御データ122としてRAM12に記憶させる(ステップS82)。   During the tracking of the satellite, while there is no notification from the navigation unit 103, the satellite tracking state is maintained by the receiver processor 194, and the correlation processing unit 193 continues to output the demodulated signal. On the other hand, when there is a notification from the navigation unit 103, the receiver processor 194 stores the control parameter in the RAM 12 as the control data 122 (step S82).

これにより、CPU10(電力供給制御部102)がステップS54においてYesと判定し、計時部17への停止期間のセットを完了させた後、ステップS56が実行され電力供給部18が復調部20への電力の供給を停止させる。   Thereby, after CPU10 (power supply control part 102) determines Yes in step S54, and completes the setting of the stop period to the time measuring part 17, step S56 is performed and the power supply part 18 is sent to the demodulation part 20. Stop supplying power.

以上のように、ナビゲーションプロセッサ195に相当する構成を欠く復調部20を備えたデジタルカメラ2によっても、第1の実施の形態と同様の効果を得ることができる。   As described above, the same effect as that of the first embodiment can also be obtained by the digital camera 2 including the demodulation unit 20 that lacks the configuration corresponding to the navigation processor 195.

また、第2の実施の形態における復調部20は、ナビゲーションプロセッサ195に相当する構成を備えていないため、送信信号を復調して外部のCPU10に出力するのみである。すなわち、送信データのデコード(観測データ121の取得:ステップS43,S52,S64)や測位処理(ステップS46)はCPU10(ナビゲーション部103)が実行するように構成されている。   Further, the demodulator 20 in the second embodiment does not have a configuration corresponding to the navigation processor 195, and therefore only demodulates the transmission signal and outputs it to the external CPU 10. That is, the CPU 10 (navigation unit 103) executes decoding of transmission data (acquisition of observation data 121: steps S43, S52, S64) and positioning processing (step S46).

これにより復調部20における処理量が抑制されるため復調部20における電力消費は抑制されるが、一方でCPU10において負荷が増大し電力消費が増大することが懸念される。そこで、デジタルカメラ2では、演算量の特に多い、ステップS46の処理をCPU10に対する負荷が低いタイミングで実行することによりCPU10を効率よく利用して、消費電力を抑制する。   As a result, the amount of processing in the demodulator 20 is suppressed, so that power consumption in the demodulator 20 is suppressed. However, there is a concern that the load increases in the CPU 10 and power consumption increases. Therefore, in the digital camera 2, the CPU 10 is efficiently used by controlling the power consumption by executing the processing of step S46, which has a particularly large amount of calculation, at a timing when the load on the CPU 10 is low.

例えば、メモリカード90に撮像データ900を書き込んでいるとき(ステップS47を実行しているとき)には、CPU10に書き込みのための待ち時間が生じる。したがって、そのタイミングにナビゲーション部103が測位処理(ステップS46)を実行する。   For example, when the imaging data 900 is written to the memory card 90 (when step S47 is executed), a waiting time for writing occurs in the CPU 10. Therefore, the navigation part 103 performs a positioning process (step S46) at the timing.

また、撮像部16が画像圧縮処理を行って画像データ124を作成しているとき(ステップS45を実行しているとき)にナビゲーション部103が測位処理(ステップS46)を実行してもよい。   Further, the navigation unit 103 may execute the positioning process (step S46) when the imaging unit 16 performs the image compression process to create the image data 124 (when the step S45 is executed).

また、ズーム操作により撮像部16のモータを制御している間に、ナビゲーション部103が測位処理(ステップS46)を実行してもよい。   Further, the navigation unit 103 may execute the positioning process (step S46) while controlling the motor of the imaging unit 16 by the zoom operation.

また、シャッターボタンが押下されたときには観測データ121(測位処理に必要なデータ)のみ取得して、一旦、画像データ124と関連づけておき、ユーザによって何らの処理も指示されていないときを検出し、ナビゲーション部103が撮像データ900に含まれる観測データ121により測位処理(ステップS46)を実行し、当該観測データ121を位置データ120に書き換えてもよい。デジタルカメラ2のように、特定の処理を実行中(撮像中または再生中)以外の期間においてCPU10の空き時間が生じる余地の多い装置には効果的である。   Further, when the shutter button is pressed, only the observation data 121 (data necessary for the positioning process) is acquired, and once associated with the image data 124, it is detected when no processing is instructed by the user. The navigation unit 103 may execute a positioning process (step S46) using the observation data 121 included in the imaging data 900, and the observation data 121 may be rewritten to the position data 120. This is effective for a device such as the digital camera 2 in which there is a lot of room for the CPU 10 to be idle during a period other than during execution of specific processing (during imaging or playback).

また、観測データ121を含む撮像データ900が外部のコンピュータに転送された後に、ナビゲーション部103に相当する機能により測位処理(ステップS46)と同等の処理を実行してもよい。   In addition, after the imaging data 900 including the observation data 121 is transferred to an external computer, a process equivalent to the positioning process (step S46) may be executed by a function corresponding to the navigation unit 103.

さらに、ユーザが表示部14に位置データ120を表示させるように指示したときにナビゲーション部103が測位処理(ステップS46)を実行してもよい。   Further, the navigation unit 103 may execute the positioning process (step S46) when the user instructs the display unit 14 to display the position data 120.

また、このようにCPU10に負荷がかからないタイミングに測位処理(ステップS46)を実行することにより、高機能なCPUを採用することなく、ナビゲーションプロセッサ195に相当する構成を除いた復調部20を採用できるので、全体としてコストを抑制できる。   In addition, by executing the positioning process (step S46) at a timing when the load is not applied to the CPU 10, the demodulating unit 20 excluding the configuration corresponding to the navigation processor 195 can be employed without employing a high-performance CPU. Therefore, the cost can be suppressed as a whole.

<3. 第3の実施の形態>
図16は、第3の実施の形態におけるゲーム機3を示す図である。本発明に係る記録装置としてのゲーム機3は、図16に示すように、ユーザによって携帯可能な装置として設計されており、後述するユーザデータを記録する。
<3. Third Embodiment>
FIG. 16 is a diagram illustrating the game machine 3 according to the third embodiment. As shown in FIG. 16, the game machine 3 as a recording device according to the present invention is designed as a device that can be carried by a user, and records user data to be described later.

図17は、第3の実施の形態におけるゲーム機3のブロック図である。図17に示すように、ゲーム機3は、各種データの演算を実行するCPU30、予め記憶されているデータに対する読み取りのみ可能なROM31、データの読み書きがいずれも可能なRAM32、操作部33および表示部34を備えている。また、ゲーム機3は、メモリカード90を装着することが可能なカードスロット35、計時部37、電力供給部38および復調部39を備えている。   FIG. 17 is a block diagram of the game machine 3 according to the third embodiment. As shown in FIG. 17, the game machine 3 includes a CPU 30 that performs calculations of various data, a ROM 31 that can only read data stored in advance, a RAM 32 that can both read and write data, an operation unit 33, and a display unit. 34 is provided. Further, the game machine 3 includes a card slot 35 into which a memory card 90 can be inserted, a timer unit 37, a power supply unit 38, and a demodulation unit 39.

CPU30は、ROM31に記憶されているプログラム85を読み出して、RAM32をワーキングエリアとして使用しつつ、当該プログラム85を実行することにより、ゲーム機3が備える各構成を制御する。このようにゲーム機3は、一般的なコンピュータとしての機能を有している。   The CPU 30 reads out the program 85 stored in the ROM 31 and controls the components included in the game machine 3 by executing the program 85 while using the RAM 32 as a working area. Thus, the game machine 3 has a function as a general computer.

図18は、第3の実施の形態におけるゲーム機3の機能ブロックをデータの流れとともに示す図である。図18に示す記録部300、電力供給制御部301および測位処理部302は、CPU30がプログラム85に従って動作することにより実現される機能ブロックである。   FIG. 18 is a diagram illustrating functional blocks of the game machine 3 according to the third embodiment together with a data flow. The recording unit 300, the power supply control unit 301, and the positioning processing unit 302 illustrated in FIG. 18 are functional blocks realized by the CPU 30 operating according to the program 85.

図18に示す位置データ320は、測位処理部302が実行する測位処理(後述)によって求められるゲーム機3(復調部39)のある時点における位置を特定するデータである。本実施の形態は、位置データ320は、ゲーム機3の存在する位置の緯度および経度を示すデータである。   The position data 320 shown in FIG. 18 is data for specifying the position of the game machine 3 (demodulation unit 39) at a certain point in time obtained by the positioning process (described later) executed by the positioning processing unit 302. In the present embodiment, the position data 320 is data indicating the latitude and longitude of the position where the game machine 3 exists.

観測データ321は、ある位置においてある瞬間にゲーム機3(復調部19)が観測したデータであり、復調された送信信号を測位処理部302がデコードすることにより得られるデータ(すなわち、衛星から送信された送信データ)である。ただし、観測データ321は、実際に衛星から送信されたデータ以外のデータを含んでいてもよい。このようなデータとして、例えば、送信データを受信(観測)したときの計時部37の値(受信時刻)や、衛星に搭載されている時計(送信時刻の基準となる)と計時部37との誤差などがある。   The observation data 321 is data observed by the game machine 3 (demodulation unit 19) at a certain position at a certain moment, and is obtained by the positioning processing unit 302 decoding the demodulated transmission signal (that is, transmitted from the satellite). Transmission data). However, the observation data 321 may include data other than the data actually transmitted from the satellite. As such data, for example, the value (reception time) of the clock unit 37 when transmission data is received (observed), the clock mounted on the satellite (which serves as a reference for the transmission time), and the clock unit 37 There are errors.

タイミングデータ323は、位置データ320と同様に測位処理部302によって作成される。タイミングデータ323は、復調部39への電力供給を停止させる期間(以下、「停止期間」と称する。)を示すデータであるが、詳細は後述する。   The timing data 323 is created by the positioning processing unit 302 as with the position data 320. The timing data 323 is data indicating a period during which power supply to the demodulator 39 is stopped (hereinafter referred to as “stop period”), details of which will be described later.

入力データ324は、ユーザが操作部33を操作することにより入力されたデータである。   The input data 324 is data input by the user operating the operation unit 33.

記録部300は、位置データ320と入力データ324とを関連づけて、カードスロット35を介してメモリカード90にユーザデータ901として記憶させる機能を有している。記録部300は、例えば、操作部33が操作されることにより入力された入力データ324と、当該入力データ324の入力を行ったときの位置データ320と関連づけてメモリカード90に記録する。このように本実施の形態におけるゲーム機3では、ユーザデータ901には入力データ324の入力位置を示す位置データ320が含まれる。   The recording unit 300 has a function of associating the position data 320 and the input data 324 and storing them as user data 901 in the memory card 90 via the card slot 35. For example, the recording unit 300 records the input data 324 input by operating the operation unit 33 and the position data 320 when the input data 324 is input in association with the memory card 90. Thus, in game machine 3 in the present embodiment, user data 901 includes position data 320 indicating the input position of input data 324.

電力供給制御部301は、電力供給部38を制御して電力供給部38による電力の供給状態を制御する機能を有する。   The power supply control unit 301 has a function of controlling the power supply unit 38 to control the power supply state by the power supply unit 38.

電力供給制御部301は、ゲーム機3の動作モードを通常モードと省電力モードとの間で切り替える機能を有している。通常モードから省電力モードに切り替えるとき、電力供給制御部301は、電力供給部38および測位処理部302に対して省電力移行信号を伝達する。一方、省電力モードから通常モードに切り替えるとき、電力供給制御部301は、電力供給部18および測位処理部302に対して通常移行信号を伝達する。   The power supply control unit 301 has a function of switching the operation mode of the game machine 3 between the normal mode and the power saving mode. When switching from the normal mode to the power saving mode, the power supply control unit 301 transmits a power saving transition signal to the power supply unit 38 and the positioning processing unit 302. On the other hand, when switching from the power saving mode to the normal mode, the power supply control unit 301 transmits a normal transition signal to the power supply unit 18 and the positioning processing unit 302.

なお、本実施の形態におけるゲーム機3は、ゲーム機3の電源がONの状態のときに通常モードで動作し、当該電源がOFFの状態のときに省電力モードで動作する。すなわち、動作モードの切り替えは操作部33からの入力信号を電力供給制御部301が検出することによって実行される。ただし、通常モードと省電力モードとの切り替えタイミングは、これに限定されるものではなく、ユーザによるゲーム機3の使用頻度(操作頻度)や、他の動作モード(再生モードか撮影モードか)等を参照して切り替えてもよい。   Note that the game machine 3 according to the present embodiment operates in the normal mode when the power of the game machine 3 is on, and operates in the power saving mode when the power is off. That is, the operation mode is switched when the power supply control unit 301 detects an input signal from the operation unit 33. However, the switching timing between the normal mode and the power saving mode is not limited to this, and the usage frequency (operation frequency) of the game machine 3 by the user, other operation modes (reproduction mode or shooting mode), etc. You may switch by referring to.

電力供給制御部301は、測位処理部302により求められた停止期間(タイミングデータ323)と、計時部37により計測される停止状態継続時間とに応じて、電力供給部38を制御する。   The power supply control unit 301 controls the power supply unit 38 according to the stop period (timing data 323) obtained by the positioning processing unit 302 and the stop state duration measured by the time measuring unit 37.

より具体的には、後述する制御データ322が退避されたときに(復調部39より通知される。)、タイミングデータ323に示される停止期間を計時部37にセットする。また、制御データ322が作成されたタイミングに応じて復調部39への電力供給を停止させる信号(以下、「停止信号」と称する。)を電力供給部38に出力する。その後、停止状態計測時間が停止期間に達したことを示す信号(以下、「起床信号」と称する。)を計時部37から受け取ると、電力供給部38に復調部39への電力供給を再開させる信号(以下、「再開信号」と称する。)を出力する。   More specifically, when control data 322 (to be described later) is saved (notified by the demodulator 39), the stop period indicated by the timing data 323 is set in the timer 37. In addition, a signal for stopping power supply to the demodulation unit 39 (hereinafter referred to as “stop signal”) is output to the power supply unit 38 in accordance with the timing at which the control data 322 is created. After that, when a signal indicating that the stop state measurement time has reached the stop period (hereinafter referred to as “wake-up signal”) is received from the timer 37, the power supplier 38 restarts power supply to the demodulator 39. A signal (hereinafter referred to as “resume signal”) is output.

測位処理部302は、復調部39によって作成され順次出力されるフレームデータに対してパリティチェックを行いつつ、当該フレームデータから送信データをデコードし、観測データ321を作成する。   The positioning processing unit 302 performs parity check on the frame data generated by the demodulation unit 39 and sequentially output, decodes transmission data from the frame data, and generates observation data 321.

例えば、GPSにおける衛星は、送信データ(PNコード)の送信時刻や当該衛星に固有の衛星軌道を表現したエフェメリスデータ、全衛星の概略の軌道を表現したアルマナックデータ等を含む送信データを送信しながら飛行している。測位処理部302は、この送信データをデコードすることにより取得して、観測データ321として出力する。   For example, a GPS satellite transmits transmission data including transmission time of transmission data (PN code), ephemeris data expressing a satellite orbit unique to the satellite, almanac data expressing an approximate orbit of all satellites, and the like. Flying. The positioning processing unit 302 obtains the transmission data by decoding it and outputs it as observation data 321.

また、測位処理部302は、観測データ321(送信データ)に基づいて、電力供給部38による復調部39への電力の供給を停止させる期間(停止期間)を求める。停止期間は、タイミングデータ323としてRAM32に出力され記憶される。タイミングデータ323を作成する手法については後述する。   In addition, the positioning processing unit 302 obtains a period (stop period) during which the power supply unit 38 stops supplying power to the demodulation unit 39 based on the observation data 321 (transmission data). The stop period is output and stored in the RAM 32 as timing data 323. A method for creating the timing data 323 will be described later.

さらに、測位処理部302は、操作部33(またはCPU30)から伝達されるタイミングに応じて、観測データ321に基づいて、当該タイミングにおけるゲーム機3(復調部39)の位置を演算(測位処理)し、位置データ320として出力し、RAM12に記憶させる。観測データ321から測位処理により位置データ320を求める手法は従来の技術を適用できる。   Further, the positioning processing unit 302 calculates the position of the game machine 3 (demodulation unit 39) at the timing based on the observation data 321 according to the timing transmitted from the operation unit 33 (or the CPU 30) (positioning processing). The position data 320 is output and stored in the RAM 12. A conventional technique can be applied to the method for obtaining the position data 320 from the observation data 321 by positioning processing.

図17に戻って、操作部33は、各種ボタン類やキー、スイッチ、コントローラ、ジョイスティック等が該当する。ユーザは、操作部33を操作することによってゲーム機3に対して、様々な情報を入力することができる。特に、ゲーム機3は、ゲーム機3の電源の状態を切り替える指示を入力するための電源ボタンを操作部33として備えている。   Returning to FIG. 17, the operation unit 33 corresponds to various buttons, keys, switches, controllers, joysticks, and the like. The user can input various information to the game machine 3 by operating the operation unit 33. In particular, the game machine 3 includes a power button as an operation unit 33 for inputting an instruction to switch the power state of the game machine 3.

表示部34は、各種ランプやLED、液晶パネル等であり、ユーザに対して各種のデータ(ゲームのプレイ画面等)を提示する機能を有している。なお、ゲーム機3は、タッチパネルディスプレイのようなデバイスを備えることによって操作部33および表示部34の機能を実現していてもよい。   The display unit 34 includes various lamps, LEDs, a liquid crystal panel, and the like, and has a function of presenting various data (game play screen, etc.) to the user. In addition, the game machine 3 may implement | achieve the function of the operation part 33 and the display part 34 by providing a device like a touch panel display.

カードスロット35は、可搬性の記憶媒体であるメモリカード90をゲーム機3に対して着脱自在に収納する機能を提供する。これによりゲーム機3(CPU30)は、メモリカード90を自機の記憶装置として使用することができ、ユーザデータ901等の比較的大容量のデータを記憶することができる。   The card slot 35 provides a function of detachably storing a memory card 90 that is a portable storage medium with respect to the game machine 3. Thereby, the game machine 3 (CPU 30) can use the memory card 90 as its own storage device, and can store a relatively large amount of data such as user data 901.

また、ゲーム機3から取り外されたメモリカード90は、図示しない外部のコンピュータ等に装着することができるように構成されている。したがって、ユーザは、メモリカード90に記憶されたユーザデータ901を外部のコンピュータ(例えば他のユーザのゲーム機)において読み出して利用することが可能である。   Further, the memory card 90 removed from the game machine 3 is configured to be able to be attached to an external computer or the like (not shown). Therefore, the user can read and use the user data 901 stored in the memory card 90 in an external computer (for example, another user's game machine).

なお、ゲーム機3は、図示しない外部のコンピュータとの間でデータ通信を行うための機能を備えていてもよい。このような機能を実現する構成としては、USB端子や赤外線通信部等が想定される。ゲーム機3がこのような構成を備えていれば、ユーザは、メモリカード90に記憶されたユーザデータ901を外部のコンピュータに転送して利用することが可能となる。   Note that the game machine 3 may have a function for performing data communication with an external computer (not shown). As a configuration for realizing such a function, a USB terminal, an infrared communication unit, or the like is assumed. If the game machine 3 has such a configuration, the user can transfer user data 901 stored in the memory card 90 to an external computer for use.

計時部37は、一般的な時計であり、時間を計測する機能を有している。特に、計時部37は、電力供給部38による復調部39への電力供給が停止されてからの停止状態継続時間を計測し、停止状態継続時間が停止時間に達すると、CPU30に起床信号により通知する機能を有している。   The timer unit 37 is a general clock and has a function of measuring time. In particular, the timer 37 measures the stop state duration after the power supply to the demodulation unit 39 by the power supply unit 38 is stopped, and notifies the CPU 30 by a wake-up signal when the stop state duration reaches the stop time. It has a function to do.

電力供給部38は、図示しない電池を備え、CPU30からの制御信号(省電力移行信号、停止信号、再開信号等)に応じて、ゲーム機3の各構成への電力供給を行う。特に、本実施の形態における電力供給部38は、復調部39への電力供給を担っている。   The power supply unit 38 includes a battery (not shown), and supplies power to each component of the game machine 3 according to control signals (power saving transition signal, stop signal, restart signal, etc.) from the CPU 30. In particular, the power supply unit 38 in the present embodiment is responsible for supplying power to the demodulation unit 39.

電力供給部38は、復調部39への電力供給を停止するときにおいても、復調部39のSRAM(後述する図19のRAM397)にリフレッシュ用の電力を供給しつづけるものとする。一方、電力供給部38は、復調部39の他の構成に対しては一括して電力を供給する。以下の説明では、特に断らない限り、「復調部39への電力の供給を停止する」とは、「復調部39のRAM397以外の構成に対して電力の供給を停止する」ことをいうものとする。   It is assumed that the power supply unit 38 continues to supply refreshing power to the SRAM (RAM 397 in FIG. 19 described later) of the demodulation unit 39 even when the power supply to the demodulation unit 39 is stopped. On the other hand, the power supply unit 38 collectively supplies power to the other components of the demodulation unit 39. In the following description, unless otherwise specified, “stopping power supply to the demodulator 39” means “stopping power supply to components other than the RAM 397 of the demodulator 39”. To do.

なお、図17では、電力供給部38からゲーム機3の各構成への電力供給線については図示を省略している。また、電力供給部38は、ゲーム機3が電源ケーブル等により商用電源に接続された場合には、各構成に対する電力供給を、先述の電池から当該商用電源に切り替える機能も有している。   In FIG. 17, the illustration of power supply lines from the power supply unit 38 to each component of the game machine 3 is omitted. In addition, when the game machine 3 is connected to a commercial power source by a power cable or the like, the power supply unit 38 also has a function of switching the power supply for each component from the battery described above to the commercial power source.

図19は、第3の実施の形態における復調部39をデータの流れとともに示す図である。復調部39は、後述する処理により、全地球測位システムにおける衛星から送信される電波を受信して当該衛星から送信される送信信号を復調する機能を有している。   FIG. 19 is a diagram illustrating the demodulation unit 39 according to the third embodiment together with the data flow. The demodulator 39 has a function of receiving a radio wave transmitted from a satellite in the global positioning system and demodulating a transmission signal transmitted from the satellite by a process described later.

図19に示すように、復調部39は、全地球測位システム(GNSS:Global Navigation Satellite System)における衛星から送信される電波を受信するアンテナ390、アンテナ390からの入力信号をデジタル信号に変換するRFIC391、レプリカ信号を生成するレプリカ信号生成回路392、RFIC391により変換されたデジタル信号とレプリカ信号生成回路392により生成されたレプリカ信号とに応じた相関処理を実行して相関信号を出力する相関処理部393を備えている。   As shown in FIG. 19, the demodulator 39 includes an antenna 390 that receives a radio wave transmitted from a satellite in a global navigation satellite system (GNSS), and an RFIC 391 that converts an input signal from the antenna 390 into a digital signal. A replica signal generation circuit 392 that generates a replica signal, and a correlation processing unit 393 that executes a correlation process according to the digital signal converted by the RFIC 391 and the replica signal generated by the replica signal generation circuit 392 and outputs a correlation signal It has.

アンテナ390は、全地球測位システムにおける衛星からの電波を受信してアナログ信号をRFIC391に伝達する。なお、以下では、特に断らない限り、全地球測位システムとして米国により提供されてるGPS(Global Positioning System)を採用する例について述べる。   The antenna 390 receives radio waves from satellites in the global positioning system and transmits analog signals to the RFIC 391. In the following, an example in which a GPS (Global Positioning System) provided by the United States as a global positioning system is employed unless otherwise specified will be described.

RFIC391は、アンテナ390から入力されるアナログ信号をダウンコンバートしつつデジタル信号に変換し、相関処理部393に向けて出力する。   The RFIC 391 converts the analog signal input from the antenna 390 into a digital signal while down-converting the analog signal, and outputs the digital signal to the correlation processing unit 393.

レプリカ信号生成回路392は、CPU394からの制御信号(制御パラメータを示す信号)に基づいてレプリカ信号を生成し、相関処理部393に向けて出力する。   The replica signal generation circuit 392 generates a replica signal based on a control signal (a signal indicating a control parameter) from the CPU 394 and outputs the replica signal to the correlation processing unit 393.

図19において詳細は図示していないが、レプリカ信号生成回路392は、衛星からデータを送信するための搬送波に対応したキャリアレプリカ信号を生成するキャリア生成回路と、衛星に固有の拡散コード(PNコード)に対応したコードレプリカ信号を生成するコード生成回路とを備えている。   Although not shown in detail in FIG. 19, the replica signal generation circuit 392 includes a carrier generation circuit that generates a carrier replica signal corresponding to a carrier wave for transmitting data from the satellite, and a spreading code (PN code unique to the satellite). And a code generation circuit for generating a code replica signal corresponding to (1).

キャリア生成回路は、後述の相関処理部393によりIF信号のI信号と相関処理されるキャリアレプリカ信号と、同じく相関処理部393によりIF信号のQ信号と相関処理されるキャリアレプリカ信号とを生成する。   The carrier generation circuit generates a carrier replica signal that is correlated with the I signal of the IF signal by a correlation processing unit 393, which will be described later, and a carrier replica signal that is correlated with the Q signal of the IF signal by the correlation processing unit 393. .

キャリア生成回路にはCPU394からの制御パラメータ(より詳細には周波数誤差に対応する制御パラメータ。以下、「周波数制御パラメータ」と称する。)が入力される。キャリア生成回路は、CPU394から入力される周波数制御パラメータに応じて、キャリアレプリカ信号の周波数を変更する。言い換えれば、キャリア生成回路は、CPU394から入力される周波数制御パラメータに応じた周波数のキャリアレプリカ信号を生成する。   A control parameter from the CPU 394 (more specifically, a control parameter corresponding to a frequency error; hereinafter referred to as “frequency control parameter”) is input to the carrier generation circuit. The carrier generation circuit changes the frequency of the carrier replica signal according to the frequency control parameter input from the CPU 394. In other words, the carrier generation circuit generates a carrier replica signal having a frequency corresponding to the frequency control parameter input from the CPU 394.

コード生成回路は、捕捉する衛星に固有のPNコードを選択して、当該PNコードに応じたコードレプリカ信号を生成する。なお、捕捉する衛星が切り替わるときには、コード生成回路は、切り替え先の衛星に固有のPNコードにより新たなコードレプリカ信号を生成する。また、コード生成回路は、CPU394からの制御パラメータ(より詳細にはコード位相差に対応する制御パラメータ。以下、「コード制御パラメータ」と称する。)に応じて、コードレプリカ信号の位相を変更することが可能である。   The code generation circuit selects a PN code specific to the satellite to be captured and generates a code replica signal corresponding to the PN code. When the satellite to be captured is switched, the code generation circuit generates a new code replica signal using a PN code unique to the switching destination satellite. The code generation circuit changes the phase of the code replica signal in accordance with a control parameter from the CPU 394 (more specifically, a control parameter corresponding to the code phase difference; hereinafter referred to as “code control parameter”). Is possible.

より詳細には、コード生成回路は、プロンプト(Prompt)コードレプリカ信号(P信号)と、プロンプトコードレプリカ信号に対して1/2チップだけ進相したアーリー(Early)コードレプリカ信号(E信号)と、プロンプトコードレプリカ信号に対して1/2チップだけ遅相したレート(Late)コードレプリカ信号(L信号)とを生成する。   More specifically, the code generation circuit includes a prompt code replica signal (P signal), an early code replica signal (E signal) advanced by ½ chip with respect to the prompt code replica signal, and Then, a rate code replica signal (L signal) delayed by ½ chip with respect to the prompt code replica signal is generated.

相関処理部393は、RFIC391からの入力信号(IF信号)を、レプリカ信号生成回路392(キャリア生成回路)から入力されるキャリアレプリカ信号によりベースバンド周波数にダウンコンバートする。さらに、相関処理部393は、上記ダウンコンバートされたデジタル信号(I信号およびQ信号)と、レプリカ信号生成回路392(コード生成回路)から入力されるコードレプリカ信号(E信号、P信号およびL信号)との相関処理を行う。すなわち、相関処理部393によって、RFIC391からの入力信号と、レプリカ信号生成回路392からのレプリカ信号とに応じた相関信号(IE信号、IP信号、IL信号、QE信号、QP信号およびQL信号)が生成され、CPU394に向けて出力される。   The correlation processing unit 393 down-converts the input signal (IF signal) from the RFIC 391 to the baseband frequency by the carrier replica signal input from the replica signal generation circuit 392 (carrier generation circuit). Further, the correlation processing unit 393 includes the down-converted digital signal (I signal and Q signal) and the code replica signal (E signal, P signal, and L signal) input from the replica signal generation circuit 392 (code generation circuit). ). That is, the correlation processing unit 393 generates correlation signals (IE signal, IP signal, IL signal, QE signal, QP signal, and QL signal) according to the input signal from the RFIC 391 and the replica signal from the replica signal generation circuit 392. Generated and output to the CPU 394.

図19に示すように、復調部39は、さらに、CPU394、プログラム86を格納する読み取り専用のROM396、および、復調部39への電力の供給が停止したときにおいてもバックアップされるRAM397を備えている。   As shown in FIG. 19, the demodulator 39 further includes a CPU 394, a read-only ROM 396 that stores the program 86, and a RAM 397 that is backed up even when power supply to the demodulator 39 is stopped. .

CPU394は、ROM396に記憶されているプログラム86を読み取って、RAM397をワーキングエリアとして使用しつつ、当該プログラム86を実行する。すなわち、CPU394は一般的なコンピュータとしての機能を有している。   The CPU 394 reads the program 86 stored in the ROM 396 and executes the program 86 while using the RAM 397 as a working area. That is, the CPU 394 has a function as a general computer.

CPU394は、相関処理部393から出力される相関信号(IE信号、IP信号、IL信号、QE信号、QP信号およびQL信号)に応じて、レプリカ信号生成回路392に対する制御パラメータにより当該レプリカ信号生成回路392を制御する。   In accordance with the correlation signal (IE signal, IP signal, IL signal, QE signal, QP signal, and QL signal) output from the correlation processing unit 393, the CPU 394 uses the replica signal generation circuit 392 according to the control parameter for the replica signal generation circuit 392. 392 is controlled.

例えば、衛星はそれぞれの衛星軌道上を高速に飛行しているため、当該衛星から送信される電波はドップラー効果によって本来の周波数に対して周波数誤差を生じている。さらに、当該飛行中の衛星と地球の自転により移動しているゲーム機3(復調部39)との間の相対速度はほぼ常に変化しており、ドップラー効果による周波数誤差もほぼ常に変化している。   For example, since satellites fly at high speeds on their orbits, radio waves transmitted from the satellites have a frequency error with respect to the original frequency due to the Doppler effect. Furthermore, the relative speed between the flying satellite and the game machine 3 (demodulation unit 39) moving due to the rotation of the earth is almost always changing, and the frequency error due to the Doppler effect is also almost always changing. .

そこで、CPU394は、相関処理部393から出力される相関信号を監視しつつ、キャリアレプリカ信号によってダウンコンバートされたデジタル信号と、レプリカ信号生成回路392からのレプリカ信号との相関が得られる(両信号の同期が得られる)ように、周波数制御パラメータを変更することにより、キャリアレプリカ信号生成回路(キャリアレプリカ信号)をフィードバック制御する。   Therefore, the CPU 394 obtains a correlation between the digital signal down-converted by the carrier replica signal and the replica signal from the replica signal generation circuit 392 while monitoring the correlation signal output from the correlation processing unit 393 (both signals). The carrier replica signal generation circuit (carrier replica signal) is feedback-controlled by changing the frequency control parameter so that the synchronization is obtained.

すなわち、CPU394は、周波数制御パラメータを変更しつつ、相関処理部393からの相関信号を監視して、周波数誤差を生じた搬送波の周波数を捕捉する。その後も相関処理部393からの相関信号を監視しつつ、同期した状態が維持されるように、周波数制御パラメータを変更し、周波数誤差が変化している搬送波の周波数を追尾する。このような制御は従来の技術(例えばPhase Locked LoopやFrequency Locked Loop等)を用いて実現できる。   That is, the CPU 394 monitors the correlation signal from the correlation processing unit 393 while changing the frequency control parameter, and captures the frequency of the carrier wave causing the frequency error. Thereafter, while monitoring the correlation signal from the correlation processing unit 393, the frequency control parameter is changed so that the synchronized state is maintained, and the frequency of the carrier wave whose frequency error is changed is tracked. Such control can be realized using conventional techniques (for example, Phase Locked Loop, Frequency Locked Loop, etc.).

さらに、衛星とゲーム機3(復調部39)との距離や、衛星時計と計時部37との誤差等により、RFIC391から入力されるIF信号と、レプリカ信号生成回路392により生成されるコードレプリカ信号との間にはコード位相差が生じる。そして、衛星およびゲーム機3は移動しているため、衛星とゲーム機3との距離はほぼ常に変化しており、コード位相差もほぼ常に変化している。   Further, an IF signal input from the RFIC 391 and a code replica signal generated by the replica signal generation circuit 392 due to a distance between the satellite and the game machine 3 (demodulation unit 39), an error between the satellite clock and the time measuring unit 37, or the like. There is a code phase difference between. Since the satellite and the game machine 3 are moving, the distance between the satellite and the game machine 3 is almost always changing, and the code phase difference is also almost always changing.

そこで、CPU394は、相関処理部393からの出力信号を監視しつつ、 ダウンコンバートされたデジタル信号(より詳細にはI信号およびQ信号)と、レプリカ信号生成回路392からのコードレプリカ信号との相関が得られる(両信号の同期が得られる)ようにコード制御パラメータを変更し、コードレプリカ信号生成回路(コードレプリカ信号)をフィードバック制御する。   Therefore, the CPU 394 monitors the output signal from the correlation processing unit 393 and correlates the down-converted digital signal (more specifically, the I signal and the Q signal) with the code replica signal from the replica signal generation circuit 392. Thus, the code control parameter is changed so that the synchronization of both signals is obtained, and the code replica signal generation circuit (code replica signal) is feedback-controlled.

すなわち、CPU394は、コード制御パラメータを変更しつつ、相関処理部393からの出力信号を監視して、ダウンコンバートされたデジタル信号とコードレプリカ信号との同期を確保する。その後もCPU394は、相関処理部393からの出力信号を監視しつつ、同期した状態が維持されるように、コード制御パラメータを変更し、位相を追尾する。このような制御は従来の技術(例えばDelay Locked Loop等)を用いて実現できる。   That is, the CPU 394 monitors the output signal from the correlation processing unit 393 while changing the code control parameter, and ensures synchronization between the down-converted digital signal and the code replica signal. Thereafter, the CPU 394 monitors the output signal from the correlation processing unit 393, changes the code control parameter and tracks the phase so that the synchronized state is maintained. Such control can be realized by using a conventional technique (for example, Delay Locked Loop).

CPU394は、衛星の捕捉が完了し(制御パラメータが適切な値に収束し)、同期が確保された状態となると、同期完了信号をCPU30に伝達する。   When the acquisition of the satellite is completed (the control parameter converges to an appropriate value) and the synchronization is ensured, the CPU 394 transmits a synchronization completion signal to the CPU 30.

また、CPU394は、復調部39に対する電力供給が停止される前に、制御パラメータをRAM397に退避させる機能も有している。すなわち、CPU394は、電力供給部38による電力供給が停止される直前のタイミング(本実施の形態では、測位処理部302がタイミングデータ323を作成したタイミング)で、その時点における制御パラメータを制御データ322としてRAM397に記憶させる。   The CPU 394 also has a function of saving control parameters in the RAM 397 before power supply to the demodulation unit 39 is stopped. In other words, the CPU 394 determines the control parameter at that time as the control data 322 at the timing immediately before the power supply by the power supply unit 38 is stopped (in this embodiment, the timing at which the positioning processing unit 302 creates the timing data 323). Is stored in the RAM 397.

なお、本実施の形態におけるCPU394は、制御パラメータのうち、周波数制御パラメータのみを制御データ322としてRAM397に退避させる。また、制御データ322のRAM397への退避が完了したときには、その旨を電力供給制御部301に通知する。   Note that the CPU 394 in the present embodiment saves only the frequency control parameter among the control parameters in the RAM 397 as the control data 322. When the saving of the control data 322 to the RAM 397 is completed, the power supply control unit 301 is notified to that effect.

さらに、CPU394は、電力供給部38による電力の供給が再開されたときに、RAM397に記憶されている制御データ322(本実施の形態では周波数制御パラメータ)を読み出し、読み出した制御パラメータによってレプリカ信号生成回路392に対する制御を再開する。   Furthermore, when the power supply by the power supply unit 38 is resumed, the CPU 394 reads the control data 322 (frequency control parameter in the present embodiment) stored in the RAM 397 and generates a replica signal based on the read control parameter. Control for the circuit 392 is resumed.

このように、第3の実施の形態におけるCPU394は、主に本発明における信号制御手段に相当する。   Thus, the CPU 394 in the third embodiment mainly corresponds to the signal control means in the present invention.

CPU394は、相関処理部393から出力される相関信号(同期が確保されている状態では、復調された送信信号となる)に基づいて、ビット(図示せず)を生成するとともに、当該ビットの到着時間(受信時間)とを関連づける。また、生成したビットを逐次RAM397に蓄えつつ、当該ビットからフレームデータ(図示せず)を構成する。作成されたフレームデータは、順次、測位処理部302に向けて出力される。   The CPU 394 generates a bit (not shown) based on the correlation signal output from the correlation processing unit 393 (in the state where synchronization is ensured, a demodulated transmission signal), and the arrival of the bit Correlate time (reception time). Further, the generated bits are sequentially stored in the RAM 397, and frame data (not shown) is configured from the bits. The created frame data is sequentially output toward the positioning processing unit 302.

第3の実施の形態における記録装置であるゲーム機3は、ゲーム画面(リアルタイムに表示される動画像)を表示部14に表示させる。このような装置では、ゲーム機3のCPU30は、各種の制御とともに、表示部14の表示画面の変更も実行する。したがって、CPU30は、表示期間中においてはVRAM(RAM32)の内容を書き換えることができず、所定の期間(Vブランク期間:VRAMのデータが表示部14に反映されていない期間)に書き換える必要があり、CPU30のプログラム85は表示部14への表示と同期して実行させる必要がある。すなわち、CPU30による処理(記録部300、電力供給制御部301および測位処理部302による処理)は、Vブランク周期に同期させる必要がある。   The game machine 3 which is a recording device in the third embodiment causes the display unit 14 to display a game screen (moving image displayed in real time). In such an apparatus, the CPU 30 of the game machine 3 also changes the display screen of the display unit 14 along with various controls. Therefore, the CPU 30 cannot rewrite the contents of the VRAM (RAM 32) during the display period, and needs to be rewritten during a predetermined period (V blank period: a period in which VRAM data is not reflected on the display unit 14). The program 85 of the CPU 30 needs to be executed in synchronization with the display on the display unit 14. That is, the processing by the CPU 30 (processing by the recording unit 300, the power supply control unit 301, and the positioning processing unit 302) needs to be synchronized with the V blank period.

一方で、衛星からの電波を受信して、送信信号を復調し、測位処理により位置データ320を求めるまでの一連の処理には、リアルタイムに制御することが必要な処理が含まれているため、CPU30で処理することが困難な処理が含まれる。   On the other hand, a series of processes from receiving radio waves from a satellite, demodulating a transmission signal, and obtaining position data 320 by positioning processing includes processing that needs to be controlled in real time. Processing that is difficult to be processed by the CPU 30 is included.

第3の実施の形態における復調部39は、CPU394を備えることにより、一連の処理のうち、CPU30に不向きな処理(比較的短周期に実行すべき処理)を復調部39で処理する一方で、CPU30に適した処理はCPU30に依存する。   The demodulator 39 in the third embodiment includes the CPU 394, so that the demodulator 39 processes a process unsuitable for the CPU 30 (a process to be executed in a relatively short cycle) in the series of processes. Processing suitable for the CPU 30 depends on the CPU 30.

このように、CPU30およびCPU394を、GPSにおける一連の処理を効率的に分担できるように構成することにより、ハードウェアを効率よく利用することができ、消費電力を抑制することができるとともに、コストも抑制することができる。   As described above, by configuring the CPU 30 and the CPU 394 so that a series of processes in the GPS can be efficiently shared, hardware can be used efficiently, power consumption can be suppressed, and cost can be reduced. Can be suppressed.

以上が、本実施の形態におけるゲーム機3の構成および機能の説明である。次に、ゲーム機3が衛星から送信される電波を受信して当該衛星から送信された送信データを取得する方法について説明する。   The above is the description of the configuration and functions of the game machine 3 in the present embodiment. Next, a method in which the game machine 3 receives radio waves transmitted from a satellite and acquires transmission data transmitted from the satellite will be described.

図20、図21および図22は、第3の実施の形態におけるゲーム機3の動作を示す流れ図である。   20, FIG. 21 and FIG. 22 are flowcharts showing the operation of the game machine 3 in the third embodiment.

第3の実施の形態におけるゲーム機3は電源がOFFの状態において、省電力モードで動作している。したがって、ユーザによって電源ボタン(操作部33)が操作され、ゲーム機3の電源がONの状態にされると、CPU30(電力供給制御部301)は、動作モードを省電力モードから通常モードに切り替え、電力供給部18および測位処理部302に対して通常移行信号を伝達する(ステップS91)。   The game machine 3 according to the third embodiment operates in the power saving mode when the power is OFF. Therefore, when the user operates the power button (operation unit 33) and the game machine 3 is turned on, the CPU 30 (power supply control unit 301) switches the operation mode from the power saving mode to the normal mode. The normal transition signal is transmitted to the power supply unit 18 and the positioning processing unit 302 (step S91).

ステップS91を実行すると、ゲーム機3は、フレームデータの有無と、データ入力の有無と、電源をOFFの状態に切り替える指示の有無とを監視しながら待機する状態となる(ステップS92,S94,S98)。この状態を、便宜上、「通常モード維持状態」と称する。   When step S91 is executed, the game machine 3 enters a standby state while monitoring the presence / absence of frame data, the presence / absence of data input, and the presence / absence of an instruction to switch the power off (steps S92, S94, S98). ). This state is referred to as “normal mode maintaining state” for convenience.

通常モード維持状態において、復調部39からフレームデータが入力されると、CPU30(測位処理部302)は、ステップS92おいてYesと判定する。そして、測位処理部302は、当該フレームデータに対してパリティチェックを行うとともに、送信データをデコードし、観測データ321を作成してRAM32に記憶させる。これにより、復調部39によって作成されたフレームデータ基づいて新たな観測データ321が取得される(ステップS93)。   When frame data is input from the demodulator 39 in the normal mode maintaining state, the CPU 30 (positioning processor 302) determines Yes in step S92. Then, the positioning processing unit 302 performs parity check on the frame data, decodes transmission data, creates observation data 321, and stores it in the RAM 32. Thereby, new observation data 321 is acquired based on the frame data created by the demodulator 39 (step S93).

通常モード維持状態において、ユーザによりデータ入力がされると、CPU30はステップS94においてYesと判定する。なお、ステップS94においてYesと判定するべきデータ入力とは、位置データ320とともにユーザデータ901を構成することになる入力データ324の入力である。   When data is input by the user in the normal mode maintaining state, the CPU 30 determines Yes in step S94. Note that the data input to be determined as Yes in step S94 is an input of the input data 324 that constitutes the user data 901 together with the position data 320.

ステップS94においてYesと判定すると、CPU30は、操作部33から入力されたデータに応じて入力データ324を作成するとともに、測位処理部302に測位処理(位置データ120を取得する処理)を実行させる。これにより、入力データ324が取得され(ステップS95)、位置データ320が取得される(ステップS96)。   If it is determined Yes in step S94, the CPU 30 creates input data 324 according to the data input from the operation unit 33, and causes the positioning processing unit 302 to execute positioning processing (processing for acquiring the position data 120). Thereby, the input data 324 is acquired (step S95), and the position data 320 is acquired (step S96).

入力データ324および位置データ320が取得されると、CPU30(記録部300)は、入力データ324と位置データ320とを関連づけて、ユーザデータ901を作成し、メモリカード90に記録する(ステップS97)。   When the input data 324 and the position data 320 are acquired, the CPU 30 (recording unit 300) associates the input data 324 with the position data 320, creates user data 901, and records it in the memory card 90 (step S97). .

通常モード維持状態において、ユーザにより操作部33が操作され、ゲーム機3の電源をOFFの状態に切り替えるように指示されると、CPU30はステップS98においてYesと判定する。   When the operation unit 33 is operated by the user in the normal mode maintaining state and the game machine 3 is instructed to be switched off, the CPU 30 determines Yes in step S98.

ステップS98においてYesと判定すると、CPU30(電力供給制御部301)は、動作モードを省電力モードに切り替え、電力供給部38および測位処理部302に対して省電力移行信号を伝達する(ステップS101)。なお、ステップS101を実行すると、電力供給制御部301は、復調部39のCPU394が制御データ322をRAM397に格納したことを通知してくるまで待機する(ステップS104)。   If it determines with Yes in step S98, CPU30 (power supply control part 301) will switch an operation mode to a power saving mode, and will transmit a power saving transfer signal to the power supply part 38 and the positioning process part 302 (step S101). . When step S101 is executed, the power supply control unit 301 waits until the CPU 394 of the demodulation unit 39 notifies that the control data 322 is stored in the RAM 397 (step S104).

CPU30から省電力移行信号が入力されると、電力供給部38は、電力の消費抑制を優先する状態となり、必要に応じて各構成に対する電力の供給を停止する。ただし、ステップS101において、電力供給部38は、復調部39に対する電力の供給は停止せずに継続する。   When a power saving transition signal is input from the CPU 30, the power supply unit 38 is in a state of giving priority to suppression of power consumption, and stops supplying power to each component as necessary. However, in step S101, the power supply unit 38 continues the supply of power to the demodulation unit 39 without stopping.

一方、ステップS101において省電力移行信号を受け取った測位処理部302は、タイミングデータ323を作成するために必要な観測データ321をRAM32から取得し(ステップS102)、復調部39に対する電力の供給を停止させる期間を求める(ステップS103)。   On the other hand, the positioning processing unit 302 that has received the power saving transition signal in step S101 acquires the observation data 321 necessary for creating the timing data 323 from the RAM 32 (step S102), and stops supplying power to the demodulating unit 39. The period to perform is calculated | required (step S103).

先述のように、衛星を捕捉(追尾)している状態において、CPU394における制御パラメータ(周波数制御パラメータおよびコード制御パラメータ)は、主にドップラー効果によって生じる周波数誤差と、主に相対距離および時計のズレによって生じる位相差とに応じた値である。   As described above, the control parameters (frequency control parameter and code control parameter) in the CPU 394 in the state of acquiring (tracking) the satellite are the frequency error mainly caused by the Doppler effect, the relative distance, and the clock deviation. This is a value corresponding to the phase difference caused by.

さらに、周波数誤差および位相差はほぼ常に変化する。しかも全ての送信データを受信するには最大で12分以上も必要となる。したがって、必要な送信データのデコードを継続するためには、CPU394は、衛星を捕捉した後も、制御パラメータを変更しつつ、PLL(FLL)により衛星を追尾しつづける。   Furthermore, the frequency error and phase difference change almost always. In addition, a maximum of 12 minutes or more is required to receive all transmission data. Therefore, in order to continue decoding the necessary transmission data, the CPU 394 continues to track the satellite by using the PLL (FLL) while changing the control parameter even after the satellite is captured.

しかし、ゲーム機3は、省電力モードにおいて復調部39に対する電力の供給を停止するため、電力の供給が停止されている状態では、CPU394は衛星を追尾することはできない。したがって、復調部39への電力供給が再開されたときには、CPU394は衛星の捕捉から処理をやりなおす必要がある。   However, since the game machine 3 stops the power supply to the demodulation unit 39 in the power saving mode, the CPU 394 cannot track the satellite in a state where the power supply is stopped. Therefore, when the power supply to the demodulator 39 is resumed, the CPU 394 needs to repeat the process from capturing the satellite.

本実施の形態におけるCPU394は電力の供給が停止されている間もRAM397に制御データ322(制御パラメータ)を退避させており、電力の供給が再開されて衛星の捕捉をやりなおす際には、当該RAM397に退避しておいた制御パラメータ(制御データ322)で衛星の捕捉を開始する。   The CPU 394 in the present embodiment saves the control data 322 (control parameter) in the RAM 397 even while the power supply is stopped. When the power supply is resumed and the satellite acquisition is performed again, the RAM 397 is saved. The satellite acquisition is started with the control parameter (control data 322) saved in step S2.

この場合、電力の供給が停止される直前に生じていた周波数誤差と、電力の供給が再開されたときの周波数誤差とが近似していれば、電力の供給が停止される直前の周波数制御パラメータと、電力の供給が再開されたときに衛星を捕捉するために必要な周波数制御パラメータ(すなわち適切な周波数制御パラメータ)とは近似する。   In this case, if the frequency error that occurred immediately before the power supply is stopped and the frequency error when the power supply is restarted are approximate, the frequency control parameter immediately before the power supply is stopped And the frequency control parameter necessary for acquiring the satellite when power supply is resumed (ie, an appropriate frequency control parameter).

衛星の捕捉を開始するときのCPU394は制御パラメータを変更しつつ、適切な制御パラメータを決定する。したがって、電力の供給が再開されたときの制御パラメータが適切な周波数制御パラメータに近似しているほど、制御パラメータを変更して検索する回数が減るため、衛星の捕捉を開始してから実際に捕捉するまでに要する時間が短くなる。   The CPU 394 at the start of satellite acquisition determines an appropriate control parameter while changing the control parameter. Therefore, the closer the control parameter to the appropriate frequency control parameter when the power supply is resumed, the fewer times the search will be performed by changing the control parameter. The time required to do this is shortened.

この原理より、CPU394は、観測データ321に基づいて電力の供給が停止されている間の周波数誤差の経時変化量(すなわち、周波数制御パラメータの適正値の経時変化量に相当する。)を予測して、当該変化量が閾値以内となるように、停止期間を求める。なお、閾値とは、CPU394が衛星を追尾する際に用いるPLL(またはFLL)において、周波数制御パラメータを適切な周波数制御パラメータに収束させることができる周波数誤差の変化量の許容最大値である。   Based on this principle, the CPU 394 predicts the amount of change over time of the frequency error while the power supply is stopped based on the observation data 321 (that is, the amount of change over time of the appropriate value of the frequency control parameter). Thus, the stop period is obtained so that the amount of change is within the threshold. The threshold value is an allowable maximum value of the amount of change in frequency error that can converge the frequency control parameter to an appropriate frequency control parameter in the PLL (or FLL) used when the CPU 394 tracks the satellite.

周波数誤差は、先述のようにドップラー効果によって生じ、ドップラー効果は衛星と復調部39との相対速度によって生じる。したがって、周波数誤差の経時変化は、衛星と復調部39との間の相対加速度によって生じ、停止期間中の周波数誤差の経時変化量の予測値は、当該相対加速度の時間分布を停止期間中にわたって積分することによって求めることができる。   The frequency error is caused by the Doppler effect as described above, and the Doppler effect is caused by the relative speed between the satellite and the demodulator 39. Therefore, the time variation of the frequency error is caused by the relative acceleration between the satellite and the demodulator 39, and the predicted value of the time variation of the frequency error during the stop period is obtained by integrating the time distribution of the relative acceleration over the stop period. You can ask for it.

長期的にみれば、周波数誤差が同一となる瞬間(同じ周波数制御パラメータで衛星を捕捉することが可能となる瞬間)は何度も訪れる。したがって、そのような瞬間にのみ電力の供給を再開させると、長期間、電力の供給を停止できるので電力の消費抑制効果が大きく、一見好ましい。しかし、ユーザによる測位指示がそのような瞬間に近いタイミングでのみ行われることは一般に期待できないので、ユーザによる測位指示がどのようなタイミングで行われたとしても、周波数誤差の変化量が閾値以内となるように維持しておくことが好ましい。   In the long run, the moment when the frequency error is the same (the moment when the satellite can be acquired with the same frequency control parameter) will come many times. Therefore, it is preferable to restart the supply of power only at such a moment because the power supply can be stopped for a long period of time, so that the effect of suppressing the power consumption is great. However, since it is generally not expected that the positioning instruction by the user will be given only at a timing close to such an instant, no matter what timing the positioning instruction is given by the user, the change amount of the frequency error is within the threshold value. It is preferable to keep it as it is.

したがって、本実施の形態における測位処理部302は、周波数誤差の経時変化量の予測値と閾値とが、現時点以後に、初めて等しくなる時間を求め、当該時間に電力の供給を再開するように停止期間を求める。   Therefore, the positioning processing unit 302 according to the present embodiment obtains a time when the predicted value of the frequency error change over time and the threshold value are equal for the first time after the present time, and stops so as to resume the supply of power at that time. Ask for a period.

衛星と復調部39との相対加速度は、衛星の速度が既知であるため、衛星の軌道と、衛星の位置と、復調部39の位置と、復調部39の速度とによって求まる。また、復調部39の速度は、復調部39の位置と、当該位置における地球の自転速度と、復調部39の地球に対する相対速度とによって求まる。なお、地球に対する復調部39の相対速度はドップラー効果に対する影響が小さいので無視してもよい。また、復調部39の位置が求まれば、当該位置における地球の自転速度は求めることができる。   The relative acceleration between the satellite and the demodulator 39 is obtained from the orbit of the satellite, the position of the satellite, the position of the demodulator 39, and the speed of the demodulator 39 because the speed of the satellite is known. The speed of the demodulator 39 is obtained from the position of the demodulator 39, the rotation speed of the earth at the position, and the relative speed of the demodulator 39 to the earth. Note that the relative speed of the demodulator 39 with respect to the earth has a small influence on the Doppler effect and may be ignored. Moreover, if the position of the demodulation part 39 is calculated | required, the rotation speed of the earth in the said position can be calculated | required.

GPSにおいて、観測データ321に含まれているエフェメリスデータが有効であれば、衛星の軌道と衛星の位置は当該エフェメリスデータから求まる。また、復調部39の位置は観測データ321から測位処理と同様の処理により求まる。さらに、停止期間が比較的短時間であれば、衛星時刻と計時部37の時刻との誤差は一定とみなせる。   If the ephemeris data included in the observation data 321 is valid in GPS, the orbit of the satellite and the position of the satellite can be obtained from the ephemeris data. Further, the position of the demodulator 39 is obtained from the observation data 321 by a process similar to the positioning process. Furthermore, if the stop period is relatively short, the error between the satellite time and the time of the time measuring unit 37 can be regarded as constant.

以上のことから、CPU30(測位処理部302)は、ステップS103において、観測データ321に基づいて、停止期間(タイミングデータ323)を求めることができる。なお、ステップS103によりタイミングデータ323を作成すると、測位処理部302は、その旨を復調部39のCPU394に通知する。この通知により、CPU394は制御パラメータを制御データ322としてRAM397に退避させる。   From the above, the CPU 30 (positioning processing unit 302) can obtain the stop period (timing data 323) based on the observation data 321 in step S103. When the timing data 323 is created in step S103, the positioning processing unit 302 notifies the CPU 394 of the demodulation unit 39 to that effect. With this notification, the CPU 394 saves the control parameter in the RAM 397 as the control data 322.

ステップS104によりCPU30が待機している状態において、制御データ322が作成されると、電力供給制御部301は、ステップS104においてYesと判定し、ステップS103において作成されたタイミングデータ323に示される停止期間を計時部37にセットする。これにより、計時部37が停止状態継続時間の計測を開始する(ステップS105)。   When the control data 322 is created while the CPU 30 is waiting in step S104, the power supply control unit 301 determines Yes in step S104, and the stop period indicated in the timing data 323 created in step S103. Is set in the timer 37. Thereby, the time measuring part 37 starts measurement of a stop state continuation time (step S105).

さらに、電力供給制御部301は、電力供給部38に対して停止信号を伝達する。これにより電力供給部38が復調部39への電力の供給を停止する(ステップS106)。なお、ステップS106が実行されると、電力供給制御部301は、停止時間が経過するまで待機状態となる(ステップS111)。   Further, the power supply control unit 301 transmits a stop signal to the power supply unit 38. As a result, the power supply unit 38 stops supplying power to the demodulation unit 39 (step S106). In addition, if step S106 is performed, the electric power supply control part 301 will be in a standby state until stop time passes (step S111).

計時部37から起床信号が入力されることにより停止時間が経過したことを検出すると、電力供給制御部301は、電力供給部38に向けて再開信号を出力する。これにより、電力供給部38による復調部39に対する電力の供給が再開される(ステップS112)。   When it is detected that the stop time has elapsed due to the wake-up signal being input from the time measuring unit 37, the power supply control unit 301 outputs a restart signal to the power supply unit 38. Thereby, the supply of power to the demodulation unit 39 by the power supply unit 38 is resumed (step S112).

電力の供給が再開されると、測位処理部302は復調部39からの同期完了信号を監視することにより、復調部39による衛星の捕捉が完了したか否かを判定しつつ待機する(ステップS113)。   When the supply of power is resumed, the positioning processing unit 302 monitors the synchronization completion signal from the demodulation unit 39, and waits while determining whether or not the satellite acquisition by the demodulation unit 39 is completed (step S113). ).

衛星の捕捉が完了すると、測位処理部302は、ステップS102,S103と同様に、RAM32から観測データ321を取得して(ステップS114)、停止期間を求める(ステップS115)。これにより、RAM32に新たなタイミングデータ323が作成されるとともに、その旨が復調部39に通知される。   When the acquisition of the satellite is completed, the positioning processing unit 302 acquires the observation data 321 from the RAM 32 (step S114) and obtains the stop period (step S115), similarly to steps S102 and S103. As a result, new timing data 323 is created in the RAM 32 and a notification to that effect is given to the demodulator 39.

なお、ステップS104ないしS106およびステップS111ないしS115が実行されている間、CPU30は、操作部33からの割り込み信号を監視することにより、ユーザによってゲーム機3の電源がONの状態に切り替えられたか否かを監視している(ステップS116)。これによりゲーム機3は、省電力モードにおいてユーザが電源をONの状態に切り替えない間は、ステップS104ないしS106およびステップS111ないしS115の処理を継続する。一方、ユーザが電源をONの状態に切り替える操作を行った場合は、電力供給制御部301はステップS116においてYesと判定し、ステップS91からの処理を繰り返す。   While steps S104 to S106 and steps S111 to S115 are being executed, the CPU 30 monitors an interrupt signal from the operation unit 33 to determine whether or not the user has switched the game machine 3 to the ON state. Is monitored (step S116). Thereby, the game machine 3 continues the processes of steps S104 to S106 and steps S111 to S115 while the user does not switch the power supply to the ON state in the power saving mode. On the other hand, when the user performs an operation of switching the power supply to the ON state, the power supply control unit 301 determines Yes in step S116 and repeats the processing from step S91.

以上が、主にゲーム機3の動作の説明である。次に、復調部39の動作について詳細に説明する。   The above is the description of the operation of the game machine 3 mainly. Next, the operation of the demodulator 39 will be described in detail.

図23および図24は、第3の実施の形態における復調部39の動作を示す流れ図である。本実施の形態における復調部39は、電力供給部38からの電力供給が開始されることにより動作を開始し、電力供給部38からの電力供給が途絶えることにより動作を停止する。ただし、復調部39のRAM397に対しては、常に、リフレッシュ用の電力が電力供給部38から供給され、RAM397の内容がバックアップされる。   23 and 24 are flowcharts showing the operation of the demodulator 39 in the third embodiment. The demodulator 39 in the present embodiment starts operation when power supply from the power supply unit 38 is started, and stops operation when power supply from the power supply unit 38 is interrupted. However, refresh power is always supplied from the power supply unit 38 to the RAM 397 of the demodulation unit 39, and the contents of the RAM 397 are backed up.

電力供給部38からの電力供給が再開されると、まず、CPU394は、RAM397から制御データ322を読み出し、読み出した制御パラメータをセットし(ステップS121)、当該読み出した制御パラメータによりレプリカ信号生成回路392を制御する。これにより、レプリカ信号生成回路392は、制御データ322に格納されていた制御パラメータに基づいてレプリカ信号を生成する(ステップS122)。   When power supply from the power supply unit 38 is resumed, the CPU 394 first reads the control data 322 from the RAM 397, sets the read control parameter (step S121), and uses the read control parameter to generate the replica signal generation circuit 392. To control. Thereby, the replica signal generation circuit 392 generates a replica signal based on the control parameter stored in the control data 322 (step S122).

すなわち、CPU394は、復調部39への電力の供給が再開されたときに、RAM397に記憶されている制御パラメータ(制御データ322)によって、レプリカ信号生成回路392に対する制御を再開する。   That is, the CPU 394 resumes control of the replica signal generation circuit 392 by the control parameter (control data 322) stored in the RAM 397 when the supply of power to the demodulation unit 39 is resumed.

これは、復調部19への電力供給を停止させたときに衛星を追尾していたレプリカ信号(以下、「過去レプリカ信号」と称する。)を、RAM397から読み出した制御パラメータによって近似的に再現し、このレプリカ信号(以下、「近似過去レプリカ信号」と称する)によって、今回の衛星の捕捉を開始することに相当する(ただし、本実施の形態では周波数追尾のみ)。   This is a replica signal (hereinafter referred to as “past replica signal”) that has been tracking the satellite when the power supply to the demodulator 19 is stopped approximately reproduced by the control parameter read from the RAM 397. This replica signal (hereinafter referred to as “approximate past replica signal”) corresponds to the start of acquisition of the current satellite (however, in this embodiment, only frequency tracking).

なお、電力供給が開始された時点において、制御データ322が格納されていない場合(例えば、工場出荷時等)や、制御データ322に含まれていない制御パラメータ(本実施の形態ではコード制御パラメータ)も存在する。CPU394は、このような制御パラメータについては、ROM396に記憶されている初期値の制御パラメータを、捕捉開始時の制御パラメータとしてセットする。   When control data 322 is not stored at the time when power supply is started (for example, at the time of factory shipment), control parameters that are not included in control data 322 (in this embodiment, code control parameters) Is also present. For such control parameters, the CPU 394 sets an initial value control parameter stored in the ROM 396 as a control parameter at the start of acquisition.

次に、相関処理部393が、相関処理を実行し(ステップS123)、アンテナ390からの入力信号をRFIC391により変換したデジタル信号と、CPU394からの制御パラメータに基づいてレプリカ信号生成回路392により生成されるレプリカ信号とに応じた相関信号を生成する。   Next, the correlation processing unit 393 executes correlation processing (step S123), and is generated by the replica signal generation circuit 392 based on the digital signal obtained by converting the input signal from the antenna 390 by the RFIC 391 and the control parameter from the CPU 394. A correlation signal corresponding to the replica signal is generated.

より詳細には、相関処理部393は、RFIC391により変換したデジタル信号を、ステップS122において生成されるキャリアレプリカ信号によりダウンコンバートしつつ、ダウンコンバートされたデジタル信号とステップS122において生成されるコードレプリカ信号との相関処理を行う。   More specifically, the correlation processing unit 393 down-converts the digital signal converted by the RFIC 391 with the carrier replica signal generated in Step S122, and the code signal generated in Step S122 and the code replica signal generated in Step S122. Correlation processing is performed.

さらに、CPU394は、相関処理部393から出力される相関信号に応じて、両信号の同期が得られているか否かを判定する(ステップS124)。そして、位相が一致していない場合は(ステップS125においてNo)コード制御パラメータを変更し(ステップS126)、周波数が一致していない場合は(ステップS127においてNo)周波数制御パラメータを変更する(ステップS128)。   Further, the CPU 394 determines whether or not the two signals are synchronized according to the correlation signal output from the correlation processing unit 393 (step S124). If the phases do not match (No in step S125), the code control parameter is changed (step S126). If the frequencies do not match (No in step S127), the frequency control parameter is changed (step S128). ).

なお、ステップS122ないしS128の処理は従来の技術である衛星捕捉技術を、適宜、適用することにより実現できる。   In addition, the process of step S122 thru | or S128 is realizable by applying the satellite acquisition technique which is a conventional technique suitably.

衛星の捕捉が完了すると(ステップS124においてYes)、CPU394は衛星追尾を開始する(ステップS131)。ステップS131における衛星追尾は、従来の技術により実現できるが、簡単に説明すれば、レプリカ信号生成回路392、相関処理部393およびCPU394がステップS122ないしS128と同様の処理を繰り返しながら、同期を維持することにより実現できる。   When the satellite acquisition is completed (Yes in step S124), the CPU 394 starts satellite tracking (step S131). The satellite tracking in step S131 can be realized by the conventional technique. However, in brief, the replica signal generation circuit 392, the correlation processing unit 393, and the CPU 394 maintain the synchronization while repeating the same processes as in steps S122 to S128. Can be realized.

なお、本実施の形態では、ステップS131により開始された衛星追尾は、復調部39への電力の供給が停止されるまで継続される。また、衛星追尾が実行されている間において、相関処理部393から出力される相関信号には、衛星から送信された送信信号が復調された信号(復調信号)が含まれる(主にIP信号)。   In the present embodiment, the satellite tracking started in step S131 is continued until the supply of power to the demodulation unit 39 is stopped. Further, during the satellite tracking, the correlation signal output from the correlation processing unit 393 includes a signal (demodulated signal) obtained by demodulating the transmission signal transmitted from the satellite (mainly an IP signal). .

衛星の捕捉が完了し、衛星追尾が開始されると、CPU394は、CPU30(測位処理部302)に対して捕捉完了信号を出力する(ステップS132)。これにより、CPU30は、衛星の捕捉が完了したことを把握できる。   When the satellite acquisition is completed and the satellite tracking is started, the CPU 394 outputs an acquisition completion signal to the CPU 30 (positioning processing unit 302) (step S132). Thereby, CPU30 can grasp | ascertain that the acquisition of the satellite was completed.

次に、CPU394は、相関処理部393から出力される相関信号(復調された送信信号)に基づいてbitを生成し、生成したbitからフレームデータを作成する(ステップS133)。さらに、CPU394は作成したフレームデータをRAM397に記憶させ、順次、CPU30に向けて出力する。なお、CPU394は、復調された送信信号からbitを生成する際に、当該bitと当該bitの到着時間(受信時間)との関連づけを行う。   Next, the CPU 394 generates a bit based on the correlation signal (demodulated transmission signal) output from the correlation processing unit 393, and creates frame data from the generated bit (step S133). Further, the CPU 394 stores the created frame data in the RAM 397 and sequentially outputs it to the CPU 30. Note that the CPU 394 associates the bit with the arrival time (reception time) of the bit when generating the bit from the demodulated transmission signal.

CPU394は、タイミングデータ321を作成したことを通知する信号を監視し(ステップS134)、測位処理部302から当該信号が入力されるまで、ステップS133を繰り返すことによりフレームデータを取得する。   The CPU 394 monitors a signal notifying that the timing data 321 has been created (step S134), and acquires frame data by repeating step S133 until the signal is input from the positioning processing unit 302.

測位処理部302からタイミングデータ323を作成したことを通知する信号を検出すると、CPU394はステップS134においてYesと判定し、その時点における制御パラメータを制御データ322としてRAM397に記憶させ(ステップS135)、制御データ322の退避が完了したことを電力供給制御部301に通知する(ステップS136)。   When detecting a signal notifying that the timing data 323 has been generated from the positioning processing unit 302, the CPU 394 determines Yes in step S134, and stores the control parameter at that time in the RAM 397 as the control data 322 (step S135). The power supply control unit 301 is notified that the saving of the data 322 has been completed (step S136).

制御データ322の退避が完了すると、電力供給制御部301により停止信号が電力供給部38に伝達され、復調部39への電力の供給が停止される。これにより、復調部39は動作を停止する。   When the saving of the control data 322 is completed, a stop signal is transmitted to the power supply unit 38 by the power supply control unit 301 and the supply of power to the demodulation unit 39 is stopped. As a result, the demodulator 39 stops operating.

以上のように、第3の実施の形態におけるゲーム機3によっても、上記実施の形態と同様の効果を得ることができる。   As described above, even with the game machine 3 in the third embodiment, the same effect as in the above embodiment can be obtained.

また、第3の実施の形態における復調部39は、外部のCPU30に接続され、全地球測位システムにおける衛星から送信される電波を受信して当該衛星から送信される送信信号を復調する復調装置として構成されており、全地球測位システムにおける衛星から送信される電波を受信するアンテナ390と、アンテナ390からの入力信号をデジタル信号に変換するRFIC391と、レプリカ信号を生成するレプリカ信号生成回路392と、RFIC391により変換されたデジタル信号とレプリカ信号生成回路392により生成されたレプリカ信号とに応じた相関信号を得る相関処理部393と、相関処理部393から出力される相関信号に応じて、制御パラメータによりレプリカ信号生成回路392を制御するとともに、相関処理部393から出力される当該衛星から送信される送信信号の復調信号に基づいて、フレームデータを作成するCPU394とを備え、CPU394は、作成したフレームデータを外部のCPU30に向けて出力することにより、位置を特定するための位置データ320を外部のCPU30に求めさせることができるため、電力消費が抑制できるとともに、コストが抑制できる。   The demodulator 39 in the third embodiment is connected to an external CPU 30 as a demodulator that receives radio waves transmitted from satellites in the global positioning system and demodulates transmission signals transmitted from the satellites. An antenna 390 configured to receive radio waves transmitted from satellites in the global positioning system, an RFIC 391 that converts an input signal from the antenna 390 into a digital signal, a replica signal generation circuit 392 that generates a replica signal, A correlation processing unit 393 that obtains a correlation signal according to the digital signal converted by the RFIC 391 and the replica signal generated by the replica signal generation circuit 392, and a control parameter according to the correlation signal output from the correlation processing unit 393 While controlling the replica signal generation circuit 392, the correlation processing unit 3 3 and a CPU 394 that generates frame data based on a demodulated signal of a transmission signal transmitted from the satellite output from the satellite 3, and the CPU 394 outputs the generated frame data to an external CPU 30 to obtain a position Since the external CPU 30 can obtain the position data 320 for specifying the power consumption, the power consumption can be suppressed and the cost can be suppressed.

<4. 変形例>
以上、本発明の実施の形態について説明してきたが、本発明は上記実施の形態に限定されるものではなく様々な変形が可能である。
<4. Modification>
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various modifications can be made.

例えば、本発明における記録装置はデジタルカメラやゲーム機に限定されるものではなく、録音装置であってもよい。例えば、屋外における野鳥の観察において野鳥の鳴き声を記録する録音装置や、釣り場において釣果や環境情報(気温、水温、潮流、風速等)を記録する記録装置等にも応用することができる。また、これらの機能が複合した装置であってもよい。   For example, the recording device in the present invention is not limited to a digital camera or a game machine, and may be a recording device. For example, the present invention can also be applied to a recording device that records wild bird calls when observing wild birds outdoors, a recording device that records fishing results and environmental information (such as temperature, water temperature, tidal current, and wind speed) at a fishing spot. Further, a device in which these functions are combined may be used.

また、記録装置は基準局との間でデータ通信する機能を有しない装置として説明したが、もちろん、そのような機能を有する装置(例えば、携帯電話等)に適用することもできる。その場合、基準局との間の通信状態にかかわらず、衛星捕捉に要する時間を短縮できるので、消費電力を抑制することができる。   In addition, the recording apparatus has been described as an apparatus that does not have a function of performing data communication with a reference station, but of course, the recording apparatus can also be applied to an apparatus having such a function (for example, a mobile phone). In that case, since the time required for capturing the satellite can be shortened regardless of the communication state with the reference station, power consumption can be suppressed.

また、上記実施の形態に示した各機能ブロックはプログラムにより実現されると説明したが、これらの機能ブロックの一部または全部が専用の論理回路(ハードウェア)によって実現されてもよい。   Further, although each functional block described in the above embodiment has been described as being realized by a program, a part or all of these functional blocks may be realized by a dedicated logic circuit (hardware).

また、上記実施の形態に示した各工程は、あくまでも例示であり、このような内容および順序に限定されるものではない。すなわち、同様の効果が得られるならば、内容および順序が適宜変更されてもよい。   Moreover, each process shown to the said embodiment is an illustration to the last, and is not limited to such a content and order. That is, as long as the same effect can be obtained, the content and order may be changed as appropriate.

1,2 デジタルカメラ(記録装置)
10,30,394 CPU
100,300 記録部
101,102,301 電力供給制御部
103 ナビゲーション部
12,32,397 RAM
120,320 位置データ
121,321 観測データ
122,322 制御データ
123,323 タイミングデータ
124 画像データ
324 入力データ
16 撮像部
17,37 計時部
18,38 電力供給部
19,20,39 復調部
190 アンテナ
191 RFIC(信号変換手段)
192 レプリカ信号生成回路
193 相関処理部
194 レシーバプロセッサ(信号制御手段)
195 ナビゲーションプロセッサ
3 ゲーム機(記録装置)
80,81,82,83,84,85,86 プログラム
90 メモリカード
900 撮像データ
901 ユーザデータ
1, 2 Digital camera (recording device)
10, 30, 394 CPU
100, 300 Recording unit 101, 102, 301 Power supply control unit 103 Navigation unit 12, 32, 397 RAM
120, 320 Position data 121, 321 Observation data 122, 322 Control data 123, 323 Timing data 124 Image data 324 Input data 16 Imaging unit 17, 37 Timing unit 18, 38 Power supply unit 19, 20, 39 Demodulation unit 190 Antenna 191 RFIC (signal conversion means)
192 Replica signal generation circuit 193 Correlation processing unit 194 Receiver processor (signal control means)
195 Navigation processor 3 Game machine (recording device)
80, 81, 82, 83, 84, 85, 86 Program 90 Memory card 900 Imaging data 901 User data

Claims (9)

記録データを記録する記録装置であって、
全地球測位システムにおける衛星から送信される電波を受信するアンテナと、
前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、
レプリカ信号を生成するレプリカ信号生成手段と、
前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、
前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段と、
前記相関手段から出力される相関信号に基づいて、前記衛星から送信された送信データを取得するデータ取得手段と、
前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力を供給する電力供給手段と、
前記電力供給手段を制御して前記電力供給手段による電力の供給状態を制御する電力供給制御手段と、
前記電力供給手段による、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されるときの前記信号制御手段における制御パラメータを記憶する記憶手段と、
を備え、
前記信号制御手段は、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への前記電力供給手段による電力の供給が再開されたときに、前記記憶手段に記憶されている制御パラメータを読み出して、前記レプリカ信号生成手段に対する制御を再開することを特徴とする記録装置。
A recording device for recording data,
An antenna for receiving radio waves transmitted from satellites in the global positioning system;
Signal converting means for converting an input signal from the antenna into a digital signal;
Replica signal generation means for generating a replica signal;
Correlation means for obtaining a correlation signal according to the digital signal converted by the signal conversion means and the replica signal generated by the replica signal generation means;
Signal control means for controlling the replica signal generation means by a control parameter in accordance with a correlation signal output from the correlation means;
Data acquisition means for acquiring transmission data transmitted from the satellite based on the correlation signal output from the correlation means;
Power supply means for supplying power to the signal conversion means, the replica signal generation means and the signal control means;
Power supply control means for controlling the power supply means to control the power supply state by the power supply means;
Storage means for storing control parameters in the signal control means when supply of power to at least one of the signal conversion means, the replica signal generation means, and the signal control means is stopped by the power supply means When,
With
The signal control means reads the control parameter stored in the storage means when the power supply by the power supply means to the signal conversion means, the replica signal generation means, and the signal control means is resumed. And resuming control of the replica signal generating means.
請求項1に記載の記録装置であって、
前記データ取得手段により取得された送信データに基づいて、前記電力供給手段による電力の供給を停止させる期間を求める演算手段と、
前記電力供給手段による電力の供給が停止されてからの停止状態継続時間を計測する計時手段と、
をさらに備え、
前記電力供給制御手段は、前記演算手段により求められた期間と前記計時手段により計測される停止状態継続時間とに応じて、前記電力供給手段による電力の供給を再開させることを特徴とする記録装置。
The recording apparatus according to claim 1,
Based on the transmission data acquired by the data acquisition means, calculation means for obtaining a period for stopping the power supply by the power supply means;
Time measuring means for measuring a stop state duration time after the power supply by the power supply means is stopped;
Further comprising
The power supply control means restarts the supply of power by the power supply means in accordance with a period obtained by the calculation means and a stop state duration measured by the timekeeping means. .
請求項2に記載の記録装置であって、
前記演算手段は、前記電力供給手段による前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力供給が停止されている間の前記制御パラメータの適正値の経時変化量を予測して、前記期間を求めることを特徴とする記録装置。
The recording apparatus according to claim 2,
The calculation means determines the appropriate value of the control parameter over time while power supply to at least one of the signal conversion means, the replica signal generation means, and the signal control means by the power supply means is stopped. A recording apparatus, wherein the period is obtained by predicting a change amount.
請求項2または3に記載の記録装置であって、
前記制御パラメータは、搬送波の周波数誤差に対応した制御パラメータを含み、
前記演算手段は、前記衛星との相対加速度に応じて、前記期間を求めることを特徴とする記録装置。
The recording apparatus according to claim 2 or 3,
The control parameter includes a control parameter corresponding to a frequency error of a carrier wave,
The said calculating means calculates | requires the said period according to the relative acceleration with the said satellite, The recording apparatus characterized by the above-mentioned.
請求項1ないし4のいずれかに記載の記録装置であって、
被写体を撮像することにより、前記被写体を表現した画像データを取得する撮像手段をさらに備え、
前記画像データを前記記録データとすることを特徴とする記録装置。
The recording apparatus according to any one of claims 1 to 4,
It further comprises imaging means for acquiring image data representing the subject by imaging the subject,
A recording apparatus, wherein the image data is the recording data.
全地球測位システムにおける衛星から送信される電波を受信して前記衛星から送信される送信信号を復調する復調装置であって、
前記電波を受信するアンテナと、
前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、
レプリカ信号を生成するレプリカ信号生成手段と、
前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、
前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段と、
前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されるときの前記信号制御手段における制御パラメータを記憶する記憶手段と、
を備え、
前記信号制御手段は、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力の供給が再開されたときに、前記記憶手段に記憶されている制御パラメータを読み出して、前記レプリカ信号生成手段に対する制御を再開することを特徴とする復調装置。
A demodulator that receives radio waves transmitted from a satellite in a global positioning system and demodulates a transmission signal transmitted from the satellite,
An antenna for receiving the radio wave;
Signal converting means for converting an input signal from the antenna into a digital signal;
Replica signal generation means for generating a replica signal;
Correlation means for obtaining a correlation signal according to the digital signal converted by the signal conversion means and the replica signal generated by the replica signal generation means;
Signal control means for controlling the replica signal generation means by a control parameter in accordance with a correlation signal output from the correlation means;
Storage means for storing control parameters in the signal control means when supply of power to at least one of the signal conversion means, the replica signal generation means and the signal control means is stopped;
With
The signal control means reads the control parameter stored in the storage means when the supply of power to the signal conversion means, the replica signal generation means, and the signal control means is resumed, and the replica signal A demodulator that resumes control of the generating means.
外部の制御装置に接続され、全地球測位システムにおける衛星から送信される電波を受信して前記衛星から送信される送信信号を復調する復調装置であって、
全地球測位システムにおける衛星から送信される電波を受信するアンテナと、
前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、
レプリカ信号を生成するレプリカ信号生成手段と、
前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、
前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段と、
を備え、
前記相関手段から出力される相関信号を前記衛星から送信される送信信号の復調信号として前記外部の制御装置に向けて出力することを特徴とする復調装置。
A demodulator that is connected to an external control device, receives radio waves transmitted from a satellite in the global positioning system, and demodulates a transmission signal transmitted from the satellite,
An antenna for receiving radio waves transmitted from satellites in the global positioning system;
Signal converting means for converting an input signal from the antenna into a digital signal;
Replica signal generation means for generating a replica signal;
Correlation means for obtaining a correlation signal according to the digital signal converted by the signal conversion means and the replica signal generated by the replica signal generation means;
Signal control means for controlling the replica signal generation means by a control parameter in accordance with a correlation signal output from the correlation means;
With
A demodulating device that outputs the correlation signal output from the correlating means to the external control device as a demodulated signal of a transmission signal transmitted from the satellite.
外部の制御装置に接続され、全地球測位システムにおける衛星から送信される電波を受信して前記衛星から送信される送信信号を復調する復調装置であって、
全地球測位システムにおける衛星から送信される電波を受信するアンテナと、
前記アンテナからの入力信号をデジタル信号に変換する信号変換手段と、
レプリカ信号を生成するレプリカ信号生成手段と、
前記信号変換手段により変換されたデジタル信号と前記レプリカ信号生成手段により生成されたレプリカ信号とに応じた相関信号を得る相関手段と、
前記相関手段から出力される相関信号に応じて、制御パラメータにより前記レプリカ信号生成手段を制御する信号制御手段と、
前記相関手段から出力される前記衛星から送信される送信信号の復調信号に基づいて、フレームデータを作成するデータ生成手段と、
を備え、
前記データ生成手段は、作成したフレームデータを前記外部の制御装置に向けて出力することを特徴とする復調装置。
A demodulator that is connected to an external control device, receives radio waves transmitted from a satellite in the global positioning system, and demodulates a transmission signal transmitted from the satellite,
An antenna for receiving radio waves transmitted from satellites in the global positioning system;
Signal converting means for converting an input signal from the antenna into a digital signal;
Replica signal generation means for generating a replica signal;
Correlation means for obtaining a correlation signal according to the digital signal converted by the signal conversion means and the replica signal generated by the replica signal generation means;
Signal control means for controlling the replica signal generation means by a control parameter in accordance with a correlation signal output from the correlation means;
Data generating means for creating frame data based on a demodulated signal of a transmission signal transmitted from the satellite output from the correlation means;
With
The demodulating device, wherein the data generating means outputs the generated frame data to the external control device.
全地球測位システムにおける衛星から送信される電波をアンテナで受信して前記衛星から送信された送信データを取得する受信方法であって、
前記アンテナからの入力信号を信号変換手段により変換したデジタル信号と信号制御手段からの制御パラメータに基づいてレプリカ信号生成手段により生成されるレプリカ信号とに応じた相関信号を生成しつつ、生成した前記相関信号に応じて前記信号制御手段における制御パラメータを変更することにより、前記デジタル信号と前記レプリカ信号との同期を維持して、前記衛星から送信された送信信号を復調する工程と、
復調された前記送信信号に基づいて送信データを取得する工程と、
取得された送信データに基づいて、電力の供給を停止する期間を求める工程と、
前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されるときの前記信号制御手段における制御パラメータを記憶手段に記憶する工程と、
前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給を停止させる工程と、
前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段のうちの少なくとも1つへの電力の供給が停止されてからの停止状態継続時間を計測する工程と、
前記期間と前記停止状態継続時間とに応じて、前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力の供給を再開させる工程と、
前記信号変換手段、前記レプリカ信号生成手段および前記信号制御手段への電力の供給が再開されたときに、前記記憶手段に記憶されている前記制御パラメータを読み出して、読み出した前記制御パラメータにより前記信号制御手段による前記レプリカ信号生成手段に対する制御を再開させる工程と、
を有することを特徴とする受信方法。
A receiving method for receiving radio waves transmitted from a satellite in a global positioning system with an antenna and acquiring transmission data transmitted from the satellite,
While generating the correlation signal according to the digital signal obtained by converting the input signal from the antenna by the signal conversion unit and the replica signal generated by the replica signal generation unit based on the control parameter from the signal control unit, the generated Demodulating a transmission signal transmitted from the satellite while maintaining synchronization between the digital signal and the replica signal by changing a control parameter in the signal control means according to a correlation signal;
Obtaining transmission data based on the demodulated transmission signal;
A step of determining a period for stopping the supply of power based on the acquired transmission data;
Storing in the storage means a control parameter in the signal control means when supply of power to at least one of the signal conversion means, the replica signal generation means and the signal control means is stopped;
Stopping the supply of power to at least one of the signal conversion means, the replica signal generation means, and the signal control means;
Measuring a stop state duration after the supply of power to at least one of the signal conversion unit, the replica signal generation unit, and the signal control unit is stopped;
Resuming the supply of power to the signal conversion means, the replica signal generation means and the signal control means according to the period and the stop state duration time;
When the supply of power to the signal conversion unit, the replica signal generation unit, and the signal control unit is resumed, the control parameter stored in the storage unit is read, and the signal is read by the read control parameter. Resuming control of the replica signal generating means by the control means;
A receiving method comprising:
JP2010157416A 2010-07-12 2010-07-12 Observation apparatus, and observation method and program Withdrawn JP2012021774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010157416A JP2012021774A (en) 2010-07-12 2010-07-12 Observation apparatus, and observation method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010157416A JP2012021774A (en) 2010-07-12 2010-07-12 Observation apparatus, and observation method and program

Publications (1)

Publication Number Publication Date
JP2012021774A true JP2012021774A (en) 2012-02-02

Family

ID=45776184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010157416A Withdrawn JP2012021774A (en) 2010-07-12 2010-07-12 Observation apparatus, and observation method and program

Country Status (1)

Country Link
JP (1) JP2012021774A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020118556A (en) * 2019-01-24 2020-08-06 セイコーエプソン株式会社 Electronic clock, satellite signal receiving device, and method for controlling satellite signal receiving device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020118556A (en) * 2019-01-24 2020-08-06 セイコーエプソン株式会社 Electronic clock, satellite signal receiving device, and method for controlling satellite signal receiving device
JP7225835B2 (en) 2019-01-24 2023-02-21 セイコーエプソン株式会社 Electronic clock, satellite signal receiving device, and control method for satellite signal receiving device
US11609341B2 (en) 2019-01-24 2023-03-21 Seiko Epson Corporation Electronic timepiece, satellite signal receiving device, and method for controlling satellite signal receiving device

Similar Documents

Publication Publication Date Title
TWI486612B (en) Satellite signal receivers and methods for updating ephemeris
US8098324B2 (en) Imaging device, GPS control method, and computer program
US7948434B2 (en) Method and system for maintaining a GNSS receiver in a hot-start state
JP6229426B2 (en) Electronic device and reception control method
US8655578B2 (en) Positioning device, positioning method and storage medium
US8982240B2 (en) Electronic apparatus, positioning device, information processing method, and program
US8823587B2 (en) Method of keeping a GPS receiver in a state that enables rapid signal acquisition
CN1980328B (en) Information processing device, power supply control method
WO2014051788A1 (en) Systems and methods for time synchronization
CN103026259A (en) Receiving device, receiving method and mobile terminal
US10890666B2 (en) Satellite radiowave receiving device, electronic timepiece, control method for obtaining positioning information, and recording medium
JP2023112161A (en) Satellite radio wave receiver, electronic clock, positioning control method and program
JP2012021774A (en) Observation apparatus, and observation method and program
US20240103448A1 (en) Electronic timepiece, storage medium storing program, and time correction method
JP6191881B2 (en) Electronic device and control method thereof
JP7124918B2 (en) Electronic clock, reception operation control method and program
JP5901177B2 (en) Positioning device, observation device and positioning method
JP2004354353A (en) Information terminal, gps receiver, and gps information terminal
JP2018031687A (en) Satellite radio wave receiver, electronic timepiece, satellite radio wave acquisition control method, and program
JP2018155672A (en) Electronic clock, receive operation control method, and program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20131001