JPH05289699A - Encoding and decoding device for signal - Google Patents

Encoding and decoding device for signal

Info

Publication number
JPH05289699A
JPH05289699A JP4095363A JP9536392A JPH05289699A JP H05289699 A JPH05289699 A JP H05289699A JP 4095363 A JP4095363 A JP 4095363A JP 9536392 A JP9536392 A JP 9536392A JP H05289699 A JPH05289699 A JP H05289699A
Authority
JP
Japan
Prior art keywords
multiplier
integrator
signal
output
adder
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.)
Granted
Application number
JP4095363A
Other languages
Japanese (ja)
Other versions
JP2975764B2 (en
Inventor
Tatsuo Inoue
健生 井上
Shozo Sugishita
正蔵 杉下
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP4095363A priority Critical patent/JP2975764B2/en
Priority to US08/045,426 priority patent/US5511095A/en
Publication of JPH05289699A publication Critical patent/JPH05289699A/en
Application granted granted Critical
Publication of JP2975764B2 publication Critical patent/JP2975764B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent an overflow and decrease quantization errors by decreasing inputs by a multiplier at the preceding stage of ADPCM encoding. CONSTITUTION:This device is equipped with an integrator 1 which makes high frequency components of a signal for reducing the variation width of an input signal hard to pass, an ADPCM(adaptive difference pulse code modulation) encoding part 2, a decoding part 3 which restores an encoded signal, and a differentiator 4 which passes the high frequency components passed little through the integrator 1, much and puts the frequency characteristics back to the original frequency characteristics. Then, the integrator 1 consists of a 1st multiplier (bit shifter) which reduces the input signal to a half level, an adder 12, and a 2nd multiplier (bit shifter) which reduces the output of the adder 12 to a half level, feeds it back to the adder 12 through a delay unit 14, and adds it to the output of the 1st multiplier 11. For example, even if the input signal varies in value greatly between unit samples, the value varying between the unit samples can be made small by this integrator 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は音声信号の帯域圧縮のた
めに用いられる適応差分パルス符号変調(Adaptive Dif
ferential Pulse Code Modulation-ADPCM)方式の
改良に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to adaptive differential pulse code modulation (Adaptive Dif) used for band compression of voice signals.
ferential pulse code modulation-ADPCM) method.

【0002】[0002]

【従来の技術】例えば特公昭63−5926号公報(H03
M3/04)には入力信号xjと予測値との差を求める減算器
と、この減算器出力を入力し適応的に変化する正規化係
数Δで除した後符号化し出力する適応型量子化器と、こ
の量子化器の出力を入力し復号器により復号した後正規
化係数を乗ずる適応型逆量子化器と、逆量子化器で正規
化係数を乗じた結果を入力し予測値を求めると共に復号
器の入力または出力を用いて予測値を求めるためのフィ
ルタの係数を修正する適応予測器とを適応予測形DPC
M装置が開示されている。
2. Description of the Related Art For example, Japanese Patent Publication No. 63-5926 (H03)
(M3 / 04), a subtracter for obtaining the difference between the input signal x j and the predicted value, and an adaptive quantization for inputting the output of this subtractor and dividing by the adaptively changing normalization coefficient Δ and then encoding and outputting , An adaptive dequantizer that inputs the output of this quantizer, decodes it with a decoder, and then multiplies it with a normalization coefficient, and the result of multiplying the normalization coefficient with the dequantizer, and obtains a predicted value And an adaptive predictor which modifies the coefficient of a filter for obtaining a predicted value using the input or output of the decoder and an adaptive predictive DPC
An M device is disclosed.

【0003】かかる技術は伝送路または記憶媒体でのエ
ラーに強く帯域圧縮特性も良くかつ装置の規模が極めて
小さくなる利点がある。
Such a technique has an advantage that it is resistant to an error in a transmission line or a storage medium, has a good band compression characteristic, and has an extremely small scale.

