JP5783017B2 - Oscillator frequency error correction apparatus, frequency error correction method, frequency error correction program, and frequency error correction system - Google Patents

Oscillator frequency error correction apparatus, frequency error correction method, frequency error correction program, and frequency error correction system Download PDF

Info

Publication number
JP5783017B2
JP5783017B2 JP2011264782A JP2011264782A JP5783017B2 JP 5783017 B2 JP5783017 B2 JP 5783017B2 JP 2011264782 A JP2011264782 A JP 2011264782A JP 2011264782 A JP2011264782 A JP 2011264782A JP 5783017 B2 JP5783017 B2 JP 5783017B2
Authority
JP
Japan
Prior art keywords
frequency error
oscillator
error correction
frequency
ntp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011264782A
Other languages
Japanese (ja)
Other versions
JP2013118491A (en
Inventor
木村 正
正 木村
竜一 狩野
竜一 狩野
淳 六本木
淳 六本木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2011264782A priority Critical patent/JP5783017B2/en
Publication of JP2013118491A publication Critical patent/JP2013118491A/en
Application granted granted Critical
Publication of JP5783017B2 publication Critical patent/JP5783017B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

本発明は、発振器の周波数誤差補正装置、周波数誤差補正方法、周波数誤差補正プログラム及び周波数誤差補正システムに関する。   The present invention relates to an oscillator frequency error correction apparatus, a frequency error correction method, a frequency error correction program, and a frequency error correction system.

無線基地局装置は、例えば、自局で生成した基準クロックを用いて無線周波数同期などを行なう。この基準クロックの周波数精度は、3GPP(3rd Generation Partnership Project)規格上、高精度であることが要求される。例えば、発生可能周波数に対する絶対周波数誤差の相対値が、±0.25ppm以内であること要求される。
従来、基準クロックの周波数精度を高める方法として、例えば、より高精度な発振器を用いたり、GPS(Global Positioning System)から取得したタイミング情報や、PTP(Precision Time Protocol)と呼ばれる時刻同期プロトコルを用いて発振器の周波数誤差を補正したりする方法がある。
For example, the radio base station apparatus performs radio frequency synchronization using a reference clock generated by itself. The frequency accuracy of the reference clock is required to be high accuracy according to the 3GPP (3rd Generation Partnership Project) standard. For example, the relative value of the absolute frequency error with respect to the possible frequency is required to be within ± 0.25 ppm.
Conventionally, as a method for improving the frequency accuracy of the reference clock, for example, a higher-accuracy oscillator is used, timing information acquired from GPS (Global Positioning System), or a time synchronization protocol called PTP (Precision Time Protocol) is used. There is a method of correcting the frequency error of the oscillator.

しかしながら、より高精度な発振器は高価であり、また、GPSは、GPSの電波が届かない場所では使用することができず、さらに、PTPを用いる場合は、キャリアが専用のPTPサーバをそなえる必要があり、設備投資のコストが増加する。
このため、NTP(Network Time Protocol)を用いて発振器の周波数誤差を補正する方法が提案されている(下記特許文献1参照)。
However, more accurate oscillators are expensive, and GPS cannot be used where GPS radio waves do not reach. Further, when using PTP, the carrier needs to have a dedicated PTP server. Yes, the cost of capital investment increases.
For this reason, a method of correcting the frequency error of the oscillator using NTP (Network Time Protocol) has been proposed (see Patent Document 1 below).

特開2011−30080号公報JP 2011-30080 JP

NTPを用いて発振器の周波数誤差を補正する場合、周波数誤差の補正を行なう装置は、例えば、ネットワークを介して接続されたNTPサーバからNTPパケットを受信し、当該NTPパケットに含まれる時刻情報を用いて周波数誤差の補正を行なう。
しかしながら、ネットワークを介して伝送されたNTPパケットには、ネットワークの負荷状況により、数ms〜数100ms程度の遅延ジッタ(誤差)が含まれる可能性がある。
When correcting the frequency error of the oscillator using NTP, a device that corrects the frequency error receives, for example, an NTP packet from an NTP server connected via a network, and uses time information included in the NTP packet. To correct the frequency error.
However, the NTP packet transmitted through the network may include a delay jitter (error) of about several ms to several hundred ms depending on the load condition of the network.

従って、NTPパケットに含まれる時刻情報をそのまま使用して発振器の周波数誤差の補正を行なうと、上記遅延ジッタのため、周波数誤差を高精度に補正できない場合がある。
そこで、本発明は、発振器の周波数誤差を高精度に補正することを目的の1つとする。
なお、前記目的に限らず、後述する発明を実施するための形態に示す各構成により導かれる作用効果であって、従来の技術によっては得られない作用効果を奏することも本発明の他の目的の一つとして位置付けることができる。
Therefore, if the time information included in the NTP packet is used as it is and the frequency error of the oscillator is corrected, the frequency error may not be corrected with high accuracy due to the delay jitter.
Accordingly, an object of the present invention is to correct the frequency error of the oscillator with high accuracy.
In addition, the present invention is not limited to the above-described object, and other effects of the present invention can be achieved by the functions and effects derived from the respective configurations shown in the embodiments for carrying out the invention which will be described later. It can be positioned as one of

(1)第1の案として、例えば、所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する発振器の周波数誤差補正装置において、前記発振器のクロック数をカウントするカウンタ部と、ネットワークを介して受信される時刻情報と前記カウンタ部でのカウント結果と前記所望の発振周波数とに基づいて複数回に亘って算出される前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正する処理部とをそなえる、発振器の周波数誤差補正装置を用いることができる。   (1) As a first proposal, for example, in a frequency error correction device for an oscillator that corrects a frequency error that occurs in an oscillator designed to oscillate at a desired oscillation frequency, a counter unit that counts the number of clocks of the oscillator; The frequency of the oscillator using the average value of the frequency error of the oscillator calculated over a plurality of times based on the time information received via the network, the count result in the counter unit, and the desired oscillation frequency It is possible to use an oscillator frequency error correction device including a processing unit for correcting an error.

(2)また、第2の案として、例えば、所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する周波数誤差補正装置において、ネットワークを介して受信される時刻情報と前記発振器のクロック数のカウント結果と前記所望の発振周波数とに基づいて複数回に亘って前記発振器の周波数誤差を算出し、前記複数回に亘って算出された前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正する、発振器の周波数誤差補正方法を用いることができる。   (2) As a second proposal, for example, in a frequency error correction device that corrects a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency, time information received via a network and the oscillator The frequency error of the oscillator is calculated over a plurality of times based on the count result of the number of clocks and the desired oscillation frequency, and the average value of the frequency error of the oscillator calculated over the plurality of times is used. An oscillator frequency error correction method for correcting the oscillator frequency error can be used.

(3)さらに、第3の案として、例えば、所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する機能をコンピュータに実行させるための周波数誤差補正プログラムであって、ネットワークを介して受信される時刻情報と前記発振器のクロック数のカウント結果と前記所望の発振周波数とに基づいて複数回に亘って前記発振器の周波数誤差を算出するステップと、前記複数回に亘って算出された前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正するステップとを前記コンピュータに実行させる、周波数誤差補正プログラムを用いることができる。   (3) Further, as a third proposal, for example, a frequency error correction program for causing a computer to execute a function of correcting a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency, Calculating the frequency error of the oscillator over a plurality of times based on the time information received via the count result of the clock number of the oscillator and the desired oscillation frequency, and calculated over the plurality of times. A frequency error correction program for causing the computer to execute the step of correcting the frequency error of the oscillator using the average value of the frequency error of the oscillator can be used.

(4)また、第4の案として、例えば、所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する発振器の周波数誤差補正システムにおいて、前記発振器のクロック数をカウントするカウンタ部と、ネットワークを介して受信される時刻情報と前記カウンタ部でのカウント結果と前記所望の発振周波数とに基づいて複数回に亘って算出される前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正する処理部とをそなえる、発振器の周波数誤差補正システムを用いることができる。   (4) As a fourth proposal, for example, in a frequency error correction system for an oscillator that corrects a frequency error that occurs in an oscillator designed to oscillate at a desired oscillation frequency, a counter unit that counts the number of clocks of the oscillator And using the average value of the frequency error of the oscillator calculated over a plurality of times based on the time information received via the network, the count result in the counter unit, and the desired oscillation frequency It is possible to use an oscillator frequency error correction system including a processing unit that corrects the frequency error.

発振器における周波数誤差を高精度に補正することが可能となる。   It becomes possible to correct the frequency error in the oscillator with high accuracy.

本発明の一実施形態に係る周波数誤差補正装置の構成の一例を示す図である。It is a figure which shows an example of a structure of the frequency error correction apparatus which concerns on one Embodiment of this invention. 図1に示すカウンタ部のカウント結果と、NTPサーバから受信した時刻情報との関係の一例を示す図である。It is a figure which shows an example of the relationship between the count result of the counter part shown in FIG. 1, and the time information received from the NTP server. 初回に受信したNTPパケットに含まれる誤差(初期誤差)の一例を示す図である。It is a figure which shows an example of the error (initial error) contained in the NTP packet received for the first time. 図3に示す初期誤差を補正する方法の一例を示す図である。It is a figure which shows an example of the method of correct | amending the initial error shown in FIG. 発振器の周波数誤差と2つの期間において算出された各平均位相変動量との関係の一例について説明する図である。It is a figure explaining an example of the relationship between the frequency error of an oscillator, and each average phase fluctuation amount calculated in two periods. 一実施形態に係る周波数誤差補正方法の一例を示す図である。It is a figure which shows an example of the frequency error correction method which concerns on one Embodiment. 一実施形態に係る周波数誤差補正装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the frequency error correction apparatus which concerns on one Embodiment. 一実施形態に係る周波数誤差補正装置をそなえた無線基地局装置の構成の一例を示す図である。It is a figure which shows an example of a structure of the radio base station apparatus provided with the frequency error correction apparatus which concerns on one Embodiment.

以下、図面を参照して本発明の実施の形態を説明する。ただし、以下に示す実施の形態は、あくまでも例示に過ぎず、以下に示す実施形態で明示しない種々の変形や技術の適用を排除する意図はない。即ち、以下に示す実施形態を、本発明の趣旨を逸脱しない範囲で種々変形して実施できることはいうまでもない。
〔1〕一実施形態について
(1.1)周波数誤差補正装置の構成例
図1は、一実施形態に係る周波数誤差補正装置の構成の一例を示す図である。
Embodiments of the present invention will be described below with reference to the drawings. However, the embodiment described below is merely an example, and there is no intention to exclude various modifications and technical applications that are not explicitly described in the embodiment described below. That is, it goes without saying that the following embodiments can be implemented with various modifications without departing from the spirit of the present invention.
[1] One Embodiment (1.1) Configuration Example of Frequency Error Correction Device FIG. 1 is a diagram illustrating an example of a configuration of a frequency error correction device according to an embodiment.

この図1に例示する周波数誤差補正装置10は、例示的に、クロック信号生成部11と、カウンタ部12と、NTP処理部13と、制御部14とをそなえる。
クロック信号生成部11は、基準クロックとしてのクロック信号を生成する。当該クロック信号の周波数は、例えば、後述する制御部14から与えられる制御信号により補正される。
The frequency error correction apparatus 10 illustrated in FIG. 1 exemplarily includes a clock signal generation unit 11, a counter unit 12, an NTP processing unit 13, and a control unit 14.
The clock signal generation unit 11 generates a clock signal as a reference clock. The frequency of the clock signal is corrected by, for example, a control signal supplied from the control unit 14 described later.

このため、クロック信号生成部11は、例えば、発振周波数を電圧制御可能な発振器を有する。クロック信号生成部11がそなえる発振器は、所望の発振周波数(例えばf)で発振するよう設計されるが、実際には所望の発振周波数とは異なる発振周波数(例えばf)で発振し得る。なお、以下では、所望の発振周波数のことを単に設計周波数ということがある。 For this reason, the clock signal generation unit 11 includes, for example, an oscillator capable of voltage-controlling the oscillation frequency. The oscillator provided by the clock signal generation unit 11 is designed to oscillate at a desired oscillation frequency (for example, f 0 ), but can actually oscillate at an oscillation frequency (for example, f) different from the desired oscillation frequency. Hereinafter, the desired oscillation frequency may be simply referred to as a design frequency.

カウンタ部12は、クロック信号生成部11のクロック数をカウントする。即ち、カウンタ部12は、発振器のクロック数をカウントするカウンタ部の一例として機能する。なお、上記のカウント結果は、後述する制御部14の誤差検出部141へ出力される
NTP処理部13は、NTPサーバ20が送信したNTPパケットをネットワーク30を介して受信し、受信したNTPパケットから時刻情報を抽出する。このため、NTP処理部13は、NTPパケット終端部131と、時刻情報抽出部132とをそなえる。
The counter unit 12 counts the number of clocks of the clock signal generation unit 11. That is, the counter unit 12 functions as an example of a counter unit that counts the number of clocks of the oscillator. The count result is output to an error detection unit 141 of the control unit 14 to be described later. The NTP processing unit 13 receives the NTP packet transmitted from the NTP server 20 via the network 30, and from the received NTP packet. Extract time information. Therefore, the NTP processing unit 13 includes an NTP packet termination unit 131 and a time information extraction unit 132.

NTPパケット終端部131は、NTPサーバ20が送信したNTPパケットを、ネットワーク30を介して受信し、所定の受信処理を施す。また、NTPパケット終端部131は、NTPサーバ20に対してNTPパケット送出の要求(NTP Req)を送信する機能を有していてもよい。これにより、NTPパケット終端部131は、NTPサーバ20から定期または不定期にNTPパケットを受信することができる。   The NTP packet termination unit 131 receives the NTP packet transmitted from the NTP server 20 via the network 30 and performs a predetermined reception process. Further, the NTP packet termination unit 131 may have a function of transmitting an NTP packet transmission request (NTP Req) to the NTP server 20. Accordingly, the NTP packet termination unit 131 can receive NTP packets from the NTP server 20 regularly or irregularly.

時刻情報抽出部132は、NTPパケット131で受信されたNTPパケットから時刻情報を抽出し、制御部14へ出力する。
制御部14は、時刻情報抽出部132から出力された時刻情報と、カウンタ部12から出力されたカウント結果と、クロック信号生成部11が有する発振器の設計周波数(f)とに基づいて、クロック信号生成部11が有する発振器の周波数誤差を検出し、当該周波数誤差を補正する。このため、制御部14は、誤差検出部141と、補正制御部142とをそなえる。
The time information extraction unit 132 extracts time information from the NTP packet received by the NTP packet 131 and outputs the time information to the control unit 14.
Based on the time information output from the time information extraction unit 132, the count result output from the counter unit 12, and the design frequency (f 0 ) of the oscillator included in the clock signal generation unit 11, the control unit 14 The frequency error of the oscillator included in the signal generation unit 11 is detected, and the frequency error is corrected. For this reason, the control unit 14 includes an error detection unit 141 and a correction control unit 142.

誤差検出部141は、時刻情報抽出部132から出力された時刻情報と、カウンタ部12から出力されたカウント結果と、クロック信号生成部11が有する発振器の設計周波数とに基づいて、クロック信号生成部11が有する発振器の周波数誤差を検出する。なお、周波数誤差の検出方法の具体例については後述する。
補正制御部142は、誤差検出部141で検出された周波数誤差を基に、当該周波数誤差を補正するための補正値を算出し、当該補正値に基づく制御信号をクロック信号生成部11へ出力する。クロック信号生成部11の発振器は、例えば、補正制御部142から出力された制御信号に基づき電圧制御される。
The error detection unit 141 is based on the time information output from the time information extraction unit 132, the count result output from the counter unit 12, and the design frequency of the oscillator included in the clock signal generation unit 11. 11 detects the frequency error of the oscillator of 11. A specific example of the frequency error detection method will be described later.
The correction control unit 142 calculates a correction value for correcting the frequency error based on the frequency error detected by the error detection unit 141, and outputs a control signal based on the correction value to the clock signal generation unit 11. . The oscillator of the clock signal generation unit 11 is voltage-controlled based on, for example, a control signal output from the correction control unit 142.

即ち、NTP処理部13及び制御部14は、ネットワークを介して受信される時刻情報とカウンタ部12でのカウント結果と所望の発振周波数(f)とに基づいて複数回に亘って算出される発振器の周波数誤差の平均値を用いて発振器の周波数誤差を補正する処理部の一例として機能する。
(1.2)周波数誤差の検出方法
ここで、図2を用いて、本実施形態における周波数誤差の検出方法について説明する。
That is, the NTP processing unit 13 and the control unit 14 are calculated a plurality of times based on time information received via the network, a count result in the counter unit 12, and a desired oscillation frequency (f 0 ). It functions as an example of a processing unit that corrects the frequency error of the oscillator using the average value of the frequency error of the oscillator.
(1.2) Frequency Error Detection Method Here, the frequency error detection method in the present embodiment will be described with reference to FIG.

図2は、図1に示すカウンタ部12のカウント結果と、NTPサーバ20から受信した時刻情報との関係の一例を示す図である。
まず、制御部14の誤差検出部141は、初回に受信したNTPパケットから抽出された時刻情報を基に、起点時刻を設定する(図2中、T参照)。また、誤差検出部141は、カウンタ部12におけるカウント値をクリアする。
FIG. 2 is a diagram illustrating an example of a relationship between the count result of the counter unit 12 illustrated in FIG. 1 and time information received from the NTP server 20.
First, the error detection unit 141 of the control unit 14, based on the time information extracted from the NTP packet received first, set the start time (see in FIG. 2, T 1). Further, the error detection unit 141 clears the count value in the counter unit 12.

次に、誤差検出部141は、NTPパケットから抽出された時刻情報を時刻情報抽出部132から取得し、当該時刻情報に対応する時刻におけるカウント値をカウンタ部12から取得する。
そして、誤差検出部141は、各時刻情報と、各カウント値と、クロック信号生成部11が有する発振器の設計周波数f(設計周期τ(=1/f))とを用いて発振器の周波数誤差を求める。
Next, the error detection unit 141 acquires time information extracted from the NTP packet from the time information extraction unit 132, and acquires a count value at a time corresponding to the time information from the counter unit 12.
Then, the error detection unit 141 uses each time information, each count value, and the design frequency f 0 (design period τ 0 (= 1 / f 0 )) of the oscillator included in the clock signal generation unit 11 of the oscillator. Find the frequency error.

具体的には例えば、各時刻情報(図2中、T(x=1,2,・・・,n,ただし、nは3以上の整数))から以下の式(1)を用いて算出される各期間t(x=2,3,・・・,n)と、当該期間におけるカウンタ部12でのカウント値(図2中、C(x=2,3,・・・,n))から以下の式(2)を用いて算出される時間c(x=2,3,・・・,n)とを比較する。 Specifically, for example, each time information (in FIG. 2, T x (x = 1, 2,..., N, where n is an integer of 3 or more)) is calculated using the following formula (1). Each period t x (x = 2, 3,..., N) and the count value in the counter unit 12 in that period (in FIG. 2, C x (x = 2, 3,..., N )) And the time c x (x = 2, 3,..., N) calculated using the following equation (2).

Figure 0005783017
Figure 0005783017

即ち、各期間tに発生する、tとcとの差(位相誤差α(x=2,3,・・・,n)、位相変動量ともいう)は、式(3)で与えられる。 That is, the difference between t x and c x (also referred to as phase error α x (x = 2, 3,..., N), phase fluctuation amount) that occurs in each period t x is expressed by equation (3). Given.

Figure 0005783017
Figure 0005783017

上記の式(3)から求めた位相誤差αには、発振器の設計周波数fと実際の発振周波数fとの誤差である周波数誤差成分と、NTPパケットに含まれる遅延ジッタによる誤差成分とが含まれる。
ここで、NTPパケットに含まれる遅延ジッタは、平均化することで0に収束する性質がある。そこで、本例では、上記の式(3)で求めた位相誤差αにおける遅延ジッタによる誤差成分を0に収束させるべく、式(3)で求めたαを平均化する。なお、αを平均化したものを平均位相変動量βともいう。
The phase error α x obtained from the above equation (3) includes a frequency error component that is an error between the design frequency f 0 of the oscillator and the actual oscillation frequency f, and an error component due to delay jitter included in the NTP packet. included.
Here, the delay jitter included in the NTP packet has a property of converging to 0 by averaging. Therefore, in this embodiment, in order to converge the error component due to delay jitter in the phase error alpha x obtained by formula (3) to 0, averaging the alpha x obtained by formula (3). A value obtained by averaging α x is also referred to as an average phase fluctuation amount β.

〜Tの期間における平均位相変動量βは以下の式(4)で示される。 The average phase fluctuation amount β in the period from T 1 to T n is expressed by the following formula (4).

Figure 0005783017
Figure 0005783017

なお、上記の平均位相変動量βは、各時刻Tが等間隔の場合、起点時刻Tから時刻Tまでに発生する位相変動量の1/2となる。
上記の式(4)を用いて算出される平均位相変動量βにより発振器の周波数誤差を高精度に算出することができる。
具体的には、単位時間当たりの位相変動量を100万倍したものが周波数誤差(単位:ppm)となる。つまり、平均位相変動量βを2倍したものを測定間隔(T−T)で割り、100万倍したものが周波数誤差(単位:ppm)となる。
Note that the average phase fluctuation amount β is ½ of the phase fluctuation amount generated from the starting time T 1 to the time T n when the times T x are equally spaced.
The frequency error of the oscillator can be calculated with high accuracy by the average phase fluctuation amount β calculated using the above equation (4).
Specifically, a frequency error (unit: ppm) is obtained by multiplying the amount of phase fluctuation per unit time by 1 million times. That is, a value obtained by doubling the average phase variation β is divided by a measurement interval (T n −T 1 ), and a value multiplied by 1 million is a frequency error (unit: ppm).

平均移動変動量βにより発振器の周波数誤差が算出されると、算出した周波数誤差に対応する補正値をクロック信号生成部11に対して出力することにより、発振器の周波数誤差を高精度に補正することができる。
即ち、上述した構成によると、NTPサーバから受信した時刻情報を用いて、発振器の発信誤差を高精度に補正することができるようになる。
When the frequency error of the oscillator is calculated based on the average movement fluctuation amount β, a correction value corresponding to the calculated frequency error is output to the clock signal generation unit 11 to correct the frequency error of the oscillator with high accuracy. Can do.
That is, according to the above-described configuration, it is possible to correct the transmission error of the oscillator with high accuracy using the time information received from the NTP server.

ただ、上述した方法では、初回に受信したNTPパケットの時刻情報に基づいて設定される起点(T)に基づいて各位相誤差を算出するため、図3に示すように初回に受信したNTPパケットが遅延ジッタによる誤差(初期誤差)を含む場合、各位相誤差には初期誤差が含まれ、また、各位相誤差の平均値である平均位相変動量βにも、初期誤差が含まれる。 However, in the method described above, since each phase error is calculated based on the starting point (T 1 ) set based on the time information of the NTP packet received for the first time, the NTP packet received for the first time as shown in FIG. Includes an error due to delay jitter (initial error), each phase error includes an initial error, and an average phase fluctuation amount β, which is an average value of each phase error, also includes an initial error.

そこで、以下に示す方法を用いて、平均位相変動量βに含まれる初期誤差を補正することにより、発振器における周波数誤差を更に精度良く求める。
図4は、図3に示す初期誤差を補正する方法の一例を説明する図である。
図4に示されるように、同じ起点Tを有し長さの異なる2つの期間(T−T)及び(T′−T)において、平均位相変動量をそれぞれ算出する。つまり、期間(T−T)で平均位相変動量βを算出し、期間(T′−T)において平均位相変動量β′を算出する。
Therefore, the frequency error in the oscillator is obtained with higher accuracy by correcting the initial error included in the average phase fluctuation amount β by using the following method.
FIG. 4 is a diagram for explaining an example of a method for correcting the initial error shown in FIG.
As shown in FIG. 4, average phase fluctuation amounts are calculated in two periods (T n −T 1 ) and (T n ′ −T 1 ) having the same starting point T 1 and different lengths. In other words, to calculate the average phase variation amount β during the period (T n -T 1), calculates the 'average phase variation amount β in (-T 1 period T n)'.

そして、平均位相変動量β′と平均位相変動量βとの差分を求めることで、各平均位相変動量に含まれる初期誤差を除去することができる。
図5は、発振器の周波数誤差と上記の2つの期間において算出された各平均位相変動量との関係の一例について説明する図である。なお、図5に示す例では、簡単のため、2つの期間を、時刻Tまでの期間と時刻2Tまでの期間とに設定しているが、これらの時刻は任意に設定することもできる。
Then, by obtaining the difference between the average phase fluctuation amount β ′ and the average phase fluctuation amount β, the initial error included in each average phase fluctuation amount can be removed.
FIG. 5 is a diagram for explaining an example of the relationship between the frequency error of the oscillator and each average phase fluctuation amount calculated in the above two periods. In the example shown in FIG. 5, for simplicity, the two periods, but is set to a period until the period and time 2T n until time T n, can also be those time arbitrarily set .

発振器の周波数誤差がない場合、上記の2つの期間において算出された各平均位相変動量の値と初期誤差は一致する。
一方、発振器に周波数誤差がある場合、各平均位相変動量の差をとることで、各平均位相変動量に含まれる初期誤差の成分が相殺される。
また、上記の平均位相変動量βは、各時刻Tが等間隔の場合、起点時刻Tから時刻Tまでに発生する位相変動量の1/2となる。
When there is no frequency error of the oscillator, the value of each average phase fluctuation amount calculated in the above two periods coincides with the initial error.
On the other hand, when there is a frequency error in the oscillator, the component of the initial error included in each average phase fluctuation amount is canceled by taking the difference between the average phase fluctuation amounts.
Further, the above average phase fluctuation amount β is ½ of the phase fluctuation amount generated from the starting time T 1 to the time T n when the times T x are equally spaced.

同様に、起点時刻Tから時刻T′までの期間において算出された平均位相変動量β′は、起点時間から時刻T′までの期間に発生する位相変動量の1/2となる。
従って、図5に示された関係から明らかなように、各平均位相変動量の差(β′―β)は、時刻Tから時刻2Tまでの間に発生した発振器の周波数誤差による位相変動量の1/2となる。
Similarly, the average phase fluctuation amount β ′ calculated in the period from the starting time T 1 to the time T n ′ is ½ of the phase fluctuation amount generated in the period from the starting time to the time T n ′.
Accordingly, as is clear from the relationship shown in FIG. 5, the difference between the average phase variation amount (β'-β) is the phase variation due to the frequency error of the oscillator that occurred between the time T n to the time 2T n 1/2 of the amount.

このことから、発振器の周波数誤差χは次式(5)で示される。   From this, the frequency error χ of the oscillator is expressed by the following equation (5).

Figure 0005783017
Figure 0005783017

上記χに基づき発振器の周波数誤差が算出されると、算出した周波数誤差に対応する補正値をクロック信号生成部11に対して出力することにより、発振器の周波数誤差を更に高精度に補正することができる。
(1.3)周波数誤差補正方法
図6は、周波数誤差補正方法の一例を示す図である。ここでは、NTPサーバ20、制御部14及びカウンタ部12の動作に着目する。
When the frequency error of the oscillator is calculated based on the above χ, a correction value corresponding to the calculated frequency error is output to the clock signal generation unit 11 so that the frequency error of the oscillator can be corrected with higher accuracy. it can.
(1.3) Frequency Error Correction Method FIG. 6 is a diagram illustrating an example of a frequency error correction method. Here, attention is paid to the operations of the NTP server 20, the control unit 14, and the counter unit 12.

なお、NTPサーバ20から受信するNTPパケットの時刻情報に含まれるのは、NTPサーバ20においてNTPパケットの送信要求を受信した時刻についての情報と、NTPサーバ20がNTPパケットを送信した時刻についての情報とである。
そこで、本実施形態では、カウンタを用いて上記の時刻情報に含まれる情報を補正することにより、周波数誤差補正装置10がNTPパケットを受信した時刻を求める。
The time information of the NTP packet received from the NTP server 20 includes information about the time when the NTP server 20 receives the NTP packet transmission request and information about the time when the NTP server 20 transmits the NTP packet. It is.
Therefore, in the present embodiment, the time when the frequency error correction apparatus 10 receives the NTP packet is obtained by correcting the information included in the time information using a counter.

このため、図6に示す例では、カウンタ部12は、発振器の周波数誤差を補正するためのカウンタ1に加え、時刻情報を補正するためのカウンタ2を有する。
制御部14は、カウンタ部12に対してカウンタ2のカウント開始指示を送信するとともに、NTP処理部13を介してNTPサーバ20に対してNTPパケットの送信要求(NTP Req)を送信する(ステップS1,S2)。カウンタ部12は、ステップS1において送信されたカウント開始指示を受信するとカウンタ2のカウントを開始する。
For this reason, in the example shown in FIG. 6, the counter unit 12 includes a counter 2 for correcting time information in addition to the counter 1 for correcting the frequency error of the oscillator.
The control unit 14 transmits a count start instruction for the counter 2 to the counter unit 12 and transmits an NTP packet transmission request (NTP Req) to the NTP server 20 via the NTP processing unit 13 (step S1). , S2). The counter unit 12 starts counting of the counter 2 when receiving the count start instruction transmitted in step S1.

NTPサーバ20は、NTP Reqを受信すると、周波数誤差補正装置10に対してNTPパケットを送信する(ステップS3)。なお、NTPサーバ20から送信されるNTPパケットには時刻情報が含まれる。
本実施形態で示す例では、当該時刻情報には、NTPサーバ20におけるNTPパケットの送信時刻に関する送信時刻情報と、NTPサーバ20におけるNTP Reqの受信時刻に関する受信時刻情報とが含まれる。即ち、ステップS3において送信されるNTPパケットには、NTPパケットの送信時刻Aと、NTP Reqの受信時刻Bとが含まれる。
When receiving the NTP Req, the NTP server 20 transmits an NTP packet to the frequency error correction apparatus 10 (step S3). The NTP packet transmitted from the NTP server 20 includes time information.
In the example shown in this embodiment, the time information includes transmission time information related to the transmission time of the NTP packet in the NTP server 20 and reception time information related to the reception time of the NTP Req in the NTP server 20. That is, the NTP packet transmitted in step S3 includes an NTP packet transmission time A 1 and an NTP Req reception time B 1 .

制御部14は、NTP処理部13を介してNTPパケットを受信し、受信したNTPパケットから時刻情報を抽出すると、カウンタ部12に対して、カウンタ1の開始指示及びカウンタ2の停止指示を送信する(ステップS4)。
カウンタ部12は、ステップS4において送信されたカウンタ1の開始指示及びカウンタ2の停止指示を受信すると、カウンタ2のカウントを停止し、カウント数をクリアするとともに、カウンタ1のカウントを開始する。なお、カウンタ2におけるクリア前のカウント値をDとする。
When the control unit 14 receives the NTP packet via the NTP processing unit 13 and extracts time information from the received NTP packet, the control unit 14 transmits a start instruction for the counter 1 and a stop instruction for the counter 2 to the counter unit 12. (Step S4).
Upon receiving the counter 1 start instruction and the counter 2 stop instruction transmitted in step S 4, the counter unit 12 stops the counter 2 count, clears the count number, and starts the counter 1 count. Incidentally, the count value before clearing the counters 2 and D 1.

そして、制御部14は、カウンタ部12のDの値を読み取る(リード)(ステップS5)。
制御部14は、Dを基に、ステップS3においてNTPサーバ20から送信され、NTP処理部13を介して受信した時刻情報の補正を行なう。即ち、制御部14は、次式(6)を用いて時刻Tを算出する。
Then, the control unit 14 reads the value of D 1 of the counter 12 (read) (step S5).
Control unit 14, based on the D 1, in step S3 sent from the NTP server 20 corrects the time information received via the NTP processing unit 13. That is, the control unit 14 calculates time T 1 using the following equation (6).

Figure 0005783017
Figure 0005783017

この初回に受信したNTPパケットから得られた時刻Tは、発振器の補正が完了するまで図示しないメモリに保持される。
続いて、制御部14は、カウンタ部12に対してカウンタ2のカウント開始指示を送信するとともに、2度目のNTPパケットの送信要求(NTP Req)をNTPサーバ20に対して送信する(ステップS6,S7)。カウンタ部12は、ステップS6において送信されたカウント開始指示を受信するとカウンタ2のカウントを開始する。
Time T 1 obtained from the NTP packets received this first time, the oscillator compensation are stored in a memory (not shown) to complete.
Subsequently, the control unit 14 transmits a count start instruction of the counter 2 to the counter unit 12 and transmits a second NTP packet transmission request (NTP Req) to the NTP server 20 (step S6, S6). S7). When the counter unit 12 receives the count start instruction transmitted in step S6, the counter unit 12 starts counting of the counter 2.

