JPH0265527A - Adaptive delta modulation coder - Google Patents

Adaptive delta modulation coder

Info

Publication number
JPH0265527A
JPH0265527A JP21742488A JP21742488A JPH0265527A JP H0265527 A JPH0265527 A JP H0265527A JP 21742488 A JP21742488 A JP 21742488A JP 21742488 A JP21742488 A JP 21742488A JP H0265527 A JPH0265527 A JP H0265527A
Authority
JP
Japan
Prior art keywords
signal
step width
value
code
analog
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
JP21742488A
Other languages
Japanese (ja)
Inventor
Koji Fujimoto
藤本 好司
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP21742488A priority Critical patent/JPH0265527A/en
Publication of JPH0265527A publication Critical patent/JPH0265527A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize low cost through the elimination of a D/A converter or an A/D converter by obtaining an analog local decoding signal and comparing the signal with an analog input signal at the existing sampling so as to apply coding at the existing sampling. CONSTITUTION:While a gate signal having a pulse width proportional to a step width at the existing sampling based on a past code pattern is generated by a gate signal generating means and inputted to a gate terminal of a 3-state gate buffer, a code at the just preceding sampling is inputted to an input terminal of the 3-state gate buffer. When the code is a code representing it that the analog input signal is larger than a local decode signal, a pulse signal with a high level having a pulse width proportional to the step width is outputted and when the code is a code representing it that the analog input signal is smaller than a local decode signal, a pulse signal with a low level having a pulse width proportional to the step width is outputted. The signal outputted from the 3-state gate buffer is integrated by an analog integration device and a local decoding signal having a level difference proportional to the step width is outputted.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は、各種アナログ入力信号を符号化する適応デ
ルタ変調符号化装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to an adaptive delta modulation encoding device for encoding various analog input signals.

〈従来の技術〉 各種アナログ入力信号を符号化する際に、積分器に対し
て単位時間幅のパルス信号を入力し、このパルス信号を
積分した値に応じて局部復号値を一定のステップ幅だけ
増減することにより、局部復号値を入力信号の波高値に
追随させるデルタ変調符号化方式がある。
<Prior art> When encoding various analog input signals, a pulse signal with a unit time width is input to an integrator, and the locally decoded value is changed by a certain step width according to the value integrated with this pulse signal. There is a delta modulation coding method in which the locally decoded value follows the peak value of the input signal by increasing or decreasing the value.

ところが、上記デルタ変調符号化方式においては、アナ
ログ入力信号の波高値が急激に変化する場合には復号化
波形が十分に追従できなくなり傾斜過負荷中が生じる。
However, in the above-mentioned delta modulation encoding method, when the peak value of the analog input signal changes rapidly, the decoded waveform cannot sufficiently follow it, and a slope overload occurs.

そこで、符号化の際のステップ幅を過去の符号化結果に
基づいて適応的に増減する適応デルタ変調符号化方式が
ある。
Therefore, there is an adaptive delta modulation encoding method that adaptively increases or decreases the step width during encoding based on past encoding results.

従来、上記適応デルタ変調符号化方式を実現する適応デ
ルタ変調符号化装置としては、第4図に示すようなもの
がある。
Conventionally, there is an adaptive delta modulation and coding device as shown in FIG. 4 that implements the above adaptive delta modulation and coding method.

この適応デルタ変調符号化装置は、符号化時において、
入力端子101から入力されたアナログ入力信号はロー
パスフィルタ102を通って折り返し雑音が取り除かれ
る。そして、上記ローパスフィルタ102を通過した人
ツノ信号はカップリングコンデンサ103.抵抗+04
および抵抗1゜5から構成される回路に入力される。こ
の回路はアナログ入力信号の直流バイアスを設定するら
のであり、レベル設定されたアナログ入力信号Xを信号
線106に出力する。このアナログ入力信号Xの1番目
のサンプリング時における波高値をXjとする。アナロ
グ入力信号Xtはコンパレータ108の子端子に入力さ
れ、コンパレータ108の一端子に入力される局部復号
値iと比較される。その結果、アナログ入力信号Xiが
局部復号回路よりら大きい場合にはコンパレータ108
の出力端子から“ビカ咄力され、アナログ入力信号x(
が局部復号値iよりも小さい場合には“0”が出力され
る。
This adaptive delta modulation encoding device, at the time of encoding,
An analog input signal input from an input terminal 101 passes through a low-pass filter 102 to remove aliasing noise. The human horn signal that has passed through the low-pass filter 102 is connected to a coupling capacitor 103. Resistance +04
and a resistor of 1°5. This circuit sets the DC bias of the analog input signal, and outputs the level-set analog input signal X to the signal line 106. Let the peak value of this analog input signal X at the time of the first sampling be Xj. The analog input signal Xt is input to a child terminal of the comparator 108 and compared with the local decoded value i input to one terminal of the comparator 108. As a result, if the analog input signal Xi is greater than the local decoding circuit, the comparator 108
The analog input signal x (
is smaller than the local decoded value i, "0" is output.

上記コンパレータ108からの出力信号はシフトレジス
タ+10に入力され、クロック端子111から入力され
るサンプリングクロック信号によってシフトされる。そ
して、シフトレジスタ110の各フリップフロップから
の出力信号は、局部復号回路112に入力される。この
局部復号回路I12は、ディジタル回路で構成されてお
り、後に詳述するようにしてディジタル値の局部復号値
Xtを出力する。このディジタル値の局部復号値iはD
/A変換器109に入力されてアナログ値に変換される
。そして、変換後のアナログ信号が信号線107に出力
されて上述のようにコンパレータ108の一端子に入力
される。
The output signal from the comparator 108 is input to the shift register +10, and shifted by the sampling clock signal input from the clock terminal 111. The output signal from each flip-flop of the shift register 110 is input to the local decoding circuit 112. This local decoding circuit I12 is constituted by a digital circuit, and outputs a local decoded value Xt of a digital value as will be described in detail later. The locally decoded value i of this digital value is D
/A converter 109 and converted into an analog value. The converted analog signal is then output to the signal line 107 and input to one terminal of the comparator 108 as described above.

そして、上記シフトレジスタ110の最後のフリップフ
ロップからの出力信号が符号として記憶装置114に順
次記憶される。
Then, the output signal from the last flip-flop of the shift register 110 is sequentially stored in the storage device 114 as a code.

また、復号化時において、記憶装置+14に記憶された
符号が読み出され、上述の符号化における局部復号回路
1!2と同じ動作手順jこよって復号される。すなわち
、記憶装置114から読み出された符号はシフトレジス
タ+15に入力されて、サンプリングクロック信号に基
づいて、各フリプフロップにセットされている値が順次
シフトされ、シフトレジスタ+15の先頭のフリップフ
ロップにセットされる。シフトレジスタ115の各フリ
ップフロップからの出力信号は局部復号回路i17に入
力される。そして、この局部復号回路117から出力さ
れるディジタル値の局部復号値がD/A変換器118に
よってアナログ信号に変換され、ローパスフィルタ+1
9を通って出力端子120に出力される。ここで、ソフ
トレジスフ115局部復号回路+17.D/A変換器+
18およびローパスフィルタ+19は、符号化時におけ
るシフトレジスタ1103局部復号回路+ 12.D/
A変換器109およびローパスフィルタ+02と同じ動
作をするものである。
Further, during decoding, the code stored in the storage device +14 is read out and decoded using the same operation procedure j as that of the local decoding circuits 1 and 2 in the above-described encoding. That is, the code read from the storage device 114 is input to the shift register +15, and the values set in each flip-flop are sequentially shifted based on the sampling clock signal, and the values set in the flip-flops are shifted to the first flip-flop of the shift register +15. Set. The output signal from each flip-flop of shift register 115 is input to local decoding circuit i17. Then, the local decoded value of the digital value output from the local decoding circuit 117 is converted into an analog signal by the D/A converter 118, and the low-pass filter +1
9 and is output to the output terminal 120. Here, the soft register 115 local decoding circuit +17. D/A converter+
18 and low-pass filter +19 are the shift register 1103 local decoding circuit +12. D/
It operates in the same way as the A converter 109 and the low-pass filter +02.

次に、上記局部復号回路112,117による処理内容
について詳細に述べる。
Next, the contents of processing by the local decoding circuits 112 and 117 will be described in detail.

入力信号の波高値をX(、局部復号値を質、符号化コー
ドをC(、ステップ幅をΔLとすると、局部復号回路1
12,117の処理内容は、次式(1)によってステッ
プ幅Δtの値を求め、このステップ幅Δtの値を用いて
次の局部復号値i++を算出するものである。
If the peak value of the input signal is X(, the local decoding value is quality, and the encoding code is C(, and the step width is ΔL, then local decoding circuit 1
The processing contents of 12 and 117 are to obtain the value of the step width Δt using the following equation (1), and to calculate the next locally decoded value i++ using the value of this step width Δt.

Δを−「(Δt−1、Ct、Ct−1,”’、Ct−T
 ) −(+)xl≧資((471)のとき、’i+I
 = i+Δtx(<5(C(=0)のとき、貴+1=
’i−Δtである。
Δ - "(Δt-1, Ct, Ct-1,"', Ct-T
) −(+)xl≧equity((471), 'i+I
= i+Δtx(<5(C(=0), when +1=
'i-Δt.

ここで、式(1)で表されるステップ幅Δtの適応方法
は第1表に従って、次の3つの方式によって行われる。
Here, the step width Δt expressed by equation (1) is adapted using the following three methods according to Table 1.

第1表 指数圧伸法は、過去の符号パターンCL−2,Ct−1
=Ctに基づいて得られるpまたはqを1つ前のステッ
プ幅Δt−1に乗する方法である。また、定数法は、過
去の符号パターンCt−2,Ct−1=ctによって定
まる値Aiをステップ幅ΔLとして用いる方法である。
Table 1 Exponential companding method shows past code patterns CL-2, Ct-1
This is a method of multiplying p or q obtained based on =Ct by the previous step width Δt-1. Further, the constant method is a method in which a value Ai determined by past code patterns Ct-2, Ct-1=ct is used as the step width ΔL.

また定数加算法は、1つ前のステップ幅ΔL−1に過去
の符号パターンCt−2,CL+Ctに基づいて定数U
を加算または減算する方法である。
Further, in the constant addition method, a constant U is added to the previous step width ΔL-1 based on the past code patterns Ct-2 and CL+Ct.
This is a method of adding or subtracting.

すなわち、上記従来例において局部復号回路+1を算出
する場合は、ディジタル値として求められたステップ幅
Δtをディジタルの局部復号回路に加算した後に、D/
A変換器109によってアナログ値に変換するようにし
ている。この場合、上述とは異なる他の局部復号値算出
方法として、初めにアナログの入力信号をA/D変換器
によってディジタル信号に変換し、後の局部復号値算出
処理をすべてディジタル処理によって行う方法らある。
That is, when calculating the local decoding circuit +1 in the above conventional example, after adding the step width Δt obtained as a digital value to the digital local decoding circuit, D/
The A converter 109 converts it into an analog value. In this case, as another method for calculating local decoded values different from the above, there is a method in which an analog input signal is first converted into a digital signal by an A/D converter, and then the subsequent calculation of local decoded values is performed entirely by digital processing. be.

〈発明が解決しようとするtsts> しかしながら、上記従来の適応デルタ変調符号化装置は
ディジタル回路を中心に構成されており、特に局部復号
回路はディジタル値による局部復号値を出力するため、
この局部復号値とアナログ入力信号とをコンパレータで
比較するためには、ディジタル値である局部復号値をア
ナログ値に変換するか、あるいはアナログ値である入力
信号をデイジタル値に変換する必要がある。したがって
、高価なり/A変換器(あるいは、A/D変換器)を必
要とし、コスト高になるという問題がある。
<tsts to be solved by the invention> However, the conventional adaptive delta modulation encoding device described above is mainly configured with digital circuits, and in particular, the local decoding circuit outputs locally decoded values using digital values.
In order to compare this local decoded value and an analog input signal using a comparator, it is necessary to convert the local decoded value, which is a digital value, to an analog value, or to convert the input signal, which is an analog value, to a digital value. Therefore, there is a problem in that an expensive A/A converter (or A/D converter) is required, resulting in high costs.

そこで、この発明の目的は、D/A変換器(あるいは、
A/’D変換器)を省略して低コストで実現できる適応
デルタ変調符号化装置を提供することにある。
Therefore, an object of the present invention is to provide a D/A converter (or
An object of the present invention is to provide an adaptive delta modulation and coding device that can be realized at low cost by omitting an A/'D converter.

く課題を解決するための手段〉 上記目的を達成するため、この発明は、過去の符号パタ
ーンに基づいてステップ幅を適応的に変化させて得られ
る局部復号信号とアナログ入力信号とを比較して、上記
アナログ入力信号が上記局部復号信号より大きい場合に
は“ビあるいは“0”のいずれか一方の符号を出力する
一方、上記アナログ入力信号が上記局部復号信号より小
さい場合には上記“ビおよび“0”のいずれか他方の信
号を出力することによって、アナログ入力信号を符号化
する適応デルタ変調符号化装置において、少なくとも過
去の符号パターンに基づいて、現サンプリング時におけ
るステップ幅に比例したパルス幅を有するゲート信号を
作成するゲート信号作成手段と、高低2つの電位を出力
する状態と高インピーダンスの状態の3つの状態を持つ
と共に、ゲート端子に入力された上記ゲート信号と入力
端子に入力された直前のサンプリング時における符号と
に基づいて、直向のサンプリング時における符号が上記
一方の符号の場合には、上記ステップ幅に比例したパル
ス幅を有する高電位のパルス信号を出力する一方、直前
のサンプリング時における符号か上記他方の符号の場合
には、上記ステップ幅に比例したパルス幅を有する低電
位のパルス信号を出力する3ステートゲートバッファと
、上記3ステートゲートバッファから出力される上記ス
テップ幅に比例したパルス幅を有する高電位あるいは低
電位のパルス信号を積分し、上記ステップ幅に比例した
レベル差を有する上記局部復号信号を出力するアナログ
積分器を備えたことを特徴としている。
Means for Solving the Problems To achieve the above object, the present invention compares an analog input signal with a locally decoded signal obtained by adaptively changing the step width based on past code patterns. , when the analog input signal is larger than the local decoded signal, outputs either "bi" or "0", while when the analog input signal is smaller than the local decoded signal, the "bi" and "0" codes are output. In an adaptive delta modulation encoding device that encodes an analog input signal by outputting either the other signal of “0”, the pulse width is proportional to the step width at the current sampling time, based on at least a past code pattern. a gate signal generating means for generating a gate signal having a gate signal having three states, a state of outputting two high and low potentials, and a state of high impedance, and having the gate signal inputted to the gate terminal and the gate signal inputted to the input terminal. If the code at the time of direct sampling is one of the above codes, a high potential pulse signal having a pulse width proportional to the step width is output based on the code at the time of the immediately preceding sampling. In the case of the code at the time of sampling or the other code, a 3-state gate buffer outputs a low-potential pulse signal having a pulse width proportional to the step width, and the step width output from the 3-state gate buffer. The present invention is characterized by comprising an analog integrator that integrates a high-potential or low-potential pulse signal having a pulse width proportional to the step width and outputs the locally decoded signal having a level difference proportional to the step width.

く作用〉 過去の符号パターンに基づいて、現サンプリング時のス
テップ幅に比例したパルス幅を有するゲート信号がゲー
ト信号作成手段によって作成される。そして、このゲー
ト信号が3ステートゲートバッファのゲート端子に入力
される一方、上記3ステートゲートバッファの入力端子
には直前のサンプリング時における符号が入力される。
Effect> A gate signal having a pulse width proportional to the step width at the current sampling time is created by the gate signal creation means based on the past code pattern. This gate signal is input to the gate terminal of the 3-state gate buffer, while the code at the time of the previous sampling is input to the input terminal of the 3-state gate buffer.

そうすると、上記直前のサンプリング時における符号が
アナログ入力信号が局部復号信号よりも大きいことを表
す“ビあるいは“0”のいずれか一方の符号である場合
には、上記ステップ幅に比例したパルス幅を有する高電
位のパルス信号が出力される。
Then, if the code at the time of the previous sampling is either "bi" or "0" indicating that the analog input signal is larger than the locally decoded signal, then the pulse width proportional to the step width is A high potential pulse signal having a high potential is output.

一方、上記直前のサンプリング時における符号がアナロ
グ入力信号が局部復号信号よりも小さいことを表す上記
“ビあるいは“0゛のいずれか他方の符号である場合に
は、上記ステップ幅に比例したパルス幅を有する低電位
のパルス信号が出力される。
On the other hand, if the code at the time of the previous sampling is the other of the above "bi" or "0", which indicates that the analog input signal is smaller than the locally decoded signal, the pulse width is proportional to the step width. A low potential pulse signal having .

上記3ステートゲートバッファから出力された上記ステ
ップ幅に比例したパルス幅を有する高電位あるいは低電
位のパルス信号がアナログ積分器に入力される。そうす
ると、このアナログ積分器によって上記パルス信号が積
分されて、上記ステップ幅に比例したレベル差を有する
上記局部復号信号が出力される。
A high potential or low potential pulse signal having a pulse width proportional to the step width output from the three-state gate buffer is input to the analog integrator. Then, the analog integrator integrates the pulse signal and outputs the locally decoded signal having a level difference proportional to the step width.

したがって、ディジタル値による過去の符号パターンお
よび直前のサンプリング時における符号とに基づいて、
アナログ値による局部復号信号を得ることができる。そ
して、この局部復号信号と入力された現サンプリング時
のアナログ入力信号とが比較されて、現サンプリング時
の符号化が行われるのである。
Therefore, based on the past code pattern of digital values and the code at the previous sampling time,
Locally decoded signals with analog values can be obtained. Then, this locally decoded signal is compared with the input analog input signal at the time of the current sampling, and encoding at the time of the current sampling is performed.

〈実施例〉 以下、この発明を図示の実施例により詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments.

第1図は定数法の局部復号回路を使用した場合の適応デ
ルタ変調符号化装置のブッロク図である。
FIG. 1 is a block diagram of an adaptive delta modulation encoding device using a constant method local decoding circuit.

この適応デルタ変調符号化装置は、符号化時において、
入力端子201から入力されたアナログ入力信号はロー
パスフィルタ202を通って折り返し雑音が取り除かれ
、カップリングコンデンサ203、抵抗204および抵
抗205から構成される回路によってレベル設定されて
信号線206に出力される。ここで、を番目のサンプリ
ング時に信号線206に出力されるアナログ入力信号の
波高値をXjとする。このアナログ入力信号xtはコン
ハL/−夕208の子端子に入力され、コンパレータ2
08の一端子に入力される局部復号値i−1と比較され
る。その結果、アナログ入力信号χtが局部復号値5−
1よりも大きい場合にはコンパレータ208の出力端子
から“ビが出力され、アナログ入力信号xtが局部復号
側トlよりも小さい場合には“0”が出力される。上記
コンパレータ208からの出力信号Clは、クロック端
子2+1から入力されるサンプリングクロック信号CK
Iによって、各フリプフロップにセットされている値が
シフトされた後のシフトレジスタ210の最初のフリッ
プフロップに入力されてセットされる。そして、シフト
レジスタ230の最終のフリップフロップからの出力信
号が、入力信号を符号化した際の符号と して記憶装置214に記憶される。
This adaptive delta modulation encoding device, at the time of encoding,
An analog input signal input from an input terminal 201 passes through a low-pass filter 202 to remove aliasing noise, sets a level by a circuit consisting of a coupling capacitor 203, a resistor 204, and a resistor 205, and is output to a signal line 206. . Here, the peak value of the analog input signal output to the signal line 206 at the time of sampling is assumed to be Xj. This analog input signal xt is input to the child terminal of the converter L/-208,
It is compared with the local decoded value i-1 inputted to one terminal of 08. As a result, the analog input signal χt has a locally decoded value of 5−
If the analog input signal Cl is the sampling clock signal CK input from the clock terminal 2+1
I inputs and sets the value set in each flip-flop to the first flip-flop of the shift register 210 after being shifted. Then, the output signal from the last flip-flop of the shift register 230 is stored in the storage device 214 as a code obtained by encoding the input signal.

定数法によって局部復号値iを算出する場合には、シフ
トレジスタ210の各フリップフロップからの出力信号
Ct、Ct−1,Ct−2は、ROM(リードオンリメ
モリ)231のアドレス線に入力される。
When calculating the local decoded value i by the constant method, the output signals Ct, Ct-1, and Ct-2 from each flip-flop of the shift register 210 are input to the address line of the ROM (read-only memory) 231. .

ROM231には第1表に示す定数法におけるステップ
幅ΔLの値A、、At、Aff、A、が記憶されている
。ただし、その際にはA + 、 A t 、 A 3
 、 A 4の値には適当な定数がかけられて量子化さ
れて整数値に変換され、その整数値の数だけ連続した“
ビが書き込まれている。例えば、Al−0,5,A、=
1.0.A、=1.4.A、=2.3の場合には、2を
かけて四捨五入を行って、A I = I 、 A t
 = 2A3=3.A、=5と整数値にする。そして、
A。
The ROM 231 stores the values A, At, Aff, A of the step width ΔL in the constant method shown in Table 1. However, in that case, A + , A t , A 3
, A The value of A4 is multiplied by an appropriate constant, quantized, and converted to an integer value, and the number of consecutive "
B has been written. For example, Al-0,5,A,=
1.0. A,=1.4. In the case of A, = 2.3, multiply by 2 and round off to get A I = I, A t
=2A3=3. Set A to an integer value of =5. and,
A.

の場合には1個の“ビが記憶され、A、の場合には2個
の連続した“ビが記憶され、A3の場合には3個の連続
した“じが記憶され、A4の場合には5個の連続した“
ビが記憶される。そして、ROM23+の出力信号Ai
°が8ビツトの場合には、」二足A + 、 A t 
、 A s 、 A 4に対応して、AI”−”100
ooooo“、At’=“l 1000000”、A3
−I 1100000’、A、°=“11111000
”なる値が出力されるのである。
In the case of A, one "bi" is stored, in the case of A, two consecutive "bis" are stored, in the case of A3, three consecutive "bis" are stored, and in the case of A4. is 5 consecutive “
B is memorized. Then, the output signal Ai of ROM23+
If ° is 8 bits, ``two legs A + , A t
, A s , corresponding to A 4, AI”-”100
ooooo", At'="l 1000000", A3
-I 1100000', A, °="11111000
” is output.

上述のようなROM231からは、アドレス端子に入力
されるノットレジスタ210の各フリップフロップから
の出力信号Ct、Ct−1,Ct−2に基づいて、第1
表に示すように、(Ct、C(−4,Ct−2)=(0
,0,0)の場合には出力信号A4°が出力され、以下
同様にして(Ct、Ct−1=Ct−2)=(1,0,
I)の場合には出力信号A、°が出力される。このRO
M23+からの出力信号は、端子233からのセットク
ロックCK2に従ってシフ]・レジスタ232にセット
される。そして、端子234に加えられるシフトクロッ
ク信号CK3に従って図中左方向にシフトされてシフト
レジスタ232にセットされた値(A、’、A、’、A
、’、A、°のいずれかの値)が出力されるのである。
From the ROM 231 as described above, the first
As shown in the table, (Ct, C(-4, Ct-2) = (0
, 0, 0), output signal A4° is output, and in the same manner (Ct, Ct-1=Ct-2) = (1, 0,
In case I), the output signal A,° is output. This R.O.
The output signal from M23+ is set in the shift] register 232 according to the set clock CK2 from the terminal 233. Then, in accordance with the shift clock signal CK3 applied to the terminal 234, the value (A, ', A, ', A
, ', A, °) is output.

このシフトレジスタ232からの出力信号ΔL゛は3ス
テートのゲートバッファ235のゲート端子に入力され
る一方、このゲートバッファ235の入力端子にはシフ
トレジスタ210の最初のフリップ70ツブからの出力
信号(すなわち、符号(4)が入力される。すなわち、
上記ゲートバッフ235は、シフトレジスタ232から
の出力信号Δt°が“ビのときにはC(の値に相当する
出力信号ytを出力線236に出力し、出力信号Δt゛
が“0″のときにはゲートバッファ235の出力線23
6は高インピーダンスになり、出力線236に出力電流
は流れない。したがって、出力線236に出力される出
力信号ytはステップ幅Δtの値Aiに相当するパルス
幅を有する高電位あるいは低電位のパルス信号となる。
The output signal ΔL' from this shift register 232 is input to the gate terminal of a three-state gate buffer 235, while the input terminal of this gate buffer 235 is connected to the output signal from the first flip 70 of the shift register 210 (i.e. , code (4) is input. That is,
The gate buffer 235 outputs an output signal yt corresponding to the value of C( to the output line 236 when the output signal Δt° from the shift register 232 is “Bi”, and when the output signal Δt° is “0”, the gate buffer 235 Output line 23 of
6 becomes high impedance, and no output current flows through the output line 236. Therefore, the output signal yt output to the output line 236 becomes a high-potential or low-potential pulse signal having a pulse width corresponding to the value Ai of the step width Δt.

上記信号ytはアナログ積分器237に入力される。そ
うすると、ステップ幅Δtの値A1に相当するパルス幅
を有する信号ytはアナログ積分器237によって積分
されて、ステップ幅Δ[の値Aiに相当するレベル差を
有する信号が得られる。そして、この信号は局部復号回
路程としてコンパレータ208の一端子に出力される。
The signal yt is input to an analog integrator 237. Then, the signal yt having a pulse width corresponding to the value A1 of the step width Δt is integrated by the analog integrator 237 to obtain a signal having a level difference corresponding to the value Ai of the step width Δ[. This signal is then output to one terminal of the comparator 208 as a local decoding circuit.

コンパレータ208は一端子に入力されたステップ幅Δ
tの値Aiに相当するレベル差を有する局部復号回路と
入力端子201から入力されてローパスフィルタ202
を通過した次サンプリング時のアナログ入力信号Q+1
とを比較して、Xt +l≧iの場合には“ビを出力し
、x(+1 < 5の場合には“0°を出力する。そし
て、このコンパレータ208からの出力信号は、上述の
ように端子211に供給されるクロックパルス信号CK
Iによってシフトレジスタ210の最初のフリップフロ
ップに取り込まれる。このようにして、適応デルタ変調
の符号化が行われるのである。
The comparator 208 has a step width Δ input to one terminal.
It is input from the local decoding circuit having a level difference corresponding to the value Ai of t and the input terminal 201 and is passed through the low-pass filter 202.
Analog input signal Q+1 at the next sampling time after passing through
If Xt The clock pulse signal CK supplied to the terminal 211
I is loaded into the first flip-flop of shift register 210. In this way, adaptive delta modulation encoding is performed.

第2図は各サンプリングクロック信号CKI。FIG. 2 shows each sampling clock signal CKI.

セットクロック信号GK2.シフトクロツタ信号CK3
および各信号Ct、Δt’ 、ytのタイミングチャー
トを示す。シフトレジスタ232からの出力信号Δt゛
のパルス幅は、上述のように過去の符号パターンに基づ
いて決まる第1表に示すステップ幅Δtの値Aiに比例
する。したがって、このシフトレジスタ232からの出
力信号Δt゛と符号データ(4とから得られるゲートバ
ッファ235からの出力信号ytのパルス幅ら、ステッ
プ幅Δtの値Aiに比例する。すなわち、上記出力信号
ytを積分して得られる局部復号値iにおけるi−1と
へとのレベル差は、上記出力信号Ytのパルス幅(すな
わち、過去の符号パターンによって決まるステップ幅Δ
tの値Aiに相当)に比例した値となるのである。その
結果、過去3回同じ符号が続いた場合にはステップ値Δ
(が大きく設定されて局部復号性質が大きく変化され、
以下同様にして過去の符号パターンに基づいてステップ
値Δtが設定されて局部復号性質が変化されるのである
Set clock signal GK2. Shift block signal CK3
and a timing chart of each signal Ct, Δt', and yt. The pulse width of the output signal Δt' from the shift register 232 is proportional to the value Ai of the step width Δt shown in Table 1, which is determined based on the past code pattern as described above. Therefore, the pulse width of the output signal yt from the gate buffer 235 obtained from the output signal Δt' from the shift register 232 and the code data (4) is proportional to the value Ai of the step width Δt. That is, the output signal yt The level difference between i-1 and i in the local decoded value i obtained by integrating is determined by the pulse width of the output signal Yt (that is, the step width Δ determined by the past code pattern).
(equivalent to the value Ai of t). As a result, if the same sign continues three times in the past, the step value Δ
(is set large and the local decoding properties change greatly,
Thereafter, the step value Δt is similarly set based on the past code pattern, and the local decoding characteristics are changed.

次に、復号化時においては、符号化時において記憶装置
214に記憶された符号が読み出され、上述の符号化時
の場合に局部復号回路によって行われる処理の手順と全
く同禄の手順によって復号される。
Next, at the time of decoding, the code stored in the storage device 214 at the time of encoding is read out, and the code stored in the storage device 214 at the time of encoding is read out, using a procedure that is exactly the same as the processing procedure performed by the local decoding circuit in the case of encoding described above. Decrypted.

すなわち、記憶装置214から読み出された符号はシフ
トレジスタ215に入力され、クロック端子216から
入力されるクロック信号CKIに従って、各フリシブフ
ロップにセットされている符号がシフトされた後のシフ
トレジスタ215の先頭のフリシブフロップにセットさ
れる。シフトレジスタ2+5の各フリップフロップから
の出力信号Ct、Ct−1,Ct−2は、ROM241
のアドレス線に入力される。このROM241にはAi
′の値が記憶されており、アドレス線に入力される信号
Ct、 Ct−t、 Ct−2の値に応じたAi“の値
が出力される。
That is, the code read from the storage device 214 is input to the shift register 215, and the code set in each frisive flop is shifted according to the clock signal CKI input from the clock terminal 216. is set to the first frisib flop. The output signals Ct, Ct-1, and Ct-2 from each flip-flop of the shift register 2+5 are stored in the ROM 241.
is input to the address line of This ROM241 has Ai
' is stored, and a value of Ai' is output according to the values of the signals Ct, Ct-t, and Ct-2 input to the address lines.

上記ROM24+からの出力信号(本実施例の場合には
8ビツト)は、各ビット別にシフトレジスタ242の対
応する各フリップフロップに、クロック端子243から
のセットクロック信号CK2に従ってセットされる。そ
して、クロック端子244からのシフトクロック信号C
K3に従って左方向にソフトされ、シフトレジスタ24
2からの出力信号Δt′は3ステートのゲートバッファ
245のゲート端子に入力される。一方、ゲートバッフ
ァ245の入力端子には、ソフトレジスタ215の最初
のフリップフロップからの出力信号(すなわち、符号C
1)が入力される。そうすると、ゲートバッファ245
はシフトレジスタ242からの出力信号ΔL゛が“ビの
場合のみC(の値に相当する信号ytを出力線246に
出力する。しfこがって、出力信号ytはステップ幅Δ
tの値Aiに相当するパルス幅を有している。
The output signal (8 bits in this embodiment) from the ROM 24+ is set bit by bit in each corresponding flip-flop of the shift register 242 in accordance with the set clock signal CK2 from the clock terminal 243. Then, the shift clock signal C from the clock terminal 244
It is softed to the left according to K3, and the shift register 24
The output signal Δt' from 2 is input to the gate terminal of a 3-state gate buffer 245. On the other hand, the input terminal of the gate buffer 245 receives the output signal from the first flip-flop of the soft register 215 (i.e., code C
1) is input. Then, the gate buffer 245
outputs a signal yt corresponding to the value of C() to the output line 246 only when the output signal ΔL′ from the shift register 242 is “B”. Therefore, the output signal yt has a step width Δ
It has a pulse width corresponding to the value Ai of t.

上記出力線246に出力されたステップ幅Δtの値Ai
に相当するパルス幅を有する信号yLは、アナログ積分
器247に入力されて積分される。したがって、アナロ
グ積分器247から出力される局部復号信号iにおける
訂−1と質とのレベル差は、上記出力信号ytのパルス
幅(すなわち、過去の符号パターンによって決まるステ
ップ幅Δtの値Aiに相当)に比例した値となるのであ
る。すなわち、アナログ積分器247からの出力信号の
波形は第2図に示す局部復号回路貨の波形と同じ波形に
なる。このアナログ積分器247からの局部復号回路荘
はローパスフィルタ219を通って出力端子220から
復号化信号として出力される。
The value Ai of the step width Δt output to the output line 246
A signal yL having a pulse width corresponding to yL is input to an analog integrator 247 and integrated. Therefore, the level difference between the correction -1 and the quality in the local decoded signal i output from the analog integrator 247 corresponds to the pulse width of the output signal yt (i.e., the value Ai of the step width Δt determined by the past code pattern). ) is a value proportional to That is, the waveform of the output signal from the analog integrator 247 is the same as the waveform of the local decoding circuit shown in FIG. The local decoding circuit output from this analog integrator 247 passes through a low-pass filter 219 and is output as a decoded signal from an output terminal 220.

すなわち、本実施例の定数法における適応デルタ変調符
号化装置においては、3ステータスのゲートバッファ2
35,245によって、ディジタル値で表される過去の
符号パターンc t、 c t−+。
That is, in the adaptive delta modulation coding device using the constant method of this embodiment, the gate buffer 2 of 3 statuses is used.
The past code patterns c t, c t-+ are represented by digital values by 35,245.

C(−2に応じて適応的に変化するパルス幅を有する信
号y(を生成する。そして、この信号ytをアナログ積
分器によって積分することによって、過去の符号パター
ンc t、 c t−1,c t−2に応じてレベル差
が変化するアナログ局部復号回路荘を出力することがで
きる。したがって、D/A変換器やA/D変換器を用い
ることなく、過去の符号パターンに応じて適応的にレベ
ル差が変化するアナログ局部復号信号iを生成すること
ができるのである。
A signal y( having a pulse width that adaptively changes according to C(-2) is generated. Then, by integrating this signal yt by an analog integrator, the past code patterns c t, c t-1, It is possible to output an analog local decoding circuit whose level difference changes according to c t-2.Therefore, without using a D/A converter or an A/D converter, it is possible to output an analog local decoding circuit whose level difference changes according to c t-2. Therefore, it is possible to generate an analog locally decoded signal i whose level difference changes over time.

次に、指数圧伸法および定数加算法の局部復号回路を使
用した場合の適応デルタ変調符号化装置について説明す
る。
Next, an adaptive delta modulation encoding device using local decoding circuits using the exponential companding method and the constant addition method will be described.

上述の定数法の局部複合回路と指数圧伸法および定数加
算法の局部復号回路とは、次の点において異なる。すな
わち、定数法においてはステップ幅Δtの値が1つ而の
ステップ幅Δト1の値に無関係に過去の符号パターンに
よって決定されるのに対して、指数圧伸法および定数加
算法においては、ステップ幅Δtの値が1つ館のステッ
プ幅Δt〜1と過去の符号パターンとによって決定され
ることである。
The above-described local composite circuit of the constant method differs from the local decoding circuit of the exponential companding method and the constant addition method in the following points. That is, in the constant method, the value of the step width Δt is determined by the past code pattern regardless of the value of a single step width Δt1, whereas in the exponential companding method and the constant addition method, The value of the step width Δt is determined by the step width Δt~1 of one building and the past code pattern.

第3図は指数圧伸法および定数加算法の局部復号回路を
使用した場合の適応デルタ変調符号化装置のブロック図
である。この適応デルタ変調符号化装置において、ロー
パスフィルタ402.カップリングコンデンサ403.
抵抗404.抵抗405、コンパレータ408.シフト
レジスタ410゜記憶装置4I4.シフトレジスタ41
5.C7−バスフィルタ419.シフトレジスター13
2 、ゲートバッファ435.アナログ積分器437.
シフトレジスタ442.ゲートバツフア445およびア
ナログ積分器447は、各々第1図のローバスフィルタ
202、カップリングコンデンサ203.抵抗204.
抵抗205.コンパレータ208.シフトレジスタ21
0.記憶装置214.シフトレジスタ215、ローパス
フィルタ219.シフトレジスタ232、ゲートバッフ
ァ235、アナログ積分器237シフトレジスタ242
.ゲートバッファ245およびアナログ積分器247と
全く同じものであり、上述と同じように動作するので説
明を省略する。
FIG. 3 is a block diagram of an adaptive delta modulation encoding device using local decoding circuits of the exponential companding method and the constant addition method. In this adaptive delta modulation and coding apparatus, a low-pass filter 402. Coupling capacitor 403.
Resistance 404. Resistor 405, comparator 408. Shift register 410° storage device 4I4. shift register 41
5. C7-Bass filter 419. shift register 13
2, gate buffer 435. Analog integrator 437.
Shift register 442. The gate buffer 445 and the analog integrator 447 are the low-pass filter 202 and the coupling capacitor 203 . . . in FIG. 1, respectively. Resistance 204.
Resistance 205. Comparator 208. shift register 21
0. Storage device 214. Shift register 215, low pass filter 219. Shift register 232, gate buffer 235, analog integrator 237 shift register 242
.. They are exactly the same as the gate buffer 245 and the analog integrator 247, and operate in the same manner as described above, so their explanation will be omitted.

本実施例の適応デルタ変調符号化装置が上記実施例の適
応デルタ変調符号化装置と異なる部分はステップ幅Δ(
を算出する部分であり、レジスタ438.448が新た
に追加され、ROM431,441の記憶内容が変更さ
れている。以下、指数圧伸法および定数加算法における
ステップ幅ΔEの算出について詳細に説明する。その際
に、符号化における局部復号回路の動作と復号化におけ
る局部復号回路の動作とは全く同じであるので、まとめ
て説明する。
The difference between the adaptive delta modulation encoding device of this embodiment and the adaptive delta modulation encoding device of the above embodiment is that the step width Δ(
, registers 438 and 448 are newly added, and the storage contents of ROMs 431 and 441 have been changed. Hereinafter, calculation of the step width ΔE in the exponential companding method and the constant addition method will be described in detail. At this time, since the operation of the local decoding circuit in encoding and the operation of the local decoding circuit in decoding are exactly the same, they will be explained together.

まず、指数圧伸法の場合には、1つ前のステップ幅Δt
、、1の値を次のように表す。
First, in the case of the exponential companding method, the previous step width Δt
, 1 is expressed as follows.

Δt−1=AXαに ただし、八一定数 α〉■ そして、1つ前のステップ幅Δt−1の値を表す指標と
して、上記にの値を上記新たに追加されたレジスタ43
8,448に記憶しておくことによって、1つ萌のステ
ップ幅Δt−1の値を知ることができるのである。
Δt-1=AXα, where 8 constant number α〉■ Then, as an index representing the value of the previous step width Δt-1, the above value is added to the newly added register 43.
8,448, it is possible to know the value of the step width Δt-1 for one moe.

上記ROM431.441には、過去の符号パターンC
t、(4〜11Ct−2と上記指標にの値とに基づいて
得られるステップ幅Δtの値が記憶されている。
The above ROM431.441 contains the past code pattern C.
t, (4 to 11Ct-2) and the value of the step width Δt obtained based on the value of the above index is stored.

その際に、第1表におけるp(>1)およびq(<1)
の値をp・αn 、 q・α1と表し、例えばcct、
ct十Ct−2)=(o、o、o)の場合のようにΔt
=Δt−+ x pによってステップ幅Δtの値を算出
する場合には(第1表参照)、 Δt=J−I Xp=AXαkXα” =AXαに1 の値に、上述の定数法の場合と同様に適当な定数をかけ
て量子化して整数値に変換し、その整数値の数だけ連続
した“I″が記憶されるのである。同様にして、(Ct
、Ct−1,Ct−2)=(1,0、1)の場合のよう
にΔL=Δt−t x qによってステップ幅Δtの値
を算出する場合には、Δt=AXαに−i+の値に適当
な定数をかけて量子化して整数値に変換し、その整数値
の数だけ連続した“ビが記憶されるのである。また、R
OM431,441には、上述のステップ幅Δtにおけ
るαの指数である(k+n)および(k−m)の値を記
憶しておく。
At that time, p (>1) and q (<1) in Table 1
The values of are expressed as p・αn, q・α1, for example, cct,
Δt as in the case ct + Ct-2) = (o, o, o)
When calculating the value of the step width Δt using = Δt-+ x p (see Table 1), Δt=J-I is quantized and converted into an integer value by multiplying it by an appropriate constant, and the number of consecutive "I"s equal to the number of integer values is stored.Similarly, (Ct
, Ct-1, Ct-2) = (1, 0, 1), when calculating the value of the step width Δt by ΔL = Δt-t x q, the value of -i+ is set to Δt = AXα. is multiplied by an appropriate constant, quantized, and converted to an integer value, and consecutive "B's as many as the number of integer values are stored. Also, R
The OMs 431 and 441 store the values of (k+n) and (k-m), which are exponents of α in the step width Δt described above.

このようなROM431,441のアドレス線には、シ
フトレジスタ410,415からの過去の符号パターン
Ct、Ct+Ct−2とレジスタ438.448からの
kの値が入力される。そうすると、ステップ幅Δt(入
力された符号パターンと1つ面のステップ幅Δt−iに
基づいて適応的に変化する)の値に相当する数だけ連続
した“ビが出力されるのである。このROM431.4
41からの出力信号Δtは、端子433,443からの
クロック信号GK2.CK5によってシフトレジスタ4
32゜442にセットされる。それと同時に、入力され
た過去の符号パターンとkの値とに基づいて、上記(k
+n)あるいは(k−111)の値がROM431.4
41から出力され、端子439,449からのクロック
信号CK2によって、上述の1つ前のステップ幅Δt−
iの値を表す指標にの新たな値として、レジスタ438
,448にセットされる。
Past code patterns Ct and Ct+Ct-2 from shift registers 410 and 415 and the value of k from registers 438 and 448 are input to the address lines of such ROMs 431 and 441. Then, the number of consecutive "bi" corresponding to the value of the step width Δt (which changes adaptively based on the input code pattern and the step width Δt−i of one plane) is output.This ROM 431 .4
The output signal Δt from terminals 433 and 443 is the clock signal GK2 . Shift register 4 by CK5
It is set to 32°442. At the same time, the above (k
+n) or (k-111) value is ROM431.4
41 and clock signal CK2 from terminals 439 and 449, the previous step width Δt-
register 438 as the new value for the index representing the value of i.
,448.

すなわち、本実施例の指数圧伸法における適応デルタ変
調符号化装置においては、3ステータスのゲートバッフ
ァ435,445によって、レジスタ438,448に
記憶されているkで表される1つ前のステップ幅ΔL−
1と過去の符号パターンct、 ct−t、 Ct−2
とのディジタルデータに応じて適応的に変化するパルス
幅を有する信号Qを生成する。そして、この信号y(を
アナログ積分器437.447によって積分することに
よって、過去の符号パターンCt、 Ct−1,Ct−
2と一つ府のステップ幅Δ1−1に応じてレベルを変化
するアナログ局部復号信号iを出力することができる。
That is, in the adaptive delta modulation encoding device for the exponential companding method of this embodiment, the step width of the previous step represented by k stored in the registers 438 and 448 is determined by the three-status gate buffers 435 and 445. ΔL-
1 and past code patterns ct, ct-t, Ct-2
A signal Q having a pulse width that adaptively changes according to digital data is generated. Then, by integrating this signal y (by the analog integrator 437.447, the past code patterns Ct, Ct-1, Ct-
It is possible to output an analog locally decoded signal i whose level changes according to the step width Δ1-1 between 2 and 1.

したがって、D/A変換器やA/D変換器を用いること
なく、過去の符号パターンと1つ前のステップ幅Δ1−
+に応じて適応的にレベル差が変化するアナログ局部復
号信号iを生成することができるのである。
Therefore, without using a D/A converter or an A/D converter, the past code pattern and the previous step width Δ1−
It is possible to generate an analog local decoded signal i whose level difference adaptively changes according to the +.

次に、定数加算法の場合には、1つ前のステップ幅Δト
lの値を次のように表す。
Next, in the case of the constant addition method, the value of the previous step width Δtl is expressed as follows.

Δ1−1 =kXu+A ただし、A 、u=定数 そして、1つ前のステップ幅へトIの値を表す指標とし
て、上記にの値をレジスタ438,448に記憶してお
くことによって、1つ前のステップ幅Δt−1の値を知
ることができるのである。
Δ1-1=kXu+A However, A, u=constant, and by storing the above value in the registers 438 and 448 as an index representing the value of I to the step width of the previous step, It is possible to know the value of the step width Δt-1.

上記ROM431.441には、過去の符号パターンc
 t、c t−t、c t−2と上記指標にの値とに基
づいて得られるステップ幅Δ【の値が記憶されている。
The above ROM431.441 contains the past code pattern c
The value of step width Δ[ obtained based on t, c t-t, c t-2 and the value of the above-mentioned index is stored.

その際に、ΔL−Δ1.4+uによってステップ幅Δt
の値を算出する場合には(第1表参照)、Δt−ΔL−
1 +u=kXu+A+u=(k+l)u+A の値に、適当な定数をかけて量子化して整数値に変換し
、その整数値の数だけ連続した“ビが記憶されるのであ
る。同様にして、Δを一Δt−i −uによってステッ
プ幅Δtの値を算出する場合には、ΔL=(k  l)
u+Aの値に適当な定数をかけて量子化して整数値に変
換し、その整数値の数だけ連続した“ビが3己憶される
のである。また、ROM43+441には、上述のステ
ップ幅Δtにおける(k+1)および(k−1)の値を
記憶しておく。
At that time, the step width Δt is determined by ΔL−Δ1.4+u
When calculating the value of (see Table 1), Δt−ΔL−
1 +u=kXu+A+u=(k+l)u+A The value of When calculating the value of step width Δt by - Δt−i −u, ΔL=(k l)
The value of u+A is multiplied by an appropriate constant, quantized, and converted into an integer value, and 3 consecutive "bis" corresponding to the number of integer values are stored in the ROM43+441. The values of (k+1) and (k-1) are stored.

このようなROM431.441のアドレス線には、シ
フトレジスタ410.415からの過去の符号パターン
CL、Ct−1,Ct−2とレジスタ438.448か
らのkの値が入力される。そうすると、ステップ幅Δt
(入力された符号パターンと1つ前のステップ幅Δt−
iとに基づいて適応的に変化する)の値に相当する数だ
け連続した°ビが出力されるのである。このROM43
1,441からの出力信号は、端子433,443から
のクロック信号CK2によってシフトレジスタ432,
444にセットされる。それと同時に、入力された過去
の符号パターンとkの値とに基づいて、上記(k+1)
あるいは(k−1)(1)値がROM431,441か
ら出力され、端子439,449からのクロック信号C
K2によって、上述の1つ前のステップ幅Δ1−1の値
を表す指標にの新たな値として、レジスタ438.44
8にセットされる。
Past code patterns CL, Ct-1, and Ct-2 from shift registers 410 and 415 and the value of k from registers 438 and 448 are input to the address lines of such ROMs 431 and 441. Then, the step width Δt
(Input code pattern and previous step width Δt-
The number of consecutive beams corresponding to the value of (which adaptively changes based on i) is output. This ROM43
The output signal from 1,441 is sent to shift register 432, 441 by clock signal CK2 from terminal 433,443.
Set to 444. At the same time, based on the input past code pattern and the value of k, the above (k+1)
Alternatively, the (k-1)(1) value is output from the ROMs 431 and 441, and the clock signal C from the terminals 439 and 449
K2 causes register 438.44 to be set as a new value to the index representing the value of the previous step width Δ1-1.
Set to 8.

すなわち、本実施例の定数加算法における適応デルタ変
調符号化装置においては、3ステータスのゲートバッフ
ァ435,445によって、レジスタ438,448に
記憶されているkで表される1つ前のステップ幅Δトl
と過去の符号パターンct、 Ct−1,Ct−2との
ディジタルデータに応じて適応的に変化するパルス幅を
有する信号ytを生成する。そして、この信号ytをア
ナログ積分器437.447によって積分することによ
って、過去の符号パターンCt、CL−1,Ct−2と
1つ前のステップ幅Δt−1とに応じてレベルを変化す
るアナログ局部復号信号iを出力することができる。し
たがって、D/A変換器やA/D変換器を用いることな
く、過去の符号パターンと1つ前のステップ幅Δt−1
に応じて適応的にレベル差が変化するアナログ局部復号
信号音を生成することができるのである。
That is, in the adaptive delta modulation encoding device using the constant addition method of this embodiment, the step width Δ of the previous step represented by k stored in the registers 438 and 448 is determined by the three-status gate buffers 435 and 445. Tol
A signal yt having a pulse width that adaptively changes according to digital data of and past code patterns ct, Ct-1, and Ct-2 is generated. Then, by integrating this signal yt by analog integrators 437 and 447, an analog A locally decoded signal i can be output. Therefore, without using a D/A converter or an A/D converter, the past code pattern and the previous step width Δt-1 can be
This makes it possible to generate an analog locally decoded signal sound whose level difference changes adaptively depending on the situation.

上述の指数圧伸法および定数加算法の局部復号回路を用
いた適応デルタ変調符号化装置では、ROM431,4
41に、過去の符号パターンと1つ前のステップ幅Δt
−1とに応じて予め設定されたステップ幅ΔLの値を表
す情報をテーブルとして記憶しておき、過去の符号パタ
ーンと1つ面のステップ幅Δt−1の値をアドレス信号
として、上記記憶されたステップ幅Δtを表す情報に基
づいてステップ幅Δ(に相当するパルス幅を有するゲー
ト信号を出力するようにしている。しかしながら、この
発明はこれに限定されるものではない。すなわち、第1
表の各定数とステップ幅Δ(算出ルールとを記憶部に記
憶しておき、過去の符号パターンと1つ前のステップ幅
Δト1とに基いて、上記記憶しである各定数とルールと
に従ってステップ幅ΔLを算出器によって算出するよう
にしてもよい。
In the above-mentioned adaptive delta modulation encoding device using the local decoding circuit of the exponential companding method and the constant addition method, the ROM 431, 4
41, the past code pattern and the previous step width Δt
-1, and the information representing the value of the step width ΔL set in advance according to the value is stored as a table, and the past code pattern and the value of the step width Δt-1 of one side are used as an address signal to be stored as an address signal. A gate signal having a pulse width corresponding to the step width Δ() is output based on information representing the step width Δt.However, the present invention is not limited to this.
Each constant in the table and the step width Δ (calculation rule) are stored in the storage unit, and each constant and rule stored in the table is calculated based on the past code pattern and the previous step width Δt1. Accordingly, the step width ΔL may be calculated by a calculator.

〈発明の効果〉 以上より明らかなように、この発明の適応デルタ変調符
号化装置は、ゲート信号作成手段、3ステートゲートバ
ッファおよびアナログ積分器を有して、過去の符号パタ
ーンに基づいて、現サンプリング時におけるステップ幅
に比例したパルス幅を有するゲート信号を作成し、この
ゲート信号と直前のサンプリング時における符号とに基
づいて、直前のサンプリン時におけるアナログ入力信号
が局部復号信号よりも大きい場合には、現サンプリン時
におけるステップ幅に比例したパルス幅を有する高電位
のパルス信号を生成する一方、直前のサンプリン時にお
けるアナログ入力信号が局部復号信号よりも小さい場合
には、現サンプリン時におけるステップ幅に比例したパ
ルス幅を有する低電位のパルス信号を生成し、このパル
ス信号を積分することによって上記ステップ幅に比例し
たレベル差を有する局部復号信号を生成するようにした
ので、過去の符号パターンおよび上記ゲートバッファの
ゲート信号等のディジタル信号に基づいて、アナログの
局部復号信号を得ることができる。したがって、D/A
変換器(あるいはA/D変換器)を用いることなく、上
記アナログ入力信号と直接比較可能なアナログ局部復号
信号を得ることができ、低コスト化を図ることができる
<Effects of the Invention> As is clear from the above, the adaptive delta modulation encoding device of the present invention includes a gate signal generating means, a 3-state gate buffer, and an analog integrator, and uses the present code pattern based on the past code pattern. A gate signal having a pulse width proportional to the step width at the time of sampling is created, and based on this gate signal and the sign at the time of the previous sampling, if the analog input signal at the time of the previous sampling is larger than the locally decoded signal, generates a high-potential pulse signal with a pulse width proportional to the step width at the current sampling time, while if the analog input signal at the previous sampling time is smaller than the local decoded signal, the step width at the current sampling time By generating a low-potential pulse signal with a pulse width proportional to , and integrating this pulse signal, a locally decoded signal having a level difference proportional to the step width is generated. An analog locally decoded signal can be obtained based on a digital signal such as the gate signal of the gate buffer. Therefore, D/A
Without using a converter (or A/D converter), an analog locally decoded signal that can be directly compared with the analog input signal can be obtained, and costs can be reduced.

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

第1図はこの発明の一実施例における適応デルタ変調符
号化装置のブロック図、第2図は上記実施例における各
出力信号のタイミングチャート、第3図は他の実施例に
おける適応デルタ変調符号化装置のブロック図、第4図
は従来例におけるブロック図である。 201.401・・・入力端子、 202.219,402,419・・・ローパスフィル
タ、203.403・・・カブプリングコンデンサ、2
04.205,404.405・・・抵抗、208.4
08・・・コンパレータ、 210.215,410,415・・・シフトレジスタ
、214.414・・・記憶装置、 220.420・・・出力端子、 231.241,431,441・・・ROM 。 232.242,432,44.2・・・シフトレジス
タ、235.245,435,445・・・ゲートバッ
ファ、237.247,437,447・・・アナログ
積分器、438.448・・・レジスタ。
FIG. 1 is a block diagram of an adaptive delta modulation and coding device in one embodiment of the present invention, FIG. 2 is a timing chart of each output signal in the above embodiment, and FIG. 3 is an adaptive delta modulation and coding device in another embodiment. A block diagram of the device, FIG. 4 is a block diagram of a conventional example. 201.401...Input terminal, 202.219,402,419...Low pass filter, 203.403...Cub pulling capacitor, 2
04.205, 404.405...Resistance, 208.4
08...Comparator, 210.215,410,415...Shift register, 214.414...Storage device, 220.420...Output terminal, 231.241,431,441...ROM. 232.242,432,44.2...Shift register, 235.245,435,445...Gate buffer, 237.247,437,447...Analog integrator, 438.448...Register.

Claims (1)

【特許請求の範囲】[Claims] (1)過去の符号パターンに基づいてステップ幅を適応
的に変化させて得られる局部復号信号とアナログ入力信
号とを比較して、上記アナログ入力信号が上記局部復号
信号より大きい場合には“1”あるいは“0”のいずれ
か一方の符号を出力する一方、上記アナログ入力信号が
上記局部復号信号より小さい場合には上記“1”および
“0”のいずれか他方の信号を出力することによって、
アナログ入力信号を符号化する適応デルタ変調符号化装
置において、 少なくとも過去の符号パターンに基づいて、現サンプリ
ング時におけるステップ幅に比例したパルス幅を有する
ゲート信号を作成するゲート信号作成手段と、 高低2つの電位を出力する状態と高インピーダンスの状
態の3つの状態を持つと共に、ゲート端子に入力された
上記ゲート信号と入力端子に入力された直前のサンプリ
ング時における符号とに基づいて、直前のサンプリング
時における符号が上記一方の符号の場合には、上記ステ
ップ幅に比例したパルス幅を有する高電位のパルス信号
を出力する一方、直前のサンプリング時における符号が
上記他方の符号の場合には、上記ステップ幅に比例した
パルス幅を有する低電位のパルス信号を出力する3ステ
ートゲートバッファと、 上記3ステートゲートバッファから出力される上記ステ
ップ幅に比例したパルス幅を有する高電位あるいは低電
位のパルス信号を積分し、上記ステップ幅に比例したレ
ベル差を有する上記局部復号信号を出力するアナログ積
分器を備えたことを特徴とする適応デルタ変調符号化装
置。
(1) Compare the local decoded signal obtained by adaptively changing the step width based on the past code pattern with the analog input signal, and if the analog input signal is larger than the local decoded signal, “1” ” or “0”, and when the analog input signal is smaller than the locally decoded signal, outputting the other signal of “1” or “0”;
An adaptive delta modulation encoding device for encoding an analog input signal, comprising: gate signal generation means for generating a gate signal having a pulse width proportional to a step width at the current sampling time based on at least a past code pattern; It has three states, a state of outputting two potentials and a state of high impedance, and it also has three states, a state of outputting a single potential and a state of high impedance, and it also has three states: a state of outputting a single potential, and a state of high impedance. If the code at the time of sampling is one of the above codes, a high-potential pulse signal having a pulse width proportional to the step width is output, whereas if the code at the time of the previous sampling is the other code, the step a 3-state gate buffer that outputs a low-potential pulse signal with a pulse width proportional to the step width; and a high-potential or low-potential pulse signal that outputs a low-potential pulse signal with a pulse width proportional to the step width output from the 3-state gate buffer. An adaptive delta modulation encoding device comprising an analog integrator that integrates and outputs the locally decoded signal having a level difference proportional to the step width.
JP21742488A 1988-08-31 1988-08-31 Adaptive delta modulation coder Pending JPH0265527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21742488A JPH0265527A (en) 1988-08-31 1988-08-31 Adaptive delta modulation coder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21742488A JPH0265527A (en) 1988-08-31 1988-08-31 Adaptive delta modulation coder

Publications (1)

Publication Number Publication Date
JPH0265527A true JPH0265527A (en) 1990-03-06

Family

ID=16703995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21742488A Pending JPH0265527A (en) 1988-08-31 1988-08-31 Adaptive delta modulation coder

Country Status (1)

Country Link
JP (1) JPH0265527A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0637643A (en) * 1992-07-16 1994-02-10 Matsushita Electric Ind Co Ltd Adm system signal processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0637643A (en) * 1992-07-16 1994-02-10 Matsushita Electric Ind Co Ltd Adm system signal processor

Similar Documents

Publication Publication Date Title
US5182558A (en) System for generating correction signals for use in forming low distortion analog signals
US7573956B2 (en) Time encoding and decoding of a signal
US5594443A (en) D/A converter noise reduction system
JPH0265527A (en) Adaptive delta modulation coder
JPH11312983A (en) Code state discrimination method and encoder
JPH02184119A (en) Oversampling type digital/analog converter
JP3081047B2 (en) Coding method for reducing DC voltage component in data stream of digital signal
US4272721A (en) Analog-to-digital converter alignment circuit
JP2810252B2 (en) Audio playback device
JPS6342887B2 (en)
JPH0446016B2 (en)
JPS6037658B2 (en) Time series waveform encoding device
KR950003020B1 (en) Adaptive delta modulation circuit
JP3336823B2 (en) Sound signal processing device
JPS6142895B2 (en)
RU2053566C1 (en) Adaptive delta codec
JPS60152154A (en) System and apparatus for coding binary data
JP3083119B2 (en) Encoding / decoding circuit using adaptive delta modulation scheme
JPH1093437A (en) Function generating circuit
KR960007104Y1 (en) D/a converter
JPS6096003A (en) Digital fm modulation circuit
JPH0621820A (en) Sign magnitude outputting device
JPH04154272A (en) Image reader
JPH0388505A (en) Optional waveform generator
Gray et al. Memoryless Nonlinearities