JPH0114737B2 - - Google Patents

Info

Publication number
JPH0114737B2
JPH0114737B2 JP55133092A JP13309280A JPH0114737B2 JP H0114737 B2 JPH0114737 B2 JP H0114737B2 JP 55133092 A JP55133092 A JP 55133092A JP 13309280 A JP13309280 A JP 13309280A JP H0114737 B2 JPH0114737 B2 JP H0114737B2
Authority
JP
Japan
Prior art keywords
bits
value
storage device
bit
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP55133092A
Other languages
Japanese (ja)
Other versions
JPS5698047A (en
Inventor
Tsuaitoreeku Rorufu
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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Publication of JPS5698047A publication Critical patent/JPS5698047A/en
Publication of JPH0114737B2 publication Critical patent/JPH0114737B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/50Conversion to or from non-linear codes, e.g. companding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G7/00Volume compression or expansion in amplifiers
    • H03G7/007Volume compression or expansion in amplifiers of digital or coded signals

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
  • Analogue/Digital Conversion (AREA)

Description

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

周期的な標本化によつて得られる、アナログ信
号の標本値がPCM語の形式のデジタル信号に変
換されるとき、制限されていないレベルの値から
組合わされているアナログ値は、使用の符号化要
素の数が制限されているため制限された数の振幅
段への対応が行なわれる。即ち所謂量子化が行な
われる。この種の量子化の結果として量子化雑音
が生じる。この量子化雑音が雑音として感じられ
ないように保証するために、アナログ信号振幅と
量子化によつて生じる雑音レベルとの比は所定の
値に保たれなければならない。 アナログ信号の振幅範囲全体にわたつて一様に
分割されている4000の振幅段を使用すれば十分な
信号対雑音比が得られよう。その場合確かに少な
くとも12の符号信号要素を有するデジタルな信号
が伝送されなければならない。しかもこのように
量子化ステツプが一様に分布されている場合大き
なアナログ値振幅の領域においては信号対雑音比
は過度に大きくなるだろう。従つて符号化の過程
において圧伸、即ち直線符号表示から非直線符号
表示への変換が、振幅領域全体にわたつて信号対
雑音比が一定であるように行なわれる。正確に一
定な信号対雑音比は対数圧伸特性によつて得られ
る。実際には所謂A法則またはμ法則に従つて簡
単に実現される圧伸特性に相応して行なわれる。
A法則を使用する場合13の直線のセグメントから
組み合わされている特性曲線に従つて行なわれ、
μ法則では15のセグメントである。これらの特性
曲線の直線分の勾配は、正負両領域においてそれ
ぞれ相隣るセグメントでは1/2に減少する。更に
各セグメントは16の同じ大きさの量子化区間に分
割されており、また各区間の高さはそれぞれ、相
隣るセグメントにおいて2倍になる。この法則性
は第1のセグメントでは使用されていない。A法
則に基づいた場合第1のセグメントは、それぞれ
直線符号化情報の2つの値を有する32個の正およ
び負の量子化区間から成つている。μ法則におい
ては第1のセグメントは同様にそれぞれ直線符号
化信号の2つの値を有する15の正および負の量子
化区間と、それぞれ直線符号化信号の唯1つの値
しか有さない1つの正および負の量子化区間とに
分割されている。従つてA法則では直線符号表示
における8192のステツプが圧伸化表示における
256のステツプに対応する。μ法則では直線符号
化ステツプと非直線符号化ステツプとの比は
16318対256である。 直線符号化信号値の非直線符号化信号値への上
記の対応を記憶装置を用いて行なうとき、可能な
256個の非直線符号化信号値を制御するために、
A法則に基づいた場合213のアドレスが、またμ
法則に基づいた場合214のアドレスが必要である。
即ち非直線符号化のために必要である8ビツトの
ため、前者では216ビツトの記憶容量および後者
では217ビツトの記憶容量が、また換言すれば
64kBit乃至128kBitを有する記憶容量を必要とす
ることを意味する。大量生産される、適当な大き
さを有する集積された半導体記憶装置を使用すれ
ば(この場合それぞれ8ビツトに512の記憶場所
を有する、即ち4kBitの記憶容量の半導体記憶装
置が使用される)、それぞれ20の接続端子を有す
る16乃至32個のこの種の記憶装置が必要とされ
る。しかし実際にはこのような大きな数の端子を
全体に配置することは不都合である。 従つて本発明の課題は、直線符号化デジタル信
号を、非直線符号化デジタル信号に変換するため
の方法において、その変換に関して僅かな費用で
すむ方法を提供することである。本発明によれ
ば、この課題は、2つの符号化形式で符号化され
る信号値の対応を2つの記憶装置を用いて行な
い、これら記憶装置のうち第1の記憶装置にはそ
の都度、正負の極性を決める最高値のビツトに続
いていて、少なくとも当該の信号値が所属する特
性曲線のセグメントを特徴付けるために必要な数
の、直線符号化信号値の比較的高い値のビツトを
制御アドレスとして供給し、その際この第1の記
憶装置の記憶セルにデジタル語を記憶し、これら
デジタル語の3つの最高値のビツトが、この情報
値が存在する特性曲線のセグメントを表わす相応
の非直線符号化情報値の、正負の極性を示すビツ
トに続く最高値のビツトであり、また前記デジタ
ル語の残りのビツトは、第2の記憶装置を制御の
ための部分アドレスを表わし、かつ第2の記憶装
置に比較的低い値の制御アドレス部分として、そ
の都度の直線符号化信号値の、変換の際に考慮さ
れないままにとどまる最低値のビツトを除いた残
りビツトを供給し、その際この第2の記憶装置の
記憶セルには、非直線符号化信号値が所属してい
る、特性曲線のセグメントの相応のステツプを特
徴付けるビツト組合せを記憶し、かつ非直線符号
化信号値を形成するために、直線符号化信号値の
最高値のビツトと、値がその次に来るビツトとし
て第1の記憶装置から読出される既述の3つの最
高値のビツトと、最低値のビツトとして、第2の
記憶装置から読出されるビツト組合せとを用いる
ことによつて解決される。 次に本発明を図面を用いて詳細に説明する。
When the sampled values of an analog signal obtained by periodic sampling are converted into a digital signal in the form of PCM words, the analog values combined from unrestricted level values are used in the encoding Due to the limited number of elements, a limited number of amplitude stages can be accommodated. That is, so-called quantization is performed. This type of quantization results in quantization noise. To ensure that this quantization noise is not perceived as noise, the ratio between the analog signal amplitude and the noise level caused by quantization must be kept at a predetermined value. Sufficient signal-to-noise ratio may be obtained using 4000 amplitude stages evenly divided over the entire amplitude range of the analog signal. In this case, a digital signal with at least 12 code signal elements must be transmitted. Moreover, if the quantization steps are uniformly distributed in this way, the signal-to-noise ratio will become excessively large in the region of large analog value amplitudes. Therefore, during the encoding process, a companding, ie a conversion from a linear code representation to a non-linear code representation, takes place in such a way that the signal-to-noise ratio is constant over the entire amplitude range. A precisely constant signal-to-noise ratio is obtained by the logarithmic companding characteristic. In practice, this is carried out in accordance with companding properties which can be easily realized according to the so-called A-law or μ-law.
When using the A law, it is done according to a characteristic curve that is combined from 13 straight line segments,
According to μ law, there are 15 segments. The slopes of the straight line segments of these characteristic curves decrease by half in adjacent segments in both the positive and negative regions. Furthermore, each segment is divided into 16 equally sized quantization intervals, and the height of each interval is doubled in each adjacent segment. This regularity is not used in the first segment. Based on A-law, the first segment consists of 32 positive and negative quantization intervals, each having two values of linearly encoded information. In μ-law, the first segment similarly consists of 15 positive and negative quantization intervals, each with two values of the linearly encoded signal, and one positive and negative quantization interval, each with only one value of the linearly encoded signal. and a negative quantization interval. Therefore, according to the A law, 8192 steps in the linear code representation are equivalent to 8192 steps in the companded representation.
Compatible with 256 steps. According to the μ-law, the ratio of linear encoding steps to non-linear encoding steps is
The ratio is 16,318 to 256. When performing the above correspondence of linearly encoded signal values to nonlinearly encoded signal values using a storage device, possible
To control 256 non-linearly encoded signal values,
Based on A law, the address of 2 13 is also μ
Based on the law, 2 14 addresses are required.
That is, because of the 8 bits required for non-linear encoding, the former requires a storage capacity of 2 16 bits and the latter 2 17 bits, or in other words,
This means that a storage capacity of 64kBit to 128kBit is required. If a mass-produced integrated semiconductor memory device of suitable size is used (in this case a semiconductor memory device with a storage capacity of 512 memory locations for 8 bits each, i.e. 4 kBit is used), Between 16 and 32 such storage devices with 20 connection terminals each are required. However, in reality, it is inconvenient to arrange such a large number of terminals throughout. SUMMARY OF THE INVENTION It is therefore an object of the invention to provide a method for converting a linearly coded digital signal into a non-linearly coded digital signal with low outlays for the conversion. According to the present invention, this problem is solved by using two storage devices to correspond the signal values encoded in two encoding formats, and the first storage device of these storage devices has the positive and negative values stored in each storage device. As a control address, the relatively high value bits of the linearly encoded signal value following the highest value bit determining the polarity of the linearly encoded signal value are at least as many as are necessary to characterize the segment of the characteristic curve to which the signal value in question belongs. supply, in which case digital words are stored in the memory cells of this first storage device, the three highest value bits of these digital words being associated with a corresponding non-linear sign representing the segment of the characteristic curve in which this information value lies. The digital word is the highest value bit following the bit indicating the positive or negative polarity of the digital word, and the remaining bits of the digital word represent a partial address for controlling the second storage device and the second storage device. The device is supplied with the remaining bits of the respective linearly encoded signal value, excluding the lowest value bit, which remains unconsidered during the conversion, as a relatively low-value control address part, with this second The memory cells of the storage device store bit combinations characterizing the corresponding steps of the segments of the characteristic curve to which the non-linearly encoded signal values belong, and the bit combinations that characterize the corresponding steps of the segments of the characteristic curve to which the non-linearly encoded signal values belong are stored, and are used to The highest value bit of the encoded signal value, the three previously mentioned highest value bits whose value is read out from the first storage device as the next bit, and the second storage device as the lowest value bit. The solution is to use a bit combination read from Next, the present invention will be explained in detail using the drawings.

【表】 第1表は既述のように、13のビツトを用いて直
線符号化されるデジタル信号と8ビツトを用いて
相応に非直線符号化されるデジタル信号との論理
対応関係を示してあり、その際表に示す関係は選
択されたA法則に従つている。表にはただ基礎に
なつている13折線特性の正の領域における関係の
みが示されている。特性の負の領域に対しては、
直線符号化における最高値のビツト213乃至非直
線表示における最高値のビツト27が2進値Lの代
わりに2進値Oを有するという点を除けば同じ表
示が当嵌る。両方の符号語群の間に記入されてい
る数字0乃至7は、相応の行が特性の曲線の半分
のセグメント0乃至7に該当することを示し、そ
の際両方の特性の半分のセグメント0および1が
それぞれ同じ勾配を有し、この結果完全な特性曲
線は実際には13の直線から構成されている。 表の右半分の非直線符号表示が示すように、全
部のセグメント0乃至7は、4つのビツト20乃至
23の16の可能な種々異なつた組合せa,b,c,
dに相応して、16の同じ大きさのステツプに分割
されている。正負の極性を示す最高値のビツト27
後の3つのビツト26乃至24は、セグメント0から
セグメント7まで組合せOOO乃至LLLを取り、
従つてセグメント領域を示す。 2つの形式の符号化、殊にセグメント0に該当
する符号化の論理対応関係から、直線符号化の最
低値のビツト20の2進値は非直線符号化される符
号語への対応において影響力がなく、従つて非直
線符号化におけるステツプが少なくとも2つの直
線符号化信号値を有することがわかる。本発明の
部分的な特徴によれば、この最低値のビツトは、
1つの形式の符号化から別の形式の符号化への変
換の際に考慮せずにそのまま放つておく。更に2
つの符号表の比較から、セグメント0およびセグ
メント1において可能なビツト組合せに相応し
て、それぞれ16,2の直線ステツプがそれぞれ非
直線符号化における16のステツプに相応すること
がわかる。更に、セグメント2からセグメント7
までは徐々に、量子化区間はそれぞれ2倍ずつ大
きくなつていくことがわかる。即ちセグメント2
においては16の非直線符号化符号語にそれぞれ、
ビツト20および21の組合せの可能性において種々
異なる4つの直線符号化された符号語が対応して
おり、セグメント3においては16の非直線符号化
符号語にそれぞれ、ビツト20乃至22の可能な組合
せによつて種々異なる8つの直線符号化符号語が
対応している。このようにして更にセグメント7
においては、16の非直線化される符号語にはそれ
ぞれビツト20乃至26の可能な組合せに相応する
128の直線符号化符号語に対応している。 本発明の方法を実現するための、図に示されて
いる装置は、固定記憶装置(ROM)またはプロ
グラミング可能な固定記憶装置(PROM)が使
用される2つの記憶装置K1およびK2を有す
る。 μ法則に基づいている場合は、14のビツト20
至212およびVを用いて、またA法則に基づいて
いる場合は13のビツト20乃至211およびVによつ
て形成されている、変換すべき直線符号化信号
SDLから、正負の極性を決める最高値のビツト
Vに続く、当該の信号値が所属する特性曲線のセ
グメントを特徴付けるために必要である数の比較
的高い値のビツトが制御領域を判定するために制
御アドレスとして供給される。以下の説明のため
に使用するA法則に基づいた場合にはそれは、第
1表の直線符号化に用いられる符号表に示すよう
に、ビツト211乃至25である。その理由は、これ
らすべてのビツトを関連付けた場合にのみ、個々
のセグメントにおいてステツプ限界値を指定す
る、セグメント0および1を除いて、セグメント
毎に異なつた重みのビツト21乃至210を有してい
るビツトa,b,c,dがどの位置をとるかを決
めることができるからである。 従つてA法則で変換するためには、第1の固定
記憶装置K1は27=128の記憶セルを有する。ま
たμ法則で変換する場合には28=256の記憶セル
がいる。 これら記憶セルには相応の対応においてデジタ
ル語が記憶されている。デジタル語の3つの最高
値のビツトは、正負の極性を示すビツトに続いて
いて、既述のように、この情報値が存在する特性
曲線のセグメントを表示する相応の非直線符号化
情報値の最高値のビツトである。上記のデジタル
語の残りのビツト、この場合は5つのビツトは、
第2の記憶装置K2を制御するための部分アドレ
スを形成する。従つて第1のプログラミング可能
な記憶装置の上記の記憶セルは、それぞれ8つの
ビツトに対する記憶場所を提供し、この結果A法
則に基づいた場合の全記憶容量は1024ビツトであ
る。 第1のプログラミング可能な記憶装置K1から
読出される、第2のプログラミング可能な記憶装
置K2用の部分アドレスは、この記憶装置の制御
アドレスの比較的高い値の部分を表わす。この記
憶装置の制御アドレスの比較的低い値の部分とし
て、直線符号化信号の最低値のビツトを除いた、
従つてこの場合はビツト21乃至24が用いられる。 9つのビツトを有するこれらの制御アドレスに
よつて第2のプログラミング可能な記憶装置K2
の512の記憶セルを制御することができる。これ
ら記憶セルには、個々の非直線符号化された信号
値が配属している特性曲線のセグメントの相応の
ステツプを特徴付けるビツト組合せが記憶されて
いる。第1表との関連において説明したように、
これらビツト組合せは4つのビツトを有し、これ
により第2のプログラミング可能な記憶装置K2
の記憶容量は512・4=2048ビツトになる。 冒頭に説明したように、符号変換のために、A
法則の場合には64KBitの記憶容量を有さなけれ
ばならない唯一のプログラミング可能な記憶装置
を使用する場合に比して本発明の方法を実施する
ための装置ではたつた3072ビツトの記憶場所しか
必要としない。 図に示すように、非直線符号化デジタル信号を
形成するために、直線符号化信号の正負の極性を
示すビツトが直接、最高値のビツトとして、即ち
正負の極性を示すビツトとして用いられ、第1の
プログラミング可能な記憶装置K1から読出され
る上記の3つのビツト26乃至24が後続値のビツト
として、即ちセグメントアドレスを表わすビツト
として用いられ、それから第2のプログラミング
可能な記憶装置K2から読出される4つのビツト
23乃至20が最低値のビツトとして用いられる。直
線符号化デジタル信号の最低値のビツト20は既に
説明した理由から考慮されないままである。 最後に、「直線符号化デジタル信号の211〜25
ビツトを制御アドレスとして、第2の記憶装置K
2の制御のために第1の記憶装置K1がどのよう
な部分アドレスを出力しているのか」を明らかに
するために本発明を今一度要約する。 第1表は、12のビツト20ないし211および極性
ビツトVを有する直線符号化されたデジタル信号
と複数折線特性曲線により相応に非直線符号化さ
れたデジタル信号との間の関係を対照して示して
おり、後者はその都度7つのビツト20ないし26
よび1つの極性ビツトを含んでいる。表には極性
ビツトLに相応する正の極性を有するデジタル信
号のみが考慮されている。 第1表の右側が示すように、正の特性曲線半部
に相応して符号化されている非直線符号化された
デジタル信号はビツト24ないし26がセグメントア
ドレスを形成する8つのセグメント0ないし7の
いずれかに属している。これらセグメント内にお
いて、ビツト20ないし23によつて表される16の
種々異なつた値が可能である。 この右側の表と左側の表との比較が示すよう
に、極性ビツト後最初に発生する、直線符号化デ
ジタル信号の2進値Lを有するビツトの位置が、
相応の非直線符号化デジタル信号がどのセグメン
トに該当するかを決定する。即ち例えば、2進値
Lを有する第1のビツトがビツト桁28にある直線
符号化デジタル信号は、セグメントアドレス
LOOであるセグメント4に属する非直線符号化
デジタル信号に相応する。 2つの表部分の比較は、直線符号化と非直線符
号化の間の示された関係において直線符号化デジ
タル信号のうち、非直線符号化デジタル信号のい
ずれのセグメントにそれが相応するかを決定する
際、ビツト25ないし211が関連付けられてなけれ
ばならないことも示している。従つてこのこと
は、第1図の装置においてビツト25ないし211(破
線で示すビツト212は別のコード表示に対して該
当する)が第1の記憶装置K1に供給される理由
である。更に表の対照から、直線符号化デジタル
信号のビツト25ないし211の関連付けを用いて、
既述のように、非直線符号化コード語の構成要素
である、当該のセグメント0ないし7のアドレス
も決定することができることも明らかである。従
つて記憶装置K1は非直線符号化デジタル信号の
セグメントアドレスを表示するビツト24ないし26
を直接送出することができる。 第1表の2つのコード表の比較から、セグメン
ト0および1において16×2の直線ステツプがそ
れぞれ非直線コード表示における16のステツプに
相応すること、セグメント2からセグメント7に
向かつて徐々に量子化区分がそれぞれ係数2ずつ
大きくなることも明らかである。全体として同一
の極性を有する4096の直線符号化コード組合せが
非直線表示における同じ極性の128のコード組合
せと対照している。 既述のように、直線符号化デジタル信号のビツ
ト25乃至211をメモリK1の制御と関連付けるこ
とによつて非直線符号化コード語の8つのセグメ
ントに対する対応が行われる。直線符号化デジタ
ル信号の全部で4096の種々異なつた組合せを考慮
することができるように、メモリK2は種々異な
ることができる512の記憶場所を有しなければな
らない(4096:8)。直線符号化コード語のビツ
ト21乃至24は記憶装置K2に直接供給されるの
で、この記憶装置はその他に、記憶装置K1から
供給される別の5つの制御ビツトを必要とし、こ
れによりこのメモリにおいて29=512の記憶場所
をアドレス指定することができる。
[Table] As mentioned above, Table 1 shows the logical correspondence between a digital signal that is linearly encoded using 13 bits and a digital signal that is correspondingly non-linearly encoded using 8 bits. , and the relationships shown in the table then follow the selected A-law. The table only shows relationships in the positive region of the underlying 13-fold line characteristics. For the negative region of the characteristic,
The same representation applies, except that the highest value bit 213 in the linear encoding to the highest value bit 27 in the non-linear representation has the binary value O instead of the binary value L. The numbers 0 to 7 entered between the two codeword groups indicate that the corresponding line corresponds to segments 0 to 7 of the characteristic curve half, with both characteristic curve halves segments 0 and 7 corresponding to each other. 1 each have the same slope, so that the complete characteristic curve actually consists of 13 straight lines. As shown by the non-linear signage in the right half of the table, all segments 0 to 7 contain four bits 2 0 to 7 .
2 3 16 different possible combinations a, b, c,
d, it is divided into 16 equally sized steps. Highest value bit 2 7 indicating positive/negative polarity
The latter three bits 26 to 24 take the combination OOO to LLL from segment 0 to segment 7,
Therefore, it indicates a segment area. From the logical correspondence between the two types of encoding, especially the encoding corresponding to segment 0, the binary value of the lowest value bit 20 of linear encoding has an influence on the correspondence to codewords that are non-linearly encoded. It can be seen that there is no force and therefore a step in the non-linear encoding has at least two linearly encoded signal values. According to a partial feature of the invention, this lowest value bit is
Leave it as is without consideration when converting from one type of encoding to another. 2 more
From a comparison of the two codebooks, it can be seen that, corresponding to the possible bit combinations in segment 0 and segment 1, 16 and 2 linear steps respectively correspond to 16 steps in non-linear encoding. Furthermore, segment 2 to segment 7
It can be seen that the quantization intervals gradually become twice as large. i.e. segment 2
In each of the 16 non-linearly encoded codewords,
Four linearly encoded codewords differing in the possible combinations of bits 20 and 21 correspond to 16 non-linearly encoded codewords in segment 3, respectively with bits 20 to 22 . There are eight linearly encoded codewords that vary depending on the possible combinations of . In this way, segment 7
In , each of the 16 nonlinearized codewords corresponds to a possible combination of bits 20 to 26 .
It supports 128 linearly encoded codewords. The device shown in the figure for implementing the method of the invention has two storage devices K1 and K2, in which a permanent memory (ROM) or a programmable permanent memory (PROM) is used. If it is based on the μ law, it is formed using 14 bits 20 to 212 and V, and if it is based on the A law, it is formed by 13 bits 20 to 211 and V. Linear encoded signal to be converted
From the SDL, following the highest value bit V that determines the positive or negative polarity, the number of relatively high value bits required to characterize the segment of the characteristic curve to which the signal value in question belongs is determined in order to determine the control region. Provided as a control address. Based on the A-law used for the following explanation, it is bits 211 to 25 , as shown in the codebook used for linear encoding in Table 1. The reason is that each segment has bits 21 to 210 with different weights, except for segments 0 and 1, which specify the step limits in each individual segment only when all these bits are associated. This is because it is possible to determine which position the bits a, b, c, and d will occupy. For conversion according to A-law, the first fixed storage device K1 therefore has 2 7 =128 storage cells. Furthermore, when converting using the μ law, there are 2 8 = 256 memory cells. Digital words are stored in these storage cells in a corresponding manner. The three highest value bits of the digital word are followed by bits indicating positive and negative polarity and, as already mentioned, are associated with a corresponding non-linearly encoded information value representing the segment of the characteristic curve in which this information value lies. This is the highest value bit. The remaining bits of the digital word above, in this case 5 bits, are
A partial address is formed for controlling the second storage device K2. The above-mentioned storage cells of the first programmable storage device thus each provide storage locations for 8 bits, so that the total storage capacity based on A-law is 1024 bits. The partial address read from the first programmable storage device K1 for the second programmable storage device K2 represents a relatively high value portion of the control address of this storage device. As a relatively low value part of the control address of this storage device, the lowest value bit of the linearly encoded signal is excluded.
Therefore, bits 21 to 24 are used in this case. By means of these control addresses with 9 bits the second programmable memory K2
can control 512 storage cells. In these storage cells, bit combinations are stored which characterize the corresponding step of the segment of the characteristic curve to which the individual non-linearly coded signal value is assigned. As explained in connection with Table 1,
These bit combinations have 4 bits and are thereby used in the second programmable memory K2.
The storage capacity of is 512.4 = 2048 bits. As explained at the beginning, for code conversion, A
The device for implementing the method of the invention requires only 3072 bits of storage space compared to the case of using only a programmable storage device, which in the case of the law would have to have a storage capacity of 64 KBits. I don't. As shown in the figure, in order to form a non-linearly encoded digital signal, the bits indicating positive and negative polarities of the linearly encoded signal are directly used as the highest value bits, that is, the bits indicating positive and negative polarities, and The above three bits 26 to 24 read from one programmable memory K1 are used as bits of the subsequent value, ie as bits representing the segment address, and are then read from the second programmable memory K2. 4 bits read
23 to 20 are used as the lowest value bits. The lowest value bit 20 of the linearly encoded digital signal remains unconsidered for the reasons already explained. Finally, the bits 211 to 25 of the linearly encoded digital signal are used as control addresses, and the second storage device K
The present invention will be summarized once again in order to clarify what kind of partial address is output by the first storage device K1 for the control of the second storage device K1. Table 1 contrasts the relationship between a linearly encoded digital signal with 12 bits 20 to 211 and a polarity bit V and a correspondingly non-linearly encoded digital signal with a multi-linear characteristic curve. The latter contains in each case seven bits 20 to 26 and one polarity bit. Only digital signals with positive polarity corresponding to the polarity bit L are considered in the table. As the right side of Table 1 shows, the non-linearly encoded digital signal encoded corresponding to the positive half of the characteristic curve consists of eight segments 0, of which bits 24 to 26 form a segment address. It belongs to any one of 7 to 7. Within these segments, 16 different values are possible, represented by bits 20 to 23 . As a comparison of the table on the right and the table on the left shows, the position of the first bit with binary value L in the linearly encoded digital signal that occurs after the polarity bit is
Determining which segment the corresponding non-linearly encoded digital signal corresponds to. That is, for example, a linearly encoded digital signal with a binary value L and the first bit in bit position 28 will have a segment address
It corresponds to a non-linearly encoded digital signal belonging to segment 4, which is LOO. A comparison of the two table parts determines which segment of the non-linearly encoded digital signal it corresponds to in the indicated relationship between linearly encoded and non-linearly encoded digital signal. It also shows that bits 25 to 211 must be associated when doing so. This is therefore why in the device of FIG. 1 bits 25 to 211 (bits 212 shown in dashed lines correspond to the other code representations) are supplied to the first storage device K1. . Furthermore, from the comparison in the table, using the association of bits 25 to 211 of the linearly encoded digital signal,
As already mentioned, it is also clear that the addresses of the segments 0 to 7 in question, which are constituents of the non-linearly coded code word, can also be determined. The storage device K1 therefore stores bits 24 to 26 representing the segment address of the non-linearly encoded digital signal.
can be sent directly. From the comparison of the two code tables in Table 1, it can be seen that the 16 x 2 linear steps in segments 0 and 1 each correspond to 16 steps in the non-linear code representation, and that the quantization gradually increases from segment 2 to segment 7. It is also clear that each division grows by a factor of 2. The 4096 linear encoded code combinations with the same overall polarity are contrasted with the 128 code combinations of the same polarity in the non-linear display. As already mentioned, the correspondence to the eight segments of the non-linearly encoded code word is provided by associating bits 25 to 211 of the linearly encoded digital signal with the control of the memory K1. In order to be able to take into account a total of 4096 different combinations of linearly encoded digital signals, the memory K2 must have 512 storage locations that can be different (4096:8). Since bits 21 to 24 of the linearly coded code word are fed directly to the memory K2, this memory additionally requires another five control bits fed from the memory K1, so that this 2 9 =512 locations can be addressed in memory.

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

図は本発明の変換方法を実施するために使用さ
れる2つの記憶装置および相応の制御および出力
線の配置を示している。 SDL……直線符号化デジタル信号、SDK……
非直線符号化デジタル信号、K1,K2……記憶
装置。
The figure shows two storage devices and the corresponding control and output line arrangement used to implement the conversion method of the invention. SDL...linear encoded digital signal, SDK...
Non-linear encoded digital signals, K1, K2... storage device.

Claims (1)

【特許請求の範囲】 1 直線符号化デジタル信号をA法則またはμ法
則に従う複数折線特性によつて非直線符号化デジ
タル信号に変換するための方法において、 2つの符号化形式で符号化される信号値SDL,
SDKの対応が2つの記憶装置K1,K2を用い
て行なわれ、該記憶装置のうち第1の記憶装置K
1にはその都度、正負の極性を決める最高値のビ
ツトVに続いていて、少なくとも当該の信号値が
所属する特性曲線のセグメントを特徴付けるため
に必要な数の、直線符号化信号値SDLの比較的
高い値のビツト(212乃至25乃至211乃至25)が制
御アドレスとして供給され、その際この第1の記
憶装置K1の記憶セルにデジタル語が記憶されて
おり、該デジタル語の3つの最高値のビツト
(A8乃至A6)は、当該の信号値が存在する特性
曲線のセグメントを表わす相応の非直線符号化信
号値SDKの、正負の極性ビツトVに続く最高値
のビツト(26乃至24)であり、また前記デジタル
語の残りのビツト(A5乃至A1)は、第2の記憶
装置K2の制御のための部分アドレス(A8乃至
A4)を表わしており、かつ第2の記憶装置には
比較的低い値の制御アドレス部分(A3乃至A0)
として、その都度の直線符号化信号値(SDL)
の、変換の際に考慮されないままにとどまる最低
値のビツト(20)を除いた残りのビツト(24乃至
21)が供給され、その際この第2の記憶装置K2
の記憶セルには、非直線符号化信号値(SDK)
が配属している、特性曲線のセグメントの相応の
ステツプを特徴付けるビツト組合せ20乃至23が記
憶されており、かつ非直線符号化信号値(SDK)
を形成するために、直線符号化信号値(SDL)
の最高値のビツトVと、値がその次に来るビツト
(26乃至24)として、第1の記憶装置から読出さ
れる既述の3つの最高値のビツト(A8乃至A6)
と、最低値のビツト(23乃至20)として、第2の
記憶装置K2から読出されるビツト組合せとが用
いられることを特徴とする変換方法。
[Scope of Claims] 1. A method for converting a linearly encoded digital signal into a non-linearly encoded digital signal according to a multi-line characteristic according to the A-law or the μ-law, comprising: a signal encoded in two encoding formats; value SDL,
SDK correspondence is performed using two storage devices K1 and K2, and the first storage device K of the storage devices is
1, in each case a comparison of as many linearly encoded signal values SDL following the highest value bit V determining the positive or negative polarity and at least as many as are necessary to characterize the segment of the characteristic curve to which the signal value in question belongs. The bits with the highest value (2 12 to 2 5 to 2 11 to 2 5 ) are supplied as a control address, and a digital word is stored in the storage cells of this first storage device K1, and the bits of this digital word are The three highest value bits (A8 to A6) are the highest value bits (2 6 to 24 ), and the remaining bits (A5 to A1) of the digital word are partial addresses (A8 to A1) for the control of the second storage device K2.
A4), and the control address part (A3 to A0) with a relatively low value is stored in the second storage device.
as the respective linearly encoded signal value (SDL)
The remaining bits (from 2 4 to
2 1 ) is supplied, then this second storage device K2
storage cells contain non-linearly encoded signal values (SDK)
The bit combinations 20 to 23 characterizing the corresponding step of the segment of the characteristic curve to which
Linear encoded signal values (SDL) to form
The highest value bit V and the three highest value bits ( A8 to A6) read from the first storage device as the next bits (26 to 24 ) in value.
and a bit combination read from the second storage device K2 as the lowest value bits (2 3 to 2 0 ).
JP13309280A 1979-09-26 1980-09-26 Method of converting linear encoded digital signal to nonlinear encoded digital signal with plural polygonal characteristic according to a rule or micro rule Granted JPS5698047A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19792938984 DE2938984A1 (en) 1979-09-26 1979-09-26 METHOD FOR CONVERTING LINEAR CODED DIGITAL SIGNALS TO NON-LINEAR CODED DIGITAL SIGNALS ACCORDING TO A MULTIPLE-SEGMENT CHARACTERISTIC COMPLIANCE WITH THE A-LAW OR MY-LAW

Publications (2)

Publication Number Publication Date
JPS5698047A JPS5698047A (en) 1981-08-07
JPH0114737B2 true JPH0114737B2 (en) 1989-03-14

Family

ID=6081912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13309280A Granted JPS5698047A (en) 1979-09-26 1980-09-26 Method of converting linear encoded digital signal to nonlinear encoded digital signal with plural polygonal characteristic according to a rule or micro rule

Country Status (4)

Country Link
US (1) US4500869A (en)
EP (1) EP0029490B1 (en)
JP (1) JPS5698047A (en)
DE (1) DE2938984A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3028726C2 (en) * 1980-07-29 1986-12-11 Siemens AG, 1000 Berlin und 8000 München Method and circuit arrangement for converting linearly coded digital signals into non-linearly coded digital signals in accordance with a multiple-segment characteristic curve that obeys my law
DE3028734A1 (en) * 1980-07-29 1982-03-04 Siemens AG, 1000 Berlin und 8000 München METHOD FOR CONVERTING POSITIVE LINEAR CODED DIGITAL SIGNALS AND THEIR TWO COMPLEMENT TO NONLINEAR CODED DIGITAL SIGNALS MEASURED IN A MULTIPLE SEGMENT CHARACTERISTIC COMPLIANCE WITH THE A-LAW
DE3104528C2 (en) * 1981-02-09 1984-10-11 Siemens AG, 1000 Berlin und 8000 München Method for converting linearly coded PCM words into nonlinearly coded PCM words and vice versa
DE3104513C2 (en) * 1981-02-09 1983-03-31 Siemens AG, 1000 Berlin und 8000 München Method for converting linearly coded PCM words into nonlinearly coded PCM words and vice versa nonlinearly coded PCM words into linearly coded PCM words according to a 13-segment characteristic curve that obeys the A law
AT376335B (en) * 1981-07-23 1984-11-12 Siemens Ag Oesterreich ECONOMY FOR MATRIX MEMORY
GB2127599B (en) * 1982-09-17 1985-12-18 British Broadcasting Corp Decoding digital data
DE3324031A1 (en) * 1983-07-04 1985-01-17 Siemens AG, 1000 Berlin und 8000 München Quantiser for DPCM encoders
GB2178577B (en) * 1985-07-27 1989-01-11 Plessey Co Plc A signal converter
FR2612024A1 (en) * 1987-02-25 1988-09-09 Mitel Corp Circuit for compression and expansion of digital signals
DE4315947C2 (en) * 1993-05-12 1995-11-16 Siemens Ag Arrangement for signal transmission between an audio device and a telephone device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3694639A (en) * 1970-04-07 1972-09-26 Pierre A Deschenes Pulse code modulation digital compandor
US3863248A (en) * 1973-01-02 1975-01-28 Univ Sherbrooke Digital compressor-expander
DE2312128A1 (en) * 1973-03-10 1974-09-12 Dirk Dr Ing Rotthaus CIRCUIT ARRANGEMENT FOR DETERMINING THE DUAL LOGARITHM OF A BINARY NUMBER
US4037226A (en) * 1976-01-07 1977-07-19 Ncr Corporation Pulse code modulation compressor
SU615486A1 (en) * 1977-01-03 1978-07-15 Всесоюзный научно-исследовательский институт аналитического приборостроения Arrangement for taking a logarithm
GB1597468A (en) * 1977-06-02 1981-09-09 Post Office Conversion between linear pcm representation and compressed pcm

