JP5972450B2 - Signal processing device - Google Patents

Signal processing device Download PDF

Info

Publication number
JP5972450B2
JP5972450B2 JP2015507891A JP2015507891A JP5972450B2 JP 5972450 B2 JP5972450 B2 JP 5972450B2 JP 2015507891 A JP2015507891 A JP 2015507891A JP 2015507891 A JP2015507891 A JP 2015507891A JP 5972450 B2 JP5972450 B2 JP 5972450B2
Authority
JP
Japan
Prior art keywords
value
clock
timing
signal
count
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.)
Expired - Fee Related
Application number
JP2015507891A
Other languages
Japanese (ja)
Other versions
JPWO2014155706A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP5972450B2 publication Critical patent/JP5972450B2/en
Publication of JPWO2014155706A1 publication Critical patent/JPWO2014155706A1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/0061Details of emergency protective circuit arrangements concerning transmission of signals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2513Arrangements for monitoring electric power systems, e.g. power lines or loads; Logging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/04Circuit arrangements for ac mains or ac distribution networks for connecting networks of the same frequency but supplied from different sources
    • H02J3/08Synchronising of networks

Description

本発明は、時刻同期制御技術に関し、特に、送電線や母線の電気量を収集する装置における時刻同期制御技術に関する。   The present invention relates to a time synchronization control technique, and more particularly to a time synchronization control technique in an apparatus that collects the amount of electricity of a power transmission line or a bus.

送電線や母線の電気量(電圧値、電流値)を複数個所で収集し、それらの電気量から異常を検出すると即座に系統を遮断し、事故の波及を抑制する保護制御システムがある。
この保護制御システムでは、収集した電気量の位相ずれを低減するために、収集地点間で同期の取れた信号を電気量収集の基準として必要とする。
近年の保護リレー装置では、1台の演算装置(以下、IED:Intelligent Electronic Deviceともいう)に対し、ローカルエリアネットワーク(プロセスバス)を介して複数のデータ収集装置(以下、MU:Merging Unitともいう)が接続される。
各MUは、同期信号(1PPS信号:1 Pulse Per Second信号)に基づき、タイミング同期をとることにより、MU間のデータサンプリングタイミングやタイムスタンプ値を一致させる。
There is a protection control system that collects the amount of electricity (voltage value, current value) of power transmission lines and buses at a plurality of locations, immediately shuts down the system when an abnormality is detected from those amounts of electricity, and suppresses the spread of accidents.
In this protection control system, in order to reduce the phase shift of collected electricity, a signal synchronized between collection points is required as a reference for collecting electricity.
In recent protection relay devices, a plurality of data collection devices (hereinafter also referred to as MU: Merging Unit) via a local area network (process bus) for a single arithmetic device (hereinafter also referred to as IED: Intelligent Electronic Device). ) Is connected.
Each MU matches the data sampling timing and time stamp value between the MUs by synchronizing the timing based on the synchronization signal (1PPS signal: 1 Pulse Per Second signal).

特開2001−305177号公報JP 2001-305177 A

1PPS信号の受信周期は1秒間隔である。
このため、各MUは高精度水晶発振器(周波数偏差:±数ppm)をクロック発生回路に搭載して周波数偏差の小さい高精度クロックを生成し、MU間のサンプリングタイミングのずれを1秒間で±数マイクロ秒以下に抑える必要がある。
そのため、デジタル回路で一般に使用されている安価な汎用発振回路(周波数偏差精度±50ppm程度)は使用できず、コストが増加するという課題がある。
The reception period of the 1PPS signal is 1 second.
Therefore, each MU is equipped with a high-accuracy crystal oscillator (frequency deviation: ± several ppm) in the clock generation circuit to generate a high-precision clock with a small frequency deviation, and the sampling timing deviation between MUs is ± several times per second. Must be kept below microseconds.
Therefore, an inexpensive general-purpose oscillation circuit (frequency deviation accuracy of about ± 50 ppm) generally used in digital circuits cannot be used, and there is a problem that costs increase.

この発明は上記のような課題を解決するためになされたもので、周波数偏差が±50ppm程度の汎用発振回路を使用しても、高精度な同期制御を行えるようにすることを主な目的とする。   The present invention has been made to solve the above-described problems, and has as its main object to enable highly accurate synchronous control even when a general-purpose oscillation circuit having a frequency deviation of about ± 50 ppm is used. To do.

本発明に係る信号処理装置は、
1PPS(1 Pulse Per Second)信号を受信する1PPS信号受信部と、
1秒間に比べて微小なクロック周期のクロック信号を生成するクロック生成部と、
前記1PPS信号受信部から前記1PPS信号を入力し、前記クロック生成部から前記クロック信号を入力し、前記1PPS信号を入力する度に、前記クロック信号の前記1PPS信号に対する周波数偏差であるクロック偏差を測定するクロック偏差測定部と、
前記クロック偏差測定部における複数回の測定により得られた複数のクロック偏差測定値を保持する偏差測定値保持部と、
前記偏差測定値保持部に保持されている複数のクロック偏差測定値のうちの最新のクロック偏差測定値と他のクロック偏差測定値とを比較し、前記最新のクロック偏差測定値が他のクロック偏差測定値と所定の許容範囲内で一致する場合に前記最新のクロック偏差測定値を出力先に出力し、前記最新のクロック偏差測定値が他のクロック偏差測定値と前記許容範囲内で一致しない場合に前記他のクロック偏差測定値のうちのいずれかのクロック偏差測定値を前記出力先に出力する偏差測定値選択部とを有することを特徴とする。
The signal processing apparatus according to the present invention is
A 1PPS signal receiving unit that receives a 1PPS (1 Pulse Per Second) signal;
A clock generation unit that generates a clock signal having a clock period smaller than that of one second;
Each time the 1PPS signal is input from the 1PPS signal receiving unit, the clock signal is input from the clock generation unit, and the 1PPS signal is input, a clock deviation that is a frequency deviation of the clock signal with respect to the 1PPS signal is measured. A clock deviation measuring unit to
A deviation measurement value holding unit for holding a plurality of clock deviation measurement values obtained by a plurality of measurements in the clock deviation measurement unit;
The latest clock deviation measurement value of a plurality of clock deviation measurement values held in the deviation measurement value holding unit is compared with another clock deviation measurement value, and the latest clock deviation measurement value is compared with another clock deviation. The latest clock deviation measurement value is output to the output destination when the measurement value matches within a predetermined allowable range, and the latest clock deviation measurement value does not match the other clock deviation measurement value within the allowable range. And a deviation measurement value selector for outputting any one of the other clock deviation measurement values to the output destination.

本発明によれば、1秒間に比べて微小なクロック周期のクロック信号と1PPS信号との間のクロック偏差を用いるため、周波数偏差が±50ppm程度の汎用発振回路を使用しても、高精度な同期制御を行うことができる。
また、クロック偏差測定値を複数保持し、最新のクロック偏差測定値が他のクロック偏差測定値に一致しない場合に、最新のクロック偏差測定値ではなく他のクロック偏差測定値を選択するため、1PPS信号の受信に異常が発生した場合でも異常がサンプリング信号の生成に波及しない。
According to the present invention, since a clock deviation between a clock signal having a minute clock period compared to 1 second and a 1PPS signal is used, even if a general-purpose oscillation circuit having a frequency deviation of about ± 50 ppm is used, high accuracy is achieved. Synchronous control can be performed.
Further, since the plurality keeps the clock deviation measuring values, when the latest clock deviation measuring value does not match the other clock deviation measuring values, select other clock deviation measurement values rather than the latest clock deviation measuring value, Even when an abnormality occurs in the reception of the 1PPS signal, the abnormality does not affect the generation of the sampling signal.

実施の形態1に係るデータ収集装置の構成例を示す図。FIG. 3 is a diagram illustrating a configuration example of a data collection device according to the first embodiment. 実施の形態1に係るデータ収集装置の動作例を示す図。FIG. 3 is a diagram illustrating an operation example of the data collection device according to the first embodiment. 実施の形態2に係るデータ収集装置の構成例を示す図。FIG. 4 is a diagram illustrating a configuration example of a data collection device according to a second embodiment. 実施の形態2に係るデータ収集装置の動作例を示す図。FIG. 10 is a diagram illustrating an operation example of the data collection device according to the second embodiment. 実施の形態1、2に係るデータ収集装置の前提となる構成を示す図。The figure which shows the structure used as the premise of the data collection device which concerns on Embodiment 1,2. 実施の形態1、2に係るデータ収集装置の動作原理を説明する図。The figure explaining the operation principle of the data collection device which concerns on Embodiment 1,2. 実施の形態1、2に係るデータ収集装置の動作原理を説明する図。The figure explaining the operation principle of the data collection device which concerns on Embodiment 1,2. 実施の形態1、2に係るデータ収集装置の動作原理を説明する図。The figure explaining the operation principle of the data collection device which concerns on Embodiment 1,2. 実施の形態1及び2に係るデータ収集装置のハードウェア構成例を示す図。FIG. 3 is a diagram illustrating a hardware configuration example of the data collection device according to the first and second embodiments.

