【0001】
【発明の属する技術分野】
本発明は、例えば直交周波数分割多重(OFDM:Orthogonal Frequency Division Multiplexing)のようなマルチキャリア変復調方式において、畳み込み符号を用いて誤り訂正復号化を行うための復号化方法に関するものである。
【0002】
【従来の技術】
近年、配電線を利用して各種電気量や温湿度等の情報を収集する配電線搬送技術が盛んに研究されている。特に、10kHz以下の周波数帯域では電波法等による出力、搬送周波数、伝送速度等の制約が比較的緩やかであり、信号の減衰も少ないことから、低周波帯域を利用した配電線搬送技術が注目されてきている。
【0003】
一方、マルチキャリア変復調方式の一種であるOFDMは、周波数間隔を(1/有効シンボルの時間間隔)として各キャリア間を直交させ、符号間干渉がないようにした多数のサブキャリアを使用して各搬送波に低ビットレートの信号を割り当て、全体として所望のビットレートを得るようにしたものであり、
1)有効シンボル(変調信号の一度の変化によって送ることができるデータ)長を長くできる、
2)ガードインターバル(信号の一部を繰り返し伝送する期間)を設けることで遅延波の影響(ゴースト)を低減できる、
3)周波数利用率が高い、
等の利点を有している。
このため、最近では、配電線搬送においても情報データの変復調方式としてOFDMを適用することが多くなっている。
【0004】
ここで、図4は送信側から伝送される符号列(伝送するべき情報データを符号化した符号化データ)、OFDM信号の周波数スペクトル、受信側による復調後の復号(受信符号データ)の関係を示している。
OFDMのようなマルチキャリア変復調方式では、単一雑音(CW雑音)が存在すると、その雑音周波数付近のサブキャリアの伝送品質が劣化する。CW雑音は配電線の負荷が掃除機等のモータ負荷である場合に発生しやすく、そのスペクトルも幅を持つ。また、OFDMのようにサブキャリアの周波数間隔が極めて狭い場合には、CW雑音によって数本のサブキャリアの伝送品質が劣化することとなる。
【0005】
図4では、符号化データを構成する有効シンボルの各ビットがa1,a2,……,a10、b1,b2,……,b10、c1,c2,……,c10であり、これらがそれぞれ10本のサブキャリアに対応して変調され、復調後の受信符号データのうちa5に対応するA5,b5に対応するB5、c5に対応するC5が何れもCW雑音によって誤りの確率が高くなることを示している。
【0006】
ここで、伝送誤りを訂正するための周知の誤り訂正符号化及び復号化技術について述べる。
図5は、送信側において、Mビットの情報データに冗長ビットを付加してNビットの符号化データを生成するM/N畳み込み符号器の構成を示すもので、具体的には符号化率R(=M/N)を1/2とした1/2畳み込み符号器の例である。
図において、Xiは入力される情報データ、Xoは伝送路に出力される符号化データ、D1,D2は遅延器、21,22,23は排他的論理和(EX−OR)回路、31はパラレル/シリアル変換器、Xi1,Xi2はそれぞれ排他的論理和回路21,23の出力データである。
【0007】
遅延器D1,D2の状態がそれぞれ(0,0),(1,0),(0,1),(1,1)のとき(例えば(0,0)は遅延器D1が“0”、遅延器D2が“0”の状態を示す)、各状態をS0,S1,S2,S3とする。
図6はこれらの状態遷移図であり、情報データの入力によってある状態からある状態へ遷移する場合に排他的論理和回路21,23から出力されるデータXi1,Xi2を示している。例えば、初期状態S0においてXi=0が入力された場合には、遅延器D1,D2の状態は依然として(0,0)であり(状態S0は変わらない)、データXi1,Xi2は{00}が出力され、初期状態S0においてXi=1が入力された場合には、遅延器D1,D2の状態は(1,0)に変化する(状態S0から状態S1に遷移する)ので、その際にデータXi1,Xi2としては{11}が出力される。
【0008】
このため、図5の1/2畳み込み符号器に情報データとしてXi={0,1,0,0,1,1,1}が逐次入力されると、状態はS0→S1→S2→S0→S1→S3→S3と遷移し、データXi1,Xi2は、{00}→{11}→{10}→ {11}→{11}→{01}→{10}と変化するので、パラレル/シリアル変換器31を経た符号化データはXo={00,11,10,11,11,01,10}となる。
【0009】
一方、受信側で行われる復号化では、受信符号データと畳み込み符号器が発生し得る符号化データとを比較して、送信したであろう符号を推定する誤り訂正復号化、いわゆるビタビ復号化が実行される。
図7は、トレリス線図によるビタビ復号化の原理を説明するためのものであり、時刻1〜8において受信した受信符号データXoが、例えば{00,11,10,00,01,01,11,11}であるときに、これらを畳み込み符号器が発生し得る符号化データと逐次比較して、両者が一致したときは“1”、不一致のときは“0”という得点を与える。この得点を状態判定要素(メトリック)と言うものとし、メトリックの累積値が大きい方の状態のルートを確定していくことで送信したであろう符号を推定し、受信符号データの誤りを訂正するものである。
【0010】
図8は、図7の一部拡大図である。復号側では符号器の初期状態がS0であることが判っているとすると、前述のように状態S0からはS0またはS1にしか遷移し得ないため、その時の出力データは{00}または{11}である。
これらの出力データを時刻1における受信符号データと各ビットごとに比較すると、S0からS0に遷移する時は出力データ{00}と受信符号データ{00}とが2ビットとも一致するので、メトリック(の累積値)として「2」を与える。また、S0からS1に遷移する時は出力データ{11}と受信符号データ{00}とが一致するビットは0であるから、メトリック(の累積値)として「0」を与える。
【0011】
この場合、メトリックの累積値は、S0からS0に遷移した時の「2」がS0からS1に遷移した時の「0」より大きいため、時刻1における状態遷移としてはS0からS0への遷移が選択され、確定する。図8では、この様子を太い矢印で示してある。
【0012】
次に、時刻2における受信符号データが{11}であるとすると、前記同様にS0からS0に遷移した時の出力データ{00}及びS0からS1に遷移した時の出力データ{11}が受信符号データ{11}とそれぞれ比較される。その結果、S0からS0に遷移する時は出力データ{00}と受信符号データ{11}とが一致するビットは0であるから、メトリックの累積値は従来通り「2」であり、S0からS1に遷移する時は出力データ{11}と受信符号データ{11}とが2ビットとも一致するので、メトリックの累積値は「4(=2+2)」となる。
このため、メトリックの累積値は、S0からS1に遷移した時の「4」がS0からS1に遷移した時の「2」より大きいため、時刻2における状態遷移としてはS0からS1への遷移が選択され、確定する。
【0013】
次いで、時刻3における受信符号データが{10}であるとすると、S1からS2に遷移する時は出力データ{10}と受信符号データ{10}とが一致するビットは2であるから、メトリックの累積値は「6(=4+2)」となり、S1からS3に遷移する時は出力データ{01}と受信符号データ{10}とが一致するビットは0であるから、メトリックの累積値は従来通り「4」である。
このため、メトリックの累積値は、S1からS2に遷移した時の「6」がS1からS3に遷移した時の「4」より大きいため、時刻3における状態遷移としてはS1からS2への遷移が選択され、確定する。
【0014】
これにより、時刻1〜3では、S0→S0→S1→S2という状態遷移が推定され、その間に畳み込み符号器から出力された符号化データは{001110}であることが判る。従って、この例では、時刻1,2,3の受信符号データ{001110}に誤りはないことになる。
前述した図7は、このようにして畳み込み符号器における状態遷移のすべての可能性について、状態遷移に伴って出力されるデータ及びメトリックの累積値を時刻1〜8にわたって推定したものである。
【0015】
この図7において、大小の黒丸は各状態を示し、大きい黒丸は確定した状態、小さい黒丸は未確定の状態である。また、各状態の黒丸間を結ぶ太い実線矢印、細い実線矢印、破線矢印は状態遷移として考えられるすべての可能性を示しており、その中で、太い実線矢印は確定した状態遷移、細い実線は未確定の状態遷移を示し、更に、破線矢印は、他にメトリック累積値が大きくて一層確からしい状態遷移が存在するため、排除しても差し支えない状態遷移を示している。
【0016】
また、黒丸で示した各状態の上下に記されたメトリックの累積値は、その状態に遷移する元の状態が二つある場合に、それぞれのルートについてメトリックの累積値を示したものであり、特にゴシック体で示した数字は上下の累積値のうち大きい方を示している(つまり、ゴシック体の累積値に至った状態遷移の方が他方の状態遷移よりも確からしいことを示す)。なお、上下の累積値が等しい場合には、例えば上の累積値に至った状態遷移のルートを選択するものと予め決めておく。
【0017】
【発明が解決しようとする課題】
さて、前述したように伝送路上でCW雑音等の影響を受けた符号は誤る確率が高いため、前記トレリス線図による誤り訂正の必要が大きいものであるが、符号誤りの確率が高い分だけ誤訂正する確率も高くなり、その結果、復号化の信頼性や伝送品質が低下することになる。
【0018】
ここで、図9〜図11は、畳み込み符号器から出力された符号化データが{00,11,10,00,01,01,11,11}であったにも関わらず、CW雑音等の外乱によって受信符号データが{00,11,00,00,01,01,11,01}となり、5ビット目及び15ビット目の符号が誤っている(アンダーラインを付してある)場合のトレリス線図を示している。図9は時刻6までの状態、図10は時刻7までの状態、図11は時刻8までの状態である。
なお、状態遷移が確定した場合には、その状態のメトリックの累積値を強制的に0としている。例えば、図10において状態S13のメトリック累積値は「2」であるが、図11では「0」としてある。
【0019】
いま、図11に示すように、時刻9においてS0→S0→S1という状態遷移が確定しているとすると、時刻8から時刻9への状態遷移として候補となるものはSa,Sb,Sc,Sdである。このときの遷移元の状態を図示のようにS08,S18,S38とする。
この場合、時刻3の状態S1(S13)からは時刻4におけるS2(S24)及びS3(S34)への遷移が考えられ、その際の出力データはそれぞれ{10},{01}であって、遷移後のメトリック累積値は何れも「1」である。また、時刻8において前述の状態S08,S18,S38に至るための時刻4の状態としては、S2(S24)及びS3(S34)の何れも可能性がある(S24またはS34の何れかから、S08,S18,S38の何れかに至る実線のルートが存在する)。
【0020】
つまり、時刻3の受信符号{00}を訂正するとしても、状態S13からS24への遷移による出力データ{10}に従って訂正するか、あるいは、状態S13からS34への遷移による出力データ{01}に従って訂正するかの二通りがあるため、訂正方法が一意的に定まらず、結果的に時刻3の受信符号{00}を誤訂正してしまうおそれがあった。
【0021】
そこで本発明は、このような誤り訂正復号化における誤訂正を防止して信頼性及び伝送品質の向上を可能にした誤り訂正復号化方法を提供しようとするものである。
【0022】
【課題を解決するための手段】
上記課題を解決するため、請求項1の発明は、畳み込み符号器の状態遷移に従って送信される符号化データを受信側でビタビ復号化する際に、推定した状態遷移に従って出力されるべき符号化データと実際の受信符号データとの不一致を検出して受信符号データの誤りを訂正するようにした誤り訂正復号化方法であって、各ビットごとに符号化データと受信符号データとを比較して両者の一致不一致により所定のメトリックを演算し、このメトリックの累積値に基づいて前記状態遷移を推定する誤り訂正復号化方法において、
受信符号データの各ビットのうち伝送路の外乱により受信符号データに誤りを生じる可能性が高いビットのメトリックの重みを他のビットのメトリックの重みと異ならせるものである。
【0023】
【発明の実施の形態】
以下、図に沿って本発明の実施形態を説明する。
まず、本実施形態は、図4に示したように、CW雑音等による符号の誤り、ひいてはその誤りの誤訂正が特定のサブキャリアで発生すること、言い換えれば受信符号化データの特定ビットで発生することに着目したものである。すなわち、図4の例ではa1,a2,……,a10,b1,b2,……,b10,c1,c2,……,c10からなる符号列の5ビット目、15ビット目、25ビット目に符号の誤りがある確率が高く、前述した従来の誤り訂正復号化ではこれらの各ビットで誤訂正が行われる確率が高い。
【0024】
そこで、本実施形態では、上述したような受信符号データ中の誤りを生じやすい特定のビットのメトリック(当該ビットに対応する状態遷移の出力データのメトリック)に重み付けをすることとした。そして、その重み付けに当たっては、メトリックの累積値が最終的に小さくなるように小さい重みW(W<1)を設定するようにした。
すなわち、状態遷移による出力データと受信符号データとが一致する場合に、従来ではメトリックとして“1”を与えていたのに対し、この実施形態ではメトリックを“0”(重みW=0)に設定している。なお、重みWの数値は0に限るものではなく、1以下の任意の数値で良い。
【0025】
ここで、図1〜図3は、図9〜図11と同様に、畳み込み符号器から出力された符号化データが{00,11,10,00,01,01,11,11}であったにも関わらず、CW雑音等の外乱によって受信符号データが{00,11,00,00,01,01,11,01}となった場合のトレリス線図である。
図1は時刻6までの状態、図2は時刻7までの状態、図3は時刻8までの状態である。
【0026】
この場合においても、受信符号データ全体の5ビット目及び15ビット目の符号が誤っている可能性が高いため、状態遷移の出力データの当該ビットのメトリックを重み付けにより“0”にすれば、それ以後のメトリックの累積値は小さくなる。従って、最終的にその状態を経由するルートが選択される可能性は小さくなり、結果として誤りを誤訂正する可能性も小さくすることができる。
【0027】
例えば、本実施形態における図2から図3への変化は、前述した図10から図11への変化に相当するが、この実施形態では5ビット目及び15ビット目のメトリックを「0」としている(図2及び図3では5ビット目及び15ビット目の出力データを□で囲んである)。
このため、図3の時刻3における状態S13からS24,S34への遷移に当たり、それぞれの出力データ(5ビット目,6ビット目に相当する)は{10},{01}であるが、5ビット目のメトリックを“0”としたので、6ビット目に相当する{0},{1}だけを受信符号データの6ビット目の{0}とそれぞれ比較することになる。
【0028】
よって、状態S13からS24へ至るルートでは、6ビット目の出力データ{0}と受信符号データの6ビット目の{0}とが一致するので、メトリックの累積値として「1」が与えられる。なお、遷移元である状態S13のメトリックは図11と同様に0としている。また、状態S13からS34へ至るルートでは、6ビット目の出力データ{1}と受信符号データの6ビット目の{0}とが一致しないので、メトリックの累積値として「0」が与えられる。
【0029】
このため、遷移後のメトリックが大きい状態遷移、すなわちS13からS24へ至るルートが選択されることになり、畳み込み符号器の出力データは{10}であると推定される。従って、時刻3における受信符号データ{00}を{10}へ一意的に訂正することができ、受信符号データ全体の5ビット目の{0}が{1}に訂正されることになる。
これに対し、図11の例では状態S13からS24へ至るルートと状態S13からS34へ至るルートの何れも選択される可能性があり、各ルートに対応する出力データ{10},{01}に応じて時刻3の受信符号データの訂正内容が異なるため、誤り訂正も一意的に定まらず、誤訂正の原因となるものであるが、本実施形態ではそのような不都合を生じるおそれがない。
【0030】
なお、CW雑音等が解消すれば符号の誤りもなくなってくるので、復号の過程で符号の誤りがなくなってきたら、5ビット目、15ビット目などのメトリックの重みを大きくすれば(例えば、重みW=1とすれば)良い。
また、雑音周波数の前後についても符号が誤っている可能性がある場合には、連続する複数ビットのメトリックの重みを他のビットより小さくすることが有効である。
更に、最終的にメトリックの累積値が小さい方のルートを選択して状態遷移を推定する場合には、符号の誤りが生じる可能性のあるビットのメトリックの重みを他のビットよりも大きくすれば良い。
【0031】
【発明の効果】
以上のように本発明によれば、例えば配電線搬送にOFDMのようなマルチキャリア変復調方式を用いる場合に、CW雑音等の外乱に起因する符号の誤訂正を防止することができ、信頼性の向上並びに伝送品質の向上を達成することができる。
【図面の簡単な説明】
【図1】本発明の実施形態におけるトレリス線図によるビタビ復号化の説明図である。
【図2】本発明の実施形態におけるトレリス線図によるビタビ復号化の説明図である。
【図3】本発明の実施形態におけるトレリス線図によるビタビ復号化の説明図である。
【図4】OFDM変復調方式において、伝送するべき符号列、OFDM信号の周波数スペクトル及び復号の関係を示す図である。
【図5】1/2畳み込み符号器の構成図である。
【図6】図5における状態遷移図である。
【図7】トレリス線図によるビタビ復号化の説明図である。
【図8】図7の一部拡大図である。
【図9】メトリックに重み付けがない場合のトレリス線図によるビタビ復号化の説明図である。
【図10】メトリックに重み付けがない場合のトレリス線図によるビタビ復号化の説明図である。
【図11】メトリックに重み付けがない場合のトレリス線図によるビタビ復号化の説明図である。
【符号の説明】
21〜23 排他的論理和回路
31 パラレル/シリアル変換器[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a decoding method for performing error correction decoding using a convolutional code in a multicarrier modulation / demodulation scheme such as, for example, orthogonal frequency division multiplexing (OFDM).
[0002]
[Prior art]
2. Description of the Related Art In recent years, distribution line transport technology for collecting information such as various amounts of electricity and temperature and humidity using distribution lines has been actively studied. In particular, in the frequency band of 10 kHz or less, since the restrictions on the output, carrier frequency, transmission speed, etc. according to the radio law and the like are relatively moderate and the signal attenuation is small, the distribution line transport technology using the low frequency band attracts attention. Is coming.
[0003]
On the other hand, OFDM, which is a type of multi-carrier modulation / demodulation system, uses a large number of subcarriers in which frequency intervals are set to (1 / effective symbol time interval), orthogonal between carriers, and there is no intersymbol interference. Allocating a low bit rate signal to the carrier to obtain a desired bit rate as a whole,
1) The length of the effective symbol (data that can be sent by one change of the modulation signal) can be lengthened.
2) By providing a guard interval (a period during which a part of a signal is repeatedly transmitted), the effect (ghost) of a delayed wave can be reduced.
3) high frequency utilization,
And so on.
For this reason, recently, OFDM is often applied as a modulation / demodulation method for information data even in distribution line conveyance.
[0004]
Here, FIG. 4 shows a relationship between a code string transmitted from the transmission side (encoded data obtained by encoding information data to be transmitted), a frequency spectrum of the OFDM signal, and decoding (reception code data) after demodulation by the reception side. Is shown.
In a multi-carrier modulation / demodulation system such as OFDM, if single noise (CW noise) is present, the transmission quality of subcarriers near the noise frequency is degraded. CW noise tends to occur when the load on the distribution line is a motor load such as a vacuum cleaner, and its spectrum also has a width. Further, when the frequency interval between subcarriers is extremely narrow as in OFDM, the transmission quality of several subcarriers is degraded by CW noise.
[0005]
In FIG. 4, each bit of the effective symbol constituting the encoded data is a1, a2,..., A10, b1, b2,..., B10, c1, c2,. And A5 corresponding to a5, B5 corresponding to b5, and C5 corresponding to c5 among the received code data after demodulation indicate that the error probability increases due to CW noise. ing.
[0006]
Here, well-known error correction coding and decoding techniques for correcting transmission errors will be described.
FIG. 5 shows a configuration of an M / N convolutional encoder that adds redundant bits to M-bit information data to generate N-bit coded data on the transmission side. This is an example of a 畳 convolutional encoder in which (= M / N) is 1 /.
In the figure, the information data X i to be inputted, X o is encoded data output to the transmission line, D 1, D 2 is delayer, 21, 22, and 23 exclusive (EX-OR) circuit , 31 are parallel / serial converters, and X i1 and X i2 are output data of exclusive OR circuits 21 and 23, respectively.
[0007]
When the states of the delay units D 1 and D 2 are (0, 0), (1, 0), (0, 1), and (1, 1) (for example, (0, 0), the delay unit D 1 is “ 0 ", the delay circuit D 2 is" indicating the state 0 "), each state is S 0, S 1, S 2 , S 3.
FIG. 6 is a state transition diagram showing the data X i1 and X i2 output from the exclusive OR circuits 21 and 23 when a transition from a certain state to a certain state occurs due to input of information data. For example, when X i = 0 is input in the initial state S 0 , the states of the delay units D 1 and D 2 are still (0, 0) (the state S 0 does not change), and the data X i1 , X i2 is outputted {00}, if X i = 1 in the initial state S 0 is input from the delay unit D 1, D 2 of the state changes to (1,0) (state S 0 transitions) since the state S 1, in that case as the data X i1, X i2 is output {11}.
[0008]
Therefore, when X i = { 0, 1, 0, 0, 1, 1, 1 } is sequentially input as information data to the 畳 convolutional encoder of FIG. 5, the state is S 0 → S 1 → S 2 → S 0 → S 1 → S 3 → S 3 and the data X i1 , X i2 are {00} → {11} → {10} → {11} → {11} → {01} →} Since it changes to 10 °, the encoded data that has passed through the parallel / serial converter 31 becomes X 0 = {00, 11, 10, 11, 11, 01, 10}.
[0009]
On the other hand, in decoding performed on the receiving side, error correction decoding that estimates received codes by comparing received code data with coded data that can be generated by a convolutional encoder, so-called Viterbi decoding, is used. Be executed.
Figure 7 is for explaining the principle of the Viterbi decoding by trellis diagram, the received code data X o received at time 1-8, for example {00,11,10,00,01,01, 11, 11}, these are successively compared with coded data that can be generated by the convolutional encoder, and a score of "1" is given when they match, and a score of "0" is given when they do not match. This score is referred to as a state determination element (metric), and the code that would have been transmitted is determined by determining the route of the state with the larger accumulated value of the metric, and the error in the received code data is corrected. Things.
[0010]
FIG. 8 is a partially enlarged view of FIG. On the decoding side, if it is known that the initial state of the encoder is S 0 , as described above, since the state can only transition to S 0 or S 1 from the state S 0 , the output data at that time is $ 00 {} Or {11}.
When comparing these output data for each bit and the received code data at time 1, since the output data {00} and received code data {00} to match 2 bits when transitioning from S 0 to S 0, “2” is given as a metric (accumulated value). Also, when transitioning from S 0 to S 1 , since the bit where output data {11} matches received code data {00} is 0, “0” is given as a metric (accumulated value).
[0011]
In this case, the accumulated value of the metric, since larger than "0" when the "2" when the transition to S 0 from S 0 transitions from S 0 to S 1, the S 0 is used as a status transition at time 1 transition to S 0 is selected and confirm. In FIG. 8, this is indicated by thick arrows.
[0012]
Next, when the received code data at the time 2 is assumed to be {11}, the same output data at the time of transition from the output data {00} and S 0 when the transition from S 0 to S 0 to S 1 { 11} is compared with the received code data {11}. As a result, at the time of transition from S 0 to S 0 , the bit where output data {00} matches received code data {11} is 0, so that the accumulated value of the metric is “2” as before, and since 0 when a transition to S 1 from the output data {11} and received code data {11} to match 2 bits, the accumulated value of the metric is "4 (= 2 + 2)".
Therefore, the cumulative value of the metric, since larger than "2" when "4" when the transition from S 0 to S 1 transitions from S 0 to S 1, the S 0 is used as a status transition at time 2 transition to S 1 is selected and confirm.
[0013]
Then, the received code data at the time 3 is assumed to be {10}, because the bit output data {10} and the received code data {10} are matched when transitioning from S 1 to S 2 is 2, The accumulated value of the metric becomes “6 (= 4 + 2)”, and when transitioning from S 1 to S 3 , the bit where output data {01} matches received code data {10} is 0, so that the metric accumulation The value is "4" as before.
Therefore, since the accumulated value of the metric is “6” at the time of transition from S 1 to S 2 is larger than “4” at the time of transition from S 1 to S 3 , the state transition at time 3 is from S 1 transition to S 2 is selected, is determined.
[0014]
As a result, at times 1 to 3, a state transition of S 0 → S 0 → S 1 → S 2 is estimated, and it can be seen that the encoded data output from the convolutional encoder during this period is {001110}. Therefore, in this example, there is no error in the received code data {001110} at times 1, 2, 3.
FIG. 7 described above estimates the accumulated values of data and metrics output in association with the state transition over time 1 to 8 for all possible state transitions in the convolutional encoder.
[0015]
In FIG. 7, large and small black circles indicate each state, large black circles are determined states, and small black circles are undetermined states. In addition, thick solid arrows, thin solid arrows, and dashed arrows connecting between the black circles in each state indicate all possible states transitions, in which the thick solid arrows indicate the determined state transitions and the thin solid lines indicate the possible transitions. An undetermined state transition is shown, and a broken-line arrow indicates a state transition that can be excluded because there is another state transition that has a larger metric accumulated value and is more reliable.
[0016]
In addition, the cumulative value of the metric described above and below each state indicated by a black circle indicates the cumulative value of the metric for each route when there are two original states that transit to that state, In particular, the numbers shown in the Gothic type indicate the larger of the upper and lower cumulative values (that is, the state transition that has reached the cumulative value of the Gothic type is more likely than the other state transition). When the upper and lower cumulative values are equal, it is determined in advance that, for example, a state transition route that has reached the upper cumulative value is selected.
[0017]
[Problems to be solved by the invention]
As described above, since a code affected by CW noise or the like on a transmission path has a high probability of being erroneous, it is necessary to perform error correction using the trellis diagram. The probability of correction increases, and as a result, the reliability of decoding and the transmission quality decrease.
[0018]
Here, FIG. 9 to FIG. 11 show that the coded data output from the convolutional encoder is {00, 11, 10, 00, 01, 01, 11, 11}, received code data by disturbance {00, 11, 0 0,00,01,01,11, 0 1}, and (are underlined) is wrong sign of the fifth bit and the 15th bit when 2 shows a trellis diagram of FIG. 9 shows a state until time 6, FIG. 10 shows a state until time 7, and FIG. 11 shows a state until time 8.
When a state transition is determined, the accumulated value of the metric in that state is forcibly set to 0. For example, although the metric accumulated value of state S 13 in FIG. 10 is "2", there as in FIG. 11, "0".
[0019]
Now, as shown in FIG. 11, assuming that the state transition of S 0 → S 0 → S 1 is determined at time 9, the candidates for the state transition from time 8 to time 9 are S a and S a b, S c, is S d. The states of the transition source at this time are S 08 , S 18 , and S 38 as shown in the figure.
In this case, transition from the state S 1 (S 13 ) at time 3 to S 2 (S 24 ) and S 3 (S 34 ) at time 4 can be considered, and the output data at that time is {10}, { 01}, and the metric cumulative values after the transition are all “1”. Further, as the state at time 4 to reach the above-described states S 08 , S 18 , and S 38 at time 8, any of S 2 (S 24 ) and S 3 (S 34 ) is possible (S 24). or from any of S 34, the solid line of route exists leading to one of S 08, S 18, S 38 ).
[0020]
That is, even to correct the received code time 3 {0 0}, or from the state S 13 to correct in accordance with the output data {10} according to a transition to S 24, or the output from the state S 13 according to the transition to S 34 Since there are two ways to correct according to the data {01}, the correction method is not uniquely determined, and as a result, the received code { 0 0} at time 3 may be erroneously corrected.
[0021]
Therefore, an object of the present invention is to provide an error correction decoding method which prevents such error correction in error correction decoding and improves reliability and transmission quality.
[0022]
[Means for Solving the Problems]
In order to solve the above problem, the invention according to claim 1 provides encoded data to be output according to an estimated state transition when Viterbi decoding is performed on encoded data transmitted according to a state transition of a convolutional encoder on a receiving side. An error correction decoding method for detecting an inconsistency between the received code data and the actual received code data and correcting an error in the received code data. An error correction decoding method for calculating a predetermined metric based on the coincidence and non-coincidence of, and estimating the state transition based on the accumulated value of the metric,
The weight of the metric of the bit of each bit of the received code data which is likely to cause an error in the received code data due to the disturbance of the transmission path is different from the weight of the metric of the other bits.
[0023]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
First, as shown in FIG. 4, in the present embodiment, a code error due to CW noise or the like, and furthermore, an erroneous correction of the error occurs in a specific subcarrier, in other words, a code error occurs in a specific bit of received encoded data. It focuses on doing. That is, in the example of FIG. 4, the fifth, fifteenth, and twenty-fifth bits of the code string including a1, a2,..., A10, b1, b2,. There is a high probability that there is a code error, and in the above-described conventional error correction decoding, there is a high probability that erroneous correction is performed on each of these bits.
[0024]
Therefore, in the present embodiment, the metric of a specific bit in the received code data that is likely to cause an error as described above (the metric of the output data of the state transition corresponding to the bit) is weighted. Then, in the weighting, a small weight W (W <1) is set so that the cumulative value of the metric eventually becomes small.
In other words, when the output data due to the state transition matches the received code data, "1" is conventionally given as a metric, whereas in this embodiment, the metric is set to "0" (weight W = 0). are doing. The numerical value of the weight W is not limited to 0, but may be any numerical value of 1 or less.
[0025]
Here, in FIGS. 1 to 3, the encoded data output from the convolutional encoder is {00, 11, 10, 00, 01, 01, 11, 11} as in FIGS. 9 to 11. despite, CW received code data due to disturbance such as noise is {00, 11, 0 0,00,01,01,11, 0 1} is a trellis diagram in the case where a.
1 shows the state until time 6, FIG. 2 shows the state until time 7, and FIG. 3 shows the state until time 8.
[0026]
Also in this case, since the code of the fifth bit and the fifteenth bit of the entire received code data is likely to be wrong, if the metric of the bit of the output data of the state transition is set to “0” by weighting, The accumulated value of the subsequent metrics becomes smaller. Accordingly, the possibility that a route that finally passes through the state is finally selected is reduced, and as a result, the possibility that an error is erroneously corrected can be reduced.
[0027]
For example, the change from FIG. 2 to FIG. 3 in the present embodiment corresponds to the change from FIG. 10 to FIG. 11 described above. In this embodiment, the metric of the 5th and 15th bits is “0”. (In FIG. 2 and FIG. 3, the output data of the 5th and 15th bits are surrounded by squares.)
Therefore, per the state S 13 at time 3 in FIG. 3 to transition to S 24, S 34, each of the output data (fifth bit corresponds to the sixth bit) is {10}, is a {01} Since the metric of the fifth bit is set to “0”, only {0} and {1} corresponding to the sixth bit are compared with {0} of the sixth bit of the received code data.
[0028]
Therefore, in the route from the state S 13 to S 24, since the {0} of 6 bit of the received code data and output data {0} of 6 bit match, "1" is given as a cumulative value of the metric Can be Note that the metric of the state S 13 is a transition source is set to 0 as in FIG 11. Further, in the route from the state S 13 to S 34, since the {0} of 6 bit of the received code data and the sixth bit of the output data {1} do not coincide, "0" is given as a cumulative value of the metric Can be
[0029]
Therefore, metric large state transition after the transition, i.e. will be route from S 13 to S 24 is selected, the output data of the convolutional encoder is assumed to be {10}. Therefore, the received code data { 0 0} at time 3 can be uniquely corrected to {10}, and {0} of the fifth bit of the entire received code data is corrected to {1}.
In contrast, there is a possibility that any of the state S 13 in the example of FIG. 11 from the root and the state S 13 leading to S 24 routes leading to S 34 is selected, the output data corresponding to each route {10}, Since the correction content of the reception code data at time 3 differs according to {01}, error correction is not uniquely determined and may cause erroneous correction. In the present embodiment, such inconvenience may occur. There is no.
[0030]
If the CW noise or the like is eliminated, the code error disappears. If the code error disappears in the decoding process, the weight of the metric such as the fifth bit and the fifteenth bit is increased (for example, the weight is increased). (If W = 1).
In addition, if there is a possibility that the code is incorrect before and after the noise frequency, it is effective to make the weight of the metric of a plurality of continuous bits smaller than other bits.
Furthermore, when estimating a state transition by finally selecting a route having a smaller metric accumulated value, if the weight of the metric of a bit in which a code error may occur is made larger than the other bits, good.
[0031]
【The invention's effect】
As described above, according to the present invention, when a multi-carrier modulation / demodulation scheme such as OFDM is used for distribution line conveyance, it is possible to prevent erroneous correction of codes due to disturbance such as CW noise, and to improve reliability. Improvement and transmission quality can be achieved.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of Viterbi decoding using a trellis diagram in an embodiment of the present invention.
FIG. 2 is an explanatory diagram of Viterbi decoding using a trellis diagram in the embodiment of the present invention.
FIG. 3 is an explanatory diagram of Viterbi decoding using a trellis diagram in the embodiment of the present invention.
FIG. 4 is a diagram showing a relationship between a code string to be transmitted, a frequency spectrum of an OFDM signal, and decoding in the OFDM modulation / demodulation method.
FIG. 5 is a configuration diagram of a 1/2 convolutional encoder.
FIG. 6 is a state transition diagram in FIG.
FIG. 7 is an explanatory diagram of Viterbi decoding based on a trellis diagram.
FIG. 8 is a partially enlarged view of FIG. 7;
FIG. 9 is an explanatory diagram of Viterbi decoding based on a trellis diagram when a metric has no weight.
FIG. 10 is an explanatory diagram of Viterbi decoding based on a trellis diagram when a metric has no weight.
FIG. 11 is an explanatory diagram of Viterbi decoding based on a trellis diagram when a metric has no weight.
[Explanation of symbols]
21-23 Exclusive OR Circuit 31 Parallel / Serial Converter