JPS58104540A - Code error corrector - Google Patents

Code error corrector

Info

Publication number
JPS58104540A
JPS58104540A JP20392881A JP20392881A JPS58104540A JP S58104540 A JPS58104540 A JP S58104540A JP 20392881 A JP20392881 A JP 20392881A JP 20392881 A JP20392881 A JP 20392881A JP S58104540 A JPS58104540 A JP S58104540A
Authority
JP
Japan
Prior art keywords
circuit
data
output
shift register
register 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.)
Granted
Application number
JP20392881A
Other languages
Japanese (ja)
Other versions
JPS6147451B2 (en
Inventor
Toshihide Akiyama
秋山 利秀
Kenichi Koyama
健一 小山
Keiichi Kameda
亀田 啓一
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP20392881A priority Critical patent/JPS58104540A/en
Publication of JPS58104540A publication Critical patent/JPS58104540A/en
Publication of JPS6147451B2 publication Critical patent/JPS6147451B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To attain correcting processing with simple constitution, by inputting serial data of offset binary representation from the least significant bit (LSB) and processing the data serially. CONSTITUTION:A code error correction circuit consists of a serial data addition circuit 10, shift registers 5-7, a data selector circuit 8 inputting the output of the register 6 and that of the circuit 10, and a data selector circuit 9 inputting the outputs of the circuits 5, 7. The output of the circuit 9 and 7 is inputted to the circuit 10 and the data selector circuits 8, 9 select the inputs for output according to data correct/incorrect signals fetched in the registers 5, 6. The shift registers 5-7 input serial data of offset binary representation from the LSB. Output data of the circuit 10 are shifted excessively by one bit, allowing to halve the output and to attain the interpolation of average value.

Description

【発明の詳細な説明】 本発明はアナログ波形のディジタル記録または伝送時に
おける符号誤りの補正装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an apparatus for correcting code errors during digital recording or transmission of analog waveforms.

ディジタル信号の記録、伝送においては記録媒体や伝送
路の特性、雑音等により符号誤りが生じノる。特に音楽
信号等のアナログ波形のディジタル記録、伝送では、信
号の再生にあたり、その符号誤りの及ばず影響は相当な
ものである為、誤り検出、訂正の為の冗長ビットの付加
等の手法が施されるが、さらに訂正もれに対して誤り補
正を行なう事は有効な一手段である。
In recording and transmitting digital signals, code errors occur due to the characteristics of the recording medium and transmission path, noise, and the like. Particularly in digital recording and transmission of analog waveforms such as music signals, code errors have a considerable impact on signal reproduction, so methods such as adding redundant bits for error detection and correction are implemented. However, it is an effective means to perform error correction for correction omissions.

符号誤り補正には最も簡単なミューティング法や前値保
持法から、線型予測の手段を用いた複雑なものまで様々
な方法が考えられているが、中でも誤りのある符号の前
後の符号の平均値でもって誤り符号を置き換える平均値
補間法は回路構成が簡単で補正効果が高い補正法である
Various methods have been considered for code error correction, ranging from the simplest muting method and previous value holding method to more complex methods using linear prediction methods. The average value interpolation method, which replaces error codes with values, is a correction method with a simple circuit configuration and a high correction effect.

本発明は、そのような符号誤り補正装置に関し、従来よ
りも簡単な構成で補正処理を実現する様にしたものであ
る。
The present invention relates to such a code error correction device, and is designed to realize correction processing with a simpler configuration than conventional ones.

従来の平均値補間回路の一例を第1図に示す。An example of a conventional average value interpolation circuit is shown in FIG.

同図において、1は入力データを並列に取り込むシフト
レジスタ回路、2は上記シフトレジスタ回路1に取り込
んだデータより1クロツク前のデイタを取り込むシフト
レジスタ回路、3は入力データとそのデータの2クロツ
ク前のデータを取り込んでいるシフトレジスタ回路2の
出力データを加算し%とする全加算回路、4は入力デー
タに誤りのある時とない時とで入力データを選択して出
力するデータセレクタ回路である。
In the figure, 1 is a shift register circuit that takes in input data in parallel, 2 is a shift register circuit that takes in data 1 clock before the data taken into the shift register circuit 1, and 3 is a shift register circuit that takes in input data and 2 clocks before that data. 4 is a full adder circuit that adds the output data of the shift register circuit 2 that has taken in the data and calculates it as a percentage, and 4 is a data selector circuit that selects and outputs input data depending on whether there is an error in the input data or not. .

次に第1図の動作を説明する。シフトレジスタ回路1に
取り込まれたデータ(便宜上、Bとする。)が正しいと
き、データセレクタ回路4はデータBを選択して出力す
る。シフトレジスタ回路1に取り込捷れたデータBが誤
まっているとき、データセレクタ回路4は全加算回路3
の出力(A+C)/2を選択して出力し、平均値補間が
行なわれる。ことで、A、  Cは誤りのあるデータB
の1クロック前後のデータである。
Next, the operation shown in FIG. 1 will be explained. When the data (for convenience, it will be referred to as B) taken into the shift register circuit 1 is correct, the data selector circuit 4 selects and outputs data B. When the data B fetched into the shift register circuit 1 is incorrect, the data selector circuit 4 selects the full adder circuit 3.
The output (A+C)/2 is selected and output, and average value interpolation is performed. Therefore, A and C are erroneous data B
This is the data around 1 clock.

しかしながら、この従来の並列処理型の平均値補間回路
は、データの並列処理を行なう為に全加算回路が並列型
となり、処理するデータのピット数が大きくなると回路
を構成する/・−ドウエアの規模が大きくなるといった
欠点や、又、誤りが連続した場合、誤ったデータで平均
値補間を行うなどの欠点があった。
However, in this conventional parallel processing type average value interpolation circuit, the full adder circuit becomes a parallel type in order to perform parallel processing of data, and when the number of pits of data to be processed increases, the circuit is configured. There are drawbacks such as a large number of errors, and if errors occur continuously, average value interpolation is performed using incorrect data.

本発明は以上の従来の並列処理型平均値補間回路の欠点
を除去するようにしたものであり、オフセットバイナリ
表示の直列データを最下位ビット(以下、LSBと称す
)から入力することにより直列処理を行ない、また、デ
ータ加算回路の出力を%とする操作を下位へ1ビット余
分にシフトする事による操作で簡略化し、さらに送られ
てくる連続したデータの正誤の状態に従い平均値補間。
The present invention is designed to eliminate the drawbacks of the conventional parallel processing type average value interpolation circuit, and allows serial processing by inputting serial data in offset binary representation from the least significant bit (hereinafter referred to as LSB). In addition, the operation of converting the output of the data adder circuit into a % is simplified by shifting an extra bit to the lower order, and furthermore, the average value is interpolated according to the correctness or incorrectness of the continuous data sent.

前値保持のどちらかを選択する様にしたことを骨子とす
るものである。以下にその実施例を図面と共に説明する
The main idea is to allow the user to choose between holding the previous value. Examples thereof will be described below with reference to the drawings.

第2図において、6,6.7は連続する3データを直列
入力して取り込むシフトレジスタ回路、8.9は入力デ
ータの正誤に従い入力を選択して出力するデータセレク
タ回路、1oはデータをLSBから入力して加算する直
列型のデータ加算回路である。なお、データの正誤は、
データに付加された誤り検出符号などの処理により、あ
らかじめ分っているものとする。
In Figure 2, 6, 6.7 are shift register circuits that input and take in three consecutive data in series, 8.9 is a data selector circuit that selects and outputs input according to the correctness of input data, and 1o is a data selector circuit that outputs data in LSB. This is a serial type data addition circuit that inputs data from and adds them. In addition, the correctness of the data is
It is assumed that this is known in advance through processing such as an error detection code added to the data.

次に本実施例の動作について説明する。入力データはオ
フセットバイナリ表示を用い、連続する3データがLS
Bから直列入力し、シフトレジスタ回路5,6.7に取
り込1れる。オフセラトノ(イナリ表示を用い、LSB
から直列入力するのは、加算操作および桁上げ操作を容
易にする為である。
Next, the operation of this embodiment will be explained. Input data uses offset binary display, and 3 consecutive data are LS
It is serially inputted from B and taken into the shift register circuits 5, 6.7. Offset (using inari display, LSB
The purpose of serial input is to facilitate addition and carry operations.

便宜上、シフトレジスタ回路6,6.7に増り込まれる
データをそれぞれDl、D2.D3とする。データセレ
クタ回路8,9はシフトレジスタ回路6゜6に取り込ま
れたデータの内容D1.D2の正誤により9次表の様に
データ入力を選択し出力する。
For convenience, the data added to the shift register circuits 6, 6.7 are respectively Dl, D2 . Set it as D3. The data selector circuits 8 and 9 select the contents of the data D1.6 taken into the shift register circuit 6.6. Depending on whether D2 is correct or incorrect, data input is selected and output as shown in the 9th table.

すなわち、シフトレジスタ回路6の内容D2が正しけれ
ば、シフトレジスタ回路6の内容D2は。
That is, if the content D2 of the shift register circuit 6 is correct, the content D2 of the shift register circuit 6 is.

その11シフトレジスタ回路7に送られて出力される。The signal is sent to the 11 shift register circuit 7 and output.

しかし、シフトレジスタ回路6の内容D2に誤りがある
ときは、シフトレジスタ回路6の内容D1 の正誤によ
り出力データは平均値補間もしくは前値保持される。つ
まり、シフトレジスタ回路6の内容り、が正しい時は、
データセレクタ回路9により、シフトレジスタ回路6と
シフトレジスタ回路7の内容D1.D3が直列型データ
加算器10KLSBから直列に入力されて加算され、そ
の結果、D1+D3がデータセレクタ回路8を通してシ
フトレジスタ回路7に直列に入力され、それが1ビット
余分にシフトされることにより、%にされて出力され、
平均値補間が行なわれる。また。
However, when there is an error in the content D2 of the shift register circuit 6, the output data is average value interpolated or the previous value is held depending on whether the content D1 of the shift register circuit 6 is correct or incorrect. In other words, when the contents of the shift register circuit 6 are correct,
The data selector circuit 9 selects the contents D1. of the shift register circuit 6 and the shift register circuit 7. D3 is serially input from the serial type data adder 10KLSB and added, and as a result, D1+D3 is serially input to the shift register circuit 7 through the data selector circuit 8, and is shifted by 1 bit, resulting in % and output as
Mean value interpolation is performed. Also.

シフトレジスタ回路6の内容D1が誤まっておれば、デ
ータセレクタ回路9はシフトレジスタ回路7の内容D3
を出力し、直列型データ加算回路1゜はシフトレジスタ
回路7の内容D3自身を相加して2倍となって出力され
、それがデータセレクタ回路8を通してシフトレジスタ
回路7に直列に入力され、1ビット余分にシフトされる
事により%にされて前値保持が実行される。ここで、直
列型データ加算回路1oの出力はD+D  または2D
2  3 の形になっている為、その出力を%にする操作を施さね
ばならないが、それは直列型データ加算回路の出力をシ
フトレジスタ回路7に取り込む時にLSBから入力し、
1ピント余分にシフトし、その結果を出力として増り出
す事により行なっている。
If the content D1 of the shift register circuit 6 is incorrect, the data selector circuit 9 will read the content D3 of the shift register circuit 7.
The serial data adder circuit 1° adds the contents D3 of the shift register circuit 7 and outputs the double value, which is serially input to the shift register circuit 7 through the data selector circuit 8. By shifting 1 extra bit, it is converted into % and the previous value is held. Here, the output of the serial data addition circuit 1o is D+D or 2D
Since it is in the form of 2 3 , it is necessary to perform an operation to convert the output into %, but this is done by inputting it from the LSB when taking the output of the serial type data addition circuit into the shift register circuit 7.
This is done by shifting the focus one more point and increasing the result as an output.

以上述べた様に9本発明の符号誤り補正装置は、入力デ
ータとしてオフセントバイナリ表示を用いLSBから直
列入力する様にしている為、加算操作および出力を%に
する操作が簡略化され、従来の並列処理型平均値補間回
路に比べ回路実現上のハードウェアが著しく縮小される
と共に、連続する入力データの正誤の状態により、平均
値補間と前置保持の両補正法が選択できる様になってお
り、ハードウェアの規模および補正効果において絶大な
る効果を有するものである。
As described above, the code error correction device of the present invention uses offset binary representation as input data and inputs serially from the LSB, so the addition operation and the operation of converting the output into % are simplified, and compared to the conventional code error correction device. The hardware needed to implement the circuit is significantly smaller than that of the parallel processing type average value interpolation circuit, and it is now possible to select both the average value interpolation and pre-hold correction methods depending on the correctness or error status of continuous input data. This has tremendous effects in terms of hardware scale and correction effects.

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

第1図は従来のパラレル処理型平均値補間回路のブロッ
ク構成図、第2図は本発明の一実施例におけるシリアル
処理型平均値補間回路のブロック構成図である。 5.6.7  ・・用シフトレジスタ回路、8,9・・
・データセレクタ回路、1o・・・・・直列型データ加
算回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名11
f!11
FIG. 1 is a block diagram of a conventional parallel processing type average value interpolation circuit, and FIG. 2 is a block diagram of a serial processing type average value interpolation circuit according to an embodiment of the present invention. 5.6.7 Shift register circuit for..., 8,9...
・Data selector circuit, 1o...Serial type data addition circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person11
f! 11

Claims (4)

【特許請求の範囲】[Claims] (1)データ加算回路と、ディジタル化信号を取り込む
第1のシフトレジスタ回路と、該第1のシフトレジスタ
回路の出力を入力とする第2のシフトレジスタ回路と、
該第2のシフトレジスタ回路の出力と前記データ加算回
路の出力を入力とする第1のデ〜タセレクタ回路と、該
第1のデータセレクタ回路の出力を入力とする第3のシ
フトレジスタ回路と、前記第1のシフトレジスタ回路の
出力と前記第3のシフトレジスタ回路の出力を入力とす
る第2のデータセレクタ回路を具備し、かつ−前記第2
のデ〜タセレクタ回路の出力と前記第3のシフトレジス
タ回路の出力を前記データ加算回路に入力するごとくし
、前記第1および第2のシフトレジスタに取り込まれる
データの正誤信号に従い前記第1および第2のデータセ
レクタ回路で入力を選択して出力するように構成したこ
とを特徴とする符号誤り補正装置。
(1) a data addition circuit, a first shift register circuit that takes in the digitized signal, and a second shift register circuit that receives the output of the first shift register circuit;
a first data selector circuit that receives the output of the second shift register circuit and the output of the data adder circuit; a third shift register circuit that receives the output of the first data selector circuit; a second data selector circuit receiving an output of the first shift register circuit and an output of the third shift register circuit, and - the second data selector circuit;
The output of the data selector circuit and the output of the third shift register circuit are inputted to the data adder circuit, and the output of the first and second shift registers is inputted to the data adder circuit. 1. A code error correction device characterized in that a second data selector circuit selects an input and outputs the selected input.
(2)  第1.第2および第3のシフトレジスタ回路
は、オフセットバイナリ表示の直列データを最下位ビッ
トから入力する事を特徴とする特許請求の範囲第(1)
項記載の符号誤り補正装置。
(2) First. Claim (1) characterized in that the second and third shift register circuits input serial data in offset binary representation from the least significant bit.
The code error correction device described in .
(3)データ加算回路はオフセットバイナリ表示の直列
データを最下位ビットから加算する直列型加算回路であ
る事を特徴とする特許請求の範囲第(1)項記載の符号
誤り補正装置。
(3) The code error correction device according to claim (1), wherein the data addition circuit is a serial addition circuit that adds serial data expressed in offset binary form starting from the least significant bit.
(4)平均値補間を行なう為のデータ加算回路の出力を
%とする操作は、データ加算回路の直列出力データを下
位へ1ビット余分にシフトして行なう事を特徴とする特
許請求の範囲第(1)項記載の符号誤り補正装置。
(4) The operation of converting the output of the data adder circuit into a percentage for performing average value interpolation is performed by shifting the serial output data of the data adder circuit to the lower order by one extra bit. The code error correction device described in (1).
JP20392881A 1981-12-17 1981-12-17 Code error corrector Granted JPS58104540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20392881A JPS58104540A (en) 1981-12-17 1981-12-17 Code error corrector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20392881A JPS58104540A (en) 1981-12-17 1981-12-17 Code error corrector

Publications (2)

Publication Number Publication Date
JPS58104540A true JPS58104540A (en) 1983-06-22
JPS6147451B2 JPS6147451B2 (en) 1986-10-20

Family

ID=16482011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20392881A Granted JPS58104540A (en) 1981-12-17 1981-12-17 Code error corrector

Country Status (1)

Country Link
JP (1) JPS58104540A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5375911A (en) * 1976-12-16 1978-07-05 Nippon Columbia Pcm recorder reproducer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5375911A (en) * 1976-12-16 1978-07-05 Nippon Columbia Pcm recorder reproducer

Also Published As

Publication number Publication date
JPS6147451B2 (en) 1986-10-20

Similar Documents

Publication Publication Date Title
EP0152702B1 (en) Arithmetic circuit of finite field
US6049903A (en) Digital data error detection and correction system
EP0169908A1 (en) Method and circuit for decoding error coded data
JPS58104540A (en) Code error corrector
JPS63108566A (en) Digital muting circuit
GB2266435A (en) Audio data processing system
JPH02288511A (en) Code transmission method
JPS6141241A (en) Pcm voice transmission method
JP3468370B2 (en) Playback device
KR930009103B1 (en) Device for interpolating a digital audio signal
JPH08106736A (en) Digital code-error correction device
JPS61126670A (en) Digital code error correcting device
KR100188082B1 (en) Interpolating circuit having a little interpolating error of compact disc player
JP3521558B2 (en) Transmission equipment
JPS63254829A (en) Error correction device
JP2546014B2 (en) Digital signal processor
JPS60176340A (en) Data processor
JPS6120440A (en) Code error correcting device
JPS60165136A (en) Data processor
JPH066216A (en) Bit length extending device
JPS58147253A (en) Error correcting device of digital information signal
JPH10150367A (en) Error correction device
JPS6251831A (en) Coding or decoding system for bch code
JPS6342895B2 (en)
JPH0518490B2 (en)