JPS6213139A - Supervisory circuit - Google Patents

Supervisory circuit

Info

Publication number
JPS6213139A
JPS6213139A JP60151210A JP15121085A JPS6213139A JP S6213139 A JPS6213139 A JP S6213139A JP 60151210 A JP60151210 A JP 60151210A JP 15121085 A JP15121085 A JP 15121085A JP S6213139 A JPS6213139 A JP S6213139A
Authority
JP
Japan
Prior art keywords
circuit
digital signal
counting
count result
periods
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.)
Granted
Application number
JP60151210A
Other languages
Japanese (ja)
Other versions
JPH0466140B2 (en
Inventor
Masayuki Ootawa
大田和 雅之
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 JP60151210A priority Critical patent/JPS6213139A/en
Publication of JPS6213139A publication Critical patent/JPS6213139A/en
Publication of JPH0466140B2 publication Critical patent/JPH0466140B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To supervise simply and surely a main signal of a buffer circuit by counting number of '1's of '0's of a digital signal in the unit of N bits and inverting the digital signal string at least one period per two periods in the process of supervising the buffer circuit. CONSTITUTION:The 1st count result 3 is obtained by the 1st counter circuit 101 at each period of a reference signal 1 from number of '1's or '0's of the digital signal 2. The '1' and '0' of the data are inverted by two periods by the 1st inverting circuit 102 from the 1st count result 3 and the digital signal 2. The 2nd inverting circuit 104 inverts the digital signal 5' and the 1st count result 6' again to output the digital signal 5 and the 1st count result 6. The 2nd count circuit 106 counts again the number of '1's or '0's of the digital signal 5 inverted again at each period of a reference signal 4 to output the 2nd count result 7. The 2nd count result 7 and the 1st count result 6 are compared by a comparison circuit 105 to attain the supervision of a bit delay circuit 103.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は監視回路に関し、特にビット遅延回路。[Detailed description of the invention] [Industrial application field] The present invention relates to monitoring circuits, and more particularly to bit delay circuits.

フレーム整合回路、フレーム変換回路等ビット内及びビ
ット単位でタイミングの制御全行9227ァ回路を監視
する回路に関する。
This invention relates to a circuit that monitors timing control circuits such as frame matching circuits and frame conversion circuits within bits and on a bit-by-bit basis.

〔従来の技術〕[Conventional technology]

従来使われている監視回路の一例として、ピッ    
□ト遅延回路の監視を行う場合について第2図を参照し
て説明する。第2図において、101は第一の計数回路
でディジタル信号2の°′1″′又は°′0”の数を基
準信号10周期毎に計数し第一の計数結果3を出力する
。103はビット遅延回路で基準信号l、ディジタル信
号2及び第一の計数結果3を一定量だけビット単位で遅
らせ、基準信号4゜ディジタル信号5及び第一の計数結
果6を出力する。106は第二の計数回路でディジタル
信号5の′°1”又は“′0”の数を基準信号4の周期
毎に計数して、第二の計数結果7を出力する。105は
比較回路で第一の計数結果6と第二の計数結果    
□7とを基準信号40周期毎に比較し、誤りがあると誤
り情報8を出力する。
An example of a conventionally used monitoring circuit is a pin
□The case of monitoring the delay circuit will be explained with reference to FIG. In FIG. 2, numeral 101 is a first counting circuit which counts the number of 0'1'' or 0' of the digital signal 2 every 10 periods of the reference signal and outputs the first counting result 3. Reference numeral 103 denotes a bit delay circuit which delays the reference signal 1, digital signal 2 and first counting result 3 by a fixed amount in bit units, and outputs the reference signal 4.degree. digital signal 5 and the first counting result 6. 106 is a second counting circuit that counts the number of '°1' or '0' of the digital signal 5 every period of the reference signal 4, and outputs the second counting result 7. 105 is a comparison circuit. First counting result 6 and second counting result
□7 every 40 cycles of the reference signal, and if there is an error, error information 8 is output.

この監視回路では、ディジタル信号2の“′1”又はI
I Onの数を基準信号1の周期毎に第一の計数回路1
01で計数し、基準信号1とディジタル信号2と共に、
第一の計数結果3をビット遅延口ル信号5の°′1″又
はパ0”の数を再び基準信号4の周期毎に第二の計数回
路106で計数し、第一の計数結果6と第二の計数結果
7とを比較回路105で基準信号4の周期毎に比較する
事によりビット遅延回路103の監視を行っている。
In this monitoring circuit, "'1" of digital signal 2 or I
The first counting circuit 1 calculates the number of I On every period of the reference signal 1.
01, together with reference signal 1 and digital signal 2,
The first counting result 3 is counted by the second counting circuit 106 again by the number of °'1'' or par0'' of the bit delayed mouth signal 5 every period of the reference signal 4, and the first counting result 6 is obtained. The bit delay circuit 103 is monitored by comparing it with the second counting result 7 in a comparison circuit 105 every cycle of the reference signal 4.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、この回路では、ビット遅延回路103に異常が
発生してディジタル信号5と第一の計数結果6とが誤ま
って0”に固定された場合、第二の計数回路106で1
こディジタル信号5の°1″の数を計数することが出来
ず、第二の計数結果7として” o ’を出力するので
、比較回路105では誤りを検出できない。同様に、デ
ィジタル信号5と第一の計数結果6とが誤って“1.′
″に固定された場合でも誤りを検出できない状態が生ず
る。
However, in this circuit, if an abnormality occurs in the bit delay circuit 103 and the digital signal 5 and the first counting result 6 are erroneously fixed at 0'', the second counting circuit 106
Since it is not possible to count the number of degrees 1'' in the digital signal 5 and outputs "o" as the second counting result 7, the comparator circuit 105 cannot detect an error. Similarly, the digital signal 5 and the first counting result 6 are mistakenly “1.”
Even if the error is fixed to ``, a situation may occur in which errors cannot be detected.

本発明は上記欠点を簡単外回路構成で解消した監視回路
を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a monitoring circuit that eliminates the above drawbacks with a simple external circuit configuration.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明による監視回路は、ディジタル信号列の′“1″
又は0″′の数をNビット単位(N:自然数)毎に計数
する第一の計数回路と、前記ディジタル信号列をNビッ
ト周期を1周期単位としてM周期(M:自然数)にL周
期(L:自然数、M)L)だけデータの1″″“0″を
反転する第一の反転回路と、該第−の反転回路出力信号
列を入力としてタイミングの制御を行う・マッファ回路
と。
The monitoring circuit according to the present invention detects ``1'' of a digital signal train.
Alternatively, a first counting circuit that counts the number of 0''' every N bits (N: natural number), and a first counting circuit that counts the number of 0''' in units of N bits (N: natural number), and converts the digital signal sequence into M periods (M: natural number) with L periods (M: natural number), L: natural number, M) A first inverting circuit that inverts data 1''''``0'' by L), and a muffer circuit that controls timing by inputting the output signal string of the -th inverting circuit.

該バッファ回路出力を再反転する第二の反転回路と、該
第二の反転回路より出力される前記ディジタル信号列の
It I II又はII OIIの数をNビット単位毎
に計数する第二の計数回路と、前記第一の計数結果と前
記第二の計数回路の第二の計数結果とを比較する比較回
路とを有する事を特徴とする。
a second inversion circuit that re-inverts the output of the buffer circuit; and a second counter that counts the number of It I II or II OII of the digital signal string output from the second inversion circuit in units of N bits. and a comparison circuit that compares the first counting result with the second counting result of the second counting circuit.

〔実施例〕〔Example〕

以下に本発明の実施例について説明する。 Examples of the present invention will be described below.

第1図は本発明による監視回路の一実施例を示し、ビッ
ト遅延回路を監視する場合の例を示す。
FIG. 1 shows an embodiment of a monitoring circuit according to the present invention, and shows an example of monitoring a bit delay circuit.

第2図と同じ構成要素については同一番号を付し説明は
省略する。なお、ここでは基準信号1がNビットの周期
を有し、Nが偶数の場合について説明する。102は第
一の反転回路でディジタル信号2と第一の計数結果3と
を基準信号lの周期を1周期単位としてここでは2周期
に1周期だけデータの°°1”、“0#を反転させ9反
転されたディジタル信号2と第一の計数結果3′とを出
力する。
Components that are the same as those in FIG. 2 are given the same numbers and their explanations will be omitted. Here, a case will be explained in which the reference signal 1 has a period of N bits, and N is an even number. 102 is a first inverting circuit which inverts the digital signal 2 and the first counting result 3 by using the period of the reference signal l as a period unit, and inverts the data °°1" and "0# only once every two periods. 9 outputs the inverted digital signal 2 and the first counting result 3'.

したがって、ビット遅延回路103は基準信号1と反転
されたディジタル信号2と共に1反転された第一の計数
結果子を一定量だけビット単位で遅らせ、それぞれ基準
信号411反転れたディジタル信号5′及び反転された
第一の計数結果6′を出力する。104は第二の反転回
路であり、基準信号40周期を1周期単位とし、第1の
反転回路102と同様、2周期に1周期だけデータの°
11#。
Therefore, the bit delay circuit 103 delays the reference signal 1, the inverted digital signal 2, and the inverted first count resultant by a fixed amount bit by bit, respectively. The first counting result 6' is output. 104 is a second inverting circuit, which uses 40 cycles of the reference signal as a unit of one cycle, and similarly to the first inverting circuit 102, it inverts data only once every two cycles.
11#.

“′0パを反転させる。このことにより、ディジタル信
号5′と第一の計数結果6′とを再び反転させてディジ
タル信号5と第一の計数結果6とを出力する。
"0P is inverted. As a result, the digital signal 5' and the first count result 6' are inverted again, and the digital signal 5 and the first count result 6 are output.

次に、この回路の動作について説明する。Next, the operation of this circuit will be explained.

ディジタル信号2の°1″又は0″の数を基準信号1の
周期毎に第一の計数回路101によって第一の計数結果
3を得る。この第一の計数結果3とディジタル信号2と
は第1の反転回路102により基準信号1の周期を1周
期単位として2周期だけデータの°“1”、“′O#が
反転され、更に基準信号1と共にビット遅延回路103
により一定量だけビット単位で遅延される。第2の反転
回路104はビット遅延回路103出力である基準信号
4の1周期を1周期単位としてディジタル信号5′と第
一の計数結果 6′とを再び反転してディジタル信号5
と第一の計数結果6とを出力する。第2の計数回路10
6は再反転されたディジタル信号5の“′1″′又は“
0”数を基準信号4の周期毎に再び計数して第二の計数
結果7を出力する。この第二の計数結果7と第一の計数
結果6とを比較回路105によって比較する11により
ビット遅延回路103の監視ができる。
A first counting result 3 is obtained from the number of degrees 1'' or 0'' of the digital signal 2 by the first counting circuit 101 every cycle of the reference signal 1. The first counting result 3 and the digital signal 2 are inverted by the first inverting circuit 102 by two periods with the period of the reference signal 1 as one period unit, and further converted into a reference signal. Bit delay circuit 103 along with signal 1
is delayed by a fixed amount in bits. The second inverting circuit 104 inverts the digital signal 5' and the first counting result 6' again, using one period of the reference signal 4 output from the bit delay circuit 103 as a period unit, and converts the digital signal 5' into the digital signal 5.
and the first counting result 6 are output. Second counting circuit 10
6 is "'1"' or " of the re-inverted digital signal 5.
0'' is counted again every cycle of the reference signal 4 and outputs the second counting result 7. This second counting result 7 and the first counting result 6 are compared by the comparator circuit 105. The delay circuit 103 can be monitored.

即ち、ビット遅延回路103においてディジクル信号5
1と第一の計数結果6′とが°′】″又i’ ” o 
”に固定されても、第二の反転回路104によってディ
ジクル信号5と第一の割数結果6ば1周期毎に“′1”
と0”を繰り返す信号となる。この結果、ディジタル信
号5の” 1 ”又はII OrHの数を再び基準信号
4の周期毎に第二の計数回路106によって割数し得た
第二の割数結果7ば、第一の割数結果6と比較回路10
5で比較すると2周期に1周期は必ず誤っており、確実
に誤りを検出できる。
That is, in the bit delay circuit 103, the digital signal 5
1 and the first counting result 6' are °'】"alsoi'" o
”, the second inverting circuit 104 converts the digital signal 5 and the first division result 6 to “’1” every cycle.
As a result, the second divisor obtained by dividing the number of "1" or II OrH of the digital signal 5 by the second counting circuit 106 every period of the reference signal 4 is obtained. The result 7 is the first divisor result 6 and the comparison circuit 10.
5, there is always an error in one out of every two cycles, and errors can be detected reliably.

なお、上記説明ではバッファ回路としてビット遅延回路
について説明したが、フレーム整合回路。
In the above description, a bit delay circuit was explained as a buffer circuit, but a frame matching circuit is used as a buffer circuit.

フレーム変換回路等であってもビット遅延回路と同様に
監視できることは明らかである。壕だ、上記説明はNが
偶数の場合についてであるが、Nが奇数の場合について
は、第一の反転回路102と第二の反転回路104でデ
ィジタル信号列のみを2周期に1周期だけ反転させ、第
1の計数結果3は第1の反転回路102.ビット遅延回
路103゜第2の反転回路104をバイパスさせる事に
よって対応できる事は容易に類推できる。
It is clear that even a frame conversion circuit or the like can be monitored in the same way as a bit delay circuit. The above explanation is for the case where N is an even number, but when N is an odd number, the first inversion circuit 102 and the second inversion circuit 104 invert only the digital signal train by one period every two periods. and the first counting result 3 is transferred to the first inverting circuit 102. It can be easily inferred that this can be handled by bypassing the bit delay circuit 103 and the second inverting circuit 104.

以上のように1本実施例ではバッファ回路を監視する過
程で少なくともディジタル信号列を2周期に1周期だけ
反転させる事によってバッファ回路の主信号を簡単且つ
確実に監視することができる。
As described above, in this embodiment, the main signal of the buffer circuit can be easily and reliably monitored by inverting at least one period every two periods of the digital signal train in the process of monitoring the buffer circuit.

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

以上説明したように本発明はディジタル信号のパ1″′
又は′0″′の数をNビット単位に計数し。
As explained above, the present invention is applicable to
Or count the number of '0''' in N bit units.