NTPサーバ20は、NTP Reqを受信すると、周波数誤差補正装置10に対して2度目のNTPパケットを送信する(ステップS8)。ステップS8において送信されるNTPパケットには、NTPパケットの送信時刻Aと、NTP Reqの受信時刻Bとが含まれる。
制御部14は、NTP処理部13を介してNTPパケットを受信し、受信したNTPパケットから時刻情報を抽出すると、カウンタ部12に対して、カウンタ1のカウント値保持指示及びカウンタ2の停止指示を送信する(ステップS9)。
When receiving the NTP Req, the NTP server 20 transmits a second NTP packet to the frequency error correction apparatus 10 (step S8). The NTP packet transmitted in step S8 includes an NTP packet transmission time A 2 and an NTP Req reception time B 2 .
When the control unit 14 receives the NTP packet via the NTP processing unit 13 and extracts time information from the received NTP packet, the control unit 14 instructs the counter unit 12 to hold the count value of the counter 1 and to stop the counter 2. Transmit (step S9).

カウンタ部12は、ステップS9において送信されたカウンタ1のカウント値保持指示及びカウンタ2の停止指示を受信すると、カウンタ2のカウントを停止するとともに、カウンタ1のカウント値を図示しないメモリに必要に応じて保持する。なお、カウンタ2のカウント値をD、カウンタ1のカウント値をCとする。
そして、制御部14は、カウンタ部12のC及びDの値を読み取る(リード)(ステップS10,S11)。
When the counter unit 12 receives the count value holding instruction of the counter 1 and the stop instruction of the counter 2 transmitted in step S9, the counter unit 12 stops the count of the counter 2, and the count value of the counter 1 is stored in a memory (not shown) as necessary. Hold. The count value of counter 2 is D 2 and the count value of counter 1 is C 1 .
Then, the control unit 14 reads the value of C 1 and D 2 of the counter 12 (read) (step S10, S11).

