JPH07264077A - Error detection and correction circuit - Google Patents

Error detection and correction circuit

Info

Publication number
JPH07264077A
JPH07264077A JP4821594A JP4821594A JPH07264077A JP H07264077 A JPH07264077 A JP H07264077A JP 4821594 A JP4821594 A JP 4821594A JP 4821594 A JP4821594 A JP 4821594A JP H07264077 A JPH07264077 A JP H07264077A
Authority
JP
Japan
Prior art keywords
error
error correction
mode
correction mode
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.)
Withdrawn
Application number
JP4821594A
Other languages
Japanese (ja)
Inventor
Akisuke Shikakura
明祐 鹿倉
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4821594A priority Critical patent/JPH07264077A/en
Publication of JPH07264077A publication Critical patent/JPH07264077A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To prevent the frequency of the changeover of an operating mode when a transmission error rate fluctuates near a threshold value in an error detection and correction circuit for changing error correction ability corresponding to the transmission error rate. CONSTITUTION:A data reproduction circuit 12 reproduces data from the input signals of an input terminal 10, an error information detection circuit 14 detects the transmission error rate from the reproduced data and a mode setting circuit 16 outputs a mode control signal for switching an error correction mode so as to provide hysterisis characteristics stipulated by the threshold values (a) and (b) corresponding to the threshold values (a) and (b) from a threshold value setting circuit 17 and error rate information from the circuit 14. The threshold value setting circuit 17 outputs the threshold value (a) or (b) {<(a)} of a numerical value corresponding to the operation of a user to the mode setting circuit 16 and an error correction circuit 18 decodes error correction codes in the reproduced data from the data reproduction circuit 12 by the decoding algorithm of the error correction mode corresponding to the mode control signal from the circuit 16 and detects and corrects transmission errors.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、誤り検出訂正回路に関
し、より具体的にはディジタル・データの伝送(記録再
生を含む。)時に発生する誤りを検出訂正する誤り検出
訂正回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error detection / correction circuit, and more particularly to an error detection / correction circuit for detecting and correcting an error generated during transmission (including recording / reproduction) of digital data.

【0002】[0002]

【従来の技術】一般に、ディジタル・データの伝送(記
録・再生)システムでは、伝送誤りを訂正する誤り訂正
符号が用いられる。即ち、従来のディジタル伝送システ
ムでは、送信(記録)側で伝送データを誤り訂正符号化
し、受信側では、伝送による誤りを含んだデータを受信
(再生)し、誤り訂正符号を復号することで誤りを検出
訂正して、極力正しいデータを復元するようにしてい
る。また、このようなディジタル伝送システムでディジ
タル画像データを扱う場合、訂正不能データを近似値で
代替する補間技術が使用される。このような補間技術を
有効利用できるように考慮した誤り検出訂正回路が、例
えば平成1年特許願第144530号(平成3年特許出
願公開第10422号)として出願されている。
2. Description of the Related Art Generally, in a digital data transmission (recording / reproducing) system, an error correction code for correcting a transmission error is used. That is, in the conventional digital transmission system, the transmission (recording) side performs error correction coding on the transmission data, and the receiving side receives (reproduces) the data including the error due to the transmission and decodes the error correction code to generate the error. Is detected and corrected, and the correct data is restored as much as possible. Further, when handling digital image data in such a digital transmission system, an interpolation technique of substituting approximate values for uncorrectable data is used. An error detection / correction circuit that allows effective use of such an interpolation technique has been applied as, for example, Japanese Patent Application No. 144530 in 1991 (Japanese Patent Application Publication No. 10422 in 1991).

