JP2012151801A - Error correction device, error correction method and decoding device - Google Patents

Error correction device, error correction method and decoding device Download PDF

Info

Publication number
JP2012151801A
JP2012151801A JP2011010829A JP2011010829A JP2012151801A JP 2012151801 A JP2012151801 A JP 2012151801A JP 2011010829 A JP2011010829 A JP 2011010829A JP 2011010829 A JP2011010829 A JP 2011010829A JP 2012151801 A JP2012151801 A JP 2012151801A
Authority
JP
Japan
Prior art keywords
correction
circuit
decoding
iterative
block code
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
JP2011010829A
Other languages
Japanese (ja)
Inventor
Akira Yamaguchi
朗 山口
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics 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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2011010829A priority Critical patent/JP2012151801A/en
Publication of JP2012151801A publication Critical patent/JP2012151801A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an error correction device and an error correction method that can reduce power consumption.SOLUTION: An error correction device 100 includes: an iterative decoding circuit 120 for error-correcting input data by iterative decoding; a block code decoding circuit 150 for error-correcting iteratively decoded data error-corrected by the iterative decoding circuit 120 by block code decoding; a correction count/threshold comparison circuit 230 for comparing a correction count of block code decoding in the block code decoding circuit 150 with a preset correction threshold; and an iteration frequency control circuit 140 for controlling an iterative decoding frequency of the iterative decoding circuit 120. The iteration frequency control circuit 140 controls the iterative decoding frequency on the basis of the error correction result of the block code decoding circuit 150 and the comparison result of the correction count/threshold comparison circuit 230.

Description

本発明は、誤り訂正装置、誤り訂正方法及び復号装置に関し、特に、LDPC(Low Density Parity Check)符号やターボ符号などの反復復号法が用いられる符号と、RS(Reed−Solomon)符号やBCH符号などのブロック符号とで構成される連接符号の復号に好適に使用可能な誤り訂正装置、誤り訂正方法及び復号装置に関する。   The present invention relates to an error correction device, an error correction method, and a decoding device, and in particular, a code using an iterative decoding method such as an LDPC (Low Density Parity Check) code or a turbo code, an RS (Reed-Solomon) code, or a BCH code. The present invention relates to an error correction apparatus, an error correction method, and a decoding apparatus that can be suitably used for decoding a concatenated code composed of block codes such as.

近年、携帯電話や無線LANなどの無線通信やデジタル放送において、従来主流であったブロック符号のみの復号装置に対し、訂正能力の高いLDPC符号やターボ符号などの反復復号法が用いられる符号と、RS符号やBCH符号などのブロック符号とで構成される連接符号の復号装置が用いられるようになり、従来のブロック符号のみの復号装置と比較して消費電力が増加している。そのため、長時間のバッテリー駆動が要求されるモバイル機器だけでなく、使用される機器全てにおいて低消費電力化が求められている。   In recent years, in wireless communication and digital broadcasting such as mobile phones and wireless LANs, codes that use iterative decoding methods such as LDPC codes and turbo codes with high correction capability for decoding devices that only use block codes, which have been the mainstream in the past, A concatenated code decoding device composed of block codes such as an RS code and a BCH code is used, and power consumption is increased compared to a conventional decoding device using only a block code. For this reason, low power consumption is required not only for mobile devices that require long-time battery driving but also for all devices that are used.

従来の誤り訂正装置としては、特許文献1に記載されたデコーディング装置が公知である。特許文献1に記載のデコーディング装置は、不要な反復復号及び不十分な反復復号を防止し、エラー訂正性能を最適化するデコーディング装置を提供することを目的としたものであり、ブロック符号復号での訂正可否情報を利用した反復回数制御を行なうものである。   As a conventional error correction device, a decoding device described in Patent Document 1 is known. The decoding apparatus described in Patent Document 1 is intended to provide a decoding apparatus that prevents unnecessary iterative decoding and insufficient iterative decoding and optimizes error correction performance. The number of iterations is controlled using the correctability information in FIG.

この特許文献1に記載のデコーディング装置は、RS(Reed-Solomon)エンコーディングとターボエンコーディングが重畳して行なわれた信号をデコーディングする。すなわち、信号を伝送する側の装置は、RSエンコーダとターボエンコーダとを具備しており、これにより伝送される信号は、先にRSエンコーディングによってブロックコード(block code)になり、該ブロックコードがターボエンコーディングされターボコードが生成されたものとなっている。   The decoding apparatus described in Patent Document 1 decodes a signal obtained by superimposing RS (Reed-Solomon) encoding and turbo encoding. That is, the apparatus on the signal transmission side includes an RS encoder and a turbo encoder, and the signal transmitted thereby becomes a block code by RS encoding first, and the block code is turbo. The encoded turbo code is generated.

図9は、特許文献1に記載のデコーディング装置を示すブロック図である。このデコーディング装置500は、入力バッファ510、ターボデコーダ520、RSデコーダ550、出力バッファ570、制御部540、及びメモリ580を有している。   FIG. 9 is a block diagram showing a decoding apparatus described in Patent Document 1. In FIG. The decoding apparatus 500 includes an input buffer 510, a turbo decoder 520, an RS decoder 550, an output buffer 570, a control unit 540, and a memory 580.

入力バッファ510は、受信された信号を一時保存し、保存された信号は、ターボデコーダ520に提供される。出力バッファ570は、RSデコーダ550によってRSデコーディングされた信号を一時保存する。ターボデコーダ520は、入力バッファ510から入力される信号に対して反復的にターボデコーディングを行なう。   The input buffer 510 temporarily stores the received signal, and the stored signal is provided to the turbo decoder 520. The output buffer 570 temporarily stores the signal decoded by the RS decoder 550. The turbo decoder 520 repeatedly performs turbo decoding on the signal input from the input buffer 510.

RSデコーダ550は、ターボデコーダ520によってターボデコーディングされた信号に対してRSデコーディングを行なう。RSデコーダ550のRSデコーディング動作の結果、エラー訂正が完了したとき、RSデコーダ550は、エラー訂正の完了信号を出力する。   The RS decoder 550 performs RS decoding on the signal turbo-decoded by the turbo decoder 520. When error correction is completed as a result of the RS decoding operation of the RS decoder 550, the RS decoder 550 outputs an error correction completion signal.

メモリ580には、ターボデコーダ520のデコーディング動作の反復回数を指定する設定値、及びこの反復回数設定値における設定可能な最大値及び最小値が保存されている。制御部540は、メモリ580に保存されている反復回数設定値になるまでターボデコーダ520がデコーディング動作を行なうようにターボデコーダ520を制御する。また、制御部540は、メモリ580に保存されている反復回数設定値を、RSデコーダ550が出力する完了信号に応じて新たな値に再設定する。   The memory 580 stores a setting value that specifies the number of iterations of the decoding operation of the turbo decoder 520, and a maximum value and a minimum value that can be set in this iteration number setting value. The control unit 540 controls the turbo decoder 520 so that the turbo decoder 520 performs the decoding operation until the iteration number setting value stored in the memory 580 is reached. In addition, the control unit 540 resets the iteration number setting value stored in the memory 580 to a new value according to the completion signal output from the RS decoder 550.

図10は、特許文献1にかかるデコーディング装置の動作を示すフローチャートである。次に、特許文献1にかかるデコーディング方法についてさらに詳しく説明する。受信された信号は、入力バッファ510に入力された後にターボデコーダ520に入力される(ステップS510)。ターボデコーダ520は、入力された信号に対して反復的ターボデコーディングを行なう(ステップS520)。この際、ターボデコーダ520のデコーディング動作は、制御部540によって制御され、制御部540は、メモリ580に既に設定されている反復回数設定値に達するまでデコーディング動作が繰り返されるようターボデコーダ520を制御する。   FIG. 10 is a flowchart showing the operation of the decoding apparatus according to Patent Document 1. Next, the decoding method according to Patent Document 1 will be described in more detail. The received signal is input to the input buffer 510 and then input to the turbo decoder 520 (step S510). The turbo decoder 520 performs iterative turbo decoding on the input signal (step S520). At this time, the decoding operation of the turbo decoder 520 is controlled by the control unit 540, and the control unit 540 controls the turbo decoder 520 so that the decoding operation is repeated until the repetition number setting value already set in the memory 580 is reached. Control.

反復回数設定値までターボデコーディングされた信号は、RSデコーダ550に入力され、RSデコーダ550は入力された信号に対してRSデコーディングを行なう(ステップS525)。RSデコーダ550は、エラー訂正を完了したか否かを判断する機能を有しており、エラー訂正が完了したと判断する場合は(ステップS530)完了信号を出力する。この完了信号は、制御部540に入力され、これにより制御部540は、エラー訂正が完了したか否かが通知される。   The signal turbo-decoded up to the iteration number setting value is input to the RS decoder 550, and the RS decoder 550 performs RS decoding on the input signal (step S525). The RS decoder 550 has a function of determining whether or not error correction has been completed. When determining that error correction has been completed (step S530), the RS decoder 550 outputs a completion signal. This completion signal is input to the control unit 540, whereby the control unit 540 is notified whether or not error correction has been completed.

制御部540に完了信号が入力されれば、制御部540は、メモリ580に設定されていた反復回数設定値を1つ減らす(ステップS550)。この際、メモリ580には、反復回数設定値に対して設定可能な最小値が保存されており、制御部540は、現在設定されている反復回数設定値が最小値より小さいか否かを比較して(ステップS540)、最小値より大きい場合だけ反復回数設定値を減らす(ステップS550)。   When the completion signal is input to the control unit 540, the control unit 540 decreases the iteration number setting value set in the memory 580 by one (step S550). At this time, the memory 580 stores a minimum value that can be set for the iteration number setting value, and the control unit 540 compares whether or not the currently set iteration number setting value is smaller than the minimum value. (Step S540), the iteration number setting value is decreased only when it is larger than the minimum value (Step S550).

RSデコーダ550のRSデコーディング動作が終了しても完了信号が出力されなければ、制御部540はエラー訂正が完了されないことと判断する。これにより、制御部540は、メモリ580に設定されていた反復回数設定値を1つ増加させる(ステップS570)。この場合は、未だエラー訂正が完了されていないので、受信された信号の現在フレームについてターボデコーダ520による反復的なターボデコーディング動作を継続させる(ステップS580)。この際、メモリ580には反復回数設定値について設定可能な最大値が保存されており、制御部540は、現在設定されている反復回数設定値が最大値より大きいか否かを比較して(ステップS560)、最大値より小さい場合にだけ反復回数設定値を増やす(ステップS570)。   If the completion signal is not output even after the RS decoding operation of the RS decoder 550 is completed, the control unit 540 determines that the error correction is not completed. As a result, the control unit 540 increments the iteration count setting value set in the memory 580 by one (step S570). In this case, since error correction has not yet been completed, the repeated turbo decoding operation by the turbo decoder 520 is continued for the current frame of the received signal (step S580). At this time, the maximum value that can be set for the iteration number setting value is stored in the memory 580, and the control unit 540 compares whether or not the currently set iteration number setting value is larger than the maximum value ( In step S560), the iteration number setting value is increased only when it is smaller than the maximum value (step S570).