この計数結果とディジタル信号のうち少なくともディジ
タル信号をNビット周期を1周期単位としてM周期にL
周期だけデータのパ1″j 、 (I Q″″を反転さ
せる事によって、ディジクル信号をビット内。
This counting result and at least the digital signal are divided into M periods with N bit periods as one period unit.
By inverting the period of the data P1''j, (IQ'''', the digital signal is converted into bits.

ビット単位で制御するビット遅延回路、フレーム整合回
路、フレーム変換回路等のバッファ回路内の主信号を簡
単且つ確実に監視することができる。
Main signals in buffer circuits such as bit delay circuits, frame matching circuits, frame conversion circuits, etc. that are controlled in units of bits can be easily and reliably monitored.

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

第1図は本発明による監視回路の一実施例を示すブロッ
ク図で、第2図は従来の監視回路のブロック図。 図中、101は第1の計数回路、1o2は第1の反転回
路、103はビット遅延回路、1o4は第2の反転回路
、105は比較回路、1o6は第2の割数回路。
FIG. 1 is a block diagram showing an embodiment of a monitoring circuit according to the present invention, and FIG. 2 is a block diagram of a conventional monitoring circuit. In the figure, 101 is a first counting circuit, 1o2 is a first inversion circuit, 103 is a bit delay circuit, 1o4 is a second inversion circuit, 105 is a comparison circuit, and 1o6 is a second divisor circuit.

Claims (1)

【特許請求の範囲】[Claims] 1、ディジタル信号列の“1”又は“0”の数をNビッ
ト単位(N:自然数)毎に計数する第一の計数回路と、
前記ディジタル信号列をNビット周期を1周期単位とし
てM周期(M:自然数)にL周期(M:自然数、M>L
)だけデータの“1”“0”を反転する第一の反転回路
と、反転回路出力信号列を入力としてタイミングの制御
を行うバッファ回路と、該バッファ回路出力を再反転す
る第二の反転回路と、該第二の反転回路より出力される
前記ディジタル信号列の“1”又は“0”の数をNビッ
ト単位毎に計数する第二の計数回路と、前記第一の計数
結果と前記第二の計数回路の第二の計数結果とを比較す
る比較回路とを有する事を特徴とする監視回路。
1. A first counting circuit that counts the number of "1" or "0" in a digital signal string every N bits (N: natural number);
The digital signal string is divided into M periods (M: natural number) and L periods (M: natural number, M>L) with N bit periods as one period unit.
), a buffer circuit that inputs the inversion circuit output signal sequence and controls timing, and a second inversion circuit that re-inverts the output of the buffer circuit. a second counting circuit that counts the number of "1"s or "0"s in the digital signal string outputted from the second inverting circuit in units of N bits; A monitoring circuit comprising: a comparison circuit for comparing the second counting result of the second counting circuit.
JP60151210A 1985-07-11 1985-07-11 Supervisory circuit Granted JPS6213139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60151210A JPS6213139A (en) 1985-07-11 1985-07-11 Supervisory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60151210A JPS6213139A (en) 1985-07-11 1985-07-11 Supervisory circuit

Publications (2)

Publication Number Publication Date
JPS6213139A true JPS6213139A (en) 1987-01-21
JPH0466140B2 JPH0466140B2 (en) 1992-10-22

Family

ID=15513641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60151210A Granted JPS6213139A (en) 1985-07-11 1985-07-11 Supervisory circuit

Country Status (1)

Country Link
JP (1) JPS6213139A (en)

Also Published As

Publication number Publication date
JPH0466140B2 (en) 1992-10-22

Similar Documents

Publication Publication Date Title
US4670880A (en) Method of error detection and correction by majority
JPS6213139A (en) Supervisory circuit
JP3217993B2 (en) Parity check circuit
JPS62293441A (en) Data outputting system
JPH03191616A (en) Counter circuit
JP2619939B2 (en) Synchronous pattern detection circuit
JPH02257333A (en) N-bit coincidence detecting circuit
JPS63312754A (en) Error generation circuit
JP2759607B2 (en) Synchronous signal detection device
JPS6314543A (en) Serial/parallel converting circuit
KR950007439B1 (en) Receiving data error correction circuit of data communication device
JPH03256421A (en) Slip detection circuit
JPS63121999A (en) Output decision circuit for s/d converter
JPH02250442A (en) Signal missing release condition detector
JPS62120742A (en) Code error detection circuit
JPS62229335A (en) Address comparator
JPS6195649A (en) Mark rate detection circuit
JPS61158232A (en) Sequential preamble signal detecting circuit
JPH0453327B2 (en)
JPH03135644A (en) Data bit check circuit
JPS6339045A (en) Error detecting device
JPS62232016A (en) Clock break detecting circuit
JPH0364213A (en) Counter checking circuit
JPS61161026A (en) Code error detection circuit
JPH02241291A (en) Television signal detection circuit