JPS62188442A - Counter circuit - Google Patents

Counter circuit

Info

Publication number
JPS62188442A
JPS62188442A JP3007286A JP3007286A JPS62188442A JP S62188442 A JPS62188442 A JP S62188442A JP 3007286 A JP3007286 A JP 3007286A JP 3007286 A JP3007286 A JP 3007286A JP S62188442 A JPS62188442 A JP S62188442A
Authority
JP
Japan
Prior art keywords
circuit
counter
output
error
input
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
JP3007286A
Other languages
Japanese (ja)
Inventor
Hiroto Iguchi
浩人 井口
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3007286A priority Critical patent/JPS62188442A/en
Publication of JPS62188442A publication Critical patent/JPS62188442A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To shorten the alarm sending time by providing a flip-flop circuit inputting the output of content of other counter of a counter circuit as a data input, inputting the output of the 1st timer circuit as a clock input and outputting an alarm. CONSTITUTION:A counter circuit 11 counts an error pulse 101, its output state is changed when the predetermined under of pulses of above is counted and the content of counter is cleared by using a pulse 103 from a timer circuit 2. The output state of the counter circuit 11 is stored in flip-flop circuits 12-15 constituting a shift register by using a pulse 103 of the timer circuit 2. When the number of error pulses is (k) or below, the output of the counter circuit 11 is at an L level and when the number of pulses is (k) or above, the output is at an H level, and when the state that error pulses of (k) or above in a prescribed time T' takes place four times consecutively, an L level is outputted in a NAND gate 16. If the state does not take place four times consecutively, the NAND gate 16 is at an H level. Thus, the alarm generating time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計数回路、特に伝送路にだける誤り監視に際し
て誤りパルスを計数することにより伝送路の誤り状態を
監視する計数回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a counting circuit, and particularly to a counting circuit that monitors the error state of a transmission line by counting error pulses when monitoring errors occurring in the transmission line.

〔従来の技術〕[Conventional technology]

伝送路における誤りパルス計数する方式として、一定時
間Tの間にに周以上の誤りパルスが計数さnl、この状
態がN回連続したと青アラーム信号を発生する方式があ
る。ここでT、に、Nの値は仮定した伝送路上の誤り発
生確率より導びかれる。
As a method for counting error pulses in a transmission path, there is a method in which more than one cycle of error pulses is counted during a certain period of time T, and a blue alarm signal is generated when this state continues N times. Here, the values of T and N are derived from the assumed probability of error occurrence on the transmission path.

の誤りばボワソン分布に従うとして計算できる。If it is incorrect, it can be calculated assuming that it follows the Boisson distribution.

発生する。カウンタ回路52は一定時間′rの間の誤り
パルス101を計数し、タイマー回路51よリパルス1
09が供給されるごとに計数内容が消去される。一定時
間Tの間にに個の誤りノ(ルスを計数したとき、カウン
タ回路52の出力信号110の状態は変化しその状Fi
Af保持Tる。8段のシフトレジスタ回路53はタイマ
ー回路51からの);ルス109によりカウンタ回路5
2の出力信号1107、;シフトする。ナントゲート5
4はシフトレジスタ回路53の各段の出力信号の論理頃
を構成し、カウンタ回路52で一定時間Tの間にk(固
以上の誤りパルスがN回連成して計数されるとアラーム
信号111を送出する。
Occur. The counter circuit 52 counts the error pulses 101 during a certain period of time 'r, and the repulse 101 is counted by the timer circuit 51.
Each time 09 is supplied, the count contents are erased. When counting error pulses during a certain period of time T, the state of the output signal 110 of the counter circuit 52 changes and its state Fi
Hold Af. The 8-stage shift register circuit 53 is connected to the timer circuit 51);
The output signal 1107 of 2; is shifted. Nantes Gate 5
4 constitutes the logic circuit of the output signal of each stage of the shift register circuit 53, and when the counter circuit 52 consecutively counts N or more error pulses during a certain period of time T, an alarm signal 111 is generated. Send out.