ステップS550及びステップS570において設定された反復回数設定値は、受信された信号の次のフレームに対するデコーディング動作時のターボデコーディングを反復する回数として使用される。信号が伝送されるチャネルの状態が良好な場合は、エラーが発生するデータが少なくなり、チャネルの状態が良好ではないほどエラーが発生するデータが多くなる。エラーが多いほど良好なエラー訂正性能を得るまで多くの反復回数のターボデコーディングを行なわなければならなく、エラーが少ない場合は、少ない反復回数のターボデコーディングでも良好なエラー訂正性能が得られる。   The iteration number setting value set in step S550 and step S570 is used as the number of times to repeat turbo decoding during the decoding operation for the next frame of the received signal. When the state of the channel through which the signal is transmitted is good, the data in which the error occurs is reduced, and the data in which the error is generated increases as the channel state is not good. As the number of errors increases, it is necessary to perform turbo decoding with a large number of iterations until a good error correction performance is obtained. When there are few errors, good error correction performance can be obtained even with a small number of iterations of turbo decoding.

特許文献1によれば、メモリ580にはターボデコーダ520が反復的なターボデコーディングを行なう反復回数設定値が予め設定されており、この設定値の反復回数の反復復号によってエラー訂正が十分に行われた場合は、現在のチャネルの状態が良好であると判断する。従って、次回のフレームに対するターボデコーディングの反復回数を減らしても十分にエラー訂正が可能になる。また、この設定値の反復回数の反復復号によってはエラー訂正が不能な場合は、現在のチャネルの状態が不良であると判断する。従って、次回のフレームに対するターボデコーディングの反復回数を増やしエラー訂正能力を上げる。   According to Patent Document 1, the memory 580 is set in advance with a setting value for the number of iterations for the turbo decoder 520 to perform iterative turbo decoding, and error correction is sufficiently performed by iterative decoding of the number of iterations of the set value. If it is determined, the current channel state is determined to be good. Therefore, even if the number of turbo decoding iterations for the next frame is reduced, error correction can be sufficiently performed. If error correction cannot be performed by iterative decoding of the set number of iterations, it is determined that the current channel state is defective. Therefore, the number of iterations of turbo decoding for the next frame is increased to increase the error correction capability.

ところで、反復回数が設定可能な最大値を超えたとしても、入力バッファ510に余分の貯蔵容量があれば度が過ぎる反復による時間遅延の問題は発生しない。なぜならば、入力バッファ510に余分の貯蔵容量がある場合は(ステップS575)、入力バッファ510に受信された信号が追加に保存される時間の間は、ターボデコーダ520のターボデコーディング動作による遅延が発生しても、全体的にはデコーディング動作の時間遅延が発生しないためである。従って、入力バッファ510に余分の貯蔵容量がある場合は、反復回数設定値が最大値を超えても反復回数設定値を増やすことができる(ステップS578)。   By the way, even if the number of iterations exceeds the maximum value that can be set, if the input buffer 510 has an extra storage capacity, the problem of time delay due to excessive iterations does not occur. This is because if there is an extra storage capacity in the input buffer 510 (step S575), the delay due to the turbo decoding operation of the turbo decoder 520 is performed during the time that the signal received in the input buffer 510 is additionally stored. This is because even if it occurs, there is no time delay of the decoding operation as a whole. Therefore, if there is an extra storage capacity in the input buffer 510, the iteration count setting value can be increased even if the iteration count setting value exceeds the maximum value (step S578).

特許第3638930号公報(図2、図3)Japanese Patent No. 3638930 (FIGS. 2 and 3)

しかしながら、特許文献1に記載の技術においては、ブロック符号復号の訂正可否情報のみで反復回数制御を行っているため、ブロック符号復号で訂正可となる最低限の反復回数で反復復号を行ったときも次データブロックの反復回数設定値を削減してしまう。したがって、次データブロックでは反復復号後のデータにブロック符号復号の訂正可能数を超えるエラーが含まれていればブロック符号復号で訂正不可となり、反復復号とブロック符号復号を再度実施する必要が生じる。このため、不要なブロック符号復号が追加発生することとなり、RSデコーダ550の消費電力が増加してしまうという問題点がある。   However, since the number of iterations is controlled only by the block code decoding correction enable / disable information in the technique described in Patent Document 1, when iterative decoding is performed with the minimum number of iterations that can be corrected by block code decoding. However, the number of iterations set for the next data block is reduced. Therefore, in the next data block, if the data after iterative decoding includes an error exceeding the correctable number of block code decoding, correction cannot be performed by block code decoding, and it becomes necessary to perform iterative decoding and block code decoding again. For this reason, unnecessary block code decoding additionally occurs, and there is a problem that the power consumption of the RS decoder 550 increases.

本発明に係る誤り訂正装置は、入力データを反復復号法により誤り訂正する反復復号回路と、前記反復復号回路にて誤り訂正された反復復号済データをブロック符号復号により誤り訂正するブロック符号復号回路と、前記ブロック符号復号回路におけるブロック符号復号の訂正数と、予め設定された訂正閾値との比較を行う訂正数閾値比較回路と、前記反復復号回路の反復復号回数を制御する反復回数制御回路とを有し、前記反復数制御回路は、前記ブロック符号復号回路の誤り訂正結果及び前記訂正数閾値比較回路の比較結果に基づき、前記反復復号回数を制御するものである。   An error correction apparatus according to the present invention includes an iterative decoding circuit that corrects an error of input data by an iterative decoding method, and a block code decoding circuit that corrects an error of the iteratively decoded data corrected by the iterative decoding circuit by block code decoding. A correction number threshold comparison circuit for comparing the number of block code decoding corrections in the block code decoding circuit with a preset correction threshold; and an iteration number control circuit for controlling the number of iteration decoding of the iterative decoding circuit; The iterative number control circuit controls the number of times of iterative decoding based on an error correction result of the block code decoding circuit and a comparison result of the correction number threshold comparison circuit.

本発明に係る誤り訂正方法は、入力されるブロックデータを反復復号法により、予め設定された設定回数だけ反復復号することにより誤り訂正し、前記反復復号により誤り訂正された反復復号済データをブロック符号復号により誤り訂正し、前記ブロック符号復号の誤り訂正結果、及び前記ブロック符号復号の訂正数と予め設定された訂正閾値との比較結果に基づき、次に入力されるブロックデータの前記設定回数を決定するものである。   The error correction method according to the present invention corrects errors by iteratively decoding input block data by a preset number of times using an iterative decoding method, and blocks the iteratively decoded data error-corrected by the iterative decoding. Error correction by code decoding, and based on the error correction result of the block code decoding and the comparison result between the correction number of the block code decoding and a preset correction threshold, the set number of block data to be input next is To decide.

本発明に係る復号装置は、入力データを反復復号法により誤り訂正する反復復号回路と、前記反復復号回路にて誤り訂正された反復復号済データをブロック符号復号により誤り訂正するブロック符号復号回路と、前記反復復号回路の反復復号回数を制御する反復回数制御回路とを有し、前記反復数制御回路は、前記ブロック符号復号回路における誤り訂正結果及びブロック符号復号の訂正数に基づき、前記反復復号回数を制御するものである。   A decoding apparatus according to the present invention includes an iterative decoding circuit that performs error correction on input data by an iterative decoding method, and a block code decoding circuit that performs error correction on the iteratively decoded data error-corrected by the iterative decoding circuit by block code decoding, and An iterative number control circuit for controlling the iterative decoding number of the iterative decoding circuit, wherein the iterative number control circuit is configured to perform the iterative decoding based on an error correction result in the block code decoding circuit and a correction number of block code decoding. The number of times is controlled.

本発明においては、反復復号後にブロック符号復号を実施するシステムにおいて、反復復号の復号回数を制御するにあたり、ブロック符号復号における復号結果のみならず、その訂正数を使用する。例えば、訂正数を予め設定した訂正数閾値と比較し、この比較結果に基づき、次に入力されるデータの反復復号する回数を決定する。このことにより、ブロック符号復号の結果のみから反復復号回数の増減を決定する場合に比して、より正確に反復復号回数を制御することができる。   In the present invention, in a system that performs block code decoding after iterative decoding, not only the decoding result in block code decoding but also the number of corrections is used when controlling the number of decoding times of iterative decoding. For example, the number of corrections is compared with a preset correction number threshold, and the number of iterations of the next input data is determined based on the comparison result. This makes it possible to control the number of iterative decoding more accurately than in the case where the increase / decrease in the number of iterative decoding is determined only from the result of block code decoding.

本発明によれば、消費電力を低減することができる誤り訂正装置、誤り訂正方法、及び復号装置を提供することができる。   According to the present invention, it is possible to provide an error correction device, an error correction method, and a decoding device that can reduce power consumption.

本発明の実施の形態1にかかる誤り訂正装置を示すブロック図である。1 is a block diagram showing an error correction device according to a first exemplary embodiment of the present invention. 本発明の実施の形態1にかかる誤り訂正装置における反復回数制御回路を示すブロック図である。It is a block diagram which shows the repetition frequency control circuit in the error correction apparatus concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる誤り訂正方法を示すフローチャートである。It is a flowchart which shows the error correction method concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる誤り訂正装置における反復復号反復回数と反復復号後エラー数との関係を示すグラフ図である。It is a graph which shows the relationship between the number of iteration decoding iterations, and the number of errors after iterative decoding in the error correction apparatus concerning Embodiment 1 of this invention. 図5(a)は、従来の誤り訂正装置の伝送状態を示す模式図、図5(b)は、本発明の実施の形態1にかかる誤り訂正装置の伝送状態を示す模式図である。FIG. 5A is a schematic diagram illustrating a transmission state of a conventional error correction apparatus, and FIG. 5B is a schematic diagram illustrating a transmission state of the error correction apparatus according to the first embodiment of the present invention. 本発明の実施の形態2にかかる誤り訂正装置を示すブロック図である。It is a block diagram which shows the error correction apparatus concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる誤り訂正方法を示すフローチャートである。It is a flowchart which shows the error correction method concerning Embodiment 2 of this invention. 図8(a)は、本発明の実施の形態1にかかる誤り訂正装置の伝送状態を示す模式図、図8(b)は、本発明の実施の形態2にかかる誤り訂正装置の伝送状態を示す模式図である。FIG. 8A is a schematic diagram illustrating a transmission state of the error correction apparatus according to the first embodiment of the present invention, and FIG. 8B illustrates a transmission state of the error correction apparatus according to the second embodiment of the present invention. It is a schematic diagram shown. 特許文献1に記載のデコーディング装置を示すブロック図である。It is a block diagram which shows the decoding apparatus of patent document 1. FIG. 特許文献1に記載のデコーティング方法を示すフローチャートである。5 is a flowchart showing a coating method described in Patent Document 1.

以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。以下に説明する実施の形態は、本発明を、反復復号法により誤り訂正能力を向上するLDPC符号やターボ符号等と、RS符号やBCH符号などのブロック符号とで構成される連接符号の復号装置(誤り訂正装置)に適用したものである。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the embodiments described below, the present invention relates to a decoding apparatus for a concatenated code composed of an LDPC code, a turbo code, and the like that improve error correction capability by an iterative decoding method, and a block code such as an RS code and a BCH code. (Error correction device).