実施の形態1.
本実施の形態では、電気量をサンプリングする周期を決定するカウンタ(サンプリング信号生成カウンタ)の補正値を、クロック偏差測定値に応じて計算するデータ収集装置(MU)を説明する。
これにより、周波数偏差が±50ppm程度の汎用発振回路を使用しても、高精度の同期をとることができる。
また、本実施の形態のデータ収集装置は、クロック偏差測定値を複数保持し、最新のクロック偏差測定値が直前のクロック偏差測定値と一致すれば最新のクロック偏差測定値を選択し、一致しない場合は、最新のクロック偏差測定値ではなく直前のクロック偏差測定値を選択する。
このため、1PPS信号が途切れる等の異常が発生した場合でも異常がサンプリング信号の生成に波及しない。
Embodiment 1 FIG.
In this embodiment, a data collection device (MU) that calculates a correction value of a counter (sampling signal generation counter) that determines a cycle for sampling an electric quantity according to a clock deviation measurement value will be described.
Thereby, even if a general-purpose oscillation circuit having a frequency deviation of about ± 50 ppm is used, high-precision synchronization can be achieved.
Further, the data collection device of the present embodiment holds a plurality of clock deviation measurement values, and if the latest clock deviation measurement value matches the previous clock deviation measurement value, the latest clock deviation measurement value is selected and does not match. If selects the clock deviation measuring value just before not the latest clock deviation measuring values.
For this reason, even when an abnormality such as the interruption of the 1PPS signal occurs, the abnormality does not affect the generation of the sampling signal.

図1は、本実施の形態に係るデータ収集装置100の構成例を示す。
データ収集装置100は、信号処理装置の例に相当する。
本実施の形態に係るデータ収集装置100は、複数のクロック偏差測定値を保持する偏差測定値保持部301と、偏差測定値保持部301に保持されている複数のクロック偏差測定値の中から後段のサンプリング周期カウント部105に出力するクロック偏差測定値を選択するクロック偏差値生成部302を備えることを主な特徴としている。
FIG. 1 shows a configuration example of a data collection device 100 according to the present embodiment.
The data collection device 100 corresponds to an example of a signal processing device.
The data collection apparatus 100 according to the present embodiment includes a deviation measurement value holding unit 301 that holds a plurality of clock deviation measurement values, and a subsequent stage among the plurality of clock deviation measurement values held in the deviation measurement value holding unit 301. The main feature is that it includes a clock deviation value generation unit 302 that selects a clock deviation measurement value to be output to the sampling period counting unit 105.

理解のしやすさを考慮し、まず、偏差測定値保持部301及びクロック偏差値生成部302が含まれていない構成のデータ収集装置を用いて、本実施の形態に係るデータ収集装置100の動作原理を説明する。   In consideration of ease of understanding, first, the operation of the data collection device 100 according to the present embodiment is performed using a data collection device that does not include the deviation measurement value holding unit 301 and the clock deviation value generation unit 302. The principle will be explained.

図5は、本実施の形態に係るデータ収集装置100から偏差測定値保持部301及びクロック偏差値生成部302を除外したデータ収集装置150の構成を示す。   FIG. 5 shows a configuration of the data collection device 150 in which the deviation measurement value holding unit 301 and the clock deviation value generation unit 302 are excluded from the data collection device 100 according to the present embodiment.

データ収集装置150は、1PPS信号を受信し、また、測定した電気量を示すデータを演算装置200に送信する。
IEDである演算装置200は、電力系統の異常を検出し、系統を遮断することにより事故の波及を抑制する。
1PPS信号の送信元は、演算装置200でもよいし、GPS(Global Positioning System)レシーバを持った別装置でもよい。
The data collection device 150 receives the 1PPS signal and transmits data indicating the measured amount of electricity to the arithmetic device 200.
The arithmetic device 200 that is an IED detects an abnormality in the power system and suppresses the spread of the accident by shutting off the system.
The transmission source of the 1PPS signal may be the arithmetic device 200 or another device having a GPS (Global Positioning System) receiver.

データ収集装置150において、1PPS信号受信部101は、1PPS信号を受信する。   In the data collection device 150, the 1PPS signal receiving unit 101 receives the 1PPS signal.

クロック生成部102は、データ収集装置150の動作クロック信号(以下、単にクロック信号という)を生成する。
クロック信号のクロック周期は1秒間に比べて微小である。
The clock generation unit 102 generates an operation clock signal (hereinafter simply referred to as a clock signal) of the data collection device 150.
The clock cycle of the clock signal is very small compared to 1 second.

クロック偏差測定部103は、1PPS信号の周期に対するデータ収集装置150のクロック信号との周波数偏差であるクロック偏差を測定する。   The clock deviation measuring unit 103 measures a clock deviation which is a frequency deviation with respect to the clock signal of the data collection device 150 with respect to the period of the 1PPS signal.

偏差測定値保持部104は、クロック偏差測定部103で測定されたクロック偏差測定値を保持する。
偏差測定値保持部104は、図1の偏差測定値保持部301と異なり、1つのクロック偏差測定値のみを保持する。
The deviation measurement value holding unit 104 holds the clock deviation measurement value measured by the clock deviation measurement unit 103.
Unlike the deviation measurement value holding unit 301 in FIG. 1, the deviation measurement value holding unit 104 holds only one clock deviation measurement value.

サンプリング周期カウント部105は、電気量をサンプリングするタイミングの時間間隔をカウントする。
サンプリング周期カウント部105は、1PPS信号受信部101から1PPS信号を入力し、クロック生成部102からクロック信号を入力し、1PPS信号の入力時にクロック信号のクロック周期に合わせたカウントを開始し、カウント完了値までのカウントを終えるとカウント開始値からのカウントを開始する。
なお、サンプリング周期カウント部105は、カウンタの例に相当する。
The sampling period count unit 105 counts the time interval of the timing for sampling the amount of electricity.
The sampling cycle counting unit 105 receives the 1PPS signal from the 1PPS signal receiving unit 101, receives the clock signal from the clock generation unit 102, starts counting according to the clock cycle of the clock signal when the 1PPS signal is input, and completes the counting. When the count up to the value is completed, the count from the count start value is started.
The sampling period counting unit 105 corresponds to an example of a counter.

サンプリング信号生成部106は、サンプリング周期カウント部105のカウント値からサンプリングタイミングを示すパルスである、サンプリングタイミング信号(サンプリング信号ともいう)を生成する。   The sampling signal generation unit 106 generates a sampling timing signal (also referred to as a sampling signal) that is a pulse indicating the sampling timing from the count value of the sampling period counting unit 105.

電気量測定部107は、サンプリング信号生成部106で生成したパルス(サンプリング信号)のタイミングで電力系統の電気量を測定する。   The electric quantity measurement unit 107 measures the electric quantity of the power system at the timing of the pulse (sampling signal) generated by the sampling signal generation unit 106.

データ生成部108は、電気量測定部107で測定した電気量をローカルエリアネットワーク(プロセスバス)に送信可能な通信フレーム形式のデジタルデータに変換する。   The data generation unit 108 converts the electrical quantity measured by the electrical quantity measurement unit 107 into digital data in a communication frame format that can be transmitted to a local area network (process bus).

通信部109は、データ生成部108で生成したデジタルデータをローカルエリアネットワーク(プロセスバス)経由で演算装置200に送信する。   The communication unit 109 transmits the digital data generated by the data generation unit 108 to the arithmetic device 200 via a local area network (process bus).

次に、データ収集装置150の動作例を説明する。   Next, an operation example of the data collection device 150 will be described.

