JPH01302919A - Error interpolation circuit - Google Patents

Error interpolation circuit

Info

Publication number
JPH01302919A
JPH01302919A JP13322688A JP13322688A JPH01302919A JP H01302919 A JPH01302919 A JP H01302919A JP 13322688 A JP13322688 A JP 13322688A JP 13322688 A JP13322688 A JP 13322688A JP H01302919 A JPH01302919 A JP H01302919A
Authority
JP
Japan
Prior art keywords
error
word
block
words
error correction
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
JP13322688A
Other languages
Japanese (ja)
Inventor
Kazushige Miki
三木 一茂
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP13322688A priority Critical patent/JPH01302919A/en
Publication of JPH01302919A publication Critical patent/JPH01302919A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To prevent a word in which an error is not included from being unpreparedly interpolated by detecting in which word in a clock the error is included when there is the error which is more than the correction capacity of an error correction part in input data. CONSTITUTION:A digital sound signal string supplied to an input terminal 2 is rearranged by a prescribed regularity and the continuous error occurred on transmission is dispersed. One block in the data string is constituted by eight words of sound data and an error correction code. The error correction code is detected at the error correction part 4. When the error in one block is one, the bit in the position is inverted, whereby the error is corrected. When the errors are more than two and correction is impossible, an error detection flag F is set to the block. Rearrangement is executed in a word de interleave part 5 at every word, and interpolation in an interpolation part 6 is improved. The error correction code where the flag F is set, is processed in an interpolation part 10.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は音声データをデジタル処理するオーディオ機
器などに適用して好適な誤り補間回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an error interpolation circuit suitable for application to audio equipment that digitally processes audio data.

[従来の技術] 従来から、音声信号のディジタル化は盛んに行なわれて
おり、コンパクトディスク(CD)、衛星放送などにも
多く使用されている。
[Prior Art] Digitization of audio signals has been actively carried out, and is often used in compact discs (CDs), satellite broadcasting, and the like.

音声信号をデジタル化して伝送したときに誤ったデータ
が含まれる場合がある。この誤りを訂正するために従来
から第2図に示すような誤り補間回路10が設けられて
いる。
When audio signals are digitized and transmitted, incorrect data may be included. In order to correct this error, an error interpolation circuit 10 as shown in FIG. 2 has been conventionally provided.

第2図に示すように、入力端子2から供給された音声デ
ータ列は、ビット・デ・インターリーブ部(bit d
e 1nterleave ) 3において、ビット毎
に並べ換えが行われ、伝送上で生じた連続的な誤りが分
散される。
As shown in FIG.
e 1interleave ) 3, permutation is performed bit by bit, and continuous errors occurring in transmission are dispersed.

このビット・デ・インターリーブ部3の出力データは誤
り訂正符号と、所定数のワードが1ブロツクとして出力
される。
The output data of the bit deinterleaving unit 3 is an error correction code and a predetermined number of words are output as one block.

誤り訂正部4は回路によって誤りの訂正能力が異なるが
、1ブロツクでのビット誤りか訂正能力の範囲内の場合
には、誤っているビットを反転することによって正しい
データに訂正される。
The error correction unit 4 has error correction capabilities that vary depending on the circuit, but when a bit error in one block is within the range of the correction capability, the data is corrected to correct data by inverting the erroneous bits.

一方、訂正能力の範囲を越える数の誤りが1ブロツク内
に有る場合は、誤り訂正不能となり訂正は行なわれない
On the other hand, if there are errors in one block that exceed the range of correction capability, the errors cannot be corrected and no correction is performed.

このように訂正能力の範囲を越える数の誤りが存在する
場合、ブロック内のワードに誤りが存在することを示す
、誤り検出フラグFが立てられる。
If there are errors in the number exceeding the correction capability, an error detection flag F is set, which indicates that an error exists in a word within the block.

この誤り検出フラグFはデータとは区別して伝送される
。そのため、図では便宜的にこの誤り検出フラグFの伝
送路を破線で示した。
This error detection flag F is transmitted separately from data. Therefore, in the figure, the transmission path of this error detection flag F is shown by a broken line for convenience.

