Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0123971B2 - - Google Patents
[go: Go Back, main page]

JPH0123971B2 - - Google Patents

Info

Publication number
JPH0123971B2
JPH0123971B2 JP8349082A JP8349082A JPH0123971B2 JP H0123971 B2 JPH0123971 B2 JP H0123971B2 JP 8349082 A JP8349082 A JP 8349082A JP 8349082 A JP8349082 A JP 8349082A JP H0123971 B2 JPH0123971 B2 JP H0123971B2
Authority
JP
Japan
Prior art keywords
quantization
circuit
width
signal
adaptive
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.)
Expired
Application number
JP8349082A
Other languages
Japanese (ja)
Other versions
JPS58200647A (en
Inventor
Takao Nishitani
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8349082A priority Critical patent/JPS58200647A/en
Priority to AU86082/82A priority patent/AU564770B2/en
Priority to FR8212581A priority patent/FR2509888B1/en
Publication of JPS58200647A publication Critical patent/JPS58200647A/en
Priority to US06/858,865 priority patent/US4862173A/en
Publication of JPH0123971B2 publication Critical patent/JPH0123971B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B14/00Transmission systems not characterised by the medium used for transmission
    • H04B14/02Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
    • H04B14/04Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation using pulse code modulation
    • H04B14/046Systems or methods for reducing noise or bandwidth

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Description

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

本発明は音声信号等の帯域圧縮のために用いら
れる適応量子化および適応逆量子化の改良に関す
る。 適応量子化方式とは、入力信号の標本値を定め
られたビツト数で表現する、いわゆる量子化にお
いて、入力信号の大きさに応じて量子化に用いる
量子化幅を適時決定する方法で、この逆操作を行
なう適応逆量子化により入力信号標本値を少いビ
ツト数で高精度に再現できる。このため、この様
な適応量子化方式及び逆量子化方式を音声信号等
のデイジタル伝送に応用すれば、1標本当りの必
要ビツト数を、適応機能のない量子化方法及び逆
量子化方法を用いた場合と比べて少くできるた
め、伝送情報量を低減でき、いわゆる帯域圧縮が
実現できる。 従来から知られている適応量子化及び適応逆量
子化の方法のうち、本発明に関係する瞬時適応量
子化及び瞬時適応逆量子化について次に詳細に説
明する。瞬時適応量子化については1973年9月
Bell研究所発行のBSTJ誌1119頁〜1144頁に詳し
いが、原理は次の通りである。いま、ある標本時
刻jでの量子化幅をΔj、この時の入力信号xjが nj・Δj(nj+1)Δj nj∈{0、±1、±2、……、 ±(2m-1-1)、−2m-1} m:割当量子化ビツト数 (1) であれば、出力信号はnjであり、次の標本時刻で
の量子化幅を次の様に決定する。 Δj+7=Δj・M(nj) (2) ただし、ここでM(nj)はnjにより一意的に定
まる乗数であり、8kHz標本化音声信号を4ビツ
ト(m=4)に符号化する場合に用いられる乗数
の一例を表1に示す。
The present invention relates to improvements in adaptive quantization and adaptive inverse quantization used for band compression of audio signals and the like. Adaptive quantization is a method that determines the quantization width used for quantization according to the size of the input signal in a timely manner in so-called quantization, in which the sample value of the input signal is expressed using a predetermined number of bits. Input signal sample values can be reproduced with high precision using a small number of bits by adaptive inverse quantization that performs inverse operations. Therefore, if such adaptive quantization and inverse quantization methods are applied to digital transmission of audio signals, the number of bits required per sample can be reduced using quantization and inverse quantization methods that do not have an adaptive function. The amount of information to be transmitted can be reduced, and so-called bandwidth compression can be achieved. Among conventionally known adaptive quantization and adaptive inverse quantization methods, instantaneous adaptive quantization and instantaneous adaptive inverse quantization related to the present invention will be described in detail below. September 1973 for instantaneous adaptive quantization
The principle is as follows, as detailed in pages 1119 to 1144 of BSTJ magazine published by Bell Laboratories. Now, the quantization width at a certain sample time j is Δ j , and the input signal xj at this time is nj・Δj(nj+1)Δj nj∈{0, ±1, ±2, ..., ±(2 m-1 - 1), -2 m-1 } m: number of allocated quantization bits (1) If so, the output signal is nj, and the quantization width at the next sampling time is determined as follows. Δ j+7 = Δj・M(nj) (2) Here, M(nj) is a multiplier uniquely determined by nj, and the 8kHz sampled audio signal is encoded into 4 bits (m=4). Table 1 shows an example of the multiplier used in this case.

【表】 この様に量子化幅を時々刻々変化させると、量
子化幅が一定値に固定された場合では出力信号が
常に0となるような小レベルの場合や出力信号が
常に過負荷を起こすような大レベルの場合にも、
それぞれ量子化幅を小さくしたり、大きくしたり
する事により、量子化器のダイナミツク・レンジ
を大きくできるばかりでなく、(2)式による適応量
が入力信号によく追随しているならば(1)式により
定められる量子化も精度よく行なえる。この様な
量子化器を伝送装置に応用する場合は、量子化さ
れ伝送された信号は受信側でも(2)式の演算を行な
い、各標本時刻での量子化幅を再元して x^j=njΔj+1/2Δj (3) により伝送信号を逆量子化することで、ほぼ入力
信号xjと同じ大きさの信号x^jを再現できる。送
信側と受信側における量子化幅Δjが等しいこと
は、初期値Δoが等しく、かつ、伝送路に誤りが
ない状態(つまりnjが常に正しく伝送されている
状態)が保証されれば、送受両側でΔjに乗ずる
乗数M(nj)が一致し、成立する。 上記の瞬時適応量子化の方法は入力信号を精度
よく少いビツト数で伝送するという本来の目的の
ためには優秀な方法であるが、初期における量子
化幅を送信側と受信側で一致させなければいけな
い事、また、通常の伝送路においては回線の歪み
や熱雑音により伝送路ビツト誤りが発生する事な
ど、実用上の観点からすれば各標本時間において
送信側と受信側では量子化幅が不一致となる状況
が頻繁に発生する。以上の困難を克服する方法に
ついては1975年IEEE発行の「Transacfions on
Communication 1362頁〜1365頁に詳しいが、こ
の方法は(2)式を次の(4)式で置き換えたものであ
る。 Δj+1=Δj〓・M′(nj) (4) ただし、βは1に近いが1より小の数であり、
M′(nj)はM(nj)と同様njにより一意的に定まる
乗数であり、以下簡単化のためM(nj)と記す。
以上のように修正した事により、(4)式は次の様に
式変形できる。 Δj+1=M(nj)・M(nj-1)〓・M(nj-2)〓2・Δ0j(5
) さらにβを1より小の数に設定しため、βkはk
が大きくなるに従い0に漸近する。以上の事柄よ
り、送信側と受信側での量子化幅を各々TΔj、
RΔjと記述すれば、初期値が異なつていても
(TΔo≠RΔo)、量子化符号njは送受で等しいか
ら時刻jにおける送信側と受信側での量子化幅の
比は、 TΔj+1/RΔj+1=(TΔo/RΔo)〓j (6) となり、jの増加とともに1に収束する事にな
る。つまり、送受での量子化幅は等しくなる。 また、伝送路ビツト誤りが発生した場合も以下
の様に同様に考えられる。時刻j′に伝送路ビツト
誤りが起きた場合、送信側および受信側で次の標
本時刻において乗ぜられる乗数M(nj′)が異なる
ため、量子化幅に不一致を生ずる。この場合、時
刻j′を改めて初期時刻と定義し直し、初期値が不
一致であつたと考えれば上記の解釈により時刻と
ともに送信側と受信側での量子化幅が等しくなる
事が理解されよう。以上のように誤差を含んだ量
子化幅Δjは時刻とともにβ乗され、1に近づく
ため、1.0を量子化基準値と呼ぶ。 しかしながら、従来の伝送ビツト誤りに強くし
たアルゴリズムでは音声信号のようにダイナミツ
ク・レンジが60dBにも達する信号に対しては、
平均的な信号レベルの符号化に於ては問題になら
ないものの、大きな信号レベルや小さな信号レベ
ルに於ては量子化精度の劣化を招く事になる。こ
の事は式(2)と式(3)を比べるとΔjをβ乗するか否
かの違いであり、第1図のΔj対Δj〓のグラフを用
いれば以下の様に理解される。第1図では、β=
1のグラフはβ乗しない事を意味し、式(2)に対応
する演算に対応する。また、β=1−αのグラフ
は式(4)の演算に対応する。図に示すように両グラ
フは量子化基準値1.0で交わる。いま、信号レベ
ルが定常的に高い場合を考える。この場合第1図
でΔjがΔL付近に来る事が多いが、伝送路ビツト
誤りに対して強い性格を持たせたβ乗を行なう方
式では、β乗する事によりΔLがΔL′まで縮められ
る。(ΔL−ΔL′)の差はΔLが大きくなる程大きく
なり、このため真に必要となる次の量子化幅Δj+1
を計算するにあたり、過負荷状態を発生する要因
となる。このため、信号レベルの大きいものに対
しては符号化精度を劣化させることになる。同様
に信号レベルが定常的に低い場合は第1図におい
てΔjがΔM近傍に来る事が多く、この場合Δj〓を行
なうとΔM′となり、ΔMより大きな値となる。この
ため、レベルの低い信号に対しては、次の標本時
刻での量子化幅をΔj〓を用いて計算すると、量子
化幅の適応性が劣化し、量子化による信号標本値
の桁落ちが生じ易くなり、符号化精度を悪化させ
ることになる。また、βの値を1に近付けると、
高レベルもしくは低レベルの信号に対する符号化
精度の劣化を小さくできるが、伝送路ビツト誤り
に対する送信側および受信側の量子化幅の不一致
が長時間解消されずに残る事になる。本発明の目
的は伝送路ビツト誤りに対して短時間で送信側お
よび受信側の量子化幅の不一致が解消され、か
つ、高レベルおよび低レベル信号に対しても符号
化精度を高く保つ適応量子化方法及び適応逆量子
化方法を提供する事にある。 本発明の方法は量子化基準値と、現在の標本時
刻における量子化幅および量子化符号とを用いて
適応的に次の標本時刻における量子化幅を決定
し、この量子化幅を用いて標本化された入力信号
を適応的に量子化および逆量子化を行なう瞬時適
応量子化方法において、前記量子化基準値を、各
時刻における量子化符号から、入力信号のシラブ
ルに応じた速度により変化する量を抽出し、その
量で補正する手段を設け、従来の瞬時適応量子化
方法の量子化基準値をシラブルに応じた速度で適
応させる事を特徴としている。 本発明の原理は第1図におけるβ=1のグラフ
とβ1のグラフの交点(1.0)を入力信号のシ
ラブル・レベルに応じて変える様に、β1のグ
ラフを変化させる事にある。これ等2つのグラフ
の交点を変化させることは、従来1.0に固定され
ていた量子化基準値を変える事を意味する。この
ため数式的には式(4)を量子化基準値ΔSを用いて
式(7)のように表現したものを用いると説明しやす
い。 Δj+1=(Δj/ΔS)〓ΔSM(nj) (7) 明らかにΔS=1.0の時は式(4)と一致し、ΔS≠
1.0の時は両グラフの交点をΔSまで移動させた形
となる。さらに、ΔSの値が固定しておれば、初
期時刻での送信側と受信側の量子化幅の不一致は
式(7)を用いた場合でも式(6)の様になることは容易
に導出できよう。 いま、ΔSの変化範囲を〔ΔS0、ΔS1〕と設定し、
ΔSの変化速度をシラブルに応じた速度(100Hz程
度に帯域制限された信号)に設定し、ΔSを入力
信号の振幅、もしくはエネルギーに依存した量で
制御する。この様にΔSを変化させれば、第1図
に相当するグラフは第2図の様になる。送信側、
受信側においてΔSが一致していると仮定し、定
常的にレベルの大きな信号を符号化している場合
を考える。この場合、量子化基準値はΔS1となり、
第2図のグラフAを用いて次の量子化幅を決定す
る事になる。いま時刻jでの量子化幅がΔLであ
つたとすると、従来の方法では第2図のグラフC
を用いて次の量子化幅を決定するため、グラフA
を用いて決定する場合と比べ大幅にβ=1のグラ
フを用いた場合からの劣化が少い。同様に定常的
に低レベルの信号を符号化する場合は、第2図の
グラフBを用いることになり、時刻jでの量子化
幅がΔMであつた場合を考えると、第2図より従
来の方法よりもよい量子化幅の決定が行えること
は明らかであろう。 以下、この様な方法でも伝送路誤りについて強
固な性質を持つている事を示す。時刻jでの量子
化基準値をΔSjとすると、時刻j+1での量子化
幅は式(7)をくり返し使用する事により次式を得
る。 Δj+1=Δj〓M(nj)ΔSj(1-)=M(nj)M〓(nj−
1)M〓2(nj−2)…M〓j (o0) ×ΔSj(1-)ΔSj−1(1-)〓ΔSj−2(1-)2…ΔS
0(1-)j×Δ0〓j(8) 音声等の信号の場合、無音区間が存在するた
め、有声区間の始まりにおいて送信側、受信側符
号器の量子化基準値は取りうる値の最小値ΔS0と
なつていると期待できる。たとえ送受において同
一量子化基準値を持たなくともその比は1に近い
と期待できる。(8)式を用いて送信側、受信側それ
ぞれの量子化幅および量子化基準値を TΔj、 RΔj
TΔSj、 RΔSjとおけば時刻j+1での量子化幅
の比は以下の様になる。ただし、時刻0からjま
では伝送路誤りはないものとする。 RΔj+1/TΔj+1=(RΔSj/TΔSj(1-)(RΔSj-1/T
ΔSj-1(1-)〓(RΔSj-2/TΔSj-2(1-)2・(R
ΔSj-3/TΔSj-3(1-)3……(RΔ0/TΔ0)〓j(9)
jの値を10程度に選ぶと TΔSj、 RΔSjともに
ΔS0、 RΔS0とほぼ等しいと考えられるから、
(量子化基準値の変化速度は100Hz程度、つまり、
8KHz標本化を行なつていると、100Hz1周期分は
80標本となり、今考えている10標本区間では大幅
な変化はない。)式(9)は以下の様になる。 RΔj+1/TΔj+1=(RΔS0/TΔS0(1-)(1+++j
)
=(RΔS0/TΔS01-j+1≒RΔS0/TΔS0≒1(10) よつて、送受の信号レベルの差はほとんどなく、
音声の始まりで発生する量子化基準値の差程度と
なる。 伝送路ビツト誤りが発生した場合の量子化基準
値の変化については、以下の様に微少な差が現わ
れるだけである。いま、時刻jにおいて伝送路ビ
ツト誤りが発生し、送信側と受信側での量子化符
号が異なつたとする。この異なつた量子化符号が
シラブルに応じた速度で変化する量子化基準値に
与える影響を考える。時刻jでの復号信号は入力
信号と比べ伝送路ビツト誤りによつて発生した差
の符号に対応する量だけ不連続的に大きくなる。
この不連続点からの復号信号と入力信号との差の
エネルギーが量子化基準値の差となる。しかし、
不連続点は一般に高周波成分が多く、インパルス
的で量子化基準値は後述するように復号信号のエ
ネルギー、つまり100Hzで遮断特性を持つ低域通
過フイルタの出力とする。このため音声等の4K
Hz帯域制限された信号を扱う8KHz標本化システ
ムでは、このインパルス信号は (100Hz/4000Hz)2=1/1600 (11) の影響となつて量子化基準値に現われる。このた
め、量子化基準値へ与える影響はバースト・エラ
ー等の長時間に亘るエラーでないかぎり無視でき
る。さらに、この様な誤差も、音声等の信号を扱
つている限り蓄積される訳でなく、音声の無音区
間で再び送受双方の量子化基準値は予め定められ
た最小値ΔS0となり一致する。いずれにせよ、伝
送路ビツト誤りにより送受における量子化基準値
が無視できる程度に小さな誤差した発生しない限
り、送受における量子化幅は従来の量子化アルゴ
リムと同様、伝送路ビツト誤りにより発生する瞬
時的な誤差は式(4)または式(7)のβ乗の効果により
時々刻々減衰する。 次に図面を参照しながら本発明を詳細に説明す
る。第3図は本発明の一実施例であり、1は標本
化されデイジタル化された信号の入力端子、2は
入力信号を被除数とする除算器、3は除算器出力
を量子化する量子化回路、4は量子化符号出力端
子、5は量子化符号からシラブルに応じた速度で
変化する量子化基準値を出力する量子化基準発生
回路、6は次標本時刻において除算器2の除数と
なる量子化ステツプ幅の値を算出する量子化幅決
定回路からなる。 また量子化回路3の詳細は後述するがデイジタ
ル化された入力信号に対し、複数個の閾値を設け
(例えば2m−1個)、入力信号ビツト数より少いビ
ツト数(例えばm)で表わされる出力信号に変換
するものである。量子化基準発生回路5の詳細は
後述するが、出力信号から入力信号エネルギーを
計算し、入力信号エネルギーの変化に応じた量子
化基準値を出力するものである。量子化幅の大き
さは量子化符号に依存する。また量子化符号は予
測残差信号に依存する。このため、予測が入力信
号にぴつたり合うようになると量子化幅は非常に
小さくなる。残念ながら予測はある程度は適中す
るものの、ぴつたり合うことはない。このこと
は、例えばPrentice Hall、Inc社1978年発行の
「Digital Processing of Speech Signals」の215
頁にも記述されている様に、予測利得(予測を用
いたことによるS/Nの向上)はせいぜい10dB
程度である。このため、入力信号エネルギーが大
きいと予測残差信号エネルギーが大きくなり、こ
の結果量子化幅も大きなものが発生しやすくな
る。従来の量子化基準値は平均的な入力信号に対
して量子化基準値が1となるように設定してい
る。さらに、装置の設計上、平均的な入力信号の
エネルギーを、入力信号の基準としたいため1と
する。このため、本発明では入力信号エネルギー
を量子化基準値として使用する。量子化幅決定回
路6の詳細も後述するが、現時刻の量子化幅決定
回路の出力である量子化幅と、量子化基準発生回
路5の出力と、現時刻の量子化符号より、次標本
時刻における量子化幅を決定する回路である。 いま、ある時刻jにおいて、入力端子1にxjが
加えられ、量子化幅決定回路6が現時刻における
量子化幅Δjを出力しているものとする。この時、
除算器2の出力にはxj/Δjが出力される。よつ
て、量子化回路3では、 njxj/Δj<(nj+1) (11) となるmビツトの符号njが端子4より出力され
る。この時式(11)は、 nj・Δjxj<(nj+1)Δj (12) と変形できるため式(1)と一致する。量子化回路3
の出力njは量子化基準発生回路5に加えられ、後
述する様に、信号エネルギーの計算値ΔSj-1を微
少量だけ更新し、更新されたエネルギー量に従つ
て量子化基準値をΔSj変化させる。量子化幅決定
回路6では量子化回路3の出力nj、量子化基準発
生回路5の出力ΔSj、および量子化幅決定回路6
の出力Δjを用いて Δj+1=Δj〓M(nj)ΔSj(1-) (13) を計算し、次の標本時刻における量子化幅Δj+1
決定する。 第3図に示した適応量子化回路が伝送路ビツト
誤りに強く、高精度の量子化が行なえる理由は、
量子化回路3の出力が式(1)と等しい式(12)で行なえ
ること、次の標本時刻における量子化幅の決定を
式(8)と等しい式(13)で行なうこと、および前述の
本発明の原理の部分で詳述した事柄より明確であ
ろう。 次に第3図で使用した量子化回路3の構成につ
いて述べる。以下では簡単のために4ビツト相当
の入力信号を出力信号2ビツトに量子化する場合
を述べる。量子化回路3は読出専用メモリ
(ROM)が利用できる。4ビツトの入力信号は
ROMのアドレス入力端子の下位4ビツトに供給
され、2ビツトの出力信号をROMの出力端子の
下位2ビツトから出力するものとすると、量子化
回路3を構成するためのROMの内容は表2のよ
うになる。ただし、アドレスに加えられる入力信
号は、信号値としてはLBSから2ビツト目と3
ビツト目の間に小数点があるものと仮定してお
り、量子化回路出力はこれを整数値に切り捨てる
ものとして考えている。
[Table] If the quantization width is changed from time to time in this way, if the quantization width is fixed to a constant value, the output signal will always be at a small level of 0, or the output signal will always be overloaded. Even at such a large level,
Not only can the dynamic range of the quantizer be increased by decreasing or increasing the quantization width, but also if the adaptation amount according to equation (2) closely follows the input signal, then (1 ) The quantization determined by the formula can also be performed with high precision. When applying such a quantizer to a transmission device, the quantized and transmitted signal is subjected to the calculation of equation (2) on the receiving side, and the quantization width at each sample time is regenerated to x^ By dequantizing the transmission signal using j=njΔj+1/2Δj (3), it is possible to reproduce a signal x^j having approximately the same magnitude as the input signal xj. The quantization width Δj on the sending and receiving sides is equal, as long as the initial values Δo are equal and the transmission path is guaranteed to have no errors (that is, nj is always transmitted correctly). The multiplier M(nj) by which Δj is multiplied matches and holds true. The instantaneous adaptive quantization method described above is an excellent method for the original purpose of transmitting the input signal with high precision and a small number of bits, but it is important to keep the initial quantization width the same on the transmitting and receiving sides. In addition, from a practical point of view, the quantization width on the transmitting and receiving sides is limited at each sample time, as bit errors occur in normal transmission lines due to line distortion and thermal noise. Situations in which the values are inconsistent frequently occur. How to overcome these difficulties can be found in the 1975 IEEE publication, Transacfions on
As detailed in Communication pages 1362 to 1365, this method replaces equation (2) with the following equation (4). Δ j+1 = Δj〓・M′(nj) (4) However, β is a number close to 1 but smaller than 1,
M'(nj) is a multiplier uniquely determined by nj, similar to M(nj), and is hereinafter referred to as M(nj) for simplicity.
By modifying as above, equation (4) can be transformed as follows. Δ j+1 =M(nj)・M(n j-1 )〓・M(n j-2 )〓 2・Δ 0j (5
) Further, since β is set to a number smaller than 1, β k is k
Asymptotically approaches 0 as becomes larger. From the above, the quantization width on the transmitting side and receiving side is TΔj, respectively.
If we write RΔj, even if the initial values are different (TΔo≠RΔo), the quantization code nj is the same for sending and receiving, so the ratio of quantization widths on the sending side and receiving side at time j is TΔ j+1 /RΔ j+1 = (TΔo/RΔo) 〓 j (6), which converges to 1 as j increases. In other words, the quantization widths for transmission and reception are equal. Furthermore, when a transmission path bit error occurs, the following can be considered in the same way. If a transmission line bit error occurs at time j', the multiplier M(nj') to be multiplied at the next sample time is different between the transmitting side and the receiving side, resulting in a mismatch in the quantization width. In this case, if we redefine time j' as the initial time and consider that the initial values do not match, it will be understood from the above interpretation that the quantization widths on the transmitting side and the receiving side become equal with time. As described above, the quantization width Δj including the error is raised to the β power with time and approaches 1, so 1.0 is called the quantization reference value. However, conventional algorithms that are resistant to transmission bit errors cannot handle signals with a dynamic range of as much as 60 dB, such as audio signals.
Although this is not a problem when encoding an average signal level, it causes deterioration of quantization accuracy at large or small signal levels. Comparing equations (2) and (3), this is the difference in whether Δj is raised to the β power or not, and can be understood as follows using the graph of Δj versus Δj〓 in FIG. In Figure 1, β=
A graph of 1 means that it is not raised to the β power, and corresponds to the operation corresponding to equation (2). Further, the graph of β=1−α corresponds to the calculation of equation (4). As shown in the figure, both graphs intersect at the quantization reference value of 1.0. Now, consider a case where the signal level is constantly high. In this case, in Fig. 1, Δj often comes close to ΔL , but in a system that uses β-power, which is resistant to bit errors in the transmission path, ΔL can be raised to ΔL' by raising to the β- th power. It can be shrunk. The difference between (Δ L −Δ L ′) increases as Δ L increases, so the next truly necessary quantization width Δ j+1
When calculating this, it becomes a factor that causes an overload condition. For this reason, encoding accuracy deteriorates for signals with high signal levels. Similarly, when the signal level is constantly low, Δj often comes close to ΔM in FIG. 1, and in this case, when Δj〓 is performed, it becomes ΔM ', which becomes a value larger than ΔM . Therefore, for low-level signals, if the quantization width at the next sampling time is calculated using Δj〓, the adaptability of the quantization width will deteriorate, and the signal sample value will lose digits due to quantization. This is more likely to occur, resulting in deterioration of encoding accuracy. Also, when the value of β approaches 1,
Although deterioration in coding accuracy for high-level or low-level signals can be reduced, the mismatch between the quantization widths on the transmitting side and the receiving side with respect to transmission path bit errors remains unresolved for a long time. The purpose of the present invention is to provide an adaptive quantum system that can eliminate mismatches in quantization widths on the transmitting and receiving sides in a short time in response to bit errors in the transmission path, and maintain high coding accuracy even for high-level and low-level signals. The object of the present invention is to provide a quantization method and an adaptive inverse quantization method. The method of the present invention adaptively determines the quantization width at the next sample time using the quantization reference value, the quantization width and quantization code at the current sample time, and uses this quantization width to In an instantaneous adaptive quantization method that adaptively quantizes and dequantizes a quantized input signal, the quantization reference value is changed from a quantization code at each time at a rate according to a syllable of the input signal. It is characterized by providing means for extracting a quantity and correcting it using the quantity, and adapting the quantization reference value of the conventional instantaneous adaptive quantization method at a speed corresponding to the syllable. The principle of the present invention is to change the graph of β1 so that the intersection point (1.0) between the graph of β=1 and the graph of β1 in FIG. 1 changes according to the syllable level of the input signal. Changing the intersection of these two graphs means changing the quantization reference value, which was conventionally fixed at 1.0. For this reason, it is easier to explain mathematically if Expression (4) is expressed as Expression (7) using the quantization reference value ΔS. Δ j+1 = (Δj/Δ S ) 〓 Δ S M (nj) (7) Obviously, when ΔS = 1.0, it agrees with equation (4), and ΔS≠
When it is 1.0, the intersection of both graphs is moved to ΔS. Furthermore, if the value of ΔS is fixed, the mismatch between the quantization widths on the transmitting side and the receiving side at the initial time can easily become as shown in Equation (6) even when using Equation (7). It can be derived. Now, set the change range of ΔS as [Δ S0 , Δ S1 ],
The rate of change of ΔS is set to a rate that corresponds to the syllable (a signal whose band is limited to about 100 Hz), and ΔS is controlled by an amount that depends on the amplitude or energy of the input signal. If ΔS is changed in this way, the graph corresponding to FIG. 1 will become as shown in FIG. 2. sending side,
Assume that Δ S is the same on the receiving side, and consider a case where a signal with a constantly large level is being encoded. In this case, the quantization reference value is Δ S1 ,
The next quantization width will be determined using graph A in FIG. Assuming that the quantization width at time j is ΔL, in the conventional method, graph C in Figure 2
In order to determine the next quantization width using
The deterioration from the case where the graph of β=1 is used is significantly smaller than when the graph is determined using . Similarly, when encoding a low-level signal on a regular basis, graph B in Figure 2 will be used.If we consider the case where the quantization width at time j is ΔM , then from Figure 2 It will be clear that the quantization width can be determined better than conventional methods. In the following, it will be shown that even such a method has a robust property against transmission path errors. When the quantization reference value at time j is ΔSj, the quantization width at time j+1 is obtained by repeatedly using equation (7) as follows. Δ j+1 = Δj〓M(nj)ΔSj (1-) =M(nj)M〓(nj−
1) M〓 2 (nj−2)…M〓 j (o0) ×ΔSj (1-) ΔSj−1 (1-) 〓ΔSj−2 (1-)2 …ΔS
0 (1-)j ×Δ0〓 j (8) In the case of signals such as voice, there are silent sections, so the quantization reference values of the transmitter and receiver encoders at the beginning of the voiced section are the possible values. It can be expected that the minimum value of ΔS0 is reached. Even if transmission and reception do not have the same quantization reference value, the ratio can be expected to be close to 1. Using equation (8), the quantization width and quantization reference value for the transmitting side and the receiving side are T Δj, R Δj
If T ΔSj and R ΔSj are set, the ratio of quantization widths at time j+1 is as follows. However, it is assumed that there is no transmission path error from time 0 to time j. RΔ j+1 /TΔ j+1 = (RΔ Sj /TΔ Sj ) (1-) (RΔ Sj-1 /T
Δ Sj-1 ) (1-) 〓(RΔ Sj-2 /TΔ Sj-2 ) (1-)2・(R
Δ Sj-3 /TΔ Sj-3 ) (1-)3 ...(RΔ 0 /TΔ 0 )〓 j (9)
If the value of j is chosen to be around 10, both T ΔSj and R ΔSj
Since T ΔS0 and R ΔS0 are considered to be almost equal,
(The rate of change of the quantization reference value is about 100Hz, that is,
When performing 8KHz sampling, one period of 100Hz is
There are 80 samples, and there is no significant change in the 10 sample interval we are currently considering. ) Equation (9) becomes as follows. RΔ j+1 /TΔ j+1 = (RΔ S0 /TΔ S0 ) (1-)(1+++j
)
= (RΔ S0 /TΔ S0 ) 1-j+1 ≒RΔ S0 /TΔ S0 ≒1(10) Therefore, there is almost no difference in signal level between transmitting and receiving,
This is the difference between the quantization reference values that occur at the beginning of speech. Regarding the change in the quantization reference value when a transmission line bit error occurs, only a slight difference appears as shown below. Assume now that a transmission path bit error occurs at time j, and the quantization codes on the transmitting side and the receiving side are different. Let us consider the influence of these different quantization codes on the quantization reference value, which changes at a speed corresponding to the syllable. The decoded signal at time j becomes discontinuously larger than the input signal by an amount corresponding to the sign of the difference caused by the transmission line bit error.
The energy of the difference between the decoded signal from this discontinuous point and the input signal becomes the difference between the quantization reference values. but,
The discontinuity points generally have many high-frequency components and are impulse-like, and the quantization reference value is the energy of the decoded signal, that is, the output of a low-pass filter having a cutoff characteristic at 100 Hz, as described later. Therefore, 4K of audio etc.
In an 8KHz sampling system that handles Hz band-limited signals, this impulse signal appears on the quantization reference value as an influence of (100Hz/4000Hz) 2 = 1/1600 (11). Therefore, the influence on the quantization reference value can be ignored unless it is a long-term error such as a burst error. Furthermore, such errors do not accumulate as long as signals such as audio are handled, and the quantization reference values of both the transmitter and the receiver become the predetermined minimum value ΔS0 again in the silent section of the audio and match. In any case, unless a transmission line bit error causes a negligibly small error in the quantization reference value in the transmission and reception, the quantization width in the transmission and reception is the same as in the conventional quantization algorithm. The error is attenuated moment by moment due to the β power effect of equation (4) or equation (7). Next, the present invention will be explained in detail with reference to the drawings. FIG. 3 shows an embodiment of the present invention, in which 1 is an input terminal for a sampled and digitized signal, 2 is a divider that takes the input signal as the dividend, and 3 is a quantization circuit that quantizes the output of the divider. , 4 is a quantization code output terminal, 5 is a quantization reference generation circuit that outputs a quantization reference value that changes from the quantization code at a rate according to the syllable, and 6 is a quantum that becomes the divisor of the divider 2 at the next sampling time. It consists of a quantization width determining circuit that calculates the value of the quantization step width. Although the details of the quantization circuit 3 will be described later, a plurality of threshold values (for example, 2 m -1) are provided for the digitized input signal, and the threshold value is expressed by a smaller number of bits (for example, m) than the number of input signal bits. This converts the signal into an output signal. The details of the quantization reference generation circuit 5 will be described later, but it calculates the input signal energy from the output signal and outputs a quantization reference value according to a change in the input signal energy. The size of the quantization width depends on the quantization code. Furthermore, the quantization code depends on the prediction residual signal. Therefore, when the prediction closely matches the input signal, the quantization width becomes very small. Unfortunately, while the predictions are accurate to some extent, they are never exact. This can be seen, for example, in 215 of ``Digital Processing of Speech Signals,'' published by Prentice Hall, Inc., 1978.
As described on the page, the prediction gain (improvement in S/N by using prediction) is at most 10 dB.
That's about it. Therefore, when the input signal energy is large, the prediction residual signal energy becomes large, and as a result, a large quantization width is likely to occur. The conventional quantization reference value is set so that the quantization reference value is 1 for an average input signal. Furthermore, in the design of the device, it is desired to use the average input signal energy as a reference for the input signal, so it is set to 1. Therefore, the present invention uses the input signal energy as a quantization reference value. The details of the quantization width determination circuit 6 will be described later, but the next sample is determined based on the quantization width that is the output of the quantization width determination circuit at the current time, the output of the quantization reference generation circuit 5, and the quantization code at the current time. This is a circuit that determines the quantization width at time. Now, assume that at a certain time j, xj is applied to the input terminal 1, and the quantization width determining circuit 6 outputs the quantization width Δj at the current time. At this time,
The output of the divider 2 is xj/Δj. Therefore, the quantization circuit 3 outputs from the terminal 4 an m-bit code nj such that njxj/Δj<(nj+1) (11). In this case, equation (11) can be transformed as nj·Δjxj<(nj+1)Δj (12) and thus matches equation (1). Quantization circuit 3
The output nj is applied to the quantization reference generation circuit 5, which updates the calculated signal energy value ΔSj -1 by a very small amount and changes the quantization reference value ΔSj according to the updated amount of energy, as described later. let The quantization width determination circuit 6 outputs the output nj of the quantization circuit 3, the output ΔSj of the quantization standard generation circuit 5, and the quantization width determination circuit 6.
Using the output Δj, calculate Δ j+1 = Δj 〓M(nj) ΔSj (1-) (13) and determine the quantization width Δ j+1 at the next sampling time. The reason why the adaptive quantization circuit shown in Figure 3 is resistant to transmission line bit errors and can perform highly accurate quantization is as follows.
The output of the quantization circuit 3 can be determined by formula (12), which is equal to formula (1), the quantization width at the next sampling time can be determined by formula (13), which is equal to formula (8), and the above-mentioned This will be clearer from what has been detailed in the principle section of the invention. Next, the configuration of the quantization circuit 3 used in FIG. 3 will be described. In the following, for the sake of simplicity, a case will be described in which an input signal equivalent to 4 bits is quantized into an output signal of 2 bits. The quantization circuit 3 can use a read-only memory (ROM). The 4-bit input signal is
Assuming that the signal is supplied to the lower 4 bits of the address input terminal of the ROM and a 2-bit output signal is output from the lower 2 bits of the ROM output terminal, the contents of the ROM for configuring the quantization circuit 3 are as shown in Table 2. It becomes like this. However, the input signals added to the address are the 2nd and 3rd bits from LBS as signal values.
It is assumed that there is a decimal point between the bits, and the output of the quantization circuit is considered to be rounded down to an integer value.

【表】 第3図の量子化幅決定回路6の構造を第4図に
示す。第4図において、量子化幅決定回路6は、
量子化符号入力端子11、量子化幅基準入力端子
12、現在の量子化幅入力端子13、乗数発生回
路14、除算器15、β乗演算回路16、乗算器
17および18、出力端子19とから構成されて
いる。除算器15は第3図の除算器2と同一構成
を有している。また、乗数発生回路14は第3図
の量子化回路3に利用したROMが利用でき、こ
の場合、アドレスは入力信号njをそのまま接続
し、アドレスnjの内容は表1に示したM(nj)の
値に設定する。さらに、β乗演算回路も前述の
ROMが利用できる。この場合入力信号は小数も
許容されるため、LSBからlビツト目に小数点
がある形式とすれば、入力信号に2lを乗じて整数
とした数値のアドレスに、入力信号をβ乗した値
を格納すればよい。 いま、時刻jでの量子化幅Δjが端子13から
入力され、量子化幅基準信号ΔSjが端子12から
入力された場合、除算器15ではΔj/ΔSjが演算
され出力される。この信号はβ乗演算回路16に
加えられ、出力として(Δj/ΔSj)〓となつた信号
を得る。この信号は乗算器17により端子12か
ら加えられたΔSjと乗ぜられ(Δj/ΔSj)〓・ΔSj

る。一方、端子11から入力された量子化符号nj
は乗数発生回路14に入力され、M(nj)となり、
乗算器18に与えられる。乗算器18では、この
信号と乗算器17の出力信号とが乗ぜられ、この
結果、出力端子19には(Δj/ΔSj)〓・ΔSj・M
(nj)が出力される。この結果は式(13)と一致し、
第4図の回路が量子化幅決定回路6の動作を行な
うことが明らかであろう。 第5図は、第3図に使用された量子化基準発生
回路5のブロツク図である。図において、量子化
基準発生回路5は、量子化符号入力端子20、量
子化幅入力端子21、逆量子化回路22、乗算器
23および24、デイジタル低域フイルタ25、
出力端子26とから構成されている。第5図にお
いて、乗算器23および24は第4図の乗算器1
7および18と同一のハードウエアが利用でき
る。またデイジタル低域フイルタ25の構成の詳
細は、1975年Prentice―Hall、Inc、Englewood
Cliffs、New Jersey発行の“Theory and
Application of Digital Signal Processing”の
第306頁Fig.5.10を参照できる。逆量子化回路2
2は第3図の量子化回路3と同じROMが利用で
きるが、その内容は異なり、表2に対応する逆量
子化回路のROM内容を現す表を表3に示す。た
だし、ROMの内容はLSBから2ビツト目と3ビ
ツト目に小数点がある。この結果njの入力に対し
(nj+1/2)が出力され、式(3)をΔjで除した値
を再現する。
[Table] FIG. 4 shows the structure of the quantization width determining circuit 6 of FIG. 3. In FIG. 4, the quantization width determining circuit 6 is
From a quantization code input terminal 11, a quantization width reference input terminal 12, a current quantization width input terminal 13, a multiplier generation circuit 14, a divider 15, a β power calculation circuit 16, multipliers 17 and 18, and an output terminal 19. It is configured. Divider 15 has the same configuration as divider 2 in FIG. Furthermore, the multiplier generating circuit 14 can use the ROM used in the quantization circuit 3 shown in FIG. Set to the value of Furthermore, the β power calculation circuit is also
ROM is available. In this case, decimal numbers are also allowed for the input signal, so if the format is such that there is a decimal point on the lth bit from the LSB, the value obtained by multiplying the input signal by 2 l and making it an integer is the value of the input signal raised to the β power. Just store it. Now, when the quantization width Δj at time j is input from the terminal 13 and the quantization width reference signal ΔSj is input from the terminal 12, the divider 15 calculates Δj/ ΔSj and outputs it. This signal is applied to the β-power calculation circuit 16, and a signal (Δj/ΔSj) is obtained as an output. This signal is multiplied by ΔSj added from the terminal 12 by the multiplier 17, resulting in (Δj/ ΔSj )〓· ΔSj . On the other hand, the quantization code nj input from terminal 11
is input to the multiplier generating circuit 14 and becomes M(nj),
is applied to multiplier 18. The multiplier 18 multiplies this signal by the output signal of the multiplier 17, and as a result, the output terminal 19 receives (Δj/ ΔSj )〓・ΔSj・M
(nj) is output. This result agrees with equation (13),
It will be clear that the circuit of FIG. 4 performs the operation of the quantization width determination circuit 6. FIG. 5 is a block diagram of the quantization reference generation circuit 5 used in FIG. In the figure, the quantization standard generation circuit 5 includes a quantization code input terminal 20, a quantization width input terminal 21, an inverse quantization circuit 22, multipliers 23 and 24, a digital low-pass filter 25,
It is composed of an output terminal 26. In FIG. 5, multipliers 23 and 24 are multipliers 1 in FIG.
The same hardware as 7 and 18 is available. Details of the configuration of the digital low-pass filter 25 can be found in the 1975 Prentice-Hall, Inc., Englewood
“Theory and
You can refer to Fig. 5.10 on page 306 of “Application of Digital Signal Processing”. Inverse quantization circuit 2
2 can use the same ROM as the quantization circuit 3 in FIG. 3, but its contents are different. Table 3 shows the ROM contents of the inverse quantization circuit corresponding to Table 2. However, the contents of the ROM have decimal points at the second and third bits from the LSB. As a result, (nj+1/2) is output for input nj, reproducing the value obtained by dividing equation (3) by Δj.

【表】 いま、第5図において入力端子20に量子化符
号njが入力された場合を考える。量子化符号njは
逆量子化回路22により数値表現精度(ビツト
数)を高められ、この信号は乗算器23により、
端子21から加えられた量子化幅Δjが乗ぜられ
入力信号xjを再現する。この再現された信号xjは
乗算器24により2乗され、低域通過フイルタ2
5により以前から入力されている{x2 i|i=0、
1、……P}の直流分が抽出される。この様に入
力信号の2乗値を低域フイルタに通した出力は、
その信号の短時間的なエネルギーを表わしてい
る。このフイルタ25の出力信号がΔSjである。 以上のように、本発明に従えば伝送路ビツト誤
りに強く、高精度に量子化符号が可能な適応量子
化器が実現できる。 本発明の説明に用いた第3図の固定量子化回路
3は表2に従つて、式(1)を満足する直線量子化回
路を実現するものであるが、入力信号の性質が予
め定まつている場合、非直線量子化回路の使用に
より量子化精度をさらに向上できる。この場合、
表2のROMの内容に於て、連続して同じ内容と
なるデータの個数を変えれば非直線量子化が可能
である。このような変更を行なつても、前述した
本発明の原理から明らかなように、本発明の利点
である伝送路ビツト誤りに強く、高精度に量子化
するという性質は失なわれない。このため、この
ような変更も本発明の一部である。 本発明に用いた第5図のレベル検出器は、量子
化符号njを逆量子化回路を用いて入力信号を再生
してエネルギー計算を行なつたが、信号レベルが
大きくなるにつれ量子化回路が過負荷になり易
く、また、信号レベルが小さくなるにつれ桁落ち
が起り易くなることは、適応量子化回路に於ても
短時間的には発生しているため、量子化符号njを
直ちに2乗し、低域フイルタに通す方法も可能で
ある。この場合、第5図の逆量子化回路22、乗
算器23および端子21が省略される。また、信
号を2乗して低域フイルタに通すかわりに、信号
の絶対値を低域フイルタに通してエネルギー計算
をする方法も可能である。上記の種々の変更に関
しても、本発明の利点である伝送路ビツト誤りに
強く、高精度に量子化するという性質は変わらな
い。 次に本発明の適応逆量子化回路を第6図を参照
して説明する。第6図に示す適応逆量子化回路
は、標本化時刻毎に入力される量子化符号を逆量
子化する逆量子化回路31と、逆量子化回路31
の出力を被乗数とする乗算器36と、入力された
量子化符号から量子化基準値を発生する量子化基
準発生回路34と、入力量子化符号、後述する量
子化基準値および乗算器36の乗数(量子化幅)
より、次の標本時刻における乗算器36の乗数
(量子化幅)を決定する。量子化幅決定回路35
と、量子化符号からシラブルに応じた速度で変化
する量子化基準発生回路34とからなる。逆量子
化回路31は第5図の逆量子化回路22と同一で
あり、量子化幅決定回路35は第4図の回路が利
用できる。また、量子化基準発生回路34は第5
図に示す回路が利用できる。さらに、乗算器36
は第5図の乗算器23と同一のものである。 いま端子30に量子化符号njが入力されると、
逆量子化回路31により、表現精度(ビツト数)
を高められた数値に変換し、この時刻における量
子化幅Δjを乗じられる。第5図の説明より、量
子化回路31の出力は(nj+1/2)であつたか
ら、出力端子32には(nj+1/2)Δjが出力さ
れ、式(3)のx^jが出力されることになる。 一方、量子化幅決定回路35では、端子Aより
入力されたΔj、端子Bより入力されたnj、端子C
に入力されたΔSjより、次の標本時刻で用いるべ
き量子化幅を (Δj/ΔSj)〓・ΔSj・M(nj) という演算により計算し、端子Dより出力する。 また、量子化基準発生回路34では量子化符号
njと量子化幅Δjよりx^jを再現して入力信号のエ
ネルギー値を更新し、量子化基準ΔSjとして出力
する。 この様な構成による適応逆量子化回路が伝送路
ビツト誤りの影響に強くかつ高精度に逆量子化で
きることは前記本発明の原理の説明の部分に詳述
している。なお、適応逆量子化回路においても、
適応量子化回路の構成において述べたように、量
子化回路31の非線形逆量子化回路への変更、量
子化基準発生回路34の演算の簡素化などの変更
が適用できる。 また、適応量子化および逆量子化は、他の種々
の帯域圧縮方式と組合せ利用できるが、このよう
な組合わせの利用においても本発明の原理を用い
るものは本発明の一部である。この様な組合せの
一例としては、予測器を用いて次標本の標本値を
予測し、入力信号と予測結果の差を量子化して伝
送する差分符号化があり、このような差分符号化
において本発明の原理を用いるものも本発明の一
部である。 さらに、本発明の適応量子化および適応逆量子
化回路を信号処理用マイクロプロセツサのソフト
ウエアとして実現する場合も同様の効果が得ら
れ、本発明の一部である。
[Table] Now, consider the case where the quantization code nj is input to the input terminal 20 in FIG. The numerical expression precision (number of bits) of the quantization code nj is increased by the inverse quantization circuit 22, and this signal is processed by the multiplier 23 as follows.
It is multiplied by the quantization width Δj applied from the terminal 21 to reproduce the input signal xj. This reproduced signal xj is squared by a multiplier 24 and passed through a low-pass filter 2.
{x 2 i | i=0, which was previously input by 5.
1,...P} is extracted. In this way, the output of passing the square value of the input signal through the low-pass filter is
It represents the short-term energy of the signal. The output signal of this filter 25 is ΔSj. As described above, according to the present invention, it is possible to realize an adaptive quantizer that is resistant to transmission path bit errors and capable of generating quantized codes with high precision. The fixed quantization circuit 3 shown in FIG. 3 used to explain the present invention realizes a linear quantization circuit that satisfies formula (1) according to Table 2, but the fixed quantization circuit 3 shown in FIG. quantization accuracy can be further improved by using a nonlinear quantization circuit. in this case,
Non-linear quantization is possible by changing the number of consecutive pieces of data that have the same content in the ROM content shown in Table 2. Even if such a change is made, as is clear from the principle of the present invention described above, the advantages of the present invention, such as being strong against transmission line bit errors and performing quantization with high accuracy, will not be lost. Therefore, such changes are also part of the invention. The level detector shown in FIG. 5 used in the present invention calculates energy by regenerating the input signal from the quantization code nj using an inverse quantization circuit, but as the signal level increases, the quantization circuit Adaptive quantization circuits tend to be overloaded and also tend to lose digits as the signal level decreases, which also occurs for a short period of time, so the quantization code nj is immediately squared. However, it is also possible to pass the signal through a low-pass filter. In this case, the inverse quantization circuit 22, multiplier 23 and terminal 21 shown in FIG. 5 are omitted. Furthermore, instead of squaring the signal and passing it through a low-pass filter, it is also possible to calculate the energy by passing the absolute value of the signal through a low-pass filter. Even with the above-mentioned various changes, the advantages of the present invention, which are strong against bit errors in the transmission line and highly accurate quantization, remain unchanged. Next, the adaptive inverse quantization circuit of the present invention will be explained with reference to FIG. The adaptive dequantization circuit shown in FIG.
a multiplier 36 whose multiplicand is the output of the quantization code, a quantization reference generation circuit 34 which generates a quantization reference value from the input quantization code, the input quantization code, the quantization reference value described later, and the multiplier of the multiplier 36. (quantization width)
Accordingly, the multiplier (quantization width) of the multiplier 36 at the next sampling time is determined. Quantization width determination circuit 35
and a quantization reference generation circuit 34 that changes the quantization code at a speed corresponding to the syllable. The dequantization circuit 31 is the same as the dequantization circuit 22 shown in FIG. 5, and the circuit shown in FIG. 4 can be used as the quantization width determination circuit 35. Further, the quantization standard generation circuit 34
The circuit shown in the figure can be used. Furthermore, the multiplier 36
is the same as the multiplier 23 in FIG. Now, when the quantization code nj is input to the terminal 30,
Expression accuracy (number of bits) is improved by the inverse quantization circuit 31.
is converted to a higher value and multiplied by the quantization width Δj at this time. From the explanation of FIG. 5, since the output of the quantization circuit 31 was (nj + 1/2), (nj + 1/2) Δj is output to the output terminal 32, and x^j of equation (3) is output. It turns out. On the other hand, in the quantization width determination circuit 35, Δj input from terminal A, nj input from terminal B, and terminal C
The quantization width to be used at the next sampling time is calculated from the input ΔSj by the following calculation: (Δj/ ΔSj )〓· ΔSj ·M(nj), and is output from the terminal D. In addition, the quantization standard generation circuit 34 also generates a quantization code.
x^j is reproduced from nj and the quantization width Δj, the energy value of the input signal is updated, and the result is output as the quantization standard ΔSj. The fact that the adaptive inverse quantization circuit having such a configuration is resistant to the influence of bit errors on the transmission line and can perform inverse quantization with high accuracy is detailed in the above description of the principles of the present invention. Note that also in the adaptive inverse quantization circuit,
As described in the configuration of the adaptive quantization circuit, changes such as changing the quantization circuit 31 to a nonlinear inverse quantization circuit and simplifying the calculation of the quantization reference generation circuit 34 can be applied. Further, adaptive quantization and inverse quantization can be used in combination with various other band compression methods, and the use of the principles of the present invention even in the use of such a combination is part of the present invention. An example of such a combination is differential encoding, in which a predictor is used to predict the sample value of the next sample, and the difference between the input signal and the predicted result is quantized and transmitted. It is also part of the invention that uses the principles of the invention. Further, similar effects can be obtained when the adaptive quantization and adaptive inverse quantization circuits of the present invention are implemented as software for a signal processing microprocessor, and are a part of the present invention.

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

第1図は従来の適応量子化および逆量子化方法
の説明図、第2図は本発明の適応量子化および適
応逆量子化方法の説明図、第3図は本発明の適応
量子化器を示すブロツク図、第4図は第3図の量
子化幅決定回路6の詳細図、第5図は第3図の量
子化基準発生回路5の詳細図および第6図は本発
明の適応逆量子化器を示すブロツク図である。 第3図において、2…除算器、3…量子化回
路、5…量子化基準発生回路、6…量子化幅決定
回路である。第6図において、31…逆量子化回
路、34…量子化基準発生回路、35…量子化幅
決定回路、36…乗算器である。
FIG. 1 is an explanatory diagram of the conventional adaptive quantization and inverse quantization method, FIG. 2 is an explanatory diagram of the adaptive quantization and adaptive inverse quantization method of the present invention, and FIG. 3 is an explanatory diagram of the adaptive quantization and inverse quantization method of the present invention. 4 is a detailed diagram of the quantization width determination circuit 6 of FIG. 3, FIG. 5 is a detailed diagram of the quantization reference generation circuit 5 of FIG. 3, and FIG. FIG. 2 is a block diagram showing a converter. In FIG. 3, 2...divider, 3...quantization circuit, 5...quantization reference generation circuit, and 6...quantization width determination circuit. In FIG. 6, 31...inverse quantization circuit, 34... quantization reference generation circuit, 35... quantization width determination circuit, 36... multiplier.

Claims (1)

【特許請求の範囲】 1 量子化基準値ΔSjと、現在の標本化時刻(j)に
おける量子化幅Δjおよび量子化符号njにより定ま
る乗数M(nj)とから、次の標本化時刻(j+1)
における量子化幅Δj+1を Δj+1=(Δj/ΔSj)〓・ΔSj・M(nj)(0<β<
1) により定め、この量子化幅を用いて適応的に量子
化逆量子化を行なう適応量子化及び逆量子化方法
において、前記量子化符号njを逆量子化して得ら
れた逆量子化信号のエネルギーを求め、このエネ
ルギーが大なるときは前記ΔSjを大に、小なると
きはΔSjを小とすることを特徴とする適応量子化
及び逆量子化方法。 2 量子化基準値ΔSjと、現在の標本化時刻(j)に
おける量子化幅Δjおよび量子化符号njにより定ま
る乗数M(nj)とから、次の標本化時刻(j+1)
における量子化幅Δj+1を Δj+1=(Δj/ΔSj)〓・ΔSj・M(nj)(0<β<
1) により定め、この量子化幅を用いて適応的に量子
化逆量子化を行なう適応量子化及び逆量子化装置
であつて、入力信号を後述する量子化幅決定回路
の現時刻での出力信号で除する除算器と前記除算
器出力信号を量子化し出力する量子化回路と前記
量子化回路の現在までの出力信号より入力信号の
エネルギーを求め、このエネルギーが大なるとき
は、前記ΔSjを大とし小なるときは前記ΔSjを小
にして出力する量子化基準発生回路と上記量子化
基準発生回路の出力及び現時刻での量子化幅と量
子化符号より、次の標本時刻での量子化幅を決定
する量子化幅決定回路とから少なくとも構成され
た適応量子化回路と、入力量子化符号を逆量子化
する逆量子化回路と同じく入力量子化符号より適
応量子化回路の入力信号エネルギーを計算し、計
算結果を量子化基準値として出力する量子化基準
発生回路と上記量子化基準発生回路の出力及び現
時刻での量子化幅及び入力量子化符号より、次の
標本時刻での量子化幅を決定する量子化幅決定回
路と上記量子化幅決定回路の現時刻での出力信号
と前記逆量子化回路出力を乗じて出力信号を発生
する乗算器とから少なくとも構成された適応逆量
子化回路とを有することを特徴とする適応量子化
及び逆量子化装置。
[Claims] 1. From the quantization reference value ΔS j and the multiplier M(n j ) determined by the quantization width Δ j and quantization code n j at the current sampling time (j), the next sampling Time (j+1)
The quantization width Δ j +1 in
1) In an adaptive quantization and dequantization method that adaptively performs quantization and dequantization using this quantization width, the dequantized signal obtained by dequantizing the quantization code n j An adaptive quantization and inverse quantization method characterized in that the energy of is determined, and when this energy is large, the above-mentioned ΔS j is made large, and when this energy is small, the above-mentioned ΔS j is made small. 2 From the quantization reference value ΔS j and the multiplier M(n j ) determined by the quantization width Δj and quantization code n j at the current sampling time (j), calculate the next sampling time (j+1)
The quantization width Δ j +1 in
1) An adaptive quantization and inverse quantization device that adaptively performs quantization and inverse quantization using this quantization width determined by The energy of the input signal is determined from the output signals of the divider that divides the signal, the quantization circuit that quantizes and outputs the output signal of the divider, and the output signal of the quantization circuit up to the present, and when this energy becomes large, the ΔS j From the output of the quantization reference generation circuit, the quantization width and the quantization code at the current time, the quantization reference generation circuit outputs the quantization reference generation circuit that increases ΔS j and reduces the ΔS j when it is smaller, and the quantization width and quantization code at the current time. An adaptive quantization circuit comprising at least a quantization width determining circuit that determines a quantization width, and an inverse quantization circuit that inversely quantizes an input quantization code, and an input signal of the adaptive quantization circuit from the input quantization code. From the quantization reference generation circuit that calculates the energy and outputs the calculation result as the quantization reference value, the output of the quantization reference generation circuit, the quantization width at the current time, and the input quantization code, the value at the next sampling time is calculated. An adaptive inverter comprising at least a quantization width determining circuit that determines a quantization width, and a multiplier that generates an output signal by multiplying the current output signal of the quantization width determining circuit by the output of the inverse quantization circuit. An adaptive quantization and inverse quantization device comprising a quantization circuit.
JP8349082A 1981-07-17 1982-05-18 Method and device for adaptive quantization Granted JPS58200647A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP8349082A JPS58200647A (en) 1982-05-18 1982-05-18 Method and device for adaptive quantization
AU86082/82A AU564770B2 (en) 1981-07-17 1982-07-16 Forward and inverse quantization by varying a reference step size
FR8212581A FR2509888B1 (en) 1981-07-17 1982-07-19 METHOD AND CIRCUIT FOR THE EXECUTION OF DIRECT AND INVERSE QUANTIFICATION BY VARIATION OF A REFERENCE PROGRESS STEP
US06/858,865 US4862173A (en) 1981-07-17 1986-05-01 Method and circuit for carrying out forward and inverse quantization by varying a reference step size

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8349082A JPS58200647A (en) 1982-05-18 1982-05-18 Method and device for adaptive quantization

Publications (2)

Publication Number Publication Date
JPS58200647A JPS58200647A (en) 1983-11-22
JPH0123971B2 true JPH0123971B2 (en) 1989-05-09

Family

ID=13803912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8349082A Granted JPS58200647A (en) 1981-07-17 1982-05-18 Method and device for adaptive quantization

Country Status (1)

Country Link
JP (1) JPS58200647A (en)

Also Published As

Publication number Publication date
JPS58200647A (en) 1983-11-22

Similar Documents

Publication Publication Date Title
KR950014622B1 (en) Input signal processing method
US4831636A (en) Coding transmission equipment for carrying out coding with adaptive quantization
US4703480A (en) Digital audio transmission
JPH0520930B2 (en)
JPH0519331B2 (en)
Dubnowski et al. Variable rate coding of speech
Cox et al. Multiple user variable rate coding for TASI and packet transmission systems
Jayant et al. Tree-Encoding of speech using the (M, L)-Algorithm and Adaptive Quantization
JPH0411054B2 (en)
US4847866A (en) Differential pulse code modulation scheme incorporating a reconstructed value constrainer
Boddie et al. Digital signal processor: Adaptive differential pulse-code-modulation coding
JPH0123971B2 (en)
JP2809524B2 (en) Digital transmission system synchronization
Virupaksha et al. Entropy-coded adaptive differential pulse-code modulation (DPCM) for speech
CN1460247A (en) ADPCM speech coding system with specific step-size adaptation
JPH0252280B2 (en)
JPS6257134B2 (en)
Dubnowski et al. Variable rate coding
JPS6237850B2 (en)
US6486810B1 (en) Method and apparatus for continuously variable slope delta modulation coding of signals
JP2507431B2 (en) ADPCM encoding / decoding method
JP3183743B2 (en) Linear predictive analysis method for speech processing system
JP2975764B2 (en) Signal encoding / decoding device
JPH0934493A (en) Acoustic signal encoding device, decoding device, and acoustic signal processing device
JP3102673B2 (en) Voice quality improvement device