JP2606425B2 - Fault condition detection circuit - Google Patents

Fault condition detection circuit

Info

Publication number
JP2606425B2
JP2606425B2 JP2243240A JP24324090A JP2606425B2 JP 2606425 B2 JP2606425 B2 JP 2606425B2 JP 2243240 A JP2243240 A JP 2243240A JP 24324090 A JP24324090 A JP 24324090A JP 2606425 B2 JP2606425 B2 JP 2606425B2
Authority
JP
Japan
Prior art keywords
state
ais
circuit
counter
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.)
Expired - Lifetime
Application number
JP2243240A
Other languages
Japanese (ja)
Other versions
JPH04122157A (en
Inventor
眞 門脇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2243240A priority Critical patent/JP2606425B2/en
Publication of JPH04122157A publication Critical patent/JPH04122157A/en
Application granted granted Critical
Publication of JP2606425B2 publication Critical patent/JP2606425B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明は障害状態検出回路に関し、特にディジタル伝
送においてAIS(Alarm Indication Signal)検出を行う
回路に関する。
Description: TECHNICAL FIELD The present invention relates to a fault state detection circuit, and more particularly to a circuit for detecting an AIS (Alarm Indication Signal) in digital transmission.

従来技術 従来、この種の障害状態検出回路は、第2図に示され
ているように入力データ1中の“0"の値を検出する入力
“0"監視回路11と、この監視回路11の出力でカウントア
ップするカウンタ12と、AIS判定回路13と、この判定回
路13の出力をラッチするラッチ回路14とを含んで構成さ
れている。以下、この従来の障害状態検出回路におい
て、入力データ中の“1"がm個連続したときにAIS検出
状態を保持し、AIS検出状態において入力データm個中
の“0"の個数がn個以上のときAIS解除とするものとし
て動作を説明する。
2. Description of the Related Art Conventionally, this type of fault state detection circuit includes an input "0" monitoring circuit 11 for detecting a value of "0" in input data 1 as shown in FIG. It is configured to include a counter 12 that counts up with an output, an AIS determination circuit 13, and a latch circuit 14 that latches the output of the determination circuit 13. Hereinafter, in the conventional fault state detection circuit, the AIS detection state is held when m pieces of "1" in the input data continue, and the number of "0" in the m pieces of input data is n in the AIS detection state. The operation will be described assuming that the AIS is canceled at the time above.

入力“0"監視回路11は、入力データ1の値が“0"のと
きに“0"入力有の旨の情報をカウンタ12に入力する。こ
れにより、カウンタ12はカウントアップを行う。
When the value of the input data 1 is “0”, the input “0” monitoring circuit 11 inputs information indicating that “0” is input to the counter 12. Thus, the counter 12 counts up.

一般に、入力データ1が正常な値であれば、“0"と
“1"とがランダムに含まれていることになる。したがっ
て、“0"の値がn個以上であれば、カウンタ12からキャ
リが出力される。これによりAIS判定回路13は非AIS状態
であると判定し、その判定結果がラッチ回路14で保持さ
れる。
Generally, if the input data 1 is a normal value, “0” and “1” are included at random. Therefore, if the value of “0” is n or more, a carry is output from the counter 12. As a result, the AIS determination circuit 13 determines that the state is the non-AIS state, and the determination result is held in the latch circuit 14.

AIS判定回路13は、カウンタ12からのキャリが入力さ
れなければ、AIS状態であると判定し、その判定結果が
ラッチ回路14で保持される。つまり、カウンタ12のカウ
ント値がn未満の場合はAIS状態がラッチ回路14に保持
されて外部に通知されることになる。なお、nはmより
小さな値である。
If the carry from the counter 12 is not input, the AIS determination circuit 13 determines that the AIS state is established, and the determination result is held by the latch circuit 14. That is, when the count value of the counter 12 is less than n, the AIS state is held in the latch circuit 14 and notified to the outside. Note that n is a value smaller than m.

また、以上のAIS検出動作は、入力データ1のmビッ
ト毎に発生する制御パルス10により定期的に行われる。
この制御パルス10が入力されると、カウンタ12はリセッ
トされてカウント値は“0"となる。また、制御パルス10
の入力時には、AIS判定回路13及びラッチ回路14は夫々A
IS状態にセットされる。
The above AIS detection operation is periodically performed by the control pulse 10 generated every m bits of the input data 1.
When the control pulse 10 is input, the counter 12 is reset and the count value becomes "0". Control pulse 10
Input, the AIS determination circuit 13 and the latch circuit 14
Set to IS state.

以上により、n=1とすれば、制御パルス10の発生す
るデータmビットの区間において“0"が1つも無いと
き、AIS判定回路13の出力は非AIS状態からAIS状態に遷
移し、ラッチ回路14に保持されることとなる。このよう
に、定期的に監視を行うことで“1"が連続する異常状態
を検出するのが従来の障害状態検出回路である。
As described above, if n = 1, the output of the AIS determination circuit 13 transitions from the non-AIS state to the AIS state when there is no "0" in the m-bit data section where the control pulse 10 is generated, and the latch circuit It will be held at 14. As described above, the conventional failure state detection circuit detects an abnormal state in which "1" s are continuously detected by performing regular monitoring.

しかし、上述した従来の障害状態検出回路において
は、監視区間が制御パルスにより定められているため、
となりあう区間にまたがって“1"がm個連続している場
合には、その検出ができないという欠点があった。すな
わち、第3図を参照すると、入力データ1に対する監視
区間30と31とにまたがったmビットのデータ32がオール
“1"であった場合でもAIS状態として検出できず、有効
な障害状態検出にはならないという欠点があった。
However, in the above-described conventional fault state detection circuit, since the monitoring section is determined by the control pulse,
There is a drawback that if m “1” s are continuous over the adjacent sections, it cannot be detected. That is, referring to FIG. 3, even if the m-bit data 32 over the monitoring sections 30 and 31 for the input data 1 is all “1”, it cannot be detected as the AIS state, and the effective fault state cannot be detected. There was a drawback that it should not be.

発明の目的 本発明は上述した従来の欠点を解決するためになされ
たものであり、その目的はより有効に障害状態検出を行
うことができる障害状態検出回路を提供することであ
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional disadvantages, and an object of the present invention is to provide a fault state detection circuit capable of more effectively detecting a fault state.

発明の構成 本発明による障害状態検出回路は、入力されるディジ
タルデータの値が連続してm個特定値であることを検出
する第1の検出手段と、このm個の特定値の検出に応答
して障害検出状態である旨を出力する手段と、この障害
検出状態において入力されるディジタルデータの値のm
個中のn(n<m)個が前記特定値の反転値であること
を検出する第2の検出手段と、このn個の反転値の検出
に応答して障害解除とする手段とを有することを特徴と
する。
The fault state detecting circuit according to the present invention comprises a first detecting means for detecting that the value of digital data inputted is a specific number of m consecutive values, and a response to the detection of the specific number of m digital values. Means for outputting a message indicating that a fault is detected, and m of the value of the digital data input in the fault detected state.
A second detecting means for detecting that n (n <m) of the specified values are inverted values of the specific value; and a means for canceling the fault in response to the detection of the n inverted values. It is characterized by the following.

実施例 次に、本発明について図面を参照して説明する。Next, the present invention will be described with reference to the drawings.

第1図は本発明による障害状態検出回路の一実施例の
構成を示すブロック図である。図において、本発明の一
実施例による障害状態検出回路はmビットのシフトレジ
スタ6と、このmビットシフトレジスタ6への入力デー
タ1の“0"の監視をする入力“0"監視回路5と、mビッ
トシフトレジスタ6から出力されるデータの“0"の監視
をする出力“0"監視回路7と、入力“0"監視回路5で
“0"を検出するとカウントアップし、出力“0"監視回路
7で“0"を検出するとカウントダウンを行うアップダウ
ンカウンタ8と、入力データの“1"を監視する入力“1"
監視回路2と、入力“1"監視回路2で“1"を検出すると
カウントアップし、検出しなければ“0"にリセットされ
るカウンタ3と、カウンタ3の値がmになるとAIS状態
を出力し、アップダウンカウンタ8の値がnになると非
AIS状態を検出するAIS判定回路4とを含んで構成されて
いる。なお、アップダウンカウンタ8は“0"から“m"ま
での範囲でカウント動作をするものであり、カウント値
が“n"になるとキャリを出力する。また、カウンタ3は
カウント値が“m"になるとキャリを出力する。
FIG. 1 is a block diagram showing the configuration of one embodiment of a fault condition detection circuit according to the present invention. In the figure, a fault state detection circuit according to an embodiment of the present invention includes an m-bit shift register 6 and an input “0” monitoring circuit 5 for monitoring “0” of input data 1 to the m-bit shift register 6. , The output “0” monitoring circuit 7 for monitoring “0” of the data output from the m-bit shift register 6 and counting up when the input “0” monitoring circuit 5 detects “0”, and the output “0” When the monitoring circuit 7 detects “0”, an up / down counter 8 that counts down and an input “1” that monitors input data “1”.
The monitoring circuit 2 and the input "1" are counted up when the monitoring circuit 2 detects "1". If not, the counter 3 is reset to "0". When the value of the up / down counter 8 becomes n,
And an AIS determination circuit 4 for detecting an AIS state. The up / down counter 8 performs a counting operation in a range from “0” to “m”, and outputs a carry when the count value reaches “n”. When the count value reaches "m", the counter 3 outputs a carry.

AIS判定回路4は、周知のRS型フリップフロップで構
成され、そのセット端子にカウンタ3のキャリが入力さ
れ、リセット端子にはアップダウンカウンタ8のキャリ
が入力される。
The AIS determination circuit 4 is composed of a well-known RS flip-flop. The carry of the counter 3 is input to its set terminal, and the carry of the up / down counter 8 is input to its reset terminal.

よって、このAIS判定回路4は、カウンタ3の値がm
のときAIS状態を出力し、アップダウンカウンタ8の値
がnのとき非AIS状態を出力することになる。
Therefore, the AIS determination circuit 4 determines that the value of the counter 3 is m
When the value of the up / down counter 8 is n, the non-AIS state is output.

また、mビットシフトレジスタ6は周知のD型フリッ
プフロップのm段縦続接続により構成され、入力データ
1に同期したクロックによってシフト動作を行うもので
ある。なお、このmビットシフトレジスタ6の初期値は
オール“0"である。
The m-bit shift register 6 is formed by cascade connection of well-known D-type flip-flops at m stages, and performs a shift operation by a clock synchronized with the input data 1. The initial value of the m-bit shift register 6 is all "0".

かかる構成において、入力データ1が“1"のときは、
入力“1"監視回路2からパルスが出力され、カウンタ3
がカウントアップされる。また、カウンタ3は入力デー
タ1が“0"のとき、入力“0"監視回路5の出力によりリ
セットされる。よって、入力データ1が連続してm個
“1"である場合にのみカウンタ3からキャリが出力さ
れ、AIS判定回路4をAIS状態とする。
In such a configuration, when the input data 1 is “1”,
A pulse is output from the input “1” monitoring circuit 2 and the counter 3
Is counted up. When the input data 1 is “0”, the counter 3 is reset by the output of the input “0” monitoring circuit 5. Therefore, the carry is output from the counter 3 only when the input data 1 is m consecutive “1” s, and the AIS determination circuit 4 is set to the AIS state.

これにより、定期的に監視を行う従来の方式とは異な
り、リアルタイムの監視が可能となるのである。
This enables real-time monitoring, unlike the conventional method of performing regular monitoring.

ところで、入力データ1の“1"が連続する異常状態が
一度発生すると、その状態はAIS判定回路4で保持され
続けるが、その後に復旧する場合もある。その復旧状態
か否かを判断するのが、入力“0"監視回路5、mビット
シフトレジスタ6、出力“0"監視回路7及びアップダウ
ンカウンタ8である。
By the way, once an abnormal state in which "1" of the input data 1 continues occurs once, the state continues to be held by the AIS determination circuit 4, but may be recovered later. It is the input "0" monitoring circuit 5, the m-bit shift register 6, the output "0" monitoring circuit 7, and the up / down counter 8 that determine whether or not the recovery state is established.

入力データ1が“0"のときは入力“0"監視回路5から
パルスが出力され、アップダウンカウンタ8がカウント
アップされる。このとき、mビットシフトレジスタ6か
ら“0"が出力されれば、出力“0"監視回路7から出力さ
れるパルスでアップダウンカウンタ8はカウントダウン
される。よって、アップダウンカウンタ8は常にmビッ
トシフトレジスタ6内の“0"の個数を表していることに
なる。
When the input data 1 is "0", a pulse is output from the input "0" monitoring circuit 5, and the up / down counter 8 counts up. At this time, if “0” is output from the m-bit shift register 6, the up / down counter 8 is counted down by a pulse output from the output “0” monitoring circuit 7. Therefore, the up / down counter 8 always indicates the number of “0” in the m-bit shift register 6.

ところで、上述の入力データ1が連続してm個“1"で
ある場合には、カウンタ3からキャリが出力される他、
アップダウンカウンタ8は全くカウントアップされず、
カウントダウンされ続けてカウンタ値が“0"となる。こ
のカウント値が“0"の状態の後、連続するmビットにお
いてアップダウンカウンタ8のカウント値が“n"になっ
た場合、すなわち入力データ1が“0"を示し始め、n個
に達した場合には障害から復旧したものと考えられる。
かかる場合にはアップダウンカウンタ8からキャリが出
力され、AIS判定回路4はリセットされ非AIS状態を出力
するのである。
By the way, if the above input data 1 is m consecutive “1” s, a carry is output from the counter 3 and
The up / down counter 8 does not count up at all,
The counter value continues to be counted down and becomes “0”. After the count value is "0", if the count value of the up / down counter 8 becomes "n" in m successive bits, that is, the input data 1 starts to show "0" and reaches n. In this case, it is considered that the system has recovered from the failure.
In such a case, a carry is output from the up / down counter 8, and the AIS determination circuit 4 is reset to output a non-AIS state.

以上の動作において、入力データの種類、伝送速度等
に応じてm及びnの値を適切に定めれば、より有効に障
害状態監視が行えるのである。例えば、各カウンタのDI
P型スイッチを設けて、m,nの値を外部から設定できるよ
うにすれば良い。
In the above operation, if the values of m and n are appropriately determined according to the type of the input data, the transmission speed, and the like, the fault state monitoring can be performed more effectively. For example, DI of each counter
A P-type switch may be provided so that the values of m and n can be set from outside.

なお、入力データが連続してm個“0"である場合に障
害と検出することもできる。この場合には、上述の動作
説明における“1"と“0"とを入換えた動作となる。
Note that when m pieces of input data are continuously “0”, a failure can be detected. In this case, the operation is an operation in which “1” and “0” are exchanged in the above description of the operation.

発明の効果 以上説明したように本発明は、入力データについての
連続m個の特定値の状態を常時監視して障害状態とし、
その後のmビット中に特定値の反転値がn個存在すれば
障害状態とすることにより、より有効に障害状態検出が
行えるという効果がある。
Effect of the Invention As described above, the present invention constantly monitors the state of continuous m specific values of input data and sets a failure state,
If there are n inversions of the specific value in the subsequent m bits, the failure state is set, so that the failure state can be more effectively detected.

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

第1図は本発明の実施例による障害状態検出回路の構成
を示すブロック図、第2図は従来の障害状態検出回路の
構成を示すブロック図、第3図は従来の障害状態検出方
式を示す概念図である。 主要部分の符号の説明 2……入力“1"監視回路 3……カウンタ 4……AIS判定回路 5……入力“0"監視回路 6……mビットシフトレジスタ 7……出力“0"監視回路 8……アップダウンカウンタ
FIG. 1 is a block diagram showing a configuration of a fault state detection circuit according to an embodiment of the present invention, FIG. 2 is a block diagram showing a configuration of a conventional fault state detection circuit, and FIG. 3 shows a conventional fault state detection method. It is a conceptual diagram. Explanation of Signs of Main Parts 2 ... Input "1" Monitoring Circuit 3 ... Counter 4 ... AIS Judgment Circuit 5 ... Input "0" Monitoring Circuit 6 ... m-bit Shift Register 7 ... Output "0" Monitoring Circuit 8 Up-down counter

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力されるディジタルデータの値が連続し
てm個特定値であることを検出する第1の検出手段と、
このm個の特定値の検出に応答して障害検出状態である
旨を出力する手段と、この障害検出状態において入力さ
れるディジタルデータの値のm個中のn(n<m)個が
前記特定値の反転値であることを検出する第2の検出手
段と、このn個の反転値の検出に応答して障害解除とす
る手段とを有することを特徴とする障害状態検出回路。
A first detecting means for detecting that a value of digital data to be inputted is a specific value of m successively;
Means for outputting a fault detection state in response to the detection of the m specific values; and n (n <m) of the m digital data values input in the fault detection state, A fault state detection circuit comprising: a second detection unit for detecting an inverted value of a specific value; and a unit for canceling a fault in response to detection of the n inverted values.
JP2243240A 1990-09-13 1990-09-13 Fault condition detection circuit Expired - Lifetime JP2606425B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2243240A JP2606425B2 (en) 1990-09-13 1990-09-13 Fault condition detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2243240A JP2606425B2 (en) 1990-09-13 1990-09-13 Fault condition detection circuit

Publications (2)

Publication Number Publication Date
JPH04122157A JPH04122157A (en) 1992-04-22
JP2606425B2 true JP2606425B2 (en) 1997-05-07

Family

ID=17100928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2243240A Expired - Lifetime JP2606425B2 (en) 1990-09-13 1990-09-13 Fault condition detection circuit

Country Status (1)

Country Link
JP (1) JP2606425B2 (en)

Also Published As

Publication number Publication date
JPH04122157A (en) 1992-04-22

Similar Documents

Publication Publication Date Title
JP2001326566A (en) Clock abnormality detecting circuit
JP2606425B2 (en) Fault condition detection circuit
US5454018A (en) Counter circuit with automatic reset
JPH01205237A (en) Synchronous function failure detection
JPS6034860B2 (en) Line error rate monitoring method
JPH0728748Y2 (en) Alarm display signal detection method
JPH08181588A (en) Clock interruption detection circuit
JP3469710B2 (en) Clock monitoring device
JP2970690B2 (en) Synchronous control circuit
JPH04239842A (en) Data interrupt detection circuit
JPS61101139A (en) Synchronizing signal detector
JP2619939B2 (en) Synchronous pattern detection circuit
JP2827904B2 (en) Bipolar clock disturbance detection circuit
JPH06188949A (en) Data break detecting circuit
JPH03108831A (en) Number detection circuit
JPH0687565B2 (en) Signal failure detection method in balanced double-flow interconnection line
JPH088546B2 (en) Frame synchronization detection method for digital transmission circuits
JPH05191384A (en) Error ratio detecting circuit
JPS63151237A (en) Frame synchronization protecting circuit
JPH0685630A (en) Pulse monitoring circuit
JPH05268193A (en) Line error rate monitor method
JPH0563738A (en) Data loss detection circuit
JPH03277029A (en) Ais detection circuit
JPS60262252A (en) Monitor system for runaway of microprocessor
JPH06132798A (en) Pulse detector