JPH05110448A - Digital data compression, expansion method and its reproduction device - Google Patents

Digital data compression, expansion method and its reproduction device

Info

Publication number
JPH05110448A
JPH05110448A JP26738391A JP26738391A JPH05110448A JP H05110448 A JPH05110448 A JP H05110448A JP 26738391 A JP26738391 A JP 26738391A JP 26738391 A JP26738391 A JP 26738391A JP H05110448 A JPH05110448 A JP H05110448A
Authority
JP
Japan
Prior art keywords
bit
data
digital data
bits
code
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
JP26738391A
Other languages
Japanese (ja)
Inventor
Masataka Saito
昌孝 斎藤
Hiroshi Yasuda
博 安田
Koichi Higuchi
厚一 樋口
Saburo Miyamoto
三朗 宮本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP26738391A priority Critical patent/JPH05110448A/en
Publication of JPH05110448A publication Critical patent/JPH05110448A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To reduce the storage capacity of a RAM when digital data are stored in the RAM. CONSTITUTION:Suppose that a difference DELTAVn of both samples consecutive in time series is (0000,0000,0000,0110) expressed in a binary number and 16-bit digital code 22, then it is expressed as (0006) in a hexadecimal number. Then a high-order 12-bit in a 16-bit digital code 22 in a binary number of the difference DELTAVn of both the samples is all 0, the high-order 12-bits are omitted. Then the DELTAVn is expressed in total 6-bits by compression data 24 ((6 in hexadecimal number) expressed in low-order 4-bits, sign code data 23 (0 indicates a positive number) and a 1-bit end code 25 set to 1 which indicates the high-order bits over the low-order 4-bits are all 0. Thus, the difference DELTAVn of both the samples is expressed in 6-bits which compresses the bit number from the 17-bit expression and the storage capacity of the memory is reduced by storing the compression data into the memory.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディジタルオーディオ
機器等に用いて有効なディジタルデータ圧縮および伸長
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital data compression and decompression method effective for use in digital audio equipment and the like.

【0002】[0002]

【従来の技術】近年、CDプレーヤをはじめとするディ
ジタルオーディオ機器等のディジタル技術の普及にはめ
ざましいものがあり、これらの機器では再生をより確実
にするためディジタルデータを一時的にメモリーに蓄え
てデータ出力することが考えられる。
2. Description of the Related Art In recent years, digital technologies such as CD players and other digital audio devices have been remarkably widespread, and in these devices, digital data is temporarily stored in a memory for more reliable reproduction. It is possible to output data.

【0003】以下、図面を参照しながら上述した従来の
CDプレーヤを例にディジタルデータをメモリーに一時
的に蓄えて出力するディジタルオーディオ機器について
説明する。
A digital audio device for temporarily storing digital data in a memory and outputting the digital data will be described below with reference to the drawings, taking the conventional CD player as an example.

【0004】図19は従来のCDプレーヤの構成を示す
ブロック図である。図19において、1はCDプレーヤ
からなるディジタルデータ再生装置であり、CDの情報
記録トラックから光ピックアップにより光学的に情報を
読み取る信号読取装置、前記信号読取装置からのディジ
タル信号をEFM伸長、デインターリーブ、誤り訂正等
の信号処理をするディジタル信号処理回路を備えてい
る。2はディジタルデータ再生装置1によって再生され
た16ビットディジタル信号11をアナログ信号に変換
するDAコンバータ、3はローパスフィルター付増幅回
路、4は出力端子である。このような構成により、ディ
ジタルデータ再生装置1の信号読取装置でCDから光学
的に信号を読み取り、信号処理回路で前述のディジタル
信号処理を行い16ビットディジタル信号11を出力
し、DAコンバータ2で図20の半アナログ信号12に
変換し、さらにローパスフィルター付増幅器3で図20
のアナログ信号13を得て出力端子4に再生信号を出力
するものである。
FIG. 19 is a block diagram showing the structure of a conventional CD player. In FIG. 19, reference numeral 1 denotes a digital data reproducing device composed of a CD player, which is a signal reading device for optically reading information from an information recording track of a CD by an optical pickup, EFM expansion and deinterleaving of a digital signal from the signal reading device. , A digital signal processing circuit for performing signal processing such as error correction. Reference numeral 2 is a DA converter for converting the 16-bit digital signal 11 reproduced by the digital data reproducing apparatus 1 into an analog signal, 3 is an amplifier circuit with a low-pass filter, and 4 is an output terminal. With such a configuration, the signal reading device of the digital data reproducing device 1 optically reads the signal from the CD, the signal processing circuit performs the above-mentioned digital signal processing, and outputs the 16-bit digital signal 11, and the DA converter 2 20 semi-analog signal 12 is converted into a low-pass filter amplifier 3 shown in FIG.
Of the analog signal 13 and outputs the reproduction signal to the output terminal 4.

【0005】しかしなから、CDプレーヤにおいては振
動等の外乱を受けた場合、光ピックアップのトラックは
ずれ、フォーカスはずれを起こし再生音が途切れること
があり、特にポータブルCD、車載用CDプレーヤにお
いては起こりやすいものであった。
However, when a disturbance such as vibration occurs in a CD player, the track of the optical pickup may be out of focus, the focus may be out of focus, and the reproduced sound may be interrupted, which is particularly likely to occur in a portable CD or an in-vehicle CD player. It was a thing.

【0006】そこで、図21に示すような再生ディジタ
ルデータを大容量のメモリーに一時的に蓄えて再生する
ことで上記問題を解決することが考えられる。図21に
おいて、6は大容量のランダムアクセスメモリー(RA
M)、5はディジタルデータ再生装置1から出力された
16ビットディジタル信号を順次RAM6に記憶し、一
定の通常速度でRAM6から16ビットディジタル信号
を順次読みだしDAコンバータへ送るRAM制御回路で
ある。このような構成において、再生時に始めの一定時
間だけディジタルデータ再生装置1のCDの回転速度を
上げて信号の読み取り速度を上げ、ディジタル信号処理
回路の信号処理のクロックの周波数を上げて再生し、R
AM制御回路5により前記信号処理の速度に合わせてR
AM6にCDの再生データを記憶し、RAM制御回路5
によりRAM6から通常の再生速度で16ビットディジ
タルデータ11bを順次読み出してDAコンバータ2で
アナログ変換して再生することで再生音に影響なくCD
から再生された16ビットディジタル信号11aをRA
M6に一定量一時的に蓄えることができる。なお、RA
M6にデータが一定量蓄えられたらディジタルデータ再
生装置1のCDの回転速度およびディジタル信号処理回
路の処理速度を通常の速度に戻す。
Therefore, it is conceivable to solve the above problem by temporarily storing reproduced digital data as shown in FIG. 21 in a large-capacity memory and reproducing it. In FIG. 21, 6 is a large-capacity random access memory (RA
M) and 5 are RAM control circuits for sequentially storing the 16-bit digital signals output from the digital data reproducing device 1 in the RAM 6 and sequentially reading the 16-bit digital signals from the RAM 6 at a constant normal speed and sending them to the DA converter. In such a configuration, during reproduction, the CD rotation speed of the digital data reproducing device 1 is increased for the first fixed time to increase the signal reading speed, and the signal processing clock frequency of the digital signal processing circuit is increased for reproduction. R
The AM control circuit 5 adjusts R according to the speed of the signal processing.
The reproduction data of the CD is stored in the AM6, and the RAM control circuit 5
Thus, the 16-bit digital data 11b is sequentially read from the RAM 6 at a normal reproduction speed, and the DA converter 2 converts the analog data to reproduce the CD, so that the reproduced sound is not affected.
16-bit digital signal 11a reproduced from the RA
A certain amount can be temporarily stored in M6. Note that RA
When a certain amount of data is stored in M6, the rotation speed of the CD of the digital data reproducing apparatus 1 and the processing speed of the digital signal processing circuit are returned to the normal speed.

【0007】この状態でディジタルデータ再生装置1に
振動等の外乱が加えられてトラッキングまたはフォーカ
スはずれが発生した場合は、RAM6に蓄えられたデー
タを通常速度で読みだして再生し、この蓄えられたデー
タを読み出している間にトラッキングまたはフォーカス
はずれが発生したCD上のアドレスを検索して光ピック
アップをアクセスして、再度そのアドレスからCDのデ
ータを読み直してデータを繋ぎ合わせることにより再生
信号に音飛びを発生することなく確実にCDを再生する
ことが可能となる。
In this state, when a disturbance such as a vibration is applied to the digital data reproducing apparatus 1 to cause tracking or defocusing, the data stored in the RAM 6 is read out at a normal speed and reproduced, and stored. While the data is being read, the address on the CD where tracking or defocus occurred occurs is searched, the optical pickup is accessed, the data on the CD is read again from that address, and the data is connected to skip the playback signal. It is possible to reliably play back the CD without causing the error.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、前述の
ようなCDプレーヤのトラッキングまたはフォーカスは
ずれが発生した場合の対策を考えた時に必要となるRA
M6の記憶容量は、例えば、CDのサンプリング周波数
が44.1kHz、L、Rチャンネルの2チャンネル、各
チャンネルが16ビットのため1秒間のデータは44.
1kHz×2ch×16bit=1.4112Mbitと
なり、今、トラッキングまたはフォーカスはずれが発生
してから光ピックアップを元の位置に戻してデータ正し
く繋ぎ合わせるのに3秒かかるとすると1.4112M
bit×3秒=4.2336Mbit以上となる。この
ような大容量の記憶容量のRAM6を搭載させようとす
ると例えば256Kダイナミック型RAM(DRAM)
を用いたい場合は17個必要となり、物理的スペースが
大きく必要となるため、小型軽量化を要求されるポータ
ブルCDプレーヤおよび車載用CDプレーヤ等では実現
が困難であるという問題があった。
However, it is necessary to consider the RA when the tracking or defocus of the CD player as described above occurs.
The storage capacity of the M6 is, for example, a sampling frequency of a CD of 44.1 kHz, two channels of L and R channels, and each channel is 16 bits, so that data of 1 second is 44.kHz.
1kHz x 2ch x 16bit = 1.4112Mbit. Now, if it takes 3 seconds to return the optical pickup to the original position and correctly connect the data after tracking or defocus occurs, 1.4112M
bit × 3 seconds = 4.2336 Mbit or more. If an attempt is made to mount a RAM 6 having such a large storage capacity, for example, 256K dynamic RAM (DRAM)
However, it is difficult to realize the portable CD player, the in-vehicle CD player, and the like, which are required to be small in size and light in weight, because 17 pieces are required and a large physical space is required.

【0009】本発明は、上記従来の課題に鑑みて、RA
Mの記憶容量を小さくできるディジタルデータ圧縮およ
び伸長方法を提供するものである。
In view of the above conventional problems, the present invention is an RA
The present invention provides a digital data compression and expansion method capable of reducing the storage capacity of M.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するため
に本発明のディジタルデータ圧縮方法は、時系列的に連
続したディジタルデータ群の任意の時点のサンプルのm
ビットディジタルデータと任意の時点の次のサンプルの
mビットディジタルデータの差のmビットディジタルデ
ータを下位からnビット単位のディジタルデータに分割
し、前記nビット単位ディジタルデータと前記nビット
単位ディジタルデータより上位の各nビットのデータに
1があるか否かによってデータの継続、終了を表す終了
有無符号の1ビットおよび差のmビットディジタルデー
タの正負を表す正負符号の1ビットの合計であるn+2
ビットの各ディジタルデータブロックで表すとともに、
分割された上位の各nビット単位が全て“0”の時、前
記終了有無符号の1ビットにデータ終了を表すデータを
与え、分割された上位の各nビット単位が全て“0”の
データを削除したものである。
In order to solve the above-mentioned problems, the digital data compression method of the present invention uses m of samples at arbitrary time points of a digital data group which is continuous in time series.
The m-bit digital data, which is the difference between the bit digital data and the m-bit digital data of the next sample at an arbitrary time point, is divided into n-bit unit digital data from the lower order, and the n-bit unit digital data and the n-bit unit digital data are N + 2, which is the sum of 1 bit of the end presence / absence code indicating the continuation and end of the data and 1 bit of the plus / minus code indicating the plus / minus of the difference m-bit digital data, depending on whether or not there is 1 in each upper n-bit data
Represented by each digital data block of bits,
When all the divided upper n-bit units are "0", data indicating the end of data is given to 1 bit of the end presence / absence code, and the divided upper n-bit units are all "0" data. It has been deleted.

【0011】[0011]

【作用】本発明は上記した構成によって、時系列的に連
続したディジタルデータ群の任意の時点のサンプルのm
ビットディジタルデータと任意の時点の次のサンプルの
mビットディジタルデータの差のmビットディジタルデ
ータから任意の時点の次のサンプルを1つあるいは複数
のn+2ビットのディジタルデータブロックで表すこと
により、差のmビットディジタルデータの上位ビットは
0であることが多く、通常音楽信号等では下位4ビット
または下位8ビットで表せることを利用して上位ビット
を削除したデータで表現することによりデータ圧縮で
き、メモリーの記憶容量を少なくすることができるもの
である。
According to the present invention, with the above configuration, m of samples at arbitrary time points in a digital data group which is continuous in time series is obtained.
The difference between the bit digital data and the m-bit digital data of the next sample at any time is represented by one or more n + 2-bit digital data blocks representing the next sample of the difference from the m-bit digital data. The high-order bit of m-bit digital data is often 0, and it is possible to compress the data by expressing it as data with the high-order bit deleted by using the fact that it can be expressed by the low-order 4 bits or the low-order 8 bits in a normal music signal. The storage capacity of can be reduced.

【0012】[0012]

【実施例】以下、本発明のディジタルデータ圧縮方法の
実施例について、図1〜図6を参照しながら詳細に説明
する。
Embodiments of the digital data compression method of the present invention will be described in detail below with reference to FIGS.

【0013】図1〜図6は、本発明のディジタルデータ
圧縮法の原理を示す図であり、図1の正弦波信号におい
て、連続する任意の時点nのサンプルの電圧データV
n、任意の時点nより1サンプル後の時点n+1のサン
プルの電圧データVn+1として、両サンプルの差=V
n−(Vn+1)をΔVnとして表すと、元の各サンプ
ルをそのまま順次表現するものに比べて絶対値の小さい
値で各サンプルを順次表現していくことができる。な
お、Vは電圧軸、tは時間軸、Vaは最大表現電圧値、
Vbは最小表現電圧値、Voは交流中点電位を表すもの
である。
FIGS. 1 to 6 are views showing the principle of the digital data compression method of the present invention. In the sine wave signal of FIG. 1, sample voltage data V at arbitrary arbitrary time points n.
n, the difference between both samples = V as voltage data Vn + 1 of the sample at time n + 1, which is one sample after the arbitrary time n
When n− (Vn + 1) is represented as ΔVn, it is possible to sequentially express each sample with a value having a smaller absolute value than that in which each original sample is sequentially expressed as it is. V is the voltage axis, t is the time axis, Va is the maximum expression voltage value,
Vb represents the minimum expression voltage value, and Vo represents the AC midpoint potential.

【0014】図2に示すように任意の時点nのサンプル
の電圧データVnが2進数で16ビットのディジタル符
号20のように(0001,1100,0101,10
10)であるとすると16進数で表すと(1C5A)、
任意の時点nより1サンプル後の時点n+1のサンプル
の電圧データVn+1が2進数で16ビットのディジタ
ル符号21のように(0001,1100,0101,
0100)であるとすると16進数で表すと(1C5
4)となり、両サンプルの差ΔVnは2進数で16ビッ
トのディジタル符号22のように(0000,000
0,0000,0110)となり、さらにこれを16進
数で表すと(0006)となる。また、23はΔVnの
符号データを表す1ビットであり、0は+、1は−をそ
れぞれ表すものである。ここで、両サンプルの差ΔVn
の2進数で16ビットのディジタル符号22の上位12
ビットはすべて0であり、このような場合、図3に示す
ようにこの上位12ビットを省略し、下位の4ビットで
表したΔVnの圧縮データ24(16進数の6)にΔV
nの符号データ23(0はプラスを示す。)と下位4ビ
ットよりも上位ビットがすべて0であることを表す1ビ
ットの終了符号25に1を立てて加え、合計6ビットで
表す。これにより両サンプルの差ΔVnを17ビットの
表現からΔVnの圧縮データの6ビットにビット数を圧
縮して表現することができ、この圧縮データをメモリー
に蓄えることによりメモリーの記憶容量を少なくでき
る。
As shown in FIG. 2, the voltage data Vn of a sample at an arbitrary time point n is represented by a binary code of 16 bits (0001, 1100, 0101, 10).
10) and in hexadecimal notation (1C5A),
The voltage data Vn + 1 of the sample at the time point n + 1, which is one sample after the arbitrary time point n, is represented by a binary 16-bit digital code 21 (0001, 1100, 0101,
0100) is expressed in hexadecimal (1C5
4), the difference ΔVn between the two samples is (000000) like a 16-bit digital code 22 in binary.
0000,0110), and when expressed in hexadecimal, it becomes (0006). Further, 23 is 1 bit representing code data of ΔVn, 0 represents +, and 1 represents −. Here, the difference ΔVn between both samples
Upper 12 of 16-bit digital code 22 in binary
The bits are all 0. In such a case, the upper 12 bits are omitted as shown in FIG. 3, and the compressed data 24 (hexadecimal number 6) of ΔVn represented by the lower 4 bits is ΔV.
The code data 23 of n (0 indicates a plus) and the 1-bit end code 25 indicating that all the upper bits are 0 than the lower 4 bits are set by adding 1 and represented by 6 bits in total. As a result, the difference ΔVn between the two samples can be expressed by compressing the number of bits from the expression of 17 bits to 6 bits of the compressed data of ΔVn, and by storing this compressed data in the memory, the storage capacity of the memory can be reduced.