制御部14は、Dを基に、ステップS8においてNTPサーバ20から送信され、NTP処理部13を介して受信した時刻情報の補正を行なう。即ち、制御部14は、次式(7)を用いて時刻Tを算出する。 Control unit 14, based on the D 2, is transmitted from the NTP server 20 in step S8, it corrects the time information received via the NTP processing unit 13. That is, the control unit 14 calculates the time T 2, by using the following equation (7).

Figure 0005783017
Figure 0005783017

また、制御部14は、次式(8)を用いて位相誤差αを算出する。 Further, the control unit 14 calculates the phase error α 2 using the following equation (8).

Figure 0005783017
Figure 0005783017

図示は省略するが、制御部14は、上記と同様の手順により、x(3≦x≦n−1)回目のNTPパケットから時刻情報(A,B)を取得すると共に、カウンタ部12からカウント値(Cx−1,D)を取得し、次式(9),(10)を用いてT及びαをそれぞれ算出する。 Although illustration is omitted, the control unit 14 acquires time information (A x , B x ) from the x (3 ≦ x ≦ n−1) -th NTP packet by the same procedure as described above, and the counter unit 12 Count values (C x−1 , D x ) are obtained from the above, and T x and α x are calculated using the following equations (9) and (10).

Figure 0005783017
Figure 0005783017

