JP3229052B2 - Data compression circuit - Google Patents

Data compression circuit

Info

Publication number
JP3229052B2
JP3229052B2 JP01378093A JP1378093A JP3229052B2 JP 3229052 B2 JP3229052 B2 JP 3229052B2 JP 01378093 A JP01378093 A JP 01378093A JP 1378093 A JP1378093 A JP 1378093A JP 3229052 B2 JP3229052 B2 JP 3229052B2
Authority
JP
Japan
Prior art keywords
data
bit
output
compression
adjacent
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 - Fee Related
Application number
JP01378093A
Other languages
Japanese (ja)
Other versions
JPH06232759A (en
Inventor
基晴 萩原
Original Assignee
アイワ株式会社
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 アイワ株式会社 filed Critical アイワ株式会社
Priority to JP01378093A priority Critical patent/JP3229052B2/en
Publication of JPH06232759A publication Critical patent/JPH06232759A/en
Application granted granted Critical
Publication of JP3229052B2 publication Critical patent/JP3229052B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、ホルターシステム
(長時間心電記録計)に適用して好適なデータ圧縮回路
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data compression circuit suitable for a Holter system (long-time electrocardiograph).

【0002】[0002]

【従来の技術】従来、心電測定装置からの心電波形信号
を磁気テープ等にアナログ信号の形式で記録することが
知られている。しかし、ヘッド特性等により再現精度が
良くない等の問題点があった。そこで従来、再現精度を
良くするために心電波形信号を磁気テープ、半導体メモ
リ等にディジタル信号の形式で記録することが提案され
ている。
2. Description of the Related Art Conventionally, it has been known to record an electrocardiographic waveform signal from an electrocardiographic measuring device on a magnetic tape or the like in the form of an analog signal. However, there are problems such as poor reproduction accuracy due to head characteristics and the like. Therefore, it has been conventionally proposed to record an electrocardiographic waveform signal on a magnetic tape, a semiconductor memory or the like in the form of a digital signal in order to improve the reproduction accuracy.

【0003】[0003]

【発明が解決しようとする課題】ところで、ホルターシ
ステムは例えば24時間分の心電波形信号を連続して記
録するものであり、記録データ量が非常に多く、それに
見合った記録媒体を必要とする等の問題点があった。
By the way, the Holter system continuously records electrocardiographic waveform signals for, for example, 24 hours. The amount of recorded data is very large, and a recording medium corresponding to the amount is required. problems such that there is.

【0004】そこで、この発明では、データ量を大幅に
低減できるデータ圧縮回路を提供することを目的とす
る。
Accordingly, an object of the present invention is to provide a data compression circuit capable of greatly reducing the amount of data.

【0005】[0005]

【課題を解決するための手段】この発明は、入力データ
の隣接するデータの差を検出する隣接データ差検出手段
と、この隣接データ差検出手段の出力データの最上位ビ
ットが論理1であるときは2の補数を求めた後に上位ビ
ット側に1ビットシフトすると共に最下位ビットに論理
1の符号ビットを付加し、上記出力データの最上位ビッ
トが論理0であるときはそのまま上位ビット側に1ビッ
トシフトすると共に最下位ビットに論理0の符号ビット
を付加する符号ビット移動手段と、この符号ビット移動
手段の出力データを有効ビットがそれぞれ異なる複数の
ビットデータに分類してデータの共通化処理をするデー
タ共通化手段と、隣接データ差検出手段に入力される上
記入力データ、符号ビット移動手段に供給される隣接デ
ータ差検出手段の出力データまたはデータ共通化手段に
供給される符号ビット移動手段の出力データに対して、
上記入力データの連続する3個のデータのうち中央のデ
ータのみが異なるときは、実質的に上記中央のデータを
前後のデータと同じくする処理を行うデータ補正手段と
を備えるものである。
According to the present invention, there is provided an adjacent data difference detecting means for detecting a difference between adjacent data of input data, and when the most significant bit of output data of the adjacent data difference detecting means is a logical one. Calculates the two's complement, shifts one bit to the upper bit side, adds a sign bit of logic 1 to the least significant bit, and when the most significant bit of the output data is logic 0, adds 1 to the upper bit side A code bit shifting means for shifting the bit and adding a sign bit of logic 0 to the least significant bit; and classifying the output data of the code bit shifting means into a plurality of bit data having different effective bits, thereby performing a data common processing Input to the data sharing means and the adjacent data difference detecting means.
Input data, adjacent data supplied to the sign bit moving means.
Data output means or data sharing means
For the output data of the supplied sign bit moving means,
When only the central data of the three consecutive data of the input data is different , a data correcting means for substantially performing the same processing of the central data as the preceding and succeeding data is provided.

【0006】[0006]

【作用】この発明においては、隣接データ差検出手段2
1、符号ビット移動手段22およびデータ補正手段23
でもって似通ったデータが多くなるように処理された後
に、データ共通化手段24によって似通ったデータがま
とめられてデータが共通化されるため、データ量を大幅
に低減し得る。また、データ共通化手段24より圧縮デ
ータとして似通ったデータが出力されるため、さらにハ
フマン法やLZW(Lample-Ziv-Welch)法等の100%
伸張できる圧縮法を用いてデータ圧縮をする場合には圧
縮効率を大きくし得る。
In the present invention, the adjacent data difference detecting means 2
1, sign bit moving means 22 and data correcting means 23
After the similar data is processed so as to increase, similar data is put together by the data sharing means 24 and the data is shared, so that the data amount can be significantly reduced. Further, since similar data is output as compressed data from the data sharing means 24, 100% of the Huffman method or LZW (Lample-Ziv-Welch) method is used.
When data is compressed using a decompressible compression method, the compression efficiency can be increased.

【0007】[0007]

【実施例】以下、図面を参照しながら、この発明の一実
施例について説明する。本例は心電波形信号をディジタ
ルVTRでもって記録するホルターシステムの記録系に
適用した例である。
An embodiment of the present invention will be described below with reference to the drawings. This example is an example applied to a recording system of a Holter system for recording an electrocardiographic waveform signal by a digital VTR.

【0008】図1は、ホルターシステムの全体構成を示
すブロック図である。同図において、図示しない心電波
形測定装置より出力されるアナログの心電波形信号SH
はA/D変換器1に供給され、サンプリング周波数が2
50Hz、かつ1サンプル10ビットでもってディジタ
ル信号に変換される。なお、各サンプルのデータは、以
下の処理では、16ビットデータとして取り扱われる。
FIG. 1 is a block diagram showing the overall configuration of the Holter system. In the figure, an analog electrocardiographic waveform signal SH output from an electrocardiographic waveform measuring device (not shown)
Is supplied to the A / D converter 1 and the sampling frequency is 2
It is converted to a digital signal at 50 Hz and 10 bits per sample. The data of each sample is treated as 16-bit data in the following processing.

【0009】A/D変換器1より出力される心電波形デ
ータDHはデータ圧縮回路2でデータ圧縮処理された後
にディジタルVTR3に供給されて記録される。データ
圧縮回路2はマイクロコンピュータ(以下、「マイコ
ン」という)を有して構成され、データ圧縮処理はマイ
コンでもってソフト的に行なわれる。
The electrocardiographic waveform data DH output from the A / D converter 1 is subjected to data compression processing by a data compression circuit 2 and then supplied to a digital VTR 3 for recording. The data compression circuit 2 includes a microcomputer (hereinafter, referred to as a “microcomputer”), and the data compression processing is performed by the microcomputer as software.

【0010】図2は、データ圧縮回路の構成を機能ブロ
ックで表わしたものである。図において、A/D変換器
1より出力される心電波形データDHは隣接データ差検
出手段21に供給される。この検出手段21では、デー
タDHの隣接データの差が検出される。この場合、検出
手段21からは、差が正のときはそのまま出力される共
に、差が負のときは2の補数にして出力される。
FIG. 2 shows the configuration of the data compression circuit by functional blocks. In the figure, the electrocardiographic waveform data DH output from the A / D converter 1 is supplied to the adjacent data difference detecting means 21. The detecting means 21 detects a difference between adjacent data of the data DH. In this case, when the difference is positive, the signal is output from the detection means 21 as it is, and when the difference is negative, the signal is output as a two's complement.

【0011】次に、検出手段21より出力されるデータ
DH1は符号ビット移動手段22に供給される。この移
動手段22では、データDH1(b15,b14,・・・,
b0の16ビットデータ)の最上位ビット(MSB)b1
5の論理状態に応じて以下のように処理される。
Next, the data DH1 output from the detecting means 21 is supplied to the sign bit moving means 22. In this moving means 22, the data DH1 (b15, b14,...,
b0 16-bit data) most significant bit (MSB) b1
Processing is performed as follows according to the logical state of 5.

【0012】すなわち、データDH1の最上位ビットb
15が論理1であるときは、そのデータDH1の2の補数
を求めた後に上位ビット側に1ビットシフトすると共に
最下位ビット(LSB)b0に論理1の符号ビットを付
加する。
That is, the most significant bit b of the data DH1
When 15 is logic 1, the 2's complement of the data DH1 is obtained, then shifted to the upper bit by 1 bit, and a sign bit of logic 1 is added to the least significant bit (LSB) b0.

【0013】例えば、データDH1が「FFFFH」で
あるとき、ビットb15は論理1であり、2の補数を求め
ると「0001H」となり、上位ビット側に1ビットシ
フトした後にビットb0に論理1の符号ビットを付加す
ると「0003H」となる。ここで、“H”は16進表示
であることを示している。以下においても同様である。
For example, when the data DH1 is "FFFFH", the bit b15 is a logical one, and when the two's complement is obtained, it becomes "0001H". If a bit is added, it becomes "0003H". Here, "H" indicates hexadecimal display. The same applies to the following.

【0014】一方、データDH1の最上位ビットb15が
論理0であるときは、そのまま上位ビット側に1ビット
シフトすると共に最下位ビットb0に論理0の符号ビッ
トを付加する。
On the other hand, when the most significant bit b15 of the data DH1 is logic 0, the data is shifted by one bit to the higher bit side and a sign bit of logic 0 is added to the least significant bit b0.

【0015】例えば、データDH1が「0001H」で
あるとき、ビットb15は論理0であり、上位ビット側に
1ビットシフトした後にビットb0に論理0の符号ビッ
トを付加すると「0002H」となる。
For example, when the data DH1 is "0001H", the bit b15 is a logical 0, and after shifting by one bit to the upper bit side, adding a sign bit of a logical 0 to the bit b0 becomes "0002H".

【0016】図3は、検出手段21より出力されるデー
タDH1と移動手段22より出力されるデータDH2と
の対応関係を示している。
FIG. 3 shows the correspondence between the data DH1 outputted from the detecting means 21 and the data DH2 outputted from the moving means 22.

【0017】次に、移動手段22より出力されるデータ
DH2はデータ補正手段23に供給される。補正手段2
3では、A/D変換器1より出力されるデータDHの連
続する3個のデータのうち中央のデータのみが異なる場
合にあっては、実質的に中央のデータを前後のデータと
同じくする処理が行なわれる。
Next, the data DH2 output from the moving means 22 is supplied to the data correcting means 23. Correction means 2
In step 3, when only the central data is different among the three consecutive data DHs output from the A / D converter 1, the central data is made substantially the same as the preceding and succeeding data. Is performed.

【0018】例えば、データDH2が0002H 000
3H と連続するとき、あるいは0003H 0002H と
連続するときは、0000H 0000H とされる。
For example, if the data DH2 is 0002H 000
When it is continuous with 3H, or when it is continuous with 0003H 0002H, it is set to 0000H 0000H.

【0019】上述したように、A/D変換器1における
サンプリング周波数を250Hzとした場合、周知の標
本化定理より標本化周波数の1/2周波数である125
Hzまで完全に復元できる。しかし、心電波形の場合に
は125Hzの周波数帯域まで必要とは考えられておら
ず、補正手段23による上述した処理でもって125H
zの周波数成分を除去でき、これにより似通ったデータ
を増やすことができる。
As described above, when the sampling frequency in the A / D converter 1 is set to 250 Hz, the sampling frequency is 125 which is 1/2 of the sampling frequency according to the well-known sampling theorem.
Hz. However, in the case of an electrocardiographic waveform, it is not considered necessary to have a frequency band up to 125 Hz.
The frequency component of z can be removed, and similar data can be increased.

【0020】なお、上述したような補正処理は、A/D
変換器1より出力されるデータDH、あるいは検出手段
21より出力されるデータDH1に対して行ない得るこ
とは勿論である。A/D変換器1より出力されるデータ
DHに対して行なう場合、例えば、03F3H 03F4
H 03F3H と連続するとき、03F3H 03F3H0
3F3H とされる。また、検出手段21より出力される
データDH1に対して行なう場合、例えば、FFFFH
0001H と連続するとき、あるいは0001H FFF
FH と連続するときは、0000H 0000H とされ
る。
Note that the above-described correction processing is performed by A / D
Of course, it can be performed on the data DH output from the converter 1 or the data DH1 output from the detection means 21. When performing on the data DH output from the A / D converter 1, for example, 03F3H 03F4
When H 03F3H continues, 03F3H 03F3H0
3F3H. Further, when the operation is performed on the data DH1 output from the detection means 21, for example, FFFFH
When 0001H and 0001H FFF
When it is continuous with FH, it is set to 0000H 0000H.

【0021】[0021]

【0022】次に、補正手段23より出力されるデータ
DH3はデータ共通化手段24に供給されて以下の〜
の処理が行なわれる。
Next, the data DH3 output from the correction means 23 is supplied to the data sharing means 24 and
Is performed.

【0023】 データDH3が、その有効ビットに基
づいて有効4ビット、有効8ビット、有効16ビットの
3種類のデータに分類される。例えば、「0004
H」、「0005H」等は有効4ビットのデータであり、
「0080H」、「0090H」等は有効8ビットのデー
タであり、「0100H」、「0200H」等は有効16
ビットのデータである。この分類が行なわれるとき、そ
れぞれの種類の内容がわかるように、それぞれの種類の
データの前にヘッダが置かれる。
The data DH 3 is classified into three types of data of valid 4 bits, valid 8 bits, and valid 16 bits based on the valid bits. For example, "0004
"H" and "0005H" are valid 4-bit data,
“0080H”, “0090H”, etc. are valid 8-bit data, and “0100H”, “0200H”, etc. are valid 16 bits.
Bit data. When this classification is performed, a header is placed before each type of data so that the content of each type is known.

【0024】ここで、ヘッダは、例えばビットb7〜b0
の1バイトデータで構成される。ヘッダには、例えば以
下のような意味を持たせる。すなわち、「b7b6」の2
ビットによってデータの種類が表わされる。例えば、
「00」は有効4ビットデータ、「01」は有効8ビッ
トデータ、「10」は有効16ビットデータを示すもの
とされる。また、「b5〜b0」の6ビットによってビッ
トデータの塊の個数が表わされる。個数は01H〜3FH
(1〜63)まで表わすことができる。
Here, the header is composed of bits b7 to b0, for example.
Of 1 byte data. The header has the following meaning, for example. That is, 2 of “b7b6”
The bit indicates the type of data. For example,
“00” indicates valid 4-bit data, “01” indicates valid 8-bit data, and “10” indicates valid 16-bit data. In addition, the number of bit data blocks is represented by 6 bits “b5 to b0”. The number is from 01H to 3FH
(1 to 63).

【0025】 有効4ビットデータは、8ビット単位
とされる。この場合、同一データが連続していないとき
は、ビットb15〜b8が除去されて8ビットデータとさ
れる。また、同一データが連続するときは、以下のよう
に8ビットデータ「b7〜b0」が形成される。すなわ
ち、「b7〜b4」の4ビットによって同一データの連続
数が表わされる。ここで、0H〜FH(0〜15)が示さ
れるが、0〜15は1〜16を表わすものと考える。ま
た、「b3〜b0」の4ビットによって4ビットデータが
表わされる。
The effective 4-bit data is in 8-bit units. In this case, when the same data is not continuous, the bits b15 to b8 are removed to obtain 8-bit data. When the same data continues, 8-bit data "b7 to b0" is formed as follows. That is, the continuous number of the same data is represented by the four bits “b7 to b4”. Here, 0H to FH (0 to 15) are shown, but 0 to 15 is considered to represent 1 to 16. Further, 4-bit data is represented by 4 bits of "b3 to b0".

【0026】例えば、0004H 0005H 0005H
0005H 0005H 0005H 0006H のデータ
は、04H 45H 06Hとなる。
For example, 0004H 0005H 0005H
The data of 0005H 0005H 0005H 0006H is 04H 45H 06H.

【0027】 有効8ビットデータは、8ビット単位
とされる。この場合、ビットb15〜b8が除去されて8
ビットデータとされる。
The effective 8-bit data is in 8-bit units. In this case, bits b15 to b8 are removed and 8
Bit data.

【0028】例えば、0010H 0020H 0030H
0040H 0050H 0060H のデータは、10H 2
0H 30H 40H 50H 60Hとなる。
For example, 0010H 0020H 0030H
The data of 0040H 0050H 0060H is 10H 2
0H 30H 40H 50H 60H.

【0029】このようにデータ共通化手段24では、
〜の処理が行なわれる。例えば、0004H 0005
H 0005H 0005H 0005H 0005H 0006
H 0080H 0090H 0100H 0200H のデータ
は、03H 04H 45H 06H 42H 80H 90H 82
H 0100H 0200H となる。ここで、03H ,42
H ,82H はヘッダである。
As described above, in the data sharing means 24,
Are performed. For example, 0004H 0005
H 0005H 0005H 0005H 0005H 0006
The data of H 0080H 0090H 0100H 0200H is 03H 04H 45H 06H 42H 80H 90H 82
H 0100H 0200H. Here, 03H, 42
H and 82H are headers.

【0030】次に、共通化手段24より出力されるデー
タDH4はロスレス(LossLess)圧縮手段25
に供給される。この圧縮手段25では、従来周知のハフ
マン法やLZW(Lample-Ziv-Welch)法等の100%伸
張できる圧縮法を用いてデータ圧縮処理が行なわれる。
この圧縮手段25より出力されるデータDH5がデータ
圧縮回路2の出力としてディジタルVTR3に供給され
る。
Next, the data DH4 output from the common unit 24 is converted to a lossless compression unit 25.
Supplied to In the compression means 25, data compression processing is performed using a compression method capable of 100% expansion such as a conventionally known Huffman method or LZW (Lample-Ziv-Welch) method.
The data DH5 output from the compression means 25 is supplied to the digital VTR 3 as an output of the data compression circuit 2.

【0031】このように本例においては、検出手段2
1、移動手段22および補正手段23でもって似通った
データが多くなるように処理された後に、共通化手段2
4によって似通ったデータがまとめられてデータが共通
化されるため、データ量を大幅に低減できる。また、共
通化手段24より圧縮データとして似通ったデータが出
力されるため、圧縮手段25におけるハフマン法やLZ
W(Lample-Ziv-Welch)法等の圧縮法によるデータ圧縮
の圧縮効率を大きくできる。
As described above, in this embodiment, the detecting means 2
1. The common means 2 is processed by the moving means 22 and the correction means 23 so that similar data is increased.
4, the similar data is put together and the data is shared, so that the data amount can be significantly reduced. Further, since similar data is output from the common unit 24 as compressed data, the Huffman method or the LZ
The compression efficiency of data compression by a compression method such as the W (Lample-Ziv-Welch) method can be increased.

【0032】例えば、A/D変換器1出力データDH
が図4に示すようであるとき、検出手段21、移動手段
22、補正手段23および共通化手段24の出力データ
DH1〜DH4は、それぞれ図5〜図8に示すようにな
る。この場合、入力768バイト(図4参照)が、検出
手段21〜共通化手段24の処理によって191バイト
(図8参照)となり、191/768≒1/4の圧縮が
されたことになる。なお、図4〜図8および後述する図
12は“H”の記号を付していないが、16進表示であ
る。
For example, the output data DH of the A / D converter 1
4 is as shown in FIG. 4, the output data DH1 to DH4 of the detecting means 21, the moving means 22, the correcting means 23 and the commoning means 24 are as shown in FIGS. In this case, the input 768 bytes (see FIG. 4) become 191 bytes (see FIG. 8) by the processing of the detection means 21 to the commonization means 24, which means that 191/768 ≒ 1/4 has been compressed. In FIGS. 4 to 8 and FIG. 12 described later, the symbol “H” is not attached, but the hexadecimal display is used.

【0033】また、心電波形信号が2チャネル、サンプ
リング周波数250Hz、1サンプル10ビット(実際
には16ビットデータとして取り扱われる)で、24時
間稼動のホルターシステムで入力データ数が52838
4バイトであるとき、本例のデータ圧縮回路2で圧縮後
のデータ数は59707バイトとなり、圧縮比は8.8
5となった。ただし、ロスレス圧縮手段25でLZW法
を使用した場合である。
Also, the electrocardiographic waveform signal has two channels, a sampling frequency of 250 Hz, and a sample of 10 bits (actually handled as 16-bit data).
When it is 4 bytes, the number of data after compression by the data compression circuit 2 of this example is 59707 bytes, and the compression ratio is 8.8.
It was 5. However, this is a case where the LZW method is used in the lossless compression means 25.

【0034】なお、再生系は、図9に示すようにディジ
タルVTR3の再生データがデータ伸張回路4でデータ
伸張された後D/A変換器5でアナログ信号とされて出
力される。データ伸張回路4における伸張処理は、図2
の各手段による処理とは逆の処理が行なわれることにな
る。ただし、補正手段23の逆処理は省略される。
In the reproduction system, as shown in FIG. 9, after the reproduction data of the digital VTR 3 is expanded by the data expansion circuit 4, it is converted into an analog signal by the D / A converter 5 and output. The decompression process in the data decompression circuit 4 is performed as shown in FIG.
So that the reverse processing is performed to the processing by each unit of. However, the reverse process of the correction unit 23 is omitted.

【0035】また、図10は本例の圧縮処理を行なった
心電波形信号による心電波形であり、図11に示す圧縮
処理を行なっていない心電波形信号による心電波形と殆
ど変わらず、圧縮処理によって再現精度にそれほど悪影
響を及ぼすことはない。
FIG. 10 shows an electrocardiogram waveform based on an electrocardiogram waveform signal which has been subjected to the compression processing of the present embodiment. The compression process does not significantly affect reproduction accuracy.

【0036】また、上述したように補正手段23は必ず
しも設ける必要はない。図12は、A/D変換器1の出
力データDHが図4に示すようであって、補正手段23
を設けていない場合におけるデータ共通化手段24の出
力データDH4を示している。この場合、入力768バ
イト(図4参照)が、検出手段21,符号ビット移動手
段22およびデータ共通化手段24の処理によって23
9バイト(図12参照)となり、239/768≒1/
3.2の圧縮がされたことになる。
As described above, the correction means 23 does not always need to be provided. FIG. 12 shows that the output data DH of the A / D converter 1 is as shown in FIG.
2 shows output data DH4 of the data sharing means 24 when no data is provided. In this case, the input 768 bytes (see FIG. 4) are converted into 23 bits by the processing of the detecting unit 21, the sign bit moving unit 22, and the data sharing unit 24.
It becomes 9 bytes (see FIG. 12) and 239 / 76871 /
This means that 3.2 compression has been performed.

【0037】このように、補正手段23を設けない場合
には、設けた場合に比較して圧縮率が低下する。これ
は、補正手段23を設けないことから、共通化手段24
に入力されるデータDH3内において似通ったデータが
少なくなるためと考えられる。
As described above, when the correction means 23 is not provided, the compression ratio is lower than when the correction means 23 is provided. This is because the correcting means 23 is not provided, so that the commonizing means 24
It is considered that similar data is reduced in the data DH3 input to the DH3.

【0038】なお、上述実施例は、心電波形信号を記録
するホルターシステムに適用したものであるが、この発
明はその他の信号、例えば心電波形信号のようにレベル
変化の少ない部分を多く持つ信号を記録する場合のデー
タ圧縮処理に適用して好適なものとなる。
Although the above-described embodiment is applied to a Holter system for recording an electrocardiographic waveform signal, the present invention has many other signals, for example, a portion having a small level change like an electrocardiographic waveform signal. This is suitable for data compression processing when recording a signal.

【0039】[0039]

【発明の効果】この発明によれば、隣接データ差検出手
段、符号ビット移動手段およびデータ補正手段でもって
似通ったデータが多くなるように処理された後に、デー
タ共通化手段によって似通ったデータがまとめられてデ
ータが共通化されるため、データ量を大幅に低減でき
る。また、データ共通化手段より圧縮データとして似通
ったデータが出力されるため、さらにハフマン法やLZ
W法等の100%伸張できる圧縮法を用いてデータ圧縮
をする場合には圧縮効率を大きくできる。
According to the present invention, after the similar data is processed by the adjacent data difference detecting means, the sign bit moving means and the data correcting means so as to increase the similar data, the similar data is collected by the data sharing means. Since the data is shared, the data amount can be significantly reduced. Further, since similar data is output as compressed data from the data sharing means, the Huffman method or LZ
When data compression is performed using a compression method that can expand 100%, such as the W method, the compression efficiency can be increased.

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

【図1】この発明の一実施例の全体構成を示す図であ
る。
FIG. 1 is a diagram showing an overall configuration of an embodiment of the present invention.

【図2】データ圧縮回路の構成を示す機能ブロック図で
ある。
FIG. 2 is a functional block diagram illustrating a configuration of a data compression circuit.

【図3】隣接データ差検出手段の出力データDH1と符
号ビット移動手段の出力データDH2の対応関係を示す
図である。
FIG. 3 is a diagram showing a correspondence relationship between output data DH1 of an adjacent data difference detecting means and output data DH2 of a sign bit moving means.

【図4】A/D変換器の出力データDHの一例を示す図
である。
FIG. 4 is a diagram illustrating an example of output data DH of an A / D converter.

【図5】隣接データ差検出手段の出力データDH1を示
す図である。
FIG. 5 is a diagram showing output data DH1 of an adjacent data difference detecting means.

【図6】符号ビット移動手段の出力データDH2を示す
図である。
FIG. 6 is a diagram showing output data DH2 of the code bit moving means.

【図7】データ補正手段の出力データDH3を示す図で
ある。
FIG. 7 is a diagram showing output data DH3 of the data correction means.

【図8】データ共通化手段の出力データDH4を示す図
である。
FIG. 8 is a diagram showing output data DH4 of the data sharing means.

【図9】再生系の構成を示す図である。FIG. 9 is a diagram showing a configuration of a reproduction system.

【図10】圧縮処理を行なったデータによる心電波形を
示す図である。
FIG. 10 is a diagram showing an electrocardiographic waveform based on data subjected to compression processing.

【図11】圧縮処理を行なっていないデータによる心電
波形を示す図である。
FIG. 11 is a diagram showing an electrocardiographic waveform based on data that has not been subjected to compression processing.

【図12】データ共通化手段の出力データDH4(デー
タ補正手段なしの場合)を示す図である。
FIG. 12 is a diagram showing output data DH4 of a data sharing unit (without a data correction unit).

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

1 A/D変換器 2 データ圧縮回路 3 ディジタルVTR 21 隣接データ差検出手段 22 符号ビット移動手段 23 データ補正手段 24 データ共通化手段 25 ロスレス圧縮手段 DESCRIPTION OF SYMBOLS 1 A / D converter 2 Data compression circuit 3 Digital VTR 21 Adjacent data difference detection means 22 Code bit movement means 23 Data correction means 24 Data sharing means 25 Lossless compression means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03M 7/30 A61B 5/0432 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) H03M 7/30 A61B 5/0432

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力データの隣接するデータの差を検出
する隣接データ差検出手段と、 この隣接データ差検出手段の出力データの最上位ビット
が論理1であるときは2の補数を求めた後に上位ビット
側に1ビットシフトすると共に最下位ビットに論理1の
符号ビットを付加し、上記出力データの最上位ビットが
論理0であるときはそのまま上位ビット側に1ビットシ
フトすると共に最下位ビットに論理0の符号ビットを付
加する符号ビット移動手段と、 この符号ビット移動手段の出力データを有効ビットがそ
れぞれ異なる複数のビットデータに分類してデータの共
通化処理をするデータ共通化手段と、上記隣接データ差検出手段に入力される上記入力デー
タ、上記符号ビット移動手段に供給される上記隣接デー
タ差検出手段の出力データまたは上記データ共通化手段
に供給される上記符号ビット移動手段の出力データに対
して、 上記入力データの連続する3個のデータのうち中
央のデータのみが異なるときは、実質的に上記中央のデ
ータを前後のデータと同じくする処理を行うデータ補正
手段とを備えることを特徴とするデータ圧縮回路。
1. An adjacent data difference detecting means for detecting a difference between adjacent data of input data, and, when the most significant bit of output data of the adjacent data difference detecting means is logic 1, after obtaining a two's complement. The output data is shifted by one bit to the upper bit side, and a sign bit of logic 1 is added to the least significant bit. When the most significant bit of the output data is logic 0, it is shifted by one bit to the upper bit side and a sign bit moving means for adding the sign bit of logic 0, and the data sharing means for the common processing of data classified into output data valid bit each different bit data of the code bit moving means, the The above input data input to the adjacent data difference detecting means
The adjacent data supplied to the code bit moving means.
Output data of the data difference detecting means or the above data commoning means
To the output data of the sign bit moving means supplied to
To, when only the center of the data of the three consecutive data of the input data are different, comprising: a data correcting means for processing, with the same substantially around the center of the data Data Data compression circuit.
JP01378093A 1993-01-29 1993-01-29 Data compression circuit Expired - Fee Related JP3229052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01378093A JP3229052B2 (en) 1993-01-29 1993-01-29 Data compression circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01378093A JP3229052B2 (en) 1993-01-29 1993-01-29 Data compression circuit

Publications (2)

Publication Number Publication Date
JPH06232759A JPH06232759A (en) 1994-08-19
JP3229052B2 true JP3229052B2 (en) 2001-11-12

Family

ID=11842765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01378093A Expired - Fee Related JP3229052B2 (en) 1993-01-29 1993-01-29 Data compression circuit

Country Status (1)

Country Link
JP (1) JP3229052B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8401624B2 (en) * 2008-12-03 2013-03-19 Biosense Webster, Inc. ECG signal analysis tool

Also Published As

Publication number Publication date
JPH06232759A (en) 1994-08-19

Similar Documents

Publication Publication Date Title
EP0013069B1 (en) A data processor and method of processing video information
EP0702457A2 (en) Method and apparatus for compressing and decompressing data
JPS6159914A (en) Digital compressor
US5832037A (en) Method of compressing and expanding data
JP3192795B2 (en) Data compression circuit
JP3229052B2 (en) Data compression circuit
JP3192801B2 (en) Data compression circuit
JP3192800B2 (en) Data compression circuit
JP3132544B2 (en) Measurement data storage device
JP3517979B2 (en) Audio signal processing method and apparatus
JP2843350B2 (en) Data recording / reproducing device
JPS596638A (en) Signal conversion circuit
JP2702126B2 (en) Data output circuit
JPS58225779A (en) Decoding system for picture signal
SU763950A1 (en) Device for coding speech signal in data voice output
JPS59222129A (en) Long-time electrocardiograph recording system
JP2534095B2 (en) Digital data storage and playback system
JP2561512B2 (en) Digital data storage / reproduction device
SU1131043A1 (en) Device for forming signal of luminance histogram of frame of television picture
EP0295621A3 (en) Fast summing circuit
JP2877597B2 (en) Spectrum analyzer
JPH05265500A (en) Information signal recording device
JPH04195423A (en) Multiplier
JPS60124126A (en) Code compressing system
JPH0215086B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees