JPH11122103A - Frequency correction circuit - Google Patents

Frequency correction circuit

Info

Publication number
JPH11122103A
JPH11122103A JP9285311A JP28531197A JPH11122103A JP H11122103 A JPH11122103 A JP H11122103A JP 9285311 A JP9285311 A JP 9285311A JP 28531197 A JP28531197 A JP 28531197A JP H11122103 A JPH11122103 A JP H11122103A
Authority
JP
Japan
Prior art keywords
frequency
output
data
value
frequency data
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
JP9285311A
Other languages
Japanese (ja)
Inventor
Mitsunori Hamada
光徳 濱田
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 JP9285311A priority Critical patent/JPH11122103A/en
Publication of JPH11122103A publication Critical patent/JPH11122103A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

(57)【要約】 【課題】 本発明は、発振器の周波数補正回路に関し、
電子装置において、装置内発振器の精度に依らず高精度
の装置内動作周波数の取得を可能する。 【解決手段】 装置内発振器1の出力周波数を動作周波
数とし、データ書込命令を受けて取り込んだ周波数デー
タに従った周波数の信号を発生するディジタルシンセサ
イザ2の出力周波数を補正する周波数補正回路であっ
て、外部から供給される基準周波数と発振器1の出力周
波数との偏差を検出する手段3と、検出された偏差に応
じた補正値を算出する手段4と、周波数データを出力す
る手段5と、手段5が出力する周波数データに補正値を
加減算して補正周波数データを出力する手段6と、ディ
ジタルシンセサイザ2にデータ書込命令を出力し、補正
周波数データを周波数データとして取り込ませる手段7
とを備えることを特徴とする。
(57) [Summary] The present invention relates to a frequency correction circuit for an oscillator,
In an electronic device, it is possible to obtain a high-precision operating frequency of the device regardless of the accuracy of the internal oscillator. SOLUTION: A frequency correction circuit for correcting the output frequency of a digital synthesizer 2 for generating a signal having a frequency in accordance with frequency data received in response to a data write instruction, using an output frequency of an internal oscillator 1 as an operating frequency. A means 3 for detecting a deviation between a reference frequency supplied from the outside and an output frequency of the oscillator 1, a means 4 for calculating a correction value corresponding to the detected deviation, a means 5 for outputting frequency data, A means 6 for adding and subtracting a correction value to and from the frequency data output by the means 5 and outputting corrected frequency data; and a means 7 for outputting a data write command to the digital synthesizer 2 and causing the corrected frequency data to be captured as frequency data.
And characterized in that:

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、発振器の周波数補
正回路に関する。電子装置では、装置内部に動作周波数
を規定する発振器を有するが、この装置内部の発振器
は、高精度・高安定で、しかも経年変化による周波数の
偏差を補正する必要のないものであることが望まれる。
特に、近年、移動通信の発展が目覚ましいが、この移動
通信システムでは、基地局は、多数配置されるので、メ
ンテナンスフリーの観点から、基地局内発振器は、経年
変化による周波数の偏差を補正する必要のないものが望
まれる。
The present invention relates to a frequency correction circuit for an oscillator. An electronic device has an oscillator that regulates the operating frequency inside the device, but it is desirable that the oscillator inside the device be one that is highly accurate and highly stable, and that does not need to correct the frequency deviation due to aging. It is.
Particularly, in recent years, the development of mobile communication has been remarkable, but in this mobile communication system, since a large number of base stations are arranged, from the viewpoint of maintenance-free, the oscillator in the base station needs to correct the frequency deviation due to aging. Nothing is desired.

【0002】[0002]

【従来の技術】従来では、高精度の周波数を得るため
に、安定度の高い水晶発振器を用い、更に高精度・高安
定を要する場合は、周囲温度の変化による影響をなくす
べく水晶を恒温槽に入れたオーブン型の水晶発振器を用
いることが行われる。また、水晶の発振周波数以外の周
波数を得る場合には、位相比較器・ループフィルタ・V
CO(電圧制御発振器)を用いたPLLシンセサイザが
用いられる。
2. Description of the Related Art Conventionally, a highly stable crystal oscillator is used to obtain a high-precision frequency, and when high precision and high stability are required, a crystal is kept in a thermostat so as to eliminate the influence of a change in ambient temperature. The use of an oven-type crystal oscillator placed in an oven is performed. To obtain a frequency other than the crystal oscillation frequency, a phase comparator, a loop filter,
A PLL synthesizer using a CO (voltage controlled oscillator) is used.

【0003】[0003]

【発明が解決しようとする課題】高精度・高安定な水晶
発振器を用いた場合でも経年変化による周波数のずれは
不可避であるので、一定期間毎に一度発振周波数の調整
を行う必要がある。したがって、移動通信システムにお
ける基地局のように同種装置が多数配置される場合に
は、メンテナンスに要する作業量は膨大なものとなる。
Even when a high-precision and high-stability crystal oscillator is used, a frequency shift due to aging is inevitable. Therefore, it is necessary to adjust the oscillation frequency once every predetermined period. Therefore, when a large number of similar devices are arranged like base stations in a mobile communication system, the amount of work required for maintenance is enormous.

【0004】PLLシンセサイザの場合には、比較周波
数の成分が出力周波数に混入し、出力周波数の純度を低
下させる問題が指摘されており、また比較周波数の成分
が何らかの原因で断たれた場合に出力周波数が保証され
ないので、比較周波数の成分が断する可能性を考慮しな
ければならない用途の装置では、問題である。また、周
波数安定度の高い水晶発振器を使用したPLLシンセサ
イザの場合でも発振周波数のずれが規格を超えることが
あり得るが、かかる場合を検出できない。
In the case of the PLL synthesizer, it has been pointed out that a component of the comparison frequency is mixed into the output frequency, thereby deteriorating the purity of the output frequency. In addition, when the component of the comparison frequency is cut off for some reason, the output is reduced. Since the frequency is not guaranteed, this is a problem in applications where the possibility of breaking the component of the comparison frequency must be taken into account. Further, even in the case of a PLL synthesizer using a crystal oscillator having high frequency stability, the deviation of the oscillation frequency may exceed the standard, but such a case cannot be detected.

【0005】本発明の目的は、電子装置において、装置
内発振器の精度に依らず高精度の装置内動作周波数の取
得を可能にする周波数補正回路を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a frequency correction circuit for an electronic device, which can obtain a high-precision operating frequency of the device regardless of the accuracy of the internal oscillator.

【0006】[0006]

【課題を解決するための手段】図1は、請求項1乃至請
求項4に記載の発明の原理ブロック図である。
FIG. 1 is a block diagram showing the principle of the first to fourth aspects of the present invention.

【0007】請求項1に記載の発明は、装置内発振器1
の出力周波数を動作周波数とし、データ書込命令を受け
て取り込んだ周波数データに従った周波数の信号を発生
するディジタルシンセサイザ2の出力周波数を補正する
周波数補正回路であって、外部から供給される基準周波
数と装置内発振器1の出力周波数との偏差を検出する偏
差検出手段3と、検出された偏差値に応じた補正値を算
出する補正値算出手段4と、周波数データを出力する周
波数データ出力手段5と、周波数データ出力手段5が出
力する周波数データに補正値を加減算して補正周波数デ
ータを出力する補正周波数データ出力手段6と、ディジ
タルシンセサイザ2にデータ書込命令を出力し、補正周
波数データを周波数データとして取り込ませる書込命令
出力手段7とを備えることを特徴とする。
According to the first aspect of the present invention, an internal oscillator 1 is provided.
A frequency correction circuit for correcting the output frequency of the digital synthesizer 2 for generating a signal having a frequency in accordance with the frequency data received in response to the data write command, with the output frequency of Deviation detecting means 3 for detecting a deviation between the frequency and the output frequency of the internal oscillator 1, correction value calculating means 4 for calculating a correction value according to the detected deviation value, and frequency data output means for outputting frequency data 5, a correction frequency data output means 6 for adding and subtracting a correction value to and from the frequency data output by the frequency data output means 5 to output correction frequency data, and a data write instruction to the digital synthesizer 2 to output the correction frequency data. And a write command output means 7 for taking in as frequency data.

【0008】即ち、請求項1に記載の発明では、偏差検
出手段3が、外部から供給される基準周波数と装置内発
振器2の出力周波数との偏差を検出すると、補正値算出
手段4が、その検出された偏差値に応じた補正値を算出
し、補正周波数データ出力手段6が、周波数データ出力
手段5が出力する周波数データに補正値を加減算して補
正周波数データを出力するので、書込命令出力手段7
が、ディジタルシンセサイザ2にデータ書込命令を出力
し、その補正周波数データを書き込ませる。
That is, according to the first aspect of the present invention, when the deviation detecting means 3 detects a deviation between a reference frequency supplied from the outside and an output frequency of the internal oscillator 2, the correction value calculating means 4 outputs the correction value. A correction value according to the detected deviation value is calculated, and the correction frequency data output means 6 adds and subtracts the correction value to and from the frequency data output by the frequency data output means 5 to output the correction frequency data. Output means 7
Outputs a data write command to the digital synthesizer 2 to write the corrected frequency data.

【0009】その結果、ディジタルシンセサイザ2は、
装置内発振器1の精度に依らず外部から供給される基準
周波数と同程度の精度の周波数信号を出力できる。請求
項2に記載の発明は、請求項1に記載の周波数補正回路
において、基準周波数の信号の供給有無を検出する検出
手段8と、検出手段8が供給無を検出したとき、ディジ
タルシンセサイザ2に、検出直前のデータ書込命令で発
生した周波数の信号を保持出力させる保持命令を出力す
る保持命令出力手段9とを備えることを特徴とする。
As a result, the digital synthesizer 2
It is possible to output a frequency signal of the same accuracy as the reference frequency supplied from outside regardless of the accuracy of the internal oscillator 1. According to a second aspect of the present invention, in the frequency correction circuit according to the first aspect, the detection means for detecting whether or not the signal of the reference frequency is supplied, and the digital synthesizer when the detection means detects the absence of the supply. And a holding command output means 9 for outputting a holding command for holding and outputting a signal of a frequency generated by a data write command immediately before detection.

【0010】即ち、請求項2に記載の発明では、検出手
段8が、基準周波数の信号の供給無を検出すると、保持
命令出力手段9が、ディジタルシンセサイザ2に、検出
直前のデータ書込命令で発生した周波数の信号を保持出
力させる。その結果、何らかの原因で基準周波数の供給
が断たれた場合に、ディジタルシンセサイザ2は、断直
前の補正周波数データで出力していた周波数を継続して
出力できる。
In other words, according to the second aspect of the present invention, when the detecting means 8 detects that the reference frequency signal is not supplied, the holding instruction output means 9 sends the digital synthesizer 2 a data write instruction immediately before the detection. The signal of the generated frequency is held and output. As a result, when the supply of the reference frequency is interrupted for some reason, the digital synthesizer 2 can continuously output the frequency output with the corrected frequency data immediately before the interruption.

【0011】請求項3に記載の発明は、請求項1または
請求項2に記載の周波数補正回路において、偏差値また
は補正値が閾値を超えたとき、警報を出力する警報手段
10を備えることを特徴とする。即ち、請求項3に記載
の発明では、警報手段10が、偏差値または補正値が閾
値を超えたとき、それを検出して外部に知らせる。
According to a third aspect of the present invention, in the frequency correction circuit according to the first or second aspect, an alarm means 10 for outputting an alarm when a deviation value or a correction value exceeds a threshold value is provided. Features. That is, according to the third aspect of the present invention, when the deviation value or the correction value exceeds the threshold value, the alarm means 10 detects this and notifies the outside.

【0012】請求項4に記載の発明は、請求項1乃至請
求項3に記載の周波数補正回路において、周波数データ
出力手段5は、各種周波数を発生させる周波数データが
設定される記憶手段であることを特徴とする。即ち、請
求項4に記載の発明では、ディジタルシンセサイザ2
は、各種の周波数を基準周波数の精度で発生する。な
お、装置内動作周波数が、1つとか2つとかの少ない数
の周波数であれば、周波数データ出力手段5は、スイッ
チ、簡単な論理回路等で構成できる周波数設定器でも良
いことになる。
According to a fourth aspect of the present invention, in the frequency correction circuit according to any one of the first to third aspects, the frequency data output means 5 is storage means for setting frequency data for generating various frequencies. It is characterized by. That is, according to the fourth aspect of the present invention, the digital synthesizer 2
Generates various frequencies with the accuracy of the reference frequency. If the operating frequency in the device is a small number such as one or two, the frequency data output means 5 may be a frequency setting device which can be constituted by a switch, a simple logic circuit or the like.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図2は、請求項1乃至請求項4に
対応する実施形態の構成図である。図2において、この
実施形態の周波数補正回路は、GPS受信機21、内部
発振器22、カウンタ23、メモリ24、加減算器2
5、ディジタルシンセサイザ26、中央処理装置(以
下、「CPU」という)27等を備える。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a configuration diagram of an embodiment corresponding to claims 1 to 4. In FIG. 2, the frequency correction circuit of this embodiment includes a GPS receiver 21, an internal oscillator 22, a counter 23, a memory 24, an adder / subtractor 2
5, a digital synthesizer 26, a central processing unit (hereinafter, referred to as “CPU”) 27, and the like.

【0014】GPS受信機21は、GPS(Global Posi
tioning System)の電波を受信し、時刻情報を復調して1
秒パルス(イ)を抽出し、カウンタ23の一方の入力に
与える。この1秒パルス(イ)は、「外部から供給され
る基準周波数」に対応する。また、GPS受信機21
は、受信電界強度を計測する強度計を有し、GPS電波
について計測した受信電界強度値(ロ)をCPU27に
与える。この受信電界強度値(ロ)は、「外部から供給
される基準周波数」の供給有無を検出する信号である。
The GPS receiver 21 is a GPS (Global Posi
reception system), demodulates time information, and
The second pulse (a) is extracted and given to one input of the counter 23. This one-second pulse (a) corresponds to the “reference frequency supplied from the outside”. In addition, the GPS receiver 21
Has an intensity meter for measuring the received electric field intensity, and provides the CPU 27 with the received electric field intensity value (b) measured for the GPS radio wave. This received electric field strength value (b) is a signal for detecting whether or not the “reference frequency supplied from the outside” is supplied.

【0015】内部発振器22の出力は、カウンタ23の
他方の入力とディジタルシンセサイザ26とに与えられ
る。カウンタ23は、1秒パルス(イ)をゲート信号と
して用い内部発振器22の発振周波数をカウントし、計
数結果(ハ)をCPU27に与える。つまり、カウンタ
23は、外部から供給される基準周波数に対し内部発振
器22の発振周波数がどの程度ずれているかの偏差を求
める比較器として動作している。
The output of the internal oscillator 22 is provided to the other input of the counter 23 and a digital synthesizer 26. The counter 23 counts the oscillating frequency of the internal oscillator 22 using the one-second pulse (a) as a gate signal, and supplies the counting result (c) to the CPU 27. That is, the counter 23 operates as a comparator that determines the deviation of the oscillation frequency of the internal oscillator 22 from the reference frequency supplied from the outside.

【0016】CPU27は、GPS受信機21からの受
信電界強度値(ロ)を監視し、それが所定値以上である
場合には、カウンタ23の計数結果(ハ)に基づき、加
減算器25の一方の入力に与える加減値(ホ)を求め、
メモリ24に与える周波数データ送出命令(ニ)の内容
を決定し、ディジタルシンセサイザ26へ書込命令
(ト)を出力する。
The CPU 27 monitors the electric field intensity value (b) received from the GPS receiver 21 and, if it is equal to or more than a predetermined value, based on the counting result (c) of the counter 23, one of the adders / subtractors 25. Find the adjustment value (e) given to the input of
The contents of the frequency data transmission command (d) given to the memory 24 are determined, and the writing command (g) is output to the digital synthesizer 26.

【0017】また、CPU27は、加減算器25へ出力
する加減値(ホ)が閾値(予想内加減値)よりも大きい
ときに警報出力を行う。さらに、CPU27は、GPS
受信機21からの受信電界強度値(ロ)を監視し、それ
が所定値以下となる場合には、ディジタルシンセサイザ
26に保持命令(チ)を出力する。メモリ24には、デ
ィジタルシンセサイザ26に発生させる各種の周波数の
データが設定される。メモリ24は、CPU27からの
周波数データ送出命令(ニ)に応じた周波数データを加減
算器25の他方の入力に与える。加減算器25は、メモ
リ24からの周波数データとCPU27からの加減値
(ホ)とに基づき補正周波数データ(ヘ)を生成し、そ
れをディジタルシンセサイザ26に対し出力する。
The CPU 27 outputs an alarm when the add / sub value (e) output to the adder / subtractor 25 is larger than a threshold value (expected add / sub value). Further, the CPU 27
The received electric field intensity value (b) from the receiver 21 is monitored, and if it becomes equal to or less than a predetermined value, a holding instruction (h) is output to the digital synthesizer 26. In the memory 24, data of various frequencies to be generated by the digital synthesizer 26 is set. The memory 24 supplies frequency data according to the frequency data transmission command (d) from the CPU 27 to the other input of the adder / subtractor 25. The adder / subtractor 25 generates correction frequency data (f) based on the frequency data from the memory 24 and the addition / subtraction value (e) from the CPU 27, and outputs it to the digital synthesizer 26.

【0018】ディジタルシンセサイザ26は、DDS(D
irect Digital Synthesizer)として市販されているIC
である。以下、ディジタルシンセサイザ26は、DDS
26と称するが、概略次のようにして所定の周波数信号
を発生する。DDS26は、内部に各種周波数の正弦波
を出力することが可能な位相角データベースを持ってい
て、外部から設定される訂正なしデータをCPU27か
らの書込命令に従って取り込むと、内部発振器22の発
振周波数を動作周波数として指定周波数を発生する位相
角データをデータベースから取り出し、指定周波数を出
力する。
The digital synthesizer 26 has a DDS (D
IC marketed as irect Digital Synthesizer)
It is. Hereinafter, the digital synthesizer 26
26, a predetermined frequency signal is generated as follows. The DDS 26 internally has a phase angle database capable of outputting sine waves of various frequencies, and fetches uncorrected data set from outside in accordance with a write command from the CPU 27, and outputs the oscillation frequency of the internal oscillator 22. Is used as the operating frequency, phase angle data for generating the specified frequency is extracted from the database, and the specified frequency is output.

【0019】図示例では、DDS26は、加減算器25
からの補正周波数データ(ヘ)をCPU27からの書込
命令(ト)に従って取り込む構成となっている。また、
DDS26は、CPU27から保持命令(チ)が入力す
ると、保持命令(チ)が入力する直前の周波数を保持出
力する。以上の構成と請求項との対応関係は、次のよう
になっている。内部発振器1には、内部発振器22が対
応する。ディジタルシンセサイザ2には、DDS26が
対応する。偏差検出手段3には、カウンタ23とCPU
27の全体が対応する。補正値演算手段4には、CPU
27が対応する。周波数データ出力手段5には、メモリ
24が対応する。補正周波数データ出力手段6には、加
減算器25とCPU27の全体が対応する。検出手段8
には、GPS受信機21とCPU27の全体が対応す
る。書込命令出力手段7、保持命令出力手段9及び警報
手段10には、CPU27が対応する。
In the illustrated example, the DDS 26 is an adder / subtracter 25
The correction frequency data (f) is read in according to the write command (g) from the CPU 27. Also,
When the holding command (h) is input from the CPU 27, the DDS 26 holds and outputs the frequency immediately before the input of the holding command (h). The correspondence between the above configuration and the claims is as follows. The internal oscillator 1 corresponds to the internal oscillator 22. The DDS 26 corresponds to the digital synthesizer 2. The deviation detecting means 3 includes a counter 23 and a CPU.
27 correspond to the whole. The correction value calculation means 4 includes a CPU
27 corresponds. The memory 24 corresponds to the frequency data output means 5. The addition / subtraction unit 25 and the entire CPU 27 correspond to the correction frequency data output means 6. Detecting means 8
Corresponds to the entirety of the GPS receiver 21 and the CPU 27. The CPU 27 corresponds to the write command output means 7, the hold command output means 9, and the alarm means 10.

【0020】次に、図3は、請求項1乃至請求項4に対
応する実施形態の動作フローチャートである。以下、図
3を参照してこの実施形態の動作を説明する。図3にお
いて、S1では、電源が投入されると、CPU27は、
当該周波数補正回路の初期化処理を行う。即ち、CPU
27は、メモリ24に対し、偏差がない場合の周波数を
発生させる周波数データを出力させる周波数データ送出
命令(ニ)を出力する。また、CPU27は、加減算器
25に対し、演算値a=0である加減値(ホ)を出力す
る。
Next, FIG. 3 is an operation flowchart of an embodiment according to the first to fourth aspects of the present invention. Hereinafter, the operation of this embodiment will be described with reference to FIG. In FIG. 3, at S1, when the power is turned on, the CPU 27
The initialization processing of the frequency correction circuit is performed. That is, CPU
27 outputs, to the memory 24, a frequency data transmission command (d) for outputting frequency data for generating a frequency when there is no deviation. Further, the CPU 27 outputs to the adder / subtractor 25 an addition / subtraction value (e) in which the operation value a = 0.

【0021】その結果、加減算器25からDDS26に
対し偏差がない場合の周波数を発生させる周波数データ
が出力されるので、CPU27がDDS26に対し加減
算器25の出力(補正周波数データ)を取り込ませる書
込命令(ト)を出力すると、DDS26からある周波数
の信号が出力される。一方、GPS受信機21は、電源
が投入されると、GPS電波の受信動作を開始し、計測
した受信電界強度値(ロ)をCPU27に与え、また抽
出した1秒パルス(イ)をカウンタ23に与える。カウ
ンタ23は、1秒パルス(イ)をゲート信号として用い
内部発振器22の発振周波数をカウントする動作を行
い、カウント値をCPU27に出力する動作を開始す
る。
As a result, frequency data for generating a frequency when there is no deviation with respect to the DDS 26 is output from the adder / subtractor 25, so that the CPU 27 causes the DDS 26 to take in the output (correction frequency data) of the adder / subtractor 25. When the command (g) is output, a signal of a certain frequency is output from the DDS 26. On the other hand, when the power is turned on, the GPS receiver 21 starts the operation of receiving the GPS radio wave, gives the measured received electric field intensity value (b) to the CPU 27, and outputs the extracted one-second pulse (a) to the counter 23. Give to. The counter 23 performs an operation of counting the oscillation frequency of the internal oscillator 22 using the one-second pulse (A) as a gate signal, and starts an operation of outputting the count value to the CPU 27.

【0022】そこで、CPU27は、S2において、入
力する受信電界強度(ロ)と閾値とを比較して受信電界
強度(ロ)が適正値であるか否かを判断し、受信電界強
度(ロ)が適正値である場合は、1秒パルス(イ)は正
規の振幅で正しく入力している。つまり、外部から基準
周波数が順調に供給されている場合である。この場合に
は、CPU27は、S3、S4またはS5、S6の処理
を行う。
In step S2, the CPU 27 compares the input received electric field strength (b) with a threshold value to determine whether the received electric field strength (b) is an appropriate value. Is a proper value, the one-second pulse (a) is correctly input with a regular amplitude. That is, this is a case where the reference frequency is smoothly supplied from the outside. In this case, the CPU 27 performs the processing of S3, S4 or S5, S6.

【0023】S3では、CPU27は、カウンタ23の
カウント値が期待値よりも小さいか否かを判断する。こ
の期待値は、内部発振器21が偏差なく正しい周波数を
発生していると判断できる所定値である。例えば、内部
発振器21の正しい発振周波数が10MHzの場合に、1
秒パルスでゲートしてカウントすると、107 回とな
る。この107 回の値が、期待値である。この107
の値が得られることを期待する意味で期待値としたもの
であり、予め設定される。
In S3, the CPU 27 determines whether the count value of the counter 23 is smaller than an expected value. This expected value is a predetermined value by which it can be determined that the internal oscillator 21 is generating a correct frequency without deviation. For example, if the correct oscillation frequency of the internal oscillator 21 is 10 MHz,
When gated and counted with a second pulse, it is 10 7 times. The value of 10 7 times is the expected value. This is an expected value in the sense that it is expected that the value of 10 7 times can be obtained, and is set in advance.

【0024】CPU27は、カウンタ23の計数結果が
(107−1)回であれば、カウンタ23のカウント値が
期待値よりも小さいので、S4にて加算処理を実行し、
低い方へずれている内部発振器22の発振周波数に基づ
き動作しているDDS26の出力周波数を高くする補正
を行い、S7へ進む。即ち、S4では、上記例で言え
ば、内部発振器22の偏差は、(1/107)であるの
で、CPU27は、DDS26の出力周波数を(1/1
7)だけ増加させるべく加減値(ホ)を算出し、加減
算器25に出力し、メモリ24に対し周波数データ送出
命令(ニ)を出力すると共に、DDS26に対し書込命
令(ト)を与える。
The CPU 27 determines that the count result of the counter 23 is
If (10 7 -1) times, the count value of the counter 23 is smaller than the expected value.
Correction is made to increase the output frequency of the operating DDS 26 based on the oscillation frequency of the internal oscillator 22 that has shifted to the lower side, and the process proceeds to S7. That is, in S4, since the deviation of the internal oscillator 22 is (1/10 7 ) in the above example, the CPU 27 sets the output frequency of the DDS 26 to (1/1).
0 7 ), an add / sub value (e) is calculated, output to the adder / subtractor 25, outputs a frequency data transmission instruction (d) to the memory 24, and gives a write instruction (g) to the DDS 26. .

【0025】その結果、加減算器25は、メモリ24が
出力する周波数データに加減値(ホ)を加算した補正周波
数データ(ヘ)を生成し、DDS26に対し出力する。
DDS26は、この時には、(1/107)だけ低い方へ
ずれている内部発振器22の発振周波数で動作している
が、CPU27からの書込命令(ト)を受けて、出力周
波数を(1/107)だけ増加させるずれ補正をした正
しい周波数の信号を出力することになる。
As a result, the adder / subtractor 25 generates corrected frequency data (f) by adding the addition / subtraction value (e) to the frequency data output from the memory 24 and outputs the corrected frequency data (f) to the DDS 26.
At this time, the DDS 26 operates at the oscillation frequency of the internal oscillator 22 shifted to the lower side by (1/10 7 ), but receives the write command (G) from the CPU 27 and changes the output frequency to (1). / 10 7 ), and a signal of a correct frequency with a shift correction increased.

【0026】要するに、S4では、CPU27は、内部
発振器21の発振周波数との関連で定まる期待値とカウ
ンタ23のカウント値との差から周波数偏差を求め、そ
れに基づき(+a)加算する加減値(ホ)を算出し、そ
れを加減算器25に出力するとともに、メモリ24から
求めた周波数偏差に応じた位相・振幅を規定する周波数
データを出力させ、また、DDS26に書込命令(ト)
を与え、低い方へずれた周波数を高い方へ移行させる周
波数のずれ補正を行う。
In short, in S4, the CPU 27 determines the frequency deviation from the difference between the expected value determined in relation to the oscillation frequency of the internal oscillator 21 and the count value of the counter 23, and adds (+ a) based on the frequency deviation. ) Is calculated and output to the adder / subtractor 25, frequency data defining the phase and amplitude corresponding to the frequency deviation obtained from the memory 24 is output, and a write command (g) is sent to the DDS 26.
, And a frequency shift correction for shifting a frequency shifted to a lower one to a higher one is performed.

【0027】一方、S5では、CPU27は、カウンタ
23のカウント値が期待値よりも大きいか否かを判断す
る。先の例で言えば、カウンタ23の計数結果が、(1
7+1)であれば、カウンタ23のカウント値が期待
値よりも大きいので、CPU27は、S6にて減算処理
を実行し、高い方へずれている内部発振器22の発振周
波数に基づき動作しているDDS26の出力周波数を低
くする補正を行い、S7へ進む。
On the other hand, in S5, the CPU 27 determines whether or not the count value of the counter 23 is larger than an expected value. In the previous example, the count result of the counter 23 is (1
If 0 7 +1), since the count value of the counter 23 is larger than the expected value, the CPU 27 executes a subtraction process in S6, and operates based on the oscillation frequency of the internal oscillator 22 shifted to the higher side. Correction to lower the output frequency of the existing DDS 26 is performed, and the process proceeds to S7.

【0028】即ち、S6では、上記例で言えば、内部発
振器22の偏差は、(1/107)であるので、CPU2
7は、DDS26の出力周波数を(1/107)だけ低下
させるべく加減値(ホ)を算出し、加減算器25に出力
し、メモリ24に対し周波数データ送出命令(ニ)を出
力する。また、DDS26に対し書込命令(ト)を出力
する。
That is, in S6, in the above example, the deviation of the internal oscillator 22 is (1/10 7 ).
7 calculates an addition / subtraction value (e) to lower the output frequency of the DDS 26 by (1/10 7 ), outputs it to the adder / subtractor 25, and outputs a frequency data transmission command (d) to the memory 24. Further, it outputs a write command (g) to the DDS 26.

【0029】その結果、加減算器25は、メモリ24が
出力する周波数データに加減値(ホ)を減算した補正周波
数データ(ヘ)を生成し、DDS26に対し出力する。
DDS26は、この時には、(1/107)だけ高い方へ
ずれている内部発振器22の発振周波数で動作している
が、CPU27から書込命令(ト)を受けると、(1/
107)だけ低下させるずれ補正をした正しい周波数の信
号を出力することになる。
As a result, the adder / subtractor 25 generates corrected frequency data (f) by subtracting the addition / subtraction value (e) from the frequency data output from the memory 24, and outputs the corrected frequency data (f) to the DDS 26.
At this time, the DDS 26 operates at the oscillation frequency of the internal oscillator 22 shifted to the higher side by (1/10 7 ).
A signal of a correct frequency corrected by a shift that is reduced by 10 7 ) is output.

【0030】要するに、S6では、CPU27は、カウ
ンタ23のカウント値と期待値との差から周波数偏差を
求め、それに基づき(−a)減算する加減値(ホ)を算出
し、それを加減算器25に出力するとともに、メモリ2
4から偏差に応じた位相・振幅を規定する周波数データ
を出力させ、また、DDS26に書込命令(ト)を与
え、高い方へずれた周波数を低い方へ移行させる周波数
のずれ補正を行う。
In short, in S6, the CPU 27 obtains a frequency deviation from the difference between the count value of the counter 23 and the expected value, calculates an (-a) subtraction value (e) based on the frequency deviation, and calculates the subtraction value (e). Output to memory 2
4 to output frequency data defining the phase and amplitude according to the deviation, and also gives a write command (g) to the DDS 26 to correct the frequency shift that shifts the higher shifted frequency to the lower one.

【0031】そして、CPU27は、S3、S5での比
較処理で、カウンタ23のカウント値と期待値とが等し
い場合は、S4とS6の補正処理をすることなく直接S
7へ進む。S7では、CPU27は、カウンタ23のカ
ウント値に基づき算出した加減値が予想内加減値よりも
大きいか否かを判断する。通常、カウンタ23のカウン
ト値に基づき算出した加減値が予想内加減値よりも大き
くなることはないので、CPU27は、S2へ戻り、受
信電界強度(ロ)が適正値であることを確認しつつ、以
上説明した補正処理を繰り返し実行する。
If the count value of the counter 23 is equal to the expected value in the comparison processing in S3 and S5, the CPU 27 directly proceeds to S3 without performing the correction processing in S4 and S6.
Proceed to 7. In S7, the CPU 27 determines whether the adjustment value calculated based on the count value of the counter 23 is larger than the expected adjustment value. Normally, since the adjustment value calculated based on the count value of the counter 23 does not become larger than the expected adjustment value, the CPU 27 returns to S2 and confirms that the received electric field strength (b) is an appropriate value. The correction process described above is repeatedly executed.

【0032】以上の補正措置により、DDS26は、内
部発振器22の発振周波数にずれが生じても、そのずれ
に影響されず、外部から与えられる基準周波数である1
秒パルスの精度で定まる周波数の信号を出力する。そし
て、以上の補正措置の過程でS2へ戻って受信電界強度
(ロ)を確認したとき、適正値でない場合があると、C
PU27は、補正処理(S3〜S7)は行わず、受信電
界強度(ロ)が適正値に回復するのを待機する。このと
き、CPU27は、受信電界強度(ロ)が適正値でない
と判断したとき、直ちにメモリ24と加減算器25への
出力を停止し、DDS26に対し、保持命令(チ)を出
力する。これにより、DDS26は、加減算器25が直
前に出力していた補正周波数データに基づく出力動作を
維持する。
According to the above corrective measures, even if the oscillation frequency of the internal oscillator 22 is shifted, the DDS 26 is not affected by the shift, and the DDS 26 is a reference frequency 1 provided from the outside.
A signal with a frequency determined by the accuracy of the second pulse is output. Then, when the process returns to S2 in the course of the above corrective measures and checks the received electric field strength (b), if the received electric field strength is not an appropriate value,
The PU 27 does not perform the correction processing (S3 to S7), and waits for the received electric field strength (b) to recover to an appropriate value. At this time, when the CPU 27 determines that the received electric field strength (b) is not an appropriate value, it immediately stops outputting to the memory 24 and the adder / subtractor 25 and outputs a holding instruction (h) to the DDS 26. As a result, the DDS 26 maintains the output operation based on the correction frequency data output immediately before by the adder / subtracter 25.

【0033】GPSの電波を基準信号として受信する場
合には、常に良好な状態で受信できるとは限らないこと
から、かかる措置が必要となる。勿論、受信状態が回復
すれば、自動的に以上説明した補正動作が再開される。
そして、内部発振器22の経年変化等を考慮すれば、S
7において、カウンタ23のカウント値に基づき算出し
た加減値が予想内加減値よりも大きくなる場合が可能性
として考えられる。この場合には、CPU27は、操作
パネルに設けられる警報ランプやブザー等を駆動して外
部に警報を発し(S8)、保守員等へ通報する。これに
より、適切な措置を迅速に採ることが可能となる。
When a GPS radio wave is received as a reference signal, such a measure is necessary because it is not always possible to receive the signal in a good state. Of course, when the receiving state is restored, the above-described correction operation is automatically restarted.
Considering the aging of the internal oscillator 22, etc., S
In 7, it is possible that the adjustment value calculated based on the count value of the counter 23 becomes larger than the expected adjustment value. In this case, the CPU 27 drives an alarm lamp, a buzzer, or the like provided on the operation panel to issue an alarm to the outside (S8), and notifies a maintenance person or the like. This makes it possible to take appropriate measures promptly.

【0034】なお、この実施形態においてGPS受信機
21を備えるのは、基準信号を他の装置から貰うことが
困難な装置、例えば移動通信システムにおける基地局の
ような孤立装置を想定しているからである。基準信号を
他の装置から貰うことが可能である場合には、回路構成
が簡素化される。比較器たるカウンタ23は、基準信号
(1秒パルス)と内部発振器22の出力周波数とを直接
比較しているが、内部発振器22の出力周波数を分周し
たものと比較するようにしても良い。加減算器25は、
個別部品で構成したが、CPU27が行う一連の演算過
程でこの加減算処理を実行するようにしても良い。
It should be noted that the GPS receiver 21 in this embodiment is assumed to be a device in which it is difficult to receive a reference signal from another device, for example, an isolated device such as a base station in a mobile communication system. It is. When the reference signal can be obtained from another device, the circuit configuration is simplified. Although the counter 23 serving as a comparator directly compares the reference signal (1 second pulse) with the output frequency of the internal oscillator 22, the counter 23 may compare the output frequency of the internal oscillator 22 with the divided frequency. The adder / subtractor 25
Although the individual components are used, the addition / subtraction process may be executed in a series of calculation processes performed by the CPU 27.

【0035】DDS26が、複数種類の周波数を発生で
きるようにとの配慮から、メモリ24を備えたが、固定
のまたは少数種類の周波数を発生すれば良い用途では、
メモリ24に代えてスイッチ、簡単な論理回路等による
周波数設定器を設けることができる。また、警報は、カ
ウンタ23のカウント値が予想カウント値を超える場合
に発生するようにしても良い。
Although the memory 24 is provided in consideration of the DDS 26 being capable of generating a plurality of types of frequencies, in applications where it is sufficient to generate fixed or a small number of frequencies,
Instead of the memory 24, a frequency setting device using a switch, a simple logic circuit, or the like can be provided. Further, the alarm may be generated when the count value of the counter 23 exceeds the expected count value.

【0036】[0036]

【発明の効果】以上説明したように、請求項1に記載の
発明では、外部から供給される基準周波数と装置内発振
器の出力周波数との偏差に応じた補正値を算出し、周波
数データに補正値を加減算して補正周波数データを求
め、それをディジタルシンセサイザに書き込み、補正周
波数データで定まる周波数の信号を出力させる。
As described above, according to the first aspect of the present invention, a correction value corresponding to the deviation between the reference frequency supplied from the outside and the output frequency of the oscillator in the device is calculated and corrected to the frequency data. Correction frequency data is obtained by adding and subtracting the values, and the correction frequency data is written into a digital synthesizer, and a signal having a frequency determined by the correction frequency data is output.

【0037】したがって、ディジタルシンセサイザは、
装置内発振器の精度に依らず外部から供給される基準周
波数と同程度の精度の周波数信号を出力できる。また、
ディジタルシンセサイザを用いるので、補正速度が早く
なる。請求項2に記載の発明では、基準周波数の信号の
供給が断たれると、ディジタルシンセサイザは、断直前
の補正周波数データで出力していた周波数を継続して出
力できる。
Therefore, the digital synthesizer is
It is possible to output a frequency signal with the same accuracy as the reference frequency supplied from outside regardless of the accuracy of the oscillator in the device. Also,
Since the digital synthesizer is used, the correction speed is increased. According to the second aspect of the present invention, when the supply of the signal of the reference frequency is cut off, the digital synthesizer can continuously output the frequency output with the correction frequency data immediately before the cutoff.

【0038】請求項3に記載の発明では、装置内発振器
の偏差が、予想される偏差を超える場合に、それを検出
して外部に知らせることができる。請求項4に記載の発
明では、各種の周波数を基準周波数の精度で発生でき
る。特に、ディジタルシンセサイザを用いるので、PL
Lシンセサイザにおけるような比較周波数の間隔でしか
発生できないという制約がなく、任意の周波数を任意の
間隔で発生できる。
According to the third aspect of the present invention, when the deviation of the oscillator in the device exceeds the expected deviation, the deviation can be detected and notified to the outside. According to the invention described in claim 4, various frequencies can be generated with the accuracy of the reference frequency. In particular, since a digital synthesizer is used, PL
There is no restriction that it can be generated only at the interval of the comparison frequency as in the L synthesizer, and any frequency can be generated at any interval.

【図面の簡単な説明】[Brief description of the drawings]

【図1】請求項1乃至請求項4に記載の発明の原理ブロ
ック図である。
FIG. 1 is a principle block diagram of the invention described in claims 1 to 4;

【図2】請求項1乃至請求項4に対応する実施形態の構
成図である。
FIG. 2 is a configuration diagram of an embodiment corresponding to claims 1 to 4;

【図3】請求項1乃至請求項4に対応する実施形態の動
作フローチャートである。
FIG. 3 is an operation flowchart of the embodiment corresponding to claims 1 to 4;

【符号の説明】[Explanation of symbols]

1 内部発振器 2 ディジタルシンセサイザ 3 偏差検出手段 4 補正値算出手段 5 周波数データ出力手段 6 補正周波数データ出力手段 7 書込命令出力手段 8 検出手段 9 保持命令出力手段 10 警報手段 21 GPS受信機 22 内部発振器 23 カウンタ 24 メモリ 25 加減算器 26 ディジタルシンセサイザ 27CPU DESCRIPTION OF SYMBOLS 1 Internal oscillator 2 Digital synthesizer 3 Deviation detection means 4 Correction value calculation means 5 Frequency data output means 6 Correction frequency data output means 7 Write command output means 8 Detecting means 9 Holding command output means 10 Alarm means 21 GPS receiver 22 Internal oscillator 23 Counter 24 Memory 25 Adder / Subtracter 26 Digital Synthesizer 27 CPU

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 装置内発振器の出力周波数を動作周波数
とし、データ書込命令を受けて取り込んだ周波数データ
に従った周波数の信号を発生するディジタルシンセサイ
ザの出力周波数を補正する周波数補正回路であって、 外部から供給される基準周波数と前記装置内発振器の出
力周波数との偏差を検出する偏差検出手段と、 前記検出された偏差値に応じた補正値を算出する補正値
算出手段と、 周波数データを出力する周波数データ出力手段と、 前記周波数データ出力手段が出力する周波数データに前
記補正値を加減算して補正周波数データを出力する補正
周波数データ出力手段と、 前記ディジタルシンセサイザに前記データ書込命令を出
力し、前記補正周波数データを前記周波数データとして
取り込ませる書込命令出力手段とを備えることを特徴と
する周波数補正回路。
1. A frequency correction circuit for correcting an output frequency of a digital synthesizer that generates a signal having a frequency in accordance with frequency data received in response to a data write instruction by using an output frequency of an internal oscillator as an operating frequency. A deviation detecting means for detecting a deviation between a reference frequency supplied from the outside and an output frequency of the oscillator in the device; a correction value calculating means for calculating a correction value according to the detected deviation value; and frequency data. Frequency data output means for outputting, correction frequency data output means for adding and subtracting the correction value to and from the frequency data output by the frequency data output means to output corrected frequency data, and outputting the data write command to the digital synthesizer And write command output means for taking in the corrected frequency data as the frequency data. Frequency correction circuit which is characterized.
【請求項2】 請求項1に記載の周波数補正回路におい
て、 前記基準周波数の信号の供給有無を検出する検出手段
と、 前記検出手段が供給無を検出したとき、前記ディジタル
シンセサイザに、検出直前の前記データ書込命令で発生
した周波数の信号を保持出力させる保持命令を出力する
保持命令出力手段とを備えることを特徴とする周波数補
正回路。
2. The frequency correction circuit according to claim 1, wherein: a detecting means for detecting whether or not the signal of the reference frequency is supplied; and when the detecting means detects a non-supply, the digital synthesizer transmits the signal immediately before the detection. And a holding command output means for outputting a holding command for holding and outputting a signal of a frequency generated by the data write command.
【請求項3】 請求項1または請求項2に記載の周波数
補正回路において、 前記偏差値または補正値が閾値を超えたとき、警報を出
力する警報手段を備えることを特徴とする周波数補正回
路。
3. The frequency correction circuit according to claim 1, further comprising: an alarm unit that outputs an alarm when the deviation value or the correction value exceeds a threshold value.
【請求項4】 請求項1乃至請求項3に記載の周波数補
正回路において、 前記周波数データ出力手段は、各種周波数を発生させる
周波数データが設定される記憶手段であることを特徴と
する周波数補正回路。
4. The frequency correction circuit according to claim 1, wherein said frequency data output means is storage means for setting frequency data for generating various frequencies. .
JP9285311A 1997-10-17 1997-10-17 Frequency correction circuit Withdrawn JPH11122103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9285311A JPH11122103A (en) 1997-10-17 1997-10-17 Frequency correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9285311A JPH11122103A (en) 1997-10-17 1997-10-17 Frequency correction circuit

Publications (1)

Publication Number Publication Date
JPH11122103A true JPH11122103A (en) 1999-04-30

Family

ID=17689894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9285311A Withdrawn JPH11122103A (en) 1997-10-17 1997-10-17 Frequency correction circuit

Country Status (1)

Country Link
JP (1) JPH11122103A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010141489A (en) * 2008-12-10 2010-06-24 Kenwood Corp Reference signal oscillation apparatus and reference signal oscillation method
JP2010278630A (en) * 2009-05-27 2010-12-09 Taitien Electronics Co Ltd Digital controlled frequency generation device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010141489A (en) * 2008-12-10 2010-06-24 Kenwood Corp Reference signal oscillation apparatus and reference signal oscillation method
JP2010278630A (en) * 2009-05-27 2010-12-09 Taitien Electronics Co Ltd Digital controlled frequency generation device

Similar Documents

Publication Publication Date Title
US7084810B2 (en) Portable terminal and GPS time keeping method
KR100687230B1 (en) RCT device and current time correction method of RTC device
EP0683443B1 (en) Time correction of an electronic clock
EP1304603A2 (en) Time error compensating apparatus and method in a terminal
EP3454089A1 (en) Geolocalization system with spoofing detection
US5483201A (en) Synchronization circuit using a high speed digital slip counter
CN101382589A (en) Method for obtaining global navigation satellite system time and device thereof
RU2579716C2 (en) Correction of low-accuracy clock generator
JPH09113654A (en) Intermittent receiver controller
US6084441A (en) Apparatus for and method of processing data
CN106209078A (en) Timing signal generator, electronic equipment and moving body
JP2011122983A (en) Time synchronization device and method for time synchronization correction
EP1395072B1 (en) Radio communication apparatus and its reception timing estimating method
US20060045215A1 (en) Method and apparatus for frequency correcting a periodic signal
EP1371208B1 (en) Method of correcting a real-time clock of an electronic apparatus
CN104601144A (en) Clock generation device, electronic apparatus, moving object, and clock generation method
JP3753307B2 (en) Portable wireless terminal device
US20180115316A1 (en) Self-correction techniques for crystal oscillator
JPH11122103A (en) Frequency correction circuit
JP3730914B2 (en) Mobile communication terminal device
US5546363A (en) Clock apparatus for forming time information for use in computer system
JP2023101481A (en) integrated circuit
KR19990052899A (en) High-precision digital processing phase-locked loop apparatus and method
KR100819735B1 (en) Computer system and its control method
JP2004152120A (en) Computer system having exact time function

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050104