JPS58147253A - Error correcting device of digital information signal - Google Patents

Error correcting device of digital information signal

Info

Publication number
JPS58147253A
JPS58147253A JP3083882A JP3083882A JPS58147253A JP S58147253 A JPS58147253 A JP S58147253A JP 3083882 A JP3083882 A JP 3083882A JP 3083882 A JP3083882 A JP 3083882A JP S58147253 A JPS58147253 A JP S58147253A
Authority
JP
Japan
Prior art keywords
data
circuit
error
register
average value
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
JP3083882A
Other languages
Japanese (ja)
Other versions
JPH0424896B2 (en
Inventor
Morihisa Oka
岡 守久
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.)
Pioneer Corp
Original Assignee
Pioneer Corp
Pioneer Electronic 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 Pioneer Corp, Pioneer Electronic Corp filed Critical Pioneer Corp
Priority to JP3083882A priority Critical patent/JPS58147253A/en
Publication of JPS58147253A publication Critical patent/JPS58147253A/en
Publication of JPH0424896B2 publication Critical patent/JPH0424896B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B14/00Transmission systems not characterised by the medium used for transmission
    • H04B14/02Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
    • H04B14/04Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation using pulse code modulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To correct an error of PCM-modulated digital data through the mean value interpolation of a circuit of simple constitution, by providing a mean value calculating circuit and plural switches which are controlled according to the error states of two succeeding data. CONSTITUTION:After being held in an N-bit register 10 by one timing block, N-bit parallel PCM data is supplied to the mean value calculating circuit 15 through an N-bit register 13 and the network consisting of N units of switches 11, 12, 14, and 16. The output of the circuit 15 is supplied as corrected PCM data to a register 17. An error detection signal regarding the input data, on the other hand, is supplied to one-bit registers 18 and 19 successively and the switches 11, 12, 14, and 16 are controlled by the error detection signal as shown in a table. Consequently, the PCM data containing the error is corrected by being replaced by the mean value of correct PCM data before and after the error data.

Description

【発明の詳細な説明】 この発明はPCMディジタル情報信号中の誤りデータを
補正して再生アナログ信号の忠実度を良好とするための
ディジタル情報信号の補正装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital information signal correction device for correcting error data in a PCM digital information signal to improve the fidelity of a reproduced analog signal.

音声信号等のアナログ情報信号を例えば2進コ−ドに変
換して伝送若しくは記録媒体へ記録しそれを受信若しく
は再生して復号化し、再び元のアナログ情報信号を得る
PCM (パルスコート変調)システムにおいては、受
信若しくは再生された2進コードデータ中に誤りがある
と復号化して得られるアナログ信号は元のアナログ信号
とは異なったものとなる。特に2進コード中の上位ビッ
トが誤っていると再生アナログ信号に大きなパルス状ノ
イズが現出する。かかる好ましからざる現象を避ケるべ
く、一般には2進データと共に誤り検出用のチェックビ
ット等を伝送して再生データ中に誤りがあるかどうかを
判定し誤りの補正を行って、ノイズ削減がなされる。こ
の場合誤り訂正符号がデータと共に記録、伝送されてい
れば、誤っているデータを正しいデータに訂正する操作
がなされ訂正不可能な場合において誤り補正がなされる
ものである。
A PCM (pulse coat modulation) system that converts an analog information signal such as an audio signal into a binary code, transmits it or records it on a recording medium, receives it or reproduces it, decodes it, and obtains the original analog information signal again. In this case, if there is an error in the received or reproduced binary code data, the analog signal obtained by decoding will be different from the original analog signal. In particular, if the upper bits in the binary code are incorrect, large pulse-like noise will appear in the reproduced analog signal. In order to avoid such undesirable phenomena, noise is generally reduced by transmitting check bits for error detection along with binary data to determine whether there are errors in the reproduced data and correcting the errors. Ru. In this case, if an error correction code is recorded and transmitted together with the data, an operation is performed to correct the erroneous data to correct data, and when correction is impossible, error correction is performed.

この誤り補正の比較的簡単な方法として平均値補間法(
線形補間法)が良く知られている。これは、あるサンプ
ル値のデータに誤りがある場合、このサンプル値の直前
の正しいサンプル値と直後の正しいサンプル値との平均
値を求めてこれを誤データの代りに用いるものである。
A relatively simple method for correcting this error is the average value interpolation method (
The linear interpolation method) is well known. In this method, when there is an error in the data of a certain sample value, the average value of the correct sample value immediately before and the correct sample value immediately after this sample value is calculated and used in place of the erroneous data.

この平均値補間法によって実用、ト十分な補正をなすこ
とができかつ回路素子数の少ないPCMディジタル情報
信号の誤り補正装置として特開昭56−78256号公
報に記載の装置がある。この装置は、ある1つのサンプ
ル値を表わす所定ビット数の2進データに誤りが生じた
場合、再生復号信号に大きな影響を与える上位ビット群
のみを補正しようとするものであって、誤りデータの直
前の正しいデータとこの誤りデータの後に続く正しいデ
ータとの互いに対応する各上位ピント群の平均値に相当
するデータを算出してこの平均データを誤りデータの対
応する上位ビット群と置換する構成となっている。とこ
ろが、かかる装置においては例えば1サンプル16ビツ
トのデータをバイト(8ビツト)単位で処理しようとす
ると構成が複雑となって却って回路素子数が増大すると
いう欠点がある。
There is an apparatus described in Japanese Patent Application Laid-open No. Sho 56-78256 as an error correction apparatus for a PCM digital information signal which can perform practical and sufficient correction using this average value interpolation method and has a small number of circuit elements. When an error occurs in binary data of a predetermined number of bits representing one sample value, this device attempts to correct only the upper bit group that has a large effect on the reproduced decoded signal. A configuration in which data corresponding to the average value of each corresponding upper focus group of the immediately preceding correct data and the correct data following the error data is calculated, and this average data is replaced with the corresponding upper bit group of the error data. It has become. However, such an apparatus has the disadvantage that, if it attempts to process data of 16 bits per sample in units of bytes (8 bits), the structure becomes complicated and the number of circuit elements increases.