【0004】しかしながら上記公報の技術では、入力信
号の単位サンプル間で変動する値(X j-Xj-1) が大きい場
合には、予測誤差ejが大きくなり、量子化幅(正規化係
数)Δも大きくなるため量子化誤差が大きくなる欠点が
あった。
However, in the technique of the above publication, the input signal is
Value (X j-Xj-1) Is large
The prediction error ejBecomes larger, the quantization width (normalization coefficient
(Number) Δ is also large, so the quantization error is large.
there were.

【0005】[0005]

【発明が解決しようとする課題】本発明は上記従来技術
に問題点に鑑みてなされたものであり、入力信号の符号
化時に量子化誤差が大きくなるのを抑制する手段を提供
することである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems in the prior art, and it is an object of the present invention to provide means for suppressing an increase in quantization error when an input signal is encoded. .

【0006】[0006]

【課題を解決するための手段】本発明は、入力信号を符
号化により圧縮する適応差分パルス符号変調符号器と、
圧縮された信号を元の信号に復元する適応差分パルス符
号変調復号器と、前記符号器の前段に設けられて該符号
器に入力される信号の変動を吸収する積分器と、前記復
号器の後段に設けられ前記積分器の逆フィルターの働き
をなす微分器と、によって構成されるものである。
SUMMARY OF THE INVENTION The present invention is an adaptive differential pulse code modulation encoder for compressing an input signal by encoding,
An adaptive differential pulse code modulation decoder that restores a compressed signal to an original signal, an integrator that is provided in the preceding stage of the encoder to absorb fluctuations of a signal input to the encoder, and a decoder of the decoder. And a differentiator provided in a subsequent stage and functioning as an inverse filter of the integrator.

【0007】そして前記積分器は、該積分器においてオ
ーバーフローを抑制するために、入力信号の大きさを1
/2にする第1の乗算器あるいはビットシフト器と、こ
の第1乗算器の出力信号の大きさを1/2にする第2の
乗算器と、該第2の乗算器の出力をフィードバックし前
記第1の出力に加算する加算器とを有することが望まし
い。
The integrator sets the magnitude of the input signal to 1 in order to suppress overflow in the integrator.
The first multiplier or bit shifter for changing the output signal of the first multiplier to 1/2, the second multiplier for decreasing the output signal of the first multiplier to 1/2, and the output of the second multiplier are fed back. And an adder for adding to the first output.

【0008】[0008]

【作用】上記構成により、ADPCM符号器の前段に置
かれた積分器によって、入力信号のサンプル間で変動す
る値が小さくなり、予測誤差が小さくなる。したがって
量子化幅の値が小さくなって量子化誤差を減少させるこ
とができる。
With the above structure, the integrator placed in the preceding stage of the ADPCM encoder reduces the value that fluctuates between samples of the input signal and reduces the prediction error. Therefore, the value of the quantization width is reduced, and the quantization error can be reduced.

【0009】また積分器において、乗算器あるいはビッ
トシフト器は該積分器の出力のオーバーフローを抑制す
る。
Further, in the integrator, the multiplier or the bit shifter suppresses the overflow of the output of the integrator.

【0010】[0010]

【実施例】以下本発明の信号の符号化復号化装置をその
一実施例について図面に基づいて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the signal coding / decoding apparatus of the present invention will be described in detail below with reference to the drawings.

【0011】図1は符号化復号化装置の該略図を示し、
1は入力信号の変動幅を減少させるため該信号の高周波
成分を通過しにくくさせる積分器、2は該積分器1の出
力を入力とするADPCM符号化部、3は該符号化部2
の符号化信号を元の信号に復元する復号化部、4は前記
積分器1によって少ししか通過しなかった高周波成分を
多く通過させ、元の周波数特性に戻す微分器である。
FIG. 1 shows a schematic diagram of an encoding / decoding device,
Reference numeral 1 is an integrator that reduces the fluctuation range of the input signal to make it difficult for high-frequency components of the signal to pass therethrough.
The decoding unit 4 for restoring the encoded signal of 1 to the original signal is a differentiator that allows a large amount of high frequency components, which have been slightly passed by the integrator 1, to pass therethrough and restores the original frequency characteristics.

【0012】そして前記積分器1は、これに入力された
信号を1/2の大きさにする第1の乗算器(ビットシフ
ト器)11と、加算器12と、該加算器12の出力を1/2の
大きさにして遅延器14を介して前記加算器12へフィード
バックし、前記第1の乗算器11の出力に加算する第2の
乗算器(ビットシフト器)とより構成される。
The integrator 1 outputs the first multiplier (bit shifter) 11 for halving the signal input thereto, the adder 12, and the output of the adder 12. It is composed of a second multiplier (bit shifter) that reduces the size to ½ and feeds it back to the adder 12 via the delay device 14 and adds it to the output of the first multiplier 11.

【0013】一方前記微分器4は、前記復号化部3から
の出力を2倍する第3の乗算器41と、この乗算器41の出
力を入力とする第2の加算器42と、前記復号化部3の出
力を遅延させて前記加算器42へ出力し、その出力を乗算
器41の出力に加算する遅延器43とより構成される。
On the other hand, the differentiator 4 includes a third multiplier 41 that doubles the output from the decoding unit 3, a second adder 42 that receives the output of the multiplier 41, and the decoding unit. The delay unit 43 delays the output of the conversion unit 3 and outputs it to the adder 42, and adds the output to the output of the multiplier 41.

【0014】かかる構成において符号化側では入力信号
がまず積分器1を通る。それにより、例え入力信号が単
位サンプル間で値が大きく変動するものであっても、該
積分器1により単位サンプル間で変動する値は小さくな
る。
In such a structure, the input signal first passes through the integrator 1 on the encoding side. As a result, even if the input signal varies greatly between unit samples, the value that varies between unit samples by the integrator 1 becomes small.

【0015】また前記第1・第2の乗算器11、13により
信号の値を1/2にすることによって、積分器1からの
出力がオーバーフローすることはない。
Also, by halving the signal value by the first and second multipliers 11 and 13, the output from the integrator 1 does not overflow.

【0016】この構成により例えば16ビットの最大値
が入力された場合でも、第1乗算器11の出力は15ビ
ットとなり、第2乗算器13で更にビットシフトされた
第1乗算器11の出力に加算されるので、積分器1の出
力は16ビットを越える事はない。
With this configuration, even when a maximum value of 16 bits is input, for example, the output of the first multiplier 11 becomes 15 bits, and the output of the first multiplier 11 is further bit-shifted by the second multiplier 13. Since they are added, the output of the integrator 1 does not exceed 16 bits.

【0017】次に前記積分器1の出力信号がADPCM
符号化部2により符号化される。この時の符号化部2へ
の入力信号は、前記積分器1により単位サンプル間で変
動する値が小さいものになっているため、この符号化部
2では精度良く符号化され量子化誤差は小さいものにな
っている。
Next, the output signal of the integrator 1 is ADPCM.
It is encoded by the encoding unit 2. The input signal to the encoding unit 2 at this time has a small value that varies between unit samples by the integrator 1, so that the encoding unit 2 encodes it with high accuracy and a small quantization error. It has become a thing.

【0018】一方の復号化側ではまずADPCM復号化
部3により復号化される。そして復号化された信号は、
積分器1の逆フィルターになっている微分器4を通り出
力される。
On the one decoding side, first, the ADPCM decoding section 3 decodes. And the decoded signal is
It is output through a differentiator 4 which is an inverse filter of the integrator 1.

【0019】図2は前記図1のADPCM符号化部2及
び復号化部3の詳細を示すブロック図である。同図にお
いて符号化器2は、任意のサンプリング時の入力信号xn
と予測信号ynとの差分dnを次の数1により演算する加算
器21と、量子化幅Δn を決定する量子化幅決定部22と、
この量子化幅Δn と前記差分dnとにより符号化値Lnを次
の数2により求め、数3により量子化値qnを求める量子
化器23と、この量子化器23の出力から符号化値Lnを取り
出す符号化器24とを有する。
FIG. 2 is a block diagram showing the details of the ADPCM encoder 2 and decoder 3 shown in FIG. In the figure, the encoder 2 has an input signal x n at an arbitrary sampling time.
An adder 21 that calculates a difference d n between the prediction signal y n and the prediction signal y n , a quantization width determination unit 22 that determines a quantization width Δ n ,
From the output of the quantizer 23 and the quantizer 23, which obtains the coded value L n from the quantization width Δ n and the difference d n by the following equation 2 and the quantized value q n from equation 3 And an encoder 24 for extracting the encoded value L n .

【0020】[0020]

【数1】 [Equation 1]

【0021】[0021]

【数2】 [Equation 2]

【0022】[0022]

【数3】 [Equation 3]

【0023】前記符号化器24の出力Lnは前記量子化幅決
定部22にフィードバックされ、次の数4に基づいて次の
サンプリング時の量子化幅の変更がなされる。
The output L n of the encoder 24 is fed back to the quantization width determining unit 22, and the quantization width at the next sampling is changed based on the following equation (4).

【0024】[0024]

【数4】 [Equation 4]

【0025】前記数4において乗数M(Ln) は次の表1
(4ビット符号化の場合)に基づいて定まる数値であ
る。
In the above equation 4, the multiplier M (L n ) is shown in Table 1 below.
It is a numerical value determined based on (in the case of 4-bit encoding).

【0026】[0026]

【表1】 [Table 1]

【0027】25は前記量子化器23の出力qnと前記予測信
号ynとを加算し、次の数5によりwnを求める加算器であ
り、このwnが遅延器26を経て次のサンプリング時の予測
信号yn+1となる。
[0027] 25 adds the said prediction signal y n and the output q n of the quantizer 23, an adder for obtaining the w n by the following equation (5), the w n is following through the delay unit 26 It becomes the prediction signal y n + 1 at the time of sampling.

【0028】[0028]

【数5】 [Equation 5]

【0029】このようにして各サンプリング時後ごとに
得られた符号化値Lnが、復号化部3に入力される。
The coded value L n thus obtained after each sampling time is input to the decoding unit 3.

【0030】復号化部3は前記入力Lnにより前記表1に
基づいて量子化幅Δn を決定する量子化幅決定部31と、
この量子化幅Δn 及び前記入力Lnを用いて次の数6によ
り量子化値q'n を算出する復号化器32と、前記量子化値
q'n に予測信号y'n+1を加算して復号化値w'nを得る加
算器33とを有する。
[0030] and the quantization width determination unit 31 for determining a quantization width delta n based decoder 3 in Table 1 by the input L n,
A decoder 32 for calculating a quantized value q ′ n by the following equation 6 using the quantized width Δ n and the input L n , and the quantized value
by adding n + 1 'prediction signal y to n' q and an adder 33 to obtain a decoded value w 'n.

【0031】[0031]

【数6】 [Equation 6]

【0032】前記復号化値w'n は遅延器34を介して次の
サンプリング時の予測信号y'n+1 を得る。なお、これら
の演算は数7に表される。
The decoded value w ′ n is passed through the delay unit 34 to obtain the predicted signal y ′ n + 1 for the next sampling. It should be noted that these calculations are expressed in Equation 7.

【0033】[0033]

【数7】 [Equation 7]

【0034】ところで図2において入力される信号xn
もとの信号の変動幅を図1の積分器1により減少させた
ものであり、加算器21によって得られる差分すなわち予
測誤差dnは小さくなっている。したがって量子化器23あ
るいは符号化器24で得られる符号化値Lnの信頼性が高く
なり、量子化値qnの誤差、すなわち量子化誤差が小さい
符号化復号化装置が得られる。
The input signal x n in FIG. 2 is obtained by reducing the fluctuation width of the original signal by the integrator 1 in FIG. 1, and the difference obtained by the adder 21, that is, the prediction error d n is small. Has become. Therefore, the reliability of the coded value L n obtained by the quantizer 23 or the encoder 24 becomes high, and an encoding / decoding device with a small error in the quantized value q n , that is, a quantization error, can be obtained.

【0035】そして積分器1及び微分器4のない従来の
装置により符号化復号化を行った場合と比較すると符号
化部2への入力と復号化部3からの出力信号とのS/N
比で5 〜6dB 程度の改善が見られ、且つ聴感的にも量子
化誤差が減少していることがわかった。
Then, as compared with the case where the encoding / decoding is performed by the conventional device without the integrator 1 and the differentiator 4, the S / N of the input signal to the encoding unit 2 and the output signal from the decoding unit 3 is S / N.
It was found that the ratio was improved by about 5 to 6 dB and that the quantization error was also reduced perceptually.

【0036】[0036]

【発明の効果】以上説明したように本発明はADPCM
符号化の前段で乗算器によって入力を減少させることに
より、符号化に伴うオーバーフローを阻止でき、また量
子化誤差を減少させることができ、単位サンプル間で入
力信号が大きく変動する場合にも効果的である符号化復
号化装置が得られる効果がある。
As described above, the present invention is ADPCM.
By reducing the input by the multiplier in the previous stage of encoding, it is possible to prevent the overflow due to encoding and also reduce the quantization error, which is also effective when the input signal fluctuates significantly between unit samples. There is an effect that the encoding / decoding device that is

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

【図1】本発明の信号の符号化復号化装置の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a signal coding / decoding apparatus of the present invention.

【図2】図1の符号化部及び復号化部の一実施例を示す
ブロック図である。
FIG. 2 is a block diagram showing an embodiment of an encoding unit and a decoding unit in FIG.

【符号の説明】[Explanation of symbols]

1 積分器 2 ADPCM符号化部 3 ADPCM復号化部 4 微分器 1 integrator 2 ADPCM coding unit 3 ADPCM decoding unit 4 differentiator

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力信号を符号化により圧縮する適応差
分パルス符号変調符号器と、圧縮された信号を元の信号
に復元する適応差分パルス符号変調復号器と、前記符号
器の前段に設けられて該符号器に入力される信号の変動
を吸収する積分器と、前記復号器の後段に設けられ前記
積分器の逆フィルターの働きをなす微分器と、よりなる
信号の符号化復号化装置。
1. An adaptive differential pulse code modulation encoder for compressing an input signal by coding, an adaptive differential pulse code modulation decoder for restoring a compressed signal to an original signal, and an upstream stage of the encoder. A coding / decoding apparatus for signals, which comprises an integrator that absorbs fluctuations in a signal input to the encoder, a differentiator that is provided at a subsequent stage of the decoder and functions as an inverse filter of the integrator.
【請求項2】 前記積分器は、該積分器においてオーバ
ーフローを抑制するために、入力信号の大きさを1/2
にする第1の乗算器あるいはビットシフト器と、この第
1乗算器の出力信号の大きさを1/2にする第2の乗算
器と、該第2乗算器の出力をフィードバックして前記第
1乗算器出力に加算する加算器とを有することを特長と
する請求項1記載の信号の符号化復号化装置。
2. The integrator reduces the magnitude of an input signal by half in order to suppress overflow in the integrator.
A first multiplier or a bit shifter, a second multiplier that reduces the magnitude of the output signal of the first multiplier to ½, and an output of the second multiplier by feeding back the output of the second multiplier. 2. The signal coding / decoding apparatus according to claim 1, further comprising an adder for adding the output to the 1 multiplier.
JP4095363A 1992-04-15 1992-04-15 Signal encoding / decoding device Expired - Fee Related JP2975764B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4095363A JP2975764B2 (en) 1992-04-15 1992-04-15 Signal encoding / decoding device
US08/045,426 US5511095A (en) 1992-04-15 1993-04-13 Audio signal coding and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4095363A JP2975764B2 (en) 1992-04-15 1992-04-15 Signal encoding / decoding device

Publications (2)

Publication Number Publication Date
JPH05289699A true JPH05289699A (en) 1993-11-05
JP2975764B2 JP2975764B2 (en) 1999-11-10

Family

ID=14135551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4095363A Expired - Fee Related JP2975764B2 (en) 1992-04-15 1992-04-15 Signal encoding / decoding device

Country Status (1)

Country Link
JP (1) JP2975764B2 (en)

Also Published As

Publication number Publication date
JP2975764B2 (en) 1999-11-10

Similar Documents

Publication Publication Date Title
US6721700B1 (en) Audio coding method and apparatus
JP3508146B2 (en) Digital signal encoding / decoding device, digital signal encoding device, and digital signal decoding device
CN1918632B (en) Audio encoding
US6353808B1 (en) Apparatus and method for encoding a signal as well as apparatus and method for decoding a signal
US8229741B2 (en) Method and apparatus for encoding audio data
RU2670797C9 (en) Method and apparatus for generating from a coefficient domain representation of hoa signals a mixed spatial/coefficient domain representation of said hoa signals
US6593872B2 (en) Signal processing apparatus and method, signal coding apparatus and method, and signal decoding apparatus and method
JPH06164414A (en) Method and device for orthogonal transformation operation and inverse orthogonal transformation operation and digital signal encoding and/or decoding device
US8160870B2 (en) Method, apparatus, program, and recording medium for long-term prediction coding and long-term prediction decoding
CN1918630B (en) Method and device for quantizing an information signal
de Marca An LSF quantizer for the North-American half-rate speech coder
US8576910B2 (en) Parameter selection method, parameter selection apparatus, program, and recording medium
EP0185095A1 (en) Digital signal transmission device
US6678653B1 (en) Apparatus and method for coding audio data at high speed using precision information
JPH05289699A (en) Encoding and decoding device for signal
RU2319222C1 (en) Method for encoding and decoding speech signal using linear prediction method
EP0723257B1 (en) Voice signal transmission system using spectral parameter and voice parameter encoding apparatus and decoding apparatus used for the voice signal transmission system
JP2774003B2 (en) Code excitation linear predictive encoder
JPS59129900A (en) Band division coding system
EP1564650A1 (en) Method and apparatus for transforming a digital audio signal and for inversely transforming a transformed digital audio signal
JP3010663B2 (en) Noise shaping circuit
JP2952878B2 (en) Digital signal processor
JP3183743B2 (en) Linear predictive analysis method for speech processing system
Maragos et al. Some experiments in ADPCM coding of images
JPS625378B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110903

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees