[go: up one dir, main page]

JPH0294921A - Bit error correcting circuit - Google Patents

Bit error correcting circuit

Info

Publication number
JPH0294921A
JPH0294921A JP24651488A JP24651488A JPH0294921A JP H0294921 A JPH0294921 A JP H0294921A JP 24651488 A JP24651488 A JP 24651488A JP 24651488 A JP24651488 A JP 24651488A JP H0294921 A JPH0294921 A JP H0294921A
Authority
JP
Japan
Prior art keywords
data
circuit
parity
bit
identification
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
JP24651488A
Other languages
Japanese (ja)
Inventor
Masao Yamazaki
山嵜 正男
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 JP24651488A priority Critical patent/JPH0294921A/en
Publication of JPH0294921A publication Critical patent/JPH0294921A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To correct a bit error with the minimum parity bits by defining undefined data, which cannot be defined in an identification circuit, as correct data by a parity operation using the parity bits. CONSTITUTION:An identification circuit 2 outputs an 'H' signal when the input data is recognized as 'high' and outputs 'L' data to an output terminal 25 when the above-mentioned data is recognized as either 'medium' or 'low'. Further, when the data is recognized as 'medium', the identification circuit 2 simultaneously outputs an 'H' pulse as the undefined data from a detecting terminal 24. Further, in an error correcting circuit 5, 'H' or 'L' definition for the undefined data is executed from a parity counted result in a parity arithmetic circuit 4, and an error in an undefined bit is corrected when the data is outputted from a data memory 3. Thus, the error can be corrected with the minimum parity bits without adding any special additional bit.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディジタル信号の伝送を行う無線装置に関し、
特にデータのビットエラーを検出して補正する回路に関
する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a wireless device that transmits digital signals;
In particular, the present invention relates to a circuit that detects and corrects bit errors in data.

〔従来の技術] 従来、この種の無線装置においてビットエラーの補正を
行うためには、情報ビットの他にパリティビットを多数
挿入し、伝送路において発生したデータエラーを検出し
て補正を行っていた。
[Prior Art] Conventionally, in order to correct bit errors in this type of wireless device, a large number of parity bits are inserted in addition to information bits, and data errors occurring in the transmission path are detected and corrected. Ta.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のビットエラー補正においては、情報ビッ
トの誤りを検出し補正するためには、パリティピットを
多く必要とし、データの冗長度が増すという問題がある
The above-described conventional bit error correction requires a large number of parity pits in order to detect and correct errors in information bits, resulting in an increase in data redundancy.

本発明は少ないパリティピットでビットエラーの補正を
可能とするビットエラー補正回路を提供することを目的
とする。
An object of the present invention is to provide a bit error correction circuit that can correct bit errors with a small number of parity pits.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のビットエラー補正回路は、人力されたディジタ
ルデータを°“高”“中”“′低゛の3値に識別し、゛
高”“低°′に対応する識別データを出力すると同時に
“中゛′を識別したときに不確定データを出力する識別
回路と、この識別回路の出力データを記憶するデータメ
モリと、この出力デー夕のパリティを計数するパリティ
演算回路と、前記データメモリ、パリティ演算回路から
の出力データと前記識別回路からの不確定データとで該
不確定データを“高”“低パの何れかに対応するデータ
に確定するエラー補正回路とを備えている。
The bit error correction circuit of the present invention distinguishes manually entered digital data into three values: "high", "medium", and "'low", and outputs identification data corresponding to "high" and "low" at the same time. an identification circuit that outputs uncertain data when identifying a medium, a data memory that stores the output data of this identification circuit, a parity calculation circuit that counts the parity of this output data, and the data memory and parity The apparatus includes an error correction circuit that determines the uncertain data as data corresponding to either "high" or "low" using the output data from the arithmetic circuit and the uncertain data from the identification circuit.

〔作用〕[Effect]

