JPH04113723A - Error correction system - Google Patents

Error correction system

Info

Publication number
JPH04113723A
JPH04113723A JP23370190A JP23370190A JPH04113723A JP H04113723 A JPH04113723 A JP H04113723A JP 23370190 A JP23370190 A JP 23370190A JP 23370190 A JP23370190 A JP 23370190A JP H04113723 A JPH04113723 A JP H04113723A
Authority
JP
Japan
Prior art keywords
signal data
error
circuit
audio signal
word
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
JP23370190A
Other languages
Japanese (ja)
Inventor
Kazuhisa Kakeya
掛谷 和寿
Hideki Takimoto
滝本 秀樹
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 JP23370190A priority Critical patent/JPH04113723A/en
Publication of JPH04113723A publication Critical patent/JPH04113723A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the correction close to a substantial correct voice signal data by comparing voice signal data outputted from an estimate value arithmetic circuit and a low-order word replacement circuit and selecting the voice signal data from the low-order word replacement circuit when the data are different from each other. CONSTITUTION:A voice signal data D1 from an error correction circuit 11 is inputted to an estimate value arithmetic circuit 13 and a low-order word replacement circuit 14 in the order of sample points t1, t2, t3. On the other hand, error flags EU, EL of each voice signal data are inputted to an error signal generating circuit 12. The estimate value arithmetic circuit 13 receives the error signal E1 and calculates the mean value of a voice signal data at sample points t1, t3 without an error flag and outputs the result as a voice signal data D2. The selective circuit 15 receives voice signal data D2, D3 respectively from the estimate value arithmetic circuit 13 and the low-order word replacement circuit 14 sequentially and compares them and selectively outputs any of the voice signal data D2 and D3 in response to the result of comparison.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は誤り補正方式に関し、特に量子化された音声信
号データを上位および下位ワードに分割し各ワード毎に
補正を行う誤り補正方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an error correction method, and more particularly to an error correction method that divides quantized audio signal data into upper and lower words and performs correction for each word.

〔従来の技術〕[Conventional technology]

第3図は従来の誤り補正方式の一例を示すブロック図で
ある。誤り訂正回路21は、量子化された音声信号デー
タDを上位ワードおよび下位ワードに分割し、各ワード
に対して誤り訂正を行い音声信号データD4として出力
すると共に、誤り訂正が不能のときに各ワードのエラー
7ラグEυ。
FIG. 3 is a block diagram showing an example of a conventional error correction method. The error correction circuit 21 divides the quantized audio signal data D into upper words and lower words, performs error correction on each word, and outputs it as audio signal data D4. Word error 7 lag Eυ.