誤り訂正部4を通過したデータはワード・デ・インター
リーブ部5によって、ワード毎に並び換えられる。
The data that has passed through the error correction unit 4 is rearranged word by word by a word deinterleaving unit 5.

これはワード中に誤りが存在する場合、前後のワードを
用いて誤り補間を行うためにブロック内の誤りが存在す
るワードを分散きせるためである。
This is because when an error exists in a word, the words in the block are distributed so that error interpolation is performed using the preceding and succeeding words.

ワード・デ・インターリーブ処理された音声ワード列は
、補間部20において、当該ワードが誤り訂正部4で誤
り訂正不能となったブロックに含まれていたか否かが誤
り検出フラグFによって判断される。
The interleaving unit 20 uses the error detection flag F to determine whether or not the word is included in a block whose error cannot be corrected by the error correction unit 4 in the word de-interleaved audio word string.

検出フラグFか立っていないワードはワード遅延部61
.62及び出力選択スイッチ21を介してそのまま出力
される。
Words for which the detection flag F is not set are processed by the word delay unit 61.
.. 62 and output selection switch 21 as is.

この出力選択スイッチ21は誤り検出フラグFの状態に
基づいて、ワード遅延部62からの出力ブロックと、平
均値演算部64からの出力ブロックとが切り換えられ、
出力端子7に出力される。
This output selection switch 21 switches between the output block from the word delay section 62 and the output block from the average value calculation section 64 based on the state of the error detection flag F.
It is output to the output terminal 7.

一方、検出フラグFが立っているワードは、誤り訂正部
4において誤り訂正不能となったブロック内に含まれて
いるため誤っている可能性がある。
On the other hand, the word for which the detection flag F is set is included in a block whose error cannot be corrected by the error correction unit 4, so there is a possibility that the word is erroneous.

しかし、音声信号は連続性の強い信号であるから、誤っ
たワードかあったとき、前後の正しいワードの平均値に
置き換えて使用しても、聴感上はとんど問題にならない
。このような音楽信号の連続性を利用して、ワード遅延
部61とワード遅延部63の出力ワードから演算部64
において平均値が求められ、その値に置き換えられる。
However, since the audio signal is a highly continuous signal, even if an incorrect word is found, replacing it with the average value of the preceding and succeeding correct words will not cause any audible problems. Utilizing the continuity of such music signals, the calculation unit 64 uses the output words of the word delay unit 61 and the word delay unit 63.
The average value is determined at and replaced with that value.

すなわち、平均値補間処理がなされている。That is, average value interpolation processing is performed.

このような構成の誤り補間回路により、伝送中に生じた
誤りが訂正・補間され、誤りの影響が低減される。
The error interpolation circuit having such a configuration corrects and interpolates errors that occur during transmission, thereby reducing the influence of errors.

[発明が解決使用とする課題] ところで、音声信号をディジタル信号に符号化する際、
誤り訂正符号が複数ワード単位に付加されて1ブロツク
となっている。
[Problem to be solved by the invention] By the way, when encoding an audio signal into a digital signal,
Error correction codes are added in units of multiple words to form one block.

上述したように誤り訂正部で訂正不能となると当該ブロ
ックに含まれる全てのワードに対して誤り検出フラグF
が立ってしまう。
As mentioned above, if the error correction unit cannot correct the error, the error detection flag F is set for all words included in the block.
stands up.

その結果、補間部20において、その全てのワードに対
して補間が行なわれる。
As a result, the interpolation section 20 performs interpolation on all the words.

例えば、1ブロツク中の1部のワードに誤り訂正能力の
範囲を越える誤りが存在する場合、他の誤りのない正し
いワードも補間され、前後のワードの平均値などに置き
換えられてしまい、本当の正しいワードでなくなってし
まうといった問題点がある。
For example, if some of the words in one block contain an error that exceeds the error correction capability, other correct words with no errors will also be interpolated and replaced with the average value of the preceding and succeeding words, resulting in the true There is a problem that the word is no longer correct.

そこで、この発明ではこのような従来の問題点を構成簡
単に解決したものであって、誤りを含むワードのみを補
間するようにした誤り補間回路を提案するものて゛ある
Accordingly, the present invention proposes an error interpolation circuit that solves these conventional problems with a simple structure and interpolates only words containing errors.

[課題を解決するための手段] デジタル音声データの誤りを訂正する誤り訂正部と、 データをワード毎に遅延するワード遅延部と、所望のワ
ードの前後のワードから平均値を演算する演算部と、 演算部において得られた平均値と、所望のワードとをビ
ット単位で比較する比較部とを具備し、ワード単位で平
均化されたワードと所望のワードとを選択するようにし
たことを特徴とするものである。
[Means for solving the problem] An error correction unit that corrects errors in digital audio data, a word delay unit that delays data word by word, and an arithmetic unit that calculates an average value from words before and after a desired word. , a comparison unit that compares the average value obtained in the calculation unit and a desired word bit by bit, and the word averaged in word units and the desired word are selected. That is.

[作 用] このような構成において、第1図に示すようにこの発明
に係る誤り補間回路1では、入力端子2から供給された
デジタル音声データ列は伝送上で生じた連続的な誤りが
分散され、所定ワードを1ブロツクとして誤り訂正部4
に供給される。
[Function] In such a configuration, as shown in FIG. 1, in the error interpolation circuit 1 according to the present invention, the digital audio data string supplied from the input terminal 2 has continuous errors occurring during transmission dispersed. The error correction unit 4 uses a predetermined word as one block.
is supplied to

誤り訂正部4ては1ブロツク毎に誤り訂正が行われ、訂
正能力の範囲を越える数の誤りが存在する場合、当該ブ
ロック中に誤りが存在することを示す誤り検出フラグF
か立てられる。
The error correction unit 4 performs error correction for each block, and if there are errors in the number exceeding the correction capability, an error detection flag F indicating that errors exist in the block is set.
can be erected.

誤り検出フラグFが立てられたブロックは1ワード毎に
ワード遅延部61,62.63に供給される。
The blocks in which the error detection flag F has been set are supplied word by word to word delay units 61, 62, and 63.

ワード遅延部61.63の出力ワードの平均値が演算部
64において求められ、比較部65においてワード遅延
部62と、演算部64からの出力ワードが、ビット単位
で比較される。
The average value of the output words of the word delay sections 61 and 63 is determined in the calculation section 64, and the output words from the word delay section 62 and the calculation section 64 are compared bit by bit in the comparison section 65.

この発明では、音声信号の連続性に基づいて、ワードが
正しいか否かを当該ワードにおける前後のワードの平均
値を基準として判断することにしている。
In this invention, based on the continuity of the audio signal, whether or not a word is correct is determined based on the average value of the words before and after the word.

この比較結果に基づいて補間を行うか否かが判断きれ、
誤りの含まれていないと判断されたワードは補間されず
出力される。
Based on this comparison result, it can be determined whether or not to perform interpolation.
Words determined not to contain errors are output without being interpolated.

その結果、本発明の補間回路は、誤り訂正部において訂
正不能となったブロックのワードのうち誤りを含むワー
ドと、誤りを含まない正しいワードを音声信号の特性を
利用して区別することによって、できる限り補間を行な
わず、正しいディジタル音声データを出力することがで
きる。
As a result, the interpolation circuit of the present invention utilizes the characteristics of the audio signal to distinguish between words that contain errors and correct words that do not contain errors among the words of the block that cannot be corrected in the error correction unit. Correct digital audio data can be output without interpolation as much as possible.

[実 施 例] 続いて、この発明に係る誤り補間回路の一例を第1図を
参照して詳細に説明する。
[Embodiment] Next, an example of an error interpolation circuit according to the present invention will be explained in detail with reference to FIG.