【0015】図4は実際の信号を示し、各時点、各サン
プルの電圧値を図1と同様に表す。図4において、両サ
ンプルの差ΔVnが図5に示すように2進数で16ビッ
トのディジタル符号22のように(0000,000
0,0011,1110)で、16進数で表すと(00
3E)だとすると、前述と同様にデータ圧縮すると上位
8ビットはすべて0であり、この上位8ビットを省略
し、最下位の4ビットの16進数の(E)にΔVnの符
号データ23(1はマイナスを示す。)と終了符号25
(この場合、上位ビットに0以外のデータがあるのでデ
ータが継続をすることを示すために終了符号25に0を
表示する。)を加えた6ビットの圧縮データと次の4ビ
ットの16進数の(3)にΔVnの符号データ23と終
了符号25のデータ1を加えた6ビットの圧縮データで
表す。これにより両サンプルの差ΔVnを17ビットの
表現からΔVnの圧縮データの12ビットにビット数を
圧縮して表現することができ、この圧縮データをメモリ
ーに蓄えることによりメモリーの記憶容量を少なくでき
る。
FIG. 4 shows an actual signal, and the voltage value of each sample at each time point is represented in the same manner as in FIG. In FIG. 4, the difference ΔVn between the two samples is as shown in FIG.
0,0011,1110) and expressed in hexadecimal notation (00
3E), when the data is compressed in the same manner as described above, the upper 8 bits are all 0, and the upper 8 bits are omitted, and the code data 23 (1 is a minus value) of ΔVn is added to the hexadecimal number (E) of the lowest 4 bits. And end code 25.
(In this case, since there is data other than 0 in the upper bits, 0 is displayed in the end code 25 to indicate that the data continues.) 6-bit compressed data and the next 4-bit hexadecimal number It is represented by 6-bit compressed data obtained by adding the code data 23 of ΔVn and the data 1 of the end code 25 to (3). As a result, the difference ΔVn between the two samples can be expressed by compressing the number of bits from the 17-bit expression to 12 bits of the ΔVn compressed data, and the storage capacity of the memory can be reduced by storing this compressed data in the memory.

【0016】また、図4に示すように仮に最大振幅で連
続する任意の時点mのサンプルの電圧データVm、任意
の時点mより1サンプル後の時点m+1のサンプルの電
圧データVm+1として、両サンプルの差=Vm−(V
m+1)をΔVmとして表すと、両サンプルの差ΔVm
は図6に示すように2進数で16ビットのディジタル符
号26のように(1111,1111,1111,11
11)で、16進数で表すと(FFFF)と表現され
る。これを前述のようにデータ圧縮すると元のデータで
ある両サンプルの差ΔVmは17ビットで表現されたの
に対して圧縮データは24ビットになってしまいビット
数は逆に増えてしまうが、実際にはこのような最大振幅
で変化することはサンプリング周波数が44.1kHzと
すると22.05kHzの単周波数で0dBの信号という
ことになり通常音楽信号等では他の信号成分も重畳され
ているため有りえず、したがって全体的には前述した両
サンプルの差が4ビットあるいは8ビットで表せるもの
がほとんどであり全体としてビット数を大きく減らすこ
とができ、データを蓄えるメモリーの記憶容量を少なく
することができる。
As shown in FIG. 4, it is assumed that the voltage data Vm of a sample at an arbitrary time point m which is continuous at the maximum amplitude and the voltage data Vm + 1 of a sample at a time point m + 1 one sample after the arbitrary time point m are both samples. Difference = Vm- (V
If m + 1) is expressed as ΔVm, the difference between both samples ΔVm
As shown in FIG. 6, a binary 16-bit digital code 26 (1111, 1111, 1111, 11
In 11), it is expressed as (FFFF) in hexadecimal. When this is data-compressed as described above, the difference ΔVm between the two samples, which is the original data, is represented by 17 bits, whereas the compressed data becomes 24 bits, and the number of bits increases conversely. In the case of a sampling frequency of 44.1 kHz, there is a signal of 0 dB at a single frequency of 22.05 kHz, which means that there are other signal components superposed on a normal music signal. Therefore, the difference between both samples described above can be expressed in 4 bits or 8 bits as a whole, and the number of bits can be greatly reduced as a whole, and the storage capacity of the memory for storing data can be reduced. it can.

【0017】図7は、データ圧縮回路の構成を示すブロ
ック図である。なお、制御ラインおよびクロックは省略
する。図7において、40は16ビット入力レジスタで
あり、ディジタルデータ再生装置1から出力された16
ビットディジタル信号11aを1クロックごとに取り込
み、同時に1クロック前に取り込まれたデータをシフト
して送り出す、41は16ビットスタックレジスタであ
り、16ビット入力レジスタ40から送り出されたデー
タを取り込み1クロックの間保持するものである。42
は16ビット演算レジスタであり、16ビット入力レジ
スタ40に取り込まれた任意の時点nより1サンプル後
の時点n+1のサンプルの電圧データVn+1のデータ
と16ビットスタックレジスタ41に取り込まれた任意
の時点nのサンプルの電圧データVnのデータとを引き
算して両サンプルの差ΔVnを求めるものである。43
は符号フラッグであり、両サンプルの差ΔVnの+,−
を判定して保持し、44は16ビットシフトレジスタで
あり、16ビット演算レジスタ42の演算結果を取り込
み順次ビットシフトするものである。45は16ビット
シフトレジスタ44のデータを下位から4ビットずつ取
り込み保持する4ビットスタックレジスタ、46は16
ビットスタックレジスタ45に保持され4ビットデータ
より上位のビットのデータがすべて0か否かを見て、デ
ータの継続を判断する継続判断回路である。47は4ビ
ットスタックレジスタ45からデータを取り込む4ビッ
トデータレジスタ、48は1ビット符号フラグ、49は
1ビット終了符号フラグである。なお、図7は1チャン
ネル分を示しており、複数チャンネルであれば同様のブ
ロックをチャンネル数分設けるか、または16ビット入
力レジスタと16ビットスタックレジスタをチャンネル
数分設け、その他の部分を共用する等が考えられる。
FIG. 7 is a block diagram showing the structure of the data compression circuit. The control line and clock are omitted. In FIG. 7, reference numeral 40 denotes a 16-bit input register, which is 16 bits output from the digital data reproducing apparatus 1.
The bit digital signal 11a is taken in every 1 clock, and at the same time, the data taken in 1 clock before is shifted and sent out. 41 is a 16-bit stack register, and the data sent out from the 16-bit input register 40 is taken in 1 clock. It holds for a while. 42
Is a 16-bit arithmetic register, and the voltage data Vn + 1 of the sample at time n + 1, which is one sample after the arbitrary time n fetched in the 16-bit input register 40, and the arbitrary time n fetched in the 16-bit stack register 41. The difference ΔVn between the two samples is obtained by subtracting from the voltage data Vn of the sample. 43
Is a code flag, and the difference ΔVn of both samples is +, −.
Is held and 44 is a 16-bit shift register, which takes in the operation result of the 16-bit operation register 42 and sequentially shifts the bits. Reference numeral 45 is a 4-bit stack register that captures and holds the data of the 16-bit shift register 44 from the lower 4 bits at a time, and 46 is a 16-bit stack register.
It is a continuation determination circuit that determines whether or not the data of the upper bits of the 4-bit data held in the bit stack register 45 are all 0 and determines continuation of the data. Reference numeral 47 is a 4-bit data register for fetching data from the 4-bit stack register 45, 48 is a 1-bit code flag, and 49 is a 1-bit end code flag. Note that FIG. 7 shows one channel, and if there are a plurality of channels, a similar block is provided for the number of channels, or a 16-bit input register and a 16-bit stack register are provided for the number of channels, and the other parts are shared. Etc. are possible.