ELを出力する。エラー信号生成回路22は、上位およ
び下位ワードのエラーフラグE[J、Elを受け、少な
くとも一方のワードが誤り訂正不能のときにエラー信号
Eを出力する。推定値演算回路23は、エラー信号Eを
受けたときに音声信号データD!の前後のエラーを含ま
ない音声信号データを基に推定値を演算して推定データ
を出力することによって誤り補正を行っている。この場
合の推定方法として平均値を求める方法や、n次方程式
に近似する方法等がある。
Output EL. The error signal generation circuit 22 receives error flags E[J, El of the upper and lower words, and outputs an error signal E when at least one word cannot be error corrected. When the estimated value calculation circuit 23 receives the error signal E, the estimated value calculation circuit 23 outputs the audio signal data D! Error correction is performed by calculating an estimated value based on audio signal data that does not include errors before and after , and outputting the estimated data. Estimation methods in this case include a method of obtaining an average value and a method of approximating an n-dimensional equation.

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

上述した従来の誤り補正方式は、上位ワードおよび下位
ワードの少なくとも一方が誤り訂正不能のとき、前後の
エラーを含まない音声信号データを基に推定値を演算し
て推定データで置換している。しかし、下位ワードにの
みエラーがあるような比較的にエラーの影響が少ない場
合でも、エラーの影響が大きい上位ワードのエラーの場
合と同様に処理しているので、本来の音声信号データと
垂離した補正が行われるという問題点がある。
In the conventional error correction method described above, when an error cannot be corrected in at least one of the upper word and the lower word, an estimated value is calculated based on audio signal data that does not include previous and subsequent errors, and the estimated value is replaced with the estimated data. However, even when the effect of the error is relatively small, such as when there is an error only in the lower word, it is processed in the same way as an error in the upper word, where the effect of the error is large. There is a problem in that the correction is carried out.

本発明の目的は、下位ワードにのみエラーがある場合に
、本来の音声信号データに近い補正を行うことのできる
誤り補正方式を提供することにある。
An object of the present invention is to provide an error correction method that can perform correction close to the original audio signal data when there is an error only in the lower word.

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

本発明の誤り補正方式は、量子化された音声信号データ
の誤り補正方式において、貯泥音声信号データを上位お
よび下位ワードに分割し各ワードに対して誤り訂正を行
って出力すると共に、誤り訂正が不能のときに各ワード
毎のエラーフラグを出力する誤り訂正回路と、前記各ワ
ードのエラーフラグの内少なくとも一方のエラーフラグ
を受けたときに第1のエラー信号を出力し、また下位ワ
ードのエラーフラグのみを受けたときに第2のエラー信
号を出力するエラー信号生成回路と、前記第1のエラー
信号を受けたときに前記誤り訂正回路が出力する音声信
号データに対して前後のエラーを含まない音声信号デー
タにより推定値を演算し推定した音声信号データを出力
する推定値演算回路と、前記第2のエラー信号を受けた
ときに前記誤り訂正回路が出力する音声信号データに対
してあらかじめ設定されたワードで下位ワードを置換し
て出力する下位ワード置換回路と、前記推定値演算回路
および前記下位ワード置換回路が出力する音声信号デー
タを比較して前記推定値演算回路および前記下位ワード
置換回路が出力する音声信号データの内いずれか一方を
選択して出力する選択回路とを備えて構成される。また
、前記選択回路は、前記推定値演算回路が出力する音声
信号データの上位ワードのデータ値および前記下位ワー
ド置換回路が出力する音声信号データの上位ワードのデ
ータ値を比較し、これらデータ値の差が2填位以Eある
場合には前記下位ワード置換回路が出力する音声信号デ
ータを選択して出力し、差が2単位未満の場合には前記
推定値演算回路が出力する音声信号データを選択して出
力するように構成してもよい。
The error correction method of the present invention is an error correction method for quantized audio signal data. an error correction circuit that outputs an error flag for each word when the error flag of each word is disabled; and an error correction circuit that outputs a first error signal when at least one of the error flags of each word is received; an error signal generation circuit that outputs a second error signal when only an error flag is received; and an error signal generation circuit that outputs a second error signal when only an error flag is received; an estimated value calculation circuit that calculates an estimated value using audio signal data that does not include the audio signal data and outputs the estimated audio signal data; A lower word replacement circuit that replaces and outputs a lower word with a set word and audio signal data output by the estimated value calculation circuit and the lower word replacement circuit are compared to perform the estimated value calculation circuit and the lower word replacement circuit. and a selection circuit that selects and outputs one of the audio signal data output by the circuit. Further, the selection circuit compares the data value of the upper word of the audio signal data outputted by the estimated value calculation circuit and the data value of the upper word of the audio signal data outputted by the lower word replacement circuit, and If the difference is 2 units or more, the audio signal data output by the lower word replacement circuit is selected and output, and if the difference is less than 2 units, the audio signal data output by the estimated value calculation circuit is selected and output. It may be configured to select and output.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。誤
り訂正回路11は、量子化された音声信号データDを上
位ワードおよび下位ワードに分割し、各ワードに対して
それぞれ誤り訂正を行い音声信号データD、として出力
すると共に、誤り訂正が不能のときに上位ワードおよび
下位ワードのエラーフラグEυおよびELを出力する。
FIG. 1 is a block diagram showing one embodiment of the present invention. The error correction circuit 11 divides the quantized audio signal data D into upper words and lower words, performs error correction on each word, and outputs the audio signal data D. The error flags Eυ and EL of the upper word and lower word are output.

エラー信号生成回路12は、上位および下位ワードの工
ラーフラグEu、Etを受け、少なくとも一方のワード
が誤り訂正不能のときにエラー信号E1を出力し、また
下位ワードのみ誤り訂正不能のときにエラー信号E2を
出力する。推定値演算回路13は、エラー信号E1を受
けたときに音声信号データD1の前後のエラーを含まな
い音声信号データを基に平均値を演算し、音声信号デー
タD□を推定データD2に置換して出力する。下位ワー
ド置換回路14は、エラー信号E2を受けたときにあら
かじめ設定されたワードで下位ワードを置換して音声信
号データD3として出力する。この場合、下位ワードの
データ値範囲の中心値が設定される。選択回路15は、
音声信号データD2およびり、をそれぞれ受けて比較し
、比較結果に応じて音声信号データD2およびD3の内
いずれか一方を選択して補正した音声信号データDoと
して出力する。
The error signal generation circuit 12 receives the error flags Eu and Et of the upper and lower words, and outputs an error signal E1 when at least one of the words cannot be corrected, and outputs an error signal when only the lower word cannot be corrected. Output E2. When the estimated value calculation circuit 13 receives the error signal E1, it calculates an average value based on the audio signal data that does not include the error before and after the audio signal data D1, and replaces the audio signal data D□ with the estimated data D2. and output it. When receiving the error signal E2, the lower word replacement circuit 14 replaces the lower word with a preset word and outputs it as audio signal data D3. In this case, the center value of the data value range of the lower word is set. The selection circuit 15 is
The audio signal data D2 and D3 are received and compared, and one of the audio signal data D2 and D3 is selected according to the comparison result and output as corrected audio signal data Do.

次に、第2図に示す音声信号データの一例により動作を
説明する。ここで、音声信号データD□は16bitと
し、16進表示している。また、本来の正しい音声信号
データを実線で示しており、本発明の補正を行った場合
の音声信号データを破線で示しており、平均値補正を行
った場合を一点鎖線で示している。いま、サンプル点t
2の音声信号データの下位ワードに訂正不能のエラーが
あり、訂正不能のエラーがない上位ワードを(6B)す
る。またサンプル点t1およびt3の音声信号データに
は訂正不能のエラーがないものとし、それぞれ(670
4)および(6BO4’)とする。誤り訂正回路11か
らの音声信号データD1は、サンプル点11,12,1
.の順に推定値演算回路13および下位ワード置換回路
14に入力する。一方、各音声信号データのエラーフラ
グEu 、 Et、はエラー信号生成回路12に入力す
る。
Next, the operation will be explained using an example of audio signal data shown in FIG. Here, the audio signal data D□ is 16 bits and is expressed in hexadecimal. Further, the original correct audio signal data is shown by a solid line, the audio signal data after the correction according to the present invention is shown by a broken line, and the case where the average value correction is performed is shown by a dashed line. Now, sample point t
There is an uncorrectable error in the lower word of the voice signal data No. 2, and the upper word without an uncorrectable error is selected (6B). It is also assumed that the audio signal data at sample points t1 and t3 have no uncorrectable errors, and (670
4) and (6BO4'). The audio signal data D1 from the error correction circuit 11 is sampled at sample points 11, 12, 1.
.. are input to the estimated value calculation circuit 13 and the lower word replacement circuit 14 in this order. On the other hand, the error flags Eu, Et, of each audio signal data are input to the error signal generation circuit 12.

さて、サンプル点t2において、エラー信号生成回路1
2は下位ワードのみ誤り訂正不能であることを検知して
エラー信号E1およびE2を推定値演算回路13および
下位ワード置換回路14へそれぞれ送出する。推定値演
算回路13はエラー信号E1を受けて、エラーフラグの
ないサンプル点1..1.の音音声信号データ(670
4) 、  (6B04)の平均値(6904)を演算
し、音声信号デ D2として(6704) 、  (6
904) 、  (6BO4)の順に出力する。一方、
下位ワード置換回路14には、あへかしめ下位ワードの
データ値の範囲<00)〜(FF)の中心値(80)が
設定されており、エラー信号E2を受けて下位ワード(
00)を(80)に置換して音声信号データD3(68
80)を生成し、(6704) 、  (6880) 
、  (6BO4)の順に出力する。選択回路15は、
推定値演算回路13および下位ワード置換回路14から
音声信号データD2.D3をそれぞれ順次受けて比較し
、比較結果に応じて音声信号データD2およびり、の内
いずれか一方を選択して出力する。この場合、推定値演
算回路13からの音声信号データD2の上位ワードのデ
ータ値と下位ワード置換回路14からの音声信号データ
D3の上位ワードのデータ値とを比較し、その差が2単
位未満の場合には音声信号データD2を選択し、その差
が2単位以上の場合には音声信号データD3を選択する
。まず、(6704)とく6704)とを比較するが、
上位ワードは一致しているので音声信号データD2  
(6704)を選択し出力する。次に、(6904)と
(6880)とを比較する。(6900)の上位ワード
〈69)とデータ値と(6B80 )の上位ワード(6
B)のデータ値との差は2単位であるので、音声信号デ
ータD 3  (6880)を選択する。同様に(6B
O4)と(6BO4)とを比較して音声信号データD2
  (6BO4)を選択し出力する。従って、選択回路
16が出力する音声信号データD。
Now, at the sample point t2, the error signal generation circuit 1
2 detects that only the lower word cannot be corrected, and sends error signals E1 and E2 to the estimated value calculation circuit 13 and the lower word replacement circuit 14, respectively. The estimated value calculation circuit 13 receives the error signal E1 and selects sample points 1. .. 1. Sound audio signal data (670
4) Calculate the average value (6904) of (6B04) and use it as the audio signal D2 (6704), (6
904) and (6BO4) are output in this order. on the other hand,
The lower word replacement circuit 14 is set with the center value (80) of the range of data values of the lower word crimping <00) to (FF), and upon receiving the error signal E2, the lower word replacement circuit 14 replaces the lower word (
00) is replaced with (80) to obtain audio signal data D3 (68
80), (6704), (6880)
, (6BO4) are output in this order. The selection circuit 15 is
Audio signal data D2. D3 is sequentially received and compared, and depending on the comparison result, one of the audio signal data D2 and D3 is selected and output. In this case, the data value of the upper word of the audio signal data D2 from the estimated value calculation circuit 13 is compared with the data value of the upper word of the audio signal data D3 from the lower word replacement circuit 14, and the difference is less than 2 units. If the difference is 2 units or more, the audio signal data D3 is selected. First, compare (6704) and (6704),
Since the upper words match, the audio signal data D2
(6704) and output. Next, (6904) and (6880) are compared. The upper word (69) of (6900) and the data value and the upper word (690) of (6B80)
Since the difference from the data value of B) is 2 units, audio signal data D 3 (6880) is selected. Similarly (6B
O4) and (6BO4) are compared to obtain audio signal data D2.
Select (6BO4) and output. Therefore, the audio signal data D output by the selection circuit 16.