本実施の形態にかかる誤り訂正装置は、ブロック符号復号の訂正数と訂正閾値との比較を行う訂正数閾値比較回路と、訂正数閾値比較回路の比較結果より反復復号の反復回数を制御する反復回数制御回路とを有し、ブロック符号復号の訂正数と訂正閾値を比較した結果、訂正数が訂正閾値より大きいときは反復回数が最小の回数に設定されていると判断して反復回数を保持し、訂正数が訂正閾値以下のときは、反復回数が最小の回数に設定されておらず反復回数を削減する余地があると判断して反復回数の削減を行う。反復回数削減にブロック符号復号の訂正数を使用することにより反復回数の過剰な削減を抑制することができ、不要なブロック符号復号処理を追加発生させないため、消費電力を低減することができる。   The error correction apparatus according to the present embodiment includes a correction number threshold comparison circuit that compares a correction number of block code decoding and a correction threshold, and an iteration that controls the number of iterations of iterative decoding based on a comparison result of the correction number threshold comparison circuit. If the number of corrections is greater than the correction threshold as a result of comparing the correction number of block code decoding and the correction threshold, it is determined that the number of iterations is set to the minimum number, and the number of iterations is retained. When the number of corrections is equal to or less than the correction threshold, it is determined that the number of iterations is not set to the minimum number and there is room for reducing the number of iterations, and the number of iterations is reduced. By using the number of corrections for block code decoding to reduce the number of iterations, it is possible to suppress an excessive reduction in the number of iterations, and no unnecessary block code decoding process is additionally generated, so that power consumption can be reduced.

本発明の実施の形態1.
図1は、本発明の実施の形態1にかかる誤り訂正装置を示すブロック図である。図1に示すように、誤り訂正装置100は、反復復号回路120、ブロック符号復号回路150、訂正数閾値比較回路230、反復回数制御回路140、及び閾値設定回路240を有する。反復復号回路120は、例えばLDPCデコーダやターボデコーダであり、ブロック符号復号回路150は、例えばRSデコーダやBCHデコーダである。例えばターボデコーダとRSデコーダの場合は、この復号装置(誤り訂正装置)は、RSエンコーディングとターボエンコーディングが重畳して行なわれた信号をデコーディングする。つまり、信号を伝送する側の装置は、RSエンコーダとターボエンコーダとを具備しており、これにより伝送される信号は、先にRSエンコーディングによってブロックコード(block code)になり、該ブロックコードがターボエンコーディングされターボコードが生成されたものとなっている。
Embodiment 1 of the present invention.
FIG. 1 is a block diagram showing an error correction apparatus according to Embodiment 1 of the present invention. As shown in FIG. 1, the error correction apparatus 100 includes an iterative decoding circuit 120, a block code decoding circuit 150, a correction number threshold comparison circuit 230, an iteration number control circuit 140, and a threshold setting circuit 240. The iterative decoding circuit 120 is, for example, an LDPC decoder or a turbo decoder, and the block code decoding circuit 150 is, for example, an RS decoder or a BCH decoder. For example, in the case of a turbo decoder and an RS decoder, the decoding device (error correction device) decodes a signal obtained by superimposing RS encoding and turbo encoding. That is, the device on the signal transmission side includes an RS encoder and a turbo encoder, and the signal transmitted thereby becomes a block code by RS encoding first, and the block code is turbo. The encoded turbo code is generated.

反復復号回路120は、入力されるブロックデータを反復復号法により誤り訂正するものである。この反復復号回路120は、復調装置等の外部装置(図示せず)から反復復号入力データ1、反復回数制御回路140から反復復号を停止するか又は継続するかを指示する反復復号停止継続信号12がそれぞれ入力され、ブロック符号復号回路150へ反復復号後データ2、反復回数制御回路140へ反復復号終了信号11をそれぞれ出力する。反復復号終了信号11は、反復復号1回終了毎に出力され、この終了回数をカウントすることで、反復復号回路120における反復復号回数をカウントすることができる。反復復号回路120は、反復回数制限回路140が保持している、予め設定された設定回数に達するまで反復復号を行うよう反復回数制限回路140により制御される。   The iterative decoding circuit 120 corrects errors in input block data by an iterative decoding method. The iterative decoding circuit 120 receives the iterative decoding input data 1 from an external device (not shown) such as a demodulator, and the iterative decoding stop continuation signal 12 for instructing whether to stop or continue the iterative decoding from the iteration number control circuit 140. Are input to the block code decoding circuit 150, and the iterative decoding end signal 11 is output to the iteration code control circuit 140, respectively. The iterative decoding end signal 11 is output every time the iterative decoding is completed, and the number of iterative decoding in the iterative decoding circuit 120 can be counted by counting the number of times of completion. The iterative decoding circuit 120 is controlled by the iterative number limiting circuit 140 so as to perform iterative decoding until reaching a preset number of times held by the iterative number limiting circuit 140.

反復回数制御回路140は、反復復号回路120の反復復号回数を制御するものである。反復回数制御回路140は、ブロック符号復号回路150の誤り訂正結果(誤りが訂正できたか否か)を示す訂正可否信号7、及び訂正数閾値比較回路230の比較結果(ブロック符号復号回路150における訂正数が訂正閾値以下か否か)を示す閾値比較結果信号6に基づき、反復復号する設定回数を決定する。具体的には、反復回数制御回路140は、訂正数閾値比較回路230により訂正数が訂正閾値より大きいと判断された場合は、反復復号回路120の設定回数を維持し、訂正数閾値比較回路230により訂正数が訂正閾値以下と判断された場合は、反復復号回路120の設定回数を削減する。また、ブロック符号復号回路150で反復復号済データの訂正が不能と判断された場合、反復回数制御回路140は、反復復号回路120の設定回数を増加し、反復復号回路120により再度反復復号を実施させる。   The iteration number control circuit 140 controls the number of iterations of the iterative decoding circuit 120. The iteration number control circuit 140 includes a correction enable / disable signal 7 indicating an error correction result (whether or not an error has been corrected) of the block code decoding circuit 150, and a comparison result of the correction number threshold comparison circuit 230 (correction in the block code decoding circuit 150). Based on the threshold comparison result signal 6 indicating whether or not the number is equal to or less than the correction threshold, the set number of iterations is determined. Specifically, the iteration count control circuit 140 maintains the set count of the iterative decoding circuit 120 when the correction count threshold comparison circuit 230 determines that the correction count is greater than the correction threshold, and the correction count threshold comparison circuit 230. If the number of corrections is determined to be less than or equal to the correction threshold, the number of times the iterative decoding circuit 120 is set is reduced. If the block code decoding circuit 150 determines that iteratively decoded data cannot be corrected, the iterative number control circuit 140 increases the set number of times of the iterative decoding circuit 120 and the iterative decoding circuit 120 performs iterative decoding again. Let

ブロック符号復号回路150は、反復復号回路120にて誤り訂正された反復復号済データ2の誤りを訂正するものである。ブロック符号復号回路150は、反復復号回路120から反復復号後データ2が入力され、MPEG(MovingPictureExpertsGroup)デコーダ装置等の外部装置(図示せず)へブロック符号復号後データ3、訂正数閾値比較回路230に、ブロック符号復号における訂正数4、反復回数制御回路140へブロック符号復号により訂正ができたか否かを示す訂正可否信号7をそれぞれ出力する。   The block code decoding circuit 150 corrects an error of the iteratively decoded data 2 that has been error-corrected by the iterative decoding circuit 120. The block code decoding circuit 150 receives the data 2 after iterative decoding from the iterative decoding circuit 120 and sends the data 3 after block code decoding and the correction number threshold comparison circuit 230 to an external device (not shown) such as an MPEG (Moving Picture Experts Group) decoder device. In addition, the correction number 4 in the block code decoding and the correction enable / disable signal 7 indicating whether or not the correction has been made by the block code decoding are output to the iteration number control circuit 140, respectively.

訂正数閾値比較回路230は、ブロック符号復号回路150におけるブロック符号復号の訂正数4と、予め設定された訂正閾値との比較を行う回路であって、ブロック符号復号回路150から訂正数4、閾値設定回路240から訂正閾値5がそれぞれ入力され、反復回数制御回路140へ上述の閾値比較結果信号6を出力する。訂正閾値は、ブロック符号復号回路150の誤り訂正能力と、反復復号回路の反復復号訂正能力、具体的には、反復復号回路120における反復復号1回のエラー訂正数と、ブロック符号復号回路150における最大訂正数とに応じて決定された値であり、その決定方法についての詳細は後述する。   The correction number threshold comparison circuit 230 is a circuit that compares the block code decoding correction number 4 in the block code decoding circuit 150 with a preset correction threshold value. The correction threshold 5 is input from the setting circuit 240 and the above-described threshold comparison result signal 6 is output to the iteration count control circuit 140. The correction threshold value includes the error correction capability of the block code decoding circuit 150, the iterative decoding correction capability of the iterative decoding circuit, specifically, the number of error corrections performed once in the iterative decoding circuit 120, and the block code decoding circuit 150. The value is determined according to the maximum correction number, and details of the determination method will be described later.

閾値設定回路240は、予め設定された訂正閾値5を訂正数閾値比較回路230へ出力する。   The threshold setting circuit 240 outputs a preset correction threshold 5 to the correction number threshold comparison circuit 230.

図2は、本発明の実施の形態1にかかる誤り訂正装置の反復回数制御回路140を示すブロック図である。反復回数制御回路140は、反復復号停止制御回路200、反復回数カウンタ回路210、及び反復回数設定回路220を有する。   FIG. 2 is a block diagram showing the iteration number control circuit 140 of the error correction apparatus according to the first exemplary embodiment of the present invention. The iteration count control circuit 140 includes an iterative decoding stop control circuit 200, an iteration count counter circuit 210, and an iteration count setting circuit 220.

反復回数カウンタ回路210は、反復復号回路120の反復復号回数をカウントする回路である。この反復回数カウンタ回路210は、ブロック符号復号回路150より訂正可否信号7、反復復号回路120より反復復号終了信号11がそれぞれ入力され、反復復号停止制御回路200に対し、カウントした反復復号回路120の反復復号回数を反復回数カウンタ値8として出力する。   The iteration number counter circuit 210 is a circuit that counts the number of iterations of the iterative decoding circuit 120. The iterative number counter circuit 210 receives the correction enable / disable signal 7 from the block code decoding circuit 150 and the iterative decoding end signal 11 from the iterative decoding circuit 120, respectively. The iterative decoding stop control circuit 200 receives the counted iterative decoding circuit 120. The number of iteration decoding is output as an iteration count counter value 8.

反復回数設定回路220は、反復復号回路120が反復復号を実施する反復回数(設定回数)を決定する回路である。この反復回数設定回路220は、訂正数閾値比較回路230から閾値比較結果信号6、ブロック符号復号回路150から訂正可否信号7、誤り訂正装置の外部より設定される反復回数初期値10がそれぞれ入力される。そして、訂正可否信号7のみならず、閾値比較結果信号6を使用して、反復回数初期値10を次に入力される反復復号入力データ1に対する設定回数に順次更新し、この設定回数を、反復復号停止制御回路200に対し反復設定回数9として出力する。   The iteration count setting circuit 220 is a circuit that determines the iteration count (set count) at which the iterative decoding circuit 120 performs iterative decoding. The iteration count setting circuit 220 receives the threshold comparison result signal 6 from the correction count threshold comparison circuit 230, the correction enable / disable signal 7 from the block code decoding circuit 150, and the iteration count initial value 10 set from the outside of the error correction device. The Then, using the threshold comparison result signal 6 as well as the correction enable / disable signal 7, the iteration number initial value 10 is sequentially updated to the set number for the next iterative decoding input data 1. The number of iterations is output to the decoding stop control circuit 200 as 9 times.