【0003】この特許出願では、伝送誤り率が悪化した
場合には、誤り訂正より補間処理を活用するようにし
て、伝送誤りの誤訂正による再生画像の画質劣化を軽減
する。即ち、入力データ列から伝送誤り数に関する情
報、即ち伝送誤り率に関する情報を検出し、検出された
誤り率情報に応じて、誤り訂正符号の復号アルゴリズム
を通常モードと誤り率悪化モードの2つのモードの間で
切り換える。誤り訂正符号が2誤り訂正可能な符号であ
るとして、伝送誤り率が小さい場合、1誤り及び2誤り
について誤り訂正処理を実行すると共に、3誤り以上は
訂正不能として後段で補間処理を実行し(通常モー
ド)、伝送誤り率が悪化して所定閾値を越えた場合、1
誤りについてのみ訂正処理を実行すると共に、2誤り以
上では訂正不能として後段で補間処理を実行する(誤り
率悪化モード)。
In this patent application, when the transmission error rate deteriorates, the interpolation process is utilized rather than the error correction to reduce the image quality deterioration of the reproduced image due to the erroneous correction of the transmission error. That is, the information about the number of transmission errors, that is, the information about the transmission error rate is detected from the input data string, and the decoding algorithm of the error correction code is set to two modes, the normal mode and the error rate deterioration mode, according to the detected error rate information. Switch between. If the error correction code is a code capable of two-error correction and the transmission error rate is small, error correction processing is executed for one error and two errors, and if three or more errors are uncorrectable, interpolation processing is executed at a later stage ( (Normal mode), if the transmission error rate deteriorates and exceeds a predetermined threshold value, 1
The correction process is executed only for the error, and the correction process is executed if the error is two or more, and the interpolation process is executed in the subsequent stage (error rate deterioration mode).

【0004】図5は、伝送誤り率に対する誤訂正確率
(及び補間確率)の特性図を示す。縦軸が誤訂正確率及
び補間確率であり、横軸が伝送誤り率を示す。誤り率悪
化モードでの復号誤り率の特性例を図5に示す。点線で
示す直線50が、2訂正モード、即ち通常モードでの補
間確率(訂正不能処理で補間にまわる確率)、点線で示
す直線52が通常モードでの誤訂正確率、点線で示す直
線54が1訂正モード、即ち誤り率悪化モードの補間確
率、点線で示す直線56が誤り率悪化モードでの誤訂正
確率である。図5から分かるように、一般に、通常モー
ドに比べ誤り率悪化モードでは、補間確率が高いが、誤
訂正確率は低くなる。
FIG. 5 is a characteristic diagram of the error correction probability (and interpolation probability) with respect to the transmission error rate. The vertical axis represents the error correction probability and the interpolation probability, and the horizontal axis represents the transmission error rate. FIG. 5 shows a characteristic example of the decoding error rate in the error rate worsening mode. A straight line 50 indicated by a dotted line is an interpolation probability in two correction modes, that is, a normal mode (probability of interpolation in uncorrectable processing), a straight line 52 indicated by a dotted line is an erroneous correction probability in a normal mode, and a straight line 54 indicated by a dotted line is 1. The correction mode, that is, the interpolation probability in the error rate worsening mode, and the straight line 56 shown by the dotted line is the error correction probability in the error rate worsening mode. As can be seen from FIG. 5, generally, in the error rate worsening mode, the interpolation probability is higher than in the normal mode, but the error correction probability is low.

【0005】上記特許出願では、適当な伝送誤り率aを
閾値として、閾値aより小さいな伝送誤り率のとき、通
常モードを、閾値a以上の伝送誤り率のとき誤り率悪化
モードを設定するようにしている。これにより、補間確
率及び誤訂正確率は、図5に太実線で示すように推移
し、受信データは、伝送誤り率が小さい領域では通常モ
ードで復号され、伝送誤り率が大きい領域では誤り率悪
化モードで復号される。この結果、誤訂正確率は、極端
に伝送誤り率が大きくなった場合を除き、許容範囲内に
低く抑えられることになり、極端な画質劣化を防ぐこと
ができる。
In the above-mentioned patent application, when the transmission error rate a is smaller than the threshold value a, the normal mode is set, and when the transmission error rate is equal to or higher than the threshold value a, the error rate deterioration mode is set. I have to. As a result, the interpolation probability and the error correction probability change as shown by the thick solid line in FIG. 5, and the received data is decoded in the normal mode in the area where the transmission error rate is small, and the error rate deteriorates in the area where the transmission error rate is large. Decrypted in mode. As a result, the error correction probability can be suppressed to a low value within the allowable range except when the transmission error rate becomes extremely large, and it is possible to prevent extreme deterioration in image quality.

【0006】[0006]

【発明が解決しようとする課題】上記従来例では、伝送
誤り率が閾値a付近で変動を繰り返す場合や閾値a付近
の値をとり続ける場合、動作モードの切り替えが頻繁に
繰り返され勝ちになる。この結果、画質の異なる2状態
が短時間のうちに何度も切り替わり、結果として見にく
い画像が再生されるという問題があった。
In the above-mentioned conventional example, when the transmission error rate repeatedly fluctuates in the vicinity of the threshold value a or when the value continues to take the value in the vicinity of the threshold value a, the switching of the operation modes is frequently repeated, which is a win. As a result, there is a problem that two states having different image qualities are switched many times in a short time, and as a result, an image that is difficult to see is reproduced.

【0007】本発明は、伝送誤り率が上記のように変動
した場合でも安定した動作で、安定した画質の画像を提
供できる誤り検出訂正回路を提示することを目的とす
る。
An object of the present invention is to provide an error detection / correction circuit capable of providing an image of stable image quality with stable operation even when the transmission error rate fluctuates as described above.

【0008】また、近年、伝送媒体が多様化し、同一装
置を特性の異なる伝送路で使用することも多く見受けら
れる。このような状況では、使用状況、伝送路及び使用
者の好みに応じて、再生画像の画質を選択できるのが望
ましい。
Further, in recent years, transmission media have become diversified, and it is often seen that the same device is used in transmission lines having different characteristics. In such a situation, it is desirable to be able to select the image quality of the reproduced image according to the usage situation, the transmission path and the preference of the user.

【0009】本発明はまた、このような要望を満たす誤
り検出訂正回路を提示することを目的とする。
Another object of the present invention is to provide an error detection / correction circuit satisfying such demands.

【0010】[0010]

【課題を解決するための手段】本発明に係る誤り検出訂
正回路は、入力データ列から当該入力データ列中に発生
した誤りの数に関する誤り情報を検出し、検出された誤
り情報に応じて誤り訂正モードを決定し、決定された誤
り訂正モードで入力データ列の誤りを訂正する誤り検出
訂正回路であって、誤り訂正モードを決定する少なくと
も2つの閾値を具備し、第1の誤り訂正モードから第2
の誤り訂正モードへの遷移に第1の閾値を、当該第2の
誤り訂正モードから当該第1の誤り訂正モードへの遷移
に第2の閾値を使用することを特徴とする。
An error detection / correction circuit according to the present invention detects error information relating to the number of errors occurring in an input data string from an input data string and makes an error in accordance with the detected error information. An error detection / correction circuit for determining a correction mode and correcting an error in an input data string in the determined error correction mode, comprising at least two threshold values for determining the error correction mode, Second
The first threshold value is used for the transition to the error correction mode, and the second threshold value is used for the transition from the second error correction mode to the first error correction mode.

【0011】そして、好ましくは、前記第1の誤り訂正
モードが小さい伝送誤り率に対応し、前記第2の誤り訂
正モードが大きな伝送誤り率に対応し、上記第1の閾値
を上記第2の閾値より大きくしておく。
Preferably, the first error correction mode corresponds to a small transmission error rate, the second error correction mode corresponds to a large transmission error rate, and the first threshold value is set to the second threshold value. Keep it larger than the threshold.

【0012】[0012]

【作用】上記手段により誤り訂正モードの決定にヒステ
リシス特性を持たせているので、伝送誤り率が誤り訂正
モードを決定する何れかの閾値の近辺で変動したりした
としても、誤り訂正モードの切り替えが頻繁に発生する
ことがなくなる。この結果、安定した動作で安定した画
質の画像を供給できるようになる。
Since the error correction mode is determined by the above means with the hysteresis characteristic, the error correction mode is switched even if the transmission error rate fluctuates in the vicinity of any threshold value for determining the error correction mode. Will not occur frequently. As a result, it becomes possible to supply a stable image with stable image quality.

【0013】[0013]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0014】図1は、本発明の一実施例の概略構成ブロ
ック図を示す。
FIG. 1 shows a schematic block diagram of an embodiment of the present invention.

【0015】図1を説明する。入力端子10には、伝送
誤りを含むディジタル・データ列が入力する。データ再
生回路12は、入力端子10からの入力データを復調
し、同期分離及びID認識によりデータ再生する。誤り
情報検出回路14は、再生データから伝送誤りの数、即
ち伝送誤り率に関する情報を検出する。誤り情報検出回
路14により検出された誤り情報は、モード設定回路1
6に供給される。モード設定回路16は、誤り情報検出
回路14からの誤り情報と閾値設定回路17からの閾値
a,bに従い、閾値a,bで規定されるヒステリシス特
性を持つように誤り訂正モードを切り替えるモード制御
信号を出力する。このモード制御信号は、1又は0の1
ビット信号である。閾値a,b及びモード設定回路16
の詳細については、後述する。
Referring to FIG. A digital data string including a transmission error is input to the input terminal 10. The data reproduction circuit 12 demodulates the input data from the input terminal 10 and reproduces the data by synchronizing separation and ID recognition. The error information detection circuit 14 detects information about the number of transmission errors, that is, the transmission error rate, from the reproduced data. The error information detected by the error information detection circuit 14 is the mode setting circuit 1
6 is supplied. The mode setting circuit 16 switches the error correction mode according to the error information from the error information detection circuit 14 and the threshold values a and b from the threshold value setting circuit 17 so as to have the hysteresis characteristic defined by the threshold values a and b. Is output. This mode control signal is 1 or 0
It is a bit signal. Threshold values a and b and mode setting circuit 16
Details of will be described later.

【0016】閾値設定回路17は、ユーザの操作するキ
ーボード又はテン・キー等に従った数値の閾値a,bを
モード設定回路16に出力する。即ち、閾値a,bは両
方とも変更自在であるが、その一方のみが変更自在であ
ってもよい。使用する伝送路や、誤り訂正後のデータの
使われ方、データが映像情報であれば視聴対象者などを
考慮して、ユーザ等が、閾値a,bを適切な数値に設定
する。これにより、同一装置を異なる伝送路に接続する
場合にも、柔軟に対応できるようになる。
The threshold value setting circuit 17 outputs the numerical value threshold values a and b to the mode setting circuit 16 according to a keyboard or a ten key operated by the user. That is, both the threshold values a and b are changeable, but only one of them may be changeable. The user or the like sets the threshold values a and b to appropriate values in consideration of the transmission path to be used, the usage of the data after error correction, and the audience for viewing if the data is video information. As a result, even when the same device is connected to different transmission paths, it is possible to flexibly deal with it.

【0017】誤り訂正回路18は、モード設定回路16
からのモード制御信号に応じた誤り訂正モードの復号ア
ルゴリズムで、データ再生回路12からの再生データ中
の誤り訂正符号を復号化し、伝送誤りを検出訂正する。
即ち、誤り訂正回路18は、伝送誤り率に応じた最適な
復号アルゴリズムにより伝送誤りを訂正する。誤り訂正
回路18は、正しいデータ、誤り訂正したデータ、又は
修整フラグ付きの誤ったデータを出力端子20に出力す
る。
The error correction circuit 18 is a mode setting circuit 16
The error correction code in the reproduction data from the data reproduction circuit 12 is decoded by the decoding algorithm of the error correction mode according to the mode control signal from ## EQU1 ## to detect and correct the transmission error.
That is, the error correction circuit 18 corrects the transmission error by the optimum decoding algorithm according to the transmission error rate. The error correction circuit 18 outputs correct data, error-corrected data, or erroneous data with a correction flag to the output terminal 20.

【0018】用いられている誤り訂正符号が2誤り訂正
可能な符号であり、伝送誤り率に応じた2つの復号モー
ド(通常モードと誤り率悪化モード)を持つ場合を例に
具体的に説明する。誤り率が低い場合、誤り訂正回路1
8は通常モードで動作し、1誤りと2誤りを誤り訂正す
るが、3誤り以上を訂正不能とする。また、伝送路の誤
り率が所定値以上に悪化した場合、誤り訂正回路18は
誤り率悪化モードで動作し、1誤りのみを誤り訂正し、
2誤り以上を訂正不能とする。
A specific description will be given of a case where the error correction code used is a code capable of two-error correction and has two decoding modes (normal mode and error rate worsening mode) according to the transmission error rate. . If the error rate is low, the error correction circuit 1
8 operates in the normal mode, corrects 1 error and 2 errors, but makes 3 or more errors uncorrectable. Further, when the error rate of the transmission line deteriorates beyond a predetermined value, the error correction circuit 18 operates in the error rate deterioration mode and corrects only one error.
Two or more errors are uncorrectable.

【0019】誤り訂正回路18における誤り訂正処理で
は、誤り位置及び誤りパターンを計算し、その計算結果
を用いて誤りデータを訂正し、訂正データを出力する。
訂正不能処理では、誤りの訂正が不可能であると判断し
た符号のデータをそのまま出力すると共に、誤りが含ま
れていることを示す修整フラグを出力する。後段の例え
ば補間回路が、この修整フラグに応じて誤りデータを補
間値で置換する。
In the error correction processing in the error correction circuit 18, the error position and the error pattern are calculated, the error data is corrected using the calculation result, and the corrected data is output.
In the uncorrectable processing, the data of the code determined to be unable to correct the error is output as it is, and the correction flag indicating that the error is included is output. For example, an interpolation circuit in the subsequent stage replaces error data with an interpolation value according to the modification flag.

【0020】図2は、モード設定回路16の動作フロー
チャートを示し、図3は、モード設定回路16の特性図
を示す。なお、ここでは、誤り訂正回路18の動作説明
と対応させ、伝送誤り率に応じて2種類の復号モードを
選択できる場合を説明する。
FIG. 2 shows an operation flowchart of the mode setting circuit 16, and FIG. 3 shows a characteristic diagram of the mode setting circuit 16. Here, a case will be described in which two types of decoding modes can be selected in accordance with the transmission error rate in correspondence with the operation description of the error correction circuit 18.

【0021】まず現在のモードMを認識し(S1)、次
に誤り情報検出回路14から出力される誤り情報eを読
み込む(S2)。現在のモードを調べ(S3)、通常モ
ード(即ち、M=0)の場合には、誤り情報eと閾値a
とを比較し(S4)、誤り情報eが閾値a以上のとき、
誤り率悪化モード(M=1)に変更し(S7)、誤り情
報eが閾値a未満のとき、通常モードのままとする(S
5)。また、現在のモードが誤り率悪化モード(即ち、
M=1)の場合(S3)には、誤り情報eと閾値bとを
比較し(S6)、誤り情報eが閾値b以上のとき、誤り
率悪化モード(M=1)のままとし(S7)、誤り情報
eが閾値b未満のとき、通常モード(M=0)に変更す
る(S5)。S5,S7の後、Mをモード制御信号とし
て誤り訂正回路18に出力する。
First, the current mode M is recognized (S1), and then the error information e output from the error information detection circuit 14 is read (S2). The current mode is checked (S3). In the normal mode (that is, M = 0), the error information e and the threshold value a
(S4), and when the error information e is equal to or greater than the threshold value a,
The mode is changed to the error rate deterioration mode (M = 1) (S7), and when the error information e is less than the threshold value a, the normal mode is kept (S7).
5). In addition, the current mode is the error rate deterioration mode (that is,
In the case of M = 1) (S3), the error information e is compared with the threshold value b (S6), and when the error information e is greater than or equal to the threshold value b, the error rate deterioration mode (M = 1) is kept (S7). ), When the error information e is less than the threshold value b, the mode is changed to the normal mode (M = 0) (S5). After S5 and S7, M is output to the error correction circuit 18 as a mode control signal.

【0022】モード設定回路16は、図2に示す動作を
所定時間単位で繰り返し実行する。
The mode setting circuit 16 repeatedly executes the operation shown in FIG. 2 in units of a predetermined time.

【0023】図2では、伝送誤り率が悪化する方向の変
化では、伝送誤り率eが閾値aを越えたときに、通常モ
ードから誤り率悪化モードに変更し、伝送誤り率が良く
なる方向の変化では、伝送誤り率eが閾値bを越えたと
きに、誤り率悪化モードから通常モードに変更する。閾
値aを閾値bより大きい値に設定してあるので、誤り訂
正回路18における復号モード、即ち、伝送誤り率に対
する誤訂正確率と補間確率の特性は、図3に太実線で示
すように、ヒステリシス特性になる。図3の点線50〜
56は、図5の点線50〜56と同じである。
In FIG. 2, in the change in the direction in which the transmission error rate deteriorates, when the transmission error rate e exceeds the threshold value a, the normal mode is changed to the error rate deterioration mode, and the transmission error rate improves. In the change, when the transmission error rate e exceeds the threshold value b, the error rate deterioration mode is changed to the normal mode. Since the threshold value a is set to a value larger than the threshold value b, the characteristics of the decoding mode in the error correction circuit 18, that is, the error correction probability and the interpolation probability with respect to the transmission error rate are as shown by the thick solid line in FIG. Become a characteristic. Dotted line 50 to FIG.
56 is the same as the dotted lines 50 to 56 in FIG.

【0024】誤り率悪化モードから通常モードへの切り
替えと、通常モードから誤り率悪化モードへの切り替え
に異なる閾値a,bを採用し、図3に示すようにヒステ
リシス特性を持たせることにより、従来のように閾値の
付近で伝送誤り率が変動を繰り返す場合や閾値付近の値
をとり続ける場合に起きていた、動作モードの頻繁な切
り替えが無くなる。この結果、画質の異なる2状態が短
時間のうちに何度も切り替わるような見にくい画像が再
生されるという問題がなくなり、安定した画質の再生画
像を提供できる。
By adopting different thresholds a and b for switching from the error rate worsening mode to the normal mode and switching from the normal mode to the error rate worsening mode, and providing a hysteresis characteristic as shown in FIG. As described above, the frequent switching of operation modes, which has occurred when the transmission error rate repeatedly fluctuates near the threshold value or when the value near the threshold value continues to be eliminated, is eliminated. As a result, it is possible to provide a reproduced image with stable image quality, which eliminates the problem that an invisible image that is repeatedly switched between two states having different image quality within a short time is reproduced.

【0025】図4は、シンドローム計算を使った誤り検
出訂正回路に適用した実施例の概略構成ブロック図を示
す。入力端子22には、入力端子10と同様に、伝送誤
りを含むディジタル・データ列が入力する。データ再生
回路24は、入力端子22からのデータ列を復調し、同
期分離及びID認識によりデータ再生する。データ再生
回路24から出力される再生データは、認識されたID
情報を元に直接、データ・メモリ26に書き込まれると
同時に、誤り訂正のためにシンドローム計算回路28に
印加される。
FIG. 4 shows a schematic block diagram of an embodiment applied to an error detection / correction circuit using syndrome calculation. Similar to the input terminal 10, a digital data string including a transmission error is input to the input terminal 22. The data reproduction circuit 24 demodulates the data string from the input terminal 22 and reproduces the data by synchronizing separation and ID recognition. The reproduction data output from the data reproduction circuit 24 is the recognized ID.
The information is directly written to the data memory 26 and simultaneously applied to the syndrome calculation circuit 28 for error correction.

【0026】シンドローム計算回路28は、周知の方法
により伝送データのシンドロームを計算し、各符号のシ
ンドロームをシンドローム・メモリ30に順次書き込
む。シンドローム計算回路28の計算結果は、シンドロ
ーム0判定回路32にも供給される。シンドローム0判
定回路32は、各符号の複数のシンドロームが符号単位
で全て0か否かを判定する。カウンタ34は、シンドロ
ーム0判定回路32の判定結果により、シンドロームが
全て0ではない符号の数、即ち、誤りの発生した符号数
を計数する。カウンタ34の所定時間内の計数値は、伝
送誤り率を示している。本実施例では、図1に示す誤り
情報検出回路14の機能を、シンドローム計算結果をカ
ウントすることで実現している。
The syndrome calculation circuit 28 calculates the syndrome of the transmission data by a well-known method, and sequentially writes the syndrome of each code in the syndrome memory 30. The calculation result of the syndrome calculation circuit 28 is also supplied to the syndrome 0 determination circuit 32. The syndrome 0 determination circuit 32 determines whether or not all the syndromes of each code are 0 on a code-by-code basis. The counter 34 counts the number of codes whose syndromes are not all 0, that is, the number of codes in which an error has occurred, based on the judgment result of the syndrome 0 judgment circuit 32. The count value of the counter 34 within a predetermined time indicates the transmission error rate. In this embodiment, the function of the error information detection circuit 14 shown in FIG. 1 is realized by counting the syndrome calculation results.

【0027】カウンタ34の計数結果、即ち、誤り情報
は、モード設定回路36に印加される。モード設定回路
36には、閾値設定回路17と同様の閾値設定回路37
から2つの閾値a,bが供給されている。モード設定回
路36は、カウンタ34からの計数結果(誤り情報)と
閾値設定回路37からの閾値a,bに従い、図2に示す
のと同じアルゴリズムに従い、異なる閾値a,bにより
ヒステリシス特性を持つように誤り訂正モードを切り替
えるモード制御信号を出力する。この実施例でも、閾値
設定回路37は、閾値設定回路17と同様に、ユーザの
操作するキーボード又はテン・キー等に従った数値の閾
値a,bをモード設定回路36に出力する。即ち、閾値
a,bは両方とも変更自在であり、その一方のみが変更
自在であってもよい。使用する伝送路や、誤り訂正後の
データの使われ方、データが映像情報であれば視聴対象
者などを考慮して、ユーザ等が、閾値a,bを適切な数
値に設定する。これにより、同一装置を異なる伝送路に
接続する場合にも、柔軟に対応できるようになる。
The counting result of the counter 34, that is, the error information is applied to the mode setting circuit 36. The mode setting circuit 36 includes a threshold setting circuit 37 similar to the threshold setting circuit 17.
Are supplied with two threshold values a and b. According to the counting result (error information) from the counter 34 and the thresholds a and b from the threshold setting circuit 37, the mode setting circuit 36 follows the same algorithm as shown in FIG. 2 and has different hysteresis characteristics with different thresholds a and b. A mode control signal for switching the error correction mode is output to. Also in this embodiment, the threshold value setting circuit 37 outputs the numerical value threshold values a and b to the mode setting circuit 36 according to the keyboard or the numeric keypad operated by the user, like the threshold value setting circuit 17. That is, both the threshold values a and b are changeable, and only one of them may be changeable. The user or the like sets the threshold values a and b to appropriate values in consideration of the transmission path to be used, the usage of the data after error correction, and the audience for viewing if the data is video information. As a result, even when the same device is connected to different transmission paths, it is possible to flexibly deal with it.

【0028】誤り位置及び誤りパターンを計算する誤り
計算回路40は、汎用の演算処理回路からなり、実際の
動作は、マイクロプログラム記憶回路38から供給され
るプログラム・モジュールにより決定される。マイクロ
プログラム記憶回路38は、互いに異なる復号アルゴリ
ズムの複数のプログラム・モジュールを記憶しており、
モード設定回路36からのモード制御信号により指定さ
れるプログラム・モジュールを誤り計算回路40にロー
ドする。この構成により、誤り計算回路40の動作又は
機能が、現在の伝送誤り率に応じて切り替えられる。
The error calculation circuit 40 for calculating the error position and the error pattern is composed of a general-purpose arithmetic processing circuit, and the actual operation is determined by the program module supplied from the microprogram storage circuit 38. The micro program storage circuit 38 stores a plurality of program modules of different decoding algorithms,
The program module designated by the mode control signal from the mode setting circuit 36 is loaded into the error calculation circuit 40. With this configuration, the operation or function of the error calculation circuit 40 is switched according to the current transmission error rate.

【0029】図4に示す実施例でも、誤り訂正符号の復
号特性を、図3に太い実線で示すようなヒステリシス特
性にしているので、1つの閾値の付近で伝送誤り率が変
動を繰り返す場合や1つの閾値付近の値を取り続ける場
合でも、復号アルゴリズムが頻繁に切り替わることがな
くなり、誤り訂正動作がごく安定する。
Also in the embodiment shown in FIG. 4, the decoding characteristic of the error correction code is set to the hysteresis characteristic as shown by the thick solid line in FIG. 3, so that the transmission error rate repeatedly fluctuates in the vicinity of one threshold value. Even when the value near one threshold value is continuously taken, the decoding algorithm is not frequently switched, and the error correction operation is very stable.