は、破線で示すように(6704) 、  (6B80
) 、  (6B04)の順となり、−点鎖線で示した
平均値補正を行った場合の(6704) 、  (69
04) 、  (6BO4)よりも、実線で示した本来
の正しい音声信号データに近い補正を行うことができる
As shown by the dashed line, (6704), (6B80
), (6B04), and (6704), (69
04) and (6BO4), it is possible to perform correction closer to the original correct audio signal data shown by the solid line.

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

以上説明したように本発明によれば、上位および下位ワ
ードの少なくとも一方にエラーフラグがある音声信号デ
ータに対して、前後のエラーを含まない音声信号データ
により推定値を演算する推定値演算回路と、エラーフラ
グが下位ワードにのみある音声信号データに対して、あ
らかじめ設定されたワードで下位ワードを置換える下位
ワード置換回路を設け、推定値演算回路および下位ワー
ド置換回路が出力する音声信号データを比較し、データ
値が垂離している場合は下位ワード置換回路からの音声
信号データを選択することにより、上位ワードにエラー
フラグがなくエラーの影響が少ない場合に、上位ワード
にエラーがある場合と同様に処理しないので、本来の音
声信号データと垂離した補正が行われることはなく、本
来の正しい音声信号データに近い補正を行うことができ
る。
As explained above, according to the present invention, there is provided an estimated value calculation circuit that calculates an estimated value for audio signal data in which an error flag exists in at least one of the upper and lower words using audio signal data that does not include any preceding or following errors. For audio signal data in which the error flag is present only in the lower word, a lower word replacement circuit is provided to replace the lower word with a preset word, and the audio signal data output by the estimated value calculation circuit and the lower word replacement circuit is By comparing and selecting the audio signal data from the lower word replacement circuit if the data values are far apart, it is possible to distinguish between cases where there is an error in the upper word and cases where there is no error flag in the upper word and the effect of the error is small. Since the same processing is not performed, corrections that are far removed from the original audio signal data are not performed, and corrections that are close to the original correct audio signal data can be performed.

