JPH0429415A - Sound encoding/decoding device - Google Patents

Sound encoding/decoding device

Info

Publication number
JPH0429415A
JPH0429415A JP13337190A JP13337190A JPH0429415A JP H0429415 A JPH0429415 A JP H0429415A JP 13337190 A JP13337190 A JP 13337190A JP 13337190 A JP13337190 A JP 13337190A JP H0429415 A JPH0429415 A JP H0429415A
Authority
JP
Japan
Prior art keywords
data
viterbi
audio
voice
sound
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
JP13337190A
Other languages
Japanese (ja)
Inventor
Nobuo Asano
浅野 延夫
Kazuyuki Miya
和行 宮
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 JP13337190A priority Critical patent/JPH0429415A/en
Publication of JPH0429415A publication Critical patent/JPH0429415A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To suppress the increment of the amount of transmission data by deciding the possibility of the error of decode data based on metric information when performing Viterbi decoding, outputting a frame interpolation request signal when the possibility of the error is high, and performing the interpolation of a frame at a sound decoder part. CONSTITUTION:Sound 30, after being sound-encoded by a sound encoder part 21, is convolution-encoded by a convolution encoder part 22, and is outputted as the transmission data 33. Reception data 34, after being demodulated by a demodulation part 24, is Viterbi decoded by a Viterbi decoder part 25, and when it is decided that the error is generated in Viterbi decode data at an interpolation decision part 26, the frame interpolation request signal 37 is outputted to the Viterbi decoder part 25 and a sound decoder part 37, and the interpolation of the frame is performed at a sound decoder part 27 by interpolation algorithm decided in advance without using the reception sound encode data 38 of the frame, then, sound 39 is outputted.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディジタル通信に利用する音声符号復号装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a voice code/decoder used in digital communications.

従来の技術 第2図は従来の音声符号復号装置の構成を示している。Conventional technology FIG. 2 shows the configuration of a conventional speech code/decoder.

なお、図中上段に送信部を示し、下段に受信部を示して
いる。
Note that the transmitting section is shown in the upper part of the figure, and the receiving part is shown in the lower part.

送信部において、1は音声符号化部であり、音声10を
数十118のフレームに区切って音声符号化し、音声符
号化データ11を出力する。2はパリティ付加部であり
、音声符号化データ11にパリティを付加してパリティ
付き音声符号化データ12を出力する。3はたたみ込み
符号化部であり、パリティ付き音声符号化データ12を
たたみ込み符号化してたたみ込み符号化データ13を出
力する。4は変調部であり、たたみ込み符号化データ1
3を変調し送信データ14として受信部に送信する。
In the transmitting section, 1 is an audio encoding section, which divides the audio 10 into several tens of 118 frames, encodes the audio, and outputs audio encoded data 11. 2 is a parity adding section which adds parity to the encoded audio data 11 and outputs the encoded audio data 12 with parity. 3 is a convolutional encoding unit, which convolutionally encodes the audio encoded data 12 with parity and outputs convolutionally encoded data 13; 4 is a modulation unit, and convolutional encoded data 1
3 is modulated and transmitted as transmission data 14 to the receiving section.

受信部において、5は復調部であり、送信部から受信し
た受信データ15を復調して復調データ16を出力する
。6はビタビ復号化部であり、復調データ16をビタビ
アルゴリズムにより復号化してビタビ符号化データ17
を出力する。7は誤り検出部であり、ビタビ復号化デー
タ17をパリティチエツクする。このビタビ復号化デー
タ17が正しい場合には受信音声符号化データ18とし
て出力し、ビタビ復号化データ17に誤りを検出した場
合にフレーム補間要求信号19を出力する。8は音声復
号化部であり、誤り検出部7においてフレーム補間要求
信号19が出力されない場合に受信音声符号化データ1
8を復号化して音声20を出力し、誤り検出部7におい
てフレーム補間要求信号19が出力された場合にそのフ
レームの受信音声符号化データ18を用いず予め設定さ
れた補間アルゴリズムによりそのフレームの補間を行な
って音声20を出力する。
In the receiving section, 5 is a demodulating section, which demodulates the received data 15 received from the transmitting section and outputs demodulated data 16. 6 is a Viterbi decoding unit, which decodes the demodulated data 16 using the Viterbi algorithm and generates Viterbi encoded data 17.
Output. 7 is an error detection unit which checks the parity of the Viterbi decoded data 17; If this Viterbi decoded data 17 is correct, it is output as received audio encoded data 18, and if an error is detected in the Viterbi decoded data 17, a frame interpolation request signal 19 is output. Reference numeral 8 denotes an audio decoding unit, which decodes the received audio encoded data 1 when the error detection unit 7 does not output the frame interpolation request signal 19.
8 is decoded and audio 20 is output, and when the frame interpolation request signal 19 is output in the error detection unit 7, that frame is interpolated by a preset interpolation algorithm without using the received audio encoded data 18 of that frame. is performed and the audio 20 is output.

二のように、従来の音声符号復号装置では、送信部にお
いて、音声10をフレームに区切って音声符号化したデ
ータ11にパリティを付加し、これをたたみ込み符号化
して送信し、受信部において、受信データ15を復調し
た後、ビタビ復号化し、誤り検出部7によりビタビ復号
化データ17に誤りを検出した場合にフレーム補間要求
信号19を出力することにより、音声復号化部8でフレ
ーム補間を行い、誤ったデータの復号化による聴感上耐
え難い音を出力しないようになっている。
As shown in 2, in the conventional audio encoding/decoding device, the transmitting section divides the audio 10 into frames and adds parity to the audio encoded data 11, convolutionally encodes this and transmits it, and the receiving section After demodulating the received data 15, the received data 15 is Viterbi-decoded, and when the error detection unit 7 detects an error in the Viterbi-decoded data 17, a frame interpolation request signal 19 is output, so that the audio decoding unit 8 performs frame interpolation. This prevents the output of aurally unbearable sound due to incorrect data decoding.

発明が解決しようとする課題 しかしながら、前記従来の音声符号復号装置では、前述
したように、音声符号化データ11にパリティを付加し
、パリティ付き音声符号化データ12をたたみ込み符号
化して送信するため、送信データ14のデータ量が多(
なるという問題がある。
Problems to be Solved by the Invention However, as described above, in the conventional audio encoding/decoding device, parity is added to the audio encoded data 11, and the audio encoded data 12 with parity is convolutionally encoded and transmitted. , the amount of transmitted data 14 is large (
There is a problem with becoming.

本発明はこのような従来の問題を解決するものであり、
音声符号化データにパリティを付加しないことによりデ
ータ量の増加を抑えて送信し、受信部において受信した
音声符号化データに誤りがある場合にそのフレームを補
間して音声出力することのできる優れた音声符号復号装
置を提供することを目的とする。
The present invention solves these conventional problems,
By not adding parity to audio encoded data, it is transmitted while suppressing the increase in data amount, and if there is an error in the received audio encoded data at the receiver, the frame can be interpolated and output as audio. The purpose of the present invention is to provide a speech code/decoding device.

課題を解決するための手段 本発明は前記目的を達成するために、送信部に、音声を
フレームに区切って音声符号化する音声符号化部と、音
声符号化部からの音声符号化データをたたみ込み符号化
するたたみ込み符号化部と、たたみ込み符号化部からの
たたみ込み符号化データをE調して送信する変調部とを
備え、受信部に、送信部からの受信データを復調する復
調部と、復調部からの復調データをビタビ復号化するビ
タビ復号化部と、ビタビ復号化部からのビタビ復号化デ
ータを復号する音声復号化部と、ビタビ復号時における
メトリック情報に基づいて復号化データが誤っている可
能性を判定しその可能性の大きい場合に音声復号化部に
フレーム補間要求信号を出力するフレーム補間判定部と
を備えたものである。
Means for Solving the Problems In order to achieve the above-mentioned object, the present invention includes a transmitting section that includes a voice encoding section that divides the voice into frames and encodes the voice, and a voice encoding section that folds the voice encoded data from the voice encoding section. The receiver includes a convolutional encoder that performs convolutional encoding, a modulator that modulates the convolutionally encoded data from the convolutional encoder and transmits the E-modulated data, and a demodulator that demodulates the received data from the transmitter. a Viterbi decoding unit that Viterbi decodes the demodulated data from the demodulation unit, an audio decoding unit that decodes the Viterbi decoded data from the Viterbi decoding unit, and decoding based on metric information at the time of Viterbi decoding. The apparatus includes a frame interpolation determining section that determines the possibility that the data is erroneous and outputs a frame interpolation request signal to the audio decoding section when the possibility is high.

作用 本発明は前記のような構成により次のような作用を有す
る。送信部において、音声を音声符号化し、たたみ込み
符号化した後、これを変調して送信する。すなわち、送
信データにパリティを付加せずに送信する。受信部にお
いて、受信データを復調した後、ビタビ復号化し、二の
ビタビ復号時におけるメトリック情報に基づいて復号化
データの誤りの可能性を判定し、誤りの可能性が大きい
ときにはフレーム補間要求信号を出力し音声復号化部で
フレームの補間を行なう。これにより、送信データ量の
増加が抑制される。
Effects The present invention has the following effects due to the above-described configuration. In the transmitter, the voice is encoded and convolutionally encoded, and then modulated and transmitted. That is, the data is transmitted without adding parity to the data. In the receiving section, after demodulating the received data, Viterbi decoding is performed, and the possibility of error in the decoded data is determined based on the metric information during the second Viterbi decoding, and when the possibility of error is high, a frame interpolation request signal is sent. The data is output and the frame is interpolated by the audio decoding unit. This suppresses an increase in the amount of transmitted data.

実施例 第1図は本発明の一実施例の構成を示すものである。な
お、この実施例についても、図中上段に送信部を示し、
下段に受信部を示している。
Embodiment FIG. 1 shows the configuration of an embodiment of the present invention. In addition, also in this example, the transmitter is shown in the upper part of the figure.
The receiving section is shown at the bottom.

送信部において、21は音声符号化部であり、音声入力
30を数十asのフレームに区切って音声符号化し、音
声符号化データ31を出力する。22はたたみ込み符号
化部であり、音声符号化データ31をたたみ込み符号化
し、たたみ込み符号化データ32を出力する。23は変
調部であり、たたみ込み符号化データ32を復調し、送
信データ33として受信部に出力する。
In the transmitting section, 21 is an audio encoding section, which divides the audio input 30 into frames of several tens of AS, encodes the audio, and outputs audio encoded data 31. 22 is a convolutional encoding unit that convolutionally encodes audio encoded data 31 and outputs convolutionally encoded data 32. 23 is a modulation section that demodulates the convolutionally encoded data 32 and outputs it as transmission data 33 to the reception section.

受信部において、24は復調部であり、送信部から受信
した受信データ34を復調し、復調データ35を出力す
る。25はビタビ復号化部であり、復調データ35をビ
タビアルゴリズムにより復号化するとともに復号化の際
に各時点の各状態におけるブランチメトリックを記憶し
、トレースバックによりある時点の復調データを復号す
るときにその時点で選択された状態のブランチメトリッ
クをメトリック情報36として出力する。26はフレー
ム補間判定部であり、ビタビ復号化部25からメトリッ
ク情報36を受は取ると、その時点からたたみ込み符号
の拘束長まで過去のブランチメトリックの和を算出し、
その和が予め設定した閾値を越えた場合にビタビ復号化
データに誤りが発生したと判定し、フレーム補間要求信
号37を出力する。なお、フレーム補間判定部26にお
いて設定した閾値は、ビタビ復号で訂正しきれずに残っ
てしまう誤りの割合、すなわち残留誤り率とそれを与え
るメトリックの値との関係により、通信の種類、音声符
号復号方式によって許容される残留誤り率をもとに予め
設定することができる。27は音声復号化部であり、フ
レーム補間判定部26においてフレーム補間要求信号3
7が出力されないときはビタビ復号化部25から出力さ
れる受信音声符号化データ38を復号化し、音声39を
出力する。またフレーム補間判定部26においてフレー
ム補間要求信号37が出力されたときは誤ったフレーム
の受信音声符号化データ38を用いず、予め決められた
補間アルゴリズムによってそのフレームの補間を行ない
音声39を出力する。
In the receiving section, 24 is a demodulating section, which demodulates the received data 34 received from the transmitting section and outputs demodulated data 35. 25 is a Viterbi decoding unit which decodes the demodulated data 35 using the Viterbi algorithm, stores branch metrics in each state at each time point during decoding, and when decoding demodulated data at a certain time point by traceback. The branch metric in the selected state at that point is output as metric information 36. 26 is a frame interpolation determination unit which, upon receiving the metric information 36 from the Viterbi decoding unit 25, calculates the sum of past branch metrics from that point up to the constraint length of the convolutional code;
If the sum exceeds a preset threshold, it is determined that an error has occurred in the Viterbi decoded data, and a frame interpolation request signal 37 is output. Note that the threshold set in the frame interpolation determination unit 26 is determined depending on the type of communication, the speech code decoding, and the relationship between the proportion of errors that cannot be corrected by Viterbi decoding, that is, the residual error rate, and the value of the metric that gives it. It can be set in advance based on the residual error rate allowed by the system. 27 is an audio decoding unit, and the frame interpolation request signal 3 is
7 is not output, the received audio encoded data 38 output from the Viterbi decoder 25 is decoded and audio 39 is output. Further, when the frame interpolation request signal 37 is outputted in the frame interpolation determination unit 26, the received audio encoded data 38 of the erroneous frame is not used, but that frame is interpolated using a predetermined interpolation algorithm, and the audio 39 is output. .

次に前記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.

送信部において、音声30は音声符号化部21により音
声符号化された後、たたみ込み符号化部22によりたた
み込み符号化され、これが変調部23を通して変調され
送信データ33として出力される。したがって、二の送
信データ33には従来例のようなパリティは付加されな
い。
In the transmitter, the voice 30 is encoded by the voice encoder 21, convolutionally encoded by the convolutional encoder 22, modulated by the modulator 23, and output as transmission data 33. Therefore, parity is not added to the second transmission data 33 as in the conventional example.

受信部において、受信データ34は復調部24により復
調された後、ビタビ復号化部25によりビタビ復号化さ
れ、フレーム補間判定部26においてビタビ復号化部2
5から受は取ったメトリック情報36に基づいてビタビ
復号化データに誤りが生していないと判定された場合に
はビタビ復号化部25が復号化データを受信音声符号化
データ38として出力する。この受信音声符号化データ
38が音声符号化部27により符号化されて音声39が
出力される。また、補間判定部26において、ビタビ復
号化データに誤りが発生したと判定された場合、フレー
ム補間要求信号37をビタビ復号化部25および音声復
号化部37に出力し、音声復号化部27では誤ったフレ
ームの受信音声符号化データ38を用いず予め決められ
た補間アルゴリズムによりそのフレームの補間を行なっ
て音声39を出力する。
In the receiving section, the received data 34 is demodulated by the demodulating section 24, then Viterbi decoded by the Viterbi decoding section 25, and then Viterbi decoded by the Viterbi decoding section 25 in the frame interpolation determining section 26.
If it is determined that there is no error in the Viterbi decoded data based on the metric information 36 received from 5, the Viterbi decoder 25 outputs the decoded data as received audio encoded data 38. This received audio encoded data 38 is encoded by the audio encoder 27 and audio 39 is output. Furthermore, when the interpolation determining section 26 determines that an error has occurred in the Viterbi decoded data, a frame interpolation request signal 37 is output to the Viterbi decoding section 25 and the audio decoding section 37, and the audio decoding section 27 Without using the received audio encoded data 38 of the erroneous frame, that frame is interpolated using a predetermined interpolation algorithm, and audio 39 is output.

二のように、前記実施例によれば、送信部において送信
データ33にパリティを付加せず、受信部においてビタ
ビ復号時におけるメトリック情報に基づいて受信音声符
号化データ38の誤りを判定し、誤りがある場合フレー
ム補間要求信号37を出力してフレームの補間を行なう
ので、送信データ量の増加を抑える二とができる。
2, according to the embodiment, the transmitting unit does not add parity to the transmitted data 33, and the receiving unit determines errors in the received audio encoded data 38 based on metric information during Viterbi decoding. If there is a frame interpolation request signal 37, the frame interpolation is performed by outputting the frame interpolation request signal 37, thereby making it possible to suppress an increase in the amount of transmitted data.

発明の効果 本発明は前記実施例から明らかなように、送信部におい
て、音声符号化データにパリティを付加することなく、
たたみ込み符号化し、これを変調して送信する一方、受
信部においては、受信データを復調した後ビタビ復号化
し、ビタビ復号時におけるメトリック情報に基づいて受
信音声符号化データの誤りを判定し、誤りがある場合に
そのフレームの補間を行なうようにしたので、送信デー
タの増加を抑えながら、誤ったデータの復号による聴感
上耐え難い音を出力することを防止することができる。
Effects of the Invention As is clear from the embodiments described above, the present invention allows the transmitter to transmit data without adding parity to encoded audio data.
While the received data is convolutionally encoded, modulated, and transmitted, the receiving section demodulates the received data, then Viterbi decodes it, determines errors in the received audio encoded data based on metric information during Viterbi decoding, and detects errors. Since the frame is interpolated when there is a problem, it is possible to suppress an increase in the amount of transmitted data and to prevent the output of audibly intolerable sound due to decoding of erroneous data.

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

第1図は本発明の一実施例における音声符号復号装置の
概略ブロック図、第2図は従来の音声符号復号装置の概
略ブロック図である。 21・・・音声符号化部、22・・・たたみ込み符号化
部、23・・・変調部、24・・・復調部、25・・・
ビタビ復号化部、26・・・フレーム補間判定部、27
・・・音声復号化部、30・・・音声入力、31・・・
音声符号化データ、32・・・たたみ込み符号化データ
、33・・・送信データ、34・・・受信データ、35
・・・復調データ、36・・・メトリック情報、37・
・・フレーム補間要求信号、38・・・受信音声符号化
データ、39・・・音声出力。
FIG. 1 is a schematic block diagram of a speech code decoding device according to an embodiment of the present invention, and FIG. 2 is a schematic block diagram of a conventional speech code decoding device. 21... Audio encoder, 22... Convolutional encoder, 23... Modulator, 24... Demodulator, 25...
Viterbi decoding unit, 26... frame interpolation determination unit, 27
...Audio decoding unit, 30...Audio input, 31...
Audio encoded data, 32... Convolutional encoded data, 33... Transmission data, 34... Reception data, 35
... Demodulated data, 36... Metric information, 37.
. . . Frame interpolation request signal, 38 . . . Received audio encoded data, 39 . . . Audio output.

Claims (2)

【特許請求の範囲】[Claims] (1)送信部に、音声をフレームに区切って音声符号化
する音声符号化部と、前記音声符号化部からの音声符号
化データをたたみ込み符号化するたたみ込み符号化部と
、前記たたみ込み符号化部からのたたみ込み符号化デー
タを変調して送信する変調部とを備え、受信部に、前記
送信部からの受信データを復調する復調部と、前記復調
部からの復調データをビタビ復号化するビタビ復号化部
と、前記ビタビ復号化部からのビタビ復号化データを復
号する音声復号化部と、前記ビタビ復号化時におけるメ
トリック情報に基づいて復号化データが誤っている可能
性を判定しその可能性の大きい場合に前記音声復号化部
にフレーム補間要求信号を出力するフレーム補間判定部
とを備えた音声符号復号装置。
(1) The transmitter includes a voice encoding unit that divides voice into frames and encodes the voice, a convolutional encoder that convolutionally encodes the voice encoded data from the voice encoder, and a convolutional encoder that convolutionally encodes the voice encoded data from the voice encoder. The receiving section includes a demodulating section that demodulates the received data from the transmitting section, and a Viterbi-decoding demodulated data from the demodulating section. a Viterbi decoding unit that decodes the Viterbi decoded data from the Viterbi decoding unit, an audio decoding unit that decodes the Viterbi decoded data from the Viterbi decoding unit, and determines the possibility that the decoded data is incorrect based on metric information at the time of the Viterbi decoding. and a frame interpolation determination unit that outputs a frame interpolation request signal to the audio decoding unit when there is a high possibility of this occurring.
(2)ビタビ復号化データが誤っている可能性の判定を
予め設定した閾値によって行なうことを特徴とする請求
項(1)記載の音声符号復号装置。
(2) The audio code/decoding apparatus according to claim (1), wherein the possibility that the Viterbi decoded data is erroneous is determined using a preset threshold.
JP13337190A 1990-05-23 1990-05-23 Sound encoding/decoding device Pending JPH0429415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13337190A JPH0429415A (en) 1990-05-23 1990-05-23 Sound encoding/decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13337190A JPH0429415A (en) 1990-05-23 1990-05-23 Sound encoding/decoding device

Publications (1)

Publication Number Publication Date
JPH0429415A true JPH0429415A (en) 1992-01-31

Family

ID=15103164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13337190A Pending JPH0429415A (en) 1990-05-23 1990-05-23 Sound encoding/decoding device

Country Status (1)

Country Link
JP (1) JPH0429415A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62128622A (en) * 1985-11-29 1987-06-10 Mitsubishi Electric Corp Pcm reproducing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62128622A (en) * 1985-11-29 1987-06-10 Mitsubishi Electric Corp Pcm reproducing device

Similar Documents

Publication Publication Date Title
JP4199281B2 (en) Soft error correction in TDMA wireless systems
US5453997A (en) Decoder selection
RU2239950C2 (en) Method for encoding modes of codec operation with use of a priori knowledge
RU2188509C2 (en) Method and device for determining transmission speed of data conveyed at variable speed in communication system receiver
ES2291737T3 (en) METHOD AND SYSTEM TO CALCULATE THE ERROR RATE OF THE BITS OF A RECEIVED SIGNAL.
US6567938B2 (en) Convolution decoding terminated by an error detection block code with distributed parity bits
US5341401A (en) Method of detecting the channel identity of a number of channels in a mobile radio system
JP3613448B2 (en) Data transmission method, data transmission system, transmission device, and reception device
KR100301100B1 (en) Bad frame detection method and device
WO1997014225A9 (en) A coding system and method providing unequal error protection by puncturing less significant symbols
JPH0555932A (en) Error correction coding and decoding device
KR100344605B1 (en) Bad frame detector and turbo decoder
JP3577287B2 (en) Method and apparatus for generating a channel error flag for error reduction and / or concealment at a source decoder
JPH05110539A (en) Digital transmission system
JP3248715B2 (en) Quality evaluation device for Viterbi decoded data using zero state evaluation amount
JP3265339B2 (en) Audio decoding device
JPS61135234A (en) System for controlling soft deciding threshold value
US5406562A (en) Bit error rate estimation
EP1074975B1 (en) Method for decoding an audio signal with transmission error concealment
JPH0429415A (en) Sound encoding/decoding device
CA2326589A1 (en) Mobile station employing crc verification using decoding reliability and methods therefor
JP3249457B2 (en) Voice transmission / reception equipment for digital communication
JPH05199124A (en) Voice communication system
JPH046140B2 (en)
JP2001268019A (en) Digital mobile communication system