また、lサンプル16ピツトのデータをバイト単位で処
理する様な処理単位の変更に際して単位時間内に処理で
きるデータ数を変化させたくない場合には回路動作を高
速にする必要が生じる。
Further, when changing the processing unit such as processing data of 1 sample and 16 pits in bytes, if it is not desired to change the number of data that can be processed within a unit time, it is necessary to increase the speed of circuit operation.

そこで、本発明の目的は構成を複雑にすることなく処理
単位の変更に対応することができると共に構成が簡単で
高速動作が可能なディジタル情報信号の誤り補正装置を
提供することである。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an error correction apparatus for digital information signals that can cope with changes in processing units without complicating the structure, has a simple structure, and can operate at high speed.

本発明による誤り補正装置は、正しいデータのみを供給
する第1データ供給回路と、2つの入力端子を有し前記
2つの入力端子にそれぞれ供給されたデータの平均値に
相当するデータを算出発生する平均値算出回路と、第1
データ供給回路より供給されたデータを一時記憶し記憶
したデータを前記平均値算出回路の一方の入力端子に供
給するデータ記憶回路と、エラー検出信号記憶回路の記
憶内容が誤ったデータの到来を示したときのみオンとな
りデータ記憶回路の出力をその入力に供給せしめる第1
スイッチ回路と、平均値算出回路の2つの入力端子間に
接続され誤りデータに続(正しいデータが到来したとき
のみオフとなる第2スイッチ回路と、誤りデータに続く
正しいデータが到来したときのみ到来したデータを平均
値算出回路の他方の入力端子に供給する第2データ供給
回路とを含み、平均値算出回路における算出結果を出力
データとする構成となっている。
The error correction device according to the present invention has a first data supply circuit that supplies only correct data and two input terminals, and calculates and generates data corresponding to the average value of the data respectively supplied to the two input terminals. An average value calculation circuit and a first
A data storage circuit temporarily stores data supplied from a data supply circuit and supplies the stored data to one input terminal of the average value calculation circuit, and an error detection signal storage circuit indicates that the storage contents of the error detection signal storage circuit indicate the arrival of incorrect data. a first circuit that is turned on and causes the output of the data storage circuit to be supplied to its input only when
A second switch circuit is connected between the two input terminals of the average value calculation circuit and turns off only when correct data arrives following the error data; and a second data supply circuit that supplies the calculated data to the other input terminal of the average value calculation circuit, and the calculation result in the average value calculation circuit is configured to be output data.

以下、本発明を添付図面を参照して詳細に説明する。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

第1図は一般的なPCM復号器の一部概略を示すブロッ
ク図であり、入力されたPCMデータ信号からクロック
信号抽出回路1及びタイミングコントロール回路2によ
りデータに同期したクロック信号が作られ、このクロッ
ク信号を用いてデータ抽出回路3においてデータの抽出
がなされる。エラー検出回路4にて誤りデータの検出が
なされ、エラーの有無を示すエラー指示ビット信号が付
加されてメモリ5へ書込まれる。当該メモリ5において
は1つのサンプル値を示すデータ毎に並列データとして
記憶されるように構成されており、メモリ書込み制御は
タイミングコントロール回路2の制御信号のもとに行わ
れる。メモリからの読出しは基準クロック信号発生回路
6で作られたクロック信号をもとにして行われ、メモリ
への書込みと読出しとを独立したクロック信号により行
うことによって入力PCMデータ信号の時間的変動の補
正がなされる。メモリから読出されたデータはエラー補
正回路7にて補正をうけた後D/Aコンバータ8に入力
されてアナログ信号に変換され、以後アナログ処理が適
当になされるものである。尚、9は基準クロック信号発
生回路6からのクロック信号によってメモリ5、エラー
補正回路7及びD/Aコンバータ8を制御するタイミン
グ信号を発生するタイミングコントロール回路を示す。
FIG. 1 is a block diagram schematically showing a part of a general PCM decoder. A clock signal extraction circuit 1 and a timing control circuit 2 generate a clock signal synchronized with the data from an input PCM data signal. Data is extracted in the data extraction circuit 3 using the clock signal. Error detection circuit 4 detects erroneous data, adds an error indication bit signal indicating the presence or absence of an error, and writes it into memory 5. The memory 5 is configured so that data representing one sample value is stored as parallel data, and memory writing control is performed based on a control signal from the timing control circuit 2. Reading from the memory is performed based on the clock signal generated by the reference clock signal generation circuit 6, and by writing to and reading from the memory using independent clock signals, temporal fluctuations in the input PCM data signal can be reduced. Corrections are made. The data read from the memory is corrected by the error correction circuit 7, then input to the D/A converter 8, where it is converted into an analog signal, and thereafter analog processing is performed appropriately. Incidentally, reference numeral 9 denotes a timing control circuit that generates a timing signal for controlling the memory 5, the error correction circuit 7, and the D/A converter 8 in accordance with the clock signal from the reference clock signal generation circuit 6.

第2図は、第1図に示したPCMデコーダにおけるエラ
ー補正回路7の本発明の一実施例を示すブロック図であ
る。第2図において、Nビットの並列バイナリデータ信
号がこれら各ビットを並列に一時記憶するためのNビッ
ト並列レジスタ1oへ印加される。レジスタ10は、供
給されたデータを入力データが到来する毎に発生する第
1所定クロツクによって一時記憶する。このレジスタ1
oの出力及び第2データ供給回路としてのスイッチ回路
12に供給される。スイッチ回路11及び12は、共に
例えばレジスタ1oの出力における各ビットに対応する
信号がそれぞれ一方の入出力端子に供給されかつ各制御
入力端子が共通接続されたN個のアナログスイッチで形
成されている。スイッチ回路11を形成するN個のアナ
ログスイッチの他方の入出力端子よりNビット並列バイ
ナリデータ信号がデータ記憶回路としてのNビット並列
レジスタ13に供給される。レジスタ13は、レジスタ
1oと同様に供給されたデータを第1所定クロツクによ
って一時記憶する。このレジスタ13の入力端子と出力
端子間にはスイッチ回路14が接続されている。また、
レジスタ13の出力は平均値算出回路150入力端子B
に供給されると共にスイッチ回路16を介して平均値算
出回路15の入力端子Aに供給される。スイッチ回路1
4及び16は、スイッチ回路11或いは12と同様の構
成となっている。平均値算出回路150入力端子Aには
スイッチ回路12を形成するN個のアナログスイッチの
他方の入出力端子よりNビット並列バイナリデータ信号
も供給される。平均値算出回路15において入力端子A
、Bの各々に供給されたNピント並列バイナリデータ信
号が含むデータの平均値に相当するNビットのデータが
算出されてNビット並列レジスタ17に供給される。レ
ジスタ17は、レジスタ10或いは13と同様に供給さ
れたデータを第1所定クロツクによって一時記憶する。
FIG. 2 is a block diagram showing an embodiment of the present invention of the error correction circuit 7 in the PCM decoder shown in FIG. In FIG. 2, an N-bit parallel binary data signal is applied to an N-bit parallel register 1o for temporarily storing each of these bits in parallel. The register 10 temporarily stores the supplied data using a first predetermined clock generated every time input data arrives. This register 1
o and is supplied to the switch circuit 12 as a second data supply circuit. The switch circuits 11 and 12 are both formed of N analog switches each having one input/output terminal supplied with a signal corresponding to each bit in the output of the register 1o, and each control input terminal being commonly connected. . An N-bit parallel binary data signal is supplied from the other input/output terminal of the N analog switches forming the switch circuit 11 to an N-bit parallel register 13 serving as a data storage circuit. Register 13, like register 1o, temporarily stores supplied data using a first predetermined clock. A switch circuit 14 is connected between the input terminal and output terminal of this register 13. Also,
The output of the register 13 is input to the average value calculation circuit 150 input terminal B.
It is also supplied to the input terminal A of the average value calculation circuit 15 via the switch circuit 16. switch circuit 1
4 and 16 have the same configuration as the switch circuit 11 or 12. An N-bit parallel binary data signal is also supplied to the input terminal A of the average value calculation circuit 150 from the other input/output terminal of the N analog switches forming the switch circuit 12. In the average value calculation circuit 15, the input terminal A
, B is calculated and supplied to the N-bit parallel register 17. Register 17, like register 10 or 13, temporarily stores supplied data using a first predetermined clock.

このレジスタ17の出力が誤り補正されたデータ出力と
して用いられる。
The output of this register 17 is used as an error-corrected data output.

一方、スイッチ回路11 、12 、14.16のオン
オフ制御のためにエラー検出信号が用いられている。
On the other hand, error detection signals are used for on/off control of the switch circuits 11, 12, 14, and 16.

すなわち、エラー検出信号を一時記憶する1ピツトレジ
スタ18とこの出力を同じく一時記憶する1ピツトレジ
スタ19とが設けられている。レジスタ18 、19は
共に第1所定クロック若しくは繰り返し周波数が第1所
定クロツクと同一でありかつ発生時刻が第1所定クロツ
クと異なる他のクロックによって、供給されたデータを
一時記憶する。そして、レジスタ18.19の出力は図
示せぬ制御信号発生回路に供給される。この制御信号発
生回路は、第1表に示す如くスイッチ回路11.12 
、14.16の状態が定まるように各スイッチ回路にお
けるアナログスイッチの共通接続された制御入力端子に
制御信号を供給する。
That is, a 1-pit register 18 for temporarily storing the error detection signal and a 1-pit register 19 for temporarily storing the output thereof are provided. Both registers 18 and 19 temporarily store data supplied by the first predetermined clock or another clock whose repetition frequency is the same as that of the first predetermined clock and whose occurrence time is different from that of the first predetermined clock. The outputs of the registers 18 and 19 are then supplied to a control signal generation circuit (not shown). This control signal generation circuit includes switch circuits 11 and 12 as shown in Table 1.
, 14.16 are determined by supplying a control signal to the commonly connected control input terminals of the analog switches in each switch circuit.

第1表 以上の構成において、入力データにおける1サンプル値
を形成するN個のピント全てが同時にレジスタ10に一
時記憶される。また、記憶された入力データに対応する
エラー検出信号がレジスタ18に記憶されると共にレジ
スタ10に記憶された入力データの1つ前の入力データ
に対応するエラー検出信号がレジスタ18からレジスタ
19にシフトされる。これらレジスタ18及び19の記
憶内容が共にSo“の場合すなわち到来した入力データ
が連続して正しい場合、スイッチ回路11及び16がオ
ンとなりかつスイッチ回路12及び14がオフとなる。
In the configuration shown in Table 1 and above, all N points forming one sample value in the input data are temporarily stored in the register 10 at the same time. Further, an error detection signal corresponding to the stored input data is stored in the register 18, and an error detection signal corresponding to the input data immediately before the input data stored in the register 10 is shifted from the register 18 to the register 19. be done. When the stored contents of these registers 18 and 19 are both So'', that is, when the input data that has arrived is continuously correct, switch circuits 11 and 16 are turned on and switch circuits 12 and 14 are turned off.

そうすると、平均値算出回路15の算出結果がレジスタ
13の出力データ鞘としたときに(xrL+xn)/2
=xnとなってレジスタ13の出力データがそのままレ
ジスタ17に供給されることになり、入力データは第1
所定クロツクの発生タイミングでレジスタ10゜13 
、17に順次シフトされていく。
Then, when the calculation result of the average value calculation circuit 15 is the output data sheath of the register 13, (xrL+xn)/2
= xn, the output data of the register 13 is supplied as is to the register 17, and the input data is the first
Register 10゜13 at the predetermined clock generation timing
, 17 in sequence.

次に入力データに誤りが生じて誤りデータがし・ジスタ
1oに一時記憶されると共にレジスタ18の記憶内容が
9“になりかつレジスタ19の記憶内容が一〇#になる
とスイッチ回路11及び12がオフとなりかつスイッチ
回路14及び16がオンとなる。このときレジスタ10
に記憶された誤りデータ及びレジスタ13に記憶された
誤りデータの1つ前の正しいデータをそれぞれ’m +
 xrrLlとすればレジスタ130入力端にはスイッ
チ回路14の作用によってレジスタ13の出力データで
あるxy、−1が供給され、また平均値算出回路15よ
り出力されるデータもxrrv−1:となる。このため
、次の入力データをxm+iとしデータ”m+1には誤
りが存在しないとすると第1所定クロツクのタイミング
でレジスタ10,13.17の記憶内容は更新されてそ
れぞれxm+ t + xm−t 。
Next, when an error occurs in the input data and the error data is temporarily stored in register 1o, the storage contents of register 18 becomes 9'' and the storage contents of register 19 reaches 10#, switch circuits 11 and 12 are activated. is turned off and the switch circuits 14 and 16 are turned on.At this time, the register 10
The error data stored in the register 13 and the correct data immediately before the error data stored in the register 13 are
If xrrLl, the output data xy, -1 of the register 13 is supplied to the input terminal of the register 130 by the action of the switch circuit 14, and the data output from the average value calculation circuit 15 also becomes xrrv-1:. Therefore, assuming that the next input data is xm+i and there is no error in data "m+1," the stored contents of registers 10, 13, and 17 are updated at the timing of the first predetermined clock to become xm+t + xm-t, respectively.

$m−1となり、レジスタ13には誤りデータx、1の
代りに1つ前の正しいデータxm−1が記憶されること
になる。これらレジスタ10 、13.17の各々の記
憶内容の更新に伴ってレジスタ18及び19の記憶内容
も更新されてレジスタ18及び19の記憶内容はそれぞ
れ10“、11#どなる。そうすると、スイッチ回路1
1及び12がオンとなりかつスイッチ回路14及び16
がオフとなって平均値算出回路150入力端子Aにはス
イッチ回路12の作用によってレジスタ10よりデータ
xm+1が供給されると共に入力端子Bにはレジスタ1
3よりデータxm−1が供給されることとなる。このた
め、平均値算出回路15より(xrn+ 1+ xm 
−1)/2なるデータがレジスタ17ニ供給される。従
らて、次の入力データをxm+2とすると第1所定クロ
ツクのタイミングでレジスタ10゜13 、17の記憶
内容が更新されてそれぞれ”77Z+2 +xm+ l
+ (xm+ 1 +xm −2)/2となり、平均値
補間法によって誤り補正されたデータがレジスタ17よ
り出力されることとなる。
$m-1, and the previous correct data xm-1 is stored in the register 13 instead of the error data x,1. As the storage contents of these registers 10 and 13.17 are updated, the storage contents of registers 18 and 19 are also updated, and the storage contents of registers 18 and 19 become 10" and 11#, respectively. Then, the switch circuit 1
1 and 12 are turned on and switch circuits 14 and 16 are turned on.
is turned off, data xm+1 is supplied from the register 10 to the input terminal A of the average value calculation circuit 150 by the action of the switch circuit 12, and data xm+1 is supplied to the input terminal B from the register 10.
Data xm-1 will be supplied from 3. Therefore, the average value calculation circuit 15 calculates (xrn+1+xm
-1)/2 is supplied to the register 17. Therefore, when the next input data is xm+2, the contents of registers 10, 13 and 17 are updated at the timing of the first predetermined clock, and become "77Z+2 +xm+l".
+ (xm+ 1 +xm −2)/2, and data corrected for errors by the average value interpolation method is output from the register 17.

次に入力データに誤りが連続して発生しレジスタ18 
、19の記憶内容が共にV″1“となったときスイッチ
回路11及び12がオフとなりかつスイッチ回路14及
び16がオンとなってレジスタ18.19の記憶内容が
それぞれ−】“、“0#のときと同一の状態となる。こ
のため、誤りデータの1つ前のデータが連続してレジス
タ17より出力されることになる。その後、正しいデー
タが到来するとレジスタ18.19の記憶内容がそれぞ
れ10“、町〃となって平均値補間法による誤り補正が
なされてすべてのエラーデータの補正が完了することに
なる。
Next, errors occur continuously in the input data, and the register 18
, 19 become V"1", switch circuits 11 and 12 are turned off, switch circuits 14 and 16 are turned on, and the stored contents of registers 18 and 19 become -]", "0#, respectively. The state is the same as when . Therefore, the data immediately preceding the error data is continuously output from the register 17. Thereafter, when correct data arrives, the contents stored in the registers 18 and 19 become 10'' and 10'', respectively, and error correction is performed by the average value interpolation method, completing correction of all error data.