反復復号停止制御回路200は、反復回数カウンタ回路210から反復回数カウンタ値8、反復回数設定回路220から反復設定回数9がそれぞれ入力され、反復回数のカウント値が設定回数に達するまでは反復復号を維持し、カウント値が設定回数に達したら反復復号を停止するよう指示する反復復号停止継続信号12を反復復号回路120へ出力する。   The iterative decoding stop control circuit 200 receives the iteration number counter value 8 from the iteration number counter circuit 210 and the iteration setting number 9 from the iteration number setting circuit 220, and performs iterative decoding until the iteration number count value reaches the set number. The iterative decoding stop continuation signal 12 for instructing to stop the iterative decoding is output to the iterative decoding circuit 120 when the count value reaches the set number of times.

次に、本実施の形態にかかる誤り訂正装置の動作について説明する。図3は、本発明の実施の形態1にかかる誤り訂正方法を示すフローチャートである。誤り訂正装置100においては、システムリセット時に誤り訂正装置の外部より設定される反復回数初期値10と、反復回数設定回路220から出力される反復設定回数9とは同じ値であるものとする。   Next, the operation of the error correction apparatus according to this embodiment will be described. FIG. 3 is a flowchart showing the error correction method according to the first exemplary embodiment of the present invention. In the error correction apparatus 100, it is assumed that the iteration number initial value 10 set from the outside of the error correction apparatus when the system is reset and the iteration setting number 9 output from the iteration number setting circuit 220 are the same value.

反復復号回路120は、復調装置等の外部装置より反復復号入力データ1が入力され、設定回数の反復復号を実施する(ステップS10)。反復回数カウンタ回路210は、反復復号終了信号11により反復回数をカウントし、反復回数カウンタ値8を反復復号停止制御回路200に出力する。   The iterative decoding circuit 120 receives the iterative decoding input data 1 from an external device such as a demodulation device, and performs iterative decoding for a set number of times (step S10). The iteration count counter circuit 210 counts the iteration count based on the iterative decoding end signal 11 and outputs the iteration count counter value 8 to the iterative decoding stop control circuit 200.

反復復号停止制御回路200は、(反復回数)≧(反復設定回数)を判断(ステップS20)し、(反復回数)≧(反復設定回数)の場合はステップS25に進み、(反復回数)<(反復設定回数)の場合は反復復号回路120に反復復号の継続を要求する反復復号停止継続信号12を出力してステップS10に戻る。これにより、反復復号回路120は、反復復号を継続する。   The iterative decoding stop control circuit 200 determines (number of iterations) ≧ (number of iterations set) (step S20). If (number of iterations) ≧ (number of iterations set), the process proceeds to step S25, where (number of iterations) <( In the case of (iteration set number of times), the iterative decoding stop continuation signal 12 for requesting continuation of iterative decoding is output to the iterative decoding circuit 120, and the process returns to step S10. Thereby, the iterative decoding circuit 120 continues the iterative decoding.

前記比較結果が(反復回数)≧(反復設定回数)の場合に反復復号停止制御回路200は、反復復号回路120に反復復号の停止を要求する反復復号停止継続信号12を出力する。これにより反復復号回路120は、反復復号を停止し、ブロック符号復号回路150は、反復復号回路120から出力される反復復号後データ2を使用してブロック符号復号を行う(ステップS25)。   When the comparison result is (number of iterations) ≧ (number of iterations set), the iterative decoding stop control circuit 200 outputs an iterative decoding stop continuation signal 12 that requests the iterative decoding circuit 120 to stop iterative decoding. Thereby, the iterative decoding circuit 120 stops the iterative decoding, and the block code decoding circuit 150 performs block code decoding using the data 2 after iterative decoding output from the iterative decoding circuit 120 (step S25).

そして、ブロック符号復号回路150による訂正が不可だった場合(ステップS30:No)はステップS78に進み、訂正が可能であった場合(ステップS30:Yes)はステップS100に進む。   If correction by the block code decoding circuit 150 is impossible (step S30: No), the process proceeds to step S78, and if correction is possible (step S30: Yes), the process proceeds to step S100.

ブロック符号復号による訂正が不可だった場合(ステップS30:No)、ブロック符号復号回路150は、これを通知する訂正可否信号7を反復回数制御回路140の反復回数設定回路220に出力する。反復回数設定回路220は、この訂正可否信号7により反復設定回数を増加する(ステップS78)。これにより、ステップS10からの処理、つまり反復復号及びブロック符号復号を再度繰り返す。   When correction by block code decoding is impossible (step S30: No), the block code decoding circuit 150 outputs a correction propriety signal 7 notifying this to the iteration number setting circuit 220 of the iteration number control circuit 140. The iterative number setting circuit 220 increases the iterative setting number by the correction availability signal 7 (step S78). Thereby, the processing from step S10, that is, iterative decoding and block code decoding are repeated again.

ブロック符号復号による訂正が可能だった場合(ステップS30:Yes)、ブロック符号復号回路150は、そのときの訂正数4を訂正数閾値比較回路230に出力する。訂正数閾値比較回路230は、この訂正数4と、閾値設定回路240により設定された訂正閾値5とを比較し(ステップS100)、(訂正数)≦(訂正閾値)の場合は、ステップS160に進み、(訂正数)>(訂正閾値)の場合はステップS150に進む。   If correction by block code decoding is possible (step S30: Yes), the block code decoding circuit 150 outputs the correction number 4 at that time to the correction number threshold comparison circuit 230. The correction number threshold comparison circuit 230 compares the correction number 4 with the correction threshold value 5 set by the threshold setting circuit 240 (step S100). If (correction number) ≦ (correction threshold value), the process proceeds to step S160. If (the number of corrections)> (correction threshold), the process proceeds to step S150.

前記比較結果が(訂正数)>(訂正閾値)の場合(ステップS100:No)、反復回数設定回路220は、反復回数が適切であると判断し、反復設定回数を維持して処理を終了する(ステップS150)。処理終了時、反復回数カウンタ回路210は、反復回数カウンタ値8をリセットする。   When the comparison result is (number of corrections)> (correction threshold) (step S100: No), the iteration count setting circuit 220 determines that the iteration count is appropriate, maintains the iteration set count, and ends the process. (Step S150). At the end of the process, the iteration count counter circuit 210 resets the iteration count counter value 8.

前記比較結果が(訂正数)≦(訂正閾値)の場合(ステップS100:Yes)、反復回数設定回路220は、反復回数が余剰であると判断し反復設定回数を1つ削減し、処理を終了する(ステップS160)。処理終了時、反復回数カウンタ回路210は、反復回数カウンタ値8をリセットする。   When the comparison result is (number of corrections) ≦ (correction threshold) (step S100: Yes), the iteration number setting circuit 220 determines that the number of iterations is excessive, reduces the number of iteration settings by one, and ends the process. (Step S160). At the end of the process, the iteration count counter circuit 210 resets the iteration count counter value 8.

次に、図4及び図5を参照して、実施の形態1のメカニズムについて説明する。図4は、本発明の実施の形態1にかかる誤り訂正装置の反復復号の反復回数と反復復号後のエラー数の関係を示すグラフである。図4において、I軸に反復回数、E軸に反復復号後のエラー数を示す。本例においては、ブロック符号復号で訂正可となる最大のエラー数をS、その時の反復回数をAとし、反復回数がA+1の時のブロック符号復号後のエラー数をRとする。   Next, the mechanism of the first embodiment will be described with reference to FIGS. 4 and 5. FIG. 4 is a graph showing the relationship between the number of iterations of iterative decoding and the number of errors after iterative decoding of the error correction apparatus according to the first exemplary embodiment of the present invention. In FIG. 4, the number of iterations is shown on the I axis, and the number of errors after iterative decoding is shown on the E axis. In this example, S is the maximum number of errors that can be corrected by block code decoding, A is the number of iterations at that time, and R is the number of errors after block code decoding when the number of iterations is A + 1.

訂正閾値をR、反復回数をA+1とした場合、図3のステップS100において(訂正数)=R=(訂正閾値R)となる。よって、ステップS160に進み、次のデータブロックにおける反復設定回数が削減されてAとなる。次の入力データブロックの反復回数は、A回となる。この場合、図3のステップS100において(訂正数)=S>(訂正閾値R)となり、ステップ150に進む。よって、ステップS150に示すように、次の入力データブロックの反復設定回数は、A回のまま維持される。よって、ブロック符号復号後にエラーなしとなる最低限の反復回数が維持されることとなり、反復回数の過剰な削減が行われず、不要なブロック符号復号処理を追加発生させないため、消費電力の増加を抑制することができる。   When the correction threshold is R and the number of iterations is A + 1, (number of corrections) = R = (correction threshold R) in step S100 of FIG. Therefore, the process proceeds to step S160, and the number of repetition settings in the next data block is reduced to A. The number of iterations of the next input data block is A. In this case, in step S100 in FIG. 3, (number of corrections) = S> (correction threshold R), and the process proceeds to step 150. Therefore, as shown in step S150, the number of iterations set for the next input data block is maintained at A times. As a result, the minimum number of iterations without error after block code decoding is maintained, the number of iterations is not excessively reduced, and unnecessary block code decoding processing is not additionally generated, thereby suppressing an increase in power consumption. can do.

図5は、本実施の形態1にかかる誤り訂正装置の伝送状態を示す模式図である。図5において、データブロックは、データブロックDB1、データブロックDB2、・・・の順に送られてくるものとし、各データブロックDB1、DB2、・・・毎の反復回数(I1、I2、・・・)とブロック符号復号回数(B1、B2)をそれぞれ示したものである。I1、I2等における数値は、それぞれ反復復号の回数を示し、B1、B2等における数値は、ブロック符号復号の回数を示す。データブロックとは、反復復号回路120、ブロック符号復号回路の復号処理単位を示す。   FIG. 5 is a schematic diagram illustrating a transmission state of the error correction apparatus according to the first embodiment. In FIG. 5, data blocks are sent in the order of data block DB1, data block DB2,..., And the number of iterations (I1, I2,... For each data block DB1, DB2,. ) And the block code decoding count (B1, B2), respectively. Numerical values in I1, I2, etc. indicate the number of iteration decoding, and numerical values in B1, B2, etc. indicate the number of block code decoding. The data block indicates a decoding processing unit of the iterative decoding circuit 120 and the block code decoding circuit.

図5(a)は、例えば特許文献1に記載の誤り訂正装置の伝送状態を示す模式図である。ここでは、復号開始時のメモリ180における反復設定回数が20に設定されているものとする。この場合、データブロックDB1においては、ターボデコーダ520は、反復回数I1からI20まで、20回の反復復号を実施し、ブロック符号復号B1で訂正可となったとする。この場合、反復設定回数は、19回に減らされる。これにより、次データブロックDB2では、反復回数がI1からI19までの19回に削減される。ここでも、ブロック符号復号B1で訂正可となった場合、反復設定回数は、18回に減らされる。これにより、次データブロックDB3では、反復回数がI1からI18までの18回に削減される。このDB3においてもブロック符号復号B1で訂正可となった場合、反復回数は17回に減らされる。よって、次データブロックDB4での反復回数は、I1からI17回までの17回に削減される。ここで、このDB4においては、ブロック符号復号B1で訂正不可となったとする。この場合、再度、反復復号I18を実施し、ブロック符号復号B2を実施する必要が生じる。つまり、この伝送状態においては、ブロック符号復号回路の理想的な復号回数は18回であったのにもかかわらず、従来の方法では、反復回数がこの18回を下回る17回に設定されてしまう。   FIG. 5A is a schematic diagram illustrating a transmission state of the error correction apparatus described in Patent Document 1, for example. Here, it is assumed that the number of iterations set in the memory 180 at the start of decoding is set to 20. In this case, in the data block DB1, it is assumed that the turbo decoder 520 performs 20 iterations from the number of iterations I1 to I20 and can be corrected by the block code decoding B1. In this case, the number of repetition settings is reduced to 19. Thereby, in the next data block DB2, the number of iterations is reduced to 19 from I1 to I19. Again, if correction is possible in block code decoding B1, the number of iteration settings is reduced to 18. Thereby, in the next data block DB3, the number of iterations is reduced to 18 times from I1 to I18. Also in DB3, when correction is possible by block code decoding B1, the number of iterations is reduced to 17. Therefore, the number of iterations in the next data block DB4 is reduced to 17 times from I1 to I17 times. Here, in DB4, it is assumed that correction is impossible by block code decoding B1. In this case, it becomes necessary to perform iterative decoding I18 again and to perform block code decoding B2. That is, in this transmission state, although the ideal number of decoding times of the block code decoding circuit is 18, the conventional method sets the number of iterations to 17 times less than 18 times. .

これに対し、図5(b)は、本発明の実施の形態にかかる誤り訂正装置の伝送状態を示す模式図である。本実施の形態においては、訂正閾値が設定される。ここでは、上記図4と同様に、訂正閾値をR、反復回数A=18である場合について説明する。図5(a)と同様に、復号開始時の反復設定回数=20とした場合について説明する。   On the other hand, FIG.5 (b) is a schematic diagram which shows the transmission state of the error correction apparatus concerning Embodiment of this invention. In the present embodiment, a correction threshold is set. Here, the case where the correction threshold is R and the number of iterations A = 18 will be described as in FIG. As in FIG. 5A, a case where the number of iterations set at the start of decoding = 20 will be described.

データブロックDB1では、反復回数がI1からI20までの20回を実施する。この場合は、ブロック符号復号B1で訂正数が設定閾値R以下となるため、反復設定回数を19に減らす。これにより、次データブロックDB2では、反復回数がI1からI19までの19回(=A+1)に削減される。このデータブロックDB2においては、反復回数が19回(=A+1)であるため、ブロック符号復号B1で訂正数=Rとなり、設定閾値(=R)以下となるため、反復設定回数を18回(=A)減らす。よって、次データブロックDB3での反復回数は、I1からI18までの18回に削減される。ここで、このデータブロックDB3においては、反復回数が18回(=A)であるため、ブロック符号復号B1の訂正数=Sとなり、設定閾値=Rより大きくなる。したがって、反復設定回数は、18回に維持される。これにより、次データブロックDB4での反復回数が18回のまま保持され、データブロックDB3と同様、復号可能となる。このように、図5(a)の場合と比べ、反復回数の過剰な削減が実施されないため、不要なブロック符号復号処理が発生せず、ブロック符号復号回路150の消費電力の増加を抑制することができている。   In the data block DB1, 20 iterations from I1 to I20 are performed. In this case, since the number of corrections is equal to or less than the set threshold value R in the block code decoding B1, the number of iteration settings is reduced to 19. Thereby, in the next data block DB2, the number of iterations is reduced to 19 (= A + 1) from I1 to I19. In this data block DB2, since the number of iterations is 19 (= A + 1), the number of corrections is R in block coding / decoding B1, and is equal to or less than the set threshold (= R), so the number of iterations set is 18 (= A) Reduce. Therefore, the number of iterations in the next data block DB3 is reduced to 18 times from I1 to I18. Here, in this data block DB3, since the number of iterations is 18 (= A), the number of corrections of block code decoding B1 = S, which is larger than the set threshold = R. Therefore, the number of repetition settings is maintained at 18. As a result, the number of iterations in the next data block DB4 is maintained at 18, and decoding is possible as in the data block DB3. As described above, compared to the case of FIG. 5A, since the number of iterations is not excessively reduced, unnecessary block code decoding processing does not occur, and the increase in power consumption of the block code decoding circuit 150 is suppressed. Is done.

次に、本実施の形態における訂正閾値の設定方法について説明する。本実施の形態においては、ブロック符号復号後のエラー訂正数が訂正閾値以下であるときは、反復復号回数を削減し、ブロック符号復号後のエラー訂正数が訂正閾値を超えたときは、反復復号回数を維持する。ここで、本実施の形態においては、反復復号及びブロック符号復号の双方の訂正能力の大きさに応じて、訂正閾値を最適な値を設定することで、反復復号回数を必要最低限に削減するものである。   Next, a correction threshold setting method in the present embodiment will be described. In this embodiment, when the number of error corrections after block code decoding is equal to or less than the correction threshold, the number of iterative decoding is reduced, and when the number of error corrections after block code decoding exceeds the correction threshold, iterative decoding is performed. Maintain the number of times. Here, in this embodiment, the number of times of iterative decoding is reduced to the minimum necessary by setting an optimal value for the correction threshold according to the magnitude of the correction capability of both iterative decoding and block code decoding. Is.

この訂正閾値は、下記式(1)により求めることができる。
(訂正閾値)≦(ブロック符号復号最大訂正数)−(反復復号1回のエラー訂正数)・・・(1)
This correction threshold can be obtained by the following equation (1).
(Correction threshold) ≦ (maximum number of block code decoding corrections) − (number of error corrections for one iteration decoding) (1)

下記表1を用いて、訂正閾値の求め方について説明する。表1は、反復復号1回で訂正されるエラー数を3、ブロック符号復号の最大訂正数を10とし、反復復号回路の入力データに含まれるエラー数を20としたときの反復復号回数、反復復号後エラー数、ブロック符号復号後エラー数の対応を示したものである。   The method for obtaining the correction threshold will be described with reference to Table 1 below. Table 1 shows the number of iterations and iterations when the number of errors corrected in one iteration decoding is 3, the maximum number of corrections in block code decoding is 10, and the number of errors included in the input data of the iteration decoding circuit is 20. The correspondence between the number of errors after decoding and the number of errors after block code decoding is shown.

Figure 2012151801
Figure 2012151801

反復復号回数0回では、反復復号後エラー数は20のままであり、ブロック符号復号での最大訂正数を超えているためブロック符号復号後のエラー数も20のままとなる。反復復号回数1回では、反復復号後エラー数は17となるが、ブロック符号復号での最大訂正数を超えているためにブロック符号復号後のエラー数も17のままとなる。反復復号回数4回では、反復復号後エラー数が8となり、ブロック符号復号での最大訂正数以下であるためにブロック符号復号後エラー数が0となる。反復復号回数4回以上では、ブロック符号復号後エラー数は0となる。   When the number of iterative decoding is 0, the number of errors after iterative decoding remains 20, and the number of errors after block code decoding remains 20 because it exceeds the maximum correction number in block code decoding. If the number of iterations is one, the number of errors after iterative decoding is 17. However, since the maximum number of corrections in block code decoding is exceeded, the number of errors after block code decoding remains 17. When the number of iteration decoding is 4, the number of errors after iterative decoding is 8, and the number of errors after block code decoding is 0 because it is less than or equal to the maximum number of corrections in block code decoding. When the number of iterative decoding is 4 or more, the number of errors after block code decoding is zero.

表1の場合において、反復復号回数を10回から削減していくことを考えると、ブロック符号復号後エラー数が0となる最低の反復復号回数は4回となる。このとき、反復符号復号後エラー数は8であり、あと1回反復復号回数を削減すると反復符号復号後エラー数が11となり、ブロック符号復号で訂正不可となる。
よって、下記式(2)を満たす範囲で反復復号回数の削減を行うことができる。
(反復復号1回のエラー訂正数)≦(ブロック符号復号最大訂正数)−(反復復号後エラー数)・・・(2)
In the case of Table 1, considering that the number of iterative decoding is reduced from 10 times, the minimum number of times of iterative decoding at which the number of errors after block code decoding is 0 is 4. At this time, the number of errors after iterative code decoding is 8, and if the number of one-time iterative decoding is further reduced, the number of errors after iterative code decoding becomes 11, which cannot be corrected by block code decoding.
Therefore, iterative decoding can be reduced within a range that satisfies the following equation (2).
(Number of error corrections for one iteration decoding) ≦ (Maximum number of block code decoding corrections) − (Number of errors after iterative decoding) (2)

上記式(2)から下記式(3)が求まる。
(反復復号後エラー数)≦(ブロック符号復号最大訂正数)−(反復復号1回のエラー訂正数)・・・(3)
The following formula (3) is obtained from the above formula (2).
(Number of errors after iterative decoding) ≦ (maximum number of block code decoding corrections) − (number of error corrections for one iterative decoding) (3)

この式(3)の反復復号後エラー数の最大値を訂正閾値とすれば、反復復号回数を必要最低限に削減することができる。すなわち、上記の例においては、訂正閾値=7(7以下)に設定することができる。   If the maximum value of the number of errors after iterative decoding in Equation (3) is used as the correction threshold, the number of iterative decoding can be reduced to the minimum necessary. That is, in the above example, the correction threshold value can be set to 7 (7 or less).

以上説明したように、本実施の形態1においては、誤り訂正装置において、反復復号の反復回数制御にブロック符号復号の訂正数を使用し、訂正数が訂正閾値より大きければブロック符号復号で訂正できる最小の反復回数で反復復号を行っていると判断して反復回数を維持する。このことにより、従来のように反復回数の過剰な削減を行うことがないため、ブロック符号復号処理が追加発生せず、消費電力の増加を抑制することができる。   As described above, in the first embodiment, in the error correction apparatus, the correction number of block code decoding is used to control the number of iterations of iterative decoding. If the correction number is larger than the correction threshold, correction can be performed by block code decoding. It is determined that iterative decoding is performed with the minimum number of iterations, and the number of iterations is maintained. As a result, the number of iterations is not excessively reduced as in the prior art, so that additional block code decoding processing does not occur, and an increase in power consumption can be suppressed.

さらに、訂正数が訂正閾値以下であれば、反復回数が余剰で不要な反復復号を行っていると判断して反復回数削減することにより、消費電力を低減することができる。   Furthermore, if the number of corrections is less than or equal to the correction threshold, it is possible to reduce power consumption by determining that the number of iterations is excessive and performing unnecessary iterative decoding and reducing the number of iterations.

本発明の実施の形態2.
次に、本発明の実施の形態2について説明する。図6は、本発明の実施の形態2にかかる誤り訂正装置を示すブロック図である。図6に示す実施の形態2において、図1に示す実施の形態1と同一の構成要素には、同一の符号を付し、その詳細な説明を省略する。図6に示すように、本実施の形態2にかかる誤り訂正装置110は、反復回数保護回路250が新たに追加されている点が、図1に示す実施の形態1にかかる誤り訂正装置100とは異なる点となっている。
Embodiment 2 of the present invention.
Next, a second embodiment of the present invention will be described. FIG. 6 is a block diagram showing an error correction apparatus according to the second embodiment of the present invention. In the second embodiment shown in FIG. 6, the same components as those in the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted. As shown in FIG. 6, the error correction device 110 according to the second embodiment is different from the error correction device 100 according to the first embodiment shown in FIG. Are different.

反復回数保護回路250は、訂正数閾値比較回路230から閾値比較結果6、ブロック符号復号回路150から訂正可否信号7、閾値設定回路240から保護回数閾値13がそれぞれ入力され、反復回数保持削減信号14を反復回数設定回路220へ出力する。反復回数保護回路250は、訂正数<訂正閾値となったときにカウントを開始するカウンタを有しており、このカウント値と保護回数閾値とを比較し、この比較結果を反復回数保持削減信号14として出力する。   The iteration count protection circuit 250 receives the threshold comparison result 6 from the correction count threshold comparison circuit 230, the correction enable / disable signal 7 from the block code decoding circuit 150, and the protection count threshold 13 from the threshold setting circuit 240, respectively. Is output to the iteration number setting circuit 220. The iteration number protection circuit 250 includes a counter that starts counting when the correction number <the correction threshold value. The count value is compared with the protection number threshold value, and the comparison result is used as the iteration number holding reduction signal 14. Output as.

反復回数設定回路220は、反復回数保護回路250より反復回数保持削減信号14、ブロック符号復号回路150より訂正可否信号7、誤り訂正装置の外部より設定される反復回数初期値10がそれぞれ入力され、反復設定回数9を反復復号停止制御回路200へ出力する。本実施の形態における反復回数設定回路220は、カウント値が保護回数閾値以下であるか否かを示す反復回数保持削減信号14に基づき反復設定回数を決定する。具体的には、カウント値が保護回数閾値以下であれば、訂正数<訂正閾値であっても反復設定回数を減少させず、訂正数<訂正閾値でかつ、カウント値が保護回数閾値を超えた場合にのみ、反復設定回数を減少する。   The iteration count setting circuit 220 receives the iteration count hold reduction signal 14 from the iteration count protection circuit 250, the correction enable / disable signal 7 from the block code decoding circuit 150, and the iteration count initial value 10 set from the outside of the error correction device, respectively. The iteration setting number 9 is output to the iterative decoding stop control circuit 200. The iteration number setting circuit 220 in the present embodiment determines the iteration setting number based on the iteration number holding reduction signal 14 indicating whether or not the count value is less than or equal to the protection number threshold. Specifically, if the count value is less than or equal to the protection count threshold, the number of iterations is not decreased even if the correction count is less than the correction threshold, the correction count is less than the correction threshold, and the count value exceeds the protection count threshold. Only if it reduces the number of iteration settings.

閾値設定回路240は、訂正閾値5を訂正数閾値比較回路230、保護回数閾値13を反復回数保護回路250にそれぞれ出力する。   The threshold setting circuit 240 outputs the correction threshold 5 to the correction count threshold comparison circuit 230 and the protection count threshold 13 to the iteration count protection circuit 250, respectively.

次に、本実施の形態の動作について説明する。図7は、本実施の形態にかかる誤り訂正装置の動作を示すフローチャートである。ステップS10、S20、S25は、図3に示す実施の形態1と同一の処理であるため、その説明を省略する。   Next, the operation of the present embodiment will be described. FIG. 7 is a flowchart showing the operation of the error correction apparatus according to this embodiment. Steps S10, S20, and S25 are the same processes as those in the first embodiment shown in FIG.

ブロック符号復号回路150は、反復復号回路120から出力された反復復号後データ2の訂正が可能か否かを判断し(ステップS30)、訂正が不可だった場合はステップS170に進み、訂正が可能であった場合はステップS100に進む。ブロック符号復号回路150は、訂正不可であった場合は訂正不可を示す訂正可否信号7を、訂正可能であった場合は訂正可能を示す訂正可否信号7を、反復回数保護回路250に出力する。   The block code decoding circuit 150 determines whether or not the data 2 after iterative decoding output from the iterative decoding circuit 120 can be corrected (step S30). If correction is not possible, the block code decoding circuit 150 proceeds to step S170 and correction is possible. If so, the process proceeds to step S100. The block code decoding circuit 150 outputs a correction availability signal 7 indicating that the correction is impossible when the correction is impossible, and outputs a correction availability signal 7 indicating that the correction is possible when the correction is possible.

ブロック符号復号回路150のブロック符号復号による訂正が不可の場合(ステップS30:No)、反復回数保護回路250は、訂正数<訂正閾値となった回数(保護回数)のカウント値をリセットする(ステップS170)。訂正不可を示す訂正可否信号7は、反復回数設定回路220にも入力され、反復回数設定回路220は、この訂正不可を示す訂正可否信号7を受け取ると実施の形態1と同様に反復設定回数を増加させる(ステップS78)。その後は、ステップS10に戻り、再度、反復復号(ステップS10)とブロック符号復号(ステップS25)を実施する点は実施の形態1と同様である。   When correction by block code decoding of the block code decoding circuit 150 is impossible (step S30: No), the iteration count protection circuit 250 resets the count value of the number of corrections <the number of corrections (the number of protection times) (step of protection) (step S30). S170). The correction enable / disable signal 7 indicating that correction is impossible is also input to the iteration count setting circuit 220. When the iteration count setting circuit 220 receives the correction enable / disable signal 7 indicating that correction is not possible, the repeat setting count is set as in the first embodiment. Increase (step S78). After that, the process returns to step S10, and iterative decoding (step S10) and block code decoding (step S25) are performed again as in the first embodiment.