データ収集装置150には、光ファイバケーブルや電気信号ケーブルといった伝送手段を用いて、演算装置200から1PPS信号が入力される。
1PPS信号は絶対時刻の1秒間の周期を示すパルス信号であり、周期誤差は数ppm以下と非常に小さい。
1PPS信号は1PPS信号受信部101にて受信され、クロック偏差測定部103とサンプリング周期カウント部105に配信される。
The data collection device 150 receives a 1 PPS signal from the arithmetic device 200 using transmission means such as an optical fiber cable or an electric signal cable.
The 1PPS signal is a pulse signal indicating a period of 1 second of absolute time, and the period error is as small as several ppm or less.
The 1PPS signal is received by the 1PPS signal receiving unit 101 and distributed to the clock deviation measuring unit 103 and the sampling period counting unit 105.

クロック生成部102では、データ収集装置150のクロック信号が生成され、クロック偏差測定部103とサンプリング周期カウント部105に配信される。
クロック偏差測定部103では、1PPS信号の受信タイミングと、データ収集装置150のクロック信号でカウントした1秒間とのずれであるクロック偏差を計測し、計測結果は偏差測定値保持部104で保持される。
In the clock generation unit 102, a clock signal of the data collection device 150 is generated and distributed to the clock deviation measurement unit 103 and the sampling period counting unit 105.
The clock deviation measuring unit 103 measures a clock deviation that is a difference between the reception timing of the 1PPS signal and one second counted by the clock signal of the data collecting device 150, and the measurement result is held in the deviation measured value holding unit 104. .

サンプリング周期カウント部105は、クロック生成部102にて生成されたクロック信号にてカウントアップまたはカウントダウンするカウンタである。   The sampling period count unit 105 is a counter that counts up or down with the clock signal generated by the clock generation unit 102.

ここで、サンプリング周期を生成するカウント値の上限値(カウント完了値)は、偏差測定値保持部104に保持されているクロック偏差測定値を基に、1PPS信号の精度と一致する様に決定される。
例えば、電力系統の交流周波数が50Hz、1交流周期あたりのサンプリング回数が80回の場合、サンプリング周期は250マイクロ秒となる。
1PPS信号の精度が0ppmの場合、250マイクロ秒は80MHzカウンタで20000回のカウントと一致する。
ここで、クロック信号の周波数偏差が−50ppmの場合、20000回のカウントは250.0125マイクロ秒となり、サンプリング周期が12.5ナノ秒長くなる。
そのため、偏差測定値保持部104に保持されているクロック偏差測定値が−50ppmの場合は、80MHzカウンタのカウント上限値を19999回とすることにより、サンプリング周期の時間幅を250マイクロ秒(0ppmでの時間幅)に一致させる。
Here, the upper limit value (count completion value) of the count value for generating the sampling period is determined based on the clock deviation measurement value held in the deviation measurement value holding unit 104 so as to match the accuracy of the 1PPS signal. The
For example, when the AC frequency of the power system is 50 Hz and the number of samplings per AC cycle is 80, the sampling cycle is 250 microseconds.
If the accuracy of the 1PPS signal is 0 ppm, 250 microseconds corresponds to 20000 counts with an 80 MHz counter.
Here, when the frequency deviation of the clock signal is −50 ppm, the count of 20000 times is 250.0125 microseconds, and the sampling period is increased by 12.5 nanoseconds.
Therefore, when the clock deviation measurement value held in the deviation measurement value holding unit 104 is −50 ppm, the time limit of the sampling period is set to 250 microseconds (at 0 ppm by setting the count upper limit value of the 80 MHz counter to 19999 times. Time width).

サンプリング信号生成部106は、サンプリング周期カウント部105が生成したカウント値を用いて、電気量測定部107に与えるサンプリングタイミング信号を生成する。
電気量測定部107はサンプリング信号生成部106が生成したサンプリングタイミング信号の受信にて電力系統の電気量(電流、電圧)を計測する。
ータ生成部108は、サンプリング信号生成部106にて測定された電気量を演算装置200に送信するため、通信部109にて送信可能な通信フレームの形式に構成する。
通信部109は、データ生成部108が生成した通信フレームを演算装置200に送信する。
The sampling signal generation unit 106 generates a sampling timing signal to be given to the electric quantity measurement unit 107 using the count value generated by the sampling period counting unit 105.
The electric quantity measuring unit 107 measures the electric quantity (current, voltage) of the power system by receiving the sampling timing signal generated by the sampling signal generating unit 106.
Data generator 108 for transmitting the electrical quantity measured at the sampling signal generator 106 to the arithmetic unit 200, configured in the form of a possible communication frames transmitted by the communication unit 109.
The communication unit 109 transmits the communication frame is data generating unit 108 to generate the arithmetic unit 200.

次に、クロック偏差測定部103、偏差測定値保持部104、サンプリング周期カウント部105の動作を図6を用いて説明する。   Next, operations of the clock deviation measuring unit 103, the deviation measured value holding unit 104, and the sampling period counting unit 105 will be described with reference to FIG.

クロック偏差測定部103は、1PPS信号の受信時を起点としてクロック信号をカウント源とする10ミリ秒周期パルスの生成を開始する。
10ミリ秒周期パルスによりカウントアップする10ミリ秒パルスカウントの値が99に達した段階で、クロック偏差測定部103は、クロック信号をカウント源とするクロック偏差測定カウンタのカウントを開始する。
カウント開始後、1PPS信号の受信時に、クロック偏差測定部103は、クロック偏差測定カウンタのカウントを停止する。
The clock deviation measuring unit 103 starts generating a 10-millisecond periodic pulse starting from the time when the 1PPS signal is received and using the clock signal as a count source.
When the value of the 10-millisecond pulse count counted up by the 10-millisecond periodic pulse reaches 99, the clock deviation measurement unit 103 starts counting by the clock deviation measurement counter using the clock signal as a count source.
When the 1PPS signal is received after the count starts, the clock deviation measuring unit 103 stops counting the clock deviation measuring counter.

クロック偏差測定カウンタのカウント値から10ミリ秒の理想カウント値(クロック偏差0ppm時のカウント値)を減算することにより、1PPS信号受信間におけるクロック信号のクロック周波数偏差蓄積量(例えば図6の符号500の矩形に相当する時間)を得ることができる。
クロック偏差測定部103にて得られた偏差蓄積量(クロック偏差測定値)は、偏差測定値保持部104に保持される。
By subtracting the ideal count value of 10 milliseconds (count value when the clock deviation is 0 ppm) from the count value of the clock deviation measurement counter, the clock frequency deviation accumulation amount of the clock signal during the reception of the 1 PPS signal (for example, reference numeral 500 in FIG. 6). The time corresponding to the rectangle) can be obtained.
The deviation accumulation amount (clock deviation measurement value) obtained by the clock deviation measurement unit 103 is held in the deviation measurement value holding unit 104.

クロック偏差測定部103の動作を図7を用いて、より詳細に説明する。   The operation of the clock deviation measuring unit 103 will be described in more detail with reference to FIG.

1PPS信号がクロック偏差測定部103に入力されると、クロック信号のクロック周期に従ってカウントする10ミリ秒のカウンタが動作する。
例えば、クロック信号が80MHzの場合では、12.5ナノ秒単位のカウントとなるため、800000カウントで10ミリ秒となる。
この10ミリ秒のカウントが99回目の時に、カウンタが800000カウントになるとデータ収集装置150のクロック信号の計測では1秒間となる。
このクロック信号によりカウントした1秒間と、1PPS信号の受信タイミングの差が、クロック偏差の測定値となる。
では、10ミリ秒のカウンタが798400カウントの時点で1PPS信号が受信されているため、クロック信号は1秒間で20マイクロ秒((800000−798400)×12.5ナノ秒)遅くカウントしており、この値がクロック偏差の測定値である。
このような動作で、クロック偏差測定部103は、1PPS信号に対するクロック信号の1秒あたりの乖離時間であるクロック偏差を測定し、偏差測定値保持部104にクロック偏差測定値を格納する。
クロック信号による1秒間のカウントが、1PPS信号よりも20マイクロ秒遅い場合は、図8に示すように、サンプリング信号は1秒間で3999回しか出力されず、250マイクロ秒の周期でサンプリング信号を出力できていないことになる。
このため、20マイクロ秒分の補正を行うために、サンプリング周期カウンタの上限値(カウント完了値)を変更する必要がある。
When the 1PPS signal is input to the clock deviation measuring unit 103, a 10-millisecond counter that counts according to the clock period of the clock signal operates.
For example, when the clock signal is 80 MHz, the count is in units of 12.5 nanoseconds, so 800000 counts to 10 milliseconds.
When the count of 10 milliseconds is the 99th time, if the counter reaches 800,000, the measurement of the clock signal of the data collection device 150 takes 1 second.
A difference in reception timing of 1 second and 1 PPS signal counted by this clock signal is a measured value of the clock deviation.
In FIG. 7 , since the 1 PPS signal is received when the counter of 10 milliseconds is 798400 counts, the clock signal counts late by 20 microseconds ((800000-798400) × 12.5 nanoseconds) in 1 second. This value is a measured value of the clock deviation.
With such an operation, the clock deviation measuring unit 103 measures a clock deviation that is a divergence time per second of the clock signal with respect to the 1PPS signal, and stores the clock deviation measured value in the deviation measured value holding unit 104.
When the count for 1 second by the clock signal is 20 microseconds slower than the 1PPS signal, the sampling signal is output only 3999 times per second as shown in FIG. 8, and the sampling signal is output at a cycle of 250 microseconds. It will not be done.
For this reason, in order to perform correction for 20 microseconds, it is necessary to change the upper limit value (count completion value) of the sampling period counter.

サンプリング周期カウント部105は、図6に示すように、サンプリング信号生成カウンタを内蔵している。
サンプリング周期カウント部105は、偏差測定値保持部104に保持されている1秒間の偏差蓄積量(クロック偏差測定値)からサンプリング周期あたりの偏差蓄積量(クロック偏差測定値)を算出する。
例えば、サンプリング周期が前述のように250マイクロ秒であれば、サンプリング信号生成カウンタでは、1秒間に4000回のサンプリングが行われるため、偏差測定値保持部104に保持されている1秒間の偏差蓄積量(クロック偏差測定値)を4000で除算して、サンプリング周期あたりの偏差蓄積量(クロック偏差測定値)を求める。
サンプリング周期カウント部105は、算出した偏差蓄積量をサンプリング周期カウントの理想値(クロック偏差0ppm時のカウント値)から加算または減算し、この値をサンプリング信号生成カウンタの上限値(カウント完了値)として設定する。
図6では、符号600がサンプリング信号生成カウンタの上限値を示している。
サンプリング信号生成部106は、サンプリング信号生成カウンタのカウント値を監視し、カウント値が0(カウント開始値)となったタイミングで電気量測定部107に対するサンプリングタイミング信号を有意とする。
尚、符号600はサンプリング毎に異なる値としても良い。1秒間の偏差蓄積量(クロック偏差測定値)がサンプリング回数で割り切れない場合や1より小さい場合は、サンプリング毎にサンプリング信号生成カウンタの上限値を変えることで、細かな調整を行うことができる。例えば、3回のサンプリングにおいて符号600の値を理想値(クロック偏差0ppm時のカウント値)を1回、理想値より2少ない値を2回とする。この場合、サンプリング3回中に4クロック分の調整を行うことになり、1サンプリングあたり1.33クロック分の調整を行うことができる。
As shown in FIG. 6, the sampling period count unit 105 includes a sampling signal generation counter.
The sampling cycle count unit 105 calculates the deviation accumulation amount (clock deviation measurement value) per sampling cycle from the deviation accumulation amount (clock deviation measurement value) for one second held in the deviation measurement value holding unit 104.
For example, if the sampling cycle is 250 microseconds as described above, the sampling signal generation counter samples 4000 times per second, so that the deviation accumulation for 1 second held in the deviation measurement value holding unit 104 is performed. The amount (clock deviation measurement value) is divided by 4000 to obtain a deviation accumulation amount (clock deviation measurement value) per sampling period.
The sampling cycle count unit 105 adds or subtracts the calculated accumulated deviation amount from the ideal value of the sampling cycle count (count value when the clock deviation is 0 ppm), and uses this value as the upper limit value (count completion value) of the sampling signal generation counter. Set.
In FIG. 6, reference numeral 600 indicates the upper limit value of the sampling signal generation counter.
The sampling signal generation unit 106 monitors the count value of the sampling signal generation counter, and makes the sampling timing signal for the electric quantity measurement unit 107 significant at the timing when the count value becomes 0 (count start value).
The reference numeral 600 may be a different value for each sampling. When the accumulated amount of deviation (clock deviation measurement value) for one second is not divisible by the number of samplings or smaller than 1, fine adjustment can be performed by changing the upper limit value of the sampling signal generation counter for each sampling. For example, in three samplings, the value of the symbol 600 is set to the ideal value (count value when the clock deviation is 0 ppm) once, and the value 2 less than the ideal value is set to twice. In this case, adjustment for four clocks is performed during three samplings, and adjustment for 1.33 clocks per sampling can be performed.

このようにして、図5に示すデータ収集装置150は、1PPS信号に対するクロック信号の偏差量を測定し、測定結果を用いてサンプリング周期カウント部105のカウント上限値を決定することで、サンプリング周期の時間幅を理想時間幅(0ppmでの時間幅)に一致させる。 In this way, the data collection device 150 shown in FIG. 5 measures the deviation amount of the clock signal with respect to the 1PPS signal, and determines the upper limit value of the sampling period counting unit 105 using the measurement result, thereby determining the sampling period. Match the time width to the ideal time width (time width at 0 ppm).

次に、図1のデータ収集装置100により、1PPS信号入力が一時的に途切れるといった受信異常が発生した場合に、誤ったクロック偏差測定値による誤ったサンプリング周期が生成されることを回避可能であることを説明する。   Next, it is possible to avoid the generation of an incorrect sampling period due to an erroneous clock deviation measurement value when a reception abnormality occurs such that the 1PPS signal input is temporarily interrupted by the data collection device 100 of FIG. Explain that.

図1の構成と図5の構成との違いは、図1において偏差測定値保持部104の代わりに偏差測定値保持部301が配置され、また、クロック偏差値生成部302が追加されている点である。
偏差測定値保持部301及びクロック偏差値生成部302以外は、図5に示したものと同様である。
The difference between the configuration of FIG. 1 and the configuration of FIG. 5 is that, in FIG. 1, a deviation measurement value holding unit 301 is arranged instead of the deviation measurement value holding unit 104, and a clock deviation value generation unit 302 is added. It is.
Except for the deviation measurement value holding unit 301 and the clock deviation value generation unit 302, the configuration is the same as that shown in FIG.

偏差測定値保持部301は、クロック偏差測定部103で計測したクロック偏差測定値を複数保持する。
つまり、偏差測定値保持部301は、クロック偏差測定部103における複数回の測定により得られた複数のクロック偏差測定値を保持する。
The deviation measurement value holding unit 301 holds a plurality of clock deviation measurement values measured by the clock deviation measurement unit 103.
That is, the deviation measurement value holding unit 301 holds a plurality of clock deviation measurement values obtained by a plurality of measurements in the clock deviation measurement unit 103.

クロック偏差値生成部302は、偏差測定値保持部301の複数のクロック偏差測定値を比較し、出力先であるサンプリング周期カウント部105に出力するクロック偏差測定値を、複数のクロック偏差測定値の中から選択する。
クロック偏差値生成部302は、偏差測定値選択部の例に相当する。
The clock deviation value generation unit 302 compares the plurality of clock deviation measurement values of the deviation measurement value holding unit 301 and outputs the clock deviation measurement value output to the sampling period counting unit 105, which is the output destination, to the plurality of clock deviation measurement values. Choose from.
The clock deviation value generation unit 302 corresponds to an example of a deviation measurement value selection unit.

次に、データ収集装置100の動作例を、図2を用いて説明する。   Next, an operation example of the data collection device 100 will be described with reference to FIG.

偏差測定値保持部301は複数の保持部(記憶領域)を持ち、最新のクロック偏差測定値を保持部1に、1つ前のクロック偏差測定値を保持部2に、2つ前のクロック偏差測定値を保持部3に格納する。
1PPS信号に対するクロック信号の偏差量は、例えば昼夜の温度差といった環境要因等で変動するが、数秒間といった短い時間内で変化するものではない。
このため、偏差測定値保持部301内の3つのクロック偏差測定値は一致するはずである。
The deviation measurement value holding unit 301 has a plurality of holding units (storage areas), and the latest clock deviation measurement value is held in the holding unit 1, the previous clock deviation measurement value is held in the holding unit 2, and the previous clock deviation is two. The measured value is stored in the holding unit 3.
The amount of deviation of the clock signal from the 1PPS signal varies depending on environmental factors such as a temperature difference between day and night, but does not change within a short time such as several seconds.
For this reason, the three clock deviation measurement values in the deviation measurement value holding unit 301 should match.

クロック偏差値生成部302は、偏差測定値保持部301の複数のクロック偏差測定値を比較し、最新のクロック偏差測定値が他のクロック偏差測定値と一致している場合は、最新のクロック偏差測定値が正常であると判定し、最新のクロック偏差測定値をサンプリング周期カウント部105に出力する値として選択する。
最新のクロック偏差測定値が他のクロック偏差測定値と一致しない場合は、クロック偏差値生成部302は、例えば1PPS信号が途切れるなど異常発生があったと判断し、クロック偏差測定値の更新は行わず、現状の値を維持する。
つまり、クロック偏差値生成部302は、保持部2に保持されているクロック偏差測定値をサンプリング周期カウント部105に出力する値として選択する。
そして、クロック偏差値生成部302は、選択したクロック偏差測定値をサンプリング周期カウント部105に出力する。
The clock deviation value generation unit 302 compares the plurality of clock deviation measurement values of the deviation measurement value holding unit 301, and if the latest clock deviation measurement value matches another clock deviation measurement value, the latest clock deviation measurement value. It is determined that the measurement value is normal, and the latest clock deviation measurement value is selected as a value to be output to the sampling period count unit 105.
If the latest clock deviation measurement value does not coincide with other clock deviation measurement values, the clock deviation value generation unit 302 determines that an abnormality has occurred, for example, the 1PPS signal is interrupted, and does not update the clock deviation measurement value. Maintain the current value.
That is, the clock deviation value generation unit 302 selects the clock deviation measurement value held in the holding unit 2 as a value to be output to the sampling period counting unit 105.
Then, the clock deviation value generation unit 302 outputs the selected clock deviation measurement value to the sampling period counting unit 105.

これにより、1PPS信号受信に異常が生じた場合でも、異常がサンプリング信号生成に影響することを防止することが可能となる。
なお、図1及び図2では、偏差測定値保持部301内の保持部は3つとして説明したが、2つ以上の任意の値で良い。
また、以上では、偏差測定値保持部301内の最新のクロック偏差測定値が、他のクロック偏差測定値と完全に一致する場合にのみ、最新のクロック偏差測定値をサンプリング周期カウント部105に出力することとした。
これに対して、所定の許容範囲を設け、最新のクロック偏差測定値が、許容範囲内で他のクロック偏差測定値と一致する場合には、最新のクロック偏差測定値をサンプリング周期カウント部105に出力するようにしてもよい。
As a result, even when an abnormality occurs in the reception of the 1PPS signal, it is possible to prevent the abnormality from affecting the sampling signal generation.
1 and 2, the number of holding units in the deviation measurement value holding unit 301 has been described as three, but two or more arbitrary values may be used.
In the above description, the latest clock deviation measurement value is output to the sampling period counting unit 105 only when the latest clock deviation measurement value in the deviation measurement value holding unit 301 completely matches the other clock deviation measurement value. It was decided to.
On the other hand, when a predetermined allowable range is provided and the latest clock deviation measured value matches another clock deviation measured value within the allowable range, the latest clock deviation measured value is input to the sampling period count unit 105. You may make it output.

実施の形態2.
以上の実施の形態1では、1PPS信号に対するクロック信号の偏差量を測定し、測定結果を用いてサンプリング周期カウント部のカウント上限値を決定することで、サンプリング周期の時間幅を理想時間幅(0ppmでの時間幅)に一致させることを説明した。
また、実施の形態1では、1PPS信号受信に異常があった場合に誤ったクロック偏差測定値によるサンプリング信号の生成を防止する例を示した。
本実施の形態では、1PPS信号の途絶が長時間に及んだ場合や、データ収集装置の電源投入後に1PPS信号を初めて受信した場合に、サンプリングタイミング信号の生成開始位置を1PPS信号受信タイミングに合わせる方式を示す。
Embodiment 2. FIG.
In the first embodiment described above, the deviation amount of the clock signal with respect to the 1PPS signal is measured, and the count upper limit value of the sampling period count unit is determined using the measurement result, whereby the time width of the sampling period is set to the ideal time width (0 ppm). It was explained that it matches the time width in (1).
In the first embodiment, an example is shown in which generation of a sampling signal due to an erroneous clock deviation measurement value is prevented when there is an abnormality in reception of a 1PPS signal.
In this embodiment, when the interruption of the 1PPS signal takes a long time or when the 1PPS signal is received for the first time after the data collector is turned on, the generation start position of the sampling timing signal is matched with the reception timing of the 1PPS signal. Indicates the method.

図3において、サンプリング位置合わせ部501は、サンプリング信号生成部106が生成するサンプリングタイミング信号の生成開始位置を1PPS信号受信タイミングに合わせるためのタイミング補正量を生成する。
より具体的には、サンプリング位置合わせ部501は、サンプリング周期カウント部105への1PPS信号の入力タイミングとサンプリング周期カウント部105におけるカウント開始値のタイミングとを監視する。
そして、カウント開始値のタイミングが1PPS信号の入力タイミングと一致していない場合に、サンプリング位置合わせ部501は、カウント開始値のタイミングを1PPS信号の入力タイミングに一致させるためのタイミング補正値を算出する。
そして、サンプリング周期カウント部105は、サンプリング位置合わせ部501により算出されたタイミング補正値を用いてカウント上限値(カウント完了値)を変更し、カウント開始値のタイミングを1PPS信号の入力タイミングに一致させる。
なお、サンプリング位置合わせ部501は、タイミング補正値算出部の例に相当する。
また、サンプリング位置合わせ部501以外の要素は、図1に示したものと同様である。
In FIG. 3, the sampling position adjustment unit 501 generates a timing correction amount for adjusting the generation start position of the sampling timing signal generated by the sampling signal generation unit 106 to the 1PPS signal reception timing.
More specifically, the sampling position alignment unit 501 monitors the input timing of the 1PPS signal to the sampling cycle counting unit 105 and the timing of the count start value in the sampling cycle counting unit 105.
When the timing of the count start value does not coincide with the input timing of the 1PPS signal, the sampling alignment unit 501 calculates a timing correction value for making the timing of the count start value coincide with the input timing of the 1PPS signal. .
Then, the sampling period counting unit 105 changes the count upper limit value (count completion value) using the timing correction value calculated by the sampling position alignment unit 501, and matches the timing of the count start value with the input timing of the 1PPS signal. .
Note that the sampling position alignment unit 501 corresponds to an example of a timing correction value calculation unit.
The elements other than the sampling position alignment unit 501 are the same as those shown in FIG.

次に、本実施の形態に係るデータ収集装置100の動作例を、図4を用いて説明する。   Next, an operation example of the data collection device 100 according to the present embodiment will be described with reference to FIG.

複数のデータ収集装置間でサンプリングタイミングが一致するためには、サンプリング周期の時間幅が一致することに加え、サンプリングタイミング信号の開始位置が1PPS信号の受信タイミングと一致していることが必要である。
そのため、サンプリング信号生成カウンタの上限値を決定する算出式には、サンプリング周期の時間幅をクロック偏差測定値に合わせて設定する(2)に加え、サンプリングタイミング信号の生成タイミングをずらすための(3)が必要である。
<サンプリング信号生成カウンタ上限値の決定式>
カウンタ上限値=(1)カウンタベース値(0ppm時の周期カウント値)
±(2)クロック偏差値 ±(3)タイミング補正量
In order for sampling timings to match among a plurality of data collection devices, it is necessary that the sampling timing signal start position matches the reception timing of the 1PPS signal in addition to the matching of the sampling period time widths. .
For this reason, in the calculation formula for determining the upper limit value of the sampling signal generation counter, in addition to setting the time width of the sampling period in accordance with the clock deviation measurement value (2), (3) for shifting the generation timing of the sampling timing signal )is necessary.
<Sampling signal generation counter upper limit value determination formula>
Counter upper limit value = (1) Counter base value (cycle count value at 0 ppm)
± (2) Clock deviation value ± (3) Timing correction amount

1PPS信号の途絶が長時間に及んだ場合や、データ収集装置の電源投入後に1PPS信号を初めて受信した場合は、図4中の同期ずれ量(サンプリングタイミング信号位置と1PPS信号受信位置間のずれ)が存在しており、この同期ずれ量は、データ収集装置ごとに異なる値となっている。   When the interruption of the 1PPS signal lasts for a long time or when the 1PPS signal is received for the first time after the data collector is turned on, the amount of synchronization deviation (the difference between the sampling timing signal position and the 1PPS signal reception position) in FIG. ) And the amount of synchronization deviation is different for each data collection device.