〔発明が解決しようとTる問題点〕[Problems that the invention attempts to solve]

この従来例に8いては、NNのシフトレジスタ回路53
を有するため突発的な誤りによるアラーム信号の送出を
防止できるが、シフトレジスタ回路53はタイマー回路
51より供給される一定時間′rのパルスカウンタ回路
52の出力状1帖をシフトして記憶するためアラーム信
号の送出にTのN倍の時間を要する。特に監視する伝送
路の誤り率を小さくすると、に個の誤りパルスの計数に
必要とさn、る一定時間Tが長くなり、アラーム送出に
時間を要し、伝送路の切替のための伝送路誤り監視に用
いる場合、切替時間が長くなるという欠点があった。
In this conventional example, a shift register circuit 53 of NN
The shift register circuit 53 shifts and stores one output of the pulse counter circuit 52 for a certain period of time 'r supplied from the timer circuit 51. It takes N times T to send out the alarm signal. In particular, if the error rate of the transmission line to be monitored is reduced, the constant time T required to count the number of error pulses will become longer, and it will take more time to send out an alarm, and the transmission line for switching the transmission line will become longer. When used for error monitoring, there is a drawback that switching time becomes long.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の計数回路は、第一の周期を持つ第一のタイマー
回路と、前記第一の周期よりも長い第二のタイマー回路
と、誤りパルスを入力としかつ外部よりカウンタ内容を
入力可能とするデータ入力端子8よび入力制御端子とカ
ウンタ内容消去側(至)端子と2個のカウンタ内容出力
端子とを備えて該タイマー回路のうち第一のタイマー回
路の出力をカウンタ内容消去側両端子への入力とするカ
ウンタ回路と、該カウンタ回路の一方のカウンタ内容出
力を入力とし、前記第二のタイマー回路の出力に同期し
てカウンタ内容を記憶し出力を前記カウンタ回路のデー
タ入力端子に入力するメモリ回路と、前記誤りパルスを
入力とし前記第二のタイマー回路に同期して伝送路のバ
ースト誤りを検出し出力を前記カウンタ回路のデータ入
力制御端子に入力するバーストgり検出回路と、前記カ
ウンタ回路の他方のカウンタ内容出力をデータ入力とし
前記第一のタイマー回路の出力をクロック入力としてア
ラームを出力するフリップフロップ回路とを有すること
を特徴とする。
The counting circuit of the present invention includes a first timer circuit having a first period, a second timer circuit longer than the first period, an error pulse as input, and counter contents can be input from the outside. It is equipped with a data input terminal 8, an input control terminal, a terminal on the counter content erasing side (to), and two counter content output terminals, and outputs the output of the first timer circuit among the timer circuits to both terminals on the counter content erasing side. A counter circuit as an input, and a memory that receives the counter content output of one of the counter circuits as an input, stores the counter content in synchronization with the output of the second timer circuit, and inputs the output to the data input terminal of the counter circuit. a burst error detection circuit that receives the error pulse as input, detects a burst error in the transmission line in synchronization with the second timer circuit, and inputs an output to the data input control terminal of the counter circuit; and the counter circuit. and a flip-flop circuit that uses the output of the other counter as a data input, uses the output of the first timer circuit as a clock input, and outputs an alarm.

〔実施例〕〔Example〕

欠に本発明について図面を参照にして説明する。 The present invention will be briefly described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。タ
イマー回路1は監視すべき誤り率lこ必要な一定時間T
の間隔を持つパルス102を供給し、またタイマー回路
2はバースト誤り発生によるアラーム出力を防(Eする
ための、Tより短かい一定4間T′の間隔を持つパルス
103を供給する。カウンタ回路3は、エラーパルス1
01をカウントし、そのカウンタ内容を出力でき、かつ
あらかじめ定めた個数以上のエラーパルスをカウントし
た場合はその出力状態を保持でき、また外部より制御す
ることでカウンタ内容をクリアすることができ、さらに
外部からの制御信号によりカウンタの内容を外部からセ
ットできる機能を有する。バースト誤り検出回路4は、
−例として第2図に示す回路にて実現できる。第2図に
gいて、カウンタ回路11はエラーパルス101をカウ
ントし、あらかじめ定めた個数以上をカウントしたとき
出力状態が変化し、その状態を保持し、またタイマー回
路2からのパルス103によりカウンタ内容をクリアす
る。カウンタ回路11の出力状態はタイ−7−回路2の
パルス103にヨリ、シフトレジスタを構成する7リッ
プフロップ回路12〜15に記憶さn、る。エラーパル
スかに個未満の場合、カウンタ回路11の出力は′L”
レベル、kfB以上のとき”H”レベルとすると、一定
時間′y内にに個以上のエラーパルスがカウントされる
状態が連続して4回起きると、ナントゲート16に″L
″レベルが出力される。もし連続して4回起きない場合
はナントゲート16は”H“レベルにある。
FIG. 1 is a block diagram showing one embodiment of the present invention. The timer circuit 1 is configured to monitor the error rate l and the required fixed time T.
The timer circuit 2 supplies pulses 102 with an interval of 4, and the timer circuit 2 supplies pulses 103 with an interval of a constant 4 times T', which is shorter than T, in order to prevent alarm output due to the occurrence of a burst error. 3 is error pulse 1
01 and can output the counter contents, and if it counts more than a predetermined number of error pulses, the output state can be maintained, and the counter contents can be cleared by external control. It has a function that allows the contents of the counter to be set externally using a control signal from the outside. The burst error detection circuit 4 is
- It can be realized by the circuit shown in FIG. 2 as an example. As shown in FIG. 2, the counter circuit 11 counts error pulses 101, and when a predetermined number or more is counted, the output state changes and this state is maintained. Clear. The output state of the counter circuit 11 is stored in seven flip-flop circuits 12 to 15 constituting a shift register in accordance with the pulse 103 of the tie-7 circuit 2. If the number of error pulses is less than 1, the output of the counter circuit 11 is 'L'
If the level is set to ``H'' when the level is equal to or higher than kfB, if a state in which more than
" level is output. If it does not occur four times in a row, the Nantes gate 16 is at the "H" level.

バーストエラーが起こるとk iJ以上エラーパルスが
カウントさn、カウンタ回路11の出力109は”L”
レベルから”H”レベルに変化する。次の一定4間1の
間はバーストエラーのためエラーペルス101が入力さ
n、ない。したがってカウンタ回路11の出力109は
’L“レベルとなる。はシメノ″H°レベルはシフトレ
ジスタを構成するクリップ70ツブ12〜15によりシ
フトされ、4T’(1)後、フリップフロップ回路15
の出力が″H”となる。このときナントゲート16の出
力は”H”レベルにあり、ナントゲート17の出力は“
H゛レベルら′L”レベルに変化しバーストエラーを検
出できる。第2図に8いてシフトレジスタは4段とした
が、その段数はn T’ < Tを満足する1段であれ
ばよい。インバータ18の出力はナントゲート17にS
ける変化点の誤動作の防止のために使用している。第1
図のメモリ回路5はタイマー回路2に同期してカウンタ
回路3のカウンタ内容を記憶するもので、たとえば第3
図に示すシフトレジスタ回路にて実現できる。8g3図
ではカウンタ回路はバイナリカウンタとしてまた4ビツ
トにてカウンタ内容が示せるものとした。
When a burst error occurs, more than k iJ error pulses are counted, and the output 109 of the counter circuit 11 is "L".
level changes to "H" level. During the next fixed period of 4, no error pulse 101 is input due to a burst error. Therefore, the output 109 of the counter circuit 11 becomes the 'L' level.
The output becomes "H". At this time, the output of the Nantes gate 16 is at the "H" level, and the output of the Nantes gate 17 is "H" level.
It is possible to detect a burst error by changing from the H level to the 'L' level. Although the shift register 8 in FIG. 2 has four stages, the number of stages may be one as long as it satisfies n T'< T. The output of the inverter 18 is sent to the Nant gate 17.
This is used to prevent malfunctions at changing points. 1st
The memory circuit 5 shown in the figure stores the counter contents of the counter circuit 3 in synchronization with the timer circuit 2.
This can be realized by the shift register circuit shown in the figure. In Figure 8g3, the counter circuit is assumed to be a binary counter and can indicate the counter contents using 4 bits.

またここでシフトレジスタの段数はバースト誤り検出回
路4のシフトレジスタの段数と一致させる。
Further, the number of stages of the shift register is made to match the number of stages of the shift register of the burst error detection circuit 4.

第1図のバーストエラー検出回路4の出力107はカウ
ンタ回路3のデータ入力制御端子に入力さnる。またメ
モリ回路5の出力106はカウンタ回路3のデータ入力
端子に入力される。もしパー−ストエラーが検出さn、
るとパースエラー検出回路4の出力107はL”レベル
になる。またカウンタ回路3の出力104,105は”
 I−1”レベルになる。
The output 107 of the burst error detection circuit 4 in FIG. 1 is input to the data input control terminal of the counter circuit 3. Further, the output 106 of the memory circuit 5 is input to the data input terminal of the counter circuit 3. If a burst error is detected,
Then, the output 107 of the parse error detection circuit 4 becomes L" level. Also, the outputs 104 and 105 of the counter circuit 3 become "L" level.
I-1” level.

本計数回路は、第4図のようなシフトレジスタを持たな
いため、タイマー回−各1のタイマー出力により、7リ
ツプフロクプ6からアラームが短時間で出力されるが、
バーストエラー検出回路がバーストエラーを検出した場
合は、その出力によりバーストエラー検出前のカウンタ
内8を再び検出出力(バーストエラーを・演出した出力
)によりカウンタ回路3に入力するためアラームは出力
さnない。
Since this counting circuit does not have a shift register like the one shown in FIG.
When the burst error detection circuit detects a burst error, the output of the counter 8 before the detection of the burst error is input again to the counter circuit 3 by the detection output (output that reproduces the burst error), so an alarm is not output. do not have.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、誤り計数回路で誤りパル
スkllA1以上の状態がN回連続して発生したときア
ラームを送出する構成に8いて、Nを1とgくことによ
り誤り率が非常に小さい領域を監視する際アラーム発生
時間を短かくでき、またバースト誤り検出回路を備える
ことによりバースト誤りによるアラームの発生を防止で
きる機能を有する。
As explained above, the present invention has a configuration in which the error counting circuit sends out an alarm when a state of error pulse kllA1 or more occurs N times in a row, and by setting N to 1, the error rate is extremely low. It has the function of shortening the alarm generation time when monitoring a small area, and by being equipped with a burst error detection circuit, it can prevent the generation of alarms due to burst errors.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図中のバースト誤り検出回路を示すブロック図、第3図
は第1図中のメモリ回路を示すブロック図、第4図は従
来例のブロック図である。 1.2・・・・・・タイマ回路、3.11・・・・・・
カウンタ回路、4・・・・・・バースト誤り検出回路、
5・・・・・・メモリ回路、6,12,13,14.1
5.21〜37・・・・・・フリップフロップ回路、1
6.17・・・・・・ナントゲート、51・・・・・・
タイマー回路、52・・・・・・カウンタ回路。 代理人 弁理士  内 原   晋 (、 :、−一。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a block diagram showing the burst error detection circuit in the figure, FIG. 3 is a block diagram showing the memory circuit in FIG. 1, and FIG. 4 is a block diagram of a conventional example. 1.2...Timer circuit, 3.11...
Counter circuit, 4...burst error detection circuit,
5...Memory circuit, 6, 12, 13, 14.1
5.21-37...Flip-flop circuit, 1
6.17... Nantes Gate, 51...
Timer circuit, 52...Counter circuit. Agent: Susumu Uchihara, patent attorney.

Claims (1)

【特許請求の範囲】[Claims] 第一の周期を持つ第一のタイマー回路と、前記一の周期
よりも長い第二の周期を持つ第二のタイマー回路と、誤
りパルスを入力としかつ外部よりカウンタ内容を入力可
能とするデータ入力端子およびデータ入力制御端子とカ
ウンタ内容消去制御端子と2個のカウンタ内容出力端子
とを備えて該タイマー回路のうち第一のタイマー回路の
出力をカウンタ内容消去制御端子への入力とするカウン
タ回路と、該カウンタ回路の一方のカウンタ内容出力を
入力とし前記第二のタイマー回路の出力に同期してカウ
ンタ内容を記憶し出力を前記カウンタ回路のデータ入力
端子に入力するメモリ回路と、前記誤りパルスを入力と
し前記第二のタイマー回路に同期して伝送路のバースト
誤りを検出し出力を前記カウンタ回路のデータ入力制御
端子に入力するバースト誤り検出回路と、前記カウンタ
回路の他方のカウンタ内容出力をデータ入力とし前記第
一のタイマー回路の出力をクロック入力としてアラーム
を出力するクリップフロップ回路とを有することを特徴
とする計数回路。
A first timer circuit having a first period, a second timer circuit having a second period longer than the first period, and a data input that receives an error pulse and allows counter contents to be input from outside. A counter circuit comprising a terminal, a data input control terminal, a counter content erasure control terminal, and two counter content output terminals, the output of the first timer circuit of the timer circuits being input to the counter content erasure control terminal. , a memory circuit that receives the counter content output of one of the counter circuits as an input, stores the counter content in synchronization with the output of the second timer circuit, and inputs the output to the data input terminal of the counter circuit; a burst error detection circuit that detects burst errors on the transmission line in synchronization with the second timer circuit as an input and inputs the output to the data input control terminal of the counter circuit; A counting circuit comprising: a clip-flop circuit which uses the output of the first timer circuit as a clock input and outputs an alarm.
JP3007286A 1986-02-13 1986-02-13 Counter circuit Pending JPS62188442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3007286A JPS62188442A (en) 1986-02-13 1986-02-13 Counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3007286A JPS62188442A (en) 1986-02-13 1986-02-13 Counter circuit

Publications (1)

Publication Number Publication Date
JPS62188442A true JPS62188442A (en) 1987-08-18

Family

ID=12293598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3007286A Pending JPS62188442A (en) 1986-02-13 1986-02-13 Counter circuit

Country Status (1)

Country Link
JP (1) JPS62188442A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02119455A (en) * 1988-10-28 1990-05-07 Fujitsu Ltd Alarm classification information deciding system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02119455A (en) * 1988-10-28 1990-05-07 Fujitsu Ltd Alarm classification information deciding system

Similar Documents

Publication Publication Date Title
JPS62188442A (en) Counter circuit
JP2814978B2 (en) Frame synchronization circuit
JPH0495426A (en) Crc error check circuit
JP3060040B2 (en) Line error rate detection circuit
JPH06194417A (en) Generating circuit of clock signal
JPH0420296B2 (en)
JPH04604Y2 (en)
KR100463846B1 (en) Clock Monitoring Apparatus of Switching System
SU1336254A1 (en) System for correcting errors in transmission of n-position code words
SU1345260A1 (en) Register with self-monitoring and correction
JPS58168328A (en) Serial-parallel converting circuit
SU1352491A1 (en) Device for checking by modulus two with monitoring
JPS60169222A (en) Error counter circuit
KR100208295B1 (en) Clock monitor
JPS6395747A (en) Word synchronizing device
JPS61236233A (en) Supervision equipment for transmission system
JPS6133060A (en) Data transmission circuit
JPH0691514B2 (en) Bit string match determination circuit
JPH02294131A (en) Loop synchronizing circuit
JPS60214655A (en) Frame synchronizing circuit
JPH0265339A (en) Loop bus abnormality detecting method for distributed data processor
JPH10173636A (en) Failure detecting circuit
JPS62173818A (en) Operation confirming device for regular sequential operation device
JPH04180318A (en) Method and circuit for synchronization protection
JPH05114898A (en) Frame synchronizing circuit for digital transmission system