JPH01174135A - Error detecting circuit - Google Patents

Error detecting circuit

Info

Publication number
JPH01174135A
JPH01174135A JP33281587A JP33281587A JPH01174135A JP H01174135 A JPH01174135 A JP H01174135A JP 33281587 A JP33281587 A JP 33281587A JP 33281587 A JP33281587 A JP 33281587A JP H01174135 A JPH01174135 A JP H01174135A
Authority
JP
Japan
Prior art keywords
code
value
output
error
circuit
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
JP33281587A
Other languages
Japanese (ja)
Inventor
Takashi Kiriyama
桐山 隆
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 JP33281587A priority Critical patent/JPH01174135A/en
Publication of JPH01174135A publication Critical patent/JPH01174135A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To detect an error not detected by parity check by adding a simple hardware comprising an FF circuit, a subtractor, an absolute value converting circuit, a code comparator, an error permissible value output device and a comparator. CONSTITUTION:A code inputted to a reception terminal A is latched by an FF circuit 2 and a difference between the existing code from the reception terminal A and a preceding code being an output of the FF circuit 2 is obtained by a subtractor 3. Moreover, the sign of the existing code and the preceding code is compared by a sign comparator 4 and the allowable value of the sign error is outputted from an error permissible value output device 5 based on the said output. The output of the subtractor 3 is supplied to a comparator 6 via an absolute value converting circuit 1, compared with the output of the error permissible value output device 5 to detect whether or not the existing sign has an error.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は誤り検出回路に関し、特にアナログ−ディジタ
ル変換され、伝送されて来るディジタル信号としての符
号の誤りを検出する回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an error detection circuit, and more particularly to a circuit for detecting errors in a code as a digital signal that is analog-to-digital converted and transmitted.

以下永日 〔従来の技術〕 従来、アナログ−ディジタル変換(A/D変換)されて
伝送されて来るディジタル信号の符号の誤り検出回路と
しては、1ピツトの誤り訂正用冗長ビットを付加するパ
リティ検査回路がある。
[Prior Art] Conventionally, as an error detection circuit for the code of a digital signal that is transmitted after being analog-to-digital converted (A/D converted), a parity check circuit that adds one redundant bit for error correction has been used. There is a circuit.

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

上述した従来のパリティ検査回路では、奇数個のビット
誤りは検出できるが、偶数個のビット誤りは検出不可能
であった。偶数個のビット誤りも誤り訂正用冗長ビット
を増せば検出可能となるが、ハードウェアが増加し、か
つ符号長が長くなるため、伝送容量がその分多く必要と
なる問題点がある。
The conventional parity check circuit described above can detect odd bit errors, but cannot detect even bit errors. Even-numbered bit errors can be detected by increasing the number of redundant bits for error correction, but this increases the amount of hardware and increases the code length, which poses the problem of requiring a correspondingly larger transmission capacity.