また、最終的に平均化を行なうため、算出された位相誤差αはそれまでに算出された各位相誤差に加算される。
図6では、制御部14は、カウンタ部12に対してカウンタ2のカウント開始指示を送信するとともに、n度目のNTPパケットの送信要求(NTP Req)をNTPサーバ20に対して送信する(ステップS12,S13)。なお、図6において、ステップS11とステップS12とが連続して実行されることは意図しておらず、ステップS11とステップS12との間には、図示しない処理が含まれる。カウンタ部12は、ステップS12において送信されたカウント開始指示を受信するとカウンタ2のカウントを開始する。
In addition, in order to finally perform averaging, the calculated phase error α x is added to each phase error calculated so far.
In FIG. 6, the control unit 14 transmits a count start instruction for the counter 2 to the counter unit 12 and transmits an n-th NTP packet transmission request (NTP Req) to the NTP server 20 (step S <b> 12). , S13). In FIG. 6, step S11 and step S12 are not intended to be executed continuously, and a process (not shown) is included between steps S11 and S12. The counter unit 12 starts counting of the counter 2 when receiving the count start instruction transmitted in step S12.

NTPサーバ20は、NTP Reqを受信すると、周波数誤差補正装置10に対してn度目のNTPパケットを送信する(ステップS14)。ステップS14において送信されるNTPパケットには、NTPパケットの送信時刻Aと、NTP Reqの受信時刻Bとが含まれる。
制御部14は、NTP処理部13を介してNTPパケットを受信し、受信したNTPパケットから時刻情報を抽出すると、カウンタ部12に対して、カウンタ1のカウント値保持指示及びカウンタ2の停止指示を送信する(ステップS15)。
When receiving the NTP Req, the NTP server 20 transmits the nth NTP packet to the frequency error correction apparatus 10 (step S14). The NTP packet transmitted in step S14 includes an NTP packet transmission time An and an NTP Req reception time Bn .
When the control unit 14 receives the NTP packet via the NTP processing unit 13 and extracts time information from the received NTP packet, the control unit 14 instructs the counter unit 12 to hold the count value of the counter 1 and to stop the counter 2. Transmit (step S15).

