JPH0410776B2 - - Google Patents

Info

Publication number
JPH0410776B2
JPH0410776B2 JP58062255A JP6225583A JPH0410776B2 JP H0410776 B2 JPH0410776 B2 JP H0410776B2 JP 58062255 A JP58062255 A JP 58062255A JP 6225583 A JP6225583 A JP 6225583A JP H0410776 B2 JPH0410776 B2 JP H0410776B2
Authority
JP
Japan
Prior art keywords
stage
shift register
data
counting
down counter
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 - Lifetime
Application number
JP58062255A
Other languages
Japanese (ja)
Other versions
JPS59188262A (en
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 filed Critical
Priority to JP58062255A priority Critical patent/JPS59188262A/en
Publication of JPS59188262A publication Critical patent/JPS59188262A/en
Publication of JPH0410776B2 publication Critical patent/JPH0410776B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/10Frequency-modulated carrier systems, i.e. using frequency-shift keying
    • H04L27/14Demodulator circuits; Receiver circuits

Description

【発明の詳細な説明】 (技術分野) 本発明は、ある一定時間の間の値の平均値を順
次に求め、その値があらかじめ設定した値を超え
たかどうかを検出する回路をデイジタル回路で実
現するためのものである。
[Detailed Description of the Invention] (Technical Field) The present invention implements a circuit using a digital circuit that sequentially calculates the average value of values over a certain period of time and detects whether the average value exceeds a preset value. It is for the purpose of

(背景技術) 第1図は、一部をデイジタル化した従来の遅延
検波回路の例を示す。1は入力端子で、MSK
(Minimum Shift Keying)等のデイジタル位相
変調された信号が加えられる。2は遅延回路であ
り、デイジタル信号の、たとえば、1ビツトの時
間に当る遅延を与える。3は排他的論理和回路、
4は低域波器であり、排他的論理和回路3の出
力をデイジタル信号のほぼ1ビツトの間の平均値
を与えるためのものであり、その近似値を与える
最も簡単な例として、第2図を示す。5はアナロ
グコンパレータであり、低域波器4の出力が、
デイジタル的な「1」の電圧の、たとえば1/2を
超えたかどうかを判定するもので1/2を超えたと
きは、例えば「1」を出力し、超えないときは、
「0」を出力する。アナログ・コンパレータ5の
一例として、第3図のような演算増幅器がある。
(Background Art) FIG. 1 shows an example of a conventional delay detection circuit partially digitized. 1 is the input terminal, MSK
A digital phase modulated signal such as (Minimum Shift Keying) is added. A delay circuit 2 provides a delay corresponding to, for example, one bit of the digital signal. 3 is an exclusive OR circuit,
Reference numeral 4 denotes a low-pass filter, which is used to give the output of the exclusive OR circuit 3 an average value for approximately one bit of the digital signal. Show the diagram. 5 is an analog comparator, and the output of the low frequency converter 4 is
It determines whether the voltage of digital "1" exceeds, for example, 1/2. If it exceeds 1/2, it outputs "1", and if it does not exceed,
Outputs "0". An example of the analog comparator 5 is an operational amplifier as shown in FIG.

第4図は、第1図の各部の出力波形の一例を示
すもので、横軸は時間軸である。第4図の
EXORは、排他的論理和回路3の出力で、入力
端子1からのデイジタル信号入力によつて「1」
「0」の幅が変化する。第4図のLPFは低域波
器4の出力で、デイジタル信号のほぼ1ビツト分
の時間平均が行なわれる。横軸に平行な点線は、
「1」、「0」出力の1/2を示し、このレベルを境に
して、アナログ・コンパレータ5の出力は、第4
図のCOMPに示すように変化する。
FIG. 4 shows an example of the output waveform of each part in FIG. 1, and the horizontal axis is the time axis. Figure 4
EXOR is the output of the exclusive OR circuit 3, and is set to “1” by the digital signal input from the input terminal 1.
The width of "0" changes. The LPF shown in FIG. 4 is the output of the low frequency filter 4, and time averaging of approximately one bit of the digital signal is performed. The dotted line parallel to the horizontal axis is
"1" and "0" indicate 1/2 of the output, and with this level as the border, the output of analog comparator 5 is the fourth
Changes as shown in COMP in the figure.

ところで、第1図の低域波器4及びアナログ
コンパレータ5は、アナログ回路であるので、
LSI化が極めてむずかしいという欠点があつた。
By the way, since the low frequency converter 4 and analog comparator 5 in FIG. 1 are analog circuits,
The drawback was that it was extremely difficult to convert into an LSI.

(発明の目的) 本発明は、LSI化に適した移動平均値検出方式
を提供供することを目的とする。
(Object of the Invention) An object of the present invention is to provide a moving average value detection method suitable for LSI implementation.

(発明の要約) 本発明の構成は、サンプリング用クロツク発振
器と、前記クロツク発振器に同期して、書き込ま
れるM+1(Mは正の整数)段シフトレジスタ及
び、少くともMまでカウントできるアツプダウン
カウンタならびにデイジタルコンパレータをそな
え、前記シフトレジスタの1段目と最後にデータ
が書き込まれるM+1段目とのデータが同じ値の
ときはカウントせず、シフトレジスタの1段目と
M+1段目とのデータが異なるときは当該異なる
状態に応じて、前記クロツク発振器と同期してア
ツプカウント又はダウンカウントすること、さら
に加えては、アツプダウンカウンタのカウント数
が「M」となつたときはアツプカウントの条件が
成立してもアツプカウントせず、またアツプダウ
ンカウンタのカウント数が「0」となつたときは
ダウンカウントの条件が成立してもダウンカウン
トしないことを特徴とする移動平均値検出方式で
ある。以下、実施例について詳細に説明する。
(Summary of the Invention) The configuration of the present invention includes a sampling clock oscillator, an M+1 (M is a positive integer) stage shift register that is written in synchronization with the clock oscillator, an up-down counter that can count up to at least M, and A digital comparator is provided, and if the data in the first stage of the shift register and the M+1 stage where data is written last are the same value, it is not counted, and the data in the first stage and the M+1 stage of the shift register are different. In this case, the up-counting or down-counting is performed in synchronization with the clock oscillator depending on the different state, and in addition, when the count number of the up-down counter reaches "M", the up-counting condition is satisfied. This moving average value detection method is characterized in that it does not count up even if the count of the up-down counter reaches "0", and it does not count down even if the conditions for counting down are met. Examples will be described in detail below.

(発明の構成および作用) 第5図は、本発明の第1の実施例を説明するた
めの回路であり、1,2,3及び6は第1図と同
様のものであり、7はM+1段のシフトレジスタ
(Mは、正の整数とする)、8はサンプリングクロ
ツク用発振器、9は論理回路であり、シフトレジ
スタ7の最初にデータが書き込まれる第1段目と
最後にデータが書き込まれる第M+1段目とを入
力する。10は少なくともMまでカウントできる
アツプダウンカウンタ、11はデイジタルコンパ
レータである。排他的論理和回路3の出力データ
は、サンプリングクロツク用発振器8のクロツク
に従つてサンプリングされ、M+1段シフトレジ
スタ7の第1段目Aに読み込まれる。この読み込
まれたデータは、サンプリング用クロツク発振器
8のクロツクが1サイクル進む毎に右側にシフト
され、第1段目Aに読み込まれたサンプリングデ
ータは、M個のサンプリングクロツクによつて、
M+1段シフトレジスタ7のM+1段目Bまでシ
フトされる。
(Structure and operation of the invention) FIG. 5 is a circuit for explaining the first embodiment of the present invention, 1, 2, 3, and 6 are the same as those in FIG. 1, and 7 is M+1 8 is a sampling clock oscillator, and 9 is a logic circuit. Input the M+1st row. 10 is an up-down counter that can count up to at least M, and 11 is a digital comparator. The output data of the exclusive OR circuit 3 is sampled according to the clock of the sampling clock oscillator 8 and read into the first stage A of the M+1 stage shift register 7. This read data is shifted to the right every time the clock of the sampling clock oscillator 8 advances one cycle, and the sampling data read into the first stage A is processed by M sampling clocks.
It is shifted to the M+1 stage B of the M+1 stage shift register 7.

論理回路9は、第6図に示すような論理動作を
するもので、M+1段シフトレジスタ7の1段目
Aの内容とM+1段目Bの内容によつてアツプダ
ウンカウンタ10のアツプカウント、ダウンカウ
ントを決定する。
The logic circuit 9 performs a logical operation as shown in FIG. 6, and controls the up-count and down-count of the up-down counter 10 according to the contents of the first stage A and the M+1 stage B of the M+1 stage shift register 7. Determine the count.

サンプリング用発振器8の周波数fcは、排他的
論理和回路3からの出力をできるだけ忠実にサン
プリングするような高い周波数であり、一般的に
にシヤノンの定理から、再現が必要な最高周波数
の2倍以上という一つの条件がある。さらに、次
の計算式で決定される周波数が選ばれる。
The frequency fc of the sampling oscillator 8 is a high frequency that samples the output from the exclusive OR circuit 3 as faithfully as possible, and is generally more than twice the highest frequency that needs to be reproduced according to Shannon's theorem. There is one condition. Furthermore, a frequency determined by the following calculation formula is selected.

fc=M/T 但し、Tは平均値を得ようとする時間長であ
る。
fc=M/T where T is the length of time for obtaining the average value.

次に、このような構成した回路の動作を説明す
る。
Next, the operation of the circuit configured as described above will be explained.

まず、シフトレジスタ7の各段の内容及びアツ
プダウンカウンタの各ビツトの内容は、すべて
「0」であるとする。サンプリングクロツク8が
1サイクル進むとサンプリングデータは、まずシ
フトレジスタ7の1段目Aに取り込まれる。この
値が「1」であつたとすると、次のサンプリング
クロツクでシフトレジスタ7の2段目にAの値が
移るとともに、第6図の論理動作から、アツプダ
ウンカウンタ10は、1ビツトアツプカウントす
る。以下、サンプリングクロツクに従つて、サン
プリングデータがシフトレジスタ7内を順次移動
し、サンプリングデータの「1」の数だけアツプ
ダウンカウンタ10の内容が増加する。サンプリ
ングクロツク数がMになると最初のサンプリング
データはシフトレジスタ7のM+1段目Bに現
れ、2段目〜M+1段目の各段の内容が「1」で
ある数はアツプダウンカウンタ10の内容と一致
する。次に、シフトレジスタ7の1段目AとM+
1段目の値が一致したときは2段目〜M+1段目
の「1」の数は次のサンプリングクロツクでシフ
トレジスタの内容が1段づつ移つても変化しな
い。このときは、アツプダウンカウンタ10の内
容も変化しない。また、シフトレジスタ7の1段
目Aの内容が「1」で、M+1段目Bの内容が
「0」のときは、次のサンプリングクロツクで2
段目〜M+1段目の「1」の数は1つ増加し、ア
ツプダウンカウンタ10の内容も1つ増加する。
逆にシフトレジスタ7の1段目Aの内容が「0」
で、M+1段目の内容が「1」のときはシフトレ
ジスタ7の2段目〜M+1段目の「1」の数は1
つ減少し、アツプダウンカウンタ10の内容も1
つ減少する。
First, it is assumed that the contents of each stage of the shift register 7 and the contents of each bit of the up-down counter are all "0". When the sampling clock 8 advances by one cycle, the sampling data is first taken into the first stage A of the shift register 7. Assuming that this value is "1", the value of A moves to the second stage of the shift register 7 at the next sampling clock, and from the logic operation shown in FIG. do. Thereafter, the sampling data is sequentially moved within the shift register 7 in accordance with the sampling clock, and the contents of the up-down counter 10 are increased by the number of "1"s in the sampling data. When the number of sampling clocks reaches M, the first sampling data appears in the M+1 stage B of the shift register 7, and the number whose content is "1" in each stage from the 2nd stage to the M+1 stage is the content of the up-down counter 10. matches. Next, the first stage A and M+ of the shift register 7
When the values in the first stage match, the number of "1"s in the second to M+1 stages does not change even if the contents of the shift register are shifted one stage at a time at the next sampling clock. At this time, the contents of the up-down counter 10 do not change either. Furthermore, when the content of the first stage A of the shift register 7 is "1" and the content of the M+1st stage B is "0", the next sampling clock
The number of "1"s in the M+1th row increases by one, and the contents of the up-down counter 10 also increase by one.
Conversely, the content of the first stage A of shift register 7 is "0"
So, when the content of the M+1st stage is "1", the number of "1"s in the 2nd stage to the M+1st stage of the shift register 7 is 1.
The content of up-down counter 10 also decreases by 1.
decrease by one.

以上の説明から理解できるように、シフトレジ
スタ7の2段目〜M+1段目の「1」の数とアツ
プダウンカウンタ10の内容とは、常に一致する
こととなる。従つて、デイジタルコンパレータ1
1であらかじめ設定した値と比較すれば、その値
を超えたかどうかの出力を出力端子6に得ること
ができる。また、シフトレジスタ7の2段目〜M
+1段目の内容の「1」の数は、その時刻からT
だけさかのぼつた時間までの間でどれだけの割合
で「1」の数があつたかを示すもので、この数と
Mを比較すれば上記時間内の時間平均を求めてい
ることになる。シフトレジスタ7の内容は、サン
プリング用発振器8の周期に従つて順次変化して
行くのでT時間内の移動平均値が求められる。
As can be understood from the above explanation, the number of "1"s in the second to M+1 stages of the shift register 7 and the contents of the up-down counter 10 always match. Therefore, digital comparator 1
By comparing the value with the value set in advance at 1, an output indicating whether the value has been exceeded can be obtained at the output terminal 6. In addition, the second stage ~M of the shift register 7
The number of "1"s in the contents of the +1st row is T from that time.
It shows how often the number ``1'' has occurred up to the time that has gone back in time, and if this number is compared with M, it means that the time average within the above time period has been calculated. Since the contents of the shift register 7 change sequentially in accordance with the period of the sampling oscillator 8, a moving average value within time T is obtained.

平均値が1/2を超えたかどうかを検出するとき
には、デイジタルコンパレータ11にM/2を設
定すればよい。平均値が0〜1の任意の値を超え
たかどうかを検出するときには、0〜1の任意の
値にMを乗じた数をデイジタルコンパレータ11
に設定すればよい。
To detect whether the average value exceeds 1/2, M/2 may be set in the digital comparator 11. When detecting whether the average value exceeds an arbitrary value between 0 and 1, the digital comparator 11 multiplies the arbitrary value between 0 and 1 by M.
You can set it to .

ところで、第5図に示した第1の実施例では、
シフトレジスタ7の2段目〜M+1段目の「1」
の数とアツプダウンカウンタ10の内容とが、何
らかの原因(雑音等のじよう乱)で一致しなくな
ると、正しい平均値を検出しなくなるという不都
合を生じる。
By the way, in the first embodiment shown in FIG.
“1” in the 2nd to M+1st stages of the shift register 7
If the number of up-down counters 10 and the contents of the up-down counter 10 do not match for some reason (disturbances such as noise), a problem arises in that the correct average value is not detected.

これを防ぐために改良したものが第2の実施例
であり、第7図に示す。第7図において12,1
3は論理回路であり、他の符号は第5図と同様の
ものである。論理回路12は、アツプダウンカウ
ンタ10の内容がMになつたとき、論理回路9の
出力を入力する論理回路13のゲートを閉じて、
論理回路9からアツプカウントの指示が出てもカ
ウントさせず逆にアツプダウンカウンタ10の内
容が0のときは、論理回路9から、ダウンカウン
トの指示が出ても論理回路13のゲートを閉じ
て、カウントさせないようにする。
The second embodiment is improved to prevent this, and is shown in FIG. 12,1 in Figure 7
3 is a logic circuit, and other symbols are the same as in FIG. When the content of the up-down counter 10 reaches M, the logic circuit 12 closes the gate of the logic circuit 13 to which the output of the logic circuit 9 is input.
Even if an up-count instruction is issued from the logic circuit 9, it will not be counted; conversely, if the content of the up-down counter 10 is 0, the gate of the logic circuit 13 will be closed even if a down-count instruction is issued from the logic circuit 9. , prevent it from being counted.

次に、第7図の動作を説明すると、何らかの原
因でアツプダウンカウンタ10の値がシフトレジ
スタ7の内容より大になつたとすると、サンプリ
ングデータが「1」の連続になつてきたときに、
シフトレジスタ7の内容がすべて「1」となる前
に、アツプダウンカウンタ10の内容がMとなつ
てしまう。しかし、論理回路12及び13の働き
でそれ以上はアツプカウントしないから、シフト
レジスタ7の値がすべて「1」となつてから
「1」の数が減少しはじめるとシフトレジスタ7
の2段目〜M+1段目の「1」の数とアツプダウ
ンカウンタ10の値は一致するようになる。
Next, to explain the operation of FIG. 7, if for some reason the value of the up-down counter 10 becomes larger than the contents of the shift register 7, when the sampling data becomes a series of "1",
Before the contents of the shift register 7 become all "1", the contents of the up-down counter 10 become M. However, because the logic circuits 12 and 13 do not count up any more, if the number of 1's starts to decrease after all the values in the shift register 7 become "1", the shift register 7
The number of "1"s in the second to M+1 rows and the value of the up-down counter 10 come to match.

以下同様にして、アツプダウンカウンタ10の
値が、シフトレジスタ7の内容より小となつたと
きは、シフトレジスタ7の2段目〜M+1段目の
値がすべて「0」となつたときに補正され、以
後、シフトレジスタ7の内容とアツプダウンカウ
ンタ10の内容は一致するようになる。
Similarly, when the value of the up-down counter 10 becomes smaller than the contents of the shift register 7, it is corrected when the values of the second stage to M+1 stage of the shift register 7 all become "0". Thereafter, the contents of the shift register 7 and the contents of the up-down counter 10 will match.

サンプリングデータがT時間すべて「1」とな
る場合やすべて「0」となる場合は、きわめて高
い確率で起るので、まれにシフトレジスタ7の内
容とアツプダウンカウンタ10の内容が一致しな
くなつたときでもただちに補正され、常に正しい
平均値が検出できる。
There is an extremely high probability that the sampling data will be all "1" or all "0" for T time, so in rare cases the contents of the shift register 7 and the contents of the up-down counter 10 will not match. The correct average value can always be detected.

なお、第8図の第3の実施例として例示したよ
うに、デイジタルコンパレータ11に論理回路1
4を付加し、デイジタルコンパレータ11の検出
動作にヒステリシス特性を持たせると、動作をよ
り安定にすることができる。すなわち、たとえば
デイジタルコンパレータ11の出力が「0」のと
きは、次に「1」になるときの検出点レベルを一
定値だけ上げ(例えば2だけ上げる。)、逆にデイ
ジタルコンパレータ11の出力が「0」のときは
次に「1」になるときに、デイジタルコンパレー
タ11の検出点レベルを一定値だけ下げ(例えば
2だけ下げる。)ようにすると、入力信号の細か
い変動で出力が短時間に上げ下げすることがなく
なるので、安定な動作ができる。これは第5図に
示した第1の実施例及び第7図に示した第2の実
施例のいずれにも適用できる。雑音の多い信号を
扱う場合に有効である。
Note that, as illustrated as the third embodiment in FIG.
By adding 4 and giving a hysteresis characteristic to the detection operation of the digital comparator 11, the operation can be made more stable. That is, for example, when the output of the digital comparator 11 is "0", the detection point level when it becomes "1" next time is raised by a certain value (for example, raised by 2), and conversely, the output of the digital comparator 11 is "0". If the detection point level of the digital comparator 11 is lowered by a certain value (for example, lowered by 2) the next time it becomes "1" when it is "0", the output can be raised or lowered in a short time due to small fluctuations in the input signal. Since there is no need to do this, stable operation can be achieved. This can be applied to both the first embodiment shown in FIG. 5 and the second embodiment shown in FIG. This is effective when handling signals with a lot of noise.

(発明の効果) 以上、第1、第2、第3の実施例は、シフトレ
ジスタ7の1段目のデータが「1」でM+1段目
のデータが「0」であるときアツプカウントする
ようにしたものであつた。第9図のようにインバ
ータ15をコンパレータ11の後段に接続するこ
とで簡単にシフトレジスタ7の1段目のデータが
「1」でM+1段目のデータが「0」であるとき
ダウンカウントし、シフトレジスタ7の1段目の
データが「0」でM+1段目のデータが「1」で
あるとき、アツプカウントして、移動平均値検出
方式が実現できる。
(Effects of the Invention) As described above, in the first, second, and third embodiments, up-counting is performed when the data in the first stage of the shift register 7 is "1" and the data in the M+1 stage is "0". It was something I made. By connecting the inverter 15 after the comparator 11 as shown in FIG. 9, it is easy to down-count when the data in the first stage of the shift register 7 is "1" and the data in the M+1 stage is "0". When the data in the first stage of the shift register 7 is "0" and the data in the M+1 stage is "1", a moving average value detection method can be realized by up-counting.

以上説明したように、簡単なデイジタル回路を
構成することにより、移動平均値を検出できるの
で、LSI化が可能である。
As explained above, since the moving average value can be detected by configuring a simple digital circuit, LSI implementation is possible.

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

第1図は従来の構成を示す回路図、第2図は従
来の低域波器の回路図の一例、第3図は従来の
アナログコンパレータの回路図の一例、第4図は
第1図の各部の波形図、第5図は本発明の一実施
例を示す回路図、第6図は論理回路9の動作を示
す図、第7図は本発明の第2の実施例を示す回路
図、第8図と第9図は本発明の第3及び第4の実
施例を説明するための回路図である。 1……入力端子、2……遅延回路、3……排他
的論理和回路、6……出力端子、7……シフトレ
ジスタ、8……サンプリング用クロツク発振器、
9……論理回路、10……アツプダウンカウン
タ、11……コンパレータ、12,13,14…
…論理回路、15……インバータ。
Figure 1 is a circuit diagram showing a conventional configuration, Figure 2 is an example of a circuit diagram of a conventional low frequency converter, Figure 3 is an example of a circuit diagram of a conventional analog comparator, and Figure 4 is an example of the circuit diagram of a conventional analog comparator. Waveform diagrams of various parts, FIG. 5 is a circuit diagram showing one embodiment of the present invention, FIG. 6 is a diagram showing the operation of the logic circuit 9, FIG. 7 is a circuit diagram showing a second embodiment of the present invention, FIGS. 8 and 9 are circuit diagrams for explaining third and fourth embodiments of the present invention. 1... Input terminal, 2... Delay circuit, 3... Exclusive OR circuit, 6... Output terminal, 7... Shift register, 8... Sampling clock oscillator,
9...Logic circuit, 10...Up-down counter, 11...Comparator, 12, 13, 14...
...Logic circuit, 15...Inverter.

Claims (1)

【特許請求の範囲】 1 サンプリング用クロツク発振器と、前記クロ
ツク発振器に同期して書き込まれるM+1(Mは
正の整数)段シフトレジスタ及び、少なくとも、
Mまでカウントできるアツプダウンカウンタなら
びに、デイジタルコンパレータをそなえ前記シフ
トレジスタの1段目と、最後にデータが書き込ま
れるM+1段目とのデータが、同じ値のときはカ
ウントせず、シフトレジスタの1段目とM+1段
目とのデータが異なるときは、当該異なる状態に
応じて、前記クロツク発振器と同期して、アツプ
カウント又は、ダウンカウントすることを特徴と
した移動平均値検出方式。 2 シフトレジスタの1段目のデータが「1」で
M+1段目のデータが「0」である異なる状態の
ときは、アツプカウント又は、ダウンカウント
し、シフトレジスタの1段目のデータが「0」で
M+1段目のデータが「1」である異なる状態の
ときは、ダウンカウント又は、アツプカウントす
ることを特徴とする特許請求範囲第1項記載の移
動平均値検出方式。 3 サンプリング用クロツク発振器と前記クロツ
ク発振器に同期して書き込まれるM+1(Mは正
の整数)段シフトレジスタ及び、少なくともMま
でカウントできるアツプダウンカウンタならび
に、デイジタルコンパレータをそなえ、前記シフ
トレジスタの1段目と最後にデータが書き込まれ
るM+1段目とのデータが同じ値のときはカウン
トせず、シフトレジスタの1段目と、M+1段目
とのデータが異なるときは、当該異なる状態に応
じて、前記クロツク発振器と同期して、アツプカ
ウント又は、ダウンカウントし、かつ、アツプダ
ウンカウンタのカウント数が、Mのときはアツプ
カウントの条件が成立しても、アツプカウントせ
ず、またアツプダウンカウンタのカウント数が、
0となつたときは、ダウンカウントの条件が成立
してもダウンカウントしないことを特徴とする移
動平均値検出方式。
[Scope of Claims] 1. A sampling clock oscillator, an M+1 (M is a positive integer) stage shift register written in synchronization with the clock oscillator, and at least:
It is equipped with an up-down counter that can count up to M, and a digital comparator.If the data in the first stage of the shift register and the M+1 stage, where data is written last, are the same value, no counting is performed and the first stage of the shift register is A moving average value detection method characterized in that when the data at the 1st stage and the M+1th stage are different, up-counting or down-counting is performed in synchronization with the clock oscillator depending on the different state. 2 When the data in the first stage of the shift register is "1" and the data in the M+1 stage is "0", it counts up or down, and the data in the first stage of the shift register becomes "0". The moving average value detection method according to claim 1, characterized in that when the data in the M+1st row is in a different state of "1" in "1", down-counting or up-counting is performed. 3. A sampling clock oscillator, an M+1 (M is a positive integer) stage shift register written in synchronization with the clock oscillator, an up-down counter capable of counting up to at least M, and a digital comparator, the first stage of the shift register If the data in the M+1st stage and the M+1st stage, where data is finally written, are the same value, it is not counted, and if the data in the 1st stage of the shift register and the M+1st stage are different, the above-mentioned values are counted according to the different states. Up-counting or down-counting is performed in synchronization with the clock oscillator, and when the count number of the up-down counter is M, even if the up-counting conditions are met, the up-counting does not occur, and the up-down counter does not count. Number,
A moving average value detection method characterized in that when the value becomes 0, the down-count is not performed even if the down-counting conditions are satisfied.
JP58062255A 1983-04-11 1983-04-11 Moving average value detection system Granted JPS59188262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58062255A JPS59188262A (en) 1983-04-11 1983-04-11 Moving average value detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58062255A JPS59188262A (en) 1983-04-11 1983-04-11 Moving average value detection system

Publications (2)

Publication Number Publication Date
JPS59188262A JPS59188262A (en) 1984-10-25
JPH0410776B2 true JPH0410776B2 (en) 1992-02-26

Family

ID=13194847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58062255A Granted JPS59188262A (en) 1983-04-11 1983-04-11 Moving average value detection system

Country Status (1)

Country Link
JP (1) JPS59188262A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3509762A1 (en) * 1985-03-19 1986-09-25 Battelle-Institut E.V., 6000 Frankfurt CIRCUIT ARRANGEMENT FOR Averaging
JP2592795B2 (en) * 1985-05-24 1997-03-19 キヤノン株式会社 Information data demodulator
JPS6231238A (en) * 1985-08-02 1987-02-10 Canon Inc Demodulation device
JP5806442B2 (en) * 2008-12-01 2015-11-10 セイコーエプソン株式会社 Frequency change measuring device

Also Published As

Publication number Publication date
JPS59188262A (en) 1984-10-25

Similar Documents

Publication Publication Date Title
JP3506659B2 (en) Digital clock signal restoration circuit and method thereof
JP3129156B2 (en) Phase detection method and its implementation device
JPS63153920A (en) Clock regeneration circuit
US5140256A (en) PWM signal demodulation method and apparatus
JPH0410776B2 (en)
JP3081957B2 (en) Transmission data shaping device
JPH0138244B2 (en)
JPH08138324A (en) Phase difference detection circuit for epr4 signal
JPS62276925A (en) Digital counter circuit
JPH09247137A (en) Phase error detection circuit and digital pll circuit
JPH06231547A (en) Digital signal reproducer
JPH0896516A (en) Clock generating device
JP3618787B2 (en) Signal processing device
JPH0724833Y2 (en) Clock signal regeneration circuit
JP3670145B2 (en) Signal clamping device and recording medium
JP3158003B2 (en) Digital sync separation circuit
JPH0145097B2 (en)
JPH0863888A (en) Signal processing apparatus
JP2959511B2 (en) Data strobe device
JP3826530B2 (en) Bit synchronization circuit
JP3309498B2 (en) Digital clock recovery device
JPS63182911A (en) Duty detecting circuit
JPH04357795A (en) Color burst signal phase error detection circuit
JP2000216761A (en) Demodulation circuit
JPH05342772A (en) Synchronism detection method