ここで、平均値を算出する平均値算出回路14の構成は
バイナリコードの表現形式により異なるが一例として第
2表に示すようなオフセットバイナリコード表現形式で
あれば第2図に示すような回路を用いることが可能であ
る。オフセットバイナリコード化された2つの数の平均
値を求めるには、2つの数を加算しキャリイ(桁上げ)
ビットを含めた結果を右(LSB)方向へ1ビツトシフ
トすればよい。
Here, the configuration of the average value calculation circuit 14 that calculates the average value differs depending on the expression format of the binary code, but for example, if the offset binary code expression format is as shown in Table 2, a circuit as shown in FIG. 2 is used. It is possible to use To find the average value of two offset binary encoded numbers, add the two numbers and carry.
The result including the bits may be shifted one bit to the right (LSB) direction.

第  2 表 例えば10進数において1と3の平均値(1++S )
/2=2はオフセットバイナリコードによって次のよう
になる。
Table 2 For example, the average value of 1 and 3 in decimal notation (1++S)
/2=2 is determined by the offset binary code as follows.

他の数についても同様となる。但し、小数点以下は結果
が正数のとき切り捨て、負数のときは切り上げるものと
する。従って、第3図のようにNビット全加算器を用い
、そのキャリイ入力端子CINを接地し、キャリイ出力
(COUT)を平均値データのMSBとし加算結果のM
SB(SN)をMSB−1ビツトとし、以下順次1ビツ
トずつずらせて加算結果の2ビツト目(S2)をLSB
とすればよいことになる。
The same applies to other numbers. However, the numbers below the decimal point shall be rounded down if the result is a positive number, and rounded up if the result is a negative number. Therefore, as shown in Fig. 3, an N-bit full adder is used, its carry input terminal CIN is grounded, and the carry output (COUT) is set as the MSB of the average value data, and the M of the addition result is
SB (SN) is set as MSB-1 bit, and then the second bit (S2) of the addition result is set as LSB by sequentially shifting 1 bit at a time.
It would be a good idea to do this.