第1図はこの発明に係る誤り補間回路の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of an error interpolation circuit according to the present invention.

この誤り補間回路1は、ビット・デ・インターリーブ部
3、誤り訂正部4、ワード・デ・インターリーブ部5、
補間部6で構成されている。
The error interleaving circuit 1 includes a bit de-interleaving section 3, an error correction section 4, a word de-interleaving section 5,
It is composed of an interpolation section 6.

補間部6は、1ワード毎に遅延するワード遅延部61.
62,63、平均値演算部64、ビット比較部65及び
出力選択スイッチ66から構成されている。
The interpolation unit 6 includes a word delay unit 61 . which delays each word.
62, 63, an average value calculation section 64, a bit comparison section 65, and an output selection switch 66.

このような構成の誤り補間回路1において、入力端子2
に供給されたディジタル音声データ列は、ビット・デ・
インターリーブ部3に供給され所定の規則性をもって並
び換えられ、伝送上で生じた連続誤りか分散されて、誤
り訂正の効果が高められる。
In the error interpolation circuit 1 having such a configuration, the input terminal 2
The digital audio data stream supplied to
The signals are supplied to the interleaving unit 3 and rearranged with a predetermined regularity, and continuous errors occurring during transmission are dispersed, thereby increasing the effect of error correction.

この並び換えられたデータ列の1ブロツクは例えば音声
データの8ワードと誤り訂正符号とて構成される。
One block of this rearranged data string is composed of, for example, eight words of audio data and an error correction code.

誤り訂正符号ば1ブロツク中の誤りが1つの場合は誤り
訂正の能力を持ち、2つ以上の場合は誤り検出の能力を
有する。
An error correction code has the ability to correct errors if there is one error in one block, and has the ability to detect errors if there are two or more errors.

誤り訂正部4では、1ブロツク毎に誤り訂正が行われる
。例えば1ブロツク中の誤りが1つの場合は、その位置
にあるビットを反転することによって誤りが訂正される
The error correction section 4 performs error correction for each block. For example, if there is one error in one block, the error is corrected by inverting the bit at that position.

また1ブロツク中の誤りが訂正能力の範囲を越える場合
、例えば2つ以上の場合は、誤り訂正不能となり当該ブ
ロック中に誤りが存在することを示す誤り検出フラグF
が立てられる。
In addition, if the errors in one block exceed the range of correction capability, for example, if there are two or more errors, error correction becomes impossible and the error detection flag F indicates that errors exist in the block.
is erected.

ワード・デ・インターリーブ部5では補間効果を高める
ためにワード毎に並べ換えが行なわれ、誤りを含んだワ
ードが連続しないように分散されて配置きれる。
In the word de-interleaving unit 5, in order to enhance the interpolation effect, rearrangement is performed for each word, and words containing errors are distributed and arranged so that they are not consecutive.

ここで誤り訂正不能となり、誤り検出フラグFが立った
ブロックについて説明する。
Here, a block in which error correction is impossible and the error detection flag F is set will be explained.

誤り検出フラグFが立ったブロックのワードは、ワード
遅延部62の出力時に誤り検出フラグFが検出され、誤
りが含まれている可能性のあるワードであることか判断
きれる。
The error detection flag F is detected in the word of the block in which the error detection flag F is set at the time of output from the word delay unit 62, and it can be determined whether the word is a word that may contain an error.

ワード遅延部61及びワード遅延部63の出力ワードが
平均値演算部64において演算きれる。
The output words of the word delay section 61 and the word delay section 63 are calculated in the average value calculation section 64.

ワ−ド遅延部62の出力ワードと、平均値演算部64か
らの演算結果(出力ワード)がビット比較部65におい
て、全てのビットまたは適当な何ビットかを抜き出して
ビット単位で比較される。
The output word of the word delay unit 62 and the operation result (output word) from the average value calculation unit 64 are compared bit by bit in a bit comparison unit 65 by extracting all bits or a suitable number of bits.

比較されたビットが全て等しい場合、このワードと、当
該ワードの前後ワードの平均値とが等しいものと判断さ
れ−る。
If all compared bits are equal, it is determined that this word is equal to the average value of the words before and after the word.

その結果、誤り訂正部4において誤り検出フラグFが立
っていても、補間を行なうことなく、ワード遅延部62
の出力ワードが出力選択スイッチ66を介して出力端子
7に出力される。
As a result, even if the error detection flag F is set in the error correction unit 4, the word delay unit 62 does not perform interpolation.
The output word is outputted to the output terminal 7 via the output selection switch 66.

この出力選択スイッチ66はビット比較部65からの比
較結果に基づいて、ワード遅延部62からの出力ワード
と、平均値演算部64からの出力ワードとが切り換えら
れ、出力端子7に比較結果に応じたワードが出力きれる
This output selection switch 66 switches between the output word from the word delay section 62 and the output word from the average value calculation section 64 based on the comparison result from the bit comparison section 65, and outputs the output word to the output terminal 7 according to the comparison result. The words that were written can be output.

また、比較された結果が等しくない場合は当該ワードに
誤りが含まれていると判断し、平均値演算部64の出力
が出力選択スイッチ66を介して出力端子7に出力され
る。
If the compared results are not equal, it is determined that the word contains an error, and the output of the average value calculation section 64 is outputted to the output terminal 7 via the output selection switch 66.

その結果、誤り訂正部4において1ブロック単位で誤り
訂正不能となったワードのうち誤りを含んだワードと誤
りを含んでいないワードとを判別することができる。
As a result, the error correction unit 4 can discriminate between words containing errors and words containing no errors among the words whose errors cannot be corrected on a block-by-block basis.

したがって、補間部6において正しいワードはそのまま
出力され、誤ったワードのみ前後のワードを用いて補間
される。
Therefore, in the interpolation unit 6, correct words are output as they are, and only incorrect words are interpolated using the preceding and succeeding words.

一方、誤り訂正部4において、誤り検出フラグFか立た
ない場合、即ちブロック内のワード中の誤りが訂正きれ
たり、誤りが存在しないときには、ワード遅延部62か
らの出力がそのまま出力選択スイッチ66を介して出力
される。
On the other hand, in the error correction section 4, when the error detection flag F is not set, that is, when the error in the word in the block has been corrected or there is no error, the output from the word delay section 62 is directly sent to the output selection switch 66. output via

[発明の効果] 以上説明したように、本発明に係る誤り補間回路は、デ
ジタル音声データの誤りを訂正する誤り訂正部と、 データをワード毎に遅延するワード遅延部と、所望のワ
ードの前後のワードから平均値を演算する演算部と、 演算部において得られた平均値と、所望のワードとをビ
ット単位で比較する比較部とを具備し、ワード単位で平
均化されたワードと所望のワードとを選択するようにし
たことを特徴とするものである。
[Effects of the Invention] As explained above, the error interpolation circuit according to the present invention includes an error correction section that corrects errors in digital audio data, a word delay section that delays data word by word, and a word delay section that delays data before and after a desired word. a computation section that computes an average value from words of This feature is characterized in that a word can be selected.

このように入力データの中に、誤り訂正部における訂正
能力以上の誤りがある場合、ブロック内のどのワード中
に誤りが含まれているか否かを検出して、誤りの含まれ
ていないワードが不用意に補間されないようにしたもの
である。
In this way, if there are more errors in the input data than the error correction unit can correct, it detects which word in the block contains the error and selects a word that does not contain an error. This is to prevent careless interpolation.

その結果、音声データを用いて再生される音声信号の歪
率を大幅に改善できる。
As a result, the distortion rate of the audio signal reproduced using audio data can be significantly improved.

したがって、この発明に係る誤り補間回路はオーディオ
機器などに適用して極めて好適である。
Therefore, the error interpolation circuit according to the present invention is extremely suitable for application to audio equipment and the like.

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

