JPH0443451B2 - - Google Patents
Info
- Publication number
- JPH0443451B2 JPH0443451B2 JP10449486A JP10449486A JPH0443451B2 JP H0443451 B2 JPH0443451 B2 JP H0443451B2 JP 10449486 A JP10449486 A JP 10449486A JP 10449486 A JP10449486 A JP 10449486A JP H0443451 B2 JPH0443451 B2 JP H0443451B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- pcm
- linear
- compression
- transmission method
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims description 69
- 230000001186 cumulative effect Effects 0.000 claims description 35
- 238000000034 method Methods 0.000 claims description 27
- 238000013144 data compression Methods 0.000 claims description 15
- 238000007906 compression Methods 0.000 claims description 14
- 230000006835 compression Effects 0.000 claims description 14
- 238000009825 accumulation Methods 0.000 claims description 4
- 230000000717 retained effect Effects 0.000 claims 1
- 230000003111 delayed effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000002265 prevention Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006866 deterioration Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、PCM(pulse code modulation〜パ
ルス符号変調)伝送方式およびその装置に係り、
特に、通常のPCM、すなわちリニアPCMに用い
られるリニアデータとDPCM(differential PCM
〜差分PCM)に用いられる差分データとを交互
に切換選択して伝送に供し且つ伝送データのデー
タ圧縮/伸長を含む方式のPCM伝送における直
流分のずれに対する改善技術に関するものであ
る。なお、この場合「伝送」とは、無線、有線の
通信回路を介しての伝送に限らず、単に、変/復
調系や記録/再生系を通すことも含む広義の伝送
を意味し、したがつて「伝送路」とは、通信・信
号回線、変/復調系、記録/再生系等やこれらの
組合わせを含む系を意味する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a PCM (pulse code modulation) transmission system and its apparatus,
In particular, the linear data used in normal PCM, that is, linear PCM, and the DPCM (differential PCM)
This invention relates to a technique for improving the deviation of the DC component in PCM transmission, which involves alternately switching and selecting differential data used in differential PCM to be used for transmission, and including data compression/expansion of the transmitted data. In this case, "transmission" is not limited to transmission via wireless or wired communication circuits, but simply means transmission in a broad sense, including transmission through modulation/demodulation systems and recording/reproduction systems. The term "transmission line" means a system including a communication/signal line, a modulation/demodulation system, a recording/reproduction system, etc., or a combination thereof.
アナログ信号を単にA/D(アナログ−デイジ
タル)変換しただけのPCMデータ、すなわちリ
ニアデータを、準瞬時圧伸するPCM方式はNI−
PCM(near instantaneous companding PCM〜
準瞬時圧伸PCM)を称される。これに対して、
サンプル間の差分値のPCMデータである差分デ
ータを準瞬時圧伸するPCM方式、すなわち差分
準瞬時圧伸PCM(以下、説明の便宜上「NI−
DPCM」と称することにする)が考えられる。
NI−PCMは、原信号のレベルによつてS/Nが
決定される。これに対し、DPCMでは原信号の
周波数およびレベルによつてS/Nが決定され
る。したがつて、原信号の大きさが伝送圧縮ビツ
ト長に相当する値よりも小さい場合には、NI−
PCMおよびNI−DPCMのいずれかの方式でも
S/Mは同様であるに対し、原信号が伝送圧縮ビ
ツト長に相当する値よりも大きい場合は、NI−
PCMとNI−DPCMとでは周波数によつてS/N
に相違がある。すなわち、低い周波数では、原信
号の振幅が大きくても差分データの値は小さくな
り、したがつてデータ圧縮した場合の情報の減少
が少ないのでNI−DPCMのS/Nは良好となる。
しかし、このNI−DPCMでは、圧縮による情報
の減少および上述したデータ欠落があると、直流
分のずれが生じる。これに対してリニアデータの
値は、単純に原信号の振幅に相当し、したがつて
原信号の振幅が小さければデータ圧縮した場合の
情報の減少が少なく、NI−PCMのS/Nは良好
となる。また、NI−PCMでは、基本的にリニア
データを伝送するので、直流分のずれは生じな
い。
NI- is a PCM method that quasi-instantaneously compands PCM data that is simply A/D (analog-digital) conversion of an analog signal, that is, linear data.
PCM(near instantaneous companding PCM〜
It is called quasi-instantaneous companding (PCM). On the contrary,
A PCM method for quasi-instantaneous companding of differential data, which is PCM data of difference values between samples, is called differential quasi-instantaneous companding PCM (hereinafter referred to as "NI-
(hereinafter referred to as ``DPCM'') is considered.
In NI-PCM, the S/N is determined by the level of the original signal. On the other hand, in DPCM, the S/N is determined by the frequency and level of the original signal. Therefore, if the size of the original signal is smaller than the value corresponding to the transmission compression bit length, NI−
The S/M is the same for either PCM or NI-DPCM, but if the original signal is larger than the value corresponding to the transmission compression bit length, the NI-DPCM
In PCM and NI-DPCM, the S/N depends on the frequency.
There is a difference. That is, at a low frequency, even if the amplitude of the original signal is large, the value of the difference data is small, and therefore, there is little loss of information when data is compressed, so the S/N of NI-DPCM is good.
However, in this NI-DPCM, if there is a reduction in information due to compression and the above-mentioned data loss, a shift in the DC component occurs. On the other hand, the value of linear data simply corresponds to the amplitude of the original signal. Therefore, if the amplitude of the original signal is small, there is less information loss when compressing the data, and the S/N of NI-PCM is good. becomes. Furthermore, since NI-PCM basically transmits linear data, no deviation occurs in the DC component.
そこで、差分データの圧縮伝送を利用して、し
かも伝送エラーに起因する直流分のずれ等の悪影
響を実質的に防止し、高効率で且つS/N比の良
好なPCM伝送を実現し得るPCM伝送方式とし
て、NI−PCMとNI−DPCMとを組合わせて伝送
するものが考えられている。 Therefore, we have developed a PCM that utilizes compressed transmission of differential data and can substantially prevent adverse effects such as deviations in the DC component caused by transmission errors, thereby realizing highly efficient PCM transmission with a good S/N ratio. As a transmission method, a combination of NI-PCM and NI-DPCM is being considered.
このようなPCM伝送方式では、送信側で、リ
ニアデータと差分データとが、原データに適応し
て選択されてデータ圧縮され、選択状態を示す情
報とともに送信されることになる。そして、受信
側では、受信データを伸長し、差分データが伝送
されているときにはさらに上記選択状態を示す情
報に応じて上記伸長された受信データを積分して
再生に供し、リニアデータが伝送されているとき
には上記伸長された受信データをそのまま再生に
供する。 In such a PCM transmission system, on the transmitting side, linear data and differential data are selected and compressed in accordance with the original data, and are transmitted together with information indicating the selection state. Then, on the receiving side, the received data is expanded, and when differential data is being transmitted, the expanded received data is further integrated and reproduced according to the information indicating the selection state, and linear data is being transmitted. When the received data is expanded, the expanded received data is directly reproduced.
一方、原データの上位有効ビツトを優先して所
定ビツト長の伝送データを得るPCMデータの圧
縮伝送において、データ圧縮の際に切捨てられる
下位ビツトのデータによる誤差の累積を回避する
ため、送信側で下位切捨ビツトを累積し、この累
積データを圧縮データに算入することが考えられ
ている。 On the other hand, in compressed transmission of PCM data in which transmission data of a predetermined bit length is obtained by giving priority to the upper effective bits of the original data, the transmission side It has been considered to accumulate the lower truncated bits and include this accumulated data in the compressed data.
このような、システムにおいては、圧縮による
切捨ビツトが、送信側に設けられたアキユムレー
タに加算累積され、このアキユムレータの累積値
が圧縮による伝送桁内に相当する値となつたとき
に伝送データに算入される。このアキユムレータ
の累積値の伝送データへの算入方法としては、例
えば圧縮前の原データに上記累積値を直接加算す
る方法、圧縮後のデータに上記累積値を加算する
方法、累積値が圧縮による伝送桁内に相当する値
となつたときに伝送データを適宜インクリメント
する方法などが考えられ、加算あるいはインクリ
メント後のアキユムレータの値は、もとの累積値
から加算あるいはインクリメント相当分が減算さ
れた値となる。 In such a system, the truncated bits due to compression are added and accumulated to an accumulator provided on the transmitting side, and when the accumulated value of this accumulator reaches a value that corresponds to the transmission digit due to compression, it is added to the transmitted data. It is included in the calculation. The cumulative value of this accumulator can be included in the transmitted data, for example, by directly adding the cumulative value to the original data before compression, by adding the cumulative value to the compressed data, or by transmitting the cumulative value by compression. One possible method is to increment the transmitted data appropriately when the value reaches a value within the digit, and the value of the accumulator after addition or increment is the value obtained by subtracting the amount equivalent to the addition or increment from the original cumulative value. Become.
特に、差分データを圧縮伝送する場合には、受
信側で復調のために伝送データが積分されるの
で、切捨誤差分の累積は大きな直流誤差となるこ
とから、上記切捨誤差の累積伝送による効果は大
きい。 In particular, when differential data is compressed and transmitted, the transmitted data is integrated for demodulation on the receiving side, so the accumulation of truncation errors becomes a large DC error. The effect is great.
そこで、この累積誤差防止方式を、上述のリニ
アデータと差分データとを、原データに適応して
選択してデータ圧縮し伝送するPCM伝送方式に
適用することが考えられる。 Therefore, it is conceivable to apply this cumulative error prevention method to a PCM transmission method in which linear data and differential data described above are selected adaptively to the original data, compressed, and transmitted.
上記累積誤差防止方式を、上述のリニアデータ
と差分データとを、原データに適応して選択して
データ圧縮し伝送するPCM伝送方式に適用しよ
うとする場合、次のような問題が生ずる。
When applying the cumulative error prevention method to a PCM transmission method in which the linear data and differential data described above are selected adaptively to the original data, compressed, and transmitted, the following problem occurs.
リニアデータが圧縮される場合と差分データが
圧縮される場合とでは、切捨誤差分の持つ意味が
相違する。このため、リニアデータから差分デー
タへ、または差分データからリニアデータへの切
換時にアキユムレータに保持されている累積値
は、適切な値ではない。 The meaning of the truncation error is different when linear data is compressed and when differential data is compressed. Therefore, the cumulative value held in the accumulator at the time of switching from linear data to differential data or from differential data to linear data is not an appropriate value.
例えば、原データを16ビツトのデータとし、こ
のリニアデータと該リニアデータの逐次差分に対
応する差分データとを適時切換選択して8ビツト
に圧縮して伝送する場合について説明する。 For example, a case will be described in which the original data is 16-bit data, and this linear data and differential data corresponding to successive differences between the linear data are selected and compressed into 8-bit data and transmitted.
第4図において、入力端子1へは、16ビツトの
原データすなわちリニアデータが与えられ、この
リニアデータは、加算器2、ラツチ回路3および
判別器4に与えられる。判別器4は、リニアデー
タから所定の判別条件によりリニアデータを圧縮
するか差分データを圧縮するかすなわちNI−
PCMで伝送するかNI−DPCMで伝送するかを判
別しそれに応じた判別信号を出力する。この判別
は、所定のデータブロツクを単位として行なわれ
る。ラツチ回路3は、入力されたリニアデータを
ラツチして1サンプル期間遅延し乗算器5に与え
る。乗算器5は、ラツチ回路3から与えられるデ
ータに、判別器4の出力に対応する差分係数αを
乗算して加算器2に与える。加算器2は、乗算器
5の出力を原データから減算してデータ圧縮器6
に与える。データ圧縮器6は、加算器2の出力を
データ圧縮し、8ビツトの圧縮データを出力端子
7より伝送路へ送出する。データ圧縮器6による
データ圧縮は、上記所定のデータブロツク毎に、
当該データブロツク内の最大値(絶対値)の上位
有効ビツトの8ビツト分に相当するビツト位置の
データが抽出される。このデータ圧縮器6による
データ圧縮に際し、圧縮に伴う切捨ビツトつまり
伝送される8ビツトよりも下位の桁のデータであ
る切捨誤差分はアキユムレータ8で累積加算さ
れ、累積値が8ビツトの伝送桁内に相当する値に
なると伝送データに算入される。判別器4の判別
結果を示す判別信号は、出力端子9を介して伝送
路へ送出される。 In FIG. 4, 16-bit original data, ie, linear data, is applied to an input terminal 1, and this linear data is applied to an adder 2, a latch circuit 3, and a discriminator 4. The discriminator 4 determines whether to compress linear data or differential data based on predetermined discrimination conditions from linear data, that is, NI-
It determines whether to transmit using PCM or NI-DPCM and outputs a corresponding determination signal. This determination is performed in units of predetermined data blocks. The latch circuit 3 latches the input linear data, delays it by one sample period, and supplies it to the multiplier 5. Multiplier 5 multiplies the data provided from latch circuit 3 by a difference coefficient α corresponding to the output of discriminator 4 and provides the result to adder 2 . The adder 2 subtracts the output of the multiplier 5 from the original data and sends it to the data compressor 6.
give to A data compressor 6 compresses the output of the adder 2 and sends 8-bit compressed data from an output terminal 7 to a transmission line. Data compression by the data compressor 6 is performed for each predetermined data block.
Data at bit positions corresponding to the 8 most significant bits of the maximum value (absolute value) in the data block is extracted. When data is compressed by the data compressor 6, the truncated bits accompanying the compression, that is, the data of lower digits than the 8 bits to be transmitted, are cumulatively added in the accumulator 8, and the cumulative value is the 8 bits transmitted. If the value falls within the digits, it is included in the transmission data. A discrimination signal indicating the discrimination result of the discriminator 4 is sent to the transmission line via the output terminal 9.
乗算器5における差分係数αの値がゼロである
とき(α=0)は乗算器5の出力はゼロとなり
NI−PCM伝送が行なわれ、α>0であるとき
は、NI−DPCM伝送となる。通常のNI−DPCM
伝送の場合はα=1である。 When the value of the difference coefficient α in multiplier 5 is zero (α=0), the output of multiplier 5 is zero.
When NI-PCM transmission is performed and α>0, NI-DPCM transmission is performed. Normal NI−DPCM
In the case of transmission, α=1.
そして、NI−DPCM伝送時には、アキユムレ
ータ8には、差分データの切捨ビツトが累積加算
されているため、アキユムレータ8の内容は、常
に、原データと受信機で復調される復調データと
の差を示している。 During NI-DPCM transmission, the truncated bits of the differential data are cumulatively added to the accumulator 8, so the contents of the accumulator 8 always contain the difference between the original data and the demodulated data demodulated by the receiver. It shows.
一方、NI−PCM伝送時には、アキユムレータ
8では、リニアデータの切捨ビツト、すなわち、
原データと復調データとの差が累積加算されるた
め、アキユムレータ8に格納される値は、原デー
タと復調データとの差の累積値である。該累積値
は、複数サンプル期間内に伝送データに逐次繰入
れられるが、この場合のアキユムレータ8に保持
される値の瞬時値自体は圧伸による誤差の値とは
直接関係がない。 On the other hand, during NI-PCM transmission, the accumulator 8 uses the truncation bits of the linear data, that is,
Since the difference between the original data and the demodulated data is cumulatively added, the value stored in the accumulator 8 is the cumulative value of the difference between the original data and the demodulated data. The cumulative value is sequentially added to the transmission data within a plurality of sampling periods, but the instantaneous value itself of the value held in the accumulator 8 in this case is not directly related to the value of the error due to companding.
したがつて、NI−PCMとNI−DPCM8との切
換時に上記アキユムレータ8の値をそのままとす
ると、切換直後のアキユムレータ8の内容はそれ
ぞれの伝送方式(切換後の方式)においては、何
等意味のない値となり、累積加算の連続性が失わ
れてしまい、直流ずれを生ずる。この直流ずれ
は、伝送方式の切換の度毎に生ずるため、該切換
が頻繁に行なわれるような条件のもとでは、さら
にS/Nの劣化、聴感上のノイズの増加等をもた
らす。 Therefore, if the value of accumulator 8 is left unchanged when switching between NI-PCM and NI-DPCM 8, the contents of accumulator 8 immediately after switching will have no meaning in each transmission method (method after switching). value, the continuity of cumulative addition is lost, and a DC shift occurs. This DC shift occurs every time the transmission system is switched, and therefore, under conditions where the switching is frequently performed, it causes further deterioration of the S/N ratio, increase in audible noise, and the like.
そこで、本発明の目的は、リニアデータと差分
データとを、原データに適応して交互に選択して
データ圧縮し伝送し、且つ上記切捨ビツト累積加
算による累積誤差防止方式を採用したPCM伝送
方式において、リニアデータと差分データとの選
択切換時における累積加算値の不連続の問題を解
消し、直流ずれの発生を防止し得るPCM伝送方
式を提供することにある。 SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a PCM transmission system which compresses and transmits linear data and differential data by alternately selecting them in accordance with the original data, and which employs the cumulative error prevention method by cumulative addition of truncated bits. It is an object of the present invention to provide a PCM transmission method that can solve the problem of discontinuity of cumulative addition values when switching between linear data and differential data, and can prevent the occurrence of DC deviation.
本発明は、上述の目的を達成するものであり、
アナログ原信号に対応するリニアデータと該リニ
アデータの逐次差分値に対応する差分データとを
交互に切換選択し且つデータ圧縮してデイジタル
伝送データを得るとともに、該伝送データおよび
実質的に上記切換選択に対応する選択情報を送信
し、これら伝送データおよび選択情報を受信し
て、受信伝送データをデータ伸長し、受信選択情
報に基づき、送信側でリニアデータが選択されて
いる場合は伸長されたデータをそのまま、送信側
で差分データが選択されている場合には該伸長さ
れたデータを積分して、アナログ再生信号への変
換に供するPCM伝送方式において、送信側にて、
上記データ圧縮による切捨誤差分を累積して以後
の伝送データ生成に反映させるにあたり、選択さ
れデータ圧縮に供されるデータがリニアデータか
ら差分データに切換えられたときには、従前の切
捨誤差分の累積値に代えて直前の切捨誤差分を切
換後の累積誤差の初期値として以後の誤差累積を
行なうことを特徴とするPCM伝送方式である。
The present invention achieves the above objects,
Linear data corresponding to the analog original signal and difference data corresponding to successive difference values of the linear data are alternately selected and compressed to obtain digital transmission data, and the transmission data and substantially the above switching selection are performed. , receives these transmission data and selection information, expands the received transmission data, and if linear data is selected on the sending side based on the reception selection information, expands the expanded data. In the PCM transmission method, when differential data is selected on the transmitting side, the expanded data is integrated and converted to an analog playback signal.
In accumulating the truncation error due to the data compression described above and reflecting it in subsequent transmission data generation, when the data selected for data compression is switched from linear data to differential data, the previous truncation error This is a PCM transmission system characterized in that, instead of the cumulative value, the immediately preceding truncation error is used as the initial value of the cumulative error after switching, and subsequent error accumulation is performed.
本発明の実施例について具体的に述べる前に、
まず、本発明の原理について説明する。
Before specifically describing embodiments of the present invention,
First, the principle of the present invention will be explained.
例えば、NI−DPCMからNI−PCMに切換えら
れた時には、アキユムレータの内容、すなわち従
前のNI−DPCMでの累積加算の結果は、意味を
失う。しかし、NI−PCMではリニアデータが圧
縮されるので、該アキユムレータの内容を棄却、
すなわちゼロクリアしてしまつても、そのゼロク
リアに基づく誤差は圧縮による切捨誤差の大きさ
を超えることはなく、実害は少ない。 For example, when switching from NI-DPCM to NI-PCM, the contents of the accumulator, ie, the results of cumulative addition in the previous NI-DPCM, lose meaning. However, since linear data is compressed in NI-PCM, the contents of the accumulator are discarded and
In other words, even if zero-clearing occurs, the error based on zero-clearing will not exceed the size of the truncation error due to compression, and there will be little actual damage.
しかし、逆に、NI−PCMからNI−DPCMに切
換えられたときには、受信側では、NI−PCMの
最後の復調データにNI−DPCMの伸長された受
信データを加算することにより復調されるため、
切換え直後の圧縮誤差は、第5図に示すように、
NI−PCMの圧縮誤差とNI−DPCMの圧縮誤差と
が加算された値となり、切捨ビツト長(圧縮スケ
ール値に対応する)に相当する大きさを超える大
きな誤差を生ずる。この誤差は、再生信号におい
ては、急激な直流ずれとなる。このような誤差
が、NI−PCMからNI−DPCMへの切換えの度毎
に発生するため、頻繁に差分係数αの切換え、す
なわちNI−PCMとNI−DPCMとの間の切換えが
生ずるような周波数および/またはレベル条件の
もとでは、S/Nが劣化し、聴感上もノイズが著
しく増加する。 However, conversely, when switching from NI-PCM to NI-DPCM, the receiving side demodulates by adding the expanded received data of NI-DPCM to the last demodulated data of NI-PCM.
The compression error immediately after switching is as shown in Figure 5.
The NI-PCM compression error and the NI-DPCM compression error are added together, resulting in a large error exceeding the size equivalent to the truncated bit length (corresponding to the compression scale value). This error results in a sudden DC shift in the reproduced signal. Since such an error occurs every time there is a switch from NI-PCM to NI-DPCM, the difference coefficient α is often switched at frequencies where switching between NI-PCM and NI-DPCM occurs. and/or under high level conditions, the S/N ratio deteriorates and noise increases significantly in terms of audibility.
そこで、本発明においては、NI−PCMからNI
−DPCMへの切換時に、従前のNI−PCMの切捨
誤差が累積されているアキユムレータの内容を
NI−DPCMの復調に適する値に修正し、この修
正された内容を用いて切換直後のNI−DPCMデ
ータをエンコード(データ圧縮および切捨て誤差
の累積加算)する。NI−PCMからNI−DPCMへ
の切換直後のアキユムレータの値として適切な値
は、切換直前のNI−PCMデータ(最後のサンプ
ル)の復調データと原データ(リニアデータ)と
の差、すなわち、切換直前のNI−PCMデータ
(最後のサンプル)における切捨誤差(累積値で
ない単独の値)である。この値は、切換直前の
NI−PCMデータ(最後のサンプル)を圧縮した
ときのアキユムレータの値と、その1サンプル前
のNI−PCMデータを圧縮したときのアキユムレ
ータの値との差ということもできる。 Therefore, in the present invention, from NI-PCM to NI
-When switching to DPCM, the contents of the accumulator where the previous NI-PCM truncation error has been accumulated are
The value is modified to be suitable for demodulating the NI-DPCM, and the modified content is used to encode the NI-DPCM data immediately after switching (data compression and cumulative addition of truncation errors). The appropriate value for the accumulator immediately after switching from NI-PCM to NI-DPCM is the difference between the demodulated data of the NI-PCM data (last sample) immediately before switching and the original data (linear data), that is, the difference between the demodulated data of the NI-PCM data (last sample) immediately before switching, This is the truncation error (single value, not cumulative value) in the immediately preceding NI-PCM data (last sample). This value is the value immediately before switching.
It can also be said to be the difference between the value of the accumulator when compressing NI-PCM data (the last sample) and the value of the accumulator when compressing the NI-PCM data one sample before that.
なお、NI−DPCMからNI−PCMへの切換時に
は、先に述べたようにアキユムレータの値をゼロ
クリアすればよい。 Note that when switching from NI-DPCM to NI-PCM, the value of the accumulator may be cleared to zero as described above.
したがつて、本発明の第1の実施例において
は、NI−PCMからNI−DPCMへの切換に際して
は、NI−PCMからNI−DPCMへの切換直前の
NI−PCMデータ(最後のサンプル)における切
捨誤差をラツチし、NI−PCMからNI−DPCMへ
の切換時に、アキユムレータの内容を従前のNI
−PCMの切捨誤差の累積値から上記ラツチされ
た値に置換え、この修正された内容を初期値とし
て切換後のNI−DPCMの切捨誤差を累積する。
そして、NI−DPCMからNI−PCMへの切換に際
しては、アキユムレータをゼロクリアする。 Therefore, in the first embodiment of the present invention, when switching from NI-PCM to NI-DPCM, the
The truncation error in the NI-PCM data (last sample) is latched, and when switching from NI-PCM to NI-DPCM, the contents of the accumulator are
- Replace the accumulated value of the PCM truncation error with the above-mentioned latched value, and accumulate the NI-DPCM truncation error after switching using this corrected content as an initial value.
Then, when switching from NI-DPCM to NI-PCM, the accumulator is cleared to zero.
したがつて、本発明の第1の実施例による送信
装置の構成は第1図のようになる。 Therefore, the configuration of the transmitter according to the first embodiment of the present invention is as shown in FIG.
第1図において、入力端子1、加算器2、ラツ
チ回路3、判別器4、乗算器5、データ圧縮器
6、出力端子7、および出力端子9は、第4図の
場合と同様であるので、これらについての詳細な
説明は省略する。 In FIG. 1, input terminal 1, adder 2, latch circuit 3, discriminator 4, multiplier 5, data compressor 6, output terminal 7, and output terminal 9 are the same as in FIG. , a detailed explanation of these will be omitted.
アキユムレータ20は、第4図のアキユムレー
タ8の機能、すなわち切捨誤差の加算累積機能に
次の機能を加えたものである。判別器4から出力
される判別信号に応答して、NI−PCMからNI−
DPCMへの切換に際しては、NI−PCMからNI−
DPCMへの切換直前のNI−PCMデータ(最後の
サンプル)における切捨誤差をラツチし、NI−
PCMからNI−DPCMへの切換時に、アキユムレ
ータの内容を従前のNI−PCMの切捨誤差の累積
値から上記ラツチされた値に置換える。そして、
NI−DPCMからNI−PCMへの切換に際しては、
アキユムレータをゼロクリアする。 The accumulator 20 has the following function added to the function of the accumulator 8 shown in FIG. 4, that is, the function of adding and accumulating truncation errors. In response to the discrimination signal output from the discriminator 4, the NI-PCM to NI-
When switching to DPCM, from NI-PCM to NI-
The truncation error in the NI-PCM data (last sample) immediately before switching to DPCM is latched, and the NI-PCM data (last sample) is latched.
When switching from PCM to NI-DPCM, the contents of the accumulator are replaced from the accumulated value of the previous NI-PCM truncation error to the latched value. and,
When switching from NI-DPCM to NI-PCM,
Clear the accumulator to zero.
アキユムレータ20は具体的には、例えば第2
図に示されるように構成される。データ圧縮器6
から出力される切捨誤差分は、加算器21および
ラツチ22に与えられる。加算器21から出力さ
れる加算結果はセレクタ23に入力される。セレ
クタ23へは、ラツチ22で1サンプル分遅延さ
れたデータも与えられている。該セレクタ23
は、加算器21の出力とラツチ22でラツチされ
た値とのいずれかが選択される。セレクタ23で
選択されたデータはラツチ24でラツチされる。
ラツチ24でラツチされ1サンプル遅延されたデ
ータが加算器21に与えられ、データ圧縮器6か
ら与えられた切捨誤差との加算に供される。セレ
クタ23およびラツチ24の動作は判別器4から
出力される判別信号に応動する制御部25によつ
て所定のタイミングで制御される。加算器21の
加算結果は、このアキユムレータ20における累
積値であり、データ圧縮器6に与えられて、伝送
桁内に入る値があるときは圧縮データに算入され
る。 Specifically, the accumulator 20 is, for example, a second
Constructed as shown in the figure. data compressor 6
The truncation error output from the adder 21 and the latch 22 is supplied to the adder 21 and the latch 22. The addition result output from the adder 21 is input to the selector 23. Data delayed by one sample by the latch 22 is also supplied to the selector 23. The selector 23
Either the output of adder 21 or the value latched by latch 22 is selected. The data selected by the selector 23 is latched by the latch 24.
The data latched by the latch 24 and delayed by one sample is provided to the adder 21, where it is added to the truncation error provided from the data compressor 6. The operations of the selector 23 and the latch 24 are controlled at predetermined timing by a control section 25 that responds to the discrimination signal output from the discriminator 4. The addition result of the adder 21 is the accumulated value in the accumulator 20, and is given to the data compressor 6, and if there is a value that falls within the transmission digit, it is included in the compressed data.
すなわち、NI−PCMで伝送されているとき
は、判別信号に応動する制御部25の動作によつ
て、セレクタ23が加算器21の加算結果を選択
しており、この値がラツチ24で1サンプル遅延
されて加算器21に与えられる。加算器21で
は、新たに入力された切捨誤差データと1サンプ
ル前の加算結果とが加算されることになり、切捨
誤差の累積加算が行なわれる。 That is, when NI-PCM is being transmitted, the selector 23 selects the addition result of the adder 21 by the operation of the control unit 25 in response to the discrimination signal, and this value is selected by the latch 24 for one sample. The signal is delayed and provided to the adder 21. In the adder 21, the newly inputted truncation error data is added to the addition result of one sample before, and cumulative addition of the truncation error is performed.
NI−PCM伝送からNI−DPCM伝送に切換えら
れると、判別器4の判別信号が変化し、それに応
動する制御部25により、セレクタ23が制御さ
れて、該セレクタ23は、ラツチ22の出力、す
なわち1サンプル遅延された切捨誤差を選択し、
さらに制御部25によりラツチ24にラツチ指令
が与えられて、該1サンプル前の切捨誤差がラツ
チ24でラツチされる。これが、加算器21で切
換直後のNI−DPCMの切捨誤差に加算される。
その後、制御部25の制御により、セレクタ23
は、加算器21の出力を選択し、それがラツチ2
4でラツチされ、加算に供される。こうして、以
後、このアキユムレータ20ではNI−PCM伝送
に切換えられるまでNI−DPCMの切捨誤差が累
積される。 When the NI-PCM transmission is switched to the NI-DPCM transmission, the discrimination signal of the discriminator 4 changes, and the control unit 25 that responds to this changes the selector 23, which selects the output of the latch 22, i.e. Select the truncation error delayed by one sample,
Furthermore, a latch command is given to the latch 24 by the control section 25, and the truncation error of the previous sample is latched by the latch 24. This is added by the adder 21 to the truncation error of the NI-DPCM immediately after switching.
Thereafter, under the control of the control section 25, the selector 23
selects the output of adder 21, which is connected to latch 2
It is latched at 4 and used for addition. In this way, from now on, the accumulator 20 accumulates the NI-DPCM truncation error until switching to NI-PCM transmission.
次に、NI−PCM伝送に切換えられると、判別
器4の出力に制御部25が応動して、ラツチ24
にクリア指令が与えられ、ラツチ24の保持内容
はゼロクリアされる。このため、加算器21で
は、切換直後のNI−PCMの切捨誤差にゼロが加
算される。その後、制御部25の制御により、セ
レクタ23は、加算器21の出力を選択し、それ
がラツチ24でラツチされ、加算に供される。こ
うして、以後、このアキユムレータ20ではNI
−DPCM伝送に切換えられるまでNI−PCMの切
捨誤差が累積される。 Next, when switching to NI-PCM transmission, the control unit 25 responds to the output of the discriminator 4, and the latch 24
A clear command is given to the latch 24, and the contents held in the latch 24 are cleared to zero. Therefore, in the adder 21, zero is added to the truncation error of the NI-PCM immediately after switching. Thereafter, under the control of the control section 25, the selector 23 selects the output of the adder 21, which is latched by the latch 24 and used for addition. In this way, from now on, in this accumulator 20, NI
- Truncation error of NI-PCM is accumulated until switching to DPCM transmission.
このようにして、NI−PCMとNI−DPCMとの
切換えが行なわれても、累積加算の連続性は保た
れる。その結果、両方式が交互に切換えられて
も、切捨てによる誤差以上の誤差を生じることが
なく、伝送方式の切換えによる直流ずれ、S/N
の劣化等は効果的に防止される。 In this way, even if switching between NI-PCM and NI-DPCM is performed, the continuity of cumulative addition is maintained. As a result, even if both methods are switched alternately, no errors greater than those due to truncation will occur, and there will be no direct current deviation or S/N error caused by switching the transmission method.
deterioration etc. are effectively prevented.
次に、本発明の第2の実施例は、少なくとも
NI−PCM伝送期間に受信側と同等の復調を行な
う復調器を設け、この復調器により得られた切換
直後の復調データと現リニアデータとの差を求め
てこれを、切換後のNI−DPCMの切捨誤差累積
の初期値とする。そして、NI−DPCMからNI−
PCMへの切換に際しては、アキユムレータをゼ
ロクリアする。 Next, a second embodiment of the present invention provides at least
A demodulator that performs demodulation equivalent to that on the receiving side is installed during the NI-PCM transmission period, and the difference between the demodulated data immediately after switching obtained by this demodulator and the current linear data is calculated and used as the NI-DPCM after switching. be the initial value of the cumulative truncation error. And from NI−DPCM to NI−
When switching to PCM, clear the accumulator to zero.
このような、本発明の第2の実施例の構成を第
3図に示す。 The configuration of such a second embodiment of the present invention is shown in FIG.
第3図において、第1図と同様の部分には同符
号を付して示している。この場合、データ圧縮器
6および判別器4の出力を受けて、少なくとも
NI−PCM伝送時に受信側と同等の復調を行なう
復調器30を有し、この復調器30の出力は加算
器31に与えられる。この加算器30は、入力端
子1から入力される原リニアデータと上記復調器
30の出力との差をとり、ラツチ32に供給す
る。このラツチ32で1サンプル分遅延されたデ
ータがアキユムレータ33に入力される。このア
キユムレータ33では、NI−PCM送信時には、
通常の切捨誤差の累積加算を行ない、NI−PCM
からNI−DPCMに切換えられたときには、ラツ
チ32から与えられる値、すなわち1サンプル前
の復調データと原リニアデータとの差に累積値を
置換え、NI−DPCM送信時には、やはり通常の
切捨誤差の累積加算を行ない、NI−DPCMから
NI−PCMに切換えられたときには、累積値をゼ
ロクリアする。 In FIG. 3, the same parts as in FIG. 1 are designated by the same reference numerals. In this case, upon receiving the outputs of the data compressor 6 and the discriminator 4, at least
It has a demodulator 30 that performs demodulation equivalent to that on the receiving side during NI-PCM transmission, and the output of this demodulator 30 is given to an adder 31. The adder 30 takes the difference between the original linear data input from the input terminal 1 and the output of the demodulator 30, and supplies the difference to the latch 32. Data delayed by one sample by the latch 32 is input to the accumulator 33. In this accumulator 33, when transmitting NI-PCM,
NI−PCM
When switching from NI-DPCM to NI-DPCM, the accumulated value is replaced with the value given from latch 32, that is, the difference between the demodulated data one sample before and the original linear data, and when transmitting NI-DPCM, the normal truncation error is also used. Perform cumulative addition and from NI-DPCM
When switched to NI-PCM, the cumulative value is cleared to zero.
このようにしても、実質的には上記第1の実施
例の場合と同様の結果が得られる。 Even in this case, substantially the same results as in the first embodiment can be obtained.
なお、本発明は上述し且つ図面に示す実施例に
のみ限定されることなく、その要旨を変更しない
範囲内で種々変形して実施することができる。 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.
例えば、NI−PCMからNI−DPCMへの切換時
に、そのときの累積値と、1サンプル前の累積値
との差を求めて、これを切換後の累積値の初期値
としても、実質的に上記第1の実施例と同様とな
る。 For example, when switching from NI-PCM to NI-DPCM, find the difference between the cumulative value at that time and the cumulative value one sample before, and use this as the initial value of the cumulative value after switching. This is similar to the first embodiment described above.
本発明によれば、リニアデータと差分データと
を、原データに適応して交互に選択してデータ圧
縮し伝送し、且つ上記切換ビツト累積加算による
累積誤差防止方式を採用したPCM伝送方式にお
いて、リニアデータと差分データとの選択切換時
における累積加算値の不連続の問題を解消し、直
流ずれの発生を防止し得るPCM伝送方式を提供
することができる。
According to the present invention, in a PCM transmission system that compresses and transmits linear data and differential data by alternately selecting them in accordance with the original data, and employing the cumulative error prevention method by cumulatively adding the switching bits, It is possible to provide a PCM transmission system that can solve the problem of discontinuity of cumulative addition values when switching between linear data and differential data, and can prevent DC deviation from occurring.
第1図は本発明の第1実施例の概略構成を示す
ブロツク図、第2図は同実施例の要部の構成を詳
細に示す模式的ブロツク図、第3図は本発明の第
2の実施例の概略構成を示すブロツク図、第4図
および第5図はそれぞれ本発明が解決しようとす
る問題点を説明するためのブロツク図および説明
図である。
2,21,31……加算器、3,22,24,
32……ラツチ、4……判別器、5……乗算器、
6……データ圧縮器、20,33……アキユムレ
ータ、23……セレクタ、25……制御部、30
……復調器。
FIG. 1 is a block diagram showing a schematic configuration of a first embodiment of the present invention, FIG. 2 is a schematic block diagram showing a detailed configuration of main parts of the same embodiment, and FIG. FIGS. 4 and 5 are a block diagram showing a schematic configuration of an embodiment, and FIGS. 4 and 5 are a block diagram and an explanatory diagram, respectively, for explaining the problems to be solved by the present invention. 2, 21, 31... Adder, 3, 22, 24,
32... Latch, 4... Discriminator, 5... Multiplier,
6... Data compressor, 20, 33... Accumulator, 23... Selector, 25... Control unit, 30
...Demodulator.
Claims (1)
得られる信号に基づいて上記アナログ原信号に対
応するリニアデータと該リニアデータの逐次差分
値に対応する差分データとを切換選択し且つ所定
の圧縮ビツト長にデータ圧縮してデイジタル伝送
データを得るとともに、該伝送データおよび実質
的に上記切換選択に対応する選択情報を送信し、
これら伝送データおよび選択情報を受信して、受
信伝送データをデータ伸長し、受信選択情報に基
づき、送信側でリニアデータが選択されている場
合は伸長されたデータをそのまま、送信側で差分
データが選択されている場合には該伸長されたデ
ータを積分して、アナログ再生信号への変換に供
するPCM伝送方式において、送信側にて、上記
データ圧縮による切捨誤差分を累積して以後の伝
送データ生成に反映させるとともに、選択されデ
ータ圧縮に供されるデータがリニアデータから差
分データに切換えられたときには、直前の切捨誤
差分を累積誤差の初期値として以後の誤差累積を
行なうことを特徴とするPCM伝送方式。 2 特許請求の範囲第1項記載のPCM伝送方式
において、選択されデータ圧縮に供されるデータ
が差分データからリニアデータに切換えられたと
きには、従前の切捨誤差分の累積値をゼロクリア
して以後の誤差累積を行なうことを特徴とする
PCM伝送方式。 3 特許請求の範囲第1項記載のPCM伝送方式
において、少なくともリニアデータ伝送期間に、
送信側にて受信側と同等の復調を行ない、この復
調により得られた直前の復調データと原データと
の差を求めて、選択されデータ圧縮に供されるデ
ータがリニアデータから差分データに切換えられ
たときの直前の切捨誤差分を得ることを特徴とす
るPCM伝送方式。 4 特許請求の範囲第1項記載のPCM伝送方式
において、少なくともリニアデータ伝送期間に直
前のサンプルのデータ圧縮時の累積値を保持し、
リニアデータの最後のサンプルのデータ圧縮時の
累積値とその直前のサンプルのデータ圧縮時の累
積値との差を求めて、選択されデータ圧縮に供さ
れるデータがリニアデータから差分データに切換
えられたときの直前の切捨誤差分を得ることを特
徴とするPCM伝送方式。 5 特許請求の範囲第1項記載のPCM伝送方式
において、リニアデータの最後のサンプルのデー
タ圧縮時の切捨誤差分を保持し、選択されデータ
圧縮に供されるデータがリニアデータから差分デ
ータに切換えられたときの直前の切捨誤差分とす
ることを特徴とするPCM伝送方式。[Claims] 1. Switching and selecting linear data corresponding to the analog original signal and difference data corresponding to successive difference values of the linear data based on the analog original signal or a signal obtained from the analog original signal, and Compressing data to a predetermined compression bit length to obtain digital transmission data, and transmitting the transmission data and selection information substantially corresponding to the switching selection,
Upon receiving these transmission data and selection information, the received transmission data is data decompressed, and based on the reception selection information, if linear data is selected on the transmitting side, the decompressed data is used as is, and the differential data is processed on the transmitting side. If selected, the expanded data is integrated and converted into an analog playback signal.In the PCM transmission method, the transmitting side accumulates the truncation error due to the data compression and performs subsequent transmission. In addition to being reflected in data generation, when the data selected for data compression is switched from linear data to differential data, the previous truncation error is used as the initial value of the cumulative error for subsequent error accumulation. PCM transmission method. 2. In the PCM transmission method described in claim 1, when the selected data to be subjected to data compression is switched from differential data to linear data, the cumulative value of the previous truncation error is cleared to zero, and then It is characterized by performing error accumulation of
PCM transmission method. 3. In the PCM transmission method according to claim 1, at least during the linear data transmission period,
The transmitting side performs the same demodulation as the receiving side, finds the difference between the previous demodulated data obtained by this demodulation and the original data, and switches the data selected for data compression from linear data to differential data. A PCM transmission method that is characterized by obtaining the truncation error immediately before the input. 4. In the PCM transmission method according to claim 1, the cumulative value of the data compression of the immediately preceding sample is held at least during the linear data transmission period;
The data selected for data compression is switched from linear data to differential data by determining the difference between the cumulative value of the last sample of linear data during data compression and the cumulative value of the immediately preceding sample during data compression. A PCM transmission method characterized by obtaining the last rounding error when 5. In the PCM transmission method described in claim 1, the truncation error at the time of data compression of the last sample of linear data is retained, and the data selected for data compression is changed from linear data to differential data. A PCM transmission method characterized by using the truncation error immediately before switching.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10449486A JPS62261237A (en) | 1986-05-07 | 1986-05-07 | Pcm transmission system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10449486A JPS62261237A (en) | 1986-05-07 | 1986-05-07 | Pcm transmission system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62261237A JPS62261237A (en) | 1987-11-13 |
| JPH0443451B2 true JPH0443451B2 (en) | 1992-07-16 |
Family
ID=14382083
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10449486A Granted JPS62261237A (en) | 1986-05-07 | 1986-05-07 | Pcm transmission system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62261237A (en) |
-
1986
- 1986-05-07 JP JP10449486A patent/JPS62261237A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62261237A (en) | 1987-11-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5177480A (en) | Data communication having transmitter-controlled mode switching from compressed-to-transparent mode but local synchronous transmitter-controlled and receiver-controlled mode switching from transparent-to-compressed mode | |
| AU5455986A (en) | Error detection and concealment using predicted signal values | |
| JPS61147689A (en) | Highly efficient tv signal encoding device | |
| JPS61144989A (en) | High efficient coding device of television signal | |
| JPH0443451B2 (en) | ||
| US5621851A (en) | Method of expanding differential PCM data of speech signals | |
| JP2809524B2 (en) | Digital transmission system synchronization | |
| JPH0526396B2 (en) | ||
| JP2797411B2 (en) | Encoding device | |
| US5448683A (en) | Speech encoder | |
| JP3129016B2 (en) | Code conversion automatic switching control device | |
| JP3216319B2 (en) | Digital audio transmitting device, receiving device, and transmitting / receiving device | |
| JP2521052B2 (en) | Speech coding system | |
| JPS62236231A (en) | Pcm transmitting system | |
| JPS62114342A (en) | Digital signal transmission system high efficiently, high quality | |
| JP2707733B2 (en) | Image decoding device | |
| JPS6328146A (en) | Data resending transmission system | |
| JPS5979651A (en) | Method and apparatus for transmitting signal | |
| JPH1020893A (en) | Encoder and decoder | |
| JPS62166681A (en) | Predictive coding device | |
| JPS6017184B2 (en) | Predictive coding band compression device | |
| JPS61144990A (en) | High efficient coding device of television signal | |
| JPS62190930A (en) | Digital audio output device | |
| JP3168444B2 (en) | Quantizer for predictive coding | |
| US5742345A (en) | System for transmitting and receiving video signals using interpolation of adaptive factor |