サンプリング位置合わせ部501は、1PPS受信時のサンプリング信号生成カウンタのカウント値から同期ずれ量を算出する。
そして、サンプリング位置合わせ部501は、算出した同期ずれ量をタイミング補正量としてサンプリング周期カウント部105へ出力する。
サンプリング周期カウント部105は、前記のサンプリング信号生成カウンタ上限値の決定式に基づきカウンタ上限値を変更することで、同期ずれ量を0に調整することができる。
The sampling alignment unit 501 calculates the amount of synchronization deviation from the count value of the sampling signal generation counter at the time of 1PPS reception.
Then, the sampling position alignment unit 501 outputs the calculated amount of synchronization deviation to the sampling period counting unit 105 as a timing correction amount.
The sampling period counting unit 105 can adjust the amount of synchronization deviation to 0 by changing the counter upper limit value based on the determination formula of the sampling signal generation counter upper limit value.

サンプリング位置合わせ部501は、1PPS信号受信時のサンプリング信号生成カウンタのカウント値によって、サンプリングタイミング信号を調整する方向、すなわち前記の(3)タイミング補正量を加算するか減算するかを決定する。
図4において、1PPS信号の受信タイミングがサンプリング信号生成カウンタの中間値よりであってカウンタ上限値よりもの場合(図4の(1))は、サンプリング位置合わせ部501は、カウンタ上限値からタイミング補正量を減算することでサンプリングタイミング信号を1PPS信号受信タイミングに一致させる。
また、1PPS信号の受信タイミングがサンプリング信号生成カウンタの中間値よりであってカウンタ開始値よりもの場合(図4の(2))は、サンプリング位置合わせ部501は、カウンタ上限値にタイミング補正量を加算することでサンプリングタイミング信号を1PPS信号受信タイミングに一致させる。
The sampling alignment unit 501 determines the direction of adjusting the sampling timing signal, that is, whether to add or subtract the (3) timing correction amount, according to the count value of the sampling signal generation counter when receiving the 1PPS signal.
4, when the reception timing of the 1PPS signal is earlier than the counter upper limit value even after the intermediate value of the sampling signal generating counter (of FIG. 4 (1)), the sampling aligning unit 501, the counter upper limit value By subtracting the timing correction amount from the sampling timing signal, the sampling timing signal coincides with the 1PPS signal reception timing.
In addition, when the reception timing of the 1PPS signal is earlier than the intermediate value of the sampling signal generation counter and later than the counter start value ((2) in FIG. 4), the sampling position alignment unit 501 sets the timing to the counter upper limit value. By adding the correction amount, the sampling timing signal is made coincident with the 1PPS signal reception timing.

なお、前記の(3)タイミング補正量の調整は1回で行わず、複数回に分割して行ってよい。
例えば、サンプリングタイミング信号間隔の変化を75ナノ秒以下に制限したいケースで同期ずれ量が750nsの場合、1回の調整量を最大75ns(80MHzカウンタで4カウント分)とし、カウンタ上限値の調整を10回行ってもよい。
また、毎回の調整量が同じでなくてもよい。
Note that (3) the adjustment of the timing correction amount may not be performed once but may be performed in a plurality of times.
For example, if you want to limit the change in the sampling timing signal interval to 75 nanoseconds or less and the synchronization deviation amount is 750 ns, the maximum adjustment amount is 75 ns (4 counts for the 80 MHz counter) and the counter upper limit is adjusted. It may be performed 10 times.
Further, the adjustment amount for each time may not be the same.

このように、本実施の形態によれば、1PPS信号の途絶が長時間に及んだ場合や、データ収集装置の電源投入後に1PPS信号を初めて受信した場合に、サンプリングタイミング信号の生成開始位置を1PPS信号受信タイミングに合わせることが可能になる。   As described above, according to the present embodiment, when the interruption of the 1PPS signal takes a long time or when the 1PPS signal is received for the first time after the data collecting device is turned on, the generation start position of the sampling timing signal is set. It becomes possible to match the 1PPS signal reception timing.

なお、実施の形態1及び2では、サンプリング周期カウント部105がインクリメントによりカウントする例を説明したので、カウント開始値がサンプリング周期カウント部105の下限値であり、カウント完了値が上限値であった。
サンプリング周期カウント部105がデクリメントによりカウントする場合は、カウント開始値がサンプリング周期カウント部105の上限値となり、カウント完了値が下限値となる。
In Embodiments 1 and 2, the example in which sampling period counting section 105 counts by increment has been described, so that the count start value is the lower limit value of sampling period counting section 105 and the count completion value is the upper limit value. .
When the sampling cycle count unit 105 counts by decrement, the count start value becomes the upper limit value of the sampling cycle count unit 105, and the count completion value becomes the lower limit value.

最後に、実施の形態1、2に示したデータ収集装置100のハードウェア構成例を図9を参照して説明する。
データ収集装置100はコンピュータであり、データ収集装置100の各要素をプログラムで実現することができる。
データ収集装置100のハードウェア構成としては、バスに、制御装置901、外部記憶装置902、主記憶装置903、通信装置904、入出力装置905、クロック発生回路906、カウンタ907が接続されている。
Finally, a hardware configuration example of the data collection device 100 shown in the first and second embodiments will be described with reference to FIG.
The data collection device 100 is a computer, and each element of the data collection device 100 can be realized by a program.
As a hardware configuration of the data collection device 100, a control device 901, an external storage device 902, a main storage device 903, a communication device 904, an input / output device 905, a clock generation circuit 906, and a counter 907 are connected to the bus.

制御装置901は、プログラムを実行するCPUである。
外部記憶装置902は、例えばROM(Read Only Memory)やフラッシュメモリ、ハードディスク装置である。
主記憶装置903は、RAM(Random Access Memory)である。
偏差測定値保持部301は、例えば、主記憶装置903により実現される。
通信装置904は、1PPS信号受信部101及び通信部109の物理層に対応する。
入出力装置905は、例えばマウス、キーボード、ディスプレイ装置等である。
クロック発生回路906は、水晶発振器を備え、データ収集装置100のクロック信号を生成する。
クロック生成部102は、クロック発生回路906により実現される。
また、サンプリング周期カウント部105は、カウンタ907により実現される。
The control device 901 is a CPU that executes a program.
The external storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or a hard disk device.
The main storage device 903 is a RAM (Random Access Memory).
The deviation measured value holding unit 301 is realized by the main storage device 903, for example.
The communication device 904 corresponds to the physical layer of the 1PPS signal receiving unit 101 and the communication unit 109.
The input / output device 905 is, for example, a mouse, a keyboard, a display device, or the like.
The clock generation circuit 906 includes a crystal oscillator and generates a clock signal for the data collection device 100.
The clock generation unit 102 is realized by a clock generation circuit 906.
The sampling period counting unit 105 is realized by a counter 907.

プログラムは、通常は外部記憶装置902に記憶されており、主記憶装置903にロードされた状態で、順次制御装置901に読み込まれ、実行される。
プログラムは、図1、図3に示す「〜部」(但し、クロック生成部102、偏差測定値保持部301を除く、以下も同様)として説明している機能を実現するプログラムである。
更に、外部記憶装置902にはオペレーティングシステム(OS)も記憶されており、OSの少なくとも一部が主記憶装置903にロードされ、制御装置901はOSを実行しながら、図1に示す「〜部」の機能を実現するプログラムを実行する。
また、実施の形態1、2の説明において、「〜の測定」、「〜のカウント」、「〜の変更」、「〜の決定」、「〜の設定」、「〜の指定」、「〜の計算」、「〜の判断」、「〜の判定」、「〜の選択」、「〜の生成」、「〜の入力」、「〜の受信」等として説明している処理の結果を示す情報やデータや信号値や変数値が主記憶装置903にファイルとして記憶されている。
The program is normally stored in the external storage device 902, and is loaded into the main storage device 903 and sequentially read and executed by the control device 901.
The program is a program that realizes the functions described as “˜units” shown in FIG. 1 and FIG. 3 (however, except for the clock generation unit 102 and the deviation measurement value holding unit 301, the same applies hereinafter).
Further, an operating system (OS) is also stored in the external storage device 902. At least a part of the OS is loaded into the main storage device 903, and the control device 901 executes the OS while the “˜ part” shown in FIG. ”Is executed.
In the description of the first and second embodiments, “measurement of”, “count of”, “change of”, “determination”, “setting of”, “designation of”, “ Results of the processes described as "Calculation of", "Judgment of", "Judgment of", "Selection of", "Generation of", "Input of", "Reception of" Information, data, signal values, and variable values are stored in the main storage device 903 as files.

なお、図9の構成は、あくまでもデータ収集装置100のハードウェア構成の一例を示すものであり、データ収集装置100のハードウェア構成は図9に記載の構成に限らず、他の構成であってもよい。   The configuration in FIG. 9 is merely an example of the hardware configuration of the data collection device 100, and the hardware configuration of the data collection device 100 is not limited to the configuration illustrated in FIG. Also good.

100 データ収集装置、101 1PPS信号受信部、102 クロック生成部、103 クロック偏差測定部、104 偏差測定値保持部、105 サンプリング周期カウント部、106 サンプリング信号生成部、107 電気量測定部、108 データ生成部、109 通信部、301 偏差測定値保持部、302 クロック偏差値生成部、501 サンプリング位置合わせ部。   DESCRIPTION OF SYMBOLS 100 Data collection device, 101 1PPS signal receiving part, 102 Clock generation part, 103 Clock deviation measurement part, 104 Deviation measurement value holding part, 105 Sampling period count part, 106 Sampling signal generation part, 107 Electric quantity measurement part, 108 Data generation Unit, 109 communication unit, 301 deviation measurement value holding unit, 302 clock deviation value generation unit, and 501 sampling alignment unit.

Claims (7)

1PPS(1 Pulse Per Second)信号を受信する1PPS信号受信部と、
1秒間に比べて微小なクロック周期のクロック信号を生成するクロック生成部と、
前記1PPS信号受信部から前記1PPS信号を入力し、前記クロック生成部から前記クロック信号を入力し、前記1PPS信号を入力する度に、前記クロック信号の前記1PPS信号に対する周波数偏差であるクロック偏差を測定するクロック偏差測定部と、
前記クロック偏差測定部における複数回の測定により得られた複数のクロック偏差測定値を保持する偏差測定値保持部と、
前記偏差測定値保持部に保持されている前記複数のクロック偏差測定値のうちの最新のクロック偏差測定値と他のクロック偏差測定値とを比較し、前記最新のクロック偏差測定値が他のクロック偏差測定値と所定の許容範囲内で一致する場合に前記最新のクロック偏差測定値を出力先に出力し、前記最新のクロック偏差測定値が他のクロック偏差測定値と前記許容範囲内で一致しない場合に前記他のクロック偏差測定値のうちのいずれかのクロック偏差測定値を前記出力先に出力する偏差測定値選択部とを有することを特徴とする信号処理装置。
A 1PPS signal receiving unit that receives a 1PPS (1 Pulse Per Second) signal;
A clock generation unit that generates a clock signal having a clock period smaller than that of one second;
Each time the 1PPS signal is input from the 1PPS signal receiving unit, the clock signal is input from the clock generation unit, and the 1PPS signal is input, a clock deviation that is a frequency deviation of the clock signal with respect to the 1PPS signal is measured. A clock deviation measuring unit to
A deviation measurement value holding unit for holding a plurality of clock deviation measurement values obtained by a plurality of measurements in the clock deviation measurement unit;
The latest clock deviation measurement value of the plurality of clock deviation measurement values held in the deviation measurement value holding unit is compared with another clock deviation measurement value, and the latest clock deviation measurement value is compared with another clock. Outputs the latest clock deviation measurement value to the output destination when the deviation measurement value matches within a predetermined allowable range, and the latest clock deviation measurement value does not match with other clock deviation measurement values within the allowable range And a deviation measurement value selection unit that outputs any one of the clock deviation measurement values of the other clock deviation measurement values to the output destination.
前記信号処理装置は、更に、
前記1PPS信号受信部から前記1PPS信号を入力し、前記クロック生成部から前記クロック信号を入力し、前記クロック信号のクロック周期に合わせてカウント開始値からカウント完了値までのカウントを行い、前記カウント完了値までのカウントを終えると前記カウント開始値からのカウントを開始するカウンタと、
前記カウンタへの前記1PPS信号の入力タイミングと前記カウンタにおける前記カウント開始値のタイミングとを監視し、前記カウント開始値のタイミングが前記1PPS信号の入力タイミングと一致していない場合に、前記カウント開始値のタイミングを前記1PPS信号の入力タイミングに一致させるためのタイミング補正値を算出するタイミング補正値算出部とを有し、
前記カウンタは、
前記タイミング補正値算出部により算出されたタイミング補正値を用いて前記カウント完了値を変更し、前記カウント開始値のタイミングを前記1PPS信号の入力タイミングに一致させることを特徴とする請求項1に記載の信号処理装置。
The signal processing device further includes:
The 1PPS signal is input from the 1PPS signal receiving unit, the clock signal is input from the clock generation unit, and the count from the count start value to the count completion value is performed according to the clock cycle of the clock signal, and the count is completed A counter that starts counting from the count start value when the count to the value is finished,
The input timing of the 1PPS signal to the counter and the timing of the count start value in the counter are monitored, and when the timing of the count start value does not coincide with the input timing of the 1PPS signal, the count start value A timing correction value calculation unit for calculating a timing correction value for matching the timing of the above to the input timing of the 1PPS signal,
The counter is
The timing correction value calculated by the timing correction value calculation unit is used to change the count completion value so that the timing of the count start value coincides with the input timing of the 1PPS signal. Signal processing equipment.
前記タイミング補正値算出部は、
前記カウンタへの前記1PPS信号の入力タイミングが前記カウント開始値と前記カウント完了値との間の中間値よりも後であって前記カウント完了値よりも前である場合に、前記カウンタに前記カウント完了値からタイミング補正値を減算させるようにし、
前記カウンタへの前記1PPS信号の入力タイミングが前記カウント開始値よりも後であって前記中間値よりも前である場合に、前記カウンタに前記カウント完了値にタイミング補正値を加算させるようにすることを特徴とする請求項2に記載の信号処理装置。
The timing correction value calculator is
When the input timing of the 1PPS signal to the counter is later than the intermediate value between the count start value and the count completion value and before the count completion value, the counter completes the count completion. The timing correction value is subtracted from the value,
When the input timing of the 1PPS signal to the counter is after the count start value and before the intermediate value, the counter is caused to add a timing correction value to the count completion value. The signal processing apparatus according to claim 2.
前記タイミング補正値算出部は、
算出したタイミング補正値をn(nは2以上の整数)分割し、
前記カウンタは、
前記タイミング補正値の分割値をn回のカウント完了値に用いて前記n回のカウント完了値を変更して、前記カウント開始値のタイミングを前記1PPS信号の入力タイミングに一致させることを特徴とする請求項2又は3に記載の信号処理装置。
The timing correction value calculator is
Divide the calculated timing correction value into n (n is an integer of 2 or more),
The counter is
The division value of the timing correction value is used as the n count completion value to change the n count completion value so that the timing of the count start value coincides with the input timing of the 1PPS signal. The signal processing apparatus according to claim 2 or 3.
1PPS(1 Pulse Per Second)信号を受信する1PPS信号受信部と、
1秒に比べて微小なクロック周期のクロック信号を生成するクロック生成部と、
前記1PPS信号受信部から前記1PPS信号を入力し、前記クロック生成部から前記クロック信号を入力し、前記クロック信号のクロック周期に合わせてカウント開始値からカウント完了値までのカウントを行い、前記カウント完了値までのカウントを終えると前記カウント開始値からのカウントを開始するカウンタと、
前記カウンタへの前記1PPS信号の入力タイミングと前記カウンタにおける前記カウント開始値のタイミングとを監視し、前記カウント開始値のタイミングが前記1PPS信号の入力タイミングと一致していない場合に、前記カウント開始値のタイミングを前記1PPS信号の入力タイミングに一致させるためのタイミング補正値を算出するタイミング補正値算出部とを有し、
前記カウンタは、
前記タイミング補正値算出部により算出されたタイミング補正値を用いて前記カウント完了値を変更し、前記カウント開始値のタイミングを前記1PPS信号の入力タイミングに一致させることを特徴とする信号処理装置。
A 1PPS signal receiving unit that receives a 1PPS (1 Pulse Per Second) signal;
A clock generation unit for generating a clock signal having a clock period smaller than 1 second;
The 1PPS signal is input from the 1PPS signal receiving unit, the clock signal is input from the clock generation unit, and the count from the count start value to the count completion value is performed according to the clock cycle of the clock signal, and the count is completed A counter that starts counting from the count start value when the count to the value is finished,
The input timing of the 1PPS signal to the counter and the timing of the count start value in the counter are monitored, and when the timing of the count start value does not coincide with the input timing of the 1PPS signal, the count start value A timing correction value calculation unit for calculating a timing correction value for matching the timing of the above to the input timing of the 1PPS signal,
The counter is
The signal processing apparatus, wherein the count completion value is changed using the timing correction value calculated by the timing correction value calculation unit, and the timing of the count start value is made coincident with the input timing of the 1PPS signal.
前記タイミング補正値算出部は、
前記カウンタへの前記1PPS信号の入力タイミングが前記カウント開始値と前記カウント完了値との間の中間値よりも後であって前記カウント完了値よりも前である場合に、前記カウンタに前記カウント完了値からタイミング補正値を減算させるようにし、
前記カウンタへの前記1PPS信号の入力タイミングが前記カウント開始値よりも後であって前記中間値よりも前である場合に、前記カウンタに前記カウント完了値にタイミング補正値を加算させるようにすることを特徴とする請求項5に記載の信号処理装置。
The timing correction value calculator is
When the input timing of the 1PPS signal to the counter is later than the intermediate value between the count start value and the count completion value and before the count completion value, the counter completes the count completion. The timing correction value is subtracted from the value,
When the input timing of the 1PPS signal to the counter is after the count start value and before the intermediate value, the counter is caused to add a timing correction value to the count completion value. The signal processing apparatus according to claim 5.
前記タイミング補正値算出部は、
算出したタイミング補正値をn(nは2以上の整数)分割し、
前記カウンタは、
前記タイミング補正値の分割値をn回のカウント完了値に用いて前記n回のカウント完了値を変更して、前記カウント開始値のタイミングを前記1PPS信号の入力タイミングに一致させることを特徴とする請求項5又は6に記載の信号処理装置。
The timing correction value calculator is
Divide the calculated timing correction value into n (n is an integer of 2 or more),
The counter is
The division value of the timing correction value is used as the n count completion value to change the n count completion value so that the timing of the count start value coincides with the input timing of the 1PPS signal. The signal processing device according to claim 5 or 6.
JP2015507891A 2013-03-29 2013-03-29 Signal processing device Expired - Fee Related JP5972450B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/059628 WO2014155706A1 (en) 2013-03-29 2013-03-29 Signal processing device