【0030】誤り計算回路40は、シンドローム・メモ
リ30に書き込まれたシンドロームを読み込み、誤り訂
正符号の復号計算を行なう。ここで、誤り計算回路40
は、該当符号のシンドロームが全て0であれば、誤り無
しと判断して、その符号の処理を終了するが、シンドロ
ームが全て0でない場合、即ち誤りがある場合であっ
て、その誤りを訂正可能と判断したときには、誤り位置
および誤りパターンを算出し、その算出結果を用いてデ
ータ・メモリ26上のデータを訂正する。誤りが訂正不
可能と判断したときには、該当符号のデータ・メモリ2
6上のデータはそのままとし、誤りが含まれていること
を示す修整フラグをデータ・メモリ26の所定箇所に書
き込む。誤り訂正処理の終了後、データ・メモリ26上
のデータと修整フラグは読み出され、出力端子42から
外部に出力される。
The error calculation circuit 40 reads the syndrome written in the syndrome memory 30 and performs decoding calculation of the error correction code. Here, the error calculation circuit 40
If all the syndromes of the corresponding code are 0, it judges that there is no error and terminates the processing of that code. However, if the syndromes are not all 0s, that is, there is an error, the error can be corrected. If it is determined that the error position and the error pattern are calculated, the data on the data memory 26 is corrected using the calculation result. When it is determined that the error cannot be corrected, the data memory 2 of the corresponding code
The data on 6 is left as it is, and a correction flag indicating that an error is included is written in a predetermined portion of the data memory 26. After the error correction processing is completed, the data and the correction flag on the data memory 26 are read out and output from the output terminal 42 to the outside.

【0031】以上で説明した2つの実施例では、いずれ
も2誤り訂正まで可能な誤り訂正符号を例にしたが、本
発明がこれに限定されないことは明らかである。また、
誤り訂正モードも2つに限定されるものではない。
In each of the two embodiments described above, the error correction code capable of correcting up to two errors is taken as an example, but it is obvious that the present invention is not limited to this. Also,
The error correction mode is not limited to two.

【0032】上記実施例では、通常モードから誤り率悪
化モードへの遷移に対する伝送誤り率の閾値aを、誤り
率悪化モードから通常モードへの遷移に対する伝送誤り
率の閾値bより大きい値に設定したが、閾値近辺での伝
送誤り率の変動による誤り訂正モードの頻繁な切り替え
を防ぐ意味では、逆に、閾値aが閾値bより小さくても
よい。例えば、誤訂正による信号劣化より、補間による
信号劣化が少ない場合、後者の方が全体としては信号劣
化が少なくなる可能性が高い。
In the above embodiment, the transmission error rate threshold a for the transition from the normal mode to the error rate deterioration mode is set to a value larger than the transmission error rate threshold b for the transition from the error rate deterioration mode to the normal mode. However, conversely, the threshold value a may be smaller than the threshold value b in the sense that the frequent switching of the error correction mode due to the fluctuation of the transmission error rate near the threshold value is prevented. For example, when the signal deterioration due to interpolation is less than the signal deterioration due to erroneous correction, the latter is more likely to have less signal deterioration as a whole.

【0033】[0033]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、誤り訂正能力の変更にヒステリシ
ス特性を持たせたので、誤り訂正モード又は誤り訂正能
力の変更のための閾値の付近で伝送誤り率が変動を繰り
返す場合や、閾値付近の値を取り続ける場合でも、誤り
訂正モード又は誤り訂正能力が頻繁に切り替えられるこ
とがなくなる。この結果、例えば、画像の場合には、画
質の異なる2状態が短時間のうちに何度も切り替わるよ
うなことがなくなり、安定した画質の再生画像を提供で
きるようになる。また、本発明は、簡単な回路追加で実
現できる。
As can be easily understood from the above description, according to the present invention, since the hysteresis characteristic is provided in the change of the error correction capability, the threshold value for changing the error correction mode or the error correction capability is set. Even when the transmission error rate repeatedly changes in the vicinity, or when the value near the threshold is continuously maintained, the error correction mode or the error correction capability is not frequently switched. As a result, for example, in the case of an image, it is possible to provide a reproduced image with stable image quality, without switching between two states having different image quality many times within a short time. Further, the present invention can be realized by adding a simple circuit.

【0034】更に、ヒステリシス特性の閾値a,bの一
方又は両方を変更自在とすることにYほり、同一装置を
異なる伝送路に接続する場合にも、柔軟に対応できるよ
うになる。
Further, by making one or both of the threshold values a and b of the hysteresis characteristic freely changeable, it is possible to flexibly cope with the case where the same device is connected to different transmission lines.

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

【図1】 本発明の一実施例の概略構成ブロック図であ
る。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】 モード設定回路16のモード設定アルゴリズ
ムを示すフローチャートである。
FIG. 2 is a flowchart showing a mode setting algorithm of a mode setting circuit 16.

【図3】 本実施例のモード遷移による特性図である。FIG. 3 is a characteristic diagram according to a mode transition of the present embodiment.

【図4】 本発明の第2実施例の概略構成ブロック図で
ある。
FIG. 4 is a schematic block diagram of a second embodiment of the present invention.

【図5】 従来例のモード遷移による特性図である。FIG. 5 is a characteristic diagram according to a mode transition of a conventional example.

【符号の説明】[Explanation of symbols]

10:入力端子 12:データ再生回路 14:誤り情
報検出回路 16:モード設定回路 17:閾値設定回
路 18:誤り訂正回路 20:出力端子 22:入力
端子 24:データ再生回路 26:データ・メモリ
28:シンドローム計算回路 30:シンドローム・メ
モリ 32:シンドローム0判定回路 34:カウンタ
36:モード設定回路 37:閾値設定回路 38:
マイクロプログラム記憶回路 40:計算回路 42:
出力端子 50:通常モードでの補間確率 52:通常
モードでの誤訂正確率 54:誤り率悪化モードでの補
間確率 56:誤り率悪化モードでの誤訂正確率
10: Input terminal 12: Data reproduction circuit 14: Error information detection circuit 16: Mode setting circuit 17: Threshold setting circuit 18: Error correction circuit 20: Output terminal 22: Input terminal 24: Data reproduction circuit 26: Data memory
28: Syndrome calculation circuit 30: Syndrome memory 32: Syndrome 0 determination circuit 34: Counter 36: Mode setting circuit 37: Threshold setting circuit 38:
Micro program storage circuit 40: Calculation circuit 42:
Output terminal 50: Interpolation probability in normal mode 52: Error correction probability in normal mode 54: Interpolation probability in error rate worsening mode 56: Error correction probability in error rate worsening mode

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/413 Z 7/30 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location H04N 1/413 Z 7/30

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力データ列から当該入力データ列中に
発生した誤りの数に関する誤り情報を検出する誤り情報
検出手段と、当該誤り情報検出手段により検出された誤
り情報に応じて誤り訂正モードを決定する誤り訂正モー
ド決定手段と、当該誤り訂正モード決定手段の出力に従
う誤り訂正モードで入力データ列の誤りを訂正する誤り
訂正手段とからなる誤り検出訂正回路であって、当該誤
り訂正モード決定手段が、誤り訂正モードを決定する少
なくとも2つの閾値を具備し、第1の誤り訂正モードか
ら第2の誤り訂正モードへの遷移に第1の閾値を、当該
第2の誤り訂正モードから当該第1の誤り訂正モードへ
の遷移に第2の閾値を使用することを特徴とする誤り検
出訂正回路。
1. An error information detecting means for detecting error information relating to the number of errors occurring in the input data string from the input data string, and an error correction mode in accordance with the error information detected by the error information detecting means. An error detection / correction circuit comprising: an error correction mode determining means for determining; and an error correcting means for correcting an error in an input data string in an error correction mode according to the output of the error correction mode determining means. Has at least two threshold values that determine the error correction mode, and a first threshold value is used for the transition from the first error correction mode to the second error correction mode, and a first threshold value is used for the transition from the second error correction mode to the first error correction mode. An error detection and correction circuit characterized in that a second threshold value is used for the transition to the error correction mode of.
【請求項2】 上記第1の誤り訂正モードが小さい伝送
誤り率に対応し、上記第2の誤り訂正モードが大きな伝
送誤り率に対応し、上記第1の閾値が上記第2の閾値よ
り大きい請求項1に記載の誤り検出訂正回路。
2. The first error correction mode corresponds to a small transmission error rate, the second error correction mode corresponds to a large transmission error rate, and the first threshold is larger than the second threshold. The error detection and correction circuit according to claim 1.
【請求項3】 上記誤り情報検出手段が、誤り訂正符号
のシンドロームを計算するシンドローム計算手段と、当
該シンドロームが符号単位で全て0か否かを判定するシ
ンドローム0判定手段と、当該シンドローム0判定手段
により0と判定された符号を一定期間計数するカウンタ
手段とからなる請求項1又は2に記載の誤り検出訂正回
路。
3. The error information detecting means calculates a syndrome of an error correction code, a syndrome calculating means for judging whether or not the syndrome is all 0s in a code unit, and a syndrome 0 judging means. 3. The error detection / correction circuit according to claim 1, further comprising a counter unit that counts the code determined to be 0 by the fixed period.
【請求項4】 上記第1の閾値及び第2の閾値の少なく
とも一方が変更自在である請求項1乃至3の何れか1項
に記載の誤り検出訂正回路。
4. The error detection / correction circuit according to claim 1, wherein at least one of the first threshold value and the second threshold value is changeable.
【請求項5】 入力データ列から誤り検出訂正のための
シンドロームを計算するシンドローム計算手段と、当該
シンドローム計算手段の計算結果を記憶するシンドロー
ム・メモリ手段と、当該シンドローム計算手段により計
算されたシンドロームが符号単位で全て0か否かを判定
するシンドローム0判定手段と、当該シンドローム0判
定手段により0と判定された符号を一定期間計数するカ
ウンタ手段と、当該カウンタ手段の出力値に応じて誤り
訂正モードを決定する誤り訂正モード決定手段と、当該
誤り訂正モード決定手段の出力に従う誤り訂正モードで
動作し、当該シンドローム・メモリ手段を参照して誤り
訂正符号を復号し、入力データ列の誤りを訂正する誤り
訂正手段とからなる誤り検出訂正回路であって、当該誤
り訂正モード決定手段が、誤り訂正モードを決定する少
なくとも2つの閾値を具備し、第1の誤り訂正モードか
ら第2の誤り訂正モードへの遷移に第1の閾値を、当該
第2の誤り訂正モードから当該第1の誤り訂正モードへ
の遷移に第2の閾値を使用することを特徴とする誤り検
出訂正回路。
5. A syndrome calculation means for calculating a syndrome for error detection and correction from an input data string, a syndrome memory means for storing a calculation result of the syndrome calculation means, and a syndrome calculated by the syndrome calculation means. Syndrome 0 judging means for judging whether all are 0 in a code unit, counter means for counting a code judged to be 0 by the syndrome 0 judging means for a certain period, and an error correction mode according to an output value of the counter means. And an error correction mode that determines the error correction mode determining means and operates in an error correction mode according to the output of the error correction mode determining means. The error correction code is decoded by referring to the syndrome memory means and the error in the input data string is corrected. An error detection / correction circuit comprising an error correction unit, The stage comprises at least two thresholds for determining an error correction mode, the first threshold for transition from the first error correction mode to the second error correction mode, and the second error correction mode for the second error correction mode. An error detection / correction circuit characterized in that a second threshold value is used for transition to 1 error correction mode.
【請求項6】 上記第1の誤り訂正モードが小さい伝送
誤り率に対応し、上記第2の誤り訂正モードが大きな伝
送誤り率に対応し、上記第1の閾値が上記第2の閾値よ
り大きい請求項5に記載の誤り検出訂正回路。
6. The first error correction mode corresponds to a small transmission error rate, the second error correction mode corresponds to a large transmission error rate, and the first threshold is larger than the second threshold. The error detection and correction circuit according to claim 5.
【請求項7】 上記第1の閾値及び第2の閾値の少なく
とも一方が変更自在である請求項5又は6に記載の誤り
検出訂正回路。
7. The error detection and correction circuit according to claim 5, wherein at least one of the first threshold value and the second threshold value is changeable.
【請求項8】 誤り訂正能力を伝送誤り率に応じて変更
自在な誤り検出訂正回路であって、当該誤り訂正能力の
変更にヒステリシス特性を持たせたことを特徴とする誤
り検出訂正回路。
8. An error detection / correction circuit in which the error correction capability can be freely changed according to a transmission error rate, and the error detection / correction circuit is provided with a hysteresis characteristic in the change of the error correction capability.
【請求項9】 上記ヒステリシス特性の少なくとも2つ
の閾値の少なくとも一方が変更自在である請求項8に記
載の誤り検出訂正回路。
9. The error detection / correction circuit according to claim 8, wherein at least one of at least two threshold values of the hysteresis characteristic is changeable.
JP4821594A 1994-03-18 1994-03-18 Error detection and correction circuit Withdrawn JPH07264077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4821594A JPH07264077A (en) 1994-03-18 1994-03-18 Error detection and correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4821594A JPH07264077A (en) 1994-03-18 1994-03-18 Error detection and correction circuit

Publications (1)

Publication Number Publication Date
JPH07264077A true JPH07264077A (en) 1995-10-13

Family

ID=12797198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4821594A Withdrawn JPH07264077A (en) 1994-03-18 1994-03-18 Error detection and correction circuit

Country Status (1)

Country Link
JP (1) JPH07264077A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000027130A1 (en) * 1998-11-04 2000-05-11 Mitsubishi Denki Kabushiki Kaisha Image decoder and image encoder
KR100746013B1 (en) * 2005-11-15 2007-08-06 삼성전자주식회사 Method and apparatus for data transmitting in the wireless network
US7890839B2 (en) 2003-11-18 2011-02-15 Kyocera Corporation Radio communication apparatus suppressing correction error while maintaining communication quality, and method and program for error correction
JP2011525655A (en) * 2008-06-24 2011-09-22 サンディスク アイエル リミテッド Method and apparatus for error correction according to erase count of solid state memory

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000027130A1 (en) * 1998-11-04 2000-05-11 Mitsubishi Denki Kabushiki Kaisha Image decoder and image encoder
EP1045593A1 (en) * 1998-11-04 2000-10-18 Mitsubishi Denki Kabushiki Kaisha Image decoder and image encoder
US6385343B1 (en) 1998-11-04 2002-05-07 Mitsubishi Denki Kabushiki Kaisha Image decoding device and image encoding device
KR100384090B1 (en) * 1998-11-04 2003-05-16 미쓰비시덴키 가부시키가이샤 Image decoder and image encoder
EP1045593A4 (en) * 1998-11-04 2007-06-06 Mitsubishi Electric Corp Image decoder and image encoder
US7890839B2 (en) 2003-11-18 2011-02-15 Kyocera Corporation Radio communication apparatus suppressing correction error while maintaining communication quality, and method and program for error correction
KR100746013B1 (en) * 2005-11-15 2007-08-06 삼성전자주식회사 Method and apparatus for data transmitting in the wireless network
US8335516B2 (en) 2005-11-15 2012-12-18 Samsung Electronics Co., Ltd. Method and apparatus for transmitting data in wireless network
JP2011525655A (en) * 2008-06-24 2011-09-22 サンディスク アイエル リミテッド Method and apparatus for error correction according to erase count of solid state memory

Similar Documents

Publication Publication Date Title
JP3137119B2 (en) Error correction device
US5150210A (en) Image signal restoring apparatus
US5142537A (en) Video signal processing circuit
US5436917A (en) Data processing apparatus having error detection/correction codes
US5684810A (en) Error correcting decoder and error correction decoding method
JPH084233B2 (en) Error correction code decoding device
JPS6276825A (en) Code error correcting method
JPH07264077A (en) Error detection and correction circuit
JPH07154270A (en) Error correction circuit
US6006352A (en) Bitstream decoding apparatus with reduced error correction processing and decoding method
JPS61190755A (en) Address circuit
JPH0795538A (en) Image recording and reproducing device
JP3277062B2 (en) Error correction code decoding device
KR100223821B1 (en) The circuit and method for error correction in a dvd
JPH08329622A (en) Data reproducing device
US6690630B1 (en) Compact disc decoder and method for correcting address errors in header data based on an input error flag
JPH0442621A (en) Error detection/correction circuit
KR0166755B1 (en) Device and method for generating control signal to correct errors of digital recording/reproducing system
JPH09330569A (en) Method and apparatus for reproducing digital signal
JP2870770B2 (en) Image restoration device
EP0557015B1 (en) Interpolation circuit for variable speed reproduction in a video tape recorder
JP3210002B2 (en) Error correction device
JP2751415B2 (en) Error detection and correction circuit
JPH0965284A (en) Image correcting device
JPH05328290A (en) Data reproduction processing circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010605