JPS60263529A - Expanding circuit - Google Patents

Expanding circuit

Info

Publication number
JPS60263529A
JPS60263529A JP11831484A JP11831484A JPS60263529A JP S60263529 A JPS60263529 A JP S60263529A JP 11831484 A JP11831484 A JP 11831484A JP 11831484 A JP11831484 A JP 11831484A JP S60263529 A JPS60263529 A JP S60263529A
Authority
JP
Japan
Prior art keywords
signal
law
compressed
bit
conversion circuit
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
JP11831484A
Other languages
Japanese (ja)
Inventor
Shigeo Nishida
西田 繁男
Kazuo Yamakido
一夫 山木戸
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11831484A priority Critical patent/JPS60263529A/en
Publication of JPS60263529A publication Critical patent/JPS60263529A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は伸長回路、更に詳しく言えば非線形圧縮PCM
信号をディジタル信号処理に適した線形PCM信号に変
換する伸張器、特に電話音声通信用のμ則又はA則PC
M信号を入出力するコーデックをLSIで実現する好適
な伸張回路に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a decompression circuit, more specifically, a nonlinear compression PCM.
An expander that converts the signal into a linear PCM signal suitable for digital signal processing, especially μ-law or A-law PC for telephone voice communications.
The present invention relates to a suitable decompression circuit that implements a codec that inputs and outputs M signals using an LSI.

〔発明の背景〕[Background of the invention]

第1図にディジタル信号処理技術を用いて音声信号の線
形のPCM信号どμ則又はA則圧縮PCM信号との相互
変換を行なうPCMコーデックの構成を示す、入力音声
1−1はA//D変換器3で線形PCM信号に変換した
のち、ディジタル回路で構成される帯域制限フィルタ4
で音声帯域のみをろ波し、圧縮器5でCCITT勧告に
基づくμ則又はA則の8ビット圧縮PCM信号2−1に
変換してPCMハイウェーに出力する。一方入力圧縮P
CM信号2−2は伸張器8で13ピツ、ト以上の線形P
CM信号に変換したのち、ディジタル低減フィルタ7(
以下LPF)で音声帯域以外の無局波成分を除去し、D
/A変換器6で音声アナログ信号1−2に変換する。と
ころで、最近、コーデックLSIの多機能化の要求が高
まり、そのうちの1つである王者通話機能の内蔵化が必
要となってきた。この王者通話機能に関して簡単のため
に受信側について説明すると、第2図に示す例のように
標本化周波数である8kHzに対応した周期の1フレー
ム(125μs)丙に王者の信号(B及びCとする)を
各々指定されたタイムスロットCH(1)、CH(n)
の圧縮PCM信号としてコーデック内に取り込み、それ
ぞれ線形P′CM信号に変換したのち1両者を加算し、
その合成ディジタル信号を第1図のLPF、D/A変換
器を通してBとCの合成アナログ信号を出力する。ここ
で、B、Cに対するタイムスロットの指定はシステム構
成上任意であることが好ましく、したがって例えばCH
(1)、CH(2)のような隣接する場合も生じる。こ
の場合、圧縮PCM信号のビットレート(伝送周波数:
fp)と伸張器の変換時間Tdの間にその伸張器を動作
させるクロック周波まま連続して線形信号に変換するに
は伸張器を2重化して内蔵するか、又は伸張器の時分割
多重使用を可能とするために圧縮信号B又はCの一方の
PCM信号を一時格納しておくためのレジスタが必要と
なる。更に、システム構成上がら考えると、変換時間T
dはコーデックの絶対遅延時間に係るためできるだけ短
かいことが好ましい。
Figure 1 shows the configuration of a PCM codec that uses digital signal processing technology to mutually convert an audio signal into a linear PCM signal, a μ-law or A-law compressed PCM signal.Input audio 1-1 is an A//D After converting into a linear PCM signal with a converter 3, a band-limiting filter 4 consisting of a digital circuit is applied.
filters only the voice band, and converts it into a μ-law or A-law 8-bit compressed PCM signal 2-1 in a compressor 5 based on CCITT recommendations, and outputs it to the PCM highway. On the other hand, input compression P
The CM signal 2-2 is converted into a linear P of 13 pitches or more by the expander 8.
After converting to a CM signal, a digital reduction filter 7 (
The D
/A converter 6 converts it into audio analog signals 1-2. Incidentally, recently, there has been an increasing demand for codec LSIs to have multiple functions, and it has become necessary to incorporate one of them, the king call function. For the sake of simplicity, we will explain the receiving side regarding this champion call function. As shown in the example shown in Fig. 2, the champion's signal (B and C) is transmitted in one frame (125 μs) with a period corresponding to the sampling frequency of 8 kHz. ) in the designated time slots CH(1) and CH(n), respectively.
The two signals are taken into the codec as compressed PCM signals, each converted to a linear P'CM signal, and then both are added together.
The combined digital signal is passed through the LPF and D/A converter shown in FIG. 1, and a combined analog signal of B and C is output. Here, it is preferable that the designation of time slots for B and C is arbitrary based on the system configuration, so for example, for CH
Adjacent cases such as CH(1) and CH(2) also occur. In this case, the bit rate (transmission frequency:
fp) and the decompressor's conversion time Td, in order to continuously convert the decompressor into a linear signal at the same clock frequency as the decompressor's conversion time Td, the decompressor must be duplicated and built in, or the decompressor must be used in time division multiplexing. In order to make this possible, a register is required to temporarily store the PCM signal of either compressed signal B or C. Furthermore, considering the system configuration, the conversion time T
Since d relates to the absolute delay time of the codec, it is preferable that it be as short as possible.

ところで、PCM通信に用いられる圧伸符号則には、前
述したようにCCITT (国際電信電話諮問委員会)
勧告、G、711のμ則及びA則があり、各圧縮PCM
信号とそれに対応する線形PCM信号の関係をまとめる
とμ則に対しては第3図及びA則に対しては第4図とな
る。第3図(a)において、Pl及びP2〜P8は圧縮
PCM信号の極性及び振幅を表わし、このうち、P2〜
P4はセグメント、P5〜P8はステップ情報を示す。
By the way, as mentioned above, the companding code rules used in PCM communication are based on the CCITT (International Telegraph and Telephone Consultative Committee).
There are μ-law and A-law of Recommendation, G, 711, and each compression PCM
The relationship between the signals and the corresponding linear PCM signals is summarized as shown in FIG. 3 for the μ-law and FIG. 4 for the A-law. In FIG. 3(a), Pl and P2 to P8 represent the polarity and amplitude of the compressed PCM signal;
P4 indicates a segment, and P5 to P8 indicate step information.

又、同図(b)において、B1は極性、B2(MSB)
〜B14 (LSB)は変換されるべき線形信号の振幅
値に33を加算したものである。第4図も第3図と同様
であるが、第4図(b)は変換されるべき値そのものに
対応している。
In addition, in the same figure (b), B1 is the polarity, B2 (MSB)
~B14 (LSB) is the amplitude value of the linear signal to be converted plus 33. FIG. 4 is similar to FIG. 3, but FIG. 4(b) corresponds to the value itself to be converted.

従来のμ則に対する並列処理形伸張器としては、第5図
に示す例があるC′A Unified Formul
ationof Segment Co+spandi
ng Laws and 5ynthesis ofC
odees and Digital Compand
ors、 ”the BellSestam Tech
nical Journal 、 September
 1970 P。
As a conventional parallel processing decompressor for the μ law, there is the C'A Unified Formula, an example of which is shown in FIG.
ation of Segment Co+spandi
ng Laws and 5 synthesis of C
odees and Digital Compand
ors, “the Bell Sestam Tech
nical Journal, September
1970 P.

1555〜1588)。圧縮PCM信号のステップ情報
V= (P5.P6.P7.P8)は加算器1−1で第
3図(b)の(1人1で毛1)に対応したパターンに変
換され、シフトレジスタ(以下SRと呼ぶ)2−1に格
納される。一方、セグメント情報t、= (p2.p3
.T’4)1.t2進ダウンiyウン!i(以下BC)
3−1にセットされ、BC出力が(0,0,O)になる
までクロック4−1でSRを左ヘシフトすると同時に右
からl# Opgを入力する。
1555-1588). The step information V= (P5.P6.P7.P8) of the compressed PCM signal is converted into a pattern corresponding to (1 hair 1 for 1 person) in FIG. (hereinafter referred to as SR) 2-1. On the other hand, segment information t, = (p2.p3
.. T'4)1. t binary down iy un! i (hereinafter referred to as BC)
3-1, and at the same time, SR is shifted to the left at clock 4-1 until the BC output becomes (0, 0, O), and l# Opg is input from the right.

この結果BC出力が全て410 Hの時点でのSR出力
が第3図(b)のパターンに一致する。したがって次に
並列加算器1−2で113377を減算すると、所望の
線形FICM信号を得ることができる。しかしながら、
従来例では示されていないが上記信号は折返し2進表示
されてお′す、これを第1図に示したように後段に接続
されるディジタル信号処理回路に入力させるためには、
その処理に適した2の補数表示信号に変換する必要があ
る。すなわち、従来例を実用に共するためには上記回路
の他に上記した補数表示変換用の加算器が別途必要とな
る。
As a result, the SR output when all the BC outputs are 410H matches the pattern shown in FIG. 3(b). Therefore, by subtracting 113377 with the parallel adder 1-2, the desired linear FICM signal can be obtained. however,
Although not shown in the conventional example, the above signal is expressed in folded binary notation. In order to input this to the digital signal processing circuit connected to the subsequent stage as shown in FIG.
It is necessary to convert it into a two's complement representation signal suitable for the processing. That is, in order to put the conventional example into practical use, in addition to the circuit described above, an adder for converting the complement representation described above is required separately.

更に、第3図(b)のパターンを得るためには、加算器
1−1の出力をSRに格納する前にSRの内容をリセッ
トとする必要があるため、SRはリセット付シフトレジ
スタで実現しなければならない。ところで、本従来例で
は、セグメント情報に応じて、最大クロック分の変換時
間を要する。したがって、クロック周波数fが低い場合
にはそれに対応してコーデック全体の絶対遅延時間の増
大を招くばかりでなく、伸張変換時間Td (=7/f
)が入力8ビット圧縮PCM信号のビットレーの条件を
満せない場合には、前述したように伸張器の2重化又は
入力圧縮PCM信号の一時格納用レジスタが必要となり
、ハード量の増大となる。
Furthermore, in order to obtain the pattern shown in Figure 3(b), it is necessary to reset the contents of SR before storing the output of adder 1-1 in SR, so SR is realized by a shift register with a reset function. Must. By the way, in this conventional example, conversion time corresponding to the maximum clock time is required depending on the segment information. Therefore, when the clock frequency f is low, not only does the absolute delay time of the entire codec increase correspondingly, but also the decompression conversion time Td (=7/f
) cannot satisfy the bit rate conditions of the input 8-bit compressed PCM signal, as mentioned above, it is necessary to duplicate the decompressor or to use a register for temporary storage of the input compressed PCM signal, which increases the amount of hardware. .

〔発明の目的〕[Purpose of the invention]

そこで本発明の目的は上記欠点を解消駿、入力圧縮PC
M信号のビットレートが高速であっても連続的に時分割
多重使用できる高速の伸張器回路を提供することである
Therefore, the purpose of the present invention is to solve the above-mentioned drawbacks and to provide an input compression PC.
An object of the present invention is to provide a high-speed decompressor circuit that can be used continuously in time division multiplexing even if the bit rate of an M signal is high.

〔発明の概要〕[Summary of the invention]

上記目的を達成するために本発明では、入力圧縮PCM
・信号の振幅ビットP2〜P8から第3図及び第4図の
信号変換を組合せ論理回路で実現し。
In order to achieve the above object, the present invention uses an input compressed PCM
- The signal conversion shown in FIGS. 3 and 4 is realized from the amplitude bits P2 to P8 of the signal using a combinational logic circuit.

2の補数表示への変換は、一旦、並列的に1の補数表示
に変換したのち、並列加算器を用いて33の減算と同時
に行なう回路構成とした。この結果、圧縮PGM信号の
入力後から2の補数表示信号への変換までが、1クロッ
ク以内に実現できるようになった。
Conversion to two's complement representation is performed in parallel once, and then a parallel adder is used to simultaneously perform 33 subtraction. As a result, the process from inputting the compressed PGM signal to converting it to a two's complement display signal can be accomplished within one clock.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第6図及び第7図を用いて詳
細に説明する。
Hereinafter, one embodiment of the present invention will be described in detail using FIGS. 6 and 7.

まずμ則圧線PCM信号を線形PCM信号に伸長する場
合を説明する。このとき、第6図の各切替スイッチ機能
6−1〜6−4及び第7図の6−5はμ端子側に接続さ
れる。第6図におい′て、8カバツフアレジスタの出力
であり、このうちの振幅ビット(P2〜P8)は第7@
−に具体的−例を示した組合せ論理回路1で、前記第3
図(b)に示したパターン(B2〜B 14 )”に変
換する。ただしこのとき□所望の線形PCM信号の振幅
絶対値をYとすると、B2−B14は(Y+33)の値
である。いま入力圧縮PCM信号の極性が正(すなわち
、Pt=”t”(高論理レベル))のとき、線形PCM
信号の極性B1を与えるインバータ2−1の出力は#0
11(低論理レベル)であるから、このB1及び、B2
−B14はそのまま排他的論理和回路3を通して14ビ
ツトの並列加算器4の各一方の入力端子Bに供給される
。一方、上記並列加算器4の他の各入力端子Aには、最
上位(極性)ビット加算器4−1から最下位ビット加算
器4−14への順に“11111111011111”
が、さらに4−14のキャリー入力端子CI には′0
″″が供給される。この端子A及びCI の供給信号は
2の補数表示された−33の値を意味するので、結局、
並列加算器4は(Y+33)−33の演算結果を出力す
ることになり、所望とする2の補数表示された線形PC
M信号Yを得ることができる。
First, a case will be described in which a μ-law pressure line PCM signal is expanded into a linear PCM signal. At this time, each changeover switch function 6-1 to 6-4 in FIG. 6 and 6-5 in FIG. 7 are connected to the μ terminal side. In FIG.
In the combinational logic circuit 1 whose specific example is shown in -, the third
The pattern is converted to the pattern (B2 to B14) shown in Figure (b). However, at this time, if the amplitude absolute value of the desired linear PCM signal is Y, B2-B14 is the value of (Y+33). When the polarity of the input compressed PCM signal is positive (i.e., Pt="t" (high logic level)), the linear PCM
The output of inverter 2-1 that gives signal polarity B1 is #0
11 (low logic level), this B1 and B2
-B14 is directly supplied to one input terminal B of the 14-bit parallel adder 4 through the exclusive OR circuit 3. On the other hand, each of the other input terminals A of the parallel adder 4 receives "11111111011111" from the most significant (polarity) bit adder 4-1 to the least significant bit adder 4-14.
However, the carry input terminal CI of 4-14 has '0'.
″″ is supplied. The signals supplied to terminals A and CI mean the value -33 expressed in two's complement, so in the end,
The parallel adder 4 will output the calculation result of (Y+33)-33, and the desired two's complement representation will be displayed on the linear PC.
M signal Y can be obtained.

次に入力圧縮PCM信号の極性が負(すなわち、P1=
”Q’″)の場合は、インバータ出力B1が1″′とな
るので、排他的論理和3の出力はB2−B14が表わす
値(Y+33)の1の補数、すなわち−(Y+34)と
なる。一方、論理回路部5から供給される並列加算器4
の各入力端子Aの信号は、前記した正の場合と同順に”
 o o o o o o o o i o o o 
o i ”となり、これは+33を意味するが、このと
き最下位ビットの加算器4−14のキャリー人力CI 
が′1″となるから、結局、並列加算器4は−(Y+3
4)+33+1の演算結果を出力することになり、所望
とする2の補数表示された線形PCM信号−Yを得るこ
とができる。
Then the polarity of the input compressed PCM signal is negative (i.e. P1=
In the case of "Q'"), the inverter output B1 becomes 1"', so the output of the exclusive OR 3 becomes the one's complement of the value (Y+33) represented by B2-B14, that is, -(Y+34). On the other hand, the parallel adder 4 supplied from the logic circuit section 5
The signals at each input terminal A of are in the same order as in the positive case described above.
o o o o o o o o o o o o o o o
o i'', which means +33, but at this time, the carry manual CI of the adder 4-14 of the least significant bit
becomes '1'', so in the end, the parallel adder 4 becomes -(Y+3
4) The calculation result of +33+1 is output, and the desired linear PCM signal -Y expressed in two's complement can be obtained.

