JPS61121620A - Error protection circuit of dpcm decoder - Google Patents
Error protection circuit of dpcm decoderInfo
- Publication number
- JPS61121620A JPS61121620A JP24372584A JP24372584A JPS61121620A JP S61121620 A JPS61121620 A JP S61121620A JP 24372584 A JP24372584 A JP 24372584A JP 24372584 A JP24372584 A JP 24372584A JP S61121620 A JPS61121620 A JP S61121620A
- Authority
- JP
- Japan
- Prior art keywords
- output
- adder
- circuit
- overflow
- error
- 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
Links
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は音声信号等の伝送帯域圧縮に係るD P CM
(Differential Pu1se Code
Modulation )復号器の誤り保護回路の構成
に関するものである。[Detailed Description of the Invention] Industrial Application Field The present invention relates to transmission band compression of audio signals, etc.
(Differential Pulse Code
Modulation) This relates to the configuration of the error protection circuit of the decoder.
従来の技術
DPCM復号器はDPCM符号器の局部回路として考え
られ、画像等各種の帯域圧縮技術として開発されてきた
。(電子通信学会編 電子通信・・ンドプノク 第16
編 第3部門 4.3)。BACKGROUND ART A DPCM decoder is considered as a local circuit of a DPCM encoder, and has been developed as a band compression technique for various types of images and the like. (Edited by the Institute of Electronics and Communication Engineers, Electronic Communication...Ndopunoku No. 16)
Edited by Section 3 4.3).
発明が解決しようとする問題点
DPCM符号化部をデジタル回路で構成する場合、次数
の高い処理では多数回の演算を要するため、演算回路で
の局部的なオーバーフローに注意する必要がある。Problems to be Solved by the Invention When the DPCM encoding unit is configured with a digital circuit, high-order processing requires a large number of calculations, so care must be taken against local overflow in the calculation circuit.
さらにオーバーロードすなわち入力の変化が大きい時に
、予測値との差分値が大きくなり加算回路で出力がオー
バーフローしてしまうのを防止する必要がある。このた
めに前置フィルターを入れて入力の変化を制限している
。Furthermore, when there is an overload, that is, a large change in the input, it is necessary to prevent the output from overflowing in the adder circuit due to a large difference value from the predicted value. For this purpose, a pre-filter is installed to limit changes in the input.
一方、DPCM復号器においてはDPCM符号器の局部
回路であるから基体的てはオーバーフローすることはな
い。On the other hand, since the DPCM decoder is a local circuit of the DPCM encoder, there is basically no overflow.
ところが、実際にはDPCM符号器からDPCM復号器
に至る伝送上で誤りが発生し、これによってDPCM復
号器の演算回路でオーバーフローを起してしまうことが
ある。However, in reality, errors may occur during transmission from the DPCM encoder to the DPCM decoder, which may cause an overflow in the arithmetic circuit of the DPCM decoder.
従来のDPCM復号器のブロック図を第5図に示す。誤
りデータが印加されると加算器2で演算出力がオーバー
フローする。このとき第6図のへ。A block diagram of a conventional DPCM decoder is shown in FIG. When error data is applied, the calculation output of the adder 2 overflows. At this time, go to Figure 6.
A2に示したように一般的に2の補数表現で量子化した
音声信号ではプラス側ピークからマイナス側ピークへあ
るいはその逆へ飛越すために、再生音に大きな雑音を発
生する。なお実線Tは実際の出力、破線工は理想演算の
出力である。As shown in A2, in general, an audio signal quantized using two's complement representation jumps from a plus side peak to a minus side peak or vice versa, which causes large noise in the reproduced sound. Note that the solid line T is the actual output, and the dashed line is the output of the ideal calculation.
本発明はこのような従来の問題点を解消するものであり
、簡単な構成で、伝送誤りによりオーバーフローしても
雑音を抑止出来るDPCM復号器の誤り保護回路を提供
するも”のである。The present invention solves these conventional problems and provides an error protection circuit for a DPCM decoder that has a simple configuration and can suppress noise even if an overflow occurs due to a transmission error.
問題点を解決するための手段
本発明のDPCM復号器の誤り保護回路は、オーバーフ
ローを検出する回路とこの出力に応じて加算器出力を定
数に置換えて予測器に印加する構成を備えたものであり
、さらには加算器出力のうちMSB側よりの数ビットを
定数に置換え残りを直接予測器に印加するように構成し
たものである。Means for Solving the Problems The error protection circuit for the DPCM decoder of the present invention is equipped with a circuit for detecting overflow and a configuration for replacing the adder output with a constant in accordance with this output and applying it to the predictor. Furthermore, several bits from the MSB side of the adder output are replaced with constants, and the remaining bits are directly applied to the predictor.
作 用
本発明は上記した構成により、誤りがあってオーバーフ
ローが生じるような状態の時、オーバーフロー検出出力
を発生し、これにより上限値あるいは下限値の定数に置
換えて予測器に印加するので、復号出力は上下限値でク
リップするようになり、逆極性ピークへの飛越しがなく
なるので、大きな雑音を防止できるよう作用する。According to the above-described configuration, the present invention generates an overflow detection output when an error occurs and an overflow occurs, and this output is replaced with a constant of the upper limit value or lower limit value and applied to the predictor. The output is now clipped at the upper and lower limits, and there is no jump to the opposite polarity peak, which works to prevent large noise.
実施例
第1図は本発明のDPCM復号器の誤り保護回路の一実
施例を示すプロ、り図である。第1図において、1は逆
量子化ROMであってデジタル入力端子からの非線形デ
ータを逆量子化して元の語長に戻す。2は加算器、5は
オーバーフロー検出器であって入力端子51.52およ
び63を有し、それぞれ加算器2の2つの入力と1つの
出力のMSBデータを取りこみオーバーフローを検出し
て出力端子54へ出力する。6はクリップ回路であって
入力端子61、制御入力端子62および出力端子63を
有する。3は予測器で出力の一部は加算器2へ入力され
全体として予測ループを構成している。4はD/A変換
器であり予測器3のデジタル出力をアナログ信号に変換
してアナログ出力端子へ出力する。Embodiment FIG. 1 is a diagram showing an embodiment of an error protection circuit for a DPCM decoder according to the present invention. In FIG. 1, 1 is a dequantization ROM which dequantizes nonlinear data from a digital input terminal to restore the original word length. 2 is an adder, and 5 is an overflow detector, which has input terminals 51, 52 and 63, takes in the MSB data of two inputs and one output of adder 2, detects an overflow, and sends it to an output terminal 54. Output. A clip circuit 6 has an input terminal 61, a control input terminal 62, and an output terminal 63. Reference numeral 3 denotes a predictor, and a portion of its output is input to an adder 2, forming a prediction loop as a whole. 4 is a D/A converter which converts the digital output of the predictor 3 into an analog signal and outputs it to an analog output terminal.
オーバーフロー検出器の動作について説明する。The operation of the overflow detector will be explained.
2の補数表現した4ビツトの符号の振幅は表1のように
なる。Table 1 shows the amplitude of a 4-bit code expressed in two's complement.
表2に正常な場合とオーバーフローの場合について演算
を示している。表2においてa およびす、は正常な場
合であり、C8はオーバーフロー、d、はアンダーフロ
ーの場合である。Table 2 shows calculations for normal cases and overflow cases. In Table 2, a and s are normal cases, C8 is an overflow case, and d is an underflow case.
すなわち加算器のそれぞれの入力のMSBと出力のMS
Bとからオーバーフローの検出が出来る。That is, the MSB of each input of the adder and the MSB of the output
Overflow can be detected from B.
これを表3に示す。This is shown in Table 3.
表3においてAおよびBは2つの入力のそれぞれのMS
BでありCは出力のMSBである。In Table 3, A and B are the respective MSs of the two inputs.
B and C is the MSB of the output.
またOVFおよびUDFはそれぞれオーバーフロー、ア
ンダー70−を、またNORは正常を示す。Further, OVF and UDF indicate overflow and under 70-, respectively, and NOR indicates normality.
(表2)
(表3)
(第1式)
%式%
(第2式)
Dl = UDF + NOR*lN1D2
= OVF + NOR*lN2D3 = O
VF + NOR*lN5Dn = OVF
+ NOR*INn従ってオーバー70−検出器6
は第1式の論理式による論理回路によって実現出来る。(Table 2) (Table 3) (1st formula) % formula% (2nd formula) Dl = UDF + NOR*lN1D2
= OVF + NOR*lN2D3 = O
VF + NOR*lN5Dn = OVF
+ NOR*INn therefore over 70 - detector 6
can be realized by a logic circuit based on the first logical formula.
またクリ、プ回路6は第2式の論理回路によって実現出
来るものである。第2式中IN1.IN2゜I N n
はクリップ回路入力61のデータ、Dl。Further, the clip circuit 6 can be realized by a logic circuit of the second formula. IN1 in the second formula. IN2゜I N n
is the data of the clip circuit input 61, Dl.
D2.、、Dnはクリップ回路出力63のデータである
+7+
このように検出出力64をクリップ回路6に印加し加算
器2の出力データを上下限値データに置換し、予測器3
およびD/A変換器4を通してアナログ出力端子へ出力
する。D2. ,, Dn is the data of the clip circuit output 63 +7+ In this way, the detection output 64 is applied to the clip circuit 6, the output data of the adder 2 is replaced with the upper and lower limit value data, and the predictor 3
and output to the analog output terminal through the D/A converter 4.
第3図は上記の動作をアナログ出力波形として示したも
のであり、誤りがあって限界値に達してもクリップして
雑音の発生を防止出来る。FIG. 3 shows the above operation as an analog output waveform, and even if there is an error and the limit value is reached, it can be clipped to prevent the generation of noise.
次に本発明の他の実施例忙ついて説明する。Next, other embodiments of the present invention will be explained.
第2図は他の実施例のDPCM復号器の誤り保護回路の
ブロック図であり、第1図と同一部は同一番号で示して
いる。FIG. 2 is a block diagram of an error protection circuit of a DPCM decoder according to another embodiment, and the same parts as in FIG. 1 are designated by the same numbers.
第1図と異なるのはクリップ回路6に側路64を設けた
点である。The difference from FIG. 1 is that a bypass 64 is provided in the clip circuit 6.
一般に丸め誤差を少なくするために演算語長を大きくす
るが本実施例では24ピツトとしており。Generally, the operation word length is increased to reduce rounding errors, but in this embodiment, it is set to 24 pits.
D/A変換器4への出力語長は16ビツトである。The output word length to the D/A converter 4 is 16 bits.
加算器2の出力語長24ビツトのうち上位8ビツトをク
リップ回路入力61′へ、残りを側路64へ印加する。Of the 24-bit output word length of the adder 2, the upper 8 bits are applied to the clip circuit input 61', and the remainder is applied to the bypass circuit 64.
オーバーフローの状態に応じてクリップされたクリップ
回路出力63′は、側路64のデータとともに予測器3
へ印加する。The clipping circuit output 63' clipped according to the overflow condition is sent to the predictor 3 along with the data of the bypass 64.
Apply to.
このように構成しただめクリップ時のアナログ出力波形
は第3図とは若干異なシ第4図のようになる。クリップ
波形にわずかな変動を生じる。これは上位8ビツトのみ
クリップされ下位16ビ。With this configuration, the analog output waveform at the time of clipping is as shown in FIG. 4, which is slightly different from FIG. 3. This causes slight fluctuations in the clipped waveform. This means that only the upper 8 bits are clipped and the lower 16 bits are clipped.
トはそのままになるためであるが、その振幅は全体の1
/256であり極めて小さい。しかもこのようにクリッ
プするのは信号振幅が犬きく、かつ誤りの多い時である
から変動は目立たない。This is because the amplitude remains the same, but its amplitude is 1 of the total.
/256, which is extremely small. Moreover, such clipping occurs when the signal amplitude is high and there are many errors, so the fluctuations are not noticeable.
なお本実施例ではD/A変換器4のデータを予測器3か
ら得るよう構成しているが、加算器2がら得るようにし
てもよい。In this embodiment, the data of the D/A converter 4 is obtained from the predictor 3, but it may also be obtained from the adder 2.
発明の効果
以上、詳細に説明したように、本発明にかかるDPCM
復号器の誤り保護回路によれば、(3)伝送誤りがあっ
てオーバー70−しても雑音を抑止出来。Effects of the Invention As explained in detail above, the DPCM according to the present invention
According to the error protection circuit of the decoder, (3) noise can be suppressed even if there is a transmission error over 70-.
申) 主要な上位ビットに限定して誤り保護をすること
によシ回路を簡単化出来るものである。By limiting error protection to the main upper bits, the circuit can be simplified.
第1図は本発明の一実施例におけるDPCM復号器の誤
り保護回路を示すブロック図、第2図は本発明の他の実
施例のDPCM復号器の誤り保護回路を示すブロック図
、第3図は本発明の一実施例における動作波形図、第4
図は本発明の他の実施例の動作波形図、第5図は従来の
DPCM復号器の誤り保護回路のブロック図、第6図は
その動作波形図である。
1・・・・・・逆量子化ROM、2・・・・・・加算器
、3・・・・・・予測器、4・・・・・・D/A変換器
、5・・・・・・オーバーフロー検出器、6・・・・・
クリップ回路、51,52゜53・・・・・・オーバー
フロー検出入力端子、54・・・・・・オーバーフロー
検出出力端子、61・・・・・クリノプ回路入力端子、
62・・・・・・クリップ回路制御入力端子、63・・
・・・・クリップ回路出力端子、64・・・・・・側路
。
代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図
第3図
j&幅
第4図
第5図FIG. 1 is a block diagram showing an error protection circuit of a DPCM decoder in one embodiment of the present invention, FIG. 2 is a block diagram showing an error protection circuit of a DPCM decoder in another embodiment of the invention, and FIG. is an operational waveform diagram in one embodiment of the present invention, No. 4
This figure is an operating waveform diagram of another embodiment of the present invention, FIG. 5 is a block diagram of an error protection circuit of a conventional DPCM decoder, and FIG. 6 is an operating waveform diagram thereof. 1...Dequantization ROM, 2...Adder, 3...Predictor, 4...D/A converter, 5...・・Overflow detector, 6・・・・
Clip circuit, 51, 52゜53...Overflow detection input terminal, 54...Overflow detection output terminal, 61...Clinop circuit input terminal,
62...Clip circuit control input terminal, 63...
...Clip circuit output terminal, 64...Side route. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure 3 J & Width Figure 4 Figure 5
Claims (2)
を備え、前記加算器の2入力と加算器出力とからオーバ
ーフローを検出する回路を設け、かつ前記オーバーフロ
ー検出回路の出力に応じて加算器出力を定数に置換えて
予測器に印加するように構成したことを特徴とするDP
CM復号器の誤り保護回路。(1) A circuit that includes a dequantization ROM, an adder, a predictor, and a D/A converter, and that detects an overflow from the two inputs of the adder and the output of the adder, and the output of the overflow detection circuit. DP characterized in that the adder output is replaced with a constant and applied to the predictor according to the
Error protection circuit for CM decoder.
に置換え残りを直接予測器に印加するように構成したこ
とを特徴とする特許請求の範囲第1項記載のDPCM復
号器の誤り保護回路。(2) Error protection of the DPCM decoder according to claim 1, characterized in that several bits from the MSB side of the adder output are replaced with constants and the remaining bits are directly applied to the predictor. circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24372584A JPS61121620A (en) | 1984-11-19 | 1984-11-19 | Error protection circuit of dpcm decoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24372584A JPS61121620A (en) | 1984-11-19 | 1984-11-19 | Error protection circuit of dpcm decoder |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61121620A true JPS61121620A (en) | 1986-06-09 |
Family
ID=17108058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24372584A Pending JPS61121620A (en) | 1984-11-19 | 1984-11-19 | Error protection circuit of dpcm decoder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61121620A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996041422A1 (en) * | 1995-06-07 | 1996-12-19 | Asahi Kasei Microsystems Co., Ltd. | Delta-sigma modulator |
-
1984
- 1984-11-19 JP JP24372584A patent/JPS61121620A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996041422A1 (en) * | 1995-06-07 | 1996-12-19 | Asahi Kasei Microsystems Co., Ltd. | Delta-sigma modulator |
GB2317064A (en) * | 1995-06-07 | 1998-03-11 | Asahi Kasei Microsystems Co Li | Delta-sigma modulator |
GB2317064B (en) * | 1995-06-07 | 1998-11-18 | Asahi Kasei Microsystems Co Li | Delta-sigma modulator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR950702731A (en) | Transmission system comprising at least a coder | |
US20040233085A1 (en) | Output filter for delta sigma modulator and digital signal processor provided with the same | |
JPH01177227A (en) | Sound coder and decoder | |
US6300890B1 (en) | Delta-sigma modulator and AD converter | |
JPS6016139B2 (en) | digital to analog converter | |
JPS61121620A (en) | Error protection circuit of dpcm decoder | |
JPH0715281A (en) | Noise shaping device | |
JPS6054581A (en) | Difference encoding device | |
JPH07183858A (en) | Voice coding device | |
JPH0715347A (en) | Coder and decoder | |
JP2006528858A (en) | Noise shaping apparatus and method with improved lossless compression and high audio quality for hi-fi audio | |
JP2562659B2 (en) | ADPCM signal decoding device | |
JPS623516A (en) | Digital filter circuit | |
JPH0918875A (en) | Data processor | |
JP3083119B2 (en) | Encoding / decoding circuit using adaptive delta modulation scheme | |
JPS6037657B2 (en) | DPCM device | |
JP2975764B2 (en) | Signal encoding / decoding device | |
JPS63301999A (en) | Voice decoder with error correcting function | |
KR0170205B1 (en) | Coding and decoding method and the circuit thereof | |
JPS6152699A (en) | Digital voice adder | |
JPS63172526A (en) | Adpcm voice detector | |
JP3183743B2 (en) | Linear predictive analysis method for speech processing system | |
KR0163904B1 (en) | D/a converter using digital signal delta | |
JPS6128223A (en) | Forecast coding device | |
JPH04334207A (en) | Prediction encoding device |