【0018】以上のような構成において、動作を説明す
るとディジタルデータ再生装置1から出力された任意の
時点nのサンプルの電圧データVnのデータの16ビッ
トディジタル信号11aを16ビット入力レジスタ40
に取り込み、次に任意の時点nより1サンプル後の時点
n+1のサンプルの電圧データVn+1のデータを16
ビット入力レジスタ40に取り込むと同時に16ビット
入力レジスタ40に保持された任意の時点nのサンプル
の電圧データVnのデータを16ビットスタックレジス
タ41にシフトし、次に、16ビット演算レジスタ42
により16ビット入力レジスタ40に取り込まれた任意
の時点nより1サンプル後の時点n+1のサンプルの電
圧データVn+1のデータと16ビットスタックレジス
タ41に取り込まれた任意の時点nのサンプルの電圧デ
ータVnのデータとを引き算して両サンプルの差ΔVn
を求める。そして、符号フラッグ43により両サンプル
の差ΔVnの+,−を判定して保持し、前記16ビット
演算レジスタ42で求めた両サンプルの差ΔVnを16
ビットシフトレジスタ44に取り込み、4ビットスタッ
クレジスタにより16ビットシフトレジスタ44のデー
タを下位から4ビットずつ取り込み保持し、4ビットス
タックレジスタ47にデータをシフトし、継続判断回路
46で16ビットスタックレジスタ45に保持され4ビ
ットデータより上位のビットのデータがすべて0か否か
を見て、データの継続を判断して1ビット終了符号フラ
グ49にその結果を保持し、1ビット符号フラグ43か
らのデータを1ビット符号フラグ48に保持する。そし
て、4ビットスタックレジスタ47に保持されたデータ
と1ビット符号フラグ48に保持された符号および1ビ
ット終了符号フラグ49に保持された符号を合わせて6
ビットを1ワードとして圧縮データ15を出力する。
The operation of the above-described configuration will be described. The 16-bit digital signal 11a of the voltage data Vn of the sample at the arbitrary time n output from the digital data reproducing apparatus 1 is converted into the 16-bit input register 40.
Data of the voltage data Vn + 1 of the sample at the time point n + 1, which is one sample after the arbitrary time point n.
The data of the voltage data Vn of the sample at an arbitrary time point n held in the 16-bit input register 40 at the same time as being taken into the bit-input register 40 is shifted to the 16-bit stack register 41, and then the 16-bit arithmetic register 42
Of the voltage data Vn + 1 of the sample at the time point n + 1, which is one sample after the arbitrary time point n taken in by the 16-bit input register 40, and the voltage data Vn of the sample at the time point n taken in by the 16-bit stack register 41. The difference between both samples is ΔVn
Ask for. Then, the sign flag 43 determines + and − of the difference ΔVn of both samples and holds them, and the difference ΔVn of both samples obtained by the 16-bit arithmetic register 42 is 16
The data of the 16-bit shift register 44 is fetched into the bit shift register 44 by the 4-bit stack register, and the data is shifted to the 4-bit stack register 47. Is checked to see if all the data of the upper bits of the 4-bit data are 0, the continuation of the data is judged, the result is held in the 1-bit end code flag 49, and the data from the 1-bit code flag 43 Is held in the 1-bit code flag 48. Then, the data held in the 4-bit stack register 47, the code held in the 1-bit code flag 48, and the code held in the 1-bit end code flag 49 are combined to obtain 6
The compressed data 15 is output with the bit as one word.

【0019】なお、本発明では、各データを時系列的に
連続する前後のデータの差で表すために、定期的な絶対
値データが必要である。そこで、CDではL、Rチャン
ネル各6サンプルで合計12サンプルを1フレームとし
て扱い、同期信号、サブコードデータを付加しているの
で、今Lチャンネルの1チャンネルについて説明する
と、この同期信号を検出して、同期信号の後の最初のL
チャンネルの1サンプルのデータを絶対値データとして
扱う。この絶対値データが仮に図8に示すように2進数
で16ビットのディジタル符号20のように(000
1,1100,0101,1010)で、16進数で表
すと(1C5A)と表現されるとすると、図9に示すよ
うにデータ圧縮は行わずに各4ビットの絶対値データ2
9にそれぞれ符号データ0と4つとも0の各終了符号2
5を付加して絶対値データであることを表現する。な
お、通常の圧縮データでは前述した圧縮方法なので終了
符号が0であるデータが4つ続くことは発生しない。こ
れによって、伸長時には終了符号25が0であるデータ
が4つ続いたことを判定してこのデータが絶対値データ
であることを判別することができる。
In the present invention, in order to represent each data by the difference between the data before and after the time series, it is necessary to use the absolute value data on a regular basis. Therefore, in CD, a total of 12 samples of 6 samples for each of the L and R channels are treated as one frame and a sync signal and subcode data are added. Now, when describing one channel of the L channel, this sync signal is detected. The first L after the sync signal
Data of one sample of the channel is treated as absolute value data. This absolute value data is assumed to be (000) like a 16-bit binary digital code 20 as shown in FIG.
1, 1100, 0101, 1010) is expressed as a hexadecimal number (1C5A), the absolute value data 2 of each 4 bits is not compressed as shown in FIG.
9 is the end code 2 of code data 0 and 4 is 0
5 is added to express that it is absolute value data. It should be noted that in the case of normal compressed data, four pieces of data having an end code of 0 do not occur because of the above-described compression method. As a result, it is possible to judge that this data is absolute value data by judging that four pieces of data having the end code 25 of 0 continue during decompression.

【0020】図10は絶対値データを扱うブロックを付
加したデータ圧縮回路の構成を示すブロック図であり、
50は絶対値データコントローラであり、フレーム同期
検出回路(図示せず)がフレーム同期信号を検出する
と、16ビット入力レジスタ40に取り込まれた同期信
号の後の最初のLチャンネルの1サンプルのデータを1
6ビットシフトレジスタ44に送り、4ビットずつ4ビ
ットスタックレジスタ45、4ビットデータレジスタ4
7に送るとともに取り込まれたデータの符号を判別して
1ビット符号フラグ48へデータを送り、さらに絶対値
データであることを示すために1ビット終了符号フラグ
49に0のデータを連続して4回送るものである。これ
により、図9に示すような絶対値データが形成される。
FIG. 10 is a block diagram showing the structure of a data compression circuit to which a block for handling absolute value data is added.
Reference numeral 50 denotes an absolute value data controller which, when a frame sync detection circuit (not shown) detects a frame sync signal, outputs the first sample of L channel data after the sync signal fetched in the 16-bit input register 40. 1
Send to 6-bit shift register 44, 4-bit by 4-bit stack register 45, 4-bit data register 4
The data is sent to 7 and the code of the fetched data is discriminated, the data is sent to the 1-bit code flag 48, and 0 data is continuously written to the 1-bit end code flag 49 to indicate that it is absolute value data. It is to be sent. As a result, absolute value data as shown in FIG. 9 is formed.

【0021】図11は本発明の一実施例におけるディジ
タルデータ圧縮および伸長方法を用いたCDプレーヤの
構成を示すブロック図である。図11において、7はデ
ィジタルデータ再生装置1から出力された16ビットデ
ィジタル信号11aを前述のデータ圧縮方法を用いて圧
縮してRAM制御回路5によってRAM6に記憶させる
圧縮ディジタル信号15を供給するデータ圧縮回路、8
はRAM制御回路5によってRAM6から読み出された
圧縮ディジタル信号16を圧縮とは逆の手順で元の16
ビットディジタル信号11bに伸長する伸長回路であ
り、その他の構成は図21の従来例と同一であり、説明
を省略する。
FIG. 11 is a block diagram showing the structure of a CD player using the digital data compression and decompression method according to an embodiment of the present invention. In FIG. 11, reference numeral 7 is a data compression for supplying a compressed digital signal 15 for compressing the 16-bit digital signal 11a output from the digital data reproducing apparatus 1 using the above-mentioned data compression method and storing it in the RAM 6 by the RAM control circuit 5. Circuit, 8
Compresses the compressed digital signal 16 read from the RAM 6 by the RAM control circuit 5 in the reverse order of compression.
This is a decompression circuit for decompressing to the bit digital signal 11b, and other configurations are the same as those of the conventional example of FIG.

【0022】以上のように構成された発明のディジタル
データ圧縮および伸長方法を用いたCDプレーヤによれ
ば、圧縮データをRAM6に一時的に蓄えるためRAM
6の記憶容量を元のデータ量の40%程度に少なくする
ことができ、例えば、従来のように3秒間のデータを蓄
えようとすると256KDRAMで実現しようとすると
6個で実現することができ、小型化が可能となる。従っ
て、小型化のポータブルにおいても音飛びをなくし、確
実な再生を実現することができる。
According to the CD player using the digital data compression and decompression method of the invention configured as described above, the RAM 6 is used to temporarily store the compressed data in the RAM 6.
The storage capacity of 6 can be reduced to about 40% of the original amount of data, and for example, if it is attempted to store data for 3 seconds as in the conventional case, it can be realized with 6 pieces if it is realized with 256K DRAM, Miniaturization is possible. Therefore, even in a small-sized portable device, skipping of sound can be eliminated and reliable reproduction can be realized.