一方、ブロック符号復号回路150のブロック符号復号による訂正が可能であった場合(ステップS30:Yes)、ブロック符号復号回路150は、訂正数4を訂正数閾値比較回路230に出力する。訂正数閾値比較回路230は、訂正数4と訂正閾値5を比較し(ステップS100)、(訂正数)≦(訂正閾値)の場合は、ステップS120に進み、(訂正数)>(訂正閾値)の場合はステップS130に進む。訂正数閾値比較回路230は、この比較結果を閾値比較結果6として反復回数保護回路250に出力する。   On the other hand, when the correction by the block code decoding of the block code decoding circuit 150 is possible (step S30: Yes), the block code decoding circuit 150 outputs the correction number 4 to the correction number threshold comparison circuit 230. The correction number threshold value comparison circuit 230 compares the correction number 4 with the correction threshold value 5 (step S100). If (correction number) ≦ (correction threshold value), the process proceeds to step S120, and (correction number)> (correction threshold value). In this case, the process proceeds to step S130. The correction number threshold comparison circuit 230 outputs this comparison result as the threshold comparison result 6 to the iteration count protection circuit 250.

訂正数閾値比較回路230の前記比較結果が(訂正数)>(訂正閾値)の場合(ステップS100:No)、すなわち、反復回数が適切である場合には、反復回数保護回路250は、保護回数をリセットし(ステップS130)、これを通知する反復回数保持削減信号14を反復回数設定回路220に出力する。反復回数設定回路220は、これを受けて、反復設定回数を維持し(ステップS150)、処理を終了する。処理終了時、反復回数カウンタ回路210は、反復回数カウンタ値8をリセットする。   When the comparison result of the correction number threshold comparison circuit 230 is (correction number)> (correction threshold) (step S100: No), that is, when the number of iterations is appropriate, the iteration number protection circuit 250 Is reset (step S130), and the iteration count holding reduction signal 14 for notifying this is output to the iteration count setting circuit 220. In response to this, the iteration number setting circuit 220 maintains the iteration setting number (step S150) and ends the process. At the end of the process, the iteration count counter circuit 210 resets the iteration count counter value 8.

一方、訂正数閾値比較回路230の前記比較結果が(訂正数)≦(訂正閾値)の場合(ステップS100:Yes)は、保護回数と保護回数閾値13とを比較し(ステップS120)、(保護回数)≧(保護回数閾値)の場合はステップS135に進み、(保護回数)<(保護回数閾値)の場合はステップS140に進む。反復回数保護回路250は、この比較結果を反復回数保持削減信号14として反復回数設定回路220に出力する。   On the other hand, when the comparison result of the correction number threshold comparison circuit 230 is (correction number) ≦ (correction threshold) (step S100: Yes), the protection count is compared with the protection count threshold 13 (step S120), and (protection). If (number of times) ≧ (threshold number of protection), the process proceeds to step S135. If (number of protections) <(threshold number of protection), the process proceeds to step S140. The iteration count protection circuit 250 outputs this comparison result to the iteration count setting circuit 220 as the iteration count hold reduction signal 14.

反復回数保護回路250の前記比較結果が(保護回数)≧(保護回数閾値)の場合(ステップS120:Yes)、保護回数カウント値をリセットする(ステップS135)と共に比較結果を反復回数保持削減信号14により反復回数設定回路220に通知する。これを受けて反復回数設定回路220は、反復設定回数を削減し(ステップS160)、処理を終了する。処理終了時、反復回数カウンタ回路210は、反復回数カウンタ値8をリセットする。   When the comparison result of the iteration count protection circuit 250 is (protection count) ≧ (protection count threshold) (step S120: Yes), the protection count count value is reset (step S135) and the comparison result is stored in the iteration count hold reduction signal 14. To notify the iteration number setting circuit 220. In response to this, the iteration number setting circuit 220 reduces the iteration setting number (step S160) and ends the process. At the end of the process, the iteration count counter circuit 210 resets the iteration count counter value 8.

反復回数保護回路250の前記比較結果が(保護回数)<(保護回数閾値)の場合(ステップS120:No)、反復回数保護回路250は、保護回数のカウント値を増加する(ステップS140)と共に、比較結果を反復回数保持削減信号14により反復回数設定回路220に通知する。これを受けて反復回数設定回路220は、反復設定回数を維持し(ステップS145)、処理を終了する。処理終了時、反復回数カウンタ回路210は、反復回数カウンタ値8をリセットする。   When the comparison result of the iteration count protection circuit 250 is (protection count) <(protection count threshold) (step S120: No), the iteration count protection circuit 250 increases the count value of the protection count (step S140). The comparison result is notified to the iteration number setting circuit 220 by the iteration number holding reduction signal 14. In response to this, the iteration number setting circuit 220 maintains the iteration setting number (step S145) and ends the process. At the end of the process, the iteration count counter circuit 210 resets the iteration count counter value 8.

なお、閾値設定回路240に設定する保護回数閾値13を0とすれば、実施の形態1と同様の動作となる。   If the protection frequency threshold 13 set in the threshold setting circuit 240 is set to 0, the operation is the same as that in the first embodiment.

次に、図8を用いて、実施の形態2のメカニズムについて説明する。図8は、データブロックDB1〜DB2においては、反復回数18回でブロック符号復号後にエラーがなくなる伝送路状態であって、データブロックDB3、DB4において一時的に反復回数17回でブロック符号復号後にエラーがなくなる伝送状態に変化し、データブロックDB5以降再び、反復回数18回でブロック符号復号後にエラーがなくなる伝送状態に戻った場合の例において、各データブロック(DB1、DB2、・・・)での反復回数(I)とブロック符号復号回数(B)をグラフで示したものである。   Next, the mechanism of the second embodiment will be described with reference to FIG. FIG. 8 shows a transmission path state in which there is no error after block code decoding in data blocks DB1 to DB2 after 18 iterations. In data blocks DB3 and DB4, an error after block code decoding is temporarily executed in 17 iterations. In the example in which the data state changes to a transmission state in which data is lost, and after data block DB5 returns to a transmission state in which there are no errors after block code decoding with 18 iterations, each data block (DB1, DB2,...) The number of iterations (I) and the number of block code decoding (B) are shown in a graph.

図8(a)は、保護回数閾値を設定しない場合、すなわち、実施の形態1における反復回数(I)及びブロック符号復号回数(B)を示し、図8(b)は、保護回数閾値を設定する場合、すなわち、本実施の形態2における反復回数(I)とブロック符号復号回数(B)を示す。ここでは、本実施の形態にかかる誤り訂正装置110の反復回数保護回路250において、保護回数閾値=2に設定した場合について説明する。   FIG. 8A shows the number of iterations (I) and the number of block code decoding (B) in the first embodiment when the protection count threshold is not set, that is, FIG. 8B sets the protection count threshold. In other words, the number of iterations (I) and the number of block code decoding (B) in the second embodiment are shown. Here, a description will be given of a case where the protection count threshold value = 2 is set in the iteration count protection circuit 250 of the error correction apparatus 110 according to the present embodiment.

図8(a)に示すように、実施の形態1における誤り訂正装置においては、データブロックDB3でブロック符号復号後の訂正数が訂正閾値以下となる。これにより、反復設定回数が18回から17回に減らされる。よって、データブロックDB4の誤り訂正処理においては、反復復号回路120の反復回数が17回となる。続くデータブロックDB5でも反復回数は17回に維持されるが、データブロックDB5においては、上記のように伝送状態が変化し、反復復号を回数18実施しなければ、ブロック符号復号後にエラーがなくならない伝送状態となっている。よって、データブロックDB5の誤り訂正処理においては、設定されている反復復号回数17回では、ブロック符号復号で訂正不可となり、再度、反復復号とブロック符号復号を実施する必要が生じる。   As shown in FIG. 8A, in the error correction apparatus according to the first embodiment, the number of corrections after block code decoding in the data block DB3 is equal to or less than the correction threshold. As a result, the number of repetition settings is reduced from 18 times to 17 times. Therefore, in the error correction process of the data block DB4, the number of iterations of the iterative decoding circuit 120 is 17. In the subsequent data block DB5, the number of iterations is maintained at 17. However, in the data block DB5, the transmission state is changed as described above, and if the iterative decoding is not performed 18 times, an error does not disappear after block code decoding. Transmission status. Therefore, in the error correction process of the data block DB5, when the set number of iterations is 17, the correction cannot be made by block code decoding, and it becomes necessary to perform iterative decoding and block code decoding again.

これに対し、本実施の形態においては、図8(b)に示すように、データブロックDB3でブロック符号復号後の訂正数が訂正閾値以下となったときに保護回数のカウントが開始される。ここで、本例においては、保護回数閾値が2に設定されているため、データブロックDB4では、保護回数カウント値=1となり、ステップS120の保護回数が保護回数閾値以下の条件に適合する。よって、反復回数が18回のまま保持される(ステップS145)。データブロックDB5では、ブロック符号復号後の訂正数が訂正閾値以下となり保護カウントが加算され、保護回数カウント値=2となる。一方、次のデータブロックDB5では、反復回数18回を実施し、ブロック符号復号された後の訂正数が再度訂正閾値より大きくなるため、保護回数はリセットされる(ステップS130)。   On the other hand, in the present embodiment, as shown in FIG. 8 (b), the count of the protection count is started when the number of corrections after block code decoding in the data block DB3 is equal to or less than the correction threshold. Here, in this example, since the protection count threshold is set to 2, in the data block DB4, the protection count count value = 1, and the protection count in step S120 meets the condition of the protection count threshold or less. Therefore, the number of iterations is kept 18 (step S145). In the data block DB5, the number of corrections after block code decoding is equal to or less than the correction threshold, the protection count is added, and the protection count value = 2. On the other hand, in the next data block DB5, the number of iterations is 18 times, and the number of corrections after block code decoding is again larger than the correction threshold, so the number of protections is reset (step S130).

このように、本例の場合では、保護回数閾値を1以上に設定しておくことにより、データブロックDB5での反復回数が18回のまま維持され、反復回数とブロック符号復号回数が一定となるため消費電力の変動を防止することができる。   Thus, in the case of this example, by setting the protection frequency threshold to 1 or more, the number of iterations in the data block DB5 is maintained at 18, and the number of iterations and the number of block code decoding are constant. Therefore, fluctuations in power consumption can be prevented.

以上説明したように、本実施の形態2においては、反復回数削減のために、反復回数保護回路250に保存されている過去の復号結果(保護回数)を反復回数制御回路140に通知することで伝送路状態の変化に対応している。つまり、過去の復号結果から過去の伝送状態を観察し、伝送状態がある程度継続して良くならなければ反復復号による反復回数を削減しないようにしている。このように、本実施の形態においては、保護回数を判定することにより、伝送路状態が変動している場合において消費電力の不必要な変動を抑制することができる。   As described above, in the second embodiment, in order to reduce the number of iterations, the past decoding result (protection number) stored in the iteration number protection circuit 250 is notified to the iteration number control circuit 140. Supports changes in transmission path conditions. That is, the past transmission state is observed from the past decoding result, and the number of iterations by iterative decoding is not reduced unless the transmission state continues to some extent. As described above, in this embodiment, by determining the number of protection times, unnecessary fluctuations in power consumption can be suppressed when the transmission path state is fluctuating.

なお、本発明は上述した実施の形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。   It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.

例えば、上述の実施の形態では、ハードウェアの構成として説明したが、これに限定されるものではなく、任意の処理を、CPU(CentralProcessingUnit)にコンピュータプログラムを実行させることにより実現することも可能である。この場合、コンピュータプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitorycomputerreadablemedium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangiblestoragemedium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(ReadOnlyMemory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(ProgrammableROM)、EPROM(ErasablePROM)、フラッシュROM、RAM(randomaccessmemory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitorycomputerreadablemedium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   For example, in the above-described embodiment, the hardware configuration has been described. However, the present invention is not limited to this, and arbitrary processing can be realized by causing a CPU (Central Processing Unit) to execute a computer program. is there. In this case, the computer program can be stored and provided to a computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-s. R / W, semiconductor memory (for example, mask ROM, PROM (ProgrammableROM), EPROM (ErasablePROM), flash ROM, RAM (randomaccessmemory)). The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.

1 反復復号入力データ
2 反復復号後データ
3 ブロック符号復号後データ
4 訂正数
5 訂正閾値
6 閾値比較結果
7 訂正可否信号
8 反復回数カウンタ値
9 反復設定回数
10 反復回数初期値
11 反復復号終了
12 反復復号停止継続
13 保護回数閾値
14 反復回数保持削減
120 反復復号回路
140 反復回数制御回路
150 ブロック符号復号回路
200 反復復号停止制御回路
210 反復回数カウンタ回路
220 反復回数設定回路
230 訂正数閾値比較回路
240 閾値設定回路
250 反復回数保護回路
510 入力バッファ
520 ターボダコーダ
540 制御部
550 RSデコーダ
570 出力バッファ
580 メモリ
1 Iterative decoding input data 2 Data after iterative decoding 3 Data after block code decoding 4 Number of corrections 5 Correction threshold 6 Threshold comparison result 7 Correction enable / disable signal 8 Iteration count counter value 9 Iteration setting count 10 Iteration number initial value 11 Iterative decoding end 12 Iterations Decoding continuation 13 Protection count threshold 14 Repetition count retention reduction 120 Iterative decoding circuit 140 Iteration count control circuit 150 Block code decoding circuit 200 Iteration decoding stop control circuit 210 Iteration count counter circuit 220 Iteration count setting circuit 230 Correction count threshold comparison circuit 240 Threshold Setting circuit 250 Iteration number protection circuit 510 Input buffer 520 Turbo coder 540 Control unit 550 RS decoder 570 Output buffer 580 Memory

Claims (18)

入力データを反復復号法により誤り訂正する反復復号回路と、
前記反復復号回路にて誤り訂正された反復復号済データをブロック符号復号により誤り訂正するブロック符号復号回路と、
前記ブロック符号復号回路におけるブロック符号復号の訂正数と、予め設定された訂正閾値との比較を行う訂正数閾値比較回路と、
前記反復復号回路の反復復号回数を制御する反復回数制御回路とを有し、
前記反復数制御回路は、前記ブロック符号復号回路の誤り訂正結果及び前記訂正数閾値比較回路の比較結果に基づき、前記反復復号回数を制御する、誤り訂正装置。
An iterative decoding circuit for error correction of input data by an iterative decoding method;
A block code decoding circuit that performs error correction by block code decoding on the iteratively decoded data error-corrected by the iterative decoding circuit;
A correction number threshold comparison circuit for comparing the number of corrections of block code decoding in the block code decoding circuit with a preset correction threshold;
An iterative number control circuit for controlling the iterative decoding number of the iterative decoding circuit,
The iteration number control circuit controls the number of iterations based on an error correction result of the block code decoding circuit and a comparison result of the correction number threshold comparison circuit.
前記訂正閾値は、前記ブロック符号復号回路の誤り訂正能力と、前記反復復号回路の反復復号訂正能力とに基づき決定される値である、請求項1に項記載の誤り訂正装置。   The error correction apparatus according to claim 1, wherein the correction threshold is a value determined based on an error correction capability of the block code decoding circuit and an iterative decoding correction capability of the iterative decoding circuit. 前記設定回数を増減するか否かを決定する反復回数保護回路を更に有し、
前記反復回数保護回路は、前記訂正数が前記訂正閾値以下となる回数をカウントし、
前記反復回数制御回路は、前記反復回数保護回路のカウント結果に応じて、前記設定回数を減ずる、請求項1又は2記載の誤り訂正装置。
It further includes an iterative number protection circuit for determining whether to increase or decrease the set number of times,
The iterative number protection circuit counts the number of times the number of corrections is less than or equal to the correction threshold,
The error correction apparatus according to claim 1, wherein the iteration number control circuit reduces the set number of times according to a count result of the iteration number protection circuit.
前記反復復号回路は、予め設定された設定回数の反復復号を行うものであって、
前記反復回数制御回路は、前記訂正数閾値比較回路により前記訂正数が前記訂正閾値より大きいと判断された場合は前記設定回数を維持し、前記訂正数閾値比較回路により前記訂正数が前記訂正閾値以下と判断された場合は前記設定回数を削減する、請求項1乃至3のいずれか1項記載の誤り訂正装置。
The iterative decoding circuit performs iterative decoding a preset number of times, and
The iteration count control circuit maintains the set count when the correction count threshold comparison circuit determines that the correction count is greater than the correction threshold, and the correction count threshold comparison circuit sets the correction count to the correction threshold. The error correction device according to claim 1, wherein the number of times of setting is reduced when it is determined that:
前記反復復号回路は、予め設定された設定回数の反復復号を行うものであって、前記ブロック符号復号回路で前記反復復号済データの訂正が不能と判断された場合、前記反復回数制御回路は当該設定回数を増加し、前記反復復号回路により再度反復復号を実施させる、請求項1乃至4のいずれか1項記載の誤り訂正装置。   The iterative decoding circuit performs iterative decoding a preset number of times. When the block code decoding circuit determines that correction of the iteratively decoded data is impossible, the iterative number control circuit The error correction device according to claim 1, wherein the set number of times is increased, and the iterative decoding circuit performs iterative decoding again. 前記訂正閾値は、前記反復復号回路における反復復号1回のエラー訂正数と、前記ブロック符号復号回路における最大訂正数とに応じて設定される値である、請求項2記載の誤り訂正装置。   The error correction apparatus according to claim 2, wherein the correction threshold is a value set according to an error correction number of one iteration decoding in the iterative decoding circuit and a maximum correction number in the block code decoding circuit. 前記訂正閾値は、下記式により設定される値である、請求項6記載の誤り訂正装置。
訂正閾値≦(ブロック符号復号最大訂正数)−(反復復号1回のエラー訂正数)
The error correction apparatus according to claim 6, wherein the correction threshold is a value set by the following equation.
Correction threshold ≦ (maximum number of block code decoding corrections) − (number of error corrections for one iteration decoding)
前記反復回数制御回路は、
前記反復復号回路が反復復号する回数を指定する設定回数を設定する反復回数設定回路と、
前記反復復号回路の反復復号回数をカウントする反復回数カウンタ回路と、
前記反復回数カウンタ回路のカウント値が、前記設定回数に達すると、前記反復復号回路の復号を停止させる反復復号停止制御回路と、を有する、請求項1乃至7のいずれか1項に記載の誤り訂正装置。
The iteration number control circuit includes:
An iterative number setting circuit for setting a setting number for specifying the number of times the iterative decoding circuit performs iterative decoding; and
An iterative number counter circuit for counting the number of iterative decoding times of the iterative decoding circuit;
The error according to any one of claims 1 to 7, further comprising: an iterative decoding stop control circuit that stops decoding of the iterative decoding circuit when a count value of the iterative number counter circuit reaches the set number of times. Correction device.
前記反復回数保護回路は、前記訂正数が前記訂正閾値以下となったカウント値と、予め設定された保護回数閾値とを比較し、
前記反復回数制御回路は、当該カウント値が前記保護回数閾値に達した場合、前記設定回路を減じる、請求項3記載の誤り訂正装置。
The iterative number protection circuit compares a count value in which the number of corrections is equal to or less than the correction threshold value with a preset protection frequency threshold value,
The error correction apparatus according to claim 3, wherein the iteration number control circuit subtracts the setting circuit when the count value reaches the protection number threshold.
閾値設定回路を有し、
前記訂正数閾値比較回路及び前記反復回数保護回路は、前記閾値設定回路によりそれぞれ前記訂正閾値及び保護回数閾値が設定される、請求項9記載の誤り訂正装置。
A threshold setting circuit;
The error correction apparatus according to claim 9, wherein the correction threshold value comparison circuit and the iteration number protection circuit are set with the correction threshold value and the protection frequency threshold value by the threshold setting circuit, respectively.
前記保護回数閾値は、伝送状態の変動の度合いに応じて設定される、請求項9又は10記載の誤り訂正装置。   The error correction apparatus according to claim 9 or 10, wherein the protection frequency threshold is set according to a degree of fluctuation of a transmission state. 入力されるブロックデータを反復復号法により、予め設定された設定回数だけ反復復号することにより誤り訂正し、
前記反復復号により誤り訂正された反復復号済データをブロック符号復号により誤り訂正し、
前記ブロック符号復号の誤り訂正結果、及び前記ブロック符号復号の訂正数と予め設定された訂正閾値との比較結果に基づき、次に入力されるブロックデータの前記設定回数を決定する、誤り訂正方法。
Error correction is performed by iteratively decoding the input block data by a preset number of times using an iterative decoding method,
Error-correcting the iteratively decoded data error-corrected by the iterative decoding by block code decoding;
An error correction method for determining the set number of block data to be input next based on an error correction result of the block code decoding and a comparison result between a correction number of the block code decoding and a preset correction threshold.
前記訂正閾値は、ブロック符号復号における誤り訂正能力と、反復復号における訂正能力とに基づき決定される値である、請求項12に項記載の誤り訂正方法。   The error correction method according to claim 12, wherein the correction threshold is a value determined based on an error correction capability in block code decoding and a correction capability in iterative decoding. 前記ブロック符号復号により誤り訂正した後、当該ブロック符号復号における訂正数が予め設定された訂正閾値以下となる回数をカウントし、
次に入力されるブロックデータの設定回数を、前記ブロック符号復号の誤り訂正結果、及び前記ブロック符号復号の訂正数と予め設定された訂正閾値との比較結果のみならず、前記カウント結果を考慮して決定する、請求項12又は13記載の誤り訂正方法。
After error correction by the block code decoding, count the number of times the number of corrections in the block code decoding is equal to or less than a preset correction threshold,
Next, the number of times of setting the block data to be input is considered in consideration of the count result as well as the error correction result of the block code decoding and the comparison result between the correction number of the block code decoding and a preset correction threshold. The error correction method according to claim 12 or 13, wherein the error correction method is determined.
前記訂正数が前記訂正閾値より大きいと判断した場合は前記設定回数を維持し、前記訂正数が前記訂正閾値以下と判断した場合は前記設定回数を削減する、請求項12乃至4のいずれか1項記載の誤り訂正方法。   5. The set number of times is maintained when it is determined that the number of corrections is greater than the correction threshold value, and the set number of times is reduced when it is determined that the number of corrections is equal to or less than the correction threshold value. The error correction method described in the paragraph. 前記ブロック符号復号による前記反復復号済データの訂正が不能と判断した場合、前記設定回数を増加し、再度反復復号を実施する、請求項12乃至15のいずれか1項記載の誤り訂正方法。   The error correction method according to claim 12, wherein when it is determined that correction of the iteratively decoded data by the block code decoding is impossible, the set number of times is increased and iterative decoding is performed again. 前記ブロック符号復号における訂正数が予め設定された訂正閾値以下となったカウント値と、予め設定された保護回数閾値とを比較し、
当該カウント値が前記保護回数閾値に達した場合、前記設定回路を減じる、請求項14記載の誤り訂正方法。
Compare the count value in which the number of corrections in the block code decoding is equal to or less than a preset correction threshold with a preset protection frequency threshold,
The error correction method according to claim 14, wherein when the count value reaches the protection count threshold, the setting circuit is subtracted.
入力データを反復復号法により誤り訂正する反復復号回路と、
前記反復復号回路にて誤り訂正された反復復号済データをブロック符号復号により誤り訂正するブロック符号復号回路と、
前記反復復号回路の反復復号回数を制御する反復回数制御回路とを有し、
前記反復数制御回路は、前記ブロック符号復号回路における誤り訂正結果及びブロック符号復号の訂正数に基づき、前記反復復号回数を制御する、復号装置。
An iterative decoding circuit for error correction of input data by an iterative decoding method;
A block code decoding circuit that performs error correction by block code decoding on the iteratively decoded data error-corrected by the iterative decoding circuit;
An iterative number control circuit for controlling the iterative decoding number of the iterative decoding circuit,
The iterative number control circuit controls the number of times of iterative decoding based on an error correction result in the block code decoding circuit and a correction number of block code decoding.
JP2011010829A 2011-01-21 2011-01-21 Error correction device, error correction method and decoding device Pending JP2012151801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011010829A JP2012151801A (en) 2011-01-21 2011-01-21 Error correction device, error correction method and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011010829A JP2012151801A (en) 2011-01-21 2011-01-21 Error correction device, error correction method and decoding device

Publications (1)

Publication Number Publication Date
JP2012151801A true JP2012151801A (en) 2012-08-09

Family

ID=46793611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011010829A Pending JP2012151801A (en) 2011-01-21 2011-01-21 Error correction device, error correction method and decoding device

Country Status (1)

Country Link
JP (1) JP2012151801A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016192747A (en) * 2015-03-31 2016-11-10 三菱電機株式会社 Error correction device, optical receiver, and optical transmission device
WO2019198127A1 (en) * 2018-04-09 2019-10-17 三菱電機株式会社 Error correction decoding circuit and optical receiver
WO2020250390A1 (en) * 2019-06-13 2020-12-17 三菱電機株式会社 Decoding device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016192747A (en) * 2015-03-31 2016-11-10 三菱電機株式会社 Error correction device, optical receiver, and optical transmission device
WO2019198127A1 (en) * 2018-04-09 2019-10-17 三菱電機株式会社 Error correction decoding circuit and optical receiver
WO2020250390A1 (en) * 2019-06-13 2020-12-17 三菱電機株式会社 Decoding device
JPWO2020250390A1 (en) * 2019-06-13 2021-10-14 三菱電機株式会社 Decoding device, control circuit and storage medium
JP7038910B2 (en) 2019-06-13 2022-03-18 三菱電機株式会社 Decoding device, control circuit and storage medium
US11750216B2 (en) 2019-06-13 2023-09-05 Mitsubishi Electric Corporation Decoding apparatus, control circuit, and storage medium

Similar Documents

Publication Publication Date Title
CN107425856B (en) Low density parity check decoder and method for saving power thereof
JP4777876B2 (en) Early termination of turbo decoder iterations
US7222286B2 (en) Decoding device having a turbo decoder and an RS decoder concatenated serially and a method of decoding performed by the same
WO2017185377A1 (en) Polar code encoding method and apparatus
JP2008544721A (en) Method and apparatus for iterative decoder power reduction
KR20100081551A (en) Decoding method and memory system device for using the method
KR101261091B1 (en) Method for setting number of iterative decoding, Apparatus and Method for iterative decoding
JP2010158015A (en) Broadcast receiver and method for optimizing scale factor for log-likelihood mapper
US20200021310A1 (en) Information processing method and apparatus, and device
US11088780B2 (en) Low complexity blind detection of code rate
US9473173B2 (en) Method for early terminating decoding processes of serial concatenated coding and decoder using the same
JP2013198017A (en) Decoding device and communication device
JP2012151801A (en) Error correction device, error correction method and decoding device
US11184034B2 (en) Method and device for decoding staircase code, and storage medium
KR101267798B1 (en) Apparatus for controlling read level and method using the same
WO2016015288A1 (en) Decoding method and decoder
TWI674765B (en) Device and method of controlling iterative decoder
JP4244700B2 (en) Turbo decoder and dynamic decoding method used therefor
JP6567238B1 (en) Error correction decoding apparatus and error correction decoding method
US11750219B2 (en) Decoding method, decoder, and decoding apparatus
KR101630114B1 (en) LDPC Decoding Device and Method Using Min-Sum Algorithm
CN110086476B (en) LDPC code decoding method based on dynamic selection strategy with fixed message updating range
Morero et al. Novel serial code concatenation strategies for error floor mitigation of low-density parity-check and turbo product codes
US8621312B2 (en) Transceiver that serves LDPC codewords for decoding including clock cycle budgeting based on block transmission length
JP2019110491A (en) Error correction device, error correction method, and optical communication system