第1図はこの発明に係る誤り補間回路の一実施例を示す
系統図、第2図は従来の誤り補間回路を示す系統図であ
る。 1・・・誤り補間回路 4・・・誤り訂正部 6・・・補間部 61.62.63・・・ワード遅延部 64・・・演算部 65・・・比較部 66・・・出力選択スイッチ
FIG. 1 is a system diagram showing an embodiment of an error interpolation circuit according to the present invention, and FIG. 2 is a system diagram showing a conventional error interpolation circuit. 1...Error interpolation circuit 4...Error correction section 6...Interpolation section 61,62,63...Word delay section 64...Arithmetic section 65...Comparison section 66...Output selection switch

Claims (1)

【特許請求の範囲】[Claims] (1)デジタル音声データの誤りを訂正する誤り訂正部
と、 データをワード毎に遅延するワード遅延部と、所望のワ
ードの前後のワードから平均値を演算する演算部と、 上記演算部において得られた平均値と、所望のワードと
をビット単位で比較する比較部とを具備し、 ワード単位で上記平均化されたワードと所望ワードとを
選択するようにしたことを特徴とする誤り補間回路。
(1) An error correction unit that corrects errors in digital audio data; a word delay unit that delays data word by word; and an arithmetic unit that calculates an average value from words before and after a desired word; an error interpolation circuit, comprising: a comparison unit that compares the average value obtained by the calculation and a desired word in bit units; and the error interpolation circuit selects the averaged word and the desired word in units of words. .
JP13322688A 1988-05-31 1988-05-31 Error interpolation circuit Pending JPH01302919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13322688A JPH01302919A (en) 1988-05-31 1988-05-31 Error interpolation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13322688A JPH01302919A (en) 1988-05-31 1988-05-31 Error interpolation circuit

Publications (1)

Publication Number Publication Date
JPH01302919A true JPH01302919A (en) 1989-12-06

Family

ID=15099682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13322688A Pending JPH01302919A (en) 1988-05-31 1988-05-31 Error interpolation circuit

Country Status (1)

Country Link
JP (1) JPH01302919A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0617558A2 (en) * 1993-03-24 1994-09-28 Sony Corporation Apparatus for concealing errors in data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0617558A2 (en) * 1993-03-24 1994-09-28 Sony Corporation Apparatus for concealing errors in data
EP0617558A3 (en) * 1993-03-24 1995-04-05 Sony Corp Apparatus for concealing errors in data.

Similar Documents

Publication Publication Date Title
US5271011A (en) Digital audio data muting system and method
US4541092A (en) Method for error correction
US4271520A (en) Synchronizing technique for an error correcting digital transmission system
US4593395A (en) Error correction method for the transfer of blocks of data bits, a device and performing such a method, a decoder for use with such a method, and a device comprising such a decoder
JPH084233B2 (en) Error correction code decoding device
JPH0353817B2 (en)
JP2001136079A (en) Multi-stage coding method, multi-stage decoding method, multi-stage encoder, multi-stage decoder and information transmission system using them
JPH10215189A (en) Non-equalized digital receiver using block decoding with erasure and error correction
EP0234354B1 (en) Apparatus for decoding a digital signal
JPH01302919A (en) Error interpolation circuit
EP0817503B1 (en) Decoding apparatus and decoding method
EP0394491A1 (en) Voice signal demodulation circuit
JPH048979B2 (en)
JPH01318432A (en) Error interpolation circuit
GB2310980A (en) Frame synchronisation for digital audio broadcasting
US5357526A (en) Method and apparatus for correcting errors of compressed data
JP2004215240A (en) Error correction apparatus and error correction method
JP2606647B2 (en) Error correction method
JPS5851642A (en) Digital information signal transmitting system and transmission circuit device
JPS63185132A (en) Pcm audio decoder
JP2536861B2 (en) Multistage decoding method
JPS60109943A (en) Error detecting correction method
JP2600581B2 (en) Code synchronization circuit
JP3109820B2 (en) Decoding processing device
DK160169B (en) Method and connection for transmission of digital information signals