尚、上記実施例において1つのチャンネルにおける1サ
ンプルデータからなる入力データが連続して到来すると
したが、複数チャンネル分のデータが時分割多重化によ
り順次到来する場合にはデータ記憶回路としてNビット
並列レジスタ、13の他にレジスタ13に直列にチャン
ネル数の増加分だけNビット並列レジスタを接続して設
け、さらに工19の他にレジスタ18 、19間に1ビ
ツトレジスタを△ チャンネル数の増加分だけ直列に接続して設けてレジス
タ10及びデータ記憶回路に一時記憶されているデータ
のエラー情報を保持するようにすればよい。
In the above embodiment, it is assumed that input data consisting of one sample data for one channel arrives continuously, but if data for multiple channels arrives sequentially by time division multiplexing, N-bit parallel data storage circuit is used. In addition to register 13, N-bit parallel registers are connected in series to register 13 for the increase in the number of channels, and in addition to step 19, a 1-bit register is connected between registers 18 and 19 for the increase in the number of channels. They may be connected in series to hold error information of data temporarily stored in the register 10 and the data storage circuit.

又、上記実施例においては1データを形成する全ビット
が同時に処理されていたが、本発明による誤り補正装置
においては任意のビット数単位でデータを処理して誤り
補正をなすようにすることができる。第4図の回路は1
6ビツト並列データをバイト(8ピツト)単位で処理し
て誤り補正をなすものである。第4図において、スイッ
チ回路11゜12 、14 、16、平均値算出回路1
5及びレジスタ18゜19は第2図と同様に接続されて
いる。しカルながら、本例においてはスイッチ回路11
 、12.14 、16の各々を形成するアナログスイ