上述した構成では、識別回路で確定することができない
不確定データを、パリティビットを利用したパリティ演
算により正しいデータとして確定でき、ビットエラー補
正を少ないパリティビットで実現できる。
With the above configuration, uncertain data that cannot be determined by the identification circuit can be determined as correct data by parity calculation using parity bits, and bit error correction can be realized with a small number of parity bits.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例の全体構成を示すブロック図
である。図において、■は伝送路を介した後の受信部の
データ入力端子、2は入力データの電圧値を、高(H)
、中(M)、低(L)の3値に識別する識別回路、3は
識別されたデータの1フレ一ム分を記憶するデータメモ
リ、4は識別データのパリティカウントをするための演
算回路、5は識別回路2と演算回路4の結果からメモリ
3のデータを補正するエラー補正回路、6はデータ出力
端子である。
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention. In the figure, ■ is the data input terminal of the receiving section after passing through the transmission path, and 2 is the voltage value of the input data, which is set to high (H).
, medium (M), and low (L); 3 is a data memory that stores one frame of the identified data; 4 is an arithmetic circuit for counting the parity of the identified data. , 5 is an error correction circuit that corrects the data in the memory 3 based on the results of the identification circuit 2 and the arithmetic circuit 4, and 6 is a data output terminal.

前記識別回路は、第2図に示すように、データ入力端子
1に対して、異なる閾値電圧VLhl+■いz  (V
th+ >Vい2)に設定した電圧コンパレータ21,
22を並列接続し、これらの出力を巳ORゲート(排他
的論理和)23を通して不確定データ検出端子24に出
力する。また、電圧コンパレータ21の出力は識別デー
タ出力端子25に出力する。
As shown in FIG. 2, the identification circuit has different threshold voltages VLhl+
Voltage comparator 21 set to th+ > V2),
22 are connected in parallel, and their outputs are outputted to the uncertain data detection terminal 24 through the OR gate (exclusive OR) 23. Further, the output of the voltage comparator 21 is output to the identification data output terminal 25.

次に本実施例における回路動作について説明する。Next, the circuit operation in this embodiment will be explained.

データ入力端子1に入力されたデータは、電圧コンパレ
ータ21,22で電圧比較される。このとき、コンパレ
ータ21,22の閾値電圧VLhl+Vい2により、第
3図に示すように、データの入力電圧を■とすると、V
>VLh+ のとき“高”v > v thzのとき“
低” 、 V tht < V < V Lh+のとき
“中”として識別回路において認識する。
Data input to the data input terminal 1 is voltage-compared by voltage comparators 21 and 22. At this time, with the threshold voltage VLhl+V2 of the comparators 21 and 22, as shown in FIG. 3, if the data input voltage is
"High" when > VLh+ " When v > v thz"
When V tht < V < V Lh+, the identification circuit recognizes it as "medium".

そして、入力されたデータが“高”として認識されたと
きに“H″″の信号を出力し、また、データが゛中゛又
は“低”°として認識されたときにパL°″のデータを
出力端子25に出力する。また、データが“中”として
認識されたときには、同時に不確定データとして“H+
+のパルスを検出端子24から出力する。
When the input data is recognized as "high", it outputs a "H" signal, and when the input data is recognized as "medium" or "low", it outputs a signal of "L". is output to the output terminal 25. Also, when the data is recognized as “medium”, it is also recognized as “H+” as uncertain data.
A + pulse is output from the detection terminal 24.

更に、出力端子25から出力されたデータは、−旦デー
タメモリ3に記憶され、lフレーム単位でエラー補正回
路5に送られる。同時に出力端子11から出力された不
確定データもエラー補正回路5に送られる。そして、エ
ラー補正回路5において1フレームデータ中の不確定ビ
ットの位置が認識される。第4図は不確定ビットが1フ
レームに1ビツト生じた例を示す。
Further, the data outputted from the output terminal 25 is stored in the data memory 3 once and sent to the error correction circuit 5 in l frame units. At the same time, uncertain data output from the output terminal 11 is also sent to the error correction circuit 5. Then, the error correction circuit 5 recognizes the position of the uncertain bit in one frame data. FIG. 4 shows an example in which one undefined bit occurs in one frame.