【0023】次に、第2の実施例のデータ圧縮方法につ
いて説明する。第2の実施例は第1の実施例の6ビット
単位でデータブロックを扱っていたものよりさらにデー
タ圧縮率を上げるもので、両サンプルの差ΔVnが3ビ
ットで表せるような場合、下位4ビットのデータブロッ
クの部分の最上位ビットの0を省略するものであり、例
えば、図12に示すように両サンプルの差ΔVnが2進
数で16ビットのディジタル符号22のように(000
0,0000,0000,0110)であり、さらにこ
れを16進数で表すと(0006)とすると、図3で説
明したのと同様に両サンプルの差ΔVnの2進数で16
ビットのディジタル符号22の上位12ビットはすべて
0であり、このような場合、図6に示すようにこの上位
12ビットを省略し、さらに、下位の4ビットで表した
ΔVnの圧縮データ24(16進数の6)の上位1ビッ
トが0なので省略し、3ビットのΔVnの圧縮データ2
4(16進数の6)にΔVnの符号データ23(0はプ
ラスを示す。)と下位4ビットよりも上位ビットがすべ
て0であることを表す1ビットの終了符号25に1を立
てて加え、合計5ビット単位で表す。これにより両サン
プルの差ΔVnを17ビットの表現からΔVnの圧縮デ
ータの5ビットにビット数を圧縮して表現することがで
き、この圧縮データをメモリーに蓄えることによりメモ
リーの記憶容量をさらに少なくできる。
Next, the data compression method of the second embodiment will be described. The second embodiment further increases the data compression rate compared to the case where the data blocks are handled in units of 6 bits in the first embodiment. When the difference ΔVn between both samples can be represented by 3 bits, the lower 4 bits are used. 0 of the most significant bit of the data block part of the above is omitted. For example, as shown in FIG. 12, the difference ΔVn between the two samples is (000
If it is expressed in hexadecimal notation (0006), the difference ΔVn between the two samples is 16 in binary notation, as described with reference to FIG.
The upper 12 bits of the digital code 22 of bits are all 0. In such a case, the upper 12 bits are omitted as shown in FIG. 6, and the compressed data 24 (16) of ΔVn represented by the lower 4 bits is further omitted. Since the upper 1 bit of the decimal number 6) is 0, it is omitted, and the compressed data 2 of 3 bits of ΔVn is used.
To 4 (hexadecimal 6), 1 is added to the code data 23 of ΔVn (0 indicates plus) and the 1-bit end code 25 indicating that all upper bits than the lower 4 bits are 0, It is expressed in units of 5 bits in total. As a result, the difference ΔVn between the two samples can be expressed by compressing the number of bits from the 17-bit representation to 5 bits of the ΔVn compressed data, and by storing this compressed data in the memory, the storage capacity of the memory can be further reduced. ..

【0024】また、図12の実施例の5ビット単位でデ
ータブロックを扱った場合で両サンプルの差ΔVnが3
ビットよりも大きい時は図13に示すようにデータ圧縮
してやればよいことになる。すなわち、図13に示すよ
うに終了符号25が0で継続するデータが存在すること
を示している場合は、そのデータの符号データ23を省
略して圧縮データ24の4ビットと終了符号25の1ビ
ットの合計の5ビット単位で表し、最終の終了符号25
が1でデータが継続しないところのデータに符号データ
23を付加させてやれば継続するデータの符号データ2
3の分のビットを削減でき、全体として5ビット単位の
データブロックでデータを扱うことができる。従って、
図13の場合、両サンプルの差ΔVnを17ビットの表
現からΔVnの圧縮データの5ビット単位の2ブロック
で10ビットにビット数を圧縮して表現することがで
き、この圧縮データをメモリーに蓄えることによりメモ
リーの記憶容量を第1の実施例よりさらに少なくでき
る。なお、絶対値データは第1の実施例で説明したのと
同様に5ビット単位のデータブロックを5つで表しか
つ、終了符号を全て継続を意味する符号にしてやること
により通常のデータより区別することができる。
Further, when the data block is handled in the unit of 5 bits in the embodiment of FIG. 12, the difference ΔVn between the two samples is 3
If it is larger than the bit, it is sufficient to compress the data as shown in FIG. That is, as shown in FIG. 13, when the end code 25 is 0, which indicates that there is continuous data, the code data 23 of the data is omitted, and 4 bits of the compressed data 24 and 1 of the end code 25. The final end code 25
If the code data 23 is added to the data where 1 is 1 and the data does not continue, the code data 2 of the data that continues
The number of bits can be reduced by 3, and the data can be handled as a 5-bit unit data block as a whole. Therefore,
In the case of FIG. 13, the difference ΔVn between the two samples can be expressed by compressing the number of bits into 10 bits in 2 blocks of 5 bits of compressed data of ΔVn from the expression of 17 bits, and the compressed data is stored in the memory. As a result, the storage capacity of the memory can be made smaller than in the first embodiment. As in the case of the first embodiment, the absolute value data is distinguished from normal data by expressing the data block of 5 bit unit by 5 and making all the end codes the codes meaning continuation. be able to.

【0025】次に、本発明のディジタルデータ伸長方法
の実施例について、図14〜図18を参照しながら詳細
に説明する。
Next, an embodiment of the digital data expansion method of the present invention will be described in detail with reference to FIGS.

【0026】図14はデータ伸長回路の構成を示すブロ
ック図であり、基本的にデータ圧縮の逆の手順を実施す
る。なお、制御ラインおよびクロックは省略する。50
はRAM6から読み出した6ビット圧縮ディジタル信号
16を取り込む6ビット入力レジスタ、51は4ビット
データレジスタ、52は1ビット符号フラグ、53は1
ビット終了符号フラグであり、6ビット入力レジスタ5
0からデータをそれぞれ取り込む。54は16ビットシ
フトレジスタであり、4ビットデータレジスタ51から
4ビットデータを順次取り込み、56は1ビット終了符
号フラグ53のデータを読み継続する上位ビットのデー
タが有るのか否かを判断し、なければ16ビットシフト
レジスタ54のデータの上位ビットに0を加えて16ビ
ットのデータになるように“0”発生回路55に0を発
生させる指令を送り、また、1ビット終了符号フラグ5
3のデータを読み、0が4回連続して発生したときデー
タが絶対値データであると判断するものである。57は
16ビットスタックレジスタであり、一つ前の16ビッ
トデータを保持し、58は16ビットシフトレジスタ5
4の16ビットデータと16ビットスタックレジスタ5
7に保持された一つ前の16ビットデータを加減算する
16ビット演算レジスタ、59は16ビット演算レジス
タ58の演算結果を保持する16ビット出力レジスタで
ある。
FIG. 14 is a block diagram showing the structure of the data decompression circuit. Basically, the reverse procedure of data compression is carried out. The control line and clock are omitted. Fifty
Is a 6-bit input register for fetching the 6-bit compressed digital signal 16 read from the RAM 6, 51 is a 4-bit data register, 52 is a 1-bit code flag, and 53 is 1
Bit end code flag, 6-bit input register 5
The data is fetched from 0 respectively. Reference numeral 54 is a 16-bit shift register, which sequentially takes in 4-bit data from the 4-bit data register 51, and 56 reads the data of the 1-bit end code flag 53 to determine whether or not there is higher-order bit data to be continued, For example, by adding 0 to the upper bit of the data of the 16-bit shift register 54, a command to generate 0 is sent to the "0" generation circuit 55 so that the data becomes 16-bit data, and the 1-bit end code flag 5
The data of 3 is read, and when 0 occurs 4 times in succession, the data is determined to be absolute value data. 57 is a 16-bit stack register, which holds the previous 16-bit data, and 58 is a 16-bit shift register 5.
4 16-bit data and 16-bit stack register 5
A 16-bit operation register for adding / subtracting the previous 16-bit data held in 7 and a 16-bit output register for holding the operation result of the 16-bit operation register 58.

【0027】以上のような構成において、図14〜図1
8を用いて動作を説明する。まず、図15に示すような
絶対値データ39がRAM6から6ビット入力レジスタ
50に順次6ビットずつ入力されてきたとすると、4ビ
ットデータレジスタ51に(0101)が取り込まれ、
さらに16ビットシフトレジスタ54にデータが送られ
ると同時に終了符号35が1ビット終了符号フラグ53
に取り込まれ終了判断回路56でデータが継続している
ことを判断し、次の4ビットのデータ(1110)が4
ビットデータレジスタ51を介して16ビットシフトレ
ジスタ54に取り込まれる。同様にして終了判断回路5
6がデータの終了か否かを判断して順次データを取り込
むが、16ビットシフトレジスタ54に(0011,0
110,1110,0101)と蓄えられたとき、終了
判断回路56が終了符号0が4回続いたことを検出して
絶対値データであると判断し、16ビット演算レジスタ
58で演算することなく16ビットシフトレジスタ54
に蓄えられた前記データを16ビット出力レジスタ59
に送って伸長データとして出力するとともに16ビット
スタックレジスタ57に前記データを蓄える。前記伸長
データをDAコンバータ2およびローパスフィルター付
増幅器3を介して再生すると図18の任意の時点nの電
圧データVnになる。
14 to 1 in the above-mentioned structure.
The operation will be described with reference to FIG. First, assuming that absolute value data 39 as shown in FIG. 15 is sequentially input from the RAM 6 to the 6-bit input register 50 by 6 bits, (0101) is loaded into the 4-bit data register 51,
Further, at the same time as the data is sent to the 16-bit shift register 54, the end code 35 is changed to the 1-bit end code flag 53.
The end determination circuit 56 determines that the data continues and the next 4-bit data (1110) becomes 4
It is taken into the 16-bit shift register 54 via the bit data register 51. Similarly, the end determination circuit 5
6 determines whether or not the data has ended, and sequentially fetches the data, but the 16-bit shift register 54 (0011,0
110, 1110, 0101), the end determination circuit 56 detects that the end code 0 continues four times and determines that the data is absolute value data. Bit shift register 54
The 16-bit output register 59 stores the data stored in
To the 16-bit stack register 57 and store the data in the 16-bit stack register 57. When the expanded data is reproduced through the DA converter 2 and the amplifier 3 with a low pass filter, the voltage data Vn at an arbitrary time point n in FIG. 18 is obtained.

【0028】次のデータとして、図16のようなデータ
がRAM6から6ビット入力レジスタ50に順次6ビッ
トずつ入力されてきたとすると、4ビットデータレジス
タ51に(1110)が取り込まれ、さらに16ビット
シフトレジスタ54にデータが送られると同時に終了符
号35が1ビット終了符号フラグ53に取り込まれ終了
判断回路56でデータが継続していることを判断し、次
の4ビットのデータ(0011)が4ビットデータレジ
スタ51を介して16ビットシフトレジスタ54に取り
込まれ、16ビットシフトレジスタ54のデータは(0
011,1110)となる。そして、終了符号35が1
ビット終了符号フラグ53に取り込まれ終了判断回路5
6でデータが継続していないことを判断して“0”発生
回路55に指令を出し、16ビットシフトレジスタ54
のデータ(0011,1110)の上位ビットに0を書
き加えて16ビットのデータΔVn(0000,000
0,0011,1110)にする、次に1ビット符号レ
ジスタ52のデータを読み、加算するデータか減算する
データかを判断し、16ビットシフトレジスタ54に蓄
えられた16ビットのデータΔVn(0000,000
0,0011,1110)と一つ前のデータである16
ビットスタックレジスタ57に蓄えられたデータVn
(0011,0110,1110,0101)を16ビ
ット演算レジスタ58で演算して図17に示すように1
6ビットのデータΔVn+1(0011,0111,0
010,0011)を求め、16ビット出力レジスタ5
9に送って伸長データとして出力するとともに16ビッ
トスタックレジスタ57にそのデータ(0011,01
11,0010,0011)を蓄える。前記伸長データ
をDAコンバータ2およびローパスフィルター付増幅器
3を介して再生すると図18の任意の時点の一つ後n+
1の電圧データVn+1になる。同様にして順次圧縮デ
ータを取り込み演算して伸長が行われる。
As the next data, assuming that the data shown in FIG. 16 is sequentially input from the RAM 6 to the 6-bit input register 50 by 6 bits, (1110) is fetched into the 4-bit data register 51 and further shifted by 16 bits. At the same time as the data is sent to the register 54, the end code 35 is taken into the 1-bit end code flag 53 and the end judgment circuit 56 judges that the data is continuing, and the next 4-bit data (0011) is 4 bits. The data is taken into the 16-bit shift register 54 via the data register 51, and the data of the 16-bit shift register 54 is (0
011 and 1110). Then, the end code 35 is 1
The bit end code flag 53 is incorporated into the end judgment circuit 5
When it is judged in 6 that the data is not continued, a command is issued to the "0" generation circuit 55, and the 16-bit shift register 54
0 (0) is added to the upper bits of the data (0011,1110) of 16 to obtain 16-bit data ΔVn (000000).
0,0011,1110), then read the data in the 1-bit code register 52, determine whether to add or subtract, and store the 16-bit data ΔVn (0000,0000, 000
0,0011,1110) and the previous data is 16
Data Vn stored in bit stack register 57
(0011, 0110, 1110, 0101) is calculated by the 16-bit operation register 58 to obtain 1 as shown in FIG.
6-bit data ΔVn + 1 (0011,0111,0
010, 0011) to obtain the 16-bit output register 5
To the 16-bit stack register 57 and output it as decompressed data.
11, 0010, 0011) is stored. When the decompressed data is reproduced through the DA converter 2 and the amplifier 3 with a low pass filter, n + after one of the arbitrary points in FIG.
The voltage data of 1 becomes Vn + 1. Similarly, the compressed data is sequentially fetched, calculated, and expanded.

【0029】以上のように本実施例のディジタルデータ
圧縮、伸長方法を用いることにより圧縮データをメモリ
ーに蓄えることができ、メモリーの記憶容量を少なくで
きる
As described above, by using the digital data compression / decompression method of this embodiment, compressed data can be stored in the memory and the storage capacity of the memory can be reduced.

【0030】[0030]

【発明の効果】以上のように本発明のディジタルデータ
圧縮方法は、時系列的に連続したディジタルデータ群の
任意の時点のサンプルのmビットディジタルデータと任
意の時点の次のサンプルのmビットディジタルデータの
差のmビットディジタルデータを下位からnビット単位
のディジタルデータに分割し、前記nビット単位ディジ
タルデータと前記nビット単位ディジタルデータより上
位の各nビットのデータに1があるか否かによってデー
タの継続、終了を表す終了有無符号の1ビットおよび差
のmビットディジタルデータの正負を表す正負符号の1
ビットの合計であるn+2ビットの各ディジタルデータ
ブロックで表すとともに、分割された上位の各nビット
単位が全て“0”の時、前記終了有無符号の1ビットに
データ終了を表すデータを与え、分割された上位の各n
ビット単位が全て“0”のデータを削除したものでり、
これによって、時系列的に連続したディジタルデータ群
の任意の時点のサンプルのmビットディジタルデータと
任意の時点の次のサンプルのmビットディジタルデータ
の差のmビットディジタルデータから任意の時点の次の
サンプルを1つあるいは複数のn+2ビットのディジタ
ルデータブロックで表すことにより、差のmビットディ
ジタルデータの上位ビットは0であることが多く、通常
音楽信号等では下位4ビットまたは下位8ビットで表せ
ることを利用して上位ビットを削除したデータで表現す
ることによりデータ圧縮でき、メモリーの記憶容量を少
なくすることができるものである。
As described above, according to the digital data compression method of the present invention, the m-bit digital data of the sample at an arbitrary time point and the m-bit digital data of the next sample at the arbitrary time point of the time-series continuous digital data group. Depending on whether there is 1 in the n-bit unit digital data and each n-bit data higher than the n-bit unit digital data, the m-bit digital data of the data difference is divided into lower-order n-bit unit digital data. 1 bit of the end presence / absence code indicating the continuation or end of data and 1 of the positive / negative sign indicating the positive / negative of m-bit digital data of the difference
It is represented by each digital data block of n + 2 bits which is a total of bits, and when all the divided upper n-bit units are "0", data indicating the end of data is given to 1 bit of the end presence / absence code and divided. Each of the upper n
It is a deletion of data whose bit unit is all "0".
As a result, the difference between the m-bit digital data of the sample at an arbitrary time point and the m-bit digital data of the next sample at an arbitrary time point of the digital data group continuous in time series is calculated from the m-bit digital data of the next time point at the arbitrary time point. By representing a sample with one or more digital data blocks of n + 2 bits, the upper bit of the difference m-bit digital data is often 0, and can be represented by lower 4 bits or lower 8 bits in a normal music signal or the like. It is possible to compress the data by expressing the data with the upper bits removed by using, and to reduce the storage capacity of the memory.

【0031】また、本発明のディジタルデータ圧縮およ
び伸長方法を用いたディジタルデータ再生装置によれ
ば、圧縮データをRAMに一時的に蓄えるためRAMの
記憶容量を元のデータ量の40%程度に少なくすること
ができ、例えば、従来のように3秒間のデータを蓄えよ
うとすると256KDRAMで実現しようとすると6個
で実現することができ、小型化が可能となる。従って、
小型化のポータブルCDプレーヤにおいても音飛びをな
くし、確実な再生を実現することができる。
Further, according to the digital data reproducing apparatus using the digital data compression and decompression method of the present invention, since the compressed data is temporarily stored in the RAM, the storage capacity of the RAM is reduced to about 40% of the original data amount. For example, if it is attempted to store data for 3 seconds as in the conventional case, it can be realized with 256K DRAMs, and it can be realized with 6 pieces, which enables downsizing. Therefore,
Even in a miniaturized portable CD player, sound skipping can be eliminated and reliable reproduction can be realized.

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

【図1】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 1 is a diagram showing the principle of a digital data compression method according to a first embodiment of the present invention.

【図2】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 2 is a diagram showing the principle of a digital data compression method in the first embodiment of the present invention.

【図3】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 3 is a diagram showing the principle of a digital data compression method in the first embodiment of the present invention.

【図4】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 4 is a diagram showing the principle of a digital data compression method in the first embodiment of the present invention.

【図5】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 5 is a diagram showing the principle of a digital data compression method in the first embodiment of the present invention.

【図6】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 6 is a diagram showing the principle of a digital data compression method in the first embodiment of the present invention.

【図7】本発明の第1の実施例におけるディジタルデー
タ圧縮回路の構成を示すブロック図
FIG. 7 is a block diagram showing the configuration of a digital data compression circuit according to the first embodiment of the present invention.

【図8】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理の絶対値データを示す図
FIG. 8 is a diagram showing absolute value data of the principle of the digital data compression method in the first embodiment of the present invention.

【図9】本発明の第1の実施例におけるディジタルデー
タ圧縮方法の原理の絶対値データを示す図
FIG. 9 is a diagram showing absolute value data of the principle of the digital data compression method in the first embodiment of the present invention.

【図10】本発明の第1の実施例におけるディジタルデ
ータ圧縮回路の構成を示すブロック図
FIG. 10 is a block diagram showing the configuration of a digital data compression circuit according to the first embodiment of the present invention.

【図11】本発明の第1の実施例におけるディジタルデ
ータ圧縮、伸長方法を用いたディジタルデータ再生装置
の構成を示すブロック図
FIG. 11 is a block diagram showing the configuration of a digital data reproducing apparatus using the digital data compression / decompression method according to the first embodiment of the present invention.

【図12】本発明の他の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 12 is a diagram showing the principle of a digital data compression method according to another embodiment of the present invention.

【図13】本発明の他の実施例におけるディジタルデー
タ圧縮方法の原理を示す図
FIG. 13 is a diagram showing the principle of a digital data compression method according to another embodiment of the present invention.

【図14】本発明の第1の実施例におけるディジタルデ
ータ伸長回路の構成を示すブロック図
FIG. 14 is a block diagram showing a configuration of a digital data expansion circuit according to the first embodiment of the present invention.

【図15】本発明の第1の実施例におけるディジタルデ
ータ伸長方法の原理を示す図
FIG. 15 is a diagram showing the principle of a digital data expansion method in the first embodiment of the present invention.

【図16】本発明の第1の実施例におけるディジタルデ
ータ伸長方法の原理を示す図
FIG. 16 is a diagram showing the principle of a digital data expansion method according to the first embodiment of the present invention.

【図17】本発明の第1の実施例におけるディジタルデ
ータ伸長方法の原理を示す図
FIG. 17 is a diagram showing the principle of a digital data expansion method according to the first embodiment of the present invention.

【図18】本発明の第1の実施例におけるディジタルデ
ータ伸長方法の原理を示す図
FIG. 18 is a diagram showing the principle of a digital data expansion method in the first embodiment of the present invention.

【図19】従来のCDプレーヤの構成を示すブロック図FIG. 19 is a block diagram showing a configuration of a conventional CD player.

【図20】従来のCDプレーヤの再生信号を示す図FIG. 20 is a diagram showing a reproduction signal of a conventional CD player.

【図21】従来のCDプレーヤにRAMを用いた構成を
示す図
FIG. 21 is a diagram showing a configuration using a RAM in a conventional CD player.

【符号の説明】[Explanation of symbols]

1 ディジタルデータ読み出し装置 2 D/Aコンバータ 5 RAM制御回路 6 RAM 7 データ圧縮回路 8 データ復調回路 20 任意の時点nのサンプルの電圧データVn 21 任意の時点nより1サンプル後の時点n+1のサ
ンプルの電圧データVn+1 22 両サンプルの差の電圧データΔVn 23 両サンプルの差の電圧データΔVnの正負符号 24 両サンプルの差の電圧データΔVnの圧縮データ 25 終了有無符号
1 Digital Data Reading Device 2 D / A Converter 5 RAM Control Circuit 6 RAM 7 Data Compression Circuit 8 Data Demodulation Circuit 20 Voltage Data Vn of Sample at Arbitrary Time Point n 21 of Sample at Time Point n + 1 One Sample After Arbitrary Time Point n Voltage data Vn + 1 22 Voltage data ΔVn 23 of difference between both samples Positive / negative sign of voltage data ΔVn of difference between both samples 24 Compressed data of voltage data ΔVn of difference between both samples 25 End code

───────────────────────────────────────────────────── フロントページの続き (72)発明者 宮本 三朗 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Saburo Miyamoto 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 時系列的に連続したディジタルデータ群
の任意の時点のサンプルのmビットディジタルデータと
任意の時点の次のサンプルのmビットディジタルデータ
の差のmビットディジタルデータを下位からnビット単
位のディジタルデータに分割し、前記nビット単位ディ
ジタルデータと前記nビット単位ディジタルデータより
上位の各nビットのデータに1があるか否かによってデ
ータの継続、終了を表す終了有無符号の1ビットおよび
差のmビットディジタルデータの正負を表す正負符号の
1ビットの合計であるn+2ビットの各ディジタルデー
タブロックで表すとともに、分割された上位の各nビッ
ト単位が全て“0”の時、前記終了有無符号の1ビット
にデータ終了を表すデータを与え、分割された上位の各
nビット単位が全て“0”のデータを削除したことを特
徴とするディジタルデータ圧縮方法。
1. A difference between the m-bit digital data of a sample at an arbitrary time point and the m-bit digital data of the next sample at an arbitrary time point of a time-sequentially continuous digital data group. 1 bit of an end presence / absence code indicating division or continuation of data by dividing into digital data of unit, and whether or not there is 1 in the n-bit unit digital data and each n-bit data higher than the n-bit unit digital data And the difference is expressed by each digital data block of n + 2 bits which is the sum of 1 bit of the positive / negative sign indicating the positive / negative of the m-bit digital data, and when all the divided upper n-bit units are "0", the end Data indicating the end of data is given to 1 bit of the presence / absence code, and each of the divided upper n-bit units is A digital data compression method characterized in that "0" data is deleted.
【請求項2】 前記mビットディジタルデータを16ビ
ットディジタルデータとし、前記nビット単位ディジタ
ルデータを4ビット単位ディジタルデータで構成したこ
とを特徴とする請求項1記載のディジタルデータ圧縮方
法。
2. The digital data compression method according to claim 1, wherein the m-bit digital data is 16-bit digital data and the n-bit unit digital data is 4-bit unit digital data.
【請求項3】 時系列的に連続したディジタルデータ群
の任意の時点のサンプルのmビットディジタルデータと
任意の時点の次のサンプルのmビットディジタルデータ
の差のmビットディジタルデータを下位からnビット単
位のディジタルデータに分割し、前記nビット単位ディ
ジタルデータと前記nビット単位ディジタルデータより
上位の各nビットのデータに1があるか否かによってデ
ータの継続、終了を表す終了有無符号の1ビットおよび
差のmビットディジタルデータの正負を表す正負符号の
1ビットの合計であるn+2ビットの各ディジタルデー
タブロックで表すとともに、分割された上位の各nビッ
ト単位が全て“0”の時、前記終了有無符号の1ビット
にデータ終了を表すデータを与え、分割された上位の各
nビット単位が全て“0”のデータを削除し、かつ、前
記時系列的に連続したディジタルデータ群の一定周期毎
の時点のサンプルのmビットディジタルデータを下位か
らnビット単位のディジタルデータに分割し、この分割
されたnビット単位の各ディジタルデータのそれぞれに
正負を表す正負符号の1ビットとそれぞれに前記終了有
無符号の1ビットに“0”を与えたデータで表すことに
より前記ディジタルデータ群の一定周期毎の時点のサン
プルを絶対値データとしたことを特徴とするディジタル
データ圧縮方法。
3. A difference between the m-bit digital data of a sample at an arbitrary time point and the m-bit digital data of the next sample at an arbitrary time point of a time-sequentially continuous digital data group. 1 bit of an end presence / absence code indicating division or continuation of data by dividing into digital data of unit, and whether or not there is 1 in the n-bit unit digital data and each n-bit data higher than the n-bit unit digital data And the difference is expressed by each digital data block of n + 2 bits which is the sum of 1 bit of the positive / negative sign indicating the positive / negative of the m-bit digital data, and when all the divided upper n-bit units are "0", the end Data indicating the end of data is given to 1 bit of the presence / absence code, and each of the divided upper n-bit units is The data of "0" is deleted, and the m-bit digital data of the sample of the digital data group which is continuous in time series at a predetermined time interval is divided into n-bit unit digital data from the lower order. By representing each bit of the n-bit digital data as a positive / negative sign 1 bit and each end presence / absence sign 1 bit of "0" as data, the digital data group is represented by a constant cycle. A digital data compression method characterized in that a sample at a time point is made absolute value data.
【請求項4】 前記請求項1のディジタルデータ圧縮方
法によってデータ圧縮された前記各ディジタルデータブ
ロックの下位から順次nビットのデータを取り出し、前
記終了有無符号を判別してデータが継続を意味する符号
の間はnビットのデータを順次直列接続し、前記終了有
無符号を判別してデータが終了を意味する符号が来たと
きそのnビットのデータを上位nビットととして下位の
nビットのデータに直列接続するとともに直列接続され
たデータの上位ビットに“0”を必要数だけ加えてmビ
ットになるようにして前記時系列的に連続したディジタ
ルデータ群の任意の時点のサンプルのmビットディジタ
ルデータと任意の時点の次のサンプルのmビットディジ
タルデータの差のmビットディジタルデータを復元する
ことを特徴とするディジタルデータ伸長方法。
4. A code indicating that the data is continued by taking out n-bit data sequentially from the lower order of each digital data block compressed by the digital data compression method of claim 1 and determining the end presence / absence code. During this period, n-bit data is serially connected in series, and when the code indicating the end of the data is judged by determining the end presence / absence code, the n-bit data is regarded as the upper n-bit and converted to the lower n-bit data. M-bit digital data of samples at an arbitrary time point of the digital data group which are serially connected and added with a required number of "0" s to the upper bits of the serially connected data to be m bits And m-bit digital data of the difference between the m-bit digital data of the next sample at any time and Digital data decompression method.
【請求項5】 前記請求項3のディジタルデータ圧縮方
法によってデータ圧縮された前記各ディジタルデータブ
ロックの下位から順次nビットのデータを取り出すとと
もにを前記終了有無符号を判別して前記終了有無符号が
“0”のデータがm/n回続いたときのmビットディジ
タルデータを前記ディジタルデータ群の一定周期毎の時
点のサンプルの絶対値データとして扱うことを特徴とす
るディジタルデータ伸長方法。
5. The n-bit data is sequentially taken out from the lower order of each digital data block data-compressed by the digital data compression method according to claim 3, and the end presence / absence code is determined, and the end presence / absence code is " A method for decompressing digital data, characterized in that m-bit digital data when 0 "data continues m / n times is treated as absolute value data of samples of the digital data group at predetermined time intervals.
【請求項6】 時系列的に連続したディジタルデータ群
の任意の時点のサンプルの2進数mビットディジタルデ
ータと任意の時点の次のサンプルの2進数mビットディ
ジタルデータの差の2進数mビットディジタルデータを
正負符号を除く上位の0を削除したディジタルデータが
有効桁3ビット以内のときは3ビットのディジタルデー
タに正負符号と終了を意味する終了有無符号とを加えた
2進数5ビットのディジタルデータで表し、有効桁3ビ
ットを越えたときは下位から4ビット単位のディジタル
データに分割し、下位から有効桁4ビット毎に継続を意
味する終了符号を加えた2進数5ビット単位のディジタ
ルデータと下位から4ビット単位のディジタルデータに
分割した時の最終の有効桁3ビット以内のディジタルデ
ータに正負符号と終了を意味する終了有無符号とを加え
た2進数5ビットのディジタルデータとで表したことを
特徴とするディジタルデータ圧縮方法。
6. A binary m-bit digital difference between the binary m-bit digital data of a sample at an arbitrary time point and the binary m-bit digital data of the next sample at an arbitrary time point of a time-series continuous digital data group. If the digital data obtained by deleting the high-order 0 excluding the plus / minus sign is within 3 significant bits, binary 5 bit digital data obtained by adding the plus / minus sign and the end presence / absence code signifying the end to the 3 bit digital data. When the number of significant digits exceeds 3 bits, it is divided into digital data in units of 4 bits from the lower order, and is added to the digital data in units of 5 bits in binary by adding an end code meaning continuation in every 4 bits of significant digits. When the digital data is divided into 4-bit unit digital data from the lower order, the last significant digit is within 3 bits A method for compressing digital data, characterized in that it is represented by binary 5-bit digital data to which an end presence / absence code indicating end is added.
【請求項7】 前記請求項6のディジタルデータ圧縮方
法によってデータ圧縮された2進数5ビットのディジタ
ルデータの前記終了有無符号を判別して前記終了有無符
号が継続を意味する符号の間は2進数5ビットのディジ
タルデータの前記終了有無符号を除く4ビットのデータ
を有効桁として順次直列接続し、前記終了有無符号が終
了を意味する符号が来た時2進数5ビットのディジタル
データの前記終了有無符号と正負符号を除く3ビットの
データを有効桁として直列接続し、さらに上位ビットに
“0”を必要数だけ加えて2進数mビットになるように
して前記時系列的に連続したディジタルデータ群の任意
の時点のサンプルの2進数mビットディジタルデータと
任意の時点の次のサンプルの2進数mビットディジタル
データの差の2進数mビットディジタルデータを復元す
ることを特徴とするディジタルデータ伸長方法。
7. A binary number is provided between the codes indicating that the ending presence / absence code indicates continuation by discriminating the ending presence / absence code of binary 5-bit digital data compressed by the digital data compression method according to claim 6. When 4-bit data excluding the end presence / absence code of 5-bit digital data is sequentially connected in series as a significant digit and the end presence / absence code indicates a code, the binary presence / absence of 5-bit digital data A group of digital data that is serially connected by serially connecting 3-bit data excluding a sign and a positive / negative sign as a significant digit and further adding "0" to the upper bits by a necessary number to make a binary number m bits. The binary number of the difference between the binary m-bit digital data of the sample at any time and the binary m-bit digital data of the next sample at the arbitrary time A digital data decompression method characterized by restoring m-bit digital data.
【請求項8】 ディジタルデータ読み出し装置から出力
されたmビットのディジタルデータをデータ圧縮する請
求項3または請求項6のディジタルデータ圧縮方法を用
いたデータ圧縮回路と、前記データ圧縮回路で圧縮した
圧縮データを記憶するメモリーと、前記メモリーから読
み出された圧縮データを伸長する請求項4と請求項5ま
たは請求項7のディジタルデータ伸長方法を用いたデー
タ伸長回路と、前記データ圧縮回路で圧縮された圧縮デ
ータを前記メモリーに記憶させ、前記メモリーに記憶さ
れた圧縮データを定められた復調速度で読み出し前記デ
ータ伸長回路に供給するメモリー制御回路とを備えたデ
ィジタルデータ再生装置。
8. A data compression circuit using the digital data compression method according to claim 3 or 6, which compresses m-bit digital data output from a digital data reading device, and compression performed by the data compression circuit. 8. A memory for storing data, a data decompression circuit using the digital data decompression method according to claim 4, 5 or 7 for decompressing compressed data read from the memory, and a data compression circuit for compressing the data. And a memory control circuit for storing the compressed data stored in the memory, reading the compressed data stored in the memory at a predetermined demodulation rate, and supplying the compressed data to the data expansion circuit.
JP26738391A 1991-10-16 1991-10-16 Digital data compression, expansion method and its reproduction device Pending JPH05110448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26738391A JPH05110448A (en) 1991-10-16 1991-10-16 Digital data compression, expansion method and its reproduction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26738391A JPH05110448A (en) 1991-10-16 1991-10-16 Digital data compression, expansion method and its reproduction device

