JPH09326690A - Digital pll circuit - Google Patents

Digital pll circuit

Info

Publication number
JPH09326690A
JPH09326690A JP8141983A JP14198396A JPH09326690A JP H09326690 A JPH09326690 A JP H09326690A JP 8141983 A JP8141983 A JP 8141983A JP 14198396 A JP14198396 A JP 14198396A JP H09326690 A JPH09326690 A JP H09326690A
Authority
JP
Japan
Prior art keywords
output
signal
phase
outputs
loop filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8141983A
Other languages
Japanese (ja)
Inventor
Tomoyoshi Ashikaga
朋義 足利
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
Priority to JP8141983A priority Critical patent/JPH09326690A/en
Publication of JPH09326690A publication Critical patent/JPH09326690A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Phase Differences (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a digital PLL circuit of constitution capable of obtaining phase signal output equivalent to analog phase signal output from the digital PLL circuit of H/W constitution and not damaging the synchronous sampling function of a conventional digital PLL circuit. SOLUTION: The output of a low-pass filter 4 for extracting fundamental wave component signals from AC input signals 2 is continuously A/D converted based on synchronous pulses, phase comparison is performed in a phase comparison operation part 22 by using obtained digital signal data and synchronous phase signals, an obtained phase deviation is integrated in a loop filter operation part 30 and a phase change portion is outputted. An H/W counter 10 for counting a pulse number corresponding to the phase change portion and outputting the phase signal output equivalent to analog output, the synchronous pulses and synchronous phase signals is provided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、電力用制御保護
装置、系統観測装置などにおける系統電圧、系統電流の
サンプリング及び位相検出に係るディジタルPLL回路
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital PLL circuit for sampling and phase detection of a system voltage and a system current in a power control protection device, a system observation device and the like.

【0002】[0002]

【従来の技術】図10は例えば特開平2−212775
号公報に示された従来のディジタルPLL回路を示す図
である。図において、2は交流入力信号、4はローパス
フィルタ、6はサンプルタイマ116からの同期パルス
に基づいてサンプリングを行うA/D変換部、118は
サンプルタイマ116からの同期パルスを計数して同期
位相信号を出力するサンプルカウンタ、22はサンプル
カウンタ118からの同期位相信号とA/D変換部6か
らの瞬時値ディジタル信号を入力して位相偏差を出力す
る位相比較演算部である。
2. Description of the Related Art FIG. 10 shows, for example, JP-A-2-212775.
It is a figure which shows the conventional digital PLL circuit shown by the publication. In the figure, 2 is an AC input signal, 4 is a low-pass filter, 6 is an A / D converter that performs sampling based on the synchronization pulse from the sample timer 116, and 118 is a synchronization phase that counts the synchronization pulses from the sample timer 116. A sample counter 22 that outputs a signal is a phase comparison calculation unit that inputs the synchronous phase signal from the sample counter 118 and the instantaneous value digital signal from the A / D conversion unit 6 and outputs a phase deviation.

【0003】30は位相比較演算部22からの位相偏差
を入力し位相変化分を出力するループフィルタ演算部、
130はループフィルタ演算部30からの位相変化分を
もとに修正サンプリング周期を算出し、上記サンプルタ
イマ116に出力するサンプル周期演算部である。
Reference numeral 30 denotes a loop filter calculation unit which receives the phase deviation from the phase comparison calculation unit 22 and outputs the phase change amount,
Reference numeral 130 denotes a sample period calculation unit that calculates a modified sampling period based on the phase change amount from the loop filter calculation unit 30 and outputs it to the sample timer 116.

【0004】なお、位相比較演算部22、ループフィル
タ演算部30、サンプル周期演算部130はCPU20
を構成している。
The phase comparison calculation unit 22, the loop filter calculation unit 30, and the sample period calculation unit 130 are the CPU 20.
Is composed.

【0005】次に動作について説明する。交流入力信号
2は、ローパスフィルタ4により高調波成分が除去され
て、A/D変換部6に入力される。A/D変換部6は、
サンプルタイマ116からの同期パルスに基づいて交流
入力信号2の波形に同期したサンプリングを行う。一
方、サンプルカウンタ118は、サンプルタイマ116
からの同期パルスを計数して、同期位相信号を出力す
る。位相比較演算部22は、A/D変換後の瞬時値ディ
ジタル信号と同期位相信号から位相偏差を求める。
Next, the operation will be described. The AC input signal 2 has its harmonic components removed by the low-pass filter 4, and is input to the A / D conversion unit 6. The A / D conversion unit 6
Sampling is performed in synchronization with the waveform of the AC input signal 2 based on the synchronization pulse from the sample timer 116. On the other hand, the sample counter 118 has the sample timer 116.
The sync pulse from is counted and a sync phase signal is output. The phase comparison calculation unit 22 obtains a phase deviation from the A / D converted instantaneous value digital signal and the synchronization phase signal.

【0006】ループフィルタ演算部30は、この位相偏
差から位相変化分を出力する。サンプル周期演算部13
0は、この位相変化分をもとに修正サンプリング周期を
算出し、サンプルタイマ116に毎回セットする。これ
によって、サンプルタイマ116から出力される同期パ
ルスは交流入力信号2の波形に同期したサンプリングを
行う。
The loop filter calculation unit 30 outputs a phase change amount from this phase deviation. Sample period calculation unit 13
For 0, the modified sampling period is calculated based on this phase change amount and is set in the sample timer 116 every time. As a result, the synchronization pulse output from the sample timer 116 performs sampling in synchronization with the waveform of the AC input signal 2.

【0007】[0007]

【発明が解決しようとする課題】従来のディジタルPL
L回路は以上のように構成されているので、ディジタル
PLL回路出力の位相信号を用いる場合、交流入力信号
をサンプリングするサンプル周期の同期位相信号しか得
られない。例えばアナログ位相信号を必要とするシステ
ムを同一システム内に併用した場合、アナログ位相信号
を出力できるH/W構成のディジタルPLL回路を別に
設けなければならないといった課題があった。
DISCLOSURE OF THE INVENTION Conventional digital PL
Since the L circuit is configured as described above, when using the phase signal of the digital PLL circuit output, only the synchronous phase signal of the sampling period for sampling the AC input signal can be obtained. For example, when a system that requires an analog phase signal is used together in the same system, there is a problem that a separate digital PLL circuit having an H / W structure that can output the analog phase signal must be provided.

【0008】この発明は上記のような課題を解決するた
めになされたものであり、H/W構成のディジタルPL
L回路からのアナログ位相信号出力と同等な位相信号出
力を得ることができ、且つ、従来のディジタルPLL回
路の同期サンプリング機能を損なわない構成のディジタ
ルPLL回路を得ることを目的とする。
The present invention has been made in order to solve the above problems, and has a digital PL having an H / W structure.
An object of the present invention is to obtain a digital PLL circuit which can obtain a phase signal output equivalent to the analog phase signal output from the L circuit and which does not impair the synchronous sampling function of the conventional digital PLL circuit.

【0009】[0009]

【課題を解決するための手段】請求項1記載の発明に係
るディジタルPLL回路は、ループフィルタ演算部が出
力する位相変化分をもとに、系統周波数に追従した高周
波パルス信号を出力するパルス発振演算部と、前記高周
波パルス信号から同期パルス、同期位相信号、及びアナ
ログ位相信号出力と同等な位相信号を出力するH/Wカ
ウンタ部とを備えたものである。
According to a first aspect of the present invention, there is provided a digital PLL circuit which outputs a high-frequency pulse signal that follows a system frequency based on a phase change output from a loop filter operation section. An arithmetic unit and an H / W counter unit for outputting a synchronous pulse, a synchronous phase signal, and a phase signal equivalent to the analog phase signal output from the high-frequency pulse signal are provided.

【0010】請求項2記載の発明に係るディジタルPL
L回路は、交流電圧が大きく低下したことを検出して信
号を出力する交流電圧低下検出器と、この交流電圧低下
検出器の出力によりループフィルタ演算部の入力を0に
切り替えるスイッチとを備えたものである。
A digital PL according to a second aspect of the invention.
The L circuit includes an AC voltage drop detector that detects that the AC voltage has dropped significantly and outputs a signal, and a switch that switches the input of the loop filter calculation unit to 0 by the output of this AC voltage drop detector. It is a thing.

【0011】請求項3記載の発明に係るディジタルPL
L回路は、H/Wカウンタ部からの位相信号出力を入力
して周波数を監視し、周波数が設定許容周波数を超えた
場合に信号を出力する周波数上昇低下検出器と、この周
波数上昇低下検出器と交流電圧低下検出器のAND条件
によりループフィルタ演算部の入力を0に切り替えるス
イッチとを備えたものである。
A digital PL according to a third aspect of the invention.
The L circuit inputs the phase signal output from the H / W counter section, monitors the frequency, and outputs a signal when the frequency exceeds a set allowable frequency, and a frequency rise decrease detector. And a switch for switching the input of the loop filter calculation unit to 0 according to the AND condition of the AC voltage drop detector.

【0012】請求項4記載の発明に係るディジタルPL
L回路は、交流電圧が大きく低下したことを検出して信
号を出力する交流電圧低下検出器と、互いに時定数の異
なる2つのループフィルタ演算部と、この2つあるルー
プフィルタ演算部の出力を前記交流電圧低下検出器の出
力により、速い時定数を持つループフィルタ演算部に切
り替えるスイッチとを備えたものである。
A digital PL according to a fourth aspect of the invention.
The L circuit detects an AC voltage greatly decreased and outputs an AC voltage drop detector, two loop filter arithmetic units having different time constants, and outputs of the two loop filter arithmetic units. A switch for switching to a loop filter arithmetic unit having a fast time constant according to the output of the AC voltage drop detector is provided.

【0013】請求項5記載の発明に係るディジタルPL
L回路は、交流電圧が大きく低下したことを検出して信
号を出力する交流電圧低下検出器と、互いに時定数の異
なる2つのループフィルタ演算部と、この各ループフィ
ルタ演算部の出力を前記交流電圧低下検出器の出力によ
り制限するリミッタと、この各リミッタの出力を加算す
る加算器とを備えたものである。
A digital PL according to a fifth aspect of the invention.
The L circuit detects an AC voltage greatly decreased and outputs a signal, an AC voltage drop detector, two loop filter arithmetic units having different time constants, and outputs of the respective loop filter arithmetic units to the AC voltage. A limiter for limiting the output of the voltage drop detector and an adder for adding the outputs of the limiters are provided.

【0014】請求項6記載の発明に係るディジタルPL
L回路は、時定数の異なる2つのループフィルタ演算部
と、このループフィルタ演算部の出力を交流電圧低下検
出器の出力により切り替えるスイッチと、周波数上昇低
下検出器と交流電圧低下検出器のAND条件によりルー
プフィルタ演算部の入力を0とするスイッチとを備えた
ものである。
A digital PL according to the invention of claim 6
The L circuit includes two loop filter arithmetic units having different time constants, a switch for switching the output of the loop filter arithmetic unit according to the output of the AC voltage drop detector, an AND condition of the frequency rise decrease detector and the AC voltage drop detector. , And a switch for setting the input of the loop filter calculation unit to 0.

【0015】請求項7記載の発明に係るディジタルPL
L回路は、交流電圧低下検出器の出力によりループフィ
ルタ演算部の入力を0に切り替えるスイッチと、交流電
圧低下検出器が交流電圧の低下を検出した場合、一定の
ヒステリシス幅を出力するヒステリシス幅設定器と、こ
のヒステリシス幅設定器の出力を交流電圧低下検出器の
入力に加算する加算器とを備えたものである。
The digital PL according to the invention of claim 7
The L circuit is a switch that switches the input of the loop filter calculation unit to 0 by the output of the AC voltage drop detector, and a hysteresis width setting that outputs a constant hysteresis width when the AC voltage drop detector detects a drop in the AC voltage. And an adder for adding the output of the hysteresis width setting device to the input of the AC voltage drop detector.

【0016】請求項8記載の発明に係るディジタルPL
L回路は、交流電圧低下検出器の出力によりループフィ
ルタ演算部内のPI制御演算部からの出力を断つスイッ
チを備えたものである。
A digital PL according to the invention of claim 8
The L circuit includes a switch that cuts off the output from the PI control calculation unit in the loop filter calculation unit by the output of the AC voltage drop detector.

【0017】請求項9記載の発明に係るディジタルPL
L回路は、パルス発振演算部からのパルス数をカウント
してアナログ出力と同等な位相信号を出力するカウンタ
と、前記パルス発振演算部からのパルス数をカウントし
て同期パルスを出力するサンプル周期カウンタと、この
同期パルスをカウントして前記同期位相信号を出力する
カウンタとからなるH/Wカウンタ部を備えたものであ
る。
The digital PL according to the invention of claim 9
The L circuit is a counter that counts the number of pulses from the pulse oscillation calculation unit and outputs a phase signal equivalent to an analog output, and a sample period counter that counts the number of pulses from the pulse oscillation calculation unit and outputs a synchronization pulse. And a counter that counts the sync pulse and outputs the sync phase signal.

【0018】[0018]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1によるデ
ィジタルPLL回路を示す接続図であり、図において、
2は交流入力信号、4はローパスフィルタ、6はH/W
カウンタ部10からの同期パルスに基づいてサンプリン
グを行うA/D変換部、12は同期パルスを出力するサ
ンプル周期カウンタ、14はサンプル周期カウンタ12
からの同期パルスを計数して同期位相信号を出力するカ
ウンタである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1. 1 is a connection diagram showing a digital PLL circuit according to Embodiment 1 of the present invention.
2 is an AC input signal, 4 is a low-pass filter, 6 is H / W
An A / D conversion unit that performs sampling based on the synchronization pulse from the counter unit 10, a sample period counter 12 that outputs a synchronization pulse, and a sample period counter 12
It is a counter that counts the sync pulses from and outputs a sync phase signal.

【0019】22はカウンタ14からの同期位相信号と
A/D変換部6からの瞬時値ディジタル信号を入力して
位相偏差を出力する位相比較演算部、32は位相比較演
算部22からの位相偏差を入力し位相偏差積分値を出力
するPI制御演算部、34は設定された基準周波数位相
分を出力する基準周波数部、36はPI制御演算部32
からの位相偏差積分値と基準周波数部34からの基準周
波数位相分を加算し、位相変化分を出力する加算演算
部、38は入力信号に含まれる高調波ノイズを除去する
ための1次遅れ演算部である。
Reference numeral 22 is a phase comparison operation unit for inputting the synchronous phase signal from the counter 14 and the instantaneous value digital signal from the A / D conversion unit 6 and outputting a phase deviation. Reference numeral 32 is a phase deviation operation from the phase comparison operation unit 22. Is input to output a phase deviation integral value, 34 is a reference frequency unit that outputs a set reference frequency phase component, and 36 is a PI control calculation unit 32.
Is added and the reference frequency phase component from the reference frequency unit 34 is added, and an addition operation unit that outputs the phase change amount is denoted by 38. First-order delay operation 38 is performed to remove harmonic noise included in the input signal. It is a department.

【0020】40はループフィルタ演算部30からの位
相変化分に基づいて系統周波数に追従した高周波パルス
信号を出力するパルス発振演算部であり、高周波パルス
信号をサンプル周期カウンタ12に入力する。サンプル
周期カウンタは入力された高周波パルス信号に基づいて
修正サンプリング周期を演算し、同期パルスを出力す
る。
A pulse oscillation calculation unit 40 outputs a high frequency pulse signal that follows the system frequency based on the phase change from the loop filter calculation unit 30, and inputs the high frequency pulse signal to the sample period counter 12. The sample period counter calculates a modified sampling period based on the input high frequency pulse signal and outputs a synchronization pulse.

【0021】16はパルス発振演算部40からの高周波
パルス信号を入力するカウンタであり、H/Wで構成す
るディジタルPLL回路が出力するアナログ位相出力と
同等な位相信号を出力するカウンタで構成されている。
Reference numeral 16 is a counter for inputting a high frequency pulse signal from the pulse oscillation calculation section 40, and is constituted by a counter for outputting a phase signal equivalent to an analog phase output output by a digital PLL circuit constituted by H / W. There is.

【0022】なお、上記サンプル周期カウンタ12、カ
ウンタ14、16はH/Wカウンタ部10を構成し、P
I制御演算部32、基準周波数部34、加算演算部3
6、1次遅れ演算部38はループフィルタ演算部30を
構成している。そして、このループフィルタ演算部3
0、位相比較演算部22、パルス発振演算部40はCP
U20に設けられている。
The sample period counter 12, counters 14 and 16 constitute the H / W counter section 10, and P
I control calculation unit 32, reference frequency unit 34, addition calculation unit 3
The 6th and 1st-order delay calculation units 38 form a loop filter calculation unit 30. Then, this loop filter calculation unit 3
0, the phase comparison calculation unit 22, and the pulse oscillation calculation unit 40 are CP
It is provided in U20.

【0023】次に動作について説明する。上記のように
構成されたディジタルPLL回路においては、交流入力
信号2は、ローパスフィルタ4により高調波が除去され
て、A/D変換部6に入力される。A/D変換部6は、
サンプル周期カウンタ12からの図2(b)に示す同期
パルスに基づいて、図2(a)に示す交流入力信号2の
波形に同期したサンプリングを行う。
Next, the operation will be described. In the digital PLL circuit configured as described above, the AC input signal 2 is input to the A / D conversion unit 6 after the harmonics are removed by the low pass filter 4. The A / D conversion unit 6
Based on the synchronization pulse shown in FIG. 2B from the sample period counter 12, sampling is performed in synchronization with the waveform of the AC input signal 2 shown in FIG.

【0024】一方、カウンタ14は、サンプル周期カウ
ンタ12からの同期パルスを計数して、図2(c)に示
すような同期位相信号を出力する。位相比較演算部22
は、A/D変換後の瞬時値ディジタル信号と同期位相信
号から位相偏差を求める。PI制御演算部32は、この
位相偏差から位相偏差積分値を出力する。加算演算部3
6は、基準周波数部34から出力される基準周波数位相
分とPI制御演算部32から出力される位相偏差積分値
を加算し、位相変化分を出力する。1次遅れ演算部38
は、位相変化分に含まれる高調波分を除去する。
On the other hand, the counter 14 counts the sync pulse from the sample period counter 12 and outputs a sync phase signal as shown in FIG. 2 (c). Phase comparison calculation unit 22
Calculates the phase deviation from the A / D converted instantaneous value digital signal and the synchronous phase signal. The PI control calculator 32 outputs a phase deviation integrated value from this phase deviation. Addition calculation unit 3
Reference numeral 6 adds the reference frequency phase component output from the reference frequency unit 34 and the phase deviation integral value output from the PI control calculation unit 32, and outputs the phase change component. First-order delay calculation unit 38
Removes the harmonic component contained in the phase change component.

【0025】パルス発振演算部40は、1次遅れ演算部
38からの位相変化分に基づいて系統周波数に追従した
高周波パルス信号を出力する。サンプル周期カウンタ1
2は、パルス発振演算部40から出力される高周波パル
スに基づいて、サンプリング周期を修正し、同期パルス
を発生させる。これにより、図2(a)および図2
(b)に示すような交流入力信号2に同期したサンプリ
ングを行うことができる。
The pulse oscillation calculation unit 40 outputs a high frequency pulse signal that follows the system frequency based on the phase change amount from the first-order delay calculation unit 38. Sample period counter 1
Reference numeral 2 corrects the sampling period based on the high frequency pulse output from the pulse oscillation calculation unit 40 to generate a synchronization pulse. As a result, FIG. 2 (a) and FIG.
Sampling can be performed in synchronization with the AC input signal 2 as shown in (b).

【0026】また、カウンタ16は、パルス発振演算部
40からの高周波パルスを計数し、位相信号を出力す
る。この結果、図2(d)に示すようなH/Wで構成し
たディジタルPLL回路が出力するアナログ位相信号と
同等な位相信号を得ることができる。
The counter 16 also counts the high frequency pulses from the pulse oscillation calculator 40 and outputs a phase signal. As a result, a phase signal equivalent to the analog phase signal output by the digital PLL circuit configured by H / W as shown in FIG. 2D can be obtained.

【0027】実施の形態2.図3は、この発明の実施の
形態2によるディジタルPLL回路を示す接続図であ
り、前記図1に示した実施の形態に、交流電圧が低下し
たことを検出して信号を出力する交流電圧低下検出器6
0と、この交流電圧低下検出器60の出力を受けてルー
プフィルタ演算部30の入力を0とするスイッチ62を
追加したものである。
Embodiment 2. FIG. 3 is a connection diagram showing a digital PLL circuit according to a second embodiment of the present invention. In the embodiment shown in FIG. 1, an AC voltage drop for detecting a decrease in AC voltage and outputting a signal is output. Detector 6
0 and a switch 62 for receiving the output of the AC voltage drop detector 60 and setting the input of the loop filter calculation unit 30 to 0 are added.

【0028】次に動作について説明する。交流電圧低下
検出器60が交流入力信号2を監視し、交流電圧が低下
したことを検出して信号を出力する。スイッチ62は、
交流電圧低下検出器60からの信号を受けると、ループ
フィルタ演算部30の入力を位相比較演算部22の出力
側から0側へ切り替える。この結果、交流電圧が大きく
低下する事故期間中は、交流入力電圧信号の位相変動に
より、ディジタルPLL回路が大きな検出誤差を持つこ
とを防ぐことができる。
Next, the operation will be described. The AC voltage drop detector 60 monitors the AC input signal 2, detects that the AC voltage has dropped, and outputs a signal. The switch 62 is
When receiving the signal from the AC voltage drop detector 60, the input of the loop filter calculation unit 30 is switched from the output side of the phase comparison calculation unit 22 to the 0 side. As a result, it is possible to prevent the digital PLL circuit from having a large detection error due to the phase fluctuation of the AC input voltage signal during the accident period when the AC voltage greatly decreases.

【0029】実施の形態3.図4は、この発明の実施の
形態3によるディジタルPLL回路を示す接続図であ
り、前記図3に示した実施の形態に、H/Wカウンタ部
10からの位相信号出力50を入力して周波数を監視
し、この周波数が設定許容周波数を越えた場合に信号を
出力する周波数上昇低下検出器64と、この周波数上昇
低下検出器64の出力と交流電圧低下検出器60の出力
とのAND条件により、スイッチ62を位相比較演算部
22の出力側から0側へ切り替えるAND回路66を追
加したものである。
Embodiment 3 FIG. 4 is a connection diagram showing a digital PLL circuit according to a third embodiment of the present invention. The phase signal output 50 from the H / W counter section 10 is input to the embodiment shown in FIG. Of the frequency rise drop detector 64 that outputs a signal when this frequency exceeds the set allowable frequency, and the AND condition of the output of this frequency rise drop detector 64 and the output of the AC voltage drop detector 60 An AND circuit 66 for switching the switch 62 from the output side of the phase comparison calculation unit 22 to the 0 side is added.

【0030】次に動作について説明する。周波数上昇低
下検出器64は位相信号出力50を監視し、検出周波数
が許容周波数を超えると信号を出力する。AND回路6
6は、交流電圧低下検出器60と周波数上昇低下検出器
64の信号のAND条件により信号を出力する。スイッ
チ62は、AND回路66からの信号を受けると、ルー
プフィルタ演算部30の入力を位相比較演算部22の出
力側から0側へ切り替える。
Next, the operation will be described. The frequency rise decrease detector 64 monitors the phase signal output 50 and outputs a signal when the detected frequency exceeds the allowable frequency. AND circuit 6
6 outputs a signal according to the AND condition of the signals of the AC voltage drop detector 60 and the frequency rise drop detector 64. Upon receiving the signal from the AND circuit 66, the switch 62 switches the input of the loop filter calculation unit 30 from the output side of the phase comparison calculation unit 22 to the 0 side.

【0031】この結果、事故期間中、交流入力電圧信号
の位相変動によりディジタルPLL回路が大きな検出誤
差を生じた場合は、設定した最大周波数値または最小周
波数値にホールドされるので、ディジタルPLL回路が
大きな検出誤差を持ったまま周波数ホールドされるのを
防ぐことができる。
As a result, during the accident period, if a large detection error occurs in the digital PLL circuit due to the phase fluctuation of the AC input voltage signal, the digital PLL circuit is held at the set maximum frequency value or minimum frequency value. It is possible to prevent the frequency from being held with a large detection error.

【0032】実施の形態4.図5は、この発明の実施の
形態4によるディジタルPLL回路を示す接続図であ
り、前記図1に示した実施の形態に、交流電圧が低下し
たことを検出して信号を出力する交流電圧低下検出器6
0と、ループフィルタ演算部30Aとは別のループフィ
ルタ演算部30Bと、交流電圧低下検出器60の出力を
受けて2つあるループフィルタ演算部30A,30Bの
出力を切り替えるスイッチ76を追加したものである。
Embodiment 4 FIG. FIG. 5 is a connection diagram showing a digital PLL circuit according to a fourth embodiment of the present invention. In the embodiment shown in FIG. 1, an AC voltage drop detecting a decrease in AC voltage and outputting a signal is performed. Detector 6
0, a loop filter calculation unit 30B other than the loop filter calculation unit 30A, and a switch 76 that receives the output of the AC voltage drop detector 60 and switches the output of the two loop filter calculation units 30A and 30B. Is.

【0033】上記ループフィルタ演算部30Aは、位相
比較演算部22からの位相偏差を入力し位相偏差積分値
を出力するPI制御演算部32と、PI制御演算部32
からの位相偏差積分値と基準周波数部34からの基準周
波数位相分を加算し、位相変化分を出力する加算演算部
36と、加算演算部36の出力信号に含まれる高調波ノ
イズを除去するための1次遅れ演算部38とで構成され
ている。
The loop filter arithmetic unit 30A receives the phase deviation from the phase comparison arithmetic unit 22 and outputs the phase deviation integral value, and the PI control arithmetic unit 32.
In order to remove the harmonic noise included in the output signal of the addition calculation unit 36 and the addition calculation unit 36 that adds the phase deviation integral value from the reference frequency phase from the reference frequency unit 34 and outputs the phase change amount. And the first-order delay calculation unit 38.

【0034】またループフィルタ演算部30Bは、位相
比較演算部22からの位相偏差を入力し位相偏差積分値
を出力するPI制御演算部70と、PI制御演算部70
からの位相偏差積分値と基準周波数部34からの基準周
波数位相分を加算し、位相変化分を出力する加算演算部
72と、加算演算部72の出力信号に含まれる高調波ノ
イズを除去するための1次遅れ演算部74とで構成さ
れ、このループフィルタ演算部30Bの出力の時定数
は、ループフィルタ演算部30Aの出力の時定数より速
く設定されている。
The loop filter arithmetic unit 30B receives the phase deviation from the phase comparison arithmetic unit 22 and outputs the phase deviation integrated value, and the PI control arithmetic unit 70.
In order to remove the harmonic noise included in the output signal of the addition calculation unit 72 and the addition calculation unit 72 that adds the phase deviation integrated value from the reference frequency phase from the reference frequency unit 34 and outputs the phase change amount. And the time constant of the output of the loop filter calculation unit 30B is set faster than the time constant of the output of the loop filter calculation unit 30A.

【0035】次に動作について説明する。交流電圧低下
検出器60は交流入力信号2を監視し、交流電圧が低下
したことを検出して信号を出力する。スイッチ76は、
交流電圧低下検出器60からの信号を受けると、ループ
フィルタ演算部30A,30Bの出力を速い時定数の側
へ切り替える。この結果、交流電圧が大きく低下する事
故期間中は、交流入力電圧信号の位相変動に追従し、デ
ィジタルPLL回路の検出誤差を小さくすることができ
る。
Next, the operation will be described. The AC voltage drop detector 60 monitors the AC input signal 2, detects that the AC voltage has dropped, and outputs a signal. Switch 76
When receiving the signal from the AC voltage drop detector 60, the outputs of the loop filter calculation units 30A and 30B are switched to the side of the faster time constant. As a result, during an accident period in which the AC voltage drops significantly, it is possible to follow the phase fluctuation of the AC input voltage signal and reduce the detection error of the digital PLL circuit.

【0036】実施の形態5.図6は、この発明の実施の
形態5によるディジタルPLL回路を示す接続図であ
り、前記図1に示した実施の形態に、交流電圧が低下し
たことを検出して信号を出力する交流電圧低下検出器6
0と、ループフィルタ演算部30Aとは別のループフィ
ルタ演算部30Bと、交流電圧低下検出器60の出力に
よりループフィルタ演算部30Aの出力を制限するリミ
ッタ80およびループフィルタ演算部30Bの出力を制
限するリミッタ82と、このリミッタ80,82の出力
を加算する加算演算部84を追加したものである。な
お、リミッタ80,82の動作は、交流電圧低下検出器
60の出力を受けた場合、 リミッタ80のリミッタ値を開→閉 リミッタ82のリミッタ値を閉→開 となる。また、このリミッタ値の開閉動作は、例えば1
次遅れで行うもので、これは、速い時定数のループフィ
ルタ演算部30Bへスイッチにて切り替える場合と比べ
て、生じるオーバーシュート量を少なくできるようにし
たものである。
Embodiment 5 6 is a connection diagram showing a digital PLL circuit according to a fifth embodiment of the present invention. In the embodiment shown in FIG. 1, an AC voltage drop detecting a decrease in AC voltage and outputting a signal is performed. Detector 6
0, a loop filter calculation unit 30B other than the loop filter calculation unit 30A, a limiter 80 that limits the output of the loop filter calculation unit 30A by the output of the AC voltage drop detector 60, and the output of the loop filter calculation unit 30B. The limiter 82 and the addition operation unit 84 for adding the outputs of the limiters 80 and 82 are added. The operations of the limiters 80 and 82 are such that when the output of the AC voltage drop detector 60 is received, the limiter value of the limiter 80 is opened → closed, and the limiter value of the limiter 82 is closed → opened. Further, the opening / closing operation of the limiter value is, for example, 1
This is performed with the next delay. This is to reduce the amount of overshoot that occurs, as compared with the case of switching to the loop filter calculation unit 30B having a fast time constant.

【0037】上記ループフィルタ演算部30Aは、位相
比較演算部22からの位相偏差を入力し位相偏差積分値
を出力するPI制御演算部32と、PI制御演算部32
からの位相偏差積分値と基準周波数部34からの基準周
波数位相分を加算し、位相変化分を出力する加算演算部
36と、加算演算部36の出力信号に含まれる高調波ノ
イズを除去するための1次遅れ演算部38とで構成され
ている。
The loop filter arithmetic unit 30A receives the phase deviation from the phase comparison arithmetic unit 22 and outputs the phase deviation integrated value, and the PI control arithmetic unit 32.
In order to remove the harmonic noise included in the output signal of the addition calculation unit 36 and the addition calculation unit 36 that adds the phase deviation integral value from the reference frequency phase from the reference frequency unit 34 and outputs the phase change amount. And the first-order delay calculation unit 38.

【0038】またループフィルタ演算部30Bは、位相
比較演算部22からの位相偏差を入力し位相偏差積分値
を出力するPI制御演算部70と、PI制御演算部70
からの位相偏差積分値と基準周波数部34からの基準周
波数位相分を加算し、位相変化分を出力する加算演算部
72と、加算演算部72の出力信号に含まれる高調波ノ
イズを除去するための1次遅れ演算部74とで構成さ
れ、このループフィルタ演算部30Bの出力の時定数
は、ループフィルタ演算部30Aの出力の時定数より速
く設定されている。
The loop filter arithmetic unit 30B receives the phase deviation from the phase comparison arithmetic unit 22 and outputs the phase deviation integral value, and the PI control arithmetic unit 70.
In order to remove the harmonic noise included in the output signal of the addition calculation unit 72 and the addition calculation unit 72 that adds the phase deviation integrated value from the reference frequency phase from the reference frequency unit 34 and outputs the phase change amount. And the time constant of the output of the loop filter calculation unit 30B is set faster than the time constant of the output of the loop filter calculation unit 30A.

【0039】次に動作について説明する。交流電圧低下
検出器60は交流入力信号2を監視し、交流電圧が低下
したことを検出して信号を出力する。交流電圧低下検出
器60からの信号を受けると、リミッタ80は1次遅れ
演算部38の出力、つまりループフィルタ演算部30A
の出力を制限するように動作し、リミッタ82は1次遅
れ演算部74の出力、つまりループフィルタ演算部30
Bの出力の制限を解除するように動作する。また、交流
電圧低下検出器60からの信号が無くなった場合には、
リミッタ80とリミッタ82は上記とは逆の動作をす
る。
Next, the operation will be described. The AC voltage drop detector 60 monitors the AC input signal 2, detects that the AC voltage has dropped, and outputs a signal. Upon receiving the signal from the AC voltage drop detector 60, the limiter 80 outputs the output of the first-order delay calculation unit 38, that is, the loop filter calculation unit 30A.
Of the first-order delay calculation unit 74, that is, the loop filter calculation unit 30.
It operates so as to remove the limitation of the output of B. When the signal from the AC voltage drop detector 60 disappears,
The limiter 80 and the limiter 82 operate in reverse to the above.

【0040】この結果、交流電圧が大きく低下する事故
期間中は、交流入力電圧信号の位相変動に追従し、ディ
ジタルPLL回路の検出誤差を小さくすることができ
る。また、ループフィルタ演算部の出力の切り替えをリ
ミッタで行うことにより、選択されるループフィルタ演
算部への移行が円滑に行われるため、スイッチの場合と
比べて、切り替え時に生じるオーバーシュート量を減じ
ることができる。
As a result, during the accident period when the AC voltage drops significantly, it is possible to follow the phase fluctuation of the AC input voltage signal and reduce the detection error of the digital PLL circuit. In addition, by switching the output of the loop filter calculation unit with a limiter, the transition to the selected loop filter calculation unit is performed smoothly, so the amount of overshoot that occurs at the time of switching can be reduced compared to the case of a switch. You can

【0041】実施の形態6.図7は、この発明の実施の
形態6によるディジタルPLL回路を示す接続図であ
り、前記図1に示す実施の形態に、交流電圧が低下した
ことを検出して信号を出力する交流電圧低下検出器60
と、ループフィルタ演算部30A,30Bの入力を位相
比較演算部22の出力側と0側とに切り替えるスイッチ
62と、H/Wカウンタ部10からの位相信号出力を入
力して周波数を監視し、この周波数が設定許容周波数を
越えた場合に信号を出力する周波数上昇低下検出器64
と、この周波数上昇低下検出器64の出力と交流電圧低
下検出器60の出力とのAND条件により、上記スイッ
チ62を位相比較演算部22の出力側から0側へ切り替
えるAND回路66と、ループフィルタ演算部30Aと
は別のループフィルタ演算部30Bと、交流電圧が低下
した場合における交流電圧低下検出器60の出力を受け
て、ループフィルタ演算部30A,30Bの出力を切り
替えるスイッチ76を追加したものである。
Embodiment 6 FIG. FIG. 7 is a connection diagram showing a digital PLL circuit according to a sixth embodiment of the present invention. In the embodiment shown in FIG. 1, an AC voltage drop detection for detecting a drop in AC voltage and outputting a signal is detected. Bowl 60
And a switch 62 for switching the inputs of the loop filter calculation units 30A and 30B between the output side and the 0 side of the phase comparison calculation unit 22 and the phase signal output from the H / W counter unit 10 to monitor the frequency, Frequency rise / fall detector 64 that outputs a signal when this frequency exceeds the set allowable frequency
And an AND circuit 66 that switches the switch 62 from the output side of the phase comparison calculation unit 22 to the 0 side according to the AND condition of the output of the frequency rise drop detector 64 and the output of the AC voltage drop detector 60, and a loop filter. A loop filter computing unit 30B different from the computing unit 30A and a switch 76 for receiving the output of the AC voltage drop detector 60 when the AC voltage drops and switching the output of the loop filter computing units 30A and 30B. Is.

【0042】上記ループフィルタ演算部30Aは、位相
比較演算部22からの位相偏差を入力し位相偏差積分値
を出力するPI制御演算部32と、PI制御演算部32
からの位相偏差積分値と基準周波数部34からの基準周
波数位相分を加算し、位相変化分を出力する加算演算部
36と、加算演算部36の出力信号に含まれる高調波ノ
イズを除去するための1次遅れ演算部38とで構成され
ている。
The loop filter arithmetic unit 30A receives the phase deviation from the phase comparison arithmetic unit 22 and outputs the phase deviation integral value, and the PI control arithmetic unit 32.
In order to remove the harmonic noise included in the output signal of the addition calculation unit 36 and the addition calculation unit 36 that adds the phase deviation integral value from the reference frequency phase from the reference frequency unit 34 and outputs the phase change amount. And the first-order delay calculation unit 38.

【0043】またループフィルタ演算部30Bは、位相
比較演算部22からの位相偏差を入力し位相偏差積分値
を出力するPI制御演算部70と、PI制御演算部70
からの位相偏差積分値と基準周波数部34からの基準周
波数位相分を加算し、位相変化分を出力する加算演算部
72と、加算演算部72の出力信号に含まれる高調波ノ
イズを除去するための1次遅れ演算部74とで構成さ
れ、このループフィルタ演算部30Bの出力の時定数
は、ループフィルタ演算部30Aの出力の時定数より速
く設定されている。
The loop filter arithmetic unit 30B receives the phase deviation from the phase comparison arithmetic unit 22 and outputs the phase deviation integrated value, and the PI control arithmetic unit 70.
In order to remove the harmonic noise included in the output signal of the addition calculation unit 72 and the addition calculation unit 72 that adds the phase deviation integrated value from the reference frequency phase from the reference frequency unit 34 and outputs the phase change amount. And the time constant of the output of the loop filter calculation unit 30B is set faster than the time constant of the output of the loop filter calculation unit 30A.

【0044】次に動作について説明する。スイッチ76
は、交流電圧低下検出器60からの信号を受けると、ル
ープフィルタ演算部30Aの出力を速い時定数のループ
フィルタ演算部30Bの出力側へ切り替える。この結
果、交流電圧が大きく低下する事故期間中は、交流入力
電圧信号の位相変動に追従し、ディジタルPLL回路の
検出誤差を小さくすることができる。例えば、交流入力
電圧信号の位相変動によりディジタルPLL回路が大き
な検出誤差を生じた場合でも、設定した最大周波数値ま
たは最小周波数値にホールドされるので、ディジタルP
LL回路が大きな検出誤差を持ったまま周波数ホールド
されるのを防ぐことができる。
Next, the operation will be described. Switch 76
When receiving the signal from the AC voltage drop detector 60, switches the output of the loop filter calculation unit 30A to the output side of the loop filter calculation unit 30B having a fast time constant. As a result, during an accident period in which the AC voltage drops significantly, it is possible to follow the phase fluctuation of the AC input voltage signal and reduce the detection error of the digital PLL circuit. For example, even if the digital PLL circuit causes a large detection error due to the phase variation of the AC input voltage signal, the digital PLL circuit is held at the set maximum frequency value or minimum frequency value.
It is possible to prevent the LL circuit from being frequency-held with a large detection error.

【0045】実施の形態7.図8は、この発明の実施の
形態7によるディジタルPLL回路を示す接続図であ
り、前記図3に示す実施の形態に、交流電圧低下検出器
60が動作した場合、一定のヒステリシス幅を出力する
ヒステリシス幅設定器86と、ヒステリシス幅設定器8
6の出力を交流電圧低下検出器60の入力に加算する加
算器88を追加したものである。
Embodiment 7. 8 is a connection diagram showing a digital PLL circuit according to a seventh embodiment of the present invention. In the embodiment shown in FIG. 3, when the AC voltage drop detector 60 operates, a constant hysteresis width is output. Hysteresis width setting device 86 and hysteresis width setting device 8
An adder 88 for adding the output of 6 to the input of the AC voltage drop detector 60 is added.

【0046】次に動作について説明する。ヒステリシス
幅設定器86は、交流電圧低下検出器60からの信号を
受けると、一定のヒステリシス幅の値を出力する。加算
器88は、ヒステリシス幅設定器86からの出力と交流
入力信号2とを加算して交流電圧低下検出器60へ出力
する。この結果、交流電圧低下検出器60の動作/不動
作によるスイッチ62のチャタリング防止となる。
Next, the operation will be described. Upon receiving the signal from the AC voltage drop detector 60, the hysteresis width setting device 86 outputs a constant hysteresis width value. The adder 88 adds the output from the hysteresis width setting unit 86 and the AC input signal 2 and outputs the result to the AC voltage drop detector 60. As a result, the chattering of the switch 62 due to the operation / non-operation of the AC voltage drop detector 60 is prevented.

【0047】実施の形態8.図9は、この発明の実施の
形態8によるディジタルPLL回路を示す接続図であ
り、前記図1に示す実施の形態に、交流電圧が低下した
ことを検出して信号を出力する交流電圧低下検出器60
と、この交流電圧低下検出器60の出力を受けてループ
フィルタ演算部30内のPI制御演算部32からの出力
を断つスイッチ90を追加したものである。
Embodiment 8 FIG. FIG. 9 is a connection diagram showing a digital PLL circuit according to an eighth embodiment of the present invention. In the embodiment shown in FIG. 1, an AC voltage drop detection that detects that the AC voltage has dropped and outputs a signal is detected. Bowl 60
Then, a switch 90 for cutting off the output from the PI control calculation unit 32 in the loop filter calculation unit 30 in response to the output of the AC voltage drop detector 60 is added.

【0048】次に動作について説明する。交流電圧低下
検出器60が交流入力信号2を監視し、交流電圧が低下
したことを検出して信号を出力する。スイッチ90は、
交流電圧低下検出器60からの信号を受けると、PI制
御演算部32の出力側から0側へ切り替える。この結
果、交流電圧が大きく低下する事故期間中は、基準周波
数部34からの基準周波数位相分のみが1次遅れ演算部
38の入力となり、交流入力電圧信号の位相変動によ
り、ディジタルPLL回路が大きな検出誤差を持つこと
を防ぎ、事前に設定された基準周波数で動作することが
できる。
Next, the operation will be described. The AC voltage drop detector 60 monitors the AC input signal 2, detects that the AC voltage has dropped, and outputs a signal. The switch 90 is
When the signal from the AC voltage drop detector 60 is received, the output side of the PI control calculation unit 32 is switched to the 0 side. As a result, during the accident period when the AC voltage drops significantly, only the reference frequency phase from the reference frequency unit 34 becomes the input to the first-order delay calculation unit 38, and the digital PLL circuit becomes large due to the phase fluctuation of the AC input voltage signal. It is possible to avoid having a detection error and to operate at a preset reference frequency.

【0049】[0049]

【発明の効果】以上のように、請求項1記載の発明によ
れば、H/Wカウンタ部により発生させた同期パルスを
用いてA/D変換部にてA/D変換を行い、H/Wカウ
ンタ部からのサンプリングに同期して同期位相信号を用
いて位相比較演算を行うように構成したので、非常に正
確に交流入力信号の周波数および位相に同期した交流瞬
時値サンプリングデータが取り込める。また、パルス発
振演算部から発生する高周波のパルス信号をH/Wカウ
ンタ部で計数するように構成したので、H/Wで構成し
たディジタルPLL回路が出力するアナログ位相信号と
同等な位相信号を得ることができる効果がある。
As described above, according to the first aspect of the present invention, the A / D conversion unit performs A / D conversion using the synchronization pulse generated by the H / W counter unit, and H / W conversion is performed. Since the phase comparison calculation is performed using the synchronous phase signal in synchronization with the sampling from the W counter unit, the AC instantaneous value sampling data synchronized with the frequency and phase of the AC input signal can be taken in very accurately. Further, since the high frequency pulse signal generated from the pulse oscillation calculation unit is configured to be counted by the H / W counter unit, a phase signal equivalent to the analog phase signal output by the digital PLL circuit configured by H / W is obtained. There is an effect that can be.

【0050】請求項2記載の発明によれば、交流電圧が
低下した場合は、交流電圧低下検出器からの信号で、ス
イッチが位相比較演算部の出力側から0側へ切り替わ
り、交流電圧低下検出直前の周波数にホールドするよう
に構成したので、交流電圧が大きく低下する事故期間中
は、交流入力電圧信号の位相変動により、ディジタルP
LL回路が大きな検出誤差を持つことを防ぐことができ
る効果がある。
According to the second aspect of the present invention, when the AC voltage drops, the switch switches from the output side of the phase comparison calculation unit to the 0 side by the signal from the AC voltage drop detector, and the AC voltage drop detection. Since the frequency is held at the immediately preceding frequency, during the accident period when the AC voltage drops significantly, the digital P
This has an effect of preventing the LL circuit from having a large detection error.

【0051】請求項3記載の発明によれば、交流電圧低
下検出器の出力と周波数上昇低下検出器の出力のAND
条件により、スイッチが位相比較演算部の出力側から0
側へ切り替わるように構成したので、事故期間中、交流
入力電圧信号の位相変動によりPLL回路が大きな検出
誤差を生じた場合は、設定した最大周波数値または最小
周波数値にホールドされ、ディジタルPLL回路が大き
な検出誤差を持ったまま周波数ホールドされるのを防ぐ
ことができる効果がある。
According to the third aspect of the present invention, the output of the AC voltage drop detector and the output of the frequency rise drop detector are ANDed.
Depending on the conditions, the switch may be set to 0 from the output side of the phase comparison calculation unit.
Since it is configured to switch to the side, if a large detection error occurs in the PLL circuit due to the phase fluctuation of the AC input voltage signal during the accident period, it is held at the set maximum frequency value or minimum frequency value, and the digital PLL circuit operates. There is an effect that it is possible to prevent the frequency from being held with a large detection error.

【0052】請求項4記載の発明によれば、交流電圧低
下検出器からの信号を受けると、スイッチがループフィ
ルタ演算部の出力を速い時定数のループフィルタ演算部
の出力側へ切り替えるように構成したので、交流電圧が
大きく低下する事故期間中は、交流入力電圧信号の位相
変動に追従し、ディジタルPLL回路の検出誤差を小さ
くすることができる効果がある。
According to the fourth aspect of the invention, when the signal from the AC voltage drop detector is received, the switch switches the output of the loop filter arithmetic unit to the output side of the loop filter arithmetic unit having a fast time constant. Therefore, during the accident period in which the AC voltage greatly drops, there is an effect that the phase fluctuation of the AC input voltage signal is followed and the detection error of the digital PLL circuit can be reduced.

【0053】請求項5記載の発明によれば、交流電圧低
下検出器からの信号を受けると、リミッタの動作がルー
プフィルタ演算部の出力を速い時定数のループフィルタ
演算部の出力側へ切り替えるように構成したので、選択
されるループフィルタ演算部への移行が円滑に行われ、
スイッチによる切り替えの場合に比べて、切り替え時に
生じるオーバーシュート量を減じることができる効果が
ある。
According to the fifth aspect of the present invention, when the signal from the AC voltage drop detector is received, the operation of the limiter switches the output of the loop filter arithmetic unit to the output side of the loop filter arithmetic unit having a fast time constant. Since it is configured, the transition to the selected loop filter arithmetic unit is performed smoothly,
As compared with the case of switching by the switch, there is an effect that the amount of overshoot generated at the time of switching can be reduced.

【0054】請求項6記載の発明によれば、交流電圧が
大きく低下する事故期間中は、ループフィルタ演算部の
速い時定数にて動作するように構成したので、交流入力
電圧信号の位相変動に追従し、ディジタルPLL回路の
検出誤差を小さくすることができる。また、交流入力電
圧信号の位相変動により、ディジタルPLL回路が大き
な検出誤差を生じた場合でも、設定した最大周波数値ま
たは最小周波数値にホールドされるので、ディジタルP
LL回路が大きな検出誤差を持ったまま周波数ホールド
されるのを防ぐことができる効果がある。
According to the sixth aspect of the present invention, during the accident period when the AC voltage greatly decreases, the loop filter operation unit is configured to operate with a fast time constant, so that the phase fluctuation of the AC input voltage signal is prevented. This can be followed, and the detection error of the digital PLL circuit can be reduced. Further, even if a large detection error occurs in the digital PLL circuit due to the phase fluctuation of the AC input voltage signal, it is held at the set maximum frequency value or minimum frequency value.
There is an effect that it is possible to prevent the LL circuit from being frequency-held with a large detection error.

【0055】請求項7記載の発明によれば、ヒステリシ
ス幅設定器は、交流電圧低下検出器からの信号を受ける
と、一定のヒステリシス幅の値を出力し、この出力と交
流入力信号との加算値を交流電圧低下検出器へ出力する
ように構成したので、交流電圧低下検出器の動作/不動
作によるスイッチのチャタリングを防止できる効果があ
る。
According to the invention described in claim 7, when the hysteresis width setting device receives a signal from the AC voltage drop detector, the hysteresis width setting device outputs a constant hysteresis width value, and the output and the AC input signal are added. Since the value is output to the AC voltage drop detector, there is an effect that the chattering of the switch due to the operation / non-operation of the AC voltage drop detector can be prevented.

【0056】請求項8記載の発明によれば、交流電圧低
下検出器からの信号を受けると、スイッチがPI制御演
算部の出力側から0側へ切り替えるように構成したの
で、交流電圧が大きく低下する事故期間中は、交流入力
電圧信号の位相変動により、ディジタルPLL回路が大
きな検出誤差を持つことを防ぎ、事前に設定された基準
周波数で動作することができる効果がある。
According to the eighth aspect of the present invention, when the signal from the AC voltage drop detector is received, the switch is configured to switch from the output side of the PI control calculation section to the 0 side. During the accident period, the digital PLL circuit can be prevented from having a large detection error due to the phase fluctuation of the AC input voltage signal, and the digital PLL circuit can be operated at the preset reference frequency.

【0057】請求項9記載の発明によれば、H/Wカウ
ンタ部を、パルス発振演算部からのパルス数をカウント
してアナログ出力と同等な位相信号を出力するカウンタ
と、前記パルス発振演算部からのパルス数をカウントし
て同期パルスを出力するサンプル周期カウンタと、この
同期パルスをカウントして前記同期位相信号を出力する
カウンタを備えるように構成したので、CPUで用いる
同期位相信号およびアナログ位相信号と同等な位相信号
出力を、分離独立して確実に得ることができる効果があ
る。
According to the ninth aspect of the present invention, the H / W counter section includes a counter that counts the number of pulses from the pulse oscillation calculation section and outputs a phase signal equivalent to an analog output, and the pulse oscillation calculation section. Since a sample period counter that counts the number of pulses from and outputs a sync pulse and a counter that counts this sync pulse and outputs the sync phase signal are provided, a sync phase signal and an analog phase used in the CPU are provided. There is an effect that a phase signal output equivalent to a signal can be reliably obtained separately and independently.

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

【図1】 この発明の実施の形態1によるディジタルP
LL回路を示す接続図である。
FIG. 1 is a digital P according to the first embodiment of the present invention.
It is a connection diagram showing an LL circuit.

【図2】 実施の形態1におけるH/Wカウンタ部の動
作を示す各信号波形図である。
FIG. 2 is a signal waveform diagram showing the operation of the H / W counter unit in the first embodiment.

【図3】 この発明の実施の形態2によるディジタルP
LL回路を示す接続図である。
FIG. 3 is a digital P according to the second embodiment of the present invention.
It is a connection diagram showing an LL circuit.

【図4】 この発明の実施の形態3によるディジタルP
LL回路を示す接続図である。
FIG. 4 is a digital P according to the third embodiment of the present invention.
It is a connection diagram showing an LL circuit.

【図5】 この発明の実施の形態4によるディジタルP
LL回路を示す接続図である。
FIG. 5 is a digital P according to the fourth embodiment of the present invention.
It is a connection diagram showing an LL circuit.

【図6】 この発明の実施の形態5によるディジタルP
LL回路を示す接続図である。
FIG. 6 is a digital P according to a fifth embodiment of the present invention.
It is a connection diagram showing an LL circuit.

【図7】 この発明の実施の形態6によるディジタルP
LL回路を示す接続図である。
FIG. 7 is a digital P according to the sixth embodiment of the present invention.
It is a connection diagram showing an LL circuit.

【図8】 この発明の実施の形態7によるディジタルP
LL回路を示す接続図である。
FIG. 8 is a digital P according to Embodiment 7 of the present invention.
It is a connection diagram showing an LL circuit.

【図9】 この発明の実施の形態8によるディジタルP
LL回路を示す接続図である。
FIG. 9 is a digital P according to the eighth embodiment of the present invention.
It is a connection diagram showing an LL circuit.

【図10】 従来ディジタルPLL回路を示す接続図で
ある。
FIG. 10 is a connection diagram showing a conventional digital PLL circuit.

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

2 交流入力信号、4 ローパスフィルタ、6 A/D
変換部、10 H/Wカウンタ部、12 サンプル周期
カウンタ、14,16 カウンタ、22 位相比較演算
部、30,30A,30B ループフィルタ演算部、4
0 パルス発振演算部、50 位相信号出力、60 交
流電圧低下検出器、62,76,90スイッチ、64
周波数上昇低下検出器、80,82 リミッタ、86
ヒステリシス幅設定器、88 加算器
2 AC input signal, 4 low pass filter, 6 A / D
Conversion unit, 10 H / W counter unit, 12 sample period counter, 14, 16 counter, 22 phase comparison operation unit, 30, 30A, 30B loop filter operation unit, 4
0 pulse oscillation calculation unit, 50 phase signal output, 60 AC voltage drop detector, 62, 76, 90 switch, 64
Frequency rise decrease detector, 80, 82 limiter, 86
Hysteresis width setting device, 88 adder

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 交流入力信号から基本波成分信号を抽出
するローパスフィルタと、このローパスフィルタからの
出力を同期パルスに基づいて連続A/D変換を行い、前
記交流入力信号のディジタル信号データを得るA/D変
換部と、前記ディジタル信号データと同期位相信号とを
用いて位相比較を行い、位相偏差を出力する位相比較演
算部と、前記位相偏差を積分し、位相変化分を出力する
ループフィルタ演算部と、前記位相変化分に応じたパル
ス数を出力するパルス発振演算部と、前記パルス数をカ
ウントしてアナログ出力と同等な位相信号出力および前
記同期パルスと、この同期パルスをカウントして前記同
期位相信号を出力するH/Wカウンタ部とを備えたディ
ジタルPLL回路。
1. A low-pass filter for extracting a fundamental wave component signal from an AC input signal, and continuous A / D conversion of an output from the low-pass filter based on a synchronizing pulse to obtain digital signal data of the AC input signal. A / D conversion unit, a phase comparison calculation unit that performs phase comparison using the digital signal data and the synchronous phase signal, and outputs a phase deviation, and a loop filter that integrates the phase deviation and outputs a phase change amount An arithmetic unit, a pulse oscillation arithmetic unit that outputs the number of pulses according to the phase change amount, a phase signal output that is equivalent to an analog output by counting the number of pulses and the synchronization pulse, and this synchronization pulse is counted. A digital PLL circuit comprising an H / W counter section for outputting the synchronous phase signal.
【請求項2】 交流電圧が大きく低下したことを検出し
て信号を出力する交流電圧低下検出器と、この交流電圧
低下検出器の出力によりループフィルタ演算部の入力を
0とするスイッチとを備えたことを特徴とする請求項1
記載のディジタルPLL回路。
2. An AC voltage drop detector that detects that the AC voltage has dropped significantly and outputs a signal, and a switch that sets the input of the loop filter calculation unit to 0 by the output of this AC voltage drop detector. Claim 1 characterized by the above.
The described digital PLL circuit.
【請求項3】 H/Wカウンタ部からの位相信号出力を
入力して周波数を監視し、この周波数が設定許容周波数
を超えた場合に信号を出力する周波数上昇低下検出器
と、この周波数上昇低下検出器の出力と交流電圧低下検
出器の出力のAND条件によりループフィルタ演算部の
入力を0とするスイッチとを備えた請求項2記載のディ
ジタルPLL回路。
3. A frequency rise decrease detector for inputting a phase signal output from an H / W counter unit to monitor the frequency and outputting a signal when this frequency exceeds a set allowable frequency, and this frequency rise decrease. 3. The digital PLL circuit according to claim 2, further comprising a switch for setting the input of the loop filter arithmetic unit to 0 according to an AND condition between the output of the detector and the output of the AC voltage drop detector.
【請求項4】 交流電圧が大きく低下したことを検出し
て信号を出力する交流電圧低下検出器と、互いに時定数
の異なる2つのループフィルタ演算部と、この2つある
ループフィルタ演算部の出力を前記交流電圧低下検出器
の出力により、速い時定数を持つループフィルタ演算部
に切り替えるスイッチとを備えたことを特徴とする請求
項1記載のディジタルPLL回路。
4. An AC voltage drop detector for detecting a significant decrease in AC voltage and outputting a signal, two loop filter arithmetic units having different time constants, and outputs of the two loop filter arithmetic units. 2. The digital PLL circuit according to claim 1, further comprising a switch for switching to a loop filter arithmetic unit having a fast time constant according to the output of the AC voltage drop detector.
【請求項5】 交流電圧が大きく低下したことを検出し
て信号を出力する交流電圧低下検出器と、互いに時定数
の異なる2つのループフィルタ演算部と、この各ループ
フィルタ演算部の出力を前記交流電圧低下検出器の出力
により制限するリミッタと、この各リミッタの出力を加
算する加算器とを備えたことを特徴とする請求項1記載
のディジタルPLL回路。
5. An AC voltage drop detector that detects a significant decrease in AC voltage and outputs a signal, two loop filter arithmetic units having different time constants, and outputs of the respective loop filter arithmetic units. 2. The digital PLL circuit according to claim 1, further comprising a limiter for limiting the output of the AC voltage drop detector and an adder for adding the outputs of the limiters.
【請求項6】 H/Wカウンタ部からの位相信号出力を
入力して周波数を監視し、周波数が設定許容周波数を超
えた場合に信号を出力する周波数上昇低下検出器と、こ
の周波数上昇低下検出器の出力と交流電圧低下検出器の
出力のAND条件によりループフィルタ演算部の入力を
0とするスイッチとを備えたことを特徴とする請求項4
記載のディジタルPLL回路。
6. A frequency rise decrease detector for inputting a phase signal output from an H / W counter section to monitor the frequency and outputting a signal when the frequency exceeds a set allowable frequency, and this frequency rise decrease detection. 5. A switch for setting the input of the loop filter calculation unit to 0 according to the AND condition between the output of the voltage regulator and the output of the AC voltage drop detector.
The described digital PLL circuit.
【請求項7】 交流電圧低下検出器が交流電圧の低下を
検出して動作した場合、一定のヒステリシス幅を出力す
るヒステリシス幅設定器と、このヒステリシス幅設定器
の出力を前記交流電圧低下検出器の入力に加算する加算
器とを備えたことを特徴とする請求項2記載のディジタ
ルPLL回路。
7. A hysteresis width setting device that outputs a constant hysteresis width when the AC voltage drop detector operates by detecting a drop in the AC voltage, and an output of this hysteresis width setting device is the AC voltage drop detector. 3. The digital PLL circuit according to claim 2, further comprising an adder for adding to the input of the.
【請求項8】 交流電圧が低下したことを検出して信号
を出力する交流電圧低下検出器と、この交流電圧低下検
出器の出力により上記ループフィルタ演算部内のPI制
御演算部からの出力を断つスイッチとを備えたことを特
徴とする請求項1記載のディジタルPLL回路。
8. An AC voltage drop detector that detects that the AC voltage has dropped and outputs a signal, and an output from the PI control operation unit in the loop filter operation unit is cut off by the output of this AC voltage drop detector. The digital PLL circuit according to claim 1, further comprising a switch.
【請求項9】 H/Wカウンタ部は、パルス発振演算部
からのパルス数をカウントしてアナログ出力と同等な位
相信号を出力するカウンタと、前記パルス発振演算部か
らのパルス数をカウントして同期パルスを出力するサン
プル周期カウンタと、この同期パルスをカウントして前
記同期位相信号を出力するカウンタとを備えている請求
項1から請求項8のうちのいずれか1項記載のディジタ
ルPLL回路。
9. The H / W counter section counts the number of pulses from the pulse oscillation calculation section and outputs a phase signal equivalent to an analog output, and the H / W counter section counts the number of pulses from the pulse oscillation calculation section. 9. The digital PLL circuit according to claim 1, further comprising a sample period counter that outputs a synchronization pulse and a counter that counts the synchronization pulse and outputs the synchronization phase signal.
JP8141983A 1996-06-04 1996-06-04 Digital pll circuit Pending JPH09326690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8141983A JPH09326690A (en) 1996-06-04 1996-06-04 Digital pll circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8141983A JPH09326690A (en) 1996-06-04 1996-06-04 Digital pll circuit

Publications (1)

Publication Number Publication Date
JPH09326690A true JPH09326690A (en) 1997-12-16

Family

ID=15304676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8141983A Pending JPH09326690A (en) 1996-06-04 1996-06-04 Digital pll circuit

Country Status (1)

Country Link
JP (1) JPH09326690A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006348985A (en) * 2005-06-13 2006-12-28 Toyota Motor Corp Shift control device of automatic transmission for vehicle
JP2013190301A (en) * 2012-03-13 2013-09-26 Toshiba Mitsubishi-Electric Industrial System Corp Phase detector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006348985A (en) * 2005-06-13 2006-12-28 Toyota Motor Corp Shift control device of automatic transmission for vehicle
JP2013190301A (en) * 2012-03-13 2013-09-26 Toshiba Mitsubishi-Electric Industrial System Corp Phase detector

Similar Documents

Publication Publication Date Title
KR0177731B1 (en) Method for controlling digital phase synchronization loop for network sync.
US6433980B1 (en) Controlled switching device
CA2425496A1 (en) Fast phase synchronization and retrieval of sequence components in three-phase networks
CN107276025B (en) Electric leakage detection device
EP2395666B1 (en) Circuit, control system, control method, and computer-readable recording medium in which program is recorded
JP4560993B2 (en) Power converter control device and power converter
EP1696570A2 (en) Synchronised sinusoidal signal controller
JPH09326690A (en) Digital pll circuit
CN107515329B (en) IGBT comprehensive over-current protection method and system based on digital filtering
US7126832B2 (en) Controller for power converter
KR100254784B1 (en) Apparatus for detecting sample signal of impedence fault relay
JP2721477B2 (en) Grid-connected inverter for solar cells
JPS60113663A (en) Phase detector
JPH10200399A (en) Phase synchronizing device
JP3958255B2 (en) Phase synchronization detection circuit in generator
JP2645162B2 (en) Reverse pressure detection circuit for distributed power supply
JP2783586B2 (en) Phase detector
JP2972590B2 (en) Clock switching circuit
JPH0715968A (en) Individual operation detection method of inverter
SU1676025A1 (en) Method for controlling m-pulse rectifier
JPH04100412A (en) Phase locked loop circuit
JPH02166833A (en) Phase-locked loop circuit
JP2000324700A (en) Apparatus and method for detecting individual operation system connected type inverter
JPS6260897B2 (en)
JP2002057572A (en) Phase synchronizing circuit