JPS6070836A - Transmitter - Google Patents

Transmitter

Info

Publication number
JPS6070836A
JPS6070836A JP17889083A JP17889083A JPS6070836A JP S6070836 A JPS6070836 A JP S6070836A JP 17889083 A JP17889083 A JP 17889083A JP 17889083 A JP17889083 A JP 17889083A JP S6070836 A JPS6070836 A JP S6070836A
Authority
JP
Japan
Prior art keywords
data
bit
bits
transmission
carry
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
JP17889083A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kanzaki
神崎 裕行
Susumu Takahashi
暹 高橋
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.)
Sansui Electric Co Ltd
Original Assignee
Sansui Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sansui Electric Co Ltd filed Critical Sansui Electric Co Ltd
Priority to JP17889083A priority Critical patent/JPS6070836A/en
Priority to DE19843411962 priority patent/DE3411962A1/en
Priority to US06/596,199 priority patent/US4633483A/en
Priority to GB08408439A priority patent/GB2139834B/en
Publication of JPS6070836A publication Critical patent/JPS6070836A/en
Pending 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/3053Block-companding PCM systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To realize simply correction of transmission data and accumulation of digit shift-down bits by accumulating a low-order data other than an high-order significant bit extracted from PCM code original data and adding a carry to transmission bit data when the carry occurs in the significant bit. CONSTITUTION:DPCM data is compressed into 8 bits by a compression extraction circuit 52 and also inputted to the 1st mask logic 54, where the low-order accumulation object bit in response to a scale value is given to an accumulator 55. The value of a logic 54 and a value of a digit shift-down storage register 57 which is accumulation of digit shift-down bits so far are added in the accumulator 55, the carry is masked in the added value and given to the register 57 and also inputted to a carry/overflow detection logic 58, then the occurrence of the carry is checked at the least significant bit location of the transmission data, and when the overflow condition is not established, an encode counter 53 is incremented by 1.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明はPCM (パルス符号変調)を用いた信号伝送
に係り、特に差分PCMすなわちDPCM(cliNe
rential PCM>を用いた信号伝送に好適な送
信装置に関するものである。
Detailed Description of the Invention [Technical Field of the Invention] The present invention relates to signal transmission using PCM (pulse code modulation), and particularly to differential PCM or DPCM (cliNe
The present invention relates to a transmitting device suitable for signal transmission using PCM>.

[発明の技術的背景] 効率のよいPCM符号化方式としてDPCMが知られて
いる。通常のPCM符号化がオーディオ信号等のアナロ
グ原信号を時々刻々とサンプリングした値をディジタル
データすなわちPCM符号として伝送するのに対し、D
PCMは直前の値との差分すなわち2サンプル間の差分
だけをディジタルデータとして伝送するものである。
[Technical Background of the Invention] DPCM is known as an efficient PCM encoding method. While normal PCM encoding transmits values obtained by sampling an analog original signal such as an audio signal every moment as digital data, that is, a PCM code, D
PCM transmits only the difference from the previous value, that is, the difference between two samples, as digital data.

第1図にDPCM符号化を用いた伝送システムの一例を
示す。
FIG. 1 shows an example of a transmission system using DPCM encoding.

この第1図のシステムでは差分をとるのにアナログ値の
状態で差分をとらずにディジタル値で差分をとっている
。すなわち、アナログ原信号例えばオーディオ信号はA
/D (アナログ−ディジタル)変換器1で例えば15
ビツトのディジタルデータに変換され、レジスタ等を用
いた遅延回路2で1サンプル分遅延されたデータととも
に差分器3に与えられて、両者の差分デ〜りすなわちD
PCM符号が例えば16ビツI〜で伝送系に送出される
。ここで、伝送系とは単な◆接続線や変、/復調系を介
在した通信回線(電波、光等を媒体どづる場合もある)
等の伝送路の他、記録/再生系(記録媒体がいわば伝送
媒体となる)などをも含むいわゆる広義の伝送系を指す
。伝送系tこて伝送されたこの場合16どツ)−の差分
データは加算器4に与えられ遅延0銘5で1サンプル分
遅延された前回の加算器−4出力と加算され累計(積分
)されて例えば15ピツ1〜のデータとしてり、/A(
ティシタルーアナログ)変換器6に与えられ、アブログ
オーディオ信号が出力される。
In the system shown in FIG. 1, the difference is not taken in the form of analog values, but in the form of digital values. In other words, an analog original signal, for example an audio signal, is A
/D (analog-digital) converter 1 for example 15
The data is converted into bit digital data, and is sent to the difference unit 3 along with the data delayed by one sample in the delay circuit 2 using a register etc., and the difference difference between the two is D
The PCM code is sent to the transmission system in, for example, 16 bits I. Here, the transmission system is simply a ◆communication line with connection lines, conversion, and/or demodulation systems (there are cases where radio waves, light, etc. are used as a medium)
It refers to a so-called transmission system in a broad sense, including a recording/reproducing system (the recording medium serves as a transmission medium, so to speak) in addition to transmission lines such as the above. The difference data (in this case, 16 dots) - transmitted through the transmission system t is given to adder 4, and is added to the previous adder 4 output, which was delayed by 1 sample with a delay of 0, and is summed (integrated). For example, if the data is 15 pits 1~, /A(
The audio signal is applied to a digital to analog converter 6, and an analog audio signal is output.

DPCM符号化tこおいては、時間的【こ隣接づる2サ
ンプル間の差分データを伝送することにより、伝送デー
タ値が平均的には小さくなるか、まれに発生する最大レ
ベルデータはP CMとほぼ同しデータ値(レベル)と
なる。
In DPCM encoding, by transmitting the difference data between two temporally adjacent samples, the transmitted data value becomes smaller on average, or the rarely occurring maximum level data becomes PCM. The data values (levels) are almost the same.

すなわち、DPCMの特徴は(イ)伝送データの平均的
レベルは非常に小さいこと、(ロ)1ム送データの最大
レベルは普通のPCMと同じであるがその出現確率は非
常に低いことの2点にある。
In other words, the characteristics of DPCM are (a) the average level of transmitted data is very small, and (b) the maximum level of one frame of transmitted data is the same as that of ordinary PCM, but the probability of its occurrence is extremely low. At the point.

このように平均的レベルが小さく、大レベル信号の出現
確率の低いデータを有効に伝送する方式として、原デー
タに比して少ない所定ビット数で通常の伝送を行い、こ
の所定ビット数で表現できる範囲を越える大レベル信号
は有効ピッ1へ上位の上記所定ビット数のみを伝送デー
タとし下位ビットは切捨てて伝送することが考えられる
。この場合切捨てた下位ビットについては、切捨てたビ
ット数のみを受信側に伝送(切捨ビットの内容(ま送ら
ない)すれば、受信側で正しい桁数に戻すことができ、
はぼ正しい再生が行える。現実0りにIt複数のサンプ
ルからなるデータブロック毎シこブロック内のサンプル
のうちの最大レベル値を検出し、それに応じて該ブロッ
ク内のデータを桁シフトして上位所定ビット数のデータ
を主伝送データとするとともに上記桁シフト情報を切捨
てビット数に対応するスケール情報として、これら主伝
送データとスケール情報を伝送する。このようにすれl
f多多数数のサンプルデータからなるデータフロック毎
に1個ずつのスケール情報を伝送りるた(Jて)よ(工
充分な情報伝送が可能となる。
As a method for effectively transmitting data with a small average level and a low probability of occurrence of high-level signals, normal transmission is performed using a predetermined number of bits that is smaller than the original data, and the data can be expressed using this predetermined number of bits. It is conceivable that a high-level signal exceeding the range is transmitted to effective pin 1 by using only the predetermined number of upper bits as transmission data and truncating the lower bits. In this case, regarding the lower bits that were truncated, if you transmit only the truncated number of bits to the receiving side (and do not send the content of the truncated bits), the receiving side can return to the correct number of digits.
The playback can be performed accurately. In reality, for each data block consisting of a plurality of samples, the maximum level value of the samples in the block is detected, and the data in the block is digit-shifted accordingly, so that the data of the upper predetermined number of bits is used as the main data. The main transmission data and scale information are transmitted as transmission data, and the digit shift information is used as scale information corresponding to the number of cut-off bits. Like this
One piece of scale information is transmitted for each data block consisting of a large number of sample data (this enables efficient information transmission).

このような方式を具体的な一例について詳細に説明する
。ここで説明する例は通常のPCM伝送において上記方
式により伝送データのビ゛ツ1〜数を低減するものであ
り、第2図に構成を示す。
A specific example of such a method will be explained in detail. The example described here is for reducing the number of bits of transmission data by the above method in normal PCM transmission, and the configuration is shown in FIG.

この場合、送信側は例えばオーディオ信号からなる入力
アナログ信号をA/Dコンバータ7で充分なビット・数
例えば15ビツトのディジタル予備変換データに予定時
間隔で変換した後、ディジタルレベル検出手段8てディ
ジタル的に予定期間1)1の最大レベルまたはそれにほ
ぼ相当するレベルを検出し、例えば4どツI・のスケー
ル情報データを得、そしてデータ圧縮部を構成するテイ
ジタルレベル可変制御手段9では上記スケール情報デー
タに基づいて上記A/Dコンバータ7の出力子直変換デ
ータをディジタル的にレベルコン1〜ロールしてデータ
圧縮し例えば8ピッ1−の主データを1qて1、この主
データと上記スケール情報テーータとを合成手段丁Oに
て多数の主データに1個のスケール情報データが対応す
るようにして伝送系に送出する。
In this case, on the transmitting side, the A/D converter 7 converts an input analog signal, for example, an audio signal, into digital preliminary conversion data of sufficient bits, for example, 15 bits, at scheduled time intervals, and then the digital level detecting means 8 converts the input analog signal into digital preliminary conversion data. For example, the maximum level of the scheduled period 1) 1 or a level approximately equivalent to it is detected, and scale information data of, for example, 4 dotsu I. Based on the information data, the output direct conversion data of the A/D converter 7 is digitally level-converted by rolling 1 to 1 to compress the data. For example, the main data of 8 pips 1- is 1q to 1, and this main data and the above scale are The information data are sent to the transmission system by a synthesizing means so that one scale information data corresponds to a large number of main data.

一方、受信側は分離手段11で伝送系から受信した伝送
信号から主データとスケール情報データとを分離抽出し
、データ伸長部を構成するディジタルレベル可変制御手
段12で上記主データを上記スケール情報データに基づ
いて送信側とは逆の制御特性でディジタル的なレベル可
変制御(データ伸長〉を行ないD/Aコンバータ13で
アナログ化して出力アナログ信号を得る。
On the other hand, on the receiving side, a separation means 11 separates and extracts the main data and scale information data from the transmission signal received from the transmission system, and a digital level variable control means 12 constituting a data expansion section converts the main data into the scale information data. Based on this, digital level variable control (data expansion) is performed with control characteristics opposite to those on the transmitting side, and the signal is converted into an analog signal by the D/A converter 13 to obtain an output analog signal.

上記ディジタルレベル検出手段8にお(〕るティジタル
レレベ検出は、予備変換データ中の有効ビット数、すな
わち有効ビットのうち符号ピッl〜を除いたものの最上
位のビット位置、を検出することにより行ない、上記デ
ィジタルレベル可変制御手段9におけるディジタルレベ
ル可変制御は上記最上位有効ビット位置にほぼ対応する
ビット位首部分を上記予備変換データより取り出して主
データを作ることにより行なう。
The digital level detection by the digital level detection means 8 is carried out by detecting the number of effective bits in the pre-converted data, that is, the most significant bit position of the effective bits excluding the sign pixel. The digital level variable control in the digital level variable control means 9 is performed by extracting the bit position portion approximately corresponding to the most significant effective bit position from the preliminary conversion data to create main data.

例えば第3図(a)〜(C)に示すように15ビツトの
予備変換データ中斜線を施した部分か有効ヒツトである
とすれば、同図(a)の場合有効ビットが予備変換デー
タのうち6ヒツ1〜を占イjしており、8ビツトの主デ
ータをとるには、下位8ヒツトをそのまま主データとす
れ(まよい。このとき主データをとる位置は下位8ヒツ
トであるので、予備変換データから何らピッ1〜シフ1
−を行なわずに下位8ビツトのみをそのまま取り出した
ことに相当し、このときの制御レベルずなわもスケール
情報は上記シフ1−firo、、lとなる。この例から
もわかるようにシフト■はOヒツト−が最小であるので
有効ビット数が8以下のときはスケール情報は一律に「
O」を選定づ゛る。また同図(b)の場合有効ビット数
が9ビン1〜であるの−C,図から明らかなように主デ
ータの取出し位置は上位(左)へ1じツI〜シフ1〜す
ることになりスクール情報は「1Jとなって主データと
して8ヒソ(・をとれ(,1最下位有効ピッ!〜ずなわ
ら予備変換データのl5B(最下位ピッ1−)は無視さ
れ、この部分(J誤2となる。(このとき主データ8ヒ
ッI−の取出し位置に対して予備変換データを下位(右
)に1ビントシフトシて下位1ビツトを切捨てたと考え
ることもできる。)同図(C)の場合は有効ビット数が
15ピツ1〜であり、スケール情報はr7Jとなり、こ
の場合は予備変換データの下位7ビツトが無視される。
For example, if it is assumed that the shaded part in the 15-bit preliminary conversion data is a valid hit as shown in Figures 3(a) to (C), then in the case of Figure 3(a), the valid bit is in the preliminary conversion data. Of these, 6 hits 1~ are counted, and in order to take 8-bit main data, the lower 8 hits should be used as the main data (maybe. At this time, the positions where the main data is taken are the lower 8 hits, so There are no pins 1 to 1 from the preliminary conversion data.
This corresponds to extracting only the lower 8 bits as is without performing -, and the control level zunawamo scale information at this time becomes the shift 1-firo, . As can be seen from this example, shift ■ has the smallest O hit, so when the effective number of bits is 8 or less, the scale information is uniformly set to
Select "O". In addition, in the case of the same figure (b), the effective number of bits is 9 bins 1~-C, and as is clear from the figure, the main data extraction position is shifted upward (to the left) by 1~1~. The school information becomes 1J, and the main data is 8 Hiso (. This results in error 2. (At this time, it can be considered that the preliminary conversion data is shifted by 1 bit to the lower (right) position relative to the extraction position of the main data 8 hit I-, and the lower 1 bit is discarded.) In this case, the number of effective bits is 15 bits 1~, and the scale information is r7J, and in this case, the lower 7 bits of the preliminary conversion data are ignored.

すなわち、この場合スケール情報は切捨てピッ1−数に
対応する。このようにして有効ビン1〜数が多い場合に
無視され切捨てられる有効ピッ1〜は誤差となるが、主
データの値に対して充分に小さな値である。この場合、
スケール情報のレベルは最大8く−2の3乗〉種類であ
るのでスケール情報データは3ヒツ1〜で演む。現実に
はスケール情報データは多数の予備変換データ毎に1つ
のデータを対応させるので、予め対応する多数の予備変
換データ中の最大値を測定あるいtま予測するなとして
スケール情報を検出設定し、該対応する多数の予備変換
データについて共通のスケール情報(シフト量)とし、
このスケール情報を上記多数の予備変換データ毎に検出
更新する。
That is, in this case, the scale information corresponds to the truncated number of pips. In this way, the effective bin 1 which is ignored and discarded when the number of effective bins 1 is large becomes an error, but it is a sufficiently small value with respect to the value of the main data. in this case,
Since the level of scale information is at most 8 x -2 to the 3rd power, the scale information data is expressed in 3 hits 1 to 3. In reality, scale information data corresponds to one piece of data for each large number of preliminary conversion data, so scale information is detected and set in advance by measuring or predicting the maximum value among a large number of corresponding preliminary conversion data. , common scale information (shift amount) for a large number of corresponding preliminary conversion data,
This scale information is detected and updated for each of the large number of preliminary conversion data.

ビットシフトにより取り出したデータのみて構成したが
、これは取扱うアナログ(g号か正負の一方のみの単極
性の信号で予備変換データ中に符号(極性)ビットが含
まれない揚台、または符号ビットが含まれていてもそれ
を伝送する必要がない場合である。これに対し入力アナ
ログ信号かオーディオ信号のように正、負両方の混在づ
−る双極性の信号では予備変換データ自体に符号ピッI
〜まlこはそれに相当するビットが通常少なくとも〜l
5B(最上位ピッ(〜)として含まれ、これし実質的に
は重要な有効ビットであるので、この符号じソ(〜1ヒ
゛ツ1〜と上記ピッ1〜シフトにより19られる]゛−
タとを主データどすることはもらろんである。づなわち
主データか8ヒツトの場合そのうらの]ヒラ1〜を符号
ピッ1〜とするので、この符号ヒラ1−とビットシフト
により得られる7ヒツ1−のチ一つて主データを構成す
る。
Although it was composed only of the data extracted by bit shifting, this is an analog signal to be handled (a single-polar signal with only one positive or negative signal, and a sign (polarity) bit is not included in the preliminary conversion data), or a sign bit. This is the case when there is no need to transmit even if the pre-converted data contains a bipolar signal such as an input analog signal or an audio signal. I
The bit corresponding to ~l is usually at least ~l
5B (included as the most significant bit (~), and since this is actually an important effective bit, this code is also 19 (~1 bit is 1~ and the above pitch 1~ is shifted by 19))
It is natural for data to be used as main data. In other words, if the main data has 8 hits, the rear [Hira 1~] is taken as the code pitch 1~, so this code Hira 1- and the 7 hits 1- obtained by bit shifting constitute the main data. .

このようにした場合、受信側のフイジタルレl\ル可変
制御手段って1よ伝送信号力口う分離された主示すシフ
ト量でビットシフ1−シて予備変換データと等しいビッ
ト数の再生データを得ることになる。
In this case, the digital level variable control means on the receiving side performs a bit shift by the shift amount indicated by the main signal separated from the transmission signal power to obtain reproduced data with the same number of bits as the preliminary conversion data. It turns out.

すなわち第3図(a)に示した例の場合は8ビツトの主
データをそのまま下位8ビツトとじて用いてもどの予備
変換データと等しい15ビットの再生データを得る。同
図(b)の例では同様に8ピツ1〜の主データを上位〈
左〉に1ビツトシフトして下位に1ビツトの付加データ
を加え15ビツトの再生データを作り同図(C)の例で
は8ビツトの主データを上位に7ビツトシフトして下位
に7ビツトの付加データを加え15ビツトの再生データ
を作る。ここで、下位に付加するデータはOデータまた
は平均値データなど予め一義的に定めたデータを用いる
。すなわち、例えば15ビツトの予備変換データが第4
図(a)のようなデータであったとする。これに基づい
て8ピッ1−の主データを送信づる場合(ここでは符号
ビットは考慮しない場合を考えている)、図示のように
有効ビットの上位8ビツトが主データとして抽出され、
下位4ヒツトが切捨てられる。受信側では上記主データ
を受け、予備変換データ中の上記8ヒツトの主データを
取り出したビット位置に応じたスケール情報に従って上
記主データをじツ1−シフトシて15ピツ1〜の主デー
タを作る。このとき、基本的には第4図(b)に示すよ
うに“o o o o ”などシフ1〜したビット数に
対応するOデータをイ」加づる。また、平均的に原デー
タとの誤差を少なくするためには、該当ビット数で表現
しくするデータの平均値にほぼ対応する値、例えは第4
図<C>に示すように” 0111 ”なとの平均値デ
ータをイ・」加データとすることが有効である。付加デ
ータとしてはこれらOデータや平均値データ以外のデー
タであっても、ビット数毎に一定の値であれば実用上問
題はない場合が多い。なお、これらイ]加)−−タとし
て0データ以外の値をとる場合には原データすなわち予
備変換データの下1ひピッ1−の示す値と上記付加デー
タとの差が実質的な切捨データであることはいうまでも
ない。
That is, in the case of the example shown in FIG. 3(a), even if the 8-bit main data is used as is with the lower 8 bits, 15-bit reproduced data equal to any preliminary conversion data is obtained. In the example of the same figure (b), the main data of 8 pits 1~ is similarly
In the example shown in Figure (C), the 8-bit main data is shifted 7 bits to the upper part and 7 bits of additional data is added to the lower part to create 15-bit playback data. is added to create 15-bit playback data. Here, as the data added to the lower order, data uniquely determined in advance, such as O data or average value data, is used. That is, for example, 15-bit preliminary conversion data is
Assume that the data is as shown in Figure (a). When transmitting 8-bit main data based on this (here we are considering the case where the sign bit is not considered), the upper 8 bits of the effective bits are extracted as main data as shown in the figure.
The bottom four hits are discarded. The receiving side receives the main data and shifts the main data by 1 according to the scale information corresponding to the extracted bit position of the 8 bits of main data in the preliminary conversion data to create 15 bits of main data. . At this time, basically, as shown in FIG. 4(b), O data corresponding to the number of shifted bits such as "o o o o" is added. In addition, in order to reduce the error from the original data on average, it is necessary to use a value that approximately corresponds to the average value of the data to be expressed with the corresponding number of bits, for example, the fourth
As shown in Figure <C>, it is effective to use the average value data of "0111" as the "I" addition data. Even if the additional data is data other than these O data or average value data, there is often no practical problem as long as the value is constant for each bit number. In addition, when these data are taken as values other than 0 data, the difference between the value indicated by the lower 1 pip 1- of the original data, that is, the preliminary conversion data, and the above additional data is effectively truncated. Needless to say, it is data.

ところで、上記第2図に示した例のような方式は通んの
PCMすなわちP CIvl旬弓データをそのまま伝送
するときには利用できるが、DPCMにはそのまま適用
するのは困難であり望ましくない。
By the way, although the method shown in the example shown in FIG. 2 can be used when transmitting regular PCM, ie, PCIvl data, as is, it is difficult and undesirable to apply it as is to DPCM.

その主たる理由は、第1図に示したようにDPCMの受
信には受信データの累計・積分動作による復号が必要で
あり、送信側における切捨てによって生じた誤差が受信
側で加算累計され、大きな誤差となってしまうからであ
る。
The main reason for this is that, as shown in Figure 1, DPCM reception requires decoding by accumulating and integrating the received data, and errors caused by truncation on the transmitting side are added up on the receiving side, resulting in large errors. This is because it becomes .

このため、DPCMで伝送データの平均レベルを低下さ
せても、現実の伝送データのビット数を減らすことはで
きなかった。
For this reason, even if the average level of transmission data is lowered by DPCM, it has not been possible to reduce the number of bits of actual transmission data.

ナオ、例、t[ADPcM (adaptive DP
CM〜適応差分PCM)のように送受の間で予め一定の
法則を定めて受信側のレベル分解能を低下させながら非
線形な送受を行なって伝送ビット数を下げることも考え
られるか、このようなADPCM等はあまり高精度とは
いえず、受信側において良好な再生ができないばかりで
なく装置が複雑になるなど多くの問題をかかえていた。
Nao, example, t[ADPcM (adaptive DP
Is it possible to reduce the number of transmission bits by setting a certain rule in advance between transmission and reception and performing non-linear transmission and reception while lowering the level resolution on the receiving side? etc., were not very accurate and had many problems, such as not only being unable to reproduce them well on the receiving side, but also making the equipment complicated.

これに対し、DPCMによる伝送データの平均レベルの
低減効果を活かして、少ないビット数で高精度の伝送を
可能とする伝送方式として次のような方式が考えられる
On the other hand, the following transmission method can be considered as a transmission method that takes advantage of the effect of reducing the average level of transmitted data by DPCM and enables high-precision transmission with a small number of bits.

すなわち、PCM符号データをD P CMデータに逐
次変換する第1の処理ど、上記o p c M符号デー
タに基づき、該DPCM符号データの大きさを検定し予
め定められた数のザンプルを1ブロツクとして該データ
ブロック内の最大データか送れるように、上位有効ヒラ
1〜を優先して逐次選定したビット位置より該DPCM
符号データよりもデータ長の短かい予定ピッ1〜数の(
送信)主データを取出すとともに、上記ビン1へ位置を
スケール情報として取出す第2の処理と、上記主データ
を1ワる際に実質的に切捨てられた下位データかある場
合には該切捨データを上記第1の処理て変換された後続
のDPCM符号データに加算して上記第1の処理で得た
DPCM符号データに代えて上記第2の処理に供する第
3の処理と、これら第1〜第3の処理の結果上記第2の
処理で得られた主7−タとスケール情報とを伝送系に送
出する第4の処理と、この第4の処理で送信された送信
データを受信し該受信データに基づき受信スケール情報
に応じたビットシフトを用いて受信主データをDPCM
データに変換してDPCM符号の復号復調を行う第5の
処理とを行なう方式である。
That is, in the first process of successively converting PCM code data into DPCM data, the size of the DPCM code data is tested based on the OPCM code data, and a predetermined number of samples are converted into one block. The DPCM is sequentially selected from the bit position with priority given to the upper effective filler 1 so that the maximum data in the data block can be sent.
Scheduled picks 1 to number (
Transmission) A second process of extracting the main data and extracting the position as scale information to the bin 1, and if there is lower-order data that is substantially truncated when the main data is divided by 1, the truncated data is a third process in which the DPCM code data obtained in the first process is added to the subsequent DPCM code data converted by the first process and subjected to the second process in place of the DPCM code data obtained in the first process; As a result of the third processing, a fourth processing sends the main data and scale information obtained in the second processing to the transmission system, and a fourth processing that receives the transmission data transmitted in this fourth processing and Based on the received data, the received main data is converted into DPCM using a bit shift according to the received scale information.
This method performs a fifth process of converting the data into data and decoding and demodulating the DPCM code.

ところで、このような方式において、送信側の上記第2
.第3の処理の中心となるデータ圧縮部では、具体的に
は例えばアキュムレータを次のように動作させる。
By the way, in such a system, the second
.. Specifically, in the data compression unit which is the main part of the third process, for example, the accumulator is operated as follows.

すなわち、例えば16ビツトの入力DPCM符号データ
は前回の送信主データの抽出により抽出・伝送されずに
アキュムレータに残った下位残余データ(すなわち切捨
データ〉と加算され、この加算後のデータの上位有効ピ
ッ1〜部分例えば8ビツトが抽出され主データとして伝
送される。この結果再びアキュムレータには下位残余デ
ータが残る。ここで、上記主データを取出すビット位置
(上位有効ビット位@)は同一データブロック内では同
一であり、このビット位置を示す情報がスケール値とし
てブロック毎に伝送される。
That is, for example, 16-bit input DPCM code data is added to the lower residual data (i.e., truncated data) that remained in the accumulator without being extracted or transmitted due to the previous extraction of main transmitter data, and the upper valid data of the data after this addition is The bits from P1 to 8 bits, for example, are extracted and transmitted as main data.As a result, the lower residual data remains in the accumulator again.Here, the bit position (upper effective bit position @) from which the main data is extracted is the same data block. The information indicating this bit position is transmitted as a scale value for each block.

ここで、このような伝送方式による具体的な送受信シス
テムの一例について説明する。
Here, a specific example of a transmission/reception system using such a transmission method will be described.

第5図は送信側の構成を、第6図(よ受信側の構成をそ
れぞれ示すものである。
FIG. 5 shows the configuration on the transmitting side, and FIG. 6 shows the configuration on the receiving side.

第5図において、第1図と同様の部分には同符号を付し
てその詳細な説明を省略ηる。
In FIG. 5, parts similar to those in FIG. 1 are given the same reference numerals and detailed explanation thereof will be omitted.

すなわち、1はオーディオ信号等のアナログ原信号入力
をディジタルデータに変換するA/D変換器、2はA/
D変換されたP CM符号データを1サンプル分遅延す
るサンプル遅延回路、3はPCM符号データの連続する
2Iナンプル間の差分をとる差分器であり、差分器3の
出力として例えば16ビツ1〜のDPCM符号データが
得られる。14は例えばメモリを用いて構成されるブロ
ック遅延回路であり、差分器3から出力されるD P 
CN11符号データを1デ一タブロツク分遅延させる。
That is, 1 is an A/D converter that converts an analog original signal input such as an audio signal into digital data, and 2 is an A/D converter.
A sample delay circuit delays the D-converted PCM code data by one sample, and 3 is a subtractor that takes the difference between consecutive 2I numbers of the PCM code data. DPCM code data is obtained. 14 is a block delay circuit configured using a memory, for example, and D P outputted from the differentiator 3
The CN11 code data is delayed by one data block.

15はスケール検出回路であり、差分器3から出力され
るDPCM符号データ1ブロック分の全データから各デ
ータブロック内のサンプルデータの絶対値の最大値を検
出して、その検出値をもとにブロック毎のスケール値を
設定し、該設定スケール値を例えば桁シフト不要の場合
を含めて4ピツ1〜のデータとして出力する。
15 is a scale detection circuit, which detects the maximum absolute value of sample data in each data block from all the data for one block of DPCM code data output from the subtractor 3, and calculates the maximum value based on the detected value. A scale value is set for each block, and the set scale value is output as data of 4 pits 1, including cases where digit shift is not required.

なお、上述は符号tこ正負の存在する2”sコンプリメ
ン1〜を用いている場合を前提としており、スケール値
がサンプルデータの絶対値の最大値で決せられるものと
して説明したが、他の符号を用いる場合にはその符号に
見合った他の方式によってスケール値の検出を行なう必
要が生ずる場合もあり得る。
Note that the above is based on the case where 2''s complement 1~ where the sign t is positive or negative is used, and the scale value is determined by the maximum absolute value of the sample data, but other When a code is used, it may be necessary to detect the scale value using another method suitable for the code.

16はアキュムレータを備えた圧縮エンコーダであり、
先に説明したデータ圧縮部の機能を実現している。
16 is a compression encoder equipped with an accumulator;
It realizes the function of the data compression section described earlier.

すなわち、圧縮エンコーダ16はこの場合例えば16ビ
ツトフルアダーからなるアキュムレータを内蔵しており
、次のように動作する。ブロック遅延回路14から与え
られるこの場合16ビツトのDPCM符号データをアキ
ュムレータに加算し、スケール検出回路15で検出設定
されたスケール値に基づき、上記アキュムレータの内容
より該スケール値に対応するビット位置の8ピツ1〜(
伝送主データのビット長)の圧縮データを取出すととも
に上記アキュムレータ内の上記圧縮データ分をクリアし
て該圧縮データ取出しの際のf(i落ち部を上記アキュ
ムレータ内に残す。このアキュムレータに残された桁落
ち部をブロック遅延回路14から与えられる後続のDP
CM符号テークに加算し、この加算結果であるアキュム
レータの内容から上述のように圧縮データの取出しを行
なう。こうして取出した圧縮データを伝送主データとし
て出力する。
That is, in this case, the compression encoder 16 has a built-in accumulator consisting of, for example, a 16-bit full adder, and operates as follows. In this case, 16-bit DPCM code data given from the block delay circuit 14 is added to an accumulator, and based on the scale value detected and set by the scale detection circuit 15, the 8 bits of the bit position corresponding to the scale value are determined from the contents of the accumulator. Pitsu 1~(
The bit length of the main transmission data) is extracted, and the compressed data in the accumulator is cleared, leaving the missing portion of f (i) in the accumulator when the compressed data is extracted. The digit loss part is applied to the subsequent DP given from the block delay circuit 14.
The compressed data is added to the CM code take, and the compressed data is extracted from the contents of the accumulator which is the result of this addition, as described above. The compressed data extracted in this way is output as transmission main data.

この8ビツトの伝送主データとスケール検出回路15か
ら出力されるブロック毎の4ピツ1〜のスケール情報デ
ータとが送信回路17に供給され、両データがパラレル
データからシリアルデータに変換されるとともに時分割
的に多重化されて直列的に伝送系に送出される。
This 8-bit transmission main data and the scale information data of 4 bits 1 to 1 for each block output from the scale detection circuit 15 are supplied to the transmission circuit 17, where both data are converted from parallel data to serial data and time It is multiplexed in sections and sent out serially to the transmission system.

また、18はコン1〜ロールシーケンザ部であり、内蔵
したクロックジェネレータのクロックイ8号に基づいて
動作し、上記各部ずなわちA 、/D変模器1、サンプ
ル遅延回路2、差分器3、ブロック遅延回銘14、スケ
ール検出回路15、圧縮エンコーダ16および送信回路
17の各部をそれぞれ所定のタイミングで所定のごとく
動作させるため、各部に制御信号を与えている。
In addition, 18 is a controller 1 to roll sequencer section, which operates based on clock number 8 of a built-in clock generator, and includes the above-mentioned parts A, /D conversion model 1, sample delay circuit 2, and difference generator. 3. In order to operate each part of the block delay recall 14, scale detection circuit 15, compression encoder 16, and transmission circuit 17 in a predetermined manner at a predetermined timing, control signals are given to each part.

以上が送信側の構成であり、次に受信側の構成を説明す
る。
The above is the configuration of the transmitting side, and next, the configuration of the receiving side will be explained.

第6図において、19は、伝送系から入力された伝送信
号から、この場合、8ビツトの主データと4ビツトのス
ケール情報データを分離し且つ両データをそれぞれシリ
アルデータからパラレルデータに変換するだめの受信回
路である。
In FIG. 6, 19 is used to separate 8-bit main data and 4-bit scale information data from the transmission signal input from the transmission system, and to convert both data from serial data to parallel data. This is the receiving circuit.

20はシフ1〜クロック発生部であり、受信回路19か
ら入力されたスケール情報データに基づ(1てシフトす
べきピッ]〜数に対応するシフトクロックを出力する。
Reference numeral 20 denotes a shift 1 to clock generation unit, which outputs a shift clock corresponding to (the number of pins to be shifted by 1) based on the scale information data inputted from the receiving circuit 19.

21は例えばシフI−レジスタを用いたデータ伸長回路
であり、受信回路19から入力された主データづなわち
圧縮DPCM符号データ(8ヒツト)をシフトクロック
発生部20から与えられるシフトクロックによってこの
場合上位ヘビットシフトし16ビツトのDPCMPCM
受信データする。なお、このデータ伸長に際し2−Sコ
ンブリメントの符号で全体の動作が11なわれるように
作られている場合には、シフトの回数に関連し、主デー
タ(圧縮DPCM符号)のM S Bにある極性符号と
同じもの(Oまたは1ンかシフ[・レジスタの上位に連
続して位置づ゛るように処理される。すなわち、このデ
ータ伸長回路21において8ピツ1〜の主データはその
データのiツるフロックのスケール情報に応じたビット
シフ1−が施され、D P CM受信データに変換され
る。22はこの場合16どツ1〜の全加算器からなる加
算回路であり、第1図における加算器4に対応し、7一
−タ伸長回路21から出力されたDPCMPCM受信デ
ータ累計して15ビットのPCM受信データとして出力
する。23はデータホールドレジスタであり、第1図に
a5ける遅延回路5にほば4(」当し1ザンプル前の加
算回路22の出力PC(\4受仁データすなわち1サン
プル前までの累言4値を保+−’i b、そのまま加算
回路22に入力して最新のデータ伸長回路出力(D P
 C; M受信データ)どの加算に供する。24はM1
図のD/A変換器6にほぼ相当するD/A変換器であり
、データホールドレジスタ23に保持された15ビット
のPCM受信データをアナログ値に戻す。25はD/A
変換器24の出力から不要な高周波成分を除去するロー
パスフィルタであり、この出力としてオーディオ信号等
のアナログ信号が得られる。
21 is a data expansion circuit using, for example, a shift I-register, and in this case, the main data, that is, the compressed DPCM code data (8 hits) inputted from the receiving circuit 19 is processed by the shift clock provided from the shift clock generator 20. 16-bit DPCMPCM with upper bit shift
Receive data. In addition, if the entire operation is made to be performed in 11 times using a 2-S combination code when decompressing this data, the M S B of the main data (compressed DPCM code) is The same polarity code (O or 1 or shift [-) is processed so that it is located consecutively at the top of the register.In other words, in this data decompression circuit 21, the main data of 8 bits 1~ is A bit shift 1- is applied according to the scale information of the i-flock, and the data is converted into D P CM reception data. In this case, 22 is an addition circuit consisting of 16 full adders, Corresponding to the adder 4 in the figure, the DPCMPCM received data output from the 7-total expansion circuit 21 is accumulated and outputted as 15-bit PCM received data. 23 is a data hold register, which is shown at a5 in FIG. The delay circuit 5 inputs the output PC (\4) of the adder circuit 22 of one sample before the output PC (\4 received data, that is, the accumulated four values up to one sample ago +-'i b, and directly outputs it to the adder circuit 22. input and output the latest data decompression circuit (D P
C; M received data) Which addition is used for? 24 is M1
This D/A converter almost corresponds to the D/A converter 6 shown in the figure, and returns the 15-bit PCM reception data held in the data hold register 23 to an analog value. 25 is D/A
This is a low-pass filter that removes unnecessary high frequency components from the output of the converter 24, and an analog signal such as an audio signal is obtained as the output.

また、26はコントロールシーケンサ部であり、上記各
部、すなわち受信回路19、シフトクロック発生部20
、データ伸長回路21、データホールドレジスタ23等
の各部をそれぞれ所定のタイミングで所定のごどく動作
させるため、各部に制御信号を与えるとともに、上述し
た受信回路19の主データ分離に際してのピッ1〜数の
制御を行なう。
Further, 26 is a control sequencer section, which includes the above-mentioned sections, ie, the receiving circuit 19 and the shift clock generating section 20.
, the data expansion circuit 21, the data hold register 23, etc., in order to operate each part at a predetermined timing and in a predetermined manner, control signals are given to each part, and the number of pins is applied when separating the main data of the receiving circuit 19 mentioned above. control.

次に上述した構成における動作について説明する。Next, the operation in the above-described configuration will be explained.

まず送信側において、アナログ原信号(例えばオーディ
オ信号)はA/D変換器1てPCM符号データ(15ピ
ツ]・)に変換され、サンプル遅延回路2で遅延された
1ザンブル1)イ」のデータとの差分が差分器3で算出
されD P CMi”J @データ(16ビツト)に変
換される。
First, on the transmitting side, an analog original signal (for example, an audio signal) is converted into PCM code data (15 bits) by an A/D converter 1, and then delayed by a sample delay circuit 2. The difference between the two is calculated by the subtractor 3 and converted into D P CMi''J@data (16 bits).

このデータはスケール検出回路]5に与えられ、所定数
のサンプルからなる1ブロック分のDPCM符号データ
から最大差分く差分には正負かあるので正確には差分の
絶対値づなわち差か最ら人さな値)がめられて該最大差
分に応じたスケール値〈桁シフト情報)データ(4ピツ
1〜)かこのスケール検出回路15から出力される。
This data is given to the scale detection circuit]5, and the maximum difference is calculated from one block of DPCM code data consisting of a predetermined number of samples.Since differences can be positive or negative, to be more precise, the absolute value of the difference is the maximum difference. The scale value (digit shift information) data (4 bits 1~) corresponding to the maximum difference is output from the scale detection circuit 15.

このスケール検出回路15の設定スケール値出力はブロ
ック毎に更新され、110ツクのDPCM符号データに
共通のスケール1直データとなる。
The set scale value output of this scale detection circuit 15 is updated for each block, and becomes scale 1 direct data common to 110 pieces of DPCM code data.

このスケール情報検出の時間ずれを補正づるためブロッ
ク遅延回路14で1ブロック分遅延されたDPCM符号
データが圧縮エンコータ16−C逐次スケール値に応じ
てデータ圧縮される。
In order to correct this time lag in scale information detection, the DPCM code data delayed by one block in the block delay circuit 14 is compressed in accordance with the sequential scale value of the compression encoder 16-C.

すなわち、圧縮エンコーダ16Cは、ブロック遅延回路
14で1ブロック分遅延されたD P CN□=1符号
データがアキュムレータに加算され、ア4−Jムレータ
の内容の伝送桁相当分、すなわちスケール検出回路15
で設定されたスケール値に対応する桁位置の伝送ビット
長部分のデータである圧縮データが抽出されるとともに
この圧縮データを抽出したときの下位残余データがアキ
ュムレータ内に残される。こうして、圧縮エンコーダ1
6では、圧縮データ抽出によって生じた下位残余データ
が逐次後続のDPCM符号データに加算され、この加算
結果から圧縮データが抽出される。この圧縮データが圧
縮エンコーダ16から伝送主データとして出力される。
That is, in the compression encoder 16C, the D P CN□=1 code data delayed by one block in the block delay circuit 14 is added to the accumulator, and the data corresponding to the transmission digit of the contents of the A4-J muller, that is, the scale detection circuit 15
The compressed data that is the data of the transmission bit length portion of the digit position corresponding to the scale value set in is extracted, and the lower residual data when this compressed data is extracted is left in the accumulator. Thus, the compression encoder 1
6, the lower residual data generated by compressed data extraction is sequentially added to the subsequent DPCM code data, and compressed data is extracted from the addition result. This compressed data is output from the compression encoder 16 as transmission main data.

この主データとスケール情報データが送信回路17を介
して伝送系に送出される。なお、送信回路17における
時分割合成に際しスケール情報データを介挿するため必
要に応じて主データ列を時間軸圧縮するなどの処理を施
してもよいことはいうまでもない。
This main data and scale information data are sent to the transmission system via the transmission circuit 17. It goes without saying that processing such as time-axis compression of the main data string may be performed as necessary in order to insert scale information data during time-division synthesis in the transmitting circuit 17.

PCMが基準レベル例えばOレベルからの符号を含む値
を伝送するのに対し、DPCMはサンプル間の差分を伝
送するため、オーディオ信号等の周波数がサンプリング
周期に比し、で非1;3に高い場合には正のピーク値付
近と負のピーク値付近の差分がDPCM符号となる場合
があり、このためDPCM符号データの最大ピッ1〜数
はP Cfvl符号データより1ヒッ1〜多く必要とな
る。したがって」ニ述では15ピツ1へのPC〜1符号
テータデー16ビツトのD P CIv1符号データを
1り、これを8おJ:び9ビツトの主データで伝送する
だめのスケール値は桁シフl−不要の場合を含めて9T
’F’となり、4ヒツトのスケール1青報データとして
いる。
While PCM transmits a value that includes a sign from a reference level, such as the O level, DPCM transmits the difference between samples, so the frequency of the audio signal, etc. is higher than the sampling period by a non-1:3. In some cases, the difference between the vicinity of the positive peak value and the vicinity of the negative peak value may become the DPCM code, and for this reason, the maximum number of DPCM code data is required to be 1 hit 1 or more than the P Cfvl code data. . Therefore, in the above statement, the scale value required to transmit the 16-bit DP CIv1 code data of 16 bits of PC to 1 code data to 15 bits 1 as 8 and 9 bits of main data is a digit shift of 1. -9T including unnecessary cases
'F', which is the scale 1 blue report data of 4 people.

このようにして伝送系に送出された送信データを受信す
る受信側の動作について説明する。
The operation of the receiving side that receives the transmission data sent to the transmission system in this manner will be explained.

伝送系から与えられる伝送信号(はこの場合シリアル化
され時分割多重化された圧縮D P Clvl符月から
なる8ピツ1〜の主データとデータブロック毎のこの場
合4ビツトのスケール情報データで(K成されている。
The transmission signal given from the transmission system (in this case, consists of 8-bit main data consisting of serialized and time-division multiplexed compressed D P Clvl symbols and 4-bit scale information data for each data block (in this case) K has been completed.

この伝送信号が与えられる受信回路1つでは、受信信号
からスケール情報データと主データとが分離されるとと
もにこれら両データかパラレル化され、それぞれ出力さ
れる。具体的には例えば、受信信号からブロック毎の(
例えば、必要に応じて適宜付加された同期データ等に基
づいて)スケール情報がまず分離抽出され、そのスケー
ル情報データに続く8ビツトずつのデータが主データと
してそのブロックの期間、すなわち次のスケール情報の
分離抽出まで逐次抽出される。
A single receiving circuit to which this transmission signal is applied separates scale information data and main data from the received signal, parallelizes these data, and outputs them respectively. Specifically, for example, for each block from the received signal (
For example, scale information (based on synchronization data added as needed) is first separated and extracted, and the 8-bit data following that scale information data is used as main data to represent the period of that block, that is, the next scale information. are extracted sequentially up to the separation extraction of .

これら受信主データと受信スケール情報データは受信回
路19からそれぞれデータ伸長回路21とシフ1〜タロ
ツク発生部20に入力される。シフトクロック発生部2
0からは受信スケール情報データに対応するシフトクロ
ックが出力され、このシフトクロックがデータ伸長回路
21に与えられ8ビツトの受信主データに桁シフト(ビ
ットシフト)が施され、且つ2−Sコンプリメン1へ符
号の場合には上位ビットが極性ビットで埋められて、1
6ビツトのDPCM受信データに変換される。このとき
桁シフ1〜により生ずる下位の空白ビットには例えばO
データが付加される。このDPCM受信データが加算回
路22に与えられ、データホールドレジスタ23に保持
されている1サンプル前の加樟回路22出力データと加
算される。寸なわら、この加算回路22の出力データ(
よりPC〜1受信データの累計(積分)値、つまり15
ピツ1〜のPCM受信データである。このP CM受信
データはフータボールドレシスタ23を介してD/A変
換器24て逐次D/A変換され、さらにローパスフィル
タ25で不要な高周波成分が除去されて例えばオーディ
オ信号等のアナログ信号として出力される。
These reception main data and reception scale information data are inputted from the reception circuit 19 to the data expansion circuit 21 and shift 1 to tarok generation section 20, respectively. Shift clock generator 2
A shift clock corresponding to the reception scale information data is output from 0, and this shift clock is applied to the data expansion circuit 21, where the 8-bit reception main data is subjected to a digit shift (bit shift), and the 2-S complement 1 In the case of a code, the high-order bit is filled with the polarity bit and becomes 1
It is converted into 6-bit DPCM reception data. At this time, for example, O
Data is added. This DPCM reception data is given to the adder circuit 22 and added to the output data of the adder circuit 22 one sample before, which is held in the data hold register 23. However, the output data of this adder circuit 22 (
The cumulative (integral) value of PC~1 received data, that is, 15
This is PCM reception data from Pitsu1. This PCM reception data is sequentially D/A converted by a D/A converter 24 via a footer-bold register 23, and unnecessary high frequency components are removed by a low-pass filter 25, and output as an analog signal such as an audio signal. be done.

このようにして、送信側で切捨部つまり惜落ち部を累積
して以後の送信データにほぼ反映させた送信データを送
信し、受信側でこれを受信して有効な復号復調を行なう
ことができるため、8ビツトの主データを伝送するだけ
で実質的に9ヒノ)−以上での受信に相当する精度が実
視される。
In this way, the transmitting side can accumulate the truncated part, or the missing part, and transmit the transmission data that is almost reflected in the subsequent transmission data, and the receiving side can receive it and perform effective decoding and demodulation. Therefore, just by transmitting 8-bit main data, the accuracy equivalent to reception at 9 hino) or more can be seen.

ところが、この場合、圧縮エンコータ161こおいて、
入力D P CM符号データかアキラムレータ内の下位
残余データと加算された結果、主データの伝送ピッ[・
範囲を越える桁上りを生し、オーバフローしてしまうこ
とがある。入力DPC〜1符号データの有効桁数はアキ
ュムレータでの加算が行われる前にブロック単位で予め
調べられ、プロ・ツク内の最大値と伝送主データの桁数
との差がスケール値(≧O)となっているので、上記オ
ーバフローが生ずると有効ビット中最も重要な上位ビッ
トが伝送されず大きなエラーを生じてしまう。
However, in this case, the compression encoder 161
As a result of adding the input D P CM code data to the lower residual data in the achiramerator, the transmission pitch of the main data [・
A carry that exceeds the range may occur, resulting in an overflow. The number of effective digits of the input DPC~1 code data is checked in advance in block units before addition in the accumulator, and the difference between the maximum value in the program and the number of digits of the main transmission data is calculated as a scale value (≧O ), so if the above-mentioned overflow occurs, the most important bit among the valid bits will not be transmitted, resulting in a large error.

第7図を参照して、DPCM符号に2”sコンブリメン
トを用い且つスケール値が6で一定の場合における一例
を説明する。
Referring to FIG. 7, an example will be described in which a 2''s conjoint is used for the DPCM code and the scale value is constant at 6.

前回の主データ抽出により、アキュムレータに残ってい
る下位残余データが第7図(a)に示すように”110
000”なるデータで・ある状態で・、同図(b)のよ
うに”0001111111011101 ”なるDP
CM符号データが入力された場合、アキュムレータで両
者が加算され、同図(C)に示すように’001000
0000001101 ”なるデータが得られる。スケ
ール(直(ま6であるので、この場合の伝送主データ(
ま同図(d)に示すように” 10000000 ”と
なる。
Due to the previous main data extraction, the lower residual data remaining in the accumulator is “110” as shown in Figure 7(a).
000'' in a certain state, the DP becomes ``0001111111011101'' as shown in Figure (b).
When CM code data is input, both are added in the accumulator, and '001000' is generated as shown in the same figure (C).
0000001101" is obtained. Since the scale (direct) is 6, the transmission main data (
As shown in the same figure (d), it becomes "10000000".

この場合、原データでは最上位の符号ビット力(、デー
タが正であるにもかかわらず上述の桁上りにより正を示
す” o ”でなく負を示す′1゛となり、大きな誤り
となってしまう。
In this case, in the original data, the most significant sign bit strength (, even though the data is positive, due to the above-mentioned carry, it becomes '1' which indicates negative instead of 'o' which indicates positive, resulting in a big error. .

このような不都合が発生するためには、くイ)正の入力
データであって1°°か7個以上連続して存在すること
、(ロ)アキュムレータの内容(すなわち前回の下位残
余データ)と入力データの下位桁との加算結果が伝送主
データを取り出している伝送ビット位置以上に桁上りす
ること、02つの条件が共に満される必要がある。した
かって、その発生確率は一般的にいってJ3よそ2の9
乗−512回に10程度という低いもので(j、あるが
好ましいことではない。
In order for this kind of inconvenience to occur, (a) there must be positive input data of 1° or 7 or more consecutively, and (b) there must be a difference between the contents of the accumulator (i.e., the previous lower residual data) and the like. Two conditions must be satisfied: the result of addition with the lower digits of the input data must carry beyond the transmission bit position from which the transmission main data is extracted. However, the probability of its occurrence is generally 9 out of 2 in J3.
It is as low as about 10 in -512 times (j, but it is not desirable.

そして、スケール1直が直前のデータブロックから大幅
に下った場合には上ijiとほぼ同様のA−ハフローの
発生があり、この(重のオーバフローの発生確率は非常
に高くなる。
If the scale 1 shift is significantly lower than the immediately preceding data block, an A-ha flow similar to the above iji will occur, and the probability of this (heavy overflow) occurring will be extremely high.

第8図を参照してこの種のオーバフローの発生について
詳述する。この場合、D I) CM符号はやはり2′
sコンブリメントとし、スケール)直が6から1に変化
するものとする。
The occurrence of this type of overflow will be described in detail with reference to FIG. In this case, the DI) CM code is still 2'
s conbriment, and the scale) axis changes from 6 to 1.

前回の主データ抽出によりアキュムレータに残っている
下位残余データが第8図(a)に示すように” 110
000 ”なるデータである状態で、スケール値が6か
ら1に変り、同時に同図(b)のように’000000
0011011101°゛なる人力データが与えられた
場合、アキュムレータで両者が加算され。同図(C)に
示すような”0000000100001101°′な
るデータが得られる。スケール値は” 1 ”となって
(Aるのでこの場合の伝送主データは同図(d)lこ示
すように”10000110“となって、やiより最上
位の符号ピッ1〜が桁上りにより負を意味する” 1 
”となってしまう。
The lower residual data remaining in the accumulator due to the previous main data extraction is as shown in FIG. 8(a)" 110
000'', the scale value changes from 6 to 1, and at the same time it changes to '000000' as shown in Figure (b).
When human data of 0011011101° is given, both are added in the accumulator. The data ``0000000100001101°'' as shown in Figure (C) is obtained.The scale value is ``1'' (A), so the main transmission data in this case is as shown in Figure (D). 10000110", and the most significant sign p1~ from yi means a negative value due to carry" 1
”.

このようなケースの発生する確率は一般的に(ま2の4
乗−16回に10程度と非常に高く大きな問題となる。
Generally speaking, the probability of such a case occurring is
It is very high, about 10 times -16 times, and becomes a big problem.

このように、上述のごときデータ圧縮を採用した信号伝
送に際し、伝送主データにオーバフローが生じた場合に
は、正のデータが負のデータとなるなど、送受間で大き
な誤りを生じてしまう。
In this way, when an overflow occurs in the transmission main data during signal transmission employing data compression as described above, a large error occurs between the transmitter and the receiver, such as positive data becoming negative data.

上述したような、桁落ち部である上位残余データ(上述
のアキュムレータの内容)を原データと加算した場合に
生ずるオーバフローエラー(伝1’h主データの最上位
桁への桁」二がりの発生)を防止する方法はいくつか考
えられる。
As mentioned above, an overflow error occurs when the high-order residual data (contents of the accumulator described above), which is a digit loss part, is added to the original data. ) There are several possible ways to prevent this.

例えば、上)ホのオーバフローが発生づ−ることとなる
場合には、新たな原データとアキ丁ムレータ内の下位残
余データとの加算を行な1つず(TJ−cわら加算を留
保して)に、桁落ち部のみをアキュムレータに加算累計
しておく、という方法が考えられる。
For example, if the overflow shown in above) is to occur, the new original data and the lower residual data in the spacer are added one by one (TJ-c, with the straw addition being reserved). A possible method is to add and accumulate only the missing digits to an accumulator.

また、上述したオーバフローの発生確率か特にスケール
値の減少峙(テ゛−夕の絶対嶋の減少方向への変化時)
に高いことと、発生確率の低いエラーは種々の方法によ
り補正処理かある<zi可能であることに着目し、スケ
ール値の当該方向への変化時にスケール値の変化を例え
は「IJに制限づる方法も考えられる。
In addition, the probability of occurrence of the above-mentioned overflow, especially when the scale value decreases (when the absolute value of the data changes in the decreasing direction)
We focused on the fact that errors with a low probability of occurrence can be corrected using various methods. There are other possible methods.

ところで、上述のように、新たな原データと従前の下位
残余データすなわち桁落ちビットの累計値とを加算する
ことにより伝送データを補正するに際し、単にフルアダ
ー等で加算するようにしようとしても、通常、上記デー
タの補正と桁落ちビットの累計演算が同時にしかもIC
(集積回路)等の内部処理によって行われるため、桁落
ちピッ1〜からの桁上がり、およびその桁上がりによっ
て生ずるおそれのある圧縮データのオーバフローのチェ
ックは上記加算と同時に行なうことはほとんど不可能で
ある。したがって、この場合これらのチェックを前もっ
て外部ロジックで行なわねばならない。スケール値の変
化にかかわらずこれらのチェックを可能とするためのロ
ジック処理には処理速度等の点でマイクロプロセッサの
使用に適さないため、大規模化し、また、その処理のア
ルゴリズム、コントロールロジック等も複雑化する。
By the way, as mentioned above, when correcting the transmitted data by adding the new original data and the previous low-order residual data, that is, the cumulative value of the lost bits, even if you try to simply add it using a full adder, etc. , the correction of the above data and the cumulative calculation of the lost bits can be performed simultaneously, and the IC
(Integrated circuit), etc., so it is almost impossible to check for carries from zero-digit pick 1 and overflow of compressed data that may occur due to these carries at the same time as the above addition. be. Therefore, in this case these checks must be performed in advance by external logic. Logic processing to enable these checks regardless of changes in scale values is not suitable for use with microprocessors due to processing speed, etc., so the scale is large and the processing algorithms, control logic, etc. Make it complicated.

このため、コストの点でも処理速度の点でもシステムの
一要素として実現するのは極めて困難である。
For this reason, it is extremely difficult to implement it as an element of a system in terms of both cost and processing speed.

このような意味においては、先に述べたスケール値の減
少方向への変化を「1」 (すなわち「−1」)に制限
する方法を用いてオーバフローの発生確率を低減したと
しても、根本的な解決にはならない。
In this sense, even if the probability of overflow occurrence is reduced by using the method described above that limits the change in the scale value in the decreasing direction to "1" (i.e. "-1"), the fundamental It's not a solution.

[発明の目的] 本発明の目的とするところは、伝送データの補正と桁落
ちビットの累計を、該桁落ちじツ1へからの桁上がりお
よびオーバフローのチェックを含めて、簡単な構成で有
効に実現し得る送信装置を提供することにある。
[Object of the Invention] An object of the present invention is to correct the transmission data and to effectively calculate the cumulative total of lost bits with a simple configuration, including checking for carry from the lost bit 1 and overflow. The object of the present invention is to provide a transmitting device that can be realized.

[発明の概要] 本発明は、PCM符号原データを時系列的に連続する所
定データ群毎にブロック化し、個々のフロックを代表す
るレベルをスケール値として検出するスケール検出手段
と、該スケール値にしたかって上記PCM符号原データ
から予め定められたビット長の上位有効ビットを取出−
J’ Ij=縮抽出手段と、上記PCM符号原データの
上記上位有効ピッ1〜位置より下位に存在する実質的な
下位残余データを加算累計する第1の加算手段と、この
第1の加算手段の加算結果が上記伝送すべき有効ビット
位置内に桁上がりした場合、あるいは伝送すべき有効ヒ
ツト位置がスケール値の減少に伴って下位桁に変化する
ことによって実質的に上記桁上がりが生じたことに相当
する状態となった場合に該桁上がり分を上記圧縮抽出手
段で得た伝送ピッ1〜データに加算する第2の加算手段
と、この第2の加算手段により得た伝送データと上記ス
ケール検出手段で得たスケール値とを伝送系に送出する
送信段とを具備したことを特徴とするものである。
[Summary of the Invention] The present invention provides a scale detection means for dividing PCM code original data into blocks for each predetermined data group continuous in time series and detecting a level representing each block as a scale value; Therefore, the upper effective bits of a predetermined bit length are extracted from the PCM code original data.
J'Ij=reducing and extracting means, a first adding means for adding and accumulating substantial lower residual data existing below the upper effective pips 1 to 1 of the PCM code original data, and this first adding means If the addition result is carried within the effective bit position to be transmitted, or if the effective bit position to be transmitted changes to the lower digits as the scale value decreases, the carry actually occurs. a second addition means that adds the carry amount to the transmission data obtained by the compression extraction means when a state corresponding to The present invention is characterized in that it includes a transmission stage that transmits the scale value obtained by the detection means to the transmission system.

[発明の実施例] 第9図に本発明の一実施例の構成を示す。この実施例は
先に)!ISべたスケール値の減少方向への変化を「1
」に制限する方式に本発明を適用した場合の一例であり
、第9図は第5図における圧縮エンコーダ16に相当す
る部分および主としてそれに関連する部分のみを詳細に
示すもので、第5図と同様の部分には同符号を付してい
る。
[Embodiment of the Invention] FIG. 9 shows the configuration of an embodiment of the present invention. This example will be explained first)! The change in the IS solid scale value in the decreasing direction is expressed as “1”.
9 is an example of the case where the present invention is applied to a system that restricts the number of characters to Similar parts are given the same reference numerals.

第9図において、51は例えばディレィメモリからなる
ブロック遅延回路14から読込んだ例えば16ビツトの
DPCM原データを保持するデータボールドレジスタで
ある。52は例えばマルチプレクサを用いて構成された
圧縮抽出回路であり、スケール検出回路15から与えら
れるスケール値に応じて例えば8ビツトの伝送データを
データボールドレジスタ51にホールトされたD P 
Clvlデータから抽出するものである。53は例えば
カウント開始値をパラレルロー1−でブリセリトン得る
この場合8ビツト長のバイナリノJウンタからなるエン
コードカウンタであり、圧縮抽出回路52の出力がロー
ドされる。54は一種のグー1〜回路からなる第1のマ
スクロジックであり、データボールドレジスタ51に保
持されていて圧縮抽出回路52でのデータ圧縮抽出によ
る最大桁落ち分に相当する8ヒツトのデータの内、その
同点でスケール検出回路15から与えられているスケー
ル11Y1に応じた下位桁落ち分に相当するヒラ1〜の
みをスルーで出力し桁落ちしない上位ピッ1〜はO゛′
にマスクして出力するものである。55はその同点での
桁落ちビットとそれまでの桁落らピッ1への累δ1との
和を算出するこの場合8ピツ1〜のフルアダーからなる
アキュムレータ、56はアキュムレータ55の出力内容
の内、スケール値に応じた桁上げピント位置のデータを
O″にマスクするためのゲート回路からなる第2のマス
クロジック、57は第2のマスクロジック56から出力
された桁落ちビットの総和累計値を保持する桁落ち保持
レジスタである。58はキャリー/オーバフロー検出ロ
ジックである。このキャリー/オーバフロー検出ロジッ
ク58は、アキュムレータ55の出力の内、スケール値
に応じた桁落ち分から伝送ビットへの桁上げデータであ
るキャリービットが°゛1“になるのを検出するマルチ
プレクサを用いた回路と、エンコードカウンタ53のピ
ッl−パターンが” 01111111 ”である場合
すなわち桁上げにより伝送ビットにオーバフローを生ず
る条件が成立しているときにアクティブとなるゲート回
路とを有し、上記オーバフロー条件が成立していないと
きには上記キャリー検出に応動してエンコードカウンタ
53にアンプカウントクロック(カウントパルス)を1
@与え、オーバフロー条11が成立しているときはキャ
リー検出を無視するど共に後述の例外処理の場合のカラ
ン1−クロックをエンコードカウンタ53に与える。1
7aは第5図に示した送信回路17の一部を構成するエ
ンツー1〜シフ1へレジスタであり、エンコードカウン
タ53から出力される8ピツ1〜の伝送(主)データと
スケール検出回路15からのスケール値テークをシリア
ルデータに変換し且つ時分割的に多重化合成して伝送信
号を作るものである。コン1〜ロールシーケンサ部18
は第5図の場合と同様であり、データホールドレジスタ
51、エンツー1〜カウンク53、桁落ち保持レジスタ
57、キトリー/′A−パフロー検出ロジック58およ
0・エンコードシフトレジスタ17aの各部の動作タイ
ミング等を制御する。
In FIG. 9, reference numeral 51 is a data bold register that holds, for example, 16-bit DPCM original data read from the block delay circuit 14 made up of, for example, a delay memory. Reference numeral 52 denotes a compression/extraction circuit configured using, for example, a multiplexer, which outputs, for example, 8-bit transmission data to the D P held in the data bold register 51 according to the scale value given from the scale detection circuit 15.
This is extracted from the Clvl data. Reference numeral 53 denotes an encode counter consisting of, in this case, an 8-bit binary counter that obtains a count start value in parallel low 1-, and is loaded with the output of the compression/extraction circuit 52. 54 is a kind of first mask logic consisting of circuits, which is a type of first mask logic which is held in the data bold register 51 and which is a part of the 8-hit data corresponding to the maximum digit loss due to data compression and extraction in the compression and extraction circuit 52. , at the same point, only the Hi 1~ corresponding to the lower digit drop according to the scale 11Y1 given from the scale detection circuit 15 is outputted through, and the upper Phi 1~ without the digit drop is O゛'
It is masked and output. 55 is an accumulator that calculates the sum of the missing bit at the same point and the cumulative value δ1 to the missing bit 1 up to that point; in this case, an accumulator consisting of a full adder of 8 bits 1 to 1; A second mask logic consisting of a gate circuit for masking the carry focus position data to O'' according to the scale value, 57 holds the total cumulative value of the carry loss bits output from the second mask logic 56. 58 is a carry/overflow detection logic. This carry/overflow detection logic 58 detects the carry data from the output of the accumulator 55 from the digit part corresponding to the scale value to the transmission bit. A circuit using a multiplexer that detects when a certain carry bit becomes "1", and when the pick pattern of the encode counter 53 is "01111111", a condition is established that causes an overflow in the transmitted bit due to carry. It has a gate circuit that becomes active when the overflow condition is not met, and outputs an amplifier count clock (count pulse) to the encode counter 53 in response to the carry detection when the overflow condition is not satisfied.
@, and when the overflow condition 11 is satisfied, carry detection is ignored and a run 1-clock is given to the encode counter 53 in the case of exception handling, which will be described later. 1
7a is a register for Entsu 1 to Shift 1 which constitutes a part of the transmitting circuit 17 shown in FIG. A transmission signal is created by converting the scale value take into serial data and time-division multiplexing and combining. Controller 1 to roll sequencer section 18
are the same as in the case of FIG. 5, and the operation timings of each part of the data hold register 51, entsu 1 to count 53, digit drop holding register 57, kitley/'A-puff flow detection logic 58, and 0/encode shift register 17a are as follows. control etc.

次に、このような構成にお)プる動1vについてM1明
する。
Next, M1 will be explained about the operation 1v that is applied to such a configuration.

コン1〜〇−ルシーケンザ部18の動作によりブロック
遅延回路14から読み出された16ビツトDPCMデー
タはデータホールドレジスタ51にラッチされ、圧縮抽
出回路52に印加される。圧縮抽出回路52で8ビツト
に圧縮されたデータはエンコードカウンタ53にプリセ
ットされる。データホールドレジスタ51の出力の下位
8ピツ1〜は第1のマスクロジック54に入力され、こ
の第1のマスクロジック54により、該8ピツ1〜のデ
ータは、そのときのスケール値に応じた下位の累計対象
ビットすなわち桁落ちビットについてのみそのまま通過
(スルー)され、それ以外の非累削対象ピッ1〜は0′
°にマスクされてアキュムレータ55に与えられる。例
えば、スケール値が「3のときは下位3ピツ1〜がスル
ーで上位5ビ・ントh′X” o ”となる。アキュム
レータ55には、上記第1のマスクロジック54の出力
と同時に、それまでの桁落ちピッ1−の累計である桁落
ち保持レジスタ57の出力も入力されており、両者の和
が演算される。アキュムレータ55の出力はキャリー/
オーバフロー検出ロジック58に入力され、その旧市で
のキャリー検出位置すなわち伝送ビットの最下位に対応
するビット位置に’1”(キャリー)が現われるか否か
がチェックされる。キャリー/オーバフロー検出ロジッ
ク58にはエンコードカウンタ53の出力も入力され、
その圧縮データパターンが上述のオーバフロー条件すな
わち01111111 ”であるか否かが上記キャリー
と同時にチェックされ、キャリーが発生し且つA−バフ
ロー条件が成立していないとぎにのみ、コントロールシ
ーケンサ部18から一定のシーケンスタイミングで入力
されるアップカラン1−クロックをエンコードカウンタ
53に与えて、エンコート力1 ウンタ53のカラン1
〜データを]+1」する。ここで注目すべきことは、予
め圧縮されてエンコードカウンタ53にロードされだ8
ピツ1〜のデータに対し桁落ちピッ1〜の累計からのキ
ャリーを条件に「+1Jの7ツプカウン1〜すなわち「
1」インクリメントを行なうことは、桁落ちピッ1へ部
からの桁上がりが圧縮8ビツト内に足し込まれることと
等価であるということである。このようにデータの補正
にカウンタを用いてデータ補正機能とアキュムレ−1−
1m能とを分離したことにより、各チェックが極めて簡
単に行なえることがこの実施例の特徴である。
The 16-bit DPCM data read out from the block delay circuit 14 by the operation of the sequencer section 18 is latched into the data hold register 51 and applied to the compression extraction circuit 52. The data compressed to 8 bits by the compression/extraction circuit 52 is preset in the encode counter 53. The lower 8 bits 1~ of the output of the data hold register 51 are input to the first mask logic 54, and the first mask logic 54 controls the data of the 8 bits 1~ according to the scale value at that time. Only the cumulative target bits, that is, the zero-digit bits, are passed through as is, and the other non-accumulative target bits are set to 0'
The signal is masked to 0 and applied to the accumulator 55. For example, when the scale value is 3, the lower 3 bits 1 to 1 are passed through and the upper 5 bits are h'X''o''. The output of the digit loss holding register 57, which is the cumulative total of digit loss pins up to 1-, is also input, and the sum of the two is calculated.The output of the accumulator 55 is the carry/
It is input to the overflow detection logic 58, and it is checked whether a '1' (carry) appears at the carry detection position in the old city, that is, the bit position corresponding to the lowest transmitted bit.Carry/overflow detection logic 58 The output of the encode counter 53 is also input to
It is checked at the same time as the carry whether the compressed data pattern meets the above-mentioned overflow condition, that is, 01111111'', and only when a carry occurs and the A-buffflow condition is not satisfied, a certain The up-run 1-clock input at the sequence timing is given to the encode counter 53, and the encode power 1 is input to the up-run 1 of the counter 53.
〜data]+1''. What should be noted here is that 8
For the data of Pitsu 1~, with the condition of carrying from the cumulative total of falling digits Pi 1~
Incrementing by 1'' is equivalent to adding the carry from the digit 1 to the compressed 8 bits. In this way, the data correction function and the accumulator are used to correct the data using a counter.
A feature of this embodiment is that each check can be performed extremely easily by separating the 1m function.

第10図に基本原理による処理の過程を示し、第11図
に本実施例による処理の過程を示す。
FIG. 10 shows the processing process based on the basic principle, and FIG. 11 shows the processing process according to this embodiment.

第10図(a)はDPCM原データであり、このときの
スケール値は5であるとする。このDPCMデータに同
図(b)に示すような桁落ちビットの累計値が加算され
、同図(C)に示すような加算結果データを得る。この
加算結果データから同図(d)に示すようにスケール値
に応じた所定ピッ1〜分を取出し、圧縮データとして伝
送に供する。
FIG. 10(a) shows the DPCM original data, and the scale value at this time is assumed to be 5. The cumulative value of the digit loss bits as shown in FIG. 13(b) is added to this DPCM data to obtain the addition result data as shown in FIG. 14(c). From this addition result data, as shown in FIG. 2(d), a predetermined number of pitches corresponding to the scale value is extracted and transmitted as compressed data.

一方、本実施例では、第11図(a)に示すように第1
0図(a>と同様なりPCMデータ(やはりスケール値
は5とする)から、まず第11図(b)に示すようにス
ケール値5に応じたビット位置から8ビツトのデータが
取出されこれがエンコードカウンタ53へのロードデー
タとなる。同時に上記同図(a)のDPCMデータの下
位桁落ち分が同図(C)に示す桁落ちビットの累51値
[第10図(b)と同じ]と加算され同図(d)に示す
桁落ち分の加算結果が得られる。この加算結果において
桁落ち分から桁上がりしたキャリーによりエンコードカ
ウンタ53が「+1」カウントされ(このときエンコー
ドカウンタ53のデータはオーバフロー条件を満足して
いないので)、同図(e)に示すような圧縮データが1
qられる。
On the other hand, in this embodiment, the first
As shown in Figure 11 (a), 8-bit data is first extracted from the PCM data (the scale value is 5) from the bit position corresponding to the scale value 5, as shown in Figure 11 (b), and this is encoded. This becomes the load data to the counter 53. At the same time, the lower digits of the DPCM data in (a) of the same figure are the cumulative 51 values of the lower digits shown in (C) of the same figure [same as in Figure 10 (b)]. The result of addition is the addition of the missing digits as shown in FIG. condition is not satisfied), the compressed data shown in (e) of the same figure is 1
be qed.

この圧縮データは第10図(d)と同一であり、本実施
例で原理通りの結果が得られたことかわかる。
This compressed data is the same as that shown in FIG. 10(d), and it can be seen that the results according to the principle were obtained in this example.

上記アキュムレータ55の出力はキャリー/′オーバフ
ロー検出ロジック58に与えられると同時に第2のマス
クロジック56にも入ノコされ、この第2のマスクロジ
ック56で上記加算で生じたキャリーがマスクされて桁
落ち1呆持レジスタ57に与えられ、桁落ちビットの累
乙1がラッチされる。
The output of the accumulator 55 is given to the carry/'overflow detection logic 58, and at the same time, it is also input to the second mask logic 56, and the carry generated by the addition is masked by the second mask logic 56, resulting in a loss of digits. 1 is given to the hold register 57, and the digit 1 of the digit loss bit is latched.

なお、この累計値は受信側でデコートされるレベルと本
来のレベルとの誤差を示している。
Note that this cumulative value indicates the error between the level decoded on the receiving side and the original level.

このようなシーケンスにより補正の施されたエンコード
カウンタ53の出ツノはスケール値とともにエンコード
シフトレジスタ17aに入力され、コントロールシーケ
カサ部18からのシフl−クロックによりシリアルデー
タに変換され、且つ合成されて伝送信号どして出力され
る。
The output of the encode counter 53 corrected by such a sequence is input to the encode shift register 17a together with the scale value, converted into serial data by the shift l-clock from the control sequencer section 18, and synthesized. It is output as a transmission signal.

これが本実施例の構成における主要な動作であるが、本
構成では上述の仙に例外的動作として起動されるシーケ
ンスが存在する。これはスケール値が減少方向に変化し
た場合のブロックの先頭のデータについてのみ起動する
ものである。
This is the main operation in the configuration of this embodiment, but in this configuration, there is a sequence activated as an exceptional operation in addition to the above-mentioned sequence. This is activated only for data at the beginning of a block when the scale value changes in a decreasing direction.

まず、第12図を参照して上記例外処理が必要となる場
合の一例について詳細に説明する。
First, an example of the case where the above-mentioned exception handling is required will be described in detail with reference to FIG.

第12図(a>はスケール値「5」のブロックの最終デ
ータ処理後における桁落ちピッ1〜の累H4データ、同
図(b)はスケール値が減少方向に変化して「4」とな
った場合のブロックの先頭のDPCMデータをそれぞれ
示すものである。このような場合に、先に述べたシーケ
ンスにしたがって両者の加算を行なうと同図(C)のよ
うな圧縮データと同図(d)のような桁落ちヒラ1〜累
計データが得られ、同図(a)のMSBの1“°が無視
されてしまう。何故ならば、同図(a)に示された桁落
ちビット累計データのMsBは第2のマスクロジック5
6によってマスクされてしまうためである(第2のマス
クロジック5Gはスケール1直にあわせて下位の4ビツ
ト以外のピントは“0″にマスクしてしまう)。マスク
される同図(a)のMSBはスケール値が「4」の場合
のキャリー検出位置に相当するので、このまま無視づる
訳にはいかない。したがって、このように桁落らヒラ1
へ累計データのMSBが1″であって尚且つスケール値
が減少方向へ変化した場合の先頭データに関しては、正
規の桁落ちビット累計のシーケンスが起動される前に、
上記桁落ちピッ]〜累t1のMSBを吸収するためのシ
ーケンスが例外的に必要となる。
Figure 12 (a> is the cumulative H4 data from the decimal point 1 to 1 after the final data processing of the block with scale value "5", and Figure 12 (b) shows the scale value changing in the decreasing direction and becoming "4". DPCM data at the beginning of the block in the case of ) is obtained, and the MSB 1"° of the figure (a) is ignored. This is because the accumulated data of the precision bits shown in (a) of the same figure is ignored. MsB is the second mask logic 5
(The second mask logic 5G masks the focus other than the lower 4 bits to "0" in accordance with the scale 1 direct.) Since the masked MSB in FIG. 5A corresponds to the carry detection position when the scale value is "4", it cannot be ignored as is. Therefore, in this way, the number of digits dropped by 1
For the first data when the MSB of the cumulative data is 1'' and the scale value changes in the decreasing direction, before the normal sequence of cumulative missing bits is activated,
A sequence for absorbing the MSB of the above-mentioned decimal point] to cumulative t1 is exceptionally required.

この例外処理を加えた場合の処理の過程を第13図を参
照して説明する。
The processing process when this exception handling is added will be explained with reference to FIG.

113図(a)、(b>+、tぞれぞh第12図(a)
、(b)と同様であり、第13図(C)は第12図(C
)と同様の内容であるがこの場合はエンコードカウンタ
53のロードデータである。
Figure 113 (a), (b > +, t respectively h Figure 12 (a)
, (b), and Fig. 13 (C) is similar to Fig. 12 (C
), but in this case it is the load data of the encode counter 53.

第13図1)が上記例外処理の結果として得られる圧縮
データであり、同図(a)の桁落ちビット累計のMSB
を同図(C)に加算した結果、すなわち同図(a)の桁
落ちビット累計のMSBが” 1 ”であることを条件
にエンコードカウンタ53をインクリメントして、同図
(C)のデータをr+14 シた結果である。同図(e
)は同図(a)のMSBをマスクした結果の桁落ちビッ
ト累計データ、同図(f)は同図(a)のDPCMデー
タの桁落ち分を同図(e)に加算した結果の桁落ちビッ
ト累計データである。
Figure 13 (1) is the compressed data obtained as a result of the above exception processing, and the MSB of the cumulative lost bits in Figure 13 (a) is
The encode counter 53 is incremented on the condition that the MSB of the accumulated bit loss bits in FIG. 5(a) is "1", and the data in FIG. This is the result of r+14. The same figure (e
) is the cumulative data of lost bits as a result of masking the MSB in (a), and (f) is the result of adding the lost bits of the DPCM data in (a) to (e). This is cumulative lost bit data.

第14図に上述の例外処理シーケンスを含めた本実施例
の制御のフローチャー1〜を示す。
FIG. 14 shows the control flowchart 1 to 1 of this embodiment including the above-mentioned exception handling sequence.

なお、上述においてキャリー/オーバフロー検出ロジッ
ク58により圧縮データのオーバフロー条件を検出して
、桁上げによりオーバフローを生ずることとなる場合に
は桁上げを行なわずに該桁上げ分を無視している。これ
は桁落ち累積データによる桁上げにより伝送ヒツトにオ
ーバフローが生ずることとなる場合に桁上げを留保し、
接続のデータに桁上げ分を加算し積分1直が正しい値と
なるようにして伝送を行なった場合、上記桁上げの留保
が複数回にわたると時間的な面でのデータの正確さに問
題を生ずるのに対し、上述のようにりれば、受信側での
積分加算に際して、不完全積分動作となるようにするこ
とにより、実用上有効な結果を得ることができるからで
ある。それに加えて、この場合スケール値の減少方向l
\の変化を制限しているので、上述のようなA−バフロ
ーの発生は極めて少なく、上述の処理で充分な効果が得
られる。
In the above, the carry/overflow detection logic 58 detects an overflow condition of the compressed data, and if a carry would cause an overflow, no carry is performed and the carry is ignored. This is to reserve the carry when the carry due to the accumulated data with dropped digits causes an overflow in the transmission hit.
When transmission is performed by adding the carry amount to the connected data so that the integral 1st shift becomes the correct value, if the above carry reservation occurs multiple times, there will be a problem with the accuracy of the data in terms of time. This is because, in contrast, if the above-mentioned procedure is adopted, a practically effective result can be obtained by performing an incomplete integral operation when performing integral addition on the receiving side. In addition, in this case the decreasing direction of the scale value l
Since the change in \ is limited, the occurrence of the above-mentioned A-buff flow is extremely small, and the above-mentioned processing can provide sufficient effects.

このようにして、非常にllJ里な構成で、伝送−フー
ータの補正、桁落ち累積による街上げおよびそれに伴う
チェックを極めて有効に行なうことができる。
In this way, with a very simple configuration, it is possible to perform transmission-footer correction, correction based on cumulative loss of digits, and the accompanying checks extremely effectively.

なお、本発明は上述し且つ図面に示す実施例にのみ限定
されることなく、その要旨を変更しない範囲内で種々変
形して実施することができる。
It should be noted that the present invention is not limited to the embodiments described above and shown in the drawings, but can be implemented with various modifications without changing the gist thereof.

すなわち、上記実施例においては、本発明を、スケール
値の減少方向への変化を「1」に制限する技術と併用し
た場合について説明し、このような場合に最もシステム
構成を簡単化できるには違いないが、本発明の最も大き
な特徴は、桁落ちビットの累計償能と伝送データ補正機
能とを分離することにより、原データ長く例えば、16
ビツトのDPCMデータ長)のフルアダーを必要とせず
、桁落ちビット累計にのみ最大桁落ちビット長(例えば
、8ビツト長)に相当するフルアダーを用意すればよい
という点である。したがってζスケール値の変化に合わ
せて圧縮データとの加締ビット長が可変し得る構成とす
れば、スケール値の減少を制限しない場合においても桁
落ちピッ1への累呂1が可能である。
That is, in the above embodiment, the case where the present invention is used in combination with a technique that limits the change in the scale value in the decreasing direction to "1" will be described, and in such a case, the system configuration can be most simplified. Without a doubt, the most significant feature of the present invention is that by separating the cumulative compensation for lost bits and the transmission data correction function, the original data can be made longer, for example by 16
The point is that there is no need for a full adder for the maximum lost bit length (for example, 8-bit length) only for the total lost bit length. Therefore, if the configuration is such that the correction bit length with the compressed data can be varied in accordance with changes in the ζ scale value, it is possible to increase the precision to 1 by 1 even when the decrease in the scale value is not restricted.

また、本発明はDPCM伝送に限らず、通常のPCMを
含む他のPC,M伝送にも適用して効果が得られること
はいうまでもない。
Furthermore, it goes without saying that the present invention can be effectively applied not only to DPCM transmission but also to other PC and M transmissions including normal PCM.

[発明の効果コ 木を岨によれば−イ云′l笑デー々の補W)−桁落ちビ
ットの累計を該桁落ちビットからの桁上がりおよびオー
バフローのチェックを含めて、簡単な構成で極めて有効
に実現し得る送信装置を提供することができる。
[Effects of the Invention According to the tree - Supplementary data W) - Calculate the cumulative total of lost bits with a simple configuration, including checking for carry and overflow from the lost bits. A transmitting device that can be realized extremely effectively can be provided.

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

第1図は差分PCMの一例を説明するためのシステムブ
ロック図、第2図はp c へ’+におりるデータ圧縮
の一例を示すシステムブロック図、第3図および第4図
は同側を説明するための図、第5図および第6図は本発
明の対象となる伝送システムの一例の構成を示すそれぞ
れ送信側および受信側のシステムブロック図、第7図お
よび第8図は四側におけるオーバフローエラーの発生を
説明するための図、第9図は本発明の一実施例の構成を
示すブロック図、第10図〜第13図は同実施例におけ
るデータ処理を説明するための図、第1/1図は同実施
例にお1プる処理の流れを示す制御フローチャー1〜で
ある。 17a・・・エンコードシフ1〜レジスタ、18・・・
]ン1〜ロールシーケンサ部、51・・・f−クホール
1−レジスタ、52・・・圧縮抽出回銘、53・・・エ
ン5−ドカウンタ、54・・・第1のマスクロジック、
55・・・アキュムレータ、56・・・第2のマスクロ
ジック。 57・・桁落ち保持レジスタ、58・・・キャリー/オ
ーバフロー検出ロジック。 出願人代理人 弁理士 鈴江武彦
Fig. 1 is a system block diagram for explaining an example of differential PCM, Fig. 2 is a system block diagram showing an example of data compression going to p c '+, and Figs. 3 and 4 show the same side. Figures 5 and 6 are system block diagrams of the transmitting side and receiving side, respectively, showing the configuration of an example of the transmission system to which the present invention is applied, and Figures 7 and 8 are system block diagrams of the four sides. FIG. 9 is a block diagram showing the configuration of an embodiment of the present invention. FIGS. 10 to 13 are diagrams to explain data processing in the embodiment. Figure 1/1 is a control flowchart 1 to 1 showing the flow of processing in the same embodiment. 17a...Encode shift 1-register, 18...
51...f-hole 1-register, 52...compression/extraction memory, 53...en5-de counter, 54...first mask logic,
55...Accumulator, 56...Second mask logic. 57...Digit retention register, 58...Carry/overflow detection logic. Applicant's agent Patent attorney Takehiko Suzue

Claims (2)

【特許請求の範囲】[Claims] (1)PCM符号原データを時系列的に連続する所定デ
ータ群毎にブロック化し、個々のブロックを代表するレ
ベルをスケール値どして検出するスケール検出手段と、
該スケール値にしたがって上記PCM符号原データから
予め定められたヒツト長の上位有効ビットを取出す圧縮
抽出手段と、上記PCM符号原データの上記上位有効ピ
ッ1ル位置より下位に存在する実質的な下位残余データ
を加算累計する第1の加算手段と、この第1の加算手段
の加算結果が上記伝送すべき有効ピッ1−位置内に桁上
がりした場合、あるいは伝送づべき有効ビット位置がス
ケール値の減少に伴って下位桁に変化することによって
実質的に上記桁上がりが生じたことに相当する状態とな
った場合に該桁上がり分を上記圧縮抽出手段で得た伝送
ビットデータに加算する第2の加算手段と、この第2の
加算手段により得た伝送データと上記スケール検出手段
で得たスケール値とを伝送系に送出づ゛る送信手段どを
具備したことを特徴とする送信装置。
(1) scale detection means for dividing the PCM code original data into blocks for each predetermined data group that is continuous in time series, and detecting a level representing each block as a scale value;
compression extraction means for extracting the upper effective bits of a predetermined hit length from the PCM code original data according to the scale value; A first addition means for adding and accumulating the remaining data, and when the addition result of the first addition means carries within the effective bit position to be transmitted, or when the effective bit position to be transmitted is within the scale value. A second step for adding the carry amount to the transmission bit data obtained by the compression extraction means when a state corresponding to the above-mentioned carry has substantially occurred due to a change to the lower digits due to the decrease; A transmitting device comprising: an adding means; and a transmitting means for transmitting the transmission data obtained by the second adding means and the scale value obtained by the scale detecting means to a transmission system.
(2)第2の加算手段は、第1の加算手段によって生ず
る有効ピッ1−位置への桁上がりと圧縮抽出手段で抽出
した上記有効ビット位置データのヒツトパターンとをチ
ェックし、加算により上記有効ビット位置データに該有
効ヒツト位置外へのA−パフローを生ずるか否かを判定
する手段と、この判定結果に応じ上記桁上げデータの伝
送データに対する加算補正を行なうか否かを制御2Il
する手段とを備えたことを特徴とする特許請求の範囲第
1項記載の送信装置。 く3)第2の加算手段は、加算器として入カテータでカ
ウント開始データがプリセラ1−されるカウンタを用い
たことを特徴とする特訂品求の範囲第1項または第2項
に記載の送信装置。
(2) The second addition means checks the carry to the valid bit 1-position generated by the first addition means and the hit pattern of the valid bit position data extracted by the compression extraction means, and adds the above valid bit position data. means for determining whether an A-flow outside the effective hit position occurs in the bit position data; and control 2Il for determining whether or not to perform addition correction to the transmission data of the carry data according to the result of this determination;
2. The transmitting device according to claim 1, further comprising means for: 3) The second addition means is characterized in that the second addition means uses a counter in which the count start data is pre-selected at the input counter as an adder. Transmitting device.
JP17889083A 1983-03-31 1983-09-27 Transmitter Pending JPS6070836A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP17889083A JPS6070836A (en) 1983-09-27 1983-09-27 Transmitter
DE19843411962 DE3411962A1 (en) 1983-03-31 1984-03-30 DATA TRANSFER DEVICE
US06/596,199 US4633483A (en) 1983-03-31 1984-04-02 Near-instantaneous companding PCM involving accumulation of less significant bits removed from original data
GB08408439A GB2139834B (en) 1983-03-31 1984-04-02 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17889083A JPS6070836A (en) 1983-09-27 1983-09-27 Transmitter

Publications (1)

Publication Number Publication Date
JPS6070836A true JPS6070836A (en) 1985-04-22

Family

ID=16056484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17889083A Pending JPS6070836A (en) 1983-03-31 1983-09-27 Transmitter

Country Status (1)

Country Link
JP (1) JPS6070836A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62290902A (en) * 1986-06-10 1987-12-17 Sony Corp Digital servo circuit
JPH01147932A (en) * 1987-12-03 1989-06-09 Sony Corp Linear predictive coding method
JPH01501748A (en) * 1986-09-19 1989-06-15 ザ・タイタン・コーポレーション Digital audio companding and error adjustment
JP2017215711A (en) * 2016-05-31 2017-12-07 日本電信電話株式会社 Sensor terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5348452A (en) * 1976-10-14 1978-05-01 Matsushita Electric Ind Co Ltd Coder
JPS54122114A (en) * 1978-03-15 1979-09-21 Kenkichi Tsukamoto Signal processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5348452A (en) * 1976-10-14 1978-05-01 Matsushita Electric Ind Co Ltd Coder
JPS54122114A (en) * 1978-03-15 1979-09-21 Kenkichi Tsukamoto Signal processing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62290902A (en) * 1986-06-10 1987-12-17 Sony Corp Digital servo circuit
JPH01501748A (en) * 1986-09-19 1989-06-15 ザ・タイタン・コーポレーション Digital audio companding and error adjustment
JPH01147932A (en) * 1987-12-03 1989-06-09 Sony Corp Linear predictive coding method
JP2730028B2 (en) * 1987-12-03 1998-03-25 ソニー株式会社 Linear predictive coding method
JP2017215711A (en) * 2016-05-31 2017-12-07 日本電信電話株式会社 Sensor terminal

Similar Documents

Publication Publication Date Title
US3707680A (en) Digital differential pulse code modulation system
EP0145788B1 (en) Method and apparatus for transmitting digital signal
US4633483A (en) Near-instantaneous companding PCM involving accumulation of less significant bits removed from original data
JPS6070836A (en) Transmitter
JPS6054538A (en) Signal transmitting system
JPH0311694B2 (en)
JPS6046629A (en) Method and apparatus for transmitting signal
US5168116A (en) Method and device for compressing signals of plural channels
US20020057742A1 (en) Sorting device of variable-length code
JPS59182639A (en) Signal transmission system
JPS60163546A (en) Digital signal transmission system
JPH02290342A (en) Receiver
JPS6226101B2 (en)
JPS6016039A (en) Receiver
JP2652371B2 (en) Audio coding method
JPS56149844A (en) Signal encoding transmission equipment
JPS6030219A (en) Code conversion system for delta modulation
JPS6319921A (en) Voice coding system
JP2521051B2 (en) Speech coding system
EP0110352B1 (en) Digital information transmitting system and digital information receiving apparatus
JPH07160267A (en) Device and method for coding waveform data, waveform data decoding device and waveform data coding/decoding device
JPH01132223A (en) Block coding signal transmission system
JPH10322205A (en) Device and method for correcting nonlinear distortion
JPH1050051A (en) Device for accessing synchronous fifo memory and method therefor
KR960013964B1 (en) Multichannel data compressor