JPH06232758A - Data compression circuit - Google Patents

Data compression circuit

Info

Publication number
JPH06232758A
JPH06232758A JP5013779A JP1377993A JPH06232758A JP H06232758 A JPH06232758 A JP H06232758A JP 5013779 A JP5013779 A JP 5013779A JP 1377993 A JP1377993 A JP 1377993A JP H06232758 A JPH06232758 A JP H06232758A
Authority
JP
Japan
Prior art keywords
data
bit
output
logical
compression
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.)
Granted
Application number
JP5013779A
Other languages
Japanese (ja)
Other versions
JP3192795B2 (en
Inventor
Motoharu Hagiwara
基晴 萩原
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.)
Sony Group Corp
Original Assignee
Aiwa 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 Aiwa Co Ltd filed Critical Aiwa Co Ltd
Priority to JP01377993A priority Critical patent/JP3192795B2/en
Publication of JPH06232758A publication Critical patent/JPH06232758A/en
Application granted granted Critical
Publication of JP3192795B2 publication Critical patent/JP3192795B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7232Signal processing specially adapted for physiological signals or for diagnostic purposes involving compression of the physiological signal, e.g. to extend the signal recording period
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • A61B5/333Recording apparatus specially adapted therefor

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • Physiology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Psychiatry (AREA)
  • Cardiology (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To obtain a compression circuit in which data quantity is remarkably reduced. CONSTITUTION:Output data DH from an A/D converter 1 are fed to a detection means 21, in which a difference between adjacent data is detected. When the difference indicates a negative value, the difference is outputted in a form of 2's complement. Output data DH1 of the detection means 21 are fed to a code bit shift means 22. When the MSB of the data DH1 is logical 1, after the 2's complement is obtained, the result is shifted by one bit toward the high- order bit and a sign bit of logical 1 is added to the LSB. When the MSB of the data DH1 is logical 0, the result is shifted by one bit toward the high-order bit and a sign bit of logical 0 is added to the LSB. Output data DH2 of the shift means 22 are fed to a correction means 23, and when only middle datum among three consecutive data DH differs, the middle datum is set equal to the succeeding and preceding data substantially. Output data DH3 of the correction means 23 are fed to a common processing means 24, in which the data are classified into plural bit data based on valid bits and the result is subjected to common processing.

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 use in a Holter system (long-time electrocardiographic recorder).

【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, conventionally, in order to improve the reproducibility, it has been proposed to record an electrocardiographic waveform signal on a magnetic tape, a semiconductor memory or the like in the form of a digital signal.

【0003】[0003]

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

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

【0005】[0005]

【課題を解決するための手段】この発明は、入力データ
の隣接するデータの差を検出する隣接データ差検出手段
と、この隣接データ差検出手段の出力データの最上位ビ
ットが論理1であるときは2の補数を求めた後に上位ビ
ット側に1ビットシフトすると共に最下位ビットに論理
1の符号ビットを付加し、上記出力データの最上位ビッ
トが論理0であるときはそのまま上位ビット側に1ビッ
トシフトすると共に最下位ビットに論理0の符号ビット
を付加する符号ビット移動手段と、この符号ビット移動
手段の出力データを有効ビットがそれぞれ異なる複数の
ビットデータに分類してデータの共通化処理をするデー
タ共通化手段とを備えるものである。
According to the present invention, there is provided 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. Shifts one bit to the upper bit side after obtaining the two's complement, adds a code bit of logic 1 to the least significant bit, and when the most significant bit of the output data is logical 0, it is 1 to the upper bit side as it is. Code bit moving means for bit-shifting and adding a code bit of logical 0 to the least significant bit, and output data of this code bit moving means are classified into a plurality of bit data having different effective bits, and data common processing is performed. And a data commonizing means.

【0006】[0006]

【作用】この発明においては、隣接データ差検出手段2
1および符号ビット移動手段22でもって似通ったデー
タが多くなるように処理された後に、データ共通化手段
24によって似通ったデータがまとめられてデータが共
通化されるため、データ量を大幅に低減し得る。また、
データ共通化手段24より圧縮データとして似通ったデ
ータが出力されるため、さらにハフマン法やLZW(La
mple-Ziv-Welch)法等の100%伸張できる圧縮法を用
いてデータ圧縮をする場合には圧縮効率を大きくし得
る。
In the present invention, the adjacent data difference detecting means 2
1 and the sign bit moving means 22 process the similar data so that the similar data becomes large, and then the data commonizing means 24 collects the similar data and makes the data common, so that the data amount is significantly reduced. obtain. Also,
Data similar to the compressed data is output from the data commonizing means 24, so that the Huffman method and LZW (La
The compression efficiency can be increased when data compression is performed using a compression method capable of 100% expansion such as the mple-Ziv-Welch) method.

【0007】[0007]

【実施例】以下、図面を参照しながら、この発明の一実
施例について説明する。本例は心電波形信号をディジタ
ルVTRでもって記録するホルターシステムの記録系に
適用した例である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 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 with 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 into 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 the data compression circuit 2 and then supplied to the digital VTR 3 for recording. The data compression circuit 2 is configured by including a microcomputer (hereinafter referred to as "microcomputer"), and the data compression processing is performed by software with the microcomputer.

【0010】図2は、データ圧縮回路の構成を機能ブロ
ックで表わしたものである。図において、A/D変換器
1より出力される心電波形データDHは隣接データ差検
出手段21に供給される。この検出手段21では、デー
タDHの隣接データの差が検出される。この場合、検出
手段21からは、差が正のときはそのまま出力される共
に、差が負のときは2の補数にして出力される。
FIG. 2 is a functional block diagram showing the configuration of the data compression circuit. 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 detection means 21 detects the difference between adjacent data of the data DH. In this case, when the difference is positive, the detection means 21 outputs it as it is, and when the difference is negative, it outputs it in 2'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, ...
16-bit data of b0) most significant bit (MSB) b1
It is processed as follows according to the logic 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 a logic 1, the 2's complement of the data DH1 is obtained, and then one bit is shifted to the upper bit side and the code bit of the 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 1 and the complement of 2 is "0001H", which is shifted to the upper bit side by 1 bit and then the bit b0 is a logical 1 code. When the 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 a logical 0, it is shifted by 1 bit to the upper bit side as it is and a code bit of logical 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 when the sign bit of the logical 0 is added to the bit b0 after shifting 1 bit to the upper bit side, it becomes "0002H".

【0016】図3は、検出手段21より出力されるデー
タDH1と移動手段22より出力されるデータDH2と
の対応関係を示している。
FIG. 3 shows the correspondence between the data DH1 output from the detecting means 21 and the data DH2 output 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
3, when only the central data among the three consecutive data of the data DH output from the A / D converter 1 is different, the processing that substantially makes the central data the same as the preceding and subsequent data. Is performed.

【0018】例えば、データDH2が0002H 000
3H と連続するとき、あるいは0003H 0002H と
連続するときは、0000H 0000H とされる。
For example, the data DH2 is 0002H 000.
When it is continuous with 3H or 0003H and 0002H, it is 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, 125 which is half the sampling frequency is 125 according to the well-known sampling theorem.
Can be completely restored up to Hz. However, in the case of the electrocardiographic waveform, it is not considered that the frequency band up to 125 Hz is necessary, and 125 H is obtained by the above-mentioned processing by the correction means 23.
The frequency component of z can be removed, thereby increasing similar data.

【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 とされ
る。
The correction processing as described above is performed by the A / D
Of course, the data DH output from the converter 1 or the data DH1 output from the detection means 21 can be used. When the data DH output from the A / D converter 1 is processed, for example, 03F3H 03F4
When continuous with H 03F3H, 03F3H 03F3H0
It will be 3F3H. When the data DH1 output from the detection means 21 is processed, for example, FFFFH
When continuous with 0001H or 0001H FFF
When it continues to FH, it is 0000H 0000H.

【0021】また、この補正手段23による補正処理は
必ずしも必要ではなく、省略してもよい。
The correction process by the correction means 23 is not always necessary and may be omitted.

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

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

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

【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, if the same data is not continuous, bits b15 to b8 are removed to obtain 8-bit data. When the same data continues, 8-bit data "b7-b0" is formed as follows. That is, the continuous number of the same data is represented by 4 bits of "b7 to b4". Here, 0H to FH (0 to 15) are shown, but it is considered that 0 to 15 represents 1 to 16. Also, 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 becomes 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
It is treated as 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
It becomes 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 commonizing means 24,
The processing of is 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
It becomes H 0100H 0200H. Where 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 commonizing means 24 is lossless compression means 25.
Is supplied to. In the compression means 25, data compression processing is performed using a compression method capable of 100% expansion such as the 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 the 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 example, the detection means 2
1, the moving means 22 and the correcting means 23 are processed to increase the similar data, and then the commonizing means 2 is used.
Since the similar data are collected by 4 and the data is made common, the amount of data can be significantly reduced. Further, since similar data is output from the commonizing means 24 as compressed data, the Huffman method or LZ in the compressing means 25 is output.
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、移動手段2
2、補正手段23および共通化手段24の出力データD
H1〜DH4は、それぞれ図5〜図8に示すようにな
る。この場合、入力768バイト(図4参照)が、検出
手段21〜共通化手段24の処理によって191バイト
(図8参照)となり、191/768≒1/4の圧縮が
されたことになる。なお、図4〜図8および後述する図
12は“H”の記号を付していないが、16進表示であ
る。
For example, when the output data DH of the A / D converter 1 is as shown in FIG. 4, the detecting means 21 and the moving means 2
2. Output data D of the correction means 23 and the commonization means 24
H1 to DH4 are as shown in FIGS. In this case, the input 768 bytes (see FIG. 4) becomes 191 bytes (see FIG. 8) by the processing of the detecting means 21 to the commonizing means 24, which means that 191 / 768≈1 / 4 compression is performed. It should be noted that FIGS. 4 to 8 and FIG. 12 to be described later do not include the symbol “H”, but they are displayed in hexadecimal.

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

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

【0035】また、図10は本例の圧縮処理を行なった
心電波形信号による心電波形であり、図11に示す圧縮
処理を行なっていない心電波形信号による心電波形と殆
ど変わらず、圧縮処理によって再現精度にそれほど悪影
響を及ぼすことはない。
FIG. 10 shows an electrocardiographic waveform obtained by the compression-processed electrocardiographic waveform signal of this example, which is almost the same as the electrocardiographic waveform obtained by the non-compressed electrocardiographic waveform signal shown in FIG. The compression process does not adversely affect the 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の圧縮がされたことになる。
Further, as described above, the correction means 23 need not always be provided. 12 shows that the output data DH of the A / D converter 1 is as shown in FIG.
The output data DH4 of the data commonizing means 24 in the case where is not provided is shown. In this case, the input 768 bytes (see FIG. 4) is 23 by the processing of the detecting means 21, the sign bit moving means 22 and the data commonizing means 24.
9 bytes (see Fig. 12), 239 / 768≈1 /
It means that the compression of 3.2 has been done.

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

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

【0039】[0039]

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

【図面の簡単な説明】[Brief description of 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 showing a configuration of a data compression circuit.

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

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

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

【図6】符号ビット移動手段の出力データDH2を示す
図である。
FIG. 6 is a diagram showing output data DH2 of the sign 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 commonizing 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 compressed.

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

【符号の説明】[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 moving means 23 Data correction means 24 Data sharing means 25 Lossless compression means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力データの隣接するデータの差を検出
する隣接データ差検出手段と、 この隣接データ差検出手段の出力データの最上位ビット
が論理1であるときは2の補数を求めた後に上位ビット
側に1ビットシフトすると共に最下位ビットに論理1の
符号ビットを付加し、上記出力データの最上位ビットが
論理0であるときはそのまま上位ビット側に1ビットシ
フトすると共に最下位ビットに論理0の符号ビットを付
加する符号ビット移動手段と、 この符号ビット移動手段の出力データを有効ビットがそ
れぞれ異なる複数のビットデータに分類してデータの共
通化処理をするデータ共通化手段とを備えることを特徴
とするデータ圧縮回路。
1. Adjacent data difference detecting means for detecting a difference between adjacent data of input data, and when the most significant bit of the output data of the adjacent data difference detecting means is a logic 1, after obtaining a two's complement When 1 bit is shifted to the upper bit side and a code bit of logic 1 is added to the least significant bit, and when the most significant bit of the output data is a logical 0, 1 bit is shifted to the upper bit side as it is and to the least significant bit A code bit moving means for adding a code bit of logic 0 and a data commonizing means for classifying the output data of the code bit moving means into a plurality of bit data each having a different effective bit and performing a data commonizing process are provided. A data compression circuit characterized by the above.
JP01377993A 1993-01-29 1993-01-29 Data compression circuit Expired - Fee Related JP3192795B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPH06232758A true JPH06232758A (en) 1994-08-19
JP3192795B2 JP3192795B2 (en) 2001-07-30

Family

ID=11842734

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3192795B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013536053A (en) * 2010-08-27 2013-09-19 ニューロプロ・リミテッド Monitoring or prediction system and monitoring or prediction method
CN107846225A (en) * 2017-10-30 2018-03-27 成都心吉康科技有限公司 Heart real time lossless date-compress, the methods, devices and systems of decompression

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013536053A (en) * 2010-08-27 2013-09-19 ニューロプロ・リミテッド Monitoring or prediction system and monitoring or prediction method
CN107846225A (en) * 2017-10-30 2018-03-27 成都心吉康科技有限公司 Heart real time lossless date-compress, the methods, devices and systems of decompression

Also Published As

Publication number Publication date
JP3192795B2 (en) 2001-07-30

Similar Documents

Publication Publication Date Title
EP0702457A2 (en) Method and apparatus for compressing and decompressing data
JPS6159914A (en) Digital compressor
US6389171B1 (en) Method and apparatus for a digital video cassette (DVC) decode system
US4910780A (en) Audio signal recording and reproducing apparatus utilizing digital data compression and extension
US5617506A (en) Method for communicating a value over a transmission medium and for decoding same
US5056402A (en) MIDI signal processor
US5602550A (en) Apparatus and method for lossless waveform data compression
JPH06232758A (en) Data compression circuit
JPH06232759A (en) Data compression circuit
JP3192800B2 (en) Data compression circuit
JP3192801B2 (en) Data compression circuit
JP3132544B2 (en) Measurement data storage device
US4301333A (en) Speech compression
US5781564A (en) Method and apparatus for detecting and concealing data errors in stored digital data
US5739778A (en) Digital data formatting/deformatting circuits
JPH01188085A (en) Signal regenerating processor
JP2000180476A (en) Waveform displaying device
EP0319217A2 (en) Method and apparatus for processing picture data
KR950013375B1 (en) Signal compression recording and reproducing restoration method
US4587669A (en) Speech compression
JP2002271207A (en) Data conversion device, data compression device and data extension device
JP3517979B2 (en) Audio signal processing method and apparatus
US5034680A (en) Digital level display device
JPS596638A (en) Signal conversion circuit
JPS58225779A (en) Decoding system for picture signal

Legal Events

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