次にA則の場合について説明する。A則の場合の伸張変
換はμ則の場合と比べて3点の違いがある。これらの相
違点は第3図と第4図を比較すれば自然と明らかになる
。すなりち、その第1点は同じアナログ値を表示する圧
縮PCM信号の奇数ビットが反転していることである。
Next, the case of rule A will be explained. There are three differences in the extension conversion in the case of the A-law compared to the case in the μ-law. These differences will naturally become apparent by comparing Figures 3 and 4. The first point is that the odd bits of the compressed PCM signal representing the same analog value are inverted.

したがって、本発明の伸長回路では比較的複雑な回転部
をできるだけ共通化するために、A副圧縮PCM信号の
奇数ビット(P3.P5.P7)を反転して後述の論理
回路1に供給している。第6図の切替スイツチ機能6−
2.6−3.6−4はこの目的のために設けられたもの
である。次に第2の相違点は、μ則の場合の最小セグメ
ントに位置する信号レベルを表示するステップビット(
P5〜P8)の内容A、B、C,Dが、第3図及び第4
図の各表(b)を比較すれば明らかなように、A則では
μ則に対して1ビット分だけ上位方向にシフトしている
ことである。この第2の相違点による切替スイッチ機能
は、論理回路部1 (後述する第7図)の中の5−6で
行なっている。また、第3の相違点は、論理回路部1で
行なりれれる第4図の(a)から(b、)の変換結果を
そのまま2の補数表示に変換すれば所望の線形PCM信
号出力を得ることができ、μ則の場合のように33の補
正をする必要がないということである。この第3の相違
点の切替え機能がスイッチ6−1である。すなわち、入
力圧縮PCM信号の極性が正(P1=”1’″)のとき
、B1は# Opgであるから、第4図(b)に示した
論理回路部1の出カバターン(B2−B14)は排他的
論理和3を通してそのまま並列加算器4の各一方の入力
端子Bに供給される。一方、このときの並列加算器4の
他の各入力端子A及び最下位ビットの加算器4−14の
キャリー入力端子る。次に、入力圧縮信号の極性が負の
場合(PL=10″)には、B1=“1〃となるので、
排他的論理和3の出力は1の補数表示となるが、このと
き最下位ビットの加算@4−14のキャリーCI がI
I 11gとなるので、結局並列加算器4は論理回路部
1の出力の2の補数表示結果を出力することができる。
Therefore, in the decompression circuit of the present invention, in order to make the relatively complicated rotating part as common as possible, the odd bits (P3, P5, P7) of the A sub-compressed PCM signal are inverted and supplied to the logic circuit 1, which will be described later. There is. Changeover switch function 6- in Figure 6
2.6-3.6-4 is provided for this purpose. Next, the second difference is that the step bit (
Contents A, B, C, and D of P5 to P8) are shown in Figures 3 and 4.
As is clear from comparing the tables (b) in the figure, the A-law is shifted by one bit in the upper direction with respect to the μ-law. The changeover switch function due to this second difference is performed by 5-6 in the logic circuit section 1 (see FIG. 7, which will be described later). The third difference is that if the conversion results from (a) to (b) in FIG. This means that there is no need to make 33 corrections as in the case of the μ law. The switching function of this third difference is the switch 6-1. That is, when the polarity of the input compressed PCM signal is positive (P1="1'"), B1 is #Opg, so the output cover turn (B2-B14) of the logic circuit section 1 shown in FIG. 4(b) is are directly supplied to each input terminal B of the parallel adder 4 through the exclusive OR 3. On the other hand, at this time, each of the other input terminals A of the parallel adder 4 and the carry input terminal of the adder 4-14 for the least significant bit. Next, when the polarity of the input compression signal is negative (PL=10''), B1="1", so
The output of exclusive OR 3 is expressed as a 1's complement number, but at this time, the carry CI of the addition of the least significant bit @4-14 is I
I11g, so that the parallel adder 4 can output the two's complement representation result of the output of the logic circuit section 1.

次に、第3図及び第4図に示した変換゛を行なう第6図
の論理回路部1の実施例を第7図を用いて説明する。
Next, an embodiment of the logic circuit section 1 shown in FIG. 6 which performs the conversion shown in FIGS. 3 and 4 will be described with reference to FIG.

μ則の場合、第6図の論理回路部、すなわち第7図の論
理回路の入力端子D2〜D8の信号パターンはそのまま
入力圧縮PCM信号パターンP2〜P8と一致するから
、例えば、’P2.P3゜P4.P5.P6.P7.P
8”=”1110000″(7)場合、X=“1″、イ
ンバータ(1−1〜1−7.及び1−9)の出力は“0
″、その他のインバータ(l−8,及び1−1O〜1−
13)の出力はu I IIとなる。従って、1個又は
2個のNにOSトランジスタを用いたスイッチ列の(1
)、(2)、(4)。
In the case of μ law, the signal patterns of the input terminals D2 to D8 of the logic circuit section of FIG. 6, that is, the logic circuit of FIG. 7, match input compressed PCM signal patterns P2 to P8 as they are, so for example, 'P2. P3゜P4. P5. P6. P7. P
8” = “1110000” (7), X = “1”, the output of the inverter (1-1 to 1-7. and 1-9) is “0”
'', other inverters (l-8, and 1-1O to 1-
The output of 13) is u I II. Therefore, (1
), (2), (4).

(7)、(11)及び(16)に対応した出力B9〜B
14のみが# 1 ttとなり、他の出力は0′″とな
るから、第3図シ;示した変換が実現できる。一方、A
則の場合には、”P2.P3.P4.P5゜P6.P7
.P8”=“1011010”の場合、対応した入力端
子D2〜D8の信号パターンはμ則の場合と同じになる
が、しかしながら、X =#l 01y、インバータ(
1−1〜1−6.及び1−8)の出力はffl O#l
、その他のインバータ(1−7及び1−971−13)
の出力はII 1 ##となり、したがって、スイッチ
列(3)、(5)、(8)、(12)及び(17)に対
応した出力B9〜B13のみが“1″″となり、他の出
力は0#となるから、第4図に示した変換が正確に実現
できる。
Outputs B9 to B corresponding to (7), (11) and (16)
14 becomes #1 tt, and the other outputs become 0'', so the conversion shown in Figure 3 can be realized.On the other hand, A
In the case of the rule, “P2.P3.P4.P5゜P6.P7
.. P8''="1011010", the signal pattern of the corresponding input terminals D2 to D8 will be the same as in the case of μ law, however, if X = #l 01y, inverter (
1-1 to 1-6. and 1-8) output is ffl O#l
, other inverters (1-7 and 1-971-13)
The output of is II 1 ##, therefore, only outputs B9 to B13 corresponding to switch rows (3), (5), (8), (12), and (17) become "1"", and other outputs becomes 0#, so the conversion shown in FIG. 4 can be realized accurately.

ところで、第7図の実施例はNN0Sスイツチで構成し
ている、が、その他の実現方法として、通常のNAND
、 NORその他の論理ゲートやプログラマブル論理ア
レー、リードオンリーメモリ等でも容易に可能であり、
したがって回路構成に関しては特に本実施例に限定する
ものではない。また、μ則とAJ[!Iの切替え機能に
ついても外部信号による制御。
By the way, the embodiment shown in FIG.
, NOR and other logic gates, programmable logic arrays, read-only memories, etc.
Therefore, the circuit configuration is not particularly limited to this embodiment. Also, μ law and AJ [! The I switching function is also controlled by external signals.

並びに、LSI化した場合には配線マスクの変更等によ
って容易に実現できることは言うまでもない。
Furthermore, it goes without saying that if it is implemented as an LSI, it can be easily realized by changing the wiring mask or the like.

したがって、以上詳細に説明した如く、本発明によれば
、μ則及びA則圧縮PCM信号からディジタル信号処理
に適した2の補数表示された線形PCM信号への伸張変
換がクロックを用いることなく、したがって1クロック
周期以外に高速に実現でき、かつ、ハードウェアー規膜
の増加も特にないから、LSI内に経済的に実現できる
Therefore, as described in detail above, according to the present invention, decompression conversion from μ-law and A-law compressed PCM signals to linear PCM signals expressed in two's complement suitable for digital signal processing can be performed without using a clock. Therefore, it can be realized at a high speed other than one clock cycle, and there is no particular increase in hardware requirements, so it can be realized economically in an LSI.

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

第1図はディジタル信号処理技術を用いたコーデックの
構成図、第2図はコーデックにおける三号の関係図、第
4図はA則における圧縮PCM信号と線形PCM信号の
関係図、第5図は従来例を第1図 1−1・・・入力音声信号、1−2・・・出力音声信号
、3・・・A/D変換器、4・・・帯域フィルタ、5・
・・PCM圧縮器、2−1・・・出力圧縮PCM信号、
2−2・・・入力PCM圧縮信号、6・・・D/A変換
器、7・・・低域通過フィルタ、8・・・PCM伸張器
、第5図 1−1〜1−2・・・並列加算器、2−1・・・シフト
レジスタ、3−1・・・2進ダウンカウンタ、4−1・
・・クロック、5−1・・・NOR回路、6−1・・・
AND第2 口 cs tyr) −−!1−−−−’−X 3 図 ((L) (bン 第5 図 −1
Figure 1 is a block diagram of a codec using digital signal processing technology, Figure 2 is a diagram of the relationship between the three items in the codec, Figure 4 is a diagram of the relationship between compressed PCM signals and linear PCM signals in A-law, and Figure 5 is a diagram of the relationship between compressed PCM signals and linear PCM signals in A-law. A conventional example is shown in Fig. 1.1-1...Input audio signal, 1-2...Output audio signal, 3...A/D converter, 4...Band filter, 5...
... PCM compressor, 2-1... Output compressed PCM signal,
2-2... Input PCM compressed signal, 6... D/A converter, 7... Low pass filter, 8... PCM expander, Fig. 5 1-1 to 1-2...・Parallel adder, 2-1...Shift register, 3-1...Binary down counter, 4-1.
...Clock, 5-1...NOR circuit, 6-1...
AND2nd cs tyr) --! 1-----'-X 3 Figure ((L) (b) Figure 5-1

Claims (1)

【特許請求の範囲】[Claims] 第1ビツトを極性、第2〜第4ビツトをセグメント番号
、第5〜第8ビツトをステップ番号とするμ則及びA副
弁線形圧縮PCM信号を2の補数表示された14ビット
線形PCM信号に変換する伸張器において、μ則の場合
では、上記ステップ番号が表わす値の2倍に33を加え
て2′m (ただしmはセグメント番号に一致した1〜
8の整数)倍した値、A則では、圧縮PCM信号が第1
セグメント内32ステツプ中の最小16ステツプ以下の
信号に対してはそのステップ番号が表わす値の2倍に1
を加えて2倍した値、同じくA則であって、上記以上の
信号に対してはμ則と同じ値、をそれぞれ絶対値表示し
た振幅13ビツトの線形PCM信号に変換するよう組合
せ論理回路を用いて構成した第1の論理変換回路、前記
第1の変換回路の出力信号を1の補数表示信号に変換す
る第2の論理変換回路、前記第2の変換回路出力を一方
の入力とする14ビット並列加算器、正のμ則圧縮信号
に対しては2の補数表示された−33を、負のμ則圧縮
信号に対しては同様+34を、正のA副圧縮信号に対し
ては0を、負のA副圧縮信号に対しては同様+1を出力
して、上記並列加算器の他方の入力及び最下位ビットの
キャリー六カとする第3の論理変換回路から構成された
ことを特徴とする伸張回路。
The 1st bit is the polarity, the 2nd to 4th bits are the segment number, and the 5th to 8th bits are the step number.The A-subvalve linearly compressed PCM signal is converted into a 14-bit linear PCM signal expressed in two's complement. In the converting decompressor, in the case of μ law, 33 is added to twice the value represented by the above step number to give 2'm (where m is 1 to 1 which matches the segment number).
In the A-law, the compressed PCM signal is the first
For signals with a minimum of 16 steps or less among 32 steps in a segment, 1 times the value represented by that step number.
A combinational logic circuit is used to convert the value obtained by adding and doubling the value, which is also the A-law and the same value as the μ-law for signals above the above, into a linear PCM signal with an amplitude of 13 bits, each of which is expressed as an absolute value. a first logic conversion circuit constructed using the above-mentioned first logic conversion circuit; a second logic conversion circuit that converts the output signal of the first conversion circuit into a one's complement display signal; Bit-parallel adder, -33 expressed in two's complement for a positive μ-law compressed signal, +34 for a negative μ-law compressed signal, and 0 for a positive A sub-compressed signal. and a third logic conversion circuit which similarly outputs +1 for the negative A sub-compressed signal and uses the other input of the parallel adder and the least significant bit as a carry six. A decompression circuit.
JP11831484A 1984-06-11 1984-06-11 Expanding circuit Pending JPS60263529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11831484A JPS60263529A (en) 1984-06-11 1984-06-11 Expanding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11831484A JPS60263529A (en) 1984-06-11 1984-06-11 Expanding circuit

Publications (1)

Publication Number Publication Date
JPS60263529A true JPS60263529A (en) 1985-12-27

Family

ID=14733606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11831484A Pending JPS60263529A (en) 1984-06-11 1984-06-11 Expanding circuit

Country Status (1)

Country Link
JP (1) JPS60263529A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03228434A (en) * 1990-02-01 1991-10-09 Nec Corp Code converting circuit
EP0385492A3 (en) * 1989-03-03 1992-09-02 Motorola, Inc. Method and apparatus for data expansion

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0385492A3 (en) * 1989-03-03 1992-09-02 Motorola, Inc. Method and apparatus for data expansion
JPH03228434A (en) * 1990-02-01 1991-10-09 Nec Corp Code converting circuit

Similar Documents

Publication Publication Date Title
JPS6036138B2 (en) code conversion device
JPS60263529A (en) Expanding circuit
US4467315A (en) Digital compandor having nonlinear companding characteristics
US4163871A (en) Digital CVSD telephone conference circuit
JPS60251733A (en) Digital signal transmitter
JPS6136415B2 (en)
US6160502A (en) Interpolation digital filter for audio CODEC
JPS6057774B2 (en) Logical operation type digital compandor
US4534037A (en) Method and apparatus for scrambled pulse-code modulation transmission or recording
US4328584A (en) Method and arrangement for supervising signal amplitude converters
US5212481A (en) Circuit for code converting PCM codes
US5130942A (en) Digital filter with front stage division
JPS5866440A (en) Waveform coding system
EP0528650B1 (en) Circuit for digitally adding loss to a signal
JPS61274425A (en) Digital compressing curcuit
JPS6314524A (en) Audio encoding method
KR0163904B1 (en) D/a converter using digital signal delta
CA1195003A (en) Arrangement for converting the sampling frequencies of n time discrete or digital signals
JPS6318728A (en) Audio encoding method
JPS6161298B2 (en)
JPS6223628A (en) Digital expansion circuit
JPH01132223A (en) Block coding signal transmission system
JPS62283719A (en) Efm modulator
WO2000039932A3 (en) Serial d/a converter
JPS6030219A (en) Code conversion system for delta modulation