Publications (1)

Publication Number Publication Date
JPH05110448A true JPH05110448A (en) 1993-04-30

Family

ID=17444086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26738391A Pending JPH05110448A (en) 1991-10-16 1991-10-16 Digital data compression, expansion method and its reproduction device

Country Status (1)

Country Link
JP (1) JPH05110448A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100381518B1 (en) * 1994-12-14 2003-07-18 휴렛-팩커드 컴퍼니(델라웨어주법인) A compression system for reducing the occurrence of a literal prefix
US7400275B2 (en) 2004-02-10 2008-07-15 Matsushita Electric Industrial Co., Ltd. Encoding/decoding device for compressing or expanding digital data
CN101908910A (en) * 2010-07-16 2010-12-08 珠海中慧微电子有限公司 Compression algorithms for address data used for low-voltage power line carrier communication
CN103856296A (en) * 2010-07-16 2014-06-11 珠海中慧微电子有限公司 Address data compression algorithm for low-voltage power line carrier communication
JP2020195092A (en) * 2019-05-29 2020-12-03 オムロン株式会社 Data transfer device, control device, setting device, and control method for data transfer device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100381518B1 (en) * 1994-12-14 2003-07-18 휴렛-팩커드 컴퍼니(델라웨어주법인) A compression system for reducing the occurrence of a literal prefix
US7400275B2 (en) 2004-02-10 2008-07-15 Matsushita Electric Industrial Co., Ltd. Encoding/decoding device for compressing or expanding digital data
CN101908910A (en) * 2010-07-16 2010-12-08 珠海中慧微电子有限公司 Compression algorithms for address data used for low-voltage power line carrier communication
CN103856296A (en) * 2010-07-16 2014-06-11 珠海中慧微电子有限公司 Address data compression algorithm for low-voltage power line carrier communication
JP2020195092A (en) * 2019-05-29 2020-12-03 オムロン株式会社 Data transfer device, control device, setting device, and control method for data transfer device

Similar Documents

Publication Publication Date Title
US5570340A (en) Disk recording medium and method which uses an order table to correlate stored programs
US6292440B1 (en) MP3 car player
JPH0467493A (en) Information reproducing device
KR950034244A (en) Portable recording and playback device, IC memory recording format, recording and playback method
US4910780A (en) Audio signal recording and reproducing apparatus utilizing digital data compression and extension
US5056402A (en) MIDI signal processor
JPH05110448A (en) Digital data compression, expansion method and its reproduction device
US5739778A (en) Digital data formatting/deformatting circuits
KR970002862B1 (en) Disk recording medium and its reproduction method and apparatus
US20020019906A1 (en) Signal processing circuit
JPH1186446A (en) Device and method for data reproduction
JPS60662A (en) Digital signal recording and reproducing device of rotary head system
JP2624739B2 (en) Recording / playback method
JP2843350B2 (en) Data recording / reproducing device
JP3233295B2 (en) PCM data compression and decompression method
KR0176638B1 (en) Method and device for automatic generation of time codes in audio memory recording/reproducing equipment
KR100262091B1 (en) Dram address control method and dram memory structure for an rs-codec of a d-vhs
JP3167539B2 (en) Digital data encoding device
JPH0128393B2 (en)
JPH0414529B2 (en)
KR970010530B1 (en) Disc recording media and reproducing method thereof
JPH0559506B2 (en)
JPH0468821A (en) Decoding method
JPH06180600A (en) Sound and image processor
JPS59195307A (en) Recording system of sound information