回路、14・・・・・・下位ワード置換回路、15・−
・・・・選択回路、D 、 D 1. D2 、 D3
 、 Do ・−−音声信号データ、Eu・・・・・・
上位ワードエラーフラグ、EL・・・・・−下位ワード
エラーフラグ、E、E。
Circuit, 14...Lower word replacement circuit, 15.-
...Selection circuit, D, D 1. D2, D3
, Do --- audio signal data, Eu...
Upper word error flag, EL...-lower word error flag, E, E.

E2・−・・−エラー信号。E2...-Error signal.

Claims (1)

【特許請求の範囲】 1、量子化された音声信号データの誤り補正方式におい
て、前記音声信号データを上位および下位ワードに分割
し各ワードに対して誤り訂正を行って出力すると共に、
誤り訂正が不能のときに各ワード毎のエラーフラグを出
力する誤り訂正回路と、前記各ワードのエラーフラグの
内少なくとも一方のエラーフラグを受けたときに第1の
エラー信号を出力し、また下位ワードのエラーフラグの
みを受けたときに第2のエラー信号を出力するエラー信
号生成回路と、前記第1のエラー信号を受けたときに前
記誤り訂正回路が出力する音声信号データに対して前後
のエラーを含まない音声信号データにより推定値を演算
し推定した音声信号データを出力する推定値演算回路と
、前記第2のエラー信号を受けたときに前記誤り訂正回
路が出力する音声信号データに対してあらかじめ設定さ
れたワードで下位ワードを置換して出力する下位ワード
置換回路と、前記推定値演算回路および前記下位ワード
置換回路が出力する音声信号データを比較して前記推定
値演算回路および前記下位ワード置換回路が出力する音
声信号データの内いずれか一方を選択して出力する選択
回路とを備えたことを特徴とする誤り補正方式。 2、前記選択回路は、前記推定値演算回路が出力する音
声信号データの上位ワードのデータ値および前記下位ワ
ード置換回路が出力する音声信号データの上位ワードの
データ値を比較し、これらデータ値の差が2単位以上あ
る場合には前記下位ワード置換回路が出力する音声信号
データを選択して出力し、差が2単位未満の場合には前
記推定値演算回路が出力する音声信号データを選択して
出力することを特徴とする請求項1記載の誤り補正方式
[Claims] 1. In an error correction method for quantized audio signal data, the audio signal data is divided into upper and lower words, error correction is performed on each word, and the result is output.
an error correction circuit that outputs an error flag for each word when error correction is impossible; and an error correction circuit that outputs a first error signal when at least one of the error flags of each word is received; an error signal generation circuit that outputs a second error signal when only a word error flag is received; and an error signal generation circuit that outputs a second error signal when only a word error flag is received; an estimated value calculation circuit that calculates an estimated value using audio signal data that does not include an error and outputs the estimated audio signal data; and an estimated value calculation circuit that calculates an estimated value using audio signal data that does not include an error, and for audio signal data that the error correction circuit outputs when receiving the second error signal. A lower word replacement circuit that replaces and outputs a lower word with a word set in advance, and audio signal data output by the estimated value calculation circuit and the lower word replacement circuit, and compares the audio signal data output by the estimated value calculation circuit and the lower word replacement circuit. An error correction method comprising: a selection circuit that selects and outputs one of the audio signal data output by the word replacement circuit. 2. The selection circuit compares the data value of the upper word of the audio signal data outputted by the estimated value calculation circuit and the data value of the upper word of the audio signal data outputted by the lower word replacement circuit, and determines the value of these data values. If the difference is 2 units or more, the audio signal data output by the lower word permutation circuit is selected and output, and if the difference is less than 2 units, the audio signal data output by the estimated value calculation circuit is selected. 2. The error correction method according to claim 1, wherein the error correction method is outputted as follows.
JP23370190A 1990-09-04 1990-09-04 Error correction system Pending JPH04113723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23370190A JPH04113723A (en) 1990-09-04 1990-09-04 Error correction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23370190A JPH04113723A (en) 1990-09-04 1990-09-04 Error correction system

Publications (1)

Publication Number Publication Date
JPH04113723A true JPH04113723A (en) 1992-04-15

Family

ID=16959195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23370190A Pending JPH04113723A (en) 1990-09-04 1990-09-04 Error correction system

Country Status (1)

Country Link
JP (1) JPH04113723A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57184331A (en) * 1981-05-09 1982-11-13 Nippon Gakki Seizo Kk Noise eliminating device
JPS58225747A (en) * 1982-06-23 1983-12-27 Sony Corp Digital signal transmitter
JPS6065637A (en) * 1983-08-15 1985-04-15 ア−ルシ−エ− コ−ポレ−ション Method of transmitting data
JPS6141241A (en) * 1984-08-02 1986-02-27 Matsushita Electric Ind Co Ltd Pcm voice transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57184331A (en) * 1981-05-09 1982-11-13 Nippon Gakki Seizo Kk Noise eliminating device
JPS58225747A (en) * 1982-06-23 1983-12-27 Sony Corp Digital signal transmitter
JPS6065637A (en) * 1983-08-15 1985-04-15 ア−ルシ−エ− コ−ポレ−ション Method of transmitting data
JPS6141241A (en) * 1984-08-02 1986-02-27 Matsushita Electric Ind Co Ltd Pcm voice transmission method

Similar Documents

Publication Publication Date Title
JPS6251551B2 (en)
JPH10233652A (en) Recursive digital filter
JP3194135B2 (en) Digital audio processor
JPH04113723A (en) Error correction system
US5303245A (en) Information signal processing method and apparatus
JP2714129B2 (en) Code transmission method
JP3089477B2 (en) Quantizer and quantization method
JP2957190B2 (en) Error correction device
JPS6251329A (en) Code identification circuit
JPS5895439A (en) Pcm encoding circuit
JPH0548581A (en) Method for parity attachment
JPH06132938A (en) Frame conversion error correcting circuit
JPH0685763A (en) Voice processing circuit
JPH0766736A (en) Viterbi decoding device
JPH02134032A (en) Error interpolation circuit
JP3252298B2 (en) Sampling rate converter
JPS5836044A (en) Receiving method of continuous transmission system
JPH05300117A (en) Frame conversion error detecting circuit
JPS62245726A (en) Decoder for bch code
JPH0778970B2 (en) Data processing device
JPS61174843A (en) Error correcting device
JPH1168582A (en) Error correction method
JPH07302260A (en) Method for controlling data
JPH0160974B2 (en)
JPH0233679A (en) Pattern matching device and its learning system