本発明は従来のもののこのような問題点を解決しようと
するもので、パリティ検査でも検出不可能な誤りについ
ても、簡単なハードウェアを追加すること(こより検出
可能な誤り訂正回路乞提供するものである。
The present invention attempts to solve these problems of the conventional method by adding simple hardware (thereby providing an error correction circuit that can detect errors that cannot be detected even by parity checking). It is.

以下余日 〔問題点を解決するための手段〕 本発明C二よる誤り検出回路は2周波数fcで帯域制限
を行なったアナログ信号に対しfcのH倍(ただしH≧
2)の周波数でアナログ−ディジタル変換して得たディ
ジタル信号としての符号の誤りを検出するための誤り検
出回路であって。
In the following, [Means for solving the problem] The error detection circuit according to the present invention C2 is applied to an analog signal band-limited at two frequencies fc (H times fc (however, H≧
2) is an error detection circuit for detecting an error in a code as a digital signal obtained by analog-to-digital conversion at the frequency.

前記符号を受信する受信端子と、前記受信端子に接続さ
れ前記符号値を保持するためのフリップ・フロップ回路
と、前記受信端子とフリップ・フロップ回路に接続し前
記受信端子からの現符号値と前記フリップ・フロップ回
路の出力である前符号値との差を求めるための減算器お
よび前記現符号値と前符号値の符号?比較するための符
号比較器と、前記符号比較器に接続され符号比較器の出
力により前記の現符号値と前符号値の符号関係およびア
ナログ−ディジタル変換器のダイナミックレンジMと前
記Hの値よりπ M   ゛ 求まる2種の符号誤差許容値M−stn T+ 2・s
ln幻のどちらかセ選択し出力する誤差許容値出力器と
、前記減算器に接続され減算器からの出力である差分の
絶対値を求めるための絶対値変換回路と、前記誤差許容
値出力器からの出力と前記絶対値変換回路からの出力で
ある絶対値とを比較し絶対値が誤差許容値より大である
とき(=現符号に誤りがあることを検出する比較器とを
含んで構成される。
a receiving terminal for receiving the code; a flip-flop circuit connected to the receiving terminal for holding the code value; and a flip-flop circuit connected to the receiving terminal and the flip-flop circuit for receiving the current code value from the receiving terminal and the A subtractor for calculating the difference between the previous code value, which is the output of the flip-flop circuit, and the sign of the current code value and the previous code value. a code comparator for comparison; and a code comparator connected to the code comparator to determine the sign relationship between the current code value and the previous code value and the dynamic range M of the analog-to-digital converter and the value of the H value by the output of the code comparator. π M ゛ Two types of sign error tolerance M-stn T+ 2・s
an error tolerance output device that selects and outputs either one of the subtractors; an absolute value conversion circuit that is connected to the subtracter and that determines the absolute value of the difference output from the subtracter; and the error tolerance output device and a comparator that compares the output from the absolute value converter with the absolute value that is the output from the absolute value conversion circuit and detects that the absolute value is larger than the error tolerance (= there is an error in the current code) be done.

〔実施例〕〔Example〕

次に2本発明について図面を参照して説明する。 Next, two aspects of the present invention will be explained with reference to the drawings.

第1図は本発明の誤り検出回路の一実施例のブロック構
成図、第2図はA/D変換前のアナログ原信号を示す図
である。第1図において。
FIG. 1 is a block diagram of an embodiment of the error detection circuit of the present invention, and FIG. 2 is a diagram showing an analog original signal before A/D conversion. In FIG.

2は受信端子Aに接続されたフリップ・フロップ回路で
あり、受信端子Aに接続された符号を保持するためのも
のである。5は受信端子A及びフリップ・フロップ回路
2に接続された減算器であり、受信端子Aからの現符号
値とフリップ・フロップ回路2の出力である前符号値と
の差を求めるためのものである。4は減算器5と同様受
信端子A及びフリップ・フロップ回路2(=接続され、
現符号値と前符号値の符号を比較するための符号比較器
である。5は符号比較器4の出力を基に符号誤差の許容
値を出力する誤差許容値出力器である。1は前記減算器
3に接続され、減算器3からの出力である差分の絶対値
を求めるための絶対値変換回路である。6は絶対値変換
回路1と誤差許容値出力器5に接続された比較器であり
、父、第2図中のy (t)は受信端子Aに入力される
A/D変換変換子ナログ原信号である。
A flip-flop circuit 2 is connected to the receiving terminal A, and is used to hold the code connected to the receiving terminal A. 5 is a subtracter connected to the receiving terminal A and the flip-flop circuit 2, and is used to find the difference between the current code value from the receiving terminal A and the previous code value which is the output of the flip-flop circuit 2. be. Similar to the subtracter 5, 4 is connected to the receiving terminal A and the flip-flop circuit 2 (= connected,
This is a code comparator for comparing the signs of the current code value and the previous code value. Reference numeral 5 denotes an error tolerance output device that outputs a tolerance value for code errors based on the output of the code comparator 4. Reference numeral 1 denotes an absolute value conversion circuit connected to the subtracter 3 for determining the absolute value of the difference output from the subtracter 3. 6 is a comparator connected to the absolute value conversion circuit 1 and the error tolerance output device 5, and y (t) in FIG. It's a signal.

まず、第1図の受信端子Aに受信される符号について第
2図を参照して説明する。なお、第2図に示す原信号Y
 (t)とは周波数f。で帯域制限を受けた後のアナロ
グ信号である。ここでは。
First, the codes received at the receiving terminal A in FIG. 1 will be explained with reference to FIG. 2. In addition, the original signal Y shown in Fig. 2
(t) is the frequency f. This is the analog signal after being band-limited. here.

同図の原信号Y (t)を周波数fcのH倍(ただしH
≧2)の周波数でサンプリングし、アナログ−ディジタ
ル変換を行なった符号が第1図の受信端子Aに受信され
るものとする。上記周波数fcのH倍のサンプリング周
波数でアナログ−ディジタル変換を行なった場合、第2
図の原信号Yy(ti)、 y(ti++)ノ差の絶対
値(同図の2)は、アナログ−ディジタル変換器のダイ
ナミックレンジなMとし、サンプル値Y(tz) r 
Y(ti++ )の符号f Si + Si+1とする
と、以下に示すような特徴がある。
The original signal Y (t) in the same figure is multiplied by H times the frequency fc (however, H
It is assumed that a code sampled at a frequency of ≧2) and subjected to analog-to-digital conversion is received at receiving terminal A in FIG. When analog-to-digital conversion is performed at a sampling frequency that is H times the frequency fc above, the second
The absolute value of the difference between the original signals Yy(ti) and y(ti++) in the figure (2 in the figure) is the dynamic range M of the analog-to-digital converter, and the sample value Y(tz) r
Assuming that the sign of Y(ti++) is f Si + Si+1, there are the following characteristics.

81\S1+1  の場合 2≦M・8in(−#)・
・・(1)M       2π 51=Si+1  の場合 Z≦7− s 1n (T
 ) −(2)尚、第2図は周波数fo(ただしfo=
fc)の正弦波(Y(t)= sin 2 πf□ t
 )であ1几この原信号して示しである。
81\S1+1 case 2≦M・8in(-#)・
...(1) When M 2π 51=Si+1 Z≦7− s 1n (T
) - (2) In addition, Fig. 2 shows the frequency fo (however, fo =
fc) sine wave (Y(t) = sin 2 πf□ t
) shows this original signal.

本発明は、前記の特徴を基に、パリティ検査回路では検
出できない偶数個のピット誤りについても以下の手順で
誤りを検出しようとするものである。
Based on the above characteristics, the present invention attempts to detect even-numbered pit errors that cannot be detected by a parity check circuit using the following procedure.

まず、上述した隣接するサンプル値の差の絶対値2につ
いての(1) 、 (2)式に示した特徴に注目し、第
1図のフリップ・フロップ回路2と減算器3を用い、前
符号値と現符号値の差を求めた後、絶対値変換回路1に
より絶対値2を求める。
First, by paying attention to the features shown in equations (1) and (2) regarding the absolute value 2 of the difference between adjacent sample values mentioned above, and using the flip-flop circuit 2 and subtractor 3 shown in FIG. After determining the difference between the value and the current code value, the absolute value conversion circuit 1 determines the absolute value 2.

さらに、符号比較器4を用い、前符号値と現符号値の符
号Si 、 Si+1を比較し、  Si!XSi+1
ならば、同図の誤差許容値出力器5より(1)式に足し
た許容値Main()を出力し、  5i=Si+1な
らM   。
Furthermore, using the code comparator 4, the codes Si and Si+1 of the previous code value and the current code value are compared, and Si! XSi+1
Then, the error tolerance value output device 5 in the figure outputs the tolerance value Main() added to equation (1), and if 5i=Si+1, then M.

ば同出力器5より(2)式に足した許容値ブ・B1n2
π Tを出力する。最後に、比較器6を用い、上述の減算器
6と絶対値変換回路1により求めた前符号値と現符号値
との差の絶対値2が、誤差許容値出力器5から出力され
る許容値より大きいかどうかを判断し、大きければ同図
の出力端子Bにエラー信号を出力する。
For example, the allowable value B1n2 added to equation (2) from the same output device 5
Output πT. Finally, using the comparator 6, the absolute value 2 of the difference between the previous code value and the current code value obtained by the above-mentioned subtracter 6 and absolute value conversion circuit 1 is outputted from the error tolerance value output device 5. It is determined whether it is larger than the value, and if it is larger, an error signal is output to output terminal B in the figure.

以上の処理を行なうことにより、パリティ検査で検出不
可能な符号中の偶数個のピット誤りについても、上述し
た特徴((1)、C2)式)を満足しないような大きな
誤り(隣接するサンプル値の差の絶対値が前記Zmax
以上となる誤り)については、検出可能とすることがで
きる。
By performing the above processing, even the even-numbered pit errors in the code that cannot be detected by parity checking can be treated as large errors (adjacent sample values The absolute value of the difference is the Zmax
The above errors) can be made detectable.

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

以上説明したように本発明は、パリティ検査で検出不可
能な誤りについても、簡単なハードウェア乞追加するこ
とにより検出可能とすることができる効果がある。
As explained above, the present invention has the advantage that even errors that cannot be detected by parity checking can be made detectable by adding simple hardware.

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

第1図は本発明の誤り検出回路の一実施例のブロック構
成図、第2図は周波数fcで振幅M(M:A/Dのダイ
ナミックレンジ)のA/D変換前のアナログ原信号2示
す図である。 1・・・絶対値変換回路、2・・・フリップ・フロップ
回路、5・・・減算器、4・・・符号比較器、5・・・
誤差許容値出力器、6・・・比較器。 第1図 第2図
Fig. 1 is a block diagram of an embodiment of the error detection circuit of the present invention, and Fig. 2 shows an analog original signal 2 before A/D conversion with frequency fc and amplitude M (M: A/D dynamic range). It is a diagram. DESCRIPTION OF SYMBOLS 1...Absolute value conversion circuit, 2...Flip-flop circuit, 5...Subtractor, 4...Sign comparator, 5...
Error tolerance value output device, 6... comparator. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1、周波数f_cで帯域制限を行なったアナログ信号に
対しf_cのH倍(ただしH≧2)の周波数でアナログ
−ディジタル変換して得たディジタル信号としての符号
の誤りを検出するための誤り検出回路であって、前記符
号を受信する受信端子と、前記受信端子に接続され前記
符号値を保持するためのフリップ・フロップ回路と、前
記受信端子とフリップ・フロップ回路に接続し前記受信
端子からの現符号値と前記フリップ・フロップ回路の出
力である前符号値との差を求めるための減算器および前
記現符号値と前符号値の符号を比較するための符号比較
器と、前記符号比較器に接続され符号比較器の出力によ
り前記の現符号値と前符号値の符号関係およびアナログ
−ディジタル変換器のダイナミックレンジMと前記Hの
値より求まる2種の符号誤差許容値M・sin(π/H
)、(M/2)・sin(2π/H)のどちらかを選択
して出力する誤差許容値出力器と、前記減算器に接続さ
れ減算器からの出力である差分の絶対値を求めるための
絶対値変換回路と、前記誤差許容値出力器と前器絶対値
変換回路に接続され前記誤差許容値出力器からの出力と
前記絶対値変換回路からの出力である絶対値とを比較し
絶対値が誤差許容値より大であるときに現符号に誤りが
あることを検出する比較器とを含むことを特徴とする誤
り検出回路。
1. Error detection circuit for detecting code errors in digital signals obtained by performing analog-to-digital conversion on analog signals band-limited at frequency f_c at a frequency H times f_c (however, H≧2) a receiving terminal for receiving the code; a flip-flop circuit connected to the receiving terminal for holding the code value; and a flip-flop circuit connected to the receiving terminal and the flip-flop circuit for receiving the current from the receiving terminal. a subtracter for finding a difference between a code value and a previous code value that is the output of the flip-flop circuit; a code comparator for comparing the signs of the current code value and the previous code value; Two types of code error tolerance values M・sin(π/ H
), (M/2)・sin(2π/H), and an error tolerance output device that selects and outputs either of them, and is connected to the subtracter to obtain the absolute value of the difference output from the subtracter. The absolute value conversion circuit is connected to the error tolerance value output device and the previous unit absolute value conversion circuit, and the output from the error tolerance value output device is compared with the absolute value that is the output from the absolute value conversion circuit. and a comparator that detects that there is an error in the current code when the value is greater than an error tolerance value.
JP33281587A 1987-12-28 1987-12-28 Error detecting circuit Pending JPH01174135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33281587A JPH01174135A (en) 1987-12-28 1987-12-28 Error detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33281587A JPH01174135A (en) 1987-12-28 1987-12-28 Error detecting circuit

Publications (1)

Publication Number Publication Date
JPH01174135A true JPH01174135A (en) 1989-07-10

Family

ID=18259111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33281587A Pending JPH01174135A (en) 1987-12-28 1987-12-28 Error detecting circuit

Country Status (1)

Country Link
JP (1) JPH01174135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04280122A (en) * 1991-03-07 1992-10-06 Matsushita Electric Ind Co Ltd Voice decoder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04280122A (en) * 1991-03-07 1992-10-06 Matsushita Electric Ind Co Ltd Voice decoder

Similar Documents

Publication Publication Date Title
US6222477B1 (en) Cascade A/D converter
EP0282154A2 (en) Analog-to-digital converter with error checking and correction circuits
PT91752B (en) PROCESS AND ARRANGEMENT FOR POLAR SIGNAL LOGARITHMIC PROCESSING
KR970022357A (en) Conversion characteristics test circuit and method of analog digital converter
JP2000121387A (en) Detecting method for phase angle of position transmitting apparatus for transmission of sine output signal
US5912638A (en) Direct resolver to digital converter
US6831576B2 (en) A/D converter with improved resolution by sampling a superposed signal
EP0085515A1 (en) Encoder apparatus for transmitting binary data and transmitting and receiving apparatus
US6359942B1 (en) FSK demodulator
JPH01174135A (en) Error detecting circuit
US4910517A (en) Digital data detector
US6229386B1 (en) Digital FM demodulation circuit
US4328584A (en) Method and arrangement for supervising signal amplitude converters
JPS63221728A (en) Error detecting circuit
JPH01165234A (en) Circuit for detecting transmission error and overload
US4924314A (en) Semiconductor device containing video signal processing circuit
JPS62136129A (en) Test method for analog-digital converter
JPS63263930A (en) Error detection circuit
JPS6232724A (en) Analog/digital converter
US4441194A (en) Triple bit non-coherent matched filter receiving system
JP2735076B2 (en) Test method for analog / digital converter
JPS63119331A (en) Multilevel discriminating system
JPH01300744A (en) Signal discrimination circuit
US20040189498A1 (en) Digital equalization apparatus
JP3202390B2 (en) Waveform observation device