カウンタ部12は、ステップS15において送信されたカウンタ1のカウント値保持指示及びカウンタ2の停止指示を受信すると、カウンタ2のカウントを停止するとともに、カウンタ1のカウント値を図示しないメモリに必要に応じて保持する。なお、カウンタ2のカウント値をD、カウンタ1のカウント値をCn−1とする。
そして、制御部14は、カウンタ部12のCn−1及びDの値を読み取る(リード)(ステップS16,S17)。
When the counter unit 12 receives the count value holding instruction of the counter 1 and the stop instruction of the counter 2 transmitted in step S15, the counter unit 12 stops the count of the counter 2, and the count value of the counter 1 is stored in a memory (not shown) as necessary. Hold. Note that the count value of the counter 2 is D n , and the count value of the counter 1 is C n−1 .
Then, the control unit 14 reads the value of C n-1 and D n of the counter 12 (read) (step S16, S17).

制御部14は、Dを基に、ステップS14においてNTPサーバ20から送信され、NTP処理部13を介して受信した時刻情報の補正を行なう。即ち、制御部14は、次式(11)を用いて時刻Tを算出する。 Control unit 14, based on the D n, are transmitted from the NTP server 20 in step S14, corrects the time information received via the NTP processing unit 13. That is, the control unit 14 calculates the time T n using the following equation (11).

Figure 0005783017
Figure 0005783017

また、制御部14は、次式(12)を用いて位相誤差αを算出する。 Further, the control unit 14 calculates the phase error α n using the following equation (12).

Figure 0005783017
Figure 0005783017

さらに、制御部14は、次式(13)を用いて、平均位相変動量βを算出する。   Furthermore, the control unit 14 calculates the average phase fluctuation amount β using the following equation (13).

Figure 0005783017
Figure 0005783017

制御部14は、こうして算出された平均位相変動量βに基づいて生成した制御信号をクロック信号生成部11に対して出力することにより、発振器の周波数誤差を補正する。
平均位相変動量βに含まれる初期誤差を除去する場合、継続して同じ平均化回数で平均位相変動量β′を求める。
そして、以下の式(14)を用いて発振器の周波数誤差を求める。
The control unit 14 outputs a control signal generated based on the average phase fluctuation amount β thus calculated to the clock signal generation unit 11 to correct the frequency error of the oscillator.
When the initial error included in the average phase fluctuation amount β is removed, the average phase fluctuation amount β ′ is continuously obtained with the same averaging number.
And the frequency error of an oscillator is calculated | required using the following formula | equation (14).

Figure 0005783017
Figure 0005783017

制御部14は、算出された周波数誤差に基づいて生成した制御信号をクロック信号生成部11に対して出力することにより、発振器の周波数誤差を補正することもできる。
上述した方法によると、発振器の周波数誤差を高精度に補正することができる。
(1.4)周波数誤差補正装置のハードウェア構成
図7は、一実施形態に係る周波数誤差補正装置のハードウェア構成の一例を示す図である。
The control unit 14 can also correct the frequency error of the oscillator by outputting a control signal generated based on the calculated frequency error to the clock signal generation unit 11.
According to the method described above, the frequency error of the oscillator can be corrected with high accuracy.
(1.4) Hardware Configuration of Frequency Error Correction Device FIG. 7 is a diagram illustrating an example of a hardware configuration of the frequency error correction device according to an embodiment.