Publications (2)

Publication Number Publication Date
JP5972450B2 true JP5972450B2 (en) 2016-08-17
JPWO2014155706A1 JPWO2014155706A1 (en) 2017-02-16

Family

ID=51622754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015507891A Expired - Fee Related JP5972450B2 (en) 2013-03-29 2013-03-29 Signal processing device

Country Status (6)

Country Link
JP (1) JP5972450B2 (en)
KR (1) KR101795199B1 (en)
CN (1) CN105102991B (en)
GB (1) GB2527007B (en)
HK (1) HK1212777A1 (en)
WO (1) WO2014155706A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107615205B (en) * 2015-05-27 2020-03-13 三菱电机株式会社 Clock diagnosis device and clock diagnosis method
KR101694256B1 (en) 2015-11-24 2017-01-23 한국화학연구원 Continuous method of metal fluoride-based phosphors
JP6396349B2 (en) * 2016-02-24 2018-09-26 ファナック株式会社 Signal inspection apparatus, signal inspection system, signal inspection method, and signal inspection program
CN110061827B (en) * 2018-01-19 2023-07-18 中电普瑞电力工程有限公司 Equidistant data acquisition method and device based on synchronous clock
CN108414841B (en) * 2018-03-09 2023-07-28 黄建钟 Pulse per second stability measuring device
JP7328064B2 (en) * 2019-08-07 2023-08-16 ファナック株式会社 Synchronization method and control device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113654A (en) * 1995-10-16 1997-05-02 Nec Ic Microcomput Syst Ltd Intermittent receiver controller
JP2001052280A (en) * 1999-05-28 2001-02-23 Fuji Electric Co Ltd Synchronizing device for decentralized system equipment, and decentralization control system
JP2003232876A (en) * 2002-02-07 2003-08-22 Fujitsu Ten Ltd Time correction device
JP2013153241A (en) * 2012-01-24 2013-08-08 Kyocera Corp Base station
JP2014195210A (en) * 2013-03-29 2014-10-09 Jvc Kenwood Corp Broadcast unit, transmission method and broadcast system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1020052A (en) * 1996-07-01 1998-01-23 Yazaki Corp Time correction method and device therefor
JP4316103B2 (en) * 2000-04-27 2009-08-19 株式会社東芝 Fault location system
CN1642010B (en) * 2004-01-01 2010-04-28 华为技术有限公司 Clock-locked frequency deviation detecting device
JP2006310964A (en) * 2005-04-26 2006-11-09 Canon Inc Communication terminal and control method thereof, and program
CN101051888A (en) * 2006-04-04 2007-10-10 北京信威通信技术股份有限公司 Obtaining and keeping synchronous method for base station
JP4996424B2 (en) * 2007-11-08 2012-08-08 ルネサスエレクトロニクス株式会社 Signal processing device
CN102721865B (en) * 2012-06-04 2015-06-17 惠州Tcl移动通信有限公司 Method and system for measuring accuracy of crystal oscillators
JP5936716B2 (en) * 2013-02-04 2016-06-22 三菱電機株式会社 Signal processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09113654A (en) * 1995-10-16 1997-05-02 Nec Ic Microcomput Syst Ltd Intermittent receiver controller
JP2001052280A (en) * 1999-05-28 2001-02-23 Fuji Electric Co Ltd Synchronizing device for decentralized system equipment, and decentralization control system
JP2003232876A (en) * 2002-02-07 2003-08-22 Fujitsu Ten Ltd Time correction device
JP2013153241A (en) * 2012-01-24 2013-08-08 Kyocera Corp Base station
JP2014195210A (en) * 2013-03-29 2014-10-09 Jvc Kenwood Corp Broadcast unit, transmission method and broadcast system

Also Published As

Publication number Publication date
KR101795199B1 (en) 2017-11-07
CN105102991A (en) 2015-11-25
HK1212777A1 (en) 2016-06-17
GB2527007B (en) 2018-01-10
GB2527007A (en) 2015-12-09
KR20150134405A (en) 2015-12-01
WO2014155706A1 (en) 2014-10-02
GB201517671D0 (en) 2015-11-18
CN105102991B (en) 2017-12-08
JPWO2014155706A1 (en) 2017-02-16

Similar Documents

Publication Publication Date Title
JP5972450B2 (en) Signal processing device
CN109283864B (en) Time synchronization and calibration method and system for data sampling
CN105306159A (en) Clock timestamp compensation method and clock timestamp compensation device
KR101487788B1 (en) Clock detection method and device
CN109085616B (en) Satellite time service method, device and storage medium
CN103941622B (en) Occur frequently again the method for sampling pulse based on the high accuracy pulse per second (PPS) of FPGA
CN103592843A (en) Timestamp circuit and implement method
CN109302255B (en) Time synchronization control method, device and system and computer readable storage medium
JP5936716B2 (en) Signal processing device
JP2013024853A (en) Frequency counter
JP4051840B2 (en) Synchronizer for distributed system equipment
JP2009300128A (en) Sampling synchronization device and sampling synchronization method
US8224606B2 (en) Measuring clock jitter
CN106302014A (en) The signal measurement method of wide-range high-precision
TW201303532A (en) Method and system for measuring time
CN110928177B (en) Clock synchronization system and method
CN103618501A (en) Alternating current sampling synchronous frequency multiplier based on FPGA
JP4535288B2 (en) Distributed control system
JP2012195840A (en) Communication apparatus and communication control method
CN110098885B (en) Clock synchronization circuit, device and method
JP2013024854A (en) Distance measuring method and system therefor
JP5035383B2 (en) Distributed control system
CN114070762B (en) Network monitoring probe assembly, synchronization method and data acquisition and analysis device
RU2236753C2 (en) Receiver-comparator of satellite radio navigation system signals
RU30048U1 (en) Receiver-comparator of signals of satellite radio navigation systems

Legal Events

Date Code Title Description
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: 20160614

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160712

R150 Certificate of patent or registration of utility model

Ref document number: 5972450

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees