JPH06237181A - Data compression circuit - Google Patents

Data compression circuit

Info

Publication number
JPH06237181A
JPH06237181A JP5022875A JP2287593A JPH06237181A JP H06237181 A JPH06237181 A JP H06237181A JP 5022875 A JP5022875 A JP 5022875A JP 2287593 A JP2287593 A JP 2287593A JP H06237181 A JPH06237181 A JP H06237181A
Authority
JP
Japan
Prior art keywords
data
bit
output
compression
logical
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
JP5022875A
Other languages
Japanese (ja)
Other versions
JP3192800B2 (en
Inventor
Motoharu Hagiwara
基晴 萩原
Tadashi Tamura
匡 田村
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 JP02287593A priority Critical patent/JP3192800B2/en
Publication of JPH06237181A publication Critical patent/JPH06237181A/en
Application granted granted Critical
Publication of JP3192800B2 publication Critical patent/JP3192800B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To provide the compression circuit in which data quantity is considerably reduced. CONSTITUTION:Output data DH of an A/D converter are fed to a correction means 21, and when only middle data in three consecutive data differ, the middle data are set equal to preceding and succeeding data. Output data DH1 from the correction means 21 are fed to a detection means 22 to calculate a predicted value by using two just preceding data with respect to each of data DH1 and a difference from the predicted value is obtained. Output data DH2 of the detection means 22 are fed to a code bit shift means 23. When the MSB of the data DH2 is logical 1, a 2's complement is obtained and the result is shifted by one bit toward high-order bits and a sign bit of logic 1 is added to the LSB. When the MSB of the data DH2 is logical 0, the data are shifted by one bit toward the high order bits and a sign bit of logical O is added to the LSB. Output data DH3 of the shift means 23 are fed to a common processing means 24, data are classified into plural bit data based on a valid bit and common processing is executed.

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 It has been conventionally known to record an electrocardiographic waveform signal from an electrocardiographic waveform 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 were problems such as.

【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]

【課題を解決するための手段】この発明は、入力データ
の連続する3個のデータのうち中央のデータのみが異な
るときは、この中央のデータを前後のデータと同じくす
るデータ補正手段と、このデータ補正手段の出力データ
のそれぞれに対して直前2個のデータを使用して予想値
を演算すると共に、その予想値との差を検出するデータ
差検出手段と、このデータ差検出手段の出力データの最
上位ビットが論理1であるときは2の補数を求めた後に
上位ビット側に1ビットシフトすると共に最下位ビット
に論理1の符号ビットを付加し、上記出力データの最上
位ビットが論理0であるときはそのまま上位ビット側に
1ビットシフトすると共に最下位ビットに論理0の符号
ビットを付加する符号ビット移動手段と、この符号ビッ
ト移動手段の出力データを有効ビットがそれぞれ異なる
複数のビットデータに分類してデータの共通化処理をす
るデータ共通化手段とを備えるものである。
According to the present invention, when only the central data of three consecutive input data are different, the central data is the same as the preceding and following data, and Data difference detecting means for calculating an expected value by using the immediately preceding two data for each of the output data of the data correcting means and detecting a difference from the expected value, and output data of the data difference detecting means. If the most significant bit of the is a logical one, a two's complement is obtained, then one bit is shifted to the upper bit side, the code bit of the logical one is added to the least significant bit, and the most significant bit of the output data is a logical zero. If so, a code bit moving means for shifting the higher bit side by 1 bit as it is and adding a code bit of logical 0 to the least significant bit, and the output of this code bit moving means Enable chromatography data bit is what and a data sharing means for the common processing of data classified into a plurality of different bit data.

【0006】[0006]

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

【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は、データ圧縮回路2の構成を機能ブ
ロックで表わしたものである。図において、A/D変換
器1より出力される心電波形データDHはデータ補正手
段21に供給される。この補正手段21では、A/D変
換器1より出力されるデータDHの連続する3個のデー
タのうち中央のデータのみが異なる場合にあっては、中
央のデータを前後のデータと同じくする処理が行なわれ
る。
FIG. 2 is a functional block diagram showing the configuration of the data compression circuit 2. In the figure, the electrocardiographic waveform data DH output from the A / D converter 1 is supplied to the data correction means 21. In the correcting means 21, when only the central data of the three consecutive data DH output from the A / D converter 1 is different, the central data is processed to be the same as the preceding and following data. Is performed.

【0011】例えば、データDHが、03F3H 03F
4H 03F3H と連続するとき、03F3H 03F3H
03F3H とされる。ここで、“H”は16進表示であ
ることを示している。以下においても同様である。
For example, the data DH is 03F3H 03F
4H 03F3H When continuous, 03F3H 03F3H
It will be 03F3H. Here, “H” indicates hexadecimal display. The same applies to the following.

【0012】上述したように、A/D変換器1における
サンプリング周波数を250Hzとした場合、周知の標
本化定理より標本化周波数の1/2周波数である125
Hzまで完全に復元できる。しかし、心電波形の場合に
は125Hzの周波数帯域まで必要とは考えられておら
ず、補正手段21による上述した処理でもって125H
zの周波数成分を除去でき、これにより似通ったデータ
を増やすことができる。
As described above, when the sampling frequency in the A / D converter 1 is set to 250 Hz, 125 which is a half frequency of 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 21.
The frequency component of z can be removed, thereby increasing similar data.

【0013】次に、補正手段21より出力されるデータ
DH1はデータ差検出手段22に供給される。この検出
手段22では、データDH1のそれぞれに対して直前2
個のデータを使用して予想値が演算されると共に、その
予想値との差が検出される。
Next, the data DH1 output from the correction means 21 is supplied to the data difference detection means 22. In the detection means 22, the immediately preceding 2 for each of the data DH1.
The expected value is calculated using the data, and the difference from the expected value is detected.

【0014】例えば、図3に示すようにデータDH1が
x1,x2,x3,x4,x5,・・・と連続するとき、x3
に対しての予想値x3′はx1+2(x2−x1)とされ、
x4に対しての予想値x4′はx2+2(x3−x2)とさ
れ、以下同様にして予想値x5′,x6′,・・・が演算
される。そして、x3に対して差Δx3はx3′−x3とさ
れ、x4に対して差Δx4はx4′−x4とされ、以下同様
にして差Δx5,Δx6,・・・が演算される。なお、上
述した予想値の演算では、直前2個のデータの差を2倍
とする演算が行なわれるが、「2倍」は一例であって、
これに限定されるものではない。
For example, when the data DH1 is continuous with x1, x2, x3, x4, x5, ... As shown in FIG.
The expected value x3 'for x is set to x1 + 2 (x2-x1),
The expected value x4 'for x4 is set to x2 + 2 (x3-x2), and the expected values x5', x6 ', ... Are calculated in the same manner. Then, the difference .DELTA.x3 is set to x3'-x3 with respect to x3, the difference .DELTA.x4 is set to x4'-x4 with respect to x4, and the differences .DELTA.x5, .DELTA.x6 ,. In the calculation of the above-mentioned predicted value, the calculation of doubling the difference between the immediately preceding two data is performed, but "double" is an example,
It is not limited to this.

【0015】検出手段22からは、差が正のときはその
まま出力される共に、差が負のときは2の補数にして出
力される。
From the detecting means 22, when the difference is positive, it is outputted as it is, and when the difference is negative, it is outputted in 2's complement.

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

【0017】すなわち、データDH2の最上位ビットb
15が論理1であるときは、そのデータDH2の2の補数
を求めた後に上位ビット側に1ビットシフトすると共に
最下位ビット(LSB)b0に論理1の符号ビットを付
加する。例えば、データDH2が「FFFFH」である
とき、ビットb15は論理1であり、2の補数を求めると
「0001H」となり、上位ビット側に1ビットシフト
した後にビットb0に論理1の符号ビットを付加すると
「0003H」となる。
That is, the most significant bit b of the data DH2
When 15 is a logic 1, the 2's complement of the data DH2 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. For example, when the data DH2 is "FFFFH", the bit b15 is logic 1, and when the complement of 2 is obtained, it becomes "0001H", and the sign bit of logic 1 is added to the bit b0 after shifting 1 bit to the upper bit side. Then it becomes "0003H".

【0018】一方、データDH2の最上位ビットb15が
論理0であるときは、そのまま上位ビット側に1ビット
シフトすると共に最下位ビットb0に論理0の符号ビッ
トを付加する。例えば、データDH2が「0001H」
であるとき、ビットb15は論理0であり、上位ビット側
に1ビットシフトした後にビットb0に論理0の符号ビ
ットを付加すると「0002H」となる。
On the other hand, when the most significant bit b15 of the data DH2 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. For example, the data DH2 is "0001H"
, The bit b15 is a logical 0, and if the sign bit of the logical 0 is added to the bit b0 after shifting by 1 bit to the upper bit side, it becomes "0002H".

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

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

【0021】 データ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.

【0022】ここで、ヘッダは、例えばビットb7〜b0
の1バイトデータで構成される。ヘッダには、例えば以
下のような意味を持たせる。すなわち、「b7b6」の2
ビットによってデータの種類が表わされる。例えば、
「00」は有効4ビットデータ、「01」は有効8ビッ
トデータ、「10」は有効16ビットデータを示すもの
とされる。また、「b5〜b0」の6ビットによってビッ
トデータの塊の個数が表わされる。個数は01H〜3FH
(1〜63)まで表わすことができる。
Here, the header has bits b7 to b0, for example.
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.

【0023】 有効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".

【0024】例えば、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.

【0025】 有効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.

【0026】例えば、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.

【0027】このようにデータ共通化手段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.

【0028】次に、共通化手段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.

【0029】このように本例においては、補正手段2
1、検出手段22および移動手段23でもって似通った
データが多くなるように処理された後に、共通化手段2
4によって似通ったデータがまとめられてデータが共通
化されるため、データ量を大幅に低減できる。また、共
通化手段24より圧縮データとして似通ったデータが出
力されるため、圧縮手段25におけるハフマン法やLZ
W(Lample-Ziv-Welch)法等の圧縮法によるデータ圧縮
の圧縮効率を大きくできる。
Thus, in this example, the correction means 2
1. After being processed by the detecting means 22 and the moving means 23 so that similar data is increased, the commonizing means 2
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.

【0030】例えば、A/D変換器1の出力データDH
が図5に示すようであるとき、補正手段21、移動手段
23および共通化手段24の出力データDH1,DH3
およびDH4は、それぞれ図6〜図8に示すようにな
る。この場合、入力768バイト(図5参照)が、補正
手段21〜共通化手段24の処理によって275バイト
(図8参照)となり、275/768≒1/2.8の圧
縮がされたことになる。なお、図5〜図8および後述す
る図12、図13は“H”の記号を付していないが、1
6進表示である。
For example, the output data DH of the A / D converter 1
Is as shown in FIG. 5, the output data DH1, DH3 of the correction means 21, the movement means 23 and the commonization means 24
And DH4 are as shown in FIGS. 6 to 8, respectively. In this case, the input 768 bytes (see FIG. 5) becomes 275 bytes (see FIG. 8) by the processing of the correcting unit 21 to the commonizing unit 24, and the compression of 275 / 768≈1 / 2.8 is performed. . 5 to 8 and FIGS. 12 and 13 which will be described later do not include the symbol "H",
It is displayed in hexadecimal.

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

【0032】また、図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.

【0033】なお、上述実施例においては、データ圧縮
回路2にデータ補正手段21を設けているが、これは必
ずしも設ける必要はない。図12および図13は、A/
D変換器1の出力データDHが図5に示すようであっ
て、補正手段21を設けていない場合における移動手段
23およびデータ共通化手段24の出力データDH3お
よびDH4を示している。この場合、入力768バイト
(図5参照)が、検出手段22〜データ共通化手段24
の処理によって309バイト(図13参照)となり、3
09/768≒1/2.5の圧縮がされたことになる。
Although the data compensating means 21 is provided in the data compression circuit 2 in the above embodiment, it is not always necessary to provide this. 12 and 13 show A /
The output data DH of the D converter 1 is as shown in FIG. 5, and shows the output data DH3 and DH4 of the moving means 23 and the data commonizing means 24 when the correcting means 21 is not provided. In this case, the input 768 bytes (see FIG. 5) is the detection means 22 to the data commonizing means 24.
Becomes 309 bytes (see Fig. 13) by the process of 3
This means that the compression of 09 / 768≈1 / 2.5 has been performed.

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

【0035】なお、上述実施例は、心電波形信号を記録
するホルターシステムに適用したものであるが、この発
明はその他の信号、例えば心電波形信号のようにレベル
変化の少ない部分を多く持つ信号を記録する場合のデー
タ圧縮処理に適用して好適なものとなる。
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.

【0036】[0036]

【発明の効果】この発明によれば、データ補正手段、デ
ータ差検出手段および符号ビット移動手段でもって似通
ったデータが多くなるように処理された後に、データ共
通化手段によって似通ったデータがまとめられてデータ
が共通化されるため、データ量を大幅に低減できる。ま
た、データ共通化手段より圧縮データとして似通ったデ
ータが出力されるため、さらにハフマン法やLZW(La
mple-Ziv-Welch)法等の100%伸張できる圧縮法を用
いてデータ圧縮をする場合には圧縮効率を大きくでき
る。
According to the present invention, the data correcting means, the data difference detecting means, and the sign bit moving means process the similar data, and then the common data means collects the similar data. Since the data is shared by the data, the amount of data can be significantly reduced. Further, since similar data is output from the data commonizing means as compressed data, the Huffman method and LZW (La
The compression efficiency can be increased when data compression is performed using a compression method that can expand 100%, such as the mple-Ziv-Welch) 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】データ差検出手段の動作を説明するための図で
ある。
FIG. 3 is a diagram for explaining the operation of the data difference detection means.

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

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

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

【図7】符号ビット移動手段の出力データDH3を示す
図である。
FIG. 7 is a diagram showing output data DH3 of the sign bit moving 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】符号ビット移動手段の出力データDH3(デ
ータ補正手段なしの場合)を示す図である。
FIG. 12 is a diagram showing output data DH3 of the sign bit moving means (without data correcting means).

【図13】データ共通化手段の出力データDH4(デー
タ補正手段なしの場合)を示す図である。
FIG. 13 is a diagram showing output data DH4 (without data correcting means) of the data commonizing 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 Data correction means 22 Data difference detection means 23 Code bit moving means 24 Data commonizing means 25 Lossless compression means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力データの連続する3個のデータのう
ち中央のデータのみが異なるときは、この中央のデータ
を前後のデータと同じくするデータ補正手段と、 このデータ補正手段の出力データのそれぞれに対して直
前2個のデータを使用して予想値を演算すると共に、そ
の予想値との差を検出するデータ差検出手段と、 このデータ差検出手段の出力データの最上位ビットが論
理1であるときは2の補数を求めた後に上位ビット側に
1ビットシフトすると共に最下位ビットに論理1の符号
ビットを付加し、上記出力データの最上位ビットが論理
0であるときはそのまま上位ビット側に1ビットシフト
すると共に最下位ビットに論理0の符号ビットを付加す
る符号ビット移動手段と、 この符号ビット移動手段の出力データを有効ビットがそ
れぞれ異なる複数のビットデータに分類してデータの共
通化処理をするデータ共通化手段とを備えることを特徴
とするデータ圧縮回路。
1. When only the central data of three consecutive input data are different, the data correcting means for making the central data the same as the preceding and following data, and the output data of the data correcting means, respectively. In contrast to this, the data difference detecting means for calculating the expected value using the immediately preceding two data and detecting the difference from the expected value, and the most significant bit of the output data of the data difference detecting means are logic 1 When there is a 2's complement, it is shifted by 1 bit to the upper bit side and a code bit of logic 1 is added to the least significant bit. And a sign bit moving means for adding a sign bit of logic 0 to the least significant bit, and valid bits for the output data of the sign bit moving means. A data compression circuit, comprising: a data commonization unit that classifies the data into a plurality of different bit data and performs a data commonization process.
JP02287593A 1993-02-10 1993-02-10 Data compression circuit Expired - Fee Related JP3192800B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02287593A JP3192800B2 (en) 1993-02-10 1993-02-10 Data compression circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02287593A JP3192800B2 (en) 1993-02-10 1993-02-10 Data compression circuit

Publications (2)

Publication Number Publication Date
JPH06237181A true JPH06237181A (en) 1994-08-23
JP3192800B2 JP3192800B2 (en) 2001-07-30

Family

ID=12094871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02287593A Expired - Fee Related JP3192800B2 (en) 1993-02-10 1993-02-10 Data compression circuit

Country Status (1)

Country Link
JP (1) JP3192800B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012215516A (en) * 2011-04-01 2012-11-08 Japan Radio Co Ltd Waveform output device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012215516A (en) * 2011-04-01 2012-11-08 Japan Radio Co Ltd Waveform output device

Also Published As

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

Similar Documents

Publication Publication Date Title
EP0702457A2 (en) Method and apparatus for compressing and decompressing data
US4910780A (en) Audio signal recording and reproducing apparatus utilizing digital data compression and extension
US5056402A (en) MIDI signal processor
US5602550A (en) Apparatus and method for lossless waveform data compression
JP3192795B2 (en) Data compression circuit
JP3192800B2 (en) Data compression circuit
JP3192801B2 (en) Data compression circuit
JP3229052B2 (en) Data compression circuit
JP3132544B2 (en) Measurement data storage device
US5739778A (en) Digital data formatting/deformatting circuits
JP2000180476A (en) Waveform displaying device
KR950013375B1 (en) Signal compression recording and reproducing restoration method
JPH05110448A (en) Digital data compression, expansion method and its reproduction device
JPS596638A (en) Signal conversion circuit
US5034680A (en) Digital level display device
JP2002271207A (en) Data conversion device, data compression device and data extension device
JP2702126B2 (en) Data output circuit
JP2843350B2 (en) Data recording / reproducing device
JP2882986B2 (en) Image conversion system
JP2561512B2 (en) Digital data storage / reproduction device
SU763950A1 (en) Device for coding speech signal in data voice output
JP4154054B2 (en) Recording / playback device
JP2534095B2 (en) Digital data storage and playback system
JPH07321663A (en) Reference position identification method and data compression expansion device
JPH087935B2 (en) Data expansion circuit

Legal Events

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