図7に示す周波数誤差補正装置10は、例示的に、PLL(Phase Locked Loop)110と、PLD(Programmable Logic Device)120と、SOC(System On a Chip)130とをそなえる。
PLL110は、装置内基準クロックとなるクロック信号を生成するものであり、発振周波数を制御することが可能な発振器を用いて実現される。即ち、PLL110は、図1におけるクロック信号生成部11として機能する。
The frequency error correction apparatus 10 shown in FIG. 7 includes a PLL (Phase Locked Loop) 110, a PLD (Programmable Logic Device) 120, and an SOC (System On a Chip) 130, for example.
The PLL 110 generates a clock signal serving as a reference clock within the apparatus, and is realized using an oscillator capable of controlling the oscillation frequency. That is, the PLL 110 functions as the clock signal generation unit 11 in FIG.

PLL110は、例えば、DAC(Digital Analog Converter)と、VCTCXO(Voltage Controlled Temperature Conpensated Crystal Oscillator)とをそなえる。
この場合、DACは、後述するSOC130から与えられる制御信号に基づき、VCTCXOが出力するクロック信号の周波数を制御するための制御電圧を生成し、VCTCXOは、DACから与えられる制御電圧に応じた周波数で発振する。
The PLL 110 includes, for example, a DAC (Digital Analog Converter) and a VCTCXO (Voltage Controlled Tempered Crystal Oscillator).
In this case, the DAC generates a control voltage for controlling the frequency of the clock signal output from the VCTCXO based on a control signal supplied from the SOC 130 described later, and the VCTCXO has a frequency corresponding to the control voltage supplied from the DAC. Oscillates.

PLD120は、PLL110から出力されるクロック信号の周波数をカウントするよう設計される。即ち、PLD120は、図1におけるカウンタ部12として機能する。なお、PLD120は、後述する130と一体に構成することもできる。
SOC130は、種々の制御や演算を行なうプロセッサとしての機能を内蔵するものであり、図示しないメモリなどに格納されたOSやプログラムを実行することにより、種々の機能を実現する。
The PLD 120 is designed to count the frequency of the clock signal output from the PLL 110. That is, the PLD 120 functions as the counter unit 12 in FIG. The PLD 120 can also be configured integrally with 130 described later.
The SOC 130 incorporates functions as a processor that performs various controls and operations, and implements various functions by executing an OS and programs stored in a memory (not shown).

NTP処理部13及び制御部14としての機能を実現する際には、内部記憶装置に格納されたプログラムがコンピュータのマイクロプロセッサによって実行される。このとき、記録媒体に記録されたプログラムをコンピュータが読み取って実行するようにしてもよい。
なお、本実施形態において、コンピュータとは、ハードウェアとオペレーティングシステムとを含む概念であり、オペレーティングシステムの制御の下で動作するハードウェアを意味している。又、オペレーティングシステムが不要でアプリケーションプログラム単独でハードウェアを動作させるような場合には、そのハードウェア自体がコンピュータに相当する。ハードウェアは、少なくとも、CPU(Central Processing Unit)等のマイクロプロセッサと、記録媒体に記録されたコンピュータプログラムを読み取るための手段とをそなえており、本実施形態においては、SOC130がコンピュータとしての機能を有しているのである。
When realizing the functions as the NTP processing unit 13 and the control unit 14, the program stored in the internal storage device is executed by the microprocessor of the computer. At this time, the computer may read and execute the program recorded on the recording medium.
In the present embodiment, the computer is a concept including hardware and an operating system, and means hardware that operates under the control of the operating system. Further, when an operating system is unnecessary and hardware is operated by an application program alone, the hardware itself corresponds to a computer. The hardware includes at least a microprocessor such as a CPU (Central Processing Unit) and means for reading a computer program recorded on a recording medium. In this embodiment, the SOC 130 functions as a computer. It has.

〔2〕周波数誤差補正装置の適用例
上述した周波数誤差補正装置10は、任意の送信装置及び受信装置に適用することが可能である。
そこで、上述した周波数誤差補正装置10の一適用例として、周波数誤差補正装置10が適用された無線基地局装置について、図8を用いて説明する。
[2] Application Example of Frequency Error Correction Device The frequency error correction device 10 described above can be applied to any transmission device and reception device.
Therefore, as an application example of the frequency error correction apparatus 10 described above, a radio base station apparatus to which the frequency error correction apparatus 10 is applied will be described with reference to FIG.

図8は、周波数誤差補正装置10が適用された無線基地局装置40を示す図である。
図8に示す無線基地局装置40は、例示的に、周波数誤差補正装置10と、有線インタフェース(IF;Interface)41と、無線送信処理部42と、無線受信処理部43と、送信アンテナ44と、受信アンテナ45と、CPU46と、論理回路47と、メモリ48とをそなえる。
FIG. 8 is a diagram illustrating a radio base station apparatus 40 to which the frequency error correction apparatus 10 is applied.
The radio base station apparatus 40 illustrated in FIG. 8 illustratively includes a frequency error correction apparatus 10, a wired interface (IF) 41, a radio transmission processing unit 42, a radio reception processing unit 43, and a transmission antenna 44. The receiving antenna 45, the CPU 46, the logic circuit 47, and the memory 48 are provided.

有線インタフェース41は、無線基地局装置40と、外部ネットワークもしくは上位装置との通信制御を行なう。
無線送信処理部42は、移動局へ送信する信号に符号化処理,変調処理及び周波数変換などの所定の信号処理を施し、アンテナ44へ出力する。
無線受信処理部43は、アンテナ45で受信した移動局から送信された無線信号に周波数変換,復調処理及び復号処理など所定の信号処理を施すものである。
The wired interface 41 controls communication between the radio base station device 40 and an external network or a host device.
The radio transmission processing unit 42 performs predetermined signal processing such as encoding processing, modulation processing, and frequency conversion on the signal transmitted to the mobile station, and outputs the result to the antenna 44.
The radio reception processing unit 43 performs predetermined signal processing such as frequency conversion, demodulation processing, and decoding processing on the radio signal transmitted from the mobile station received by the antenna 45.

CPU46は、バスによって相互接続された論理回路47及びメモリ48と協働することにより、有線IF41,無線送信処理部42及び無線受信処理部43を制御する。
周波数誤差補正装置10は、図示しないNTPサーバに加え、例えば、無線送信処理部42及び無線受信処理部43に接続され、各処理に必要なクロック信号を高い周波数精度で生成する。
The CPU 46 controls the wired IF 41, the wireless transmission processing unit 42, and the wireless reception processing unit 43 by cooperating with the logic circuit 47 and the memory 48 interconnected by a bus.
The frequency error correction apparatus 10 is connected to, for example, a wireless transmission processing unit 42 and a wireless reception processing unit 43 in addition to an NTP server (not shown), and generates a clock signal necessary for each processing with high frequency accuracy.

上述した構成によると、周波数誤差補正装置10を無線基地局装置40に適用することにより、無線基地局装置40は、周波数精度の高いクロック信号用いて無線周波数同期などを行なうことが可能になるため、無線基地局装置40の信頼性が向上する。
なお、本発明は、上記の無線基地局装置に限らず、任意の送信装置及び受信装置に適用することが可能である。
According to the configuration described above, by applying the frequency error correction apparatus 10 to the radio base station apparatus 40, the radio base station apparatus 40 can perform radio frequency synchronization using a clock signal with high frequency accuracy. The reliability of the radio base station apparatus 40 is improved.
Note that the present invention is not limited to the above-described radio base station apparatus, and can be applied to any transmission apparatus and reception apparatus.

〔3〕その他
なお、上述した周波数誤差補正装置10の各構成及び各機能は、必要に応じて取捨選択してもよいし、適宜組み合わせて用いてもよい。即ち、本発明の機能を発揮できるように、上記の各構成及び各機能を取捨選択したり、適宜組み合わせて用いたりしてもよい。
また、上述した一実施形態において、NTPを用いて発振器の周波数誤差の補正を行なう例について説明したが、本発明はこれに限定されるものではなく、ネットワークを介して時刻情報を取得するものであれば、NTPとは異なる他のプロトコルを用いる場合であっても同様に実施することができる。
[3] Others Note that the components and functions of the frequency error correction apparatus 10 described above may be selected as necessary, or may be used in appropriate combination. In other words, the above-described configurations and functions may be selected or used in appropriate combination so that the functions of the present invention can be exhibited.
In the above-described embodiment, the example of correcting the frequency error of the oscillator using NTP has been described. However, the present invention is not limited to this, and time information is acquired via a network. If so, even if another protocol different from NTP is used, it can be similarly implemented.