Also Published As

Publication number Publication date
DE2938984C2 (en) 1989-01-19
DE2938984A1 (en) 1981-04-09
JPS5698047A (en) 1981-08-07
EP0029490B1 (en) 1984-02-29
EP0029490A1 (en) 1981-06-03
US4500869A (en) 1985-02-19

Similar Documents

Publication Publication Date Title
US5696791A (en) Apparatus and method for decoding a sequence of digitally encoded data
EP0259566A2 (en) Networks used in A/D and D/A converters with correction for differential errors
JPS58165443A (en) Encoded storage device of signal
US4531153A (en) Method and apparatus for encoding and decoding a binary digital information signal
JPH0114737B2 (en)
US4536760A (en) Signal-envelope display system for a digital oscilloscope
US3952247A (en) Level indicating apparatus for P.C.M. transmitting system
US4363024A (en) Digital-to-analog converter providing multiplicative and linear functions
US5101433A (en) Encoding method
KR930001363B1 (en) Cross interleave circuit
US4672875A (en) Waveshape memory for an electronic musical instrument
EP0209835B1 (en) Apparatus for converting digital values into analog values
EP0166607A2 (en) Encoding method for time encoded data
JPS607420B2 (en) code converter
US3729732A (en) Cascade-feedback analog to digital encoder with error correction
US4544916A (en) Digital code translator
KR900005464B1 (en) An untrimmed 12 bit montonic all capacitive a to d converter
US4686459A (en) Level indicator
KR960020008A (en) Analog / Digital Converter
JPS594323A (en) Ad converting circuit
KR830001222B1 (en) Electrophonic musical instruments
JPS58224498A (en) Memory device of waveform
JPS58145227A (en) Digital-analog conversion circuit
JPS62132428A (en) Analog-digital converter
US5239558A (en) Pulse code modulation circuit