ッチの個数が8となっておりかつ平均値算出回路15は
8ビツト全加算器によって形成されている。また、レジ
スタ10゜13は共に8ピント並列レジスタ構成となっ
ておりかつレジスタ10 、13にはそれぞれ8ビット
並列レジスタ20 、21が直列に接続されている。レ
ジスタ10 、13 、20 、2]は共に前記第1所
定クロツクの2倍の繰り返し周波数をもって発生する第
2所定クロツクによって供給されたデータの上位1バイ
ト若しくは下位1バイトを一時記憶する。そして、レジ
スタ20の出力はスイッチ回路11及び12に供給され
、レジスタ21の出力は平均値算出回路15の入力端子
Bに供給されると共にスイッチ回路16を介して平均値
算出回路150入力端子A及びスイッチ回路14を介し
てレジスタ13に供給される。また、レジスタ17は9
ビット並列レジスタ構成になっている。平均値算出回路
15を形成する8ビツト全加算器の加算出力Σ及びキャ
リイ出力(C0UT )は、このキャリイ出力がMSB
となり加算出力がそれに続く8ピントとなるようにレジ
スタ16に印加されている。8ビツト全加算器の加算出
力におけるLSBを除いた7ビツトは7ビツト並列レジ
スタ22に印加されている。レジスタ17 、22には
第2所定クロツクが交互に供給されるようになっており
、レジスタ17.22は8ビツト全加算器の出力を交互
に一時記憶する。そして、このレジスタ17の出力が出
力データの上位9ビツトを形成しレジスタ22の出力が
出力データの下位7ピントを形成する。
Furthermore, in the above embodiment, all bits forming one data were processed at the same time, but in the error correction device according to the present invention, it is possible to perform error correction by processing data in units of an arbitrary number of bits. can. The circuit in Figure 4 is 1
Error correction is performed by processing 6-bit parallel data in units of bytes (8 pits). In FIG. 4, switch circuits 11, 12, 14, 16, average value calculation circuit 1
5 and registers 18 and 19 are connected in the same manner as in FIG. However, in this example, the switch circuit 11
, 12, 14, and 16, and the average value calculation circuit 15 is formed by an 8-bit full adder. Further, both registers 10 and 13 have an 8-pin parallel register configuration, and 8-bit parallel registers 20 and 21 are connected in series to registers 10 and 13, respectively. Registers 10, 13, 20, 2] temporarily store one upper byte or one lower byte of data supplied by a second predetermined clock generated with a repetition frequency twice that of the first predetermined clock. The output of the register 20 is supplied to the switch circuits 11 and 12, and the output of the register 21 is supplied to the input terminal B of the average value calculation circuit 15 and the input terminal A of the average value calculation circuit 150 via the switch circuit 16. The signal is supplied to the register 13 via the switch circuit 14. Also, register 17 is 9
It has a bit parallel register configuration. The addition output Σ and carry output (C0UT) of the 8-bit full adder forming the average value calculation circuit 15 are such that the carry output is the MSB.
Then, the addition output is applied to the register 16 so as to form the following 8 pins. The 7 bits excluding the LSB in the addition output of the 8-bit full adder are applied to the 7-bit parallel register 22. A second predetermined clock is alternately supplied to registers 17 and 22, and registers 17 and 22 temporarily store the output of the 8-bit full adder alternately. The output of this register 17 forms the upper 9 bits of the output data, and the output of the register 22 forms the lower 7 pins of the output data.

8ビツト全加算器のキャリイ出力は1ビツトレジスタ2
3に供給される。1ビツトレジスタ23にはレジスタ2
2と同時に第2所定クロツクが供給されるようになって
おり、レジスタ22が加算出力を一時記憶すると同時に
レジスタ23がキャリイ出力を一時記憶する。このレジ
スタ23の出力は8ビツト全加算器のキャリイ入力端子
CINに印加される。
The carry output of the 8-bit full adder is 1-bit register 2.
3. 1 bit register 23 has register 2
2, a second predetermined clock is supplied at the same time as register 22 temporarily stores the addition output, and at the same time register 23 temporarily stores the carry output. The output of this register 23 is applied to the carry input terminal CIN of the 8-bit full adder.

以上の構成にお℃・ては第2所定クロツクが発生する毎
に下位1バイト、上位1バイトの順に順次処理され、こ
の第2所定クロツクが2回発生する  毎に第2図の回
路と同様にして1つのデータの誤り補正がなされる。
In the above configuration, each time the second predetermined clock occurs, the lower 1 byte and the upper 1 byte are sequentially processed, and each time this second predetermined clock occurs twice, it is processed in the same way as the circuit in Figure 2. Error correction for one data is performed in this way.

第5図の回路は、データを1ビツトずつ時系列的に処理
して誤り補正をなすものである。第5図において、レジ
スタ1o 、 !3 、18 、1c+、スイッチ回路
11 、12 、14 、16及び平均値算出回路15
は第2図と同様に接続されている。しかしながら、本例
においてはレジスタ10 、13は共に1ビア)レジス
タ構成となっている。そして、これらレジスタ10゜1
3は前記第1所定クロツクの繰り返し周波数の16倍の
繰り返し周波数をもって発生する第3所定クロツクによ
って供給されたビットを一時記憶する。
The circuit shown in FIG. 5 corrects errors by processing data bit by bit in time series. In FIG. 5, registers 1o, ! 3, 18, 1c+, switch circuits 11, 12, 14, 16 and average value calculation circuit 15
are connected in the same way as in FIG. However, in this example, both registers 10 and 13 have a 1-via register configuration. And these registers 10°1
3 temporarily stores bits supplied by a third predetermined clock generated with a repetition frequency 16 times that of the first predetermined clock.

また、スイッチ回路11 、12 、14 、16Q各
々を形成するアナログスイッチの個数が1となっており
かつ平均値算出回路14は1ビツト全加算器によって形
成されている。この1ピツト全加算器の加算出力Σは3
ステートバツフアゲート24を介して16ビツトシフト
レジスタ等からなるシリアルパラレル変換器25に供給
される。1ピツト全加算器のキャリイ出力(COUT)
は1ピツトレジスタ26に供給される。シリアルパラレ
ル変換器25及びこのレジスタ26には第3所定クロツ
クが供給されており、レジスタ26はキャリイ出力を第
3所定クロツクの発生タイミングで一時記憶する。この
レジスタ26の出力は1ビツト全加算器のキャリイ入力
端子CINに供給されると共に3ステートノiツフアゲ
ート27を介してシリアルパラレル変換器25に供給さ
れる。
Further, the number of analog switches forming each of the switch circuits 11, 12, 14, and 16Q is one, and the average value calculation circuit 14 is formed by a 1-bit full adder. The addition output Σ of this 1-pit full adder is 3
It is supplied via a state buffer gate 24 to a serial-parallel converter 25 consisting of a 16-bit shift register or the like. Carry output (COUT) of 1-pit full adder
is supplied to the 1 pit register 26. A third predetermined clock is supplied to the serial/parallel converter 25 and this register 26, and the register 26 temporarily stores the carry output at the timing of generation of the third predetermined clock. The output of this register 26 is supplied to the carry input terminal CIN of the 1-bit full adder and also supplied to the serial-parallel converter 25 via the 3-state buffer gate 27.

バッファゲート24 、27の各制御入力端子には出力
データのMSBに対応するキャリイ出力をレジスタ25
が一時記憶したときにパンファゲート’24 、27の
うちバッファゲート27のみが活性化されるように例え
ば第3所定クロツクによってカウントアツプする16進
カウンタ(図示せず)のキャリイ出力及びその反転信号
がそれぞれ供給されている。
A carry output corresponding to the MSB of the output data is input to each control input terminal of the buffer gates 24 and 27 to the register 25.
For example, the carry output of a hexadecimal counter (not shown) is incremented by a third predetermined clock so that only the buffer gate 27 among the buffer gates 24 and 27 is activated when the data is temporarily stored, and its inverted signal. are supplied respectively.

以上の構成において、入力データはLSBから順に〜I
SBまで1ビツトずつ時系列的に順次レジスタ10に供
給される。スイッチ回路11 、12 、14 、16
は第2図の回路と同様にレジスタ18 、19の記憶内
容に応じて動作する。そして、前記lビット全加算器の
加算出力がLSB+1ビット目からMSBまでバッファ
ゲート24を介して順次シリアルパラレル変換器25に
印加されたのち出力データのMSBに対応するキャリイ
出力が一時記憶されたレジスタ26の出力がバッファゲ
ート27を介してシリアルパラレル変換器25に印加さ
れる。このシリアルパラレル変換器25より出力された
16ピツト並列データが誤り補正されたデータとして用
いられる。
In the above configuration, input data is input in order from LSB to
The bits up to SB are sequentially supplied to the register 10 in chronological order. Switch circuits 11, 12, 14, 16
operates according to the contents stored in the registers 18 and 19 in the same way as the circuit shown in FIG. Then, the addition output of the l-bit full adder is sequentially applied from the LSB+1st bit to the MSB to the serial-parallel converter 25 via the buffer gate 24, and then the carry output corresponding to the MSB of the output data is temporarily stored in a register. The output of 26 is applied to the serial-to-parallel converter 25 via a buffer gate 27. The 16-pit parallel data output from the serial-parallel converter 25 is used as error-corrected data.

以上詳述した如く本発明による誤り補正装置は、簡単な
構成にてNビット並列処理、任意ビット数単位の処理、
1ビット直列処理のいずれの処理もなすことができると
共に誤りデータに続く正しいデータが到来したときにオ
ンとなってレジスタ10の出力をスイッチ回路11 、
14 、16のいずれをも介することなく平均値算出回
路15に直接供給するスイッチ回路12が設けられてい
るのでスイッチ回路等による信号遅延が少ないこととな
って高速動作が可能になっている。従って、本発明によ
れば必要とされるチャンネル数、システムの動作スピー
ド、周辺回路の複雑さ等を考慮して処理“単位を任意に
設定することによるシステムの最適化が可能となる。ま
た、スイッチ回路11 、12 、14 、16がMO
8電界効果トランジスタ等を用いて容易に実現できるの
で本発明による誤り補正装置はIC化に適した装置とな
っている。また、本発明による誤り補正装置においては
スイッチ回路12が設けられているためスイッチ回路1
4として双方向性のものを用いる必要がないことにもな
るのである。
As described in detail above, the error correction device according to the present invention can perform N-bit parallel processing, processing in units of an arbitrary number of bits, and
A switch circuit 11 is capable of performing any of the 1-bit serial processing, and is turned on when correct data following error data arrives to switch the output of the register 10.
Since the switch circuit 12 is provided to directly supply the signal to the average value calculation circuit 15 without going through either of the signals 14 and 16, there is little signal delay caused by the switch circuit, etc., and high-speed operation is possible. Therefore, according to the present invention, it is possible to optimize the system by arbitrarily setting the processing unit in consideration of the required number of channels, system operating speed, complexity of peripheral circuits, etc. Switch circuits 11, 12, 14, 16 are MO
Since the error correction device according to the present invention can be easily realized using eight field effect transistors or the like, it is suitable for implementation as an IC. Further, in the error correction device according to the present invention, since the switch circuit 12 is provided, the switch circuit 1
This also means that there is no need to use a bidirectional device as the fourth option.

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

第1図は、一般的なPCM信号誤り補正回路を含む復号
装置の一部ブロック図、第2図は、本発明の一実施例を
示す回路ブロック図、第3図は、平均値算出回路の一例
を示す図、第4図は、本発明の他の実施例を示す回路ブ
ロック図、第5図は、本発明の更に他の実施例を示す回
路ブロック図である。 主要部分の符号の説明 10 、13 、17 、18 、19 、20 、2
1 、22 、23 、25 、26・・・・・・・・
・・・・・・・レジスタ11 、12 、14 、16
  ・・・スイッチ回路15     ・・・・・・・
・・・・・平均値算出回路24 、27   ・・・・
・・・・・・・・バッファゲート出願人  パイオニア
株式会社 代理人  弁理士 藤村元 彦
FIG. 1 is a partial block diagram of a decoding device including a general PCM signal error correction circuit, FIG. 2 is a circuit block diagram showing an embodiment of the present invention, and FIG. 3 is a block diagram of a decoding device including a general PCM signal error correction circuit. FIG. 4 is a circuit block diagram showing another embodiment of the present invention, and FIG. 5 is a circuit block diagram showing still another embodiment of the present invention. Explanation of symbols of main parts 10, 13, 17, 18, 19, 20, 2
1, 22, 23, 25, 26...
...Registers 11, 12, 14, 16
・・・Switch circuit 15 ・・・・・・・・・
...Average value calculation circuits 24, 27...
...Buffergate applicant Motohiko Fujimura, agent of Pioneer Co., Ltd., patent attorney

Claims (1)

【特許請求の範囲】[Claims] 個々のデータが所定ビットにより構成されたディジタル
情報信号中の誤りデータを検出してエラー検出信号を発
生しこのエラー検出信号に応答して誤りデータの補正を
なす誤り補正装置であって、連続する少なくとも2つの
前記個々のデータにそれぞれ対応する前記エラー検出信
号を一時記憶するエラー検出信号記憶回路と、前記エラ
ー検出信号記憶回路の記憶内容が正しいデータの到来を
示したときのみ前記個々のデータの供給をなす第1デー
タ供給回路と、2つの入力端子を有し前記2つの入力端
子にそれぞれ供給されたデータの平均値に相当するデー
タを算出発生する平均値算出回路と、前記第1データ供
給回路より供給されたデータを一時記憶し記憶したデー
タを前記平均値算出回路の一方の入力端子に供給するデ
ータ記憶回路と、前記エラー検出信号記憶回路の記憶内
容が誤ったデータの到来を示したときのみオンとなり前
記データ記憶回路の出力をその入力に供給せしめる第1
ス1ソチ回路と、前記平均値算出回路の2つの入力端子
間に接続され前記エラー検出信号記憶回路の記憶内容が
誤りデータに続く正しいデータの到来を示したときのみ
オフとなる第2スイッチ回路と、前記エラー検出信号記
憶回路の記憶内容が誤りデータに続く正しいデータの到
来を示したときのみ前記個々のデータを前記平均値算出
回路の他方の入力端子に供給する第2データ供給回路と
を含み、前記平均値算出回路における算出結果を出力デ
ータとすることを特徴とするディジタル情報信号の誤り
補正装置。
An error correction device that detects error data in a digital information signal in which each piece of data is composed of predetermined bits, generates an error detection signal, and corrects the error data in response to the error detection signal, the error correction device comprising: an error detection signal storage circuit that temporarily stores the error detection signals corresponding to at least two pieces of the individual data; and an error detection signal storage circuit that temporarily stores the error detection signals corresponding to at least two pieces of the individual data; an average value calculation circuit having two input terminals and calculating and generating data corresponding to an average value of data respectively supplied to the two input terminals; and the first data supply circuit. A data storage circuit temporarily stores data supplied from the circuit and supplies the stored data to one input terminal of the average value calculation circuit, and the storage contents of the error detection signal storage circuit indicate the arrival of incorrect data. a first circuit that is turned on only when
a second switch circuit connected between the two input terminals of the average value calculation circuit and turned off only when the memory contents of the error detection signal storage circuit indicate the arrival of correct data following error data; and a second data supply circuit that supplies the individual data to the other input terminal of the average value calculation circuit only when the storage contents of the error detection signal storage circuit indicate the arrival of correct data following the error data. An error correction device for a digital information signal, characterized in that the calculation result in the average value calculation circuit is used as output data.
JP3083882A 1982-02-26 1982-02-26 Error correcting device of digital information signal Granted JPS58147253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3083882A JPS58147253A (en) 1982-02-26 1982-02-26 Error correcting device of digital information signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3083882A JPS58147253A (en) 1982-02-26 1982-02-26 Error correcting device of digital information signal

Publications (2)

Publication Number Publication Date
JPS58147253A true JPS58147253A (en) 1983-09-02
JPH0424896B2 JPH0424896B2 (en) 1992-04-28

Family

ID=12314831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3083882A Granted JPS58147253A (en) 1982-02-26 1982-02-26 Error correcting device of digital information signal

Country Status (1)

Country Link
JP (1) JPS58147253A (en)

Also Published As

Publication number Publication date
JPH0424896B2 (en) 1992-04-28

Similar Documents

Publication Publication Date Title
US4497055A (en) Data error concealing method and apparatus
EP0117756B1 (en) Data interpolating circuit
EP0334580A2 (en) System and method for performing error correction on still frame audio tape format video signals
EP0169908A1 (en) Method and circuit for decoding error coded data
JP2713902B2 (en) Address generation circuit
JPS58147253A (en) Error correcting device of digital information signal
JP3699248B2 (en) Method and apparatus for concealing stored digital data errors
JPH0828052B2 (en) Frame generation method for PCM data
JP2762941B2 (en) Background noise generator
JPS58147254A (en) Error correcting device of digital information signal
KR0140382B1 (en) Address generation circuit for error correction of DAT
JP2605269B2 (en) Error correction method
KR0164509B1 (en) 4-bit cyclic redundancy check decoder
JP2612423B2 (en) Frame generation method for PCM data
JPS6342896B2 (en)
JPS6342895B2 (en)
JP2614846B2 (en) Error correction method
KR930005439B1 (en) Reed solomon encoding circuit of optical recording and reproducing system
KR910009094B1 (en) Galois field arithmetic unit
JPH08106736A (en) Digital code-error correction device
JPS6251831A (en) Coding or decoding system for bch code
JPS58104540A (en) Code error corrector
JPH0683853A (en) Microcomputer
JP2002207593A (en) Galois field multiplier and galois field divider
JPH0846522A (en) Error check and correction device for multiple byte