さらに、上述した一実施形態では、クロック信号生成部11,カウンタ部12,NTP処理部13及び制御部14の全てが一つの装置内に構成される例について説明したが、クロック信号生成部11,カウンタ部12,NTP処理部13及び制御部14のうちのいずれかが異なる装置内に構成された場合であっても、装置間で通信可能であれば、上述した一実施形態と同様の効果を得ることができる。   Further, in the above-described embodiment, the example in which the clock signal generation unit 11, the counter unit 12, the NTP processing unit 13, and the control unit 14 are all configured in one device has been described. Even if any of the counter unit 12, the NTP processing unit 13, and the control unit 14 is configured in different devices, the same effects as those of the above-described embodiment can be obtained as long as communication is possible between the devices. Can be obtained.

以上の実施形態に関し、さらに以下の付記を開示する。
〔4〕付記
(付記1)
所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する発振器の周波数誤差補正装置において、
前記発振器のクロック数をカウントするカウンタ部と、
ネットワークを介して受信される時刻情報と前記カウンタ部でのカウント結果と前記所望の発振周波数とに基づいて複数回に亘って算出される前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正する処理部とをそなえる、
ことを特徴とする、発振器の周波数誤差補正装置。
Regarding the above embodiment, the following additional notes are disclosed.
[4] Appendix (Appendix 1)
In an oscillator frequency error correction device for correcting a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency,
A counter for counting the number of clocks of the oscillator;
The frequency of the oscillator using the average value of the frequency error of the oscillator calculated over a plurality of times based on the time information received via the network, the count result in the counter unit, and the desired oscillation frequency A processing unit for correcting errors;
A frequency error correction apparatus for an oscillator.

(付記2)
前記処理部は、
NTP(Network Time Protocol)サーバから送信されたNTPパケットに含まれる前記時刻情報を抽出する、
ことを特徴とする、付記1記載の発振器の周波数誤差補正装置。
(Appendix 2)
The processor is
Extracting the time information included in an NTP packet transmitted from an NTP (Network Time Protocol) server;
The frequency error correction device for an oscillator according to appendix 1, wherein:

(付記3)
前記処理部は、
前記時刻情報から算出される複数の期間に関する情報と、前記複数の期間における前記カウンタ部でのカウント結果を前記所望の発振周波数でそれぞれ除して得られる複数の時間に関する情報との差に基づいて前記発振器の周波数誤差をそれぞれ算出し、
前記の各周波数誤差の相加平均を用いて前記発振器の周波数誤差を補正する、
ことを特徴とする、付記1または2に記載の発振器の周波数誤差補正装置。
(Appendix 3)
The processor is
Based on the difference between the information on the plurality of periods calculated from the time information and the information on the plurality of times obtained by dividing the count results of the counter unit in the plurality of periods by the desired oscillation frequency, respectively. Calculate the frequency error of each of the oscillators,
Correcting the frequency error of the oscillator using an arithmetic mean of each frequency error;
The frequency error correction apparatus for an oscillator according to appendix 1 or 2, characterized by the above.

(付記4)
前記処理部は、
同じ起点を有し長さの異なる2つの期間において、前記時刻情報と前記カウンタ部でのカウント結果と前記所望の発振周波数とに基づいて複数回に亘って算出される前記発振器の周波数誤差の平均値をそれぞれ算出し、
算出した各平均値を用いて前記発振器の周波数誤差を補正する、
ことを特徴とする、付記1〜3のいずれか1項に記載の発振器の周波数誤差補正装置。
(Appendix 4)
The processor is
Average frequency error of the oscillator calculated over a plurality of times based on the time information, the count result of the counter unit, and the desired oscillation frequency in two periods having the same starting point and different lengths Calculate each value,
Correct the frequency error of the oscillator using each calculated average value,
The frequency error correction device for an oscillator according to any one of appendices 1 to 3, wherein:

(付記5)
所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する周波数誤差補正装置において、
ネットワークを介して受信される時刻情報と前記発振器のクロック数のカウント結果と前記所望の発振周波数とに基づいて複数回に亘って前記発振器の周波数誤差を算出し、
前記複数回に亘って算出された前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正する、
ことを特徴とする、発振器の周波数誤差補正方法。
(Appendix 5)
In a frequency error correction apparatus for correcting a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency,
Calculate the frequency error of the oscillator over multiple times based on the time information received via the network, the count result of the clock number of the oscillator and the desired oscillation frequency,
Correcting the frequency error of the oscillator using an average value of the frequency error of the oscillator calculated over the plurality of times;
A frequency error correction method for an oscillator.

(付記6)
所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する機能をコンピュータに実行させるための周波数誤差補正プログラムであって、
ネットワークを介して受信される時刻情報と前記発振器のクロック数のカウント結果と前記所望の発振周波数とに基づいて複数回に亘って前記発振器の周波数誤差を算出するステップと、
前記複数回に亘って算出された前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正するステップとを前記コンピュータに実行させる、
ことを特徴とする、周波数誤差補正プログラム。
(Appendix 6)
A frequency error correction program for causing a computer to execute a function of correcting a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency,
Calculating a frequency error of the oscillator a plurality of times based on time information received via a network, a count result of the number of clocks of the oscillator, and the desired oscillation frequency;
Correcting the frequency error of the oscillator using the average value of the frequency error of the oscillator calculated over the plurality of times, and causing the computer to execute the step.
A frequency error correction program characterized by that.

(付記7)
所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する発振器の周波数誤差補正システムにおいて、
前記発振器のクロック数をカウントするカウンタ部と、
ネットワークを介して受信される時刻情報と前記カウンタ部でのカウント結果と前記所望の発振周波数とに基づいて複数回に亘って算出される前記発振器の周波数誤差の平均値を用いて前記発振器の周波数誤差を補正する処理部とをそなえる、
ことを特徴とする、発振器の周波数誤差補正システム。
(Appendix 7)
In an oscillator frequency error correction system for correcting a frequency error occurring in an oscillator designed to oscillate at a desired oscillation frequency,
A counter for counting the number of clocks of the oscillator;
The frequency of the oscillator using the average value of the frequency error of the oscillator calculated over a plurality of times based on the time information received via the network, the count result in the counter unit, and the desired oscillation frequency A processing unit for correcting errors;
A frequency error correction system for an oscillator.

(付記8)
付記1〜4のいずれか1項に記載の発振器の周波数誤差補正装置を有する、
ことを特徴とする、無線基地局装置。
(Appendix 8)
Having the frequency error correction device for an oscillator according to any one of appendices 1 to 4,
A radio base station apparatus characterized by the above.

10 周波数誤差補正装置
11 クロック信号生成部
12 カウンタ部
13 NTP処理部
131 NTPパケット終端部
132 時刻情報抽出部
14 制御部
141 誤差検出部
142 補正制御部
20 NTPサーバ
30 ネットワーク
110 PLL
120 PLD
130 SOC
40 無線基地局装置
41 有線IF
42 無線送信処理部
43 無線受信処理部
44,45 アンテナ
46 CPU
47 論理回路
48 メモリ
DESCRIPTION OF SYMBOLS 10 Frequency error correction apparatus 11 Clock signal generation part 12 Counter part 13 NTP process part 131 NTP packet termination | terminus part 132 Time information extraction part 14 Control part 141 Error detection part 142 Correction control part 20 NTP server 30 Network 110 PLL
120 PLD
130 SOC
40 Wireless base station equipment 41 Wired IF
42 wireless transmission processing unit 43 wireless reception processing unit 44, 45 antenna 46 CPU
47 logic circuit 48 memory

Claims (6)

所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する発振器の周波数誤差補正装置において、
前記発振器のクロック数をカウントするカウンタ部と、
同じ起点を有し長さの異なる2つの期間において、ネットワークを介して受信される時刻情報と前記カウンタ部でのカウント結果と前記所望の発振周波数とに基づいて複数回に亘って算出される前記発振器の周波数誤差の平均値をそれぞれ算出し、算出した各平均値を用いて前記発振器の周波数誤差を補正する処理部とをそなえる、
ことを特徴とする、発振器の周波数誤差補正装置。
In an oscillator frequency error correction device for correcting a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency,
A counter for counting the number of clocks of the oscillator;
In two periods having the same starting point and different lengths, the calculation is performed a plurality of times based on time information received via a network, a count result in the counter unit, and the desired oscillation frequency. An average value of the frequency error of the oscillator is calculated respectively, and a processing unit that corrects the frequency error of the oscillator using each calculated average value is provided.
A frequency error correction apparatus for an oscillator.
前記処理部は、
NTP(Network Time Protocol)サーバから送信されたNTPパケットに含まれる前記時刻情報を抽出する、
ことを特徴とする、請求項1記載の発振器の周波数誤差補正装置。
The processor is
Extracting the time information included in an NTP packet transmitted from an NTP (Network Time Protocol) server;
The frequency error correction device for an oscillator according to claim 1, wherein
前記処理部は、
前記時刻情報から算出される複数の期間に関する情報と、前記複数の期間における前記カウンタ部でのカウント結果を前記所望の発振周波数でそれぞれ除して得られる複数の時間に関する情報との差に基づいて前記発振器の周波数誤差をそれぞれ算出し、
前記の各周波数誤差の相加平均を用いて前記発振器の周波数誤差を補正する、
ことを特徴とする、請求項1または2に記載の発振器の周波数誤差補正装置
The processor is
Based on the difference between the information on the plurality of periods calculated from the time information and the information on the plurality of times obtained by dividing the count results of the counter unit in the plurality of periods by the desired oscillation frequency, respectively. Calculate the frequency error of each of the oscillators,
Correcting the frequency error of the oscillator using an arithmetic mean of each frequency error;
The frequency error correction device for an oscillator according to claim 1, wherein the frequency error correction device is an oscillator .
所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する周波数誤差補正装置において、
同じ起点を有し長さの異なる2つの期間において、ネットワークを介して受信される時刻情報と前記発振器のクロック数のカウント結果と前記所望の発振周波数とに基づいて複数回に亘って前記発振器の周波数誤差の平均値それぞれ算出し、算出した各平均値を用いて前記発振器の周波数誤差を補正する、
ことを特徴とする、発振器の周波数誤差補正方法。
In a frequency error correction apparatus for correcting a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency,
Based on the time information received via the network, the count result of the clock number of the oscillator, and the desired oscillation frequency in two periods having the same starting point and different lengths, the oscillator average value of the frequency error were calculated, correcting the frequency error of the oscillator using the average value calculated,
A frequency error correction method for an oscillator.
所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する機能をコンピュータに実行させるための周波数誤差補正プログラムであって、
同じ起点を有し長さの異なる2つの期間において、ネットワークを介して受信される時刻情報と前記発振器のクロック数のカウント結果と前記所望の発振周波数とに基づいて複数回に亘って前記発振器の周波数誤差の平均値それぞれ算出し、算出した各平均値を用いて前記発振器の周波数誤差を補正するステップとを前記コンピュータに実行させる、
ことを特徴とする、周波数誤差補正プログラム。
A frequency error correction program for causing a computer to execute a function of correcting a frequency error generated in an oscillator designed to oscillate at a desired oscillation frequency,
Based on the time information received via the network, the count result of the clock number of the oscillator, and the desired oscillation frequency in two periods having the same starting point and different lengths, the oscillator Calculating the average value of the frequency error, and correcting the frequency error of the oscillator using each of the calculated average values .
A frequency error correction program characterized by that.
所望の発振周波数で発振するよう設計された発振器において生じる周波数誤差を補正する発振器の周波数誤差補正システムにおいて、
前記発振器のクロック数をカウントするカウンタ部と、
同じ起点を有し長さの異なる2つの期間において、ネットワークを介して受信される時刻情報と前記カウンタ部でのカウント結果と前記所望の発振周波数とに基づいて複数回に亘って前記発振器の周波数誤差の平均値をそれぞれ算出し、算出した各平均値を用いて前記発振器の周波数誤差を補正する処理部とをそなえる、
ことを特徴とする、発振器の周波数誤差補正システム。
In an oscillator frequency error correction system for correcting a frequency error occurring in an oscillator designed to oscillate at a desired oscillation frequency,
A counter for counting the number of clocks of the oscillator;
In two periods of different lengths have the same origin, before Symbol oscillator plural times based on the count result and the desired oscillation frequency of the time information received through the network and by the counter unit Each of the average value of the frequency error is calculated, and a processing unit that corrects the frequency error of the oscillator using each calculated average value is provided.
A frequency error correction system for an oscillator.
JP2011264782A 2011-12-02 2011-12-02 Oscillator frequency error correction apparatus, frequency error correction method, frequency error correction program, and frequency error correction system Active JP5783017B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011264782A JP5783017B2 (en) 2011-12-02 2011-12-02 Oscillator frequency error correction apparatus, frequency error correction method, frequency error correction program, and frequency error correction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011264782A JP5783017B2 (en) 2011-12-02 2011-12-02 Oscillator frequency error correction apparatus, frequency error correction method, frequency error correction program, and frequency error correction system

Publications (2)

Publication Number Publication Date
JP2013118491A JP2013118491A (en) 2013-06-13
JP5783017B2 true JP5783017B2 (en) 2015-09-24

Family

ID=48712769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011264782A Active JP5783017B2 (en) 2011-12-02 2011-12-02 Oscillator frequency error correction apparatus, frequency error correction method, frequency error correction program, and frequency error correction system

Country Status (1)

Country Link
JP (1) JP5783017B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11489656B2 (en) 2020-03-26 2022-11-01 Icom Incorporated Wireless station and method of correcting frequency error

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6381392B2 (en) * 2014-09-30 2018-08-29 Kddi株式会社 PON system, OLT, ONU, and transmission method
KR101665924B1 (en) * 2015-08-04 2016-10-13 주식회사 이노와이어리스 Frequency offset estimation system using network time protocol time offset
JP6950259B2 (en) * 2017-04-20 2021-10-13 日本電気株式会社 Synchronous processing system, signal processing system, synchronous processing method, and synchronous processing program
JP6684409B1 (en) * 2018-10-29 2020-04-22 豊美 中村 Time synchronization system
JP6951019B2 (en) * 2019-03-12 2021-10-20 Necプラットフォームズ株式会社 Counter device, time calculation device, information processing device, control method, time calculation method and program
JP7409786B2 (en) * 2019-06-06 2024-01-09 ミハル通信株式会社 Transmission device and transmission device control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3429825B2 (en) * 1993-12-24 2003-07-28 古野電気株式会社 Clock signal generator, packet transmission time measurement method / measurement system
JP3906712B2 (en) * 2002-02-27 2007-04-18 株式会社日立製作所 Data stream processing device
JPWO2006082628A1 (en) * 2005-02-01 2008-06-26 三菱電機株式会社 Inter-base station synchronization system, synchronization control device, and base station

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11489656B2 (en) 2020-03-26 2022-11-01 Icom Incorporated Wireless station and method of correcting frequency error

Also Published As

Publication number Publication date
JP2013118491A (en) 2013-06-13

Similar Documents

Publication Publication Date Title
JP5783017B2 (en) Oscillator frequency error correction apparatus, frequency error correction method, frequency error correction program, and frequency error correction system
US11177896B2 (en) Time synchronization device and time synchronization method
US9671761B2 (en) Method, time consumer system, and computer program product for maintaining accurate time on an ideal clock
CN107655475B (en) Synchronous pulse signal acquisition method, navigation data synchronous processing method and system
US8325704B1 (en) Time correction and distance measurement in wireless mesh networks
US8826062B2 (en) Apparatus for synchronizing a data handover between a first clock domain and a second clock domain through phase synchronization
US7656979B2 (en) Data communication device
EP3531610B1 (en) Frequency synchronization method and slave clock
US20140036903A1 (en) Radio Over Ethernet
JP6465787B2 (en) Data processing apparatus, device, data processing method, and data processing program
WO2016197228A1 (en) Accurate time recovery from global navigation satellite system
TW201405277A (en) Electronic apparatus and clock generating method thereof
JP2009300128A (en) Sampling synchronization device and sampling synchronization method
US8253456B2 (en) Time correction circuit and electronic apparatus
WO2016065642A1 (en) Synchronization device and method
JP2012195840A (en) Communication apparatus and communication control method
US10110371B2 (en) Phase difference estimation device and communication device having the phase difference estimation device
US20130051439A1 (en) Frequency calibration device and method for programmable oscillator
JP4016753B2 (en) Time synchronization apparatus for information processing apparatus
JP6893070B2 (en) Information communication system
JP2018042032A (en) Receiver
JP2007258800A (en) Radio device
US9319216B2 (en) Operating method of human interface device
JP6893071B2 (en) Information communication system
JP2010212763A (en) Data reproduction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150422

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150603

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150623

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150706

R150 Certificate of patent (=grant) or registration of utility model

Ref document number: 5783017

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150