一方、1フレーム中の最後にはパリティビットが1ビツ
ト付加されており、パリティ演算回路4においてデータ
の“HIIの数の計数結果とパリティビットとの比較に
より1フレーム中のデータエラーの有無を検出する。
On the other hand, one parity bit is added at the end of one frame, and the parity calculation circuit 4 detects whether there is a data error in one frame by comparing the result of counting the number of HIIs in the data with the parity bit. do.

そして、エラー補正回路5では、■フレームに1個の不
確定データが検出されると、パリティ演算回路4におけ
るパリティの計数結果から不確定データの“11”、L
゛の確定がエラー補正回路5で行われる。不確定ビット
の位置は前記不確定ビット検出パルスのタイミングによ
り認識されているので、データメモリからデータを出力
する際に不確定ビットのエラー補正が5において行われ
、エラー補正されたデータが出力端子6から順次出力さ
れる。
Then, in the error correction circuit 5, when one piece of uncertain data is detected in the frame (1), from the parity counting result in the parity calculation circuit 4, the uncertain data is "11", L
is determined by the error correction circuit 5. Since the position of the uncertain bit is recognized by the timing of the uncertain bit detection pulse, error correction of the uncertain bit is performed in step 5 when outputting data from the data memory, and the error-corrected data is sent to the output terminal. It is output sequentially from 6 onwards.

第5図は本実施例におけるエラー改善効果を示す図であ
る。伝送路にガウス性のノイズが混入すると仮定すると
、本来のデータの“L ”又は“H”に対して識別回路
にはP (L) +  P fl+1の確立で電圧が入
力される。電圧識別が2値の場合はスレショルドはV/
2が最適で、このときの電界効果識別エラー確立は、図
のA(右下斜線)、B(右上斜線)の領域を合わせた領
域となる。
FIG. 5 is a diagram showing the error improvement effect in this embodiment. Assuming that Gaussian noise is mixed into the transmission path, a voltage is input to the identification circuit with a probability of P (L) + P fl + 1 for original data "L" or "H". If the voltage discrimination is binary, the threshold is V/
2 is optimal, and the field effect discrimination error probability in this case is the combined area of A (lower right diagonal line) and B (upper right diagonal line) in the figure.

これに対し、本発明のように電圧識別を3値とした場合
は、1フレームに1ビット以内ならば、BF4域のエラ
ーが補正され、データ識別エラー確立はAの領域のみと
なる。これにより、最小のパリティピットで高精度のエ
ラー補正を行うことができる。
On the other hand, when the voltage identification is ternary as in the present invention, if it is within 1 bit per frame, errors in the BF4 region are corrected, and data identification errors are only possible in the A region. Thereby, highly accurate error correction can be performed with the smallest parity pit.

〔発明の効果] 以上説明したように本発明は、入力されたディジタルデ
ータを3値に識別して不確定データを出力し、この不確
定データをパリティ演算回路からのデータに基づいて確
定してエラー補正を行っているので、特別な付加ピント
を加えることなしに最小のパリティビットでエラー補正
が行なえるという効果がある。
[Effects of the Invention] As explained above, the present invention identifies input digital data into three values, outputs uncertain data, and determines this uncertain data based on data from a parity calculation circuit. Since error correction is performed, there is an effect that error correction can be performed with the minimum parity bit without adding special additional focus.

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

第1図は本発明の一実施例の全体構成を示すブロフク図
、第2図はレベル識別回路の回路図、第3図は入力デー
タと電圧コンパレータの闇値電圧との関係を示す図、第
4図は1フレームの構成図、第5図はデータ識別エラー
の確率を示す図である。 1・・・データ入力端子、2・・・レベル識別回路、3
・・・データメモリ、4・・・パリティ演算回路、5・
・・エラー補正回路、6・・・データ出力端子、21.
22・・・電圧コンパレータ、23・・・EORゲート
、24・・・不確定データ検出端子、25・・・識別デ
ータ出力端子。 第1図 第3図 第4図 第2図 第5図 51キ 2+、22  博朴6コンバトー2 0 ■2獲V仙1V X:′)しへ)し
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, FIG. 2 is a circuit diagram of a level identification circuit, FIG. 3 is a diagram showing the relationship between input data and the dark value voltage of a voltage comparator, and FIG. FIG. 4 is a diagram showing the configuration of one frame, and FIG. 5 is a diagram showing the probability of data identification errors. 1...Data input terminal, 2...Level identification circuit, 3
...Data memory, 4.Parity calculation circuit, 5.
...Error correction circuit, 6...Data output terminal, 21.
22... Voltage comparator, 23... EOR gate, 24... Uncertain data detection terminal, 25... Identification data output terminal. Fig. 1 Fig. 3 Fig. 4 Fig. 2 Fig. 5 51 Ki 2+, 22 Hakubaku 6 Combatou 2 0 ■2 capture V Sen 1V X:')shihe)shi

Claims (1)

【特許請求の範囲】[Claims] 1、入力されたディジタルデータを“高”“中”“低”
の3値に識別し、“高”“低”に対応する識別データを
出力すると同時に“中”を識別したときに不確定データ
を出力する識別回路と、この識別回路の出力データを記
憶するデータメモリと、この出力データのパリテイを計
数するパリテイ演算回路と、前記データメモリ、パリテ
イ演算回路からの出力データと前記識別回路からの不確
定データとで該不確定データを“高”“低”の何れかに
対応するデータに確定するエラー補正回路とを備えるこ
とを特徴とするビットエラー補正回路。
1. Set the input digital data as “high”, “medium” or “low”
an identification circuit that identifies three values and outputs identification data corresponding to "high" and "low" and at the same time outputs uncertain data when identifying "medium"; and data that stores the output data of this identification circuit. A memory, a parity arithmetic circuit that counts the parity of this output data, and output data from the data memory, parity arithmetic circuit, and uncertain data from the identification circuit to convert the uncertain data into "high" and "low" levels. A bit error correction circuit comprising: an error correction circuit that determines data corresponding to any of the bits.
JP24651488A 1988-09-30 1988-09-30 Bit error correcting circuit Pending JPH0294921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24651488A JPH0294921A (en) 1988-09-30 1988-09-30 Bit error correcting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24651488A JPH0294921A (en) 1988-09-30 1988-09-30 Bit error correcting circuit

Publications (1)

Publication Number Publication Date
JPH0294921A true JPH0294921A (en) 1990-04-05

Family

ID=17149527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24651488A Pending JPH0294921A (en) 1988-09-30 1988-09-30 Bit error correcting circuit

Country Status (1)

Country Link
JP (1) JPH0294921A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5585979A (en) * 1995-03-28 1996-12-17 International Business Machines Corporation Assembly and method for wire encapsulation within head gimbal assemblies of DASD files

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5585979A (en) * 1995-03-28 1996-12-17 International Business Machines Corporation Assembly and method for wire encapsulation within head gimbal assemblies of DASD files

Similar Documents

Publication Publication Date Title
US4858236A (en) Method for error correction in memory system
JPS6068787A (en) Framing code detection circuit
EP1111597A1 (en) Device for reading from and/or writing to optical recording media
JPH0294921A (en) Bit error correcting circuit
JP3151844B2 (en) Playback data detection method
JP4320414B2 (en) Code determination apparatus, method thereof, and program
JP2627890B2 (en) Decoding circuit
JPH04329721A (en) Data reception method
JP3364753B2 (en) Memory error correction circuit
JPH0689195A (en) Data sink
KR100219495B1 (en) Sync. protection circuit of error correction code in a dvd
JP2005130435A (en) Apparatus and method for reading and inspecting data
JPH0259660B2 (en)
KR900007057B1 (en) Circuit Repeated Code Signaling Detection Circuit and Method of Exchange
JPS59100645A (en) Code correcting system
KR900001066Y1 (en) Clear signal counting circuit of error correcting decoder circuit
JP2702776B2 (en) Error checking method
SU1743003A2 (en) Binary code decoder for messages repeated three times
JPH0452017B2 (en)
JP2542628B2 (en) Mark reader
JPH1173740A (en) Error correction device and error correction method for channel stream
JPH06132938A (en) Frame conversion error correcting circuit
JPS6334665B2 (en)
JPH05260341A (en) Frame pulse detection circuit
KR940012367A (en) Error Detection and Correction Device of Biphase Code