JPH04278727A - Error correction method and audio decoding and arq transmission methods using said method - Google Patents

Error correction method and audio decoding and arq transmission methods using said method

Info

Publication number
JPH04278727A
JPH04278727A JP4171491A JP4171491A JPH04278727A JP H04278727 A JPH04278727 A JP H04278727A JP 4171491 A JP4171491 A JP 4171491A JP 4171491 A JP4171491 A JP 4171491A JP H04278727 A JPH04278727 A JP H04278727A
Authority
JP
Japan
Prior art keywords
error correction
information
bits
bit pattern
information bits
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
JP4171491A
Other languages
Japanese (ja)
Inventor
Osamu Kato
加 藤 修
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4171491A priority Critical patent/JPH04278727A/en
Publication of JPH04278727A publication Critical patent/JPH04278727A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To reproduce more powerful data of high reliability by using not only redundancy obtained by error correction code encoding but also redundance of an information source itself to decode the error correction code. CONSTITUTION:An error correction code word consisting of k information bits and a check bit is received. Information bits has 2<k> kinds of bit pattern. A probability qi(i=1,2 to 2<k>) that each information bit pattern is sent is obtained in accordance with an error correction code encoding rule and the reception error correction code word. A probability pi(i=1,2 to 2<k>) that each information bit pattern is generated on the transmission side is obtained in accordance with the property of the information source and reception information bit pattens before the preceding frame. The place (i) which gives a maximum value max(pi.qi) of products of propabilities pi and qi is obtained. The information bit pattern corresponding to the obtained place (i) is determined and stored to decode the error correction code.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ディジタル自動車電話
等の伝送装置に使用する誤り訂正方法とそれを用いた音
声復号方法およびARQ伝送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction method used in a transmission device such as a digital car telephone, and a voice decoding method and ARQ transmission method using the error correction method.

【0002】0002

【従来の技術】図4は従来のこの種の伝送装置の受信側
における誤り訂正方法のアルゴリズムを示している。図
4において、まずステップ41で送信側から送られてき
た情報ビット(ビット数をkビットとする)と検査ビッ
トからなる誤り訂正符号語を受信する。検査ビットは情
報ビットに対してある誤り訂正符号化の規則を満足する
ように付加されるビットであり、伝送路においてあるビ
ット数以下のビット誤りが生じてもそれを受信側におい
て正しく訂正し、正しい情報ビットを再生することを可
能にするためのものである。情報ビットはkビットであ
るので、情報ビットのビットパタン(ビットの組合せ)
は全部で2k 通り存在する。
2. Description of the Related Art FIG. 4 shows an algorithm for an error correction method on the receiving side of a conventional transmission apparatus of this type. In FIG. 4, first, in step 41, an error correction code word consisting of information bits (the number of bits is k bits) and check bits sent from the transmitting side is received. Check bits are bits added to information bits so that they satisfy certain error correction coding rules, and even if a bit error of a certain number or less occurs in the transmission path, it can be corrected correctly on the receiving side. This is to make it possible to reproduce the correct information bits. Since the information bits are k bits, the bit pattern (combination of bits) of the information bits
There are a total of 2k ways.

【0003】次に各情報ビットパタンに対して一意的に
決まる検査ビットを付加した各誤り訂正符号語(2k 
通り存在)と、受信した誤り訂正符号語とのビットパタ
ンの違いから、すなわち何ビット異なるかにより、各情
報ビットパタンが送出されたであろう確率qi (i=
1,2,3・・・2k ;iは情報ビットパタンの番号
を表す)をステップ42において算出し、次いでステッ
プ43でその最大値を与える情報ビットパタンを求め、
さらにステップ44で情報ビットパタンの決定を行なう
Next, each error correction code word (2k
The probability that each information bit pattern would have been transmitted qi (i=
1, 2, 3...2k; i represents the number of the information bit pattern) is calculated in step 42, and then in step 43 the information bit pattern that gives the maximum value is determined,
Further, in step 44, an information bit pattern is determined.

【0004】実際には、ステップ43においてqi の
最大値を与えるiを求めればよいので、ステップ42に
おいてqi の正確な値を求める必要はなく、受信した
誤り訂正符号語と最もハミング距離の短い誤り訂正符号
語を与える情報ビットパタンがどれであるかさえ求めれ
ばよい。一般にはステップ42,43および44の操作
は、誤り訂正符号の種類に応じた誤り訂正復号アルゴリ
ズムを用いて一度に行なわれる。
In reality, it is sufficient to find i that gives the maximum value of qi in step 43, so there is no need to find the exact value of qi in step 42, and the received error correction code word and the error with the shortest Hamming distance are All that is needed is to determine which information bit pattern provides the correction code word. Generally, operations in steps 42, 43 and 44 are performed at once using an error correction decoding algorithm depending on the type of error correction code.

【0005】このように、上記従来の誤り訂正方法でも
、情報ビットに検査ビットが付加されたことによる誤り
訂正符号語の冗長度を利用して、伝送路において生じる
ビット誤りをある程度までは正しく訂正することができ
る。
[0005] In this way, even in the conventional error correction method described above, bit errors occurring in the transmission path can be correctly corrected to a certain extent by utilizing the redundancy of the error correction code word due to the addition of check bits to the information bits. can do.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の誤り訂正方法では、情報ビット(kビット)の各情
報ビットパタンの生起確率は、情報源としての性質や前
フレームの情報ビットパタンと現フレームの情報ビット
パタンの相関により一様ではなく、各情報ビットパタン
の生起確率の違いを誤り訂正において利用していないた
め、検査ビットの付加による冗長度のみを利用した誤り
訂正方法となっており、伝送路のビット誤り率が高い場
合には正しい誤り訂正が行なわれない確率が高いという
問題があった。
However, in the above-mentioned conventional error correction method, the probability of occurrence of each information bit pattern of information bits (k bits) depends on the characteristics of the information source and the information bit pattern of the previous frame and the current frame. Because the information bit patterns are not uniform due to their correlation, and the difference in the probability of occurrence of each information bit pattern is not used in error correction, the error correction method uses only redundancy by adding check bits. There is a problem in that when the bit error rate of the transmission path is high, there is a high probability that correct error correction will not be performed.

【0007】本発明は、このような従来の問題を解決す
るものであり、情報源自体の持つ冗長度、すなわち各情
報ビットパタンの生起確率の違いを、誤り訂正符号化に
より得られる冗長度と合わせて利用することにより、よ
り強力な誤り訂正が行なえるようにした誤り訂正方法と
それを用いた音声復号方法およびARQ伝送方法を提供
することを目的とするものである。
[0007] The present invention solves such conventional problems by comparing the redundancy of the information source itself, that is, the difference in the probability of occurrence of each information bit pattern, with the redundancy obtained by error correction coding. It is an object of the present invention to provide an error correction method that can perform more powerful error correction when used together, and an audio decoding method and an ARQ transmission method using the same.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、受信側での誤り訂正復号において、誤り
訂正符号化による冗長度に加えて、情報源自体の持って
いる冗長度を利用して誤り訂正復号を行なうようにした
ものである。
[Means for Solving the Problems] In order to achieve the above object, the present invention, in error correction decoding on the receiving side, uses the redundancy of the information source itself in addition to the redundancy due to error correction coding. Error correction decoding is performed using the .

【0009】[0009]

【作用】したがって、本発明によれば、誤り訂正符号化
による冗長度に加えて、情報源自体の持っている冗長度
を誤り訂正復号に利用することにより、より強力で高信
頼性を有する誤り訂正方法を実現することができるとい
う効果を有する。
[Operation] Therefore, according to the present invention, by utilizing the redundancy of the information source itself for error correction decoding in addition to the redundancy due to error correction coding, the error correction is more powerful and reliable. This has the effect that a correction method can be realized.

【0010】0010

【実施例】図1は本発明の第1の実施例における誤り訂
正方法のアルゴリズムを示している。図1において、ま
ずステップ11で送信側から送られてきた情報ビット(
ビット数をkビットとする)と検査ビットからなる誤り
訂正符号語を受信する。情報ビットはkビットであるの
で、情報ビットのビットパタン(ビットの組み合せ)は
全部で2k 通り存在する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an algorithm for an error correction method in a first embodiment of the present invention. In FIG. 1, first, in step 11, the information bit (
An error correction codeword consisting of a check bit and a check bit is received. Since there are k bits of information bits, there are a total of 2k bit patterns (combinations of bits) of the information bits.

【0011】次に各情報ビットパタンに対して一意的に
決まる検査ビットを付加した各誤り訂正符号語(2k 
通り存在)と、受信した誤り訂正符号語とのビットパタ
ンの違いから、すなわち何ビット異なるかにより、各情
報ビットパタンが送出されたであろう確率qi(i=1
,2,3・・・2k ;iは情報ビットパタンの番号を
表す。)をステップ12において算出する。
Next, each error correction code word (2k
The probability that each information bit pattern would have been transmitted qi (i = 1
, 2, 3...2k; i represents the number of the information bit pattern. ) is calculated in step 12.

【0012】次に情報源の性質(音声信号やFAX信号
等、各情報源はそれぞれ特有の情報ビット発生の性質を
持っている。)や、前フレームの情報ビットパタンと現
フレームの情報ビットパタンの相関関係から、現フレー
ムの情報ビットパタンとしては2k 通りの各情報ビッ
トパタンがどのぐらいの確率で生起すべきかの生起確率
pi (i=1,2,3・・・2k ;iは情報ビット
パタンの番号を表す。)をステップ13において算出す
る。
Next, the characteristics of the information source (each information source, such as an audio signal or a fax signal, has its own characteristics of generating information bits), and the information bit pattern of the previous frame and the information bit pattern of the current frame. Based on the correlation between ) is calculated in step 13.

【0013】次にステップ14において、ステップ12
,13でそれぞれ算出したpi とqi の積pi ・
qi (i=1,2,3・・・2k )を求め、その中
でpi ・qi の最大値max(pi ・qi )を
与えるiを求める。
Next, in step 14, step 12
, 13, the product of pi and qi is pi ・
Find qi (i=1, 2, 3...2k), and find i that gives the maximum value max(pi.qi) of pi.qi.

【0014】そしてiが求められたら、ステップ15に
おいて、そのiに対応する情報ビットパタンの決定と記
憶を行なう。記憶された情報ビットパタンは、ステップ
13のpi (i=1,2,3・・・2k )を次フレ
ームの情報ビットパタンに対して求めるためのパラメー
タとして利用される。
Once i is determined, in step 15, the information bit pattern corresponding to i is determined and stored. The stored information bit pattern is used as a parameter for determining pi (i=1, 2, 3...2k) in step 13 for the information bit pattern of the next frame.

【0015】このように上記第1の実施例における誤り
訂正方法によれば、誤り訂正符号化により得られる冗長
度に加えて、情報源自体が持っている冗長度を利用した
誤り訂正が可能であり、より強力な誤り訂正を行なうこ
とができる。
[0015] As described above, according to the error correction method in the first embodiment, in addition to the redundancy obtained by error correction encoding, error correction can be performed using the redundancy possessed by the information source itself. Yes, more powerful error correction can be performed.

【0016】なお、この誤り訂正方法は、情報源が音声
信号やFAX信号のように、情報ビットパタンの生起確
率に偏りがあり、前フレームとの相関も比較的高いよう
な場合に特に有効である。
Note that this error correction method is particularly effective when the information source is a voice signal or a fax signal, where the probability of occurrence of information bit patterns is biased and the correlation with the previous frame is relatively high. be.

【0017】図2は図1の誤り訂正方法を用いた本発明
の第2実施例である音声復号方法を示している。ステッ
プ21〜25は図1のステップ11〜15と同じであり
、同様な誤り訂正方法によりpi ・qi の最大値m
ax(pi ・qi )を与えるiを求める操作を表す
。次にステップ26において、そのpi ・qi の最
大値max(pi ・qi )があらかじめ定めたしき
い値ε(0<ε≦1)に満たない場合には、現フレーム
の情報ビットパタンはビット誤りが残留している確率が
高いと考えて、ステップ27の通常の音声復号出力を行
なわずに、ステップ28の前フレームの情報ビットパタ
ンを用いて補間等により音声復号出力を行なうようにし
ている。
FIG. 2 shows a second embodiment of the audio decoding method of the present invention using the error correction method of FIG. Steps 21 to 25 are the same as steps 11 to 15 in FIG.
Represents an operation to obtain i that gives ax(pi qi ). Next, in step 26, if the maximum value max(pi ・qi) of pi ・qi is less than the predetermined threshold ε (0<ε≦1), the information bit pattern of the current frame has a bit error. Considering that there is a high probability that there remains, the normal audio decoded output in step 27 is not performed, but the audio decoded output is performed in step 28 by interpolation or the like using the information bit pattern of the previous frame.

【0018】このように、上記第2の実施例における音
声復号方法によれば、ビット誤りが残留しているフレー
ムの情報ビットパタンをそのまま音声復号出力して異音
を出力してしまうような確率を低減することができる。
As described above, according to the audio decoding method in the second embodiment, the probability that the information bit pattern of a frame in which a bit error remains remains is decoded and output as is, resulting in an abnormal sound being output. can be reduced.

【0019】図3は図1の誤り訂正方法を用いた本発明
の第3の実施例であるARQ(自動再送要求)伝送方法
を示している。ステップ31〜35は図1のステップ1
1〜15と同じであり、同様な誤り訂正方法により、p
i ・qi の最大値max(pi ・qi )を与え
るiを求める操作を表す。次にステップ36において、
そのpi ・qi の最大値max(pi ・qi )
があらかじめ定めたしきい値(0<ε≦1)を満たさな
い場合には、現フレームの情報ビットパタンはビット誤
りが残留している確率が高いと考えて、ステップ37の
現フレームの情報ビットパタンをそのまま出力すること
を行なわずに、ステップ38の現フレームの情報ビット
パタンの再送要求を行なうようにしている。
FIG. 3 shows an ARQ (Automatic Repeat Request) transmission method, which is a third embodiment of the present invention, using the error correction method of FIG. Steps 31 to 35 are Step 1 in Figure 1
1 to 15, and by using the same error correction method, p
It represents an operation to find i that gives the maximum value max(pi ・qi ) of i ・qi . Next, in step 36,
The maximum value max(pi ・qi) of that pi ・qi
does not satisfy the predetermined threshold (0<ε≦1), it is assumed that there is a high probability that bit errors remain in the information bit pattern of the current frame, and the information bit pattern of the current frame is changed in step 37. Instead of outputting the pattern as it is, a request for retransmission of the information bit pattern of the current frame is made in step 38.

【0020】このように、上記第3の実施例におけるA
RQ伝送方法によればビット誤りが残留しているフレー
ムの情報ビットをそのまま受信データ信号として用いて
しまう確率を低減することができる。
[0020] In this way, A in the above third embodiment
According to the RQ transmission method, it is possible to reduce the probability that information bits of a frame in which bit errors remain are used as received data signals as they are.

【0021】なお、図1、図2および図3において、p
i ・qiの最大値max(pi ・qi )を求めて
いるが、kが大きな値になると2k 通りのpi およ
びqi をすべて求めるための演算規模が非常に大きく
なるので、i=1,2,3・・・2k の全てに対して
pi およびqi を求める代わりに、pi の値の大
きな順にいくつかを与えるiと、qi の値の大きな順
にいくつかを与えるiを求め、両方ともに存在するiの
中でpi ・qi の最大値max(pi ・qi )
を与えるiを、求めるべきiとするような準最適な方法
を採用してもよい。
[0021] In FIGS. 1, 2 and 3, p
The maximum value max(pi ・qi) of i ・qi is calculated, but if k becomes a large value, the scale of calculation to obtain all 2k ways of pi and qi becomes very large, so i=1, 2, 3...Instead of finding pi and qi for all of 2k, we find i that gives some of the values of pi in descending order and i that gives some of the values of qi in order of descending order, and find i that both exist. The maximum value of pi ・qi max(pi ・qi )
A quasi-optimal method may be adopted in which i that gives the value i is set as the i to be found.

【0022】[0022]

【発明の効果】本発明は、上記各実施例から明らかなよ
うに、誤り訂正符号化により得られる冗長度に加えて、
情報源自体の持っている冗長度をも利用して、受信側に
おける誤り訂正復号を行なうので、より強力で高信頼な
誤り訂正方法とそれを用いた音声復号方法およびARQ
伝送方法を実現することができる。
[Effects of the Invention] As is clear from the above embodiments, the present invention provides, in addition to the redundancy obtained by error correction coding,
Since error correction decoding is performed on the receiving side by also utilizing the redundancy of the information source itself, a more powerful and reliable error correction method, an audio decoding method using it, and ARQ are possible.
A transmission method can be realized.

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

【図1】本発明の第1の実施例における誤り訂正方法の
アルゴリズムを示すフローチャート
FIG. 1 is a flowchart showing an algorithm of an error correction method in a first embodiment of the present invention.

【図2】本発明の第2の実施例を示す図1の誤り訂正方
法を用いた音声復号方法のフローチャート
FIG. 2 is a flowchart of a speech decoding method using the error correction method of FIG. 1, showing a second embodiment of the present invention.

【図3】本発
明の第3の実施例を示す図1の誤り訂正方法を用いたA
RQ伝送方法のフローチャート
FIG. 3 shows a third embodiment of the present invention using the error correction method of FIG.
Flowchart of RQ transmission method

【図4】従来の誤り訂正
方法のアルゴリズムを示すフローチャート
[Figure 4] Flowchart showing the algorithm of a conventional error correction method

【符号の説明】 k  情報ビットのビット数 i  情報ビットパタンの番号 qi   誤り訂正符号化規則と受信誤り訂正符号語か
ら求められる各情報ビットパタンが送出されたであろう
確率pi   情報源の性質および前フレーム以前の受
信情報ビットパタンから求められる各情報ビットパタン
が送信側で生起したであろう確率
[Description of codes] k Number of information bits i Number of information bit patterns qi Probability that each information bit pattern would have been transmitted, determined from the error correction coding rule and the received error correction code word, Pi Characteristics of the information source and Probability that each information bit pattern would have occurred on the transmitting side, determined from the received information bit pattern before the previous frame

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  1フレーム当たりkビットの情報ビッ
トに検査ビットを付加した誤り訂正符号語を受信して誤
り訂正復号する際に、2k 通りの情報ビットパタンの
うち、前フレーム以前の受信情報ビットパタンおよび送
信情報の性質から決定される各情報ビットパタンの生起
確率pi (i=1,2,3・・・2k )と、受信符
号語ビットパタンと回線ビットエラー率により決定され
る各情報ビットパタンの送出された確率qi (i=1
,2,3・・・2k )との積pi ・qi が最大と
なる情報ビットパタンに復号するようにした誤り訂正方
法。
Claim 1: When receiving and error-correcting decoding an error correction code word in which check bits are added to k bits of information bits per frame, among the 2k information bit patterns, received information bits from previous frames are The probability of occurrence pi (i=1, 2, 3...2k) of each information bit pattern determined from the pattern and the nature of the transmitted information, and each information bit determined from the received code word bit pattern and line bit error rate. The probability that the pattern was sent qi (i=1
.
【請求項2】  伝送すべき情報が高能率符号化ディジ
タル音声信号の場合に、pi ・qi の最大値がある
値に満たない場合にはそのフレームの情報ビットを音声
復号するのでなく、前フレームの情報ビットも利用して
音声復号処理を行なうようにした請求項1記載の誤り訂
正方法を用いた音声復号方法。
[Claim 2] When the information to be transmitted is a highly efficient encoded digital audio signal, if the maximum value of pi qi is less than a certain value, the information bits of the frame are not audio decoded, but the information bits of the previous frame are decoded. 2. A speech decoding method using the error correction method according to claim 1, wherein said information bits are also used to perform speech decoding processing.
【請求項3】  受信側で得た情報ビットにビット誤り
があることが検出された場合に送信側にその情報ビット
の再送を要求できるARQ伝送システムにおいて、pi
 ・qi の最大値がある値に満たない場合に再送を要
求するようにした請求項1記載の誤り訂正方法を用いた
ARQ伝送方法。
3. In an ARQ transmission system that can request the transmitting side to retransmit the information bits when a bit error is detected in the information bits obtained by the receiving side,
- An ARQ transmission method using the error correction method according to claim 1, wherein retransmission is requested when the maximum value of qi is less than a certain value.
JP4171491A 1991-03-07 1991-03-07 Error correction method and audio decoding and arq transmission methods using said method Pending JPH04278727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4171491A JPH04278727A (en) 1991-03-07 1991-03-07 Error correction method and audio decoding and arq transmission methods using said method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4171491A JPH04278727A (en) 1991-03-07 1991-03-07 Error correction method and audio decoding and arq transmission methods using said method

Publications (1)

Publication Number Publication Date
JPH04278727A true JPH04278727A (en) 1992-10-05

Family

ID=12616092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4171491A Pending JPH04278727A (en) 1991-03-07 1991-03-07 Error correction method and audio decoding and arq transmission methods using said method

Country Status (1)

Country Link
JP (1) JPH04278727A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011176825A (en) * 2010-02-25 2011-09-08 Samsung Electronics Co Ltd Memory system and data processing method of the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011176825A (en) * 2010-02-25 2011-09-08 Samsung Electronics Co Ltd Memory system and data processing method of the same

Similar Documents

Publication Publication Date Title
US4802171A (en) Method for error correction in digitally encoded speech
US5255343A (en) Method for detecting and masking bad frames in coded speech signals
JP3860218B2 (en) A coding scheme for digital communication systems.
US5923679A (en) Error correction encoder, error correction decoder, and communication system
US6044482A (en) Digital transmission system for encoding and decoding attribute data into error checking symbols of main data
WO1995016315A1 (en) Soft error correction in a tdma radio system
US7584399B2 (en) Apparatus and method for transmitting and receiving a signal in a communication system
JP5150739B2 (en) Transmission system with adaptive channel encoder and decoder
JPH10327089A (en) Portable telephone set
JP3545623B2 (en) Decryption method
US5341384A (en) Error detection method using CRC
CN112769436A (en) Encoder, decoder, encoding method, and decoding method
JPH04278727A (en) Error correction method and audio decoding and arq transmission methods using said method
US6357031B1 (en) Serial data transmission apparatus and method with a data checking feature
JP3003277B2 (en) Digital data communication method and apparatus
JPH10290216A (en) Method for error-correction decoding and device therefor
JP3281202B2 (en) Error control system
JP3287543B2 (en) Error correction encoding method and decoding method
JP2001308711A (en) Encoding method and decoding method of control information, and transmitter and receiver of control information
JPH0724399B2 (en) Signal transmission method
JP2796190B2 (en) VOX control method
JP2002208913A (en) Reliability setting system for error-correction decoded information
JPH08293801A (en) Method and device for controlling error of digital information
JP2000244460A (en) Transmission line error code addition and detecting device
RU2021126527A (en) DECODER AND METHOD OF DECODING WITH SELECTION OF ERRORS HIDDEN MODE, AS WELL AS ENCODER AND METHOD OF ENCODING