JPH10222344A - Waveform processor - Google Patents

Waveform processor

Info

Publication number
JPH10222344A
JPH10222344A JP9026764A JP2676497A JPH10222344A JP H10222344 A JPH10222344 A JP H10222344A JP 9026764 A JP9026764 A JP 9026764A JP 2676497 A JP2676497 A JP 2676497A JP H10222344 A JPH10222344 A JP H10222344A
Authority
JP
Japan
Prior art keywords
value
data
waveform data
address
storage means
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
JP9026764A
Other languages
Japanese (ja)
Other versions
JP2956636B2 (en
Inventor
Soichi Yamazaki
宗一 山▲崎▼
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP9026764A priority Critical patent/JP2956636B2/en
Publication of JPH10222344A publication Critical patent/JPH10222344A/en
Application granted granted Critical
Publication of JP2956636B2 publication Critical patent/JP2956636B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To realize a high compression rate by a simple processing while restricting the occurrence of damage and a distortion in a waveform. SOLUTION: One kind of data of a memory 1 is stored in a register 2 so as to be adopted as a first sample value, the first sample value and data which is stored in an address being separated by an N power-fold number of two by a sampling cycle in a register 3 so as to be adopted as the second sample value, a peak detecting circuit 8 presumes whether or not the existence of a peak is detected in waveform data between the two values or waveform data between the values by an interpolation processing in an interpolating circuit 5, an error comparing circuit 6 compares difference between the presumed data and original waveform data with an error restricting value, the max. N value is obtained by counting-up the N value of a counter 4 till the difference exceeds the error restricting value and the N value and the first sampling value are outputted from a data synthesizing circuit 7 as compression data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、波形処理装置に関
し、特に波形デ−タを圧縮して少ないデータ量の圧縮デ
ータによって当該波形データを表すことができるように
した波形処理装置、および当該波形処理装置によって得
られた圧縮データを伸張して元の波形データを得ること
ができるようにした波形処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform processing apparatus, and more particularly, to a waveform processing apparatus which compresses waveform data so that the waveform data can be represented by compressed data having a small data amount, and the waveform processing apparatus. The present invention relates to a waveform processing device that can expand compressed data obtained by a processing device to obtain original waveform data.

【0002】[0002]

【従来の技術】従来の波形処理装置は、特開平8−16
0999号公報に示されるように、波形データを固定の
サイズでブロック化し、ブロック内の処理対象のアドレ
スの波形データの前後アドレスの波形データを補間して
処理対象のアドレスの波形データとの差データを用いる
ことにより波形データを圧縮している。従来の波形処理
装置はまた、圧縮データを指数と仮数に基づいて浮動小
数点化して表現する。
2. Description of the Related Art A conventional waveform processing apparatus is disclosed in
No. 0999, the waveform data is divided into blocks of a fixed size, and the waveform data of the address before and after the waveform data of the address to be processed in the block is interpolated to obtain the difference data from the waveform data of the address to be processed. Is used to compress the waveform data. The conventional waveform processing apparatus also expresses the compressed data by floating-point conversion based on exponents and mantissas.

【0003】図10(a)は、従来の波形処理装置の構
成を示すブロック図である。図において従来の波形処理
装置は、10標本(この「10」は16進数であり10
進数では「16」となる)毎にブロック化するブロック
化手段12と、ブロック化手段12によりブロック化さ
れた波形データから差データを取得する二進差分処理手
段14と、各ブロック内に共通の指数を決定する指数決
定手段16と、指数決定手段16によって決定された指
数に基づき差データを得る再差分処理手段18と、指数
と差データとにより圧縮データを生成して出力する圧縮
データ生成送出手段20と、次回の処理のためにブロッ
ク内の量子化された最終データを記憶して二進差分処理
手段14に供給するブロック最終データ記憶手段22と
を有している。
FIG. 10A is a block diagram showing a configuration of a conventional waveform processing apparatus. In the figure, the conventional waveform processing apparatus has 10 samples (this "10" is a hexadecimal number and 10
A blocking unit 12 that blocks each time (in the form of a hexadecimal number), a binary difference processing unit 14 that acquires difference data from the waveform data blocked by the blocking unit 12, and a common block in each block. Index determining means 16 for determining an index, re-difference processing means 18 for obtaining difference data based on the index determined by the index determining means 16, compressed data generation and transmission for generating and outputting compressed data based on the index and the difference data And a block final data storage unit for storing the quantized final data in the block and supplying the final data to the binary difference processing unit for the next processing.

【0004】以上の構成において、圧縮対象の波形デー
タが入力されると、ブロック化手段12により当該波形
データがブロック化される。即ち、当該波形データを1
0標本分記憶し、当該波形データを10標本毎にブロッ
ク化して、10標本で1ブロックの処理対象を構成す
る。そして、ブロック化した10標本のデータをそれぞ
れa(1)〜a(10)とする。ブロック化の処理が終
了すると、二進差分処理手段14によって二進差分処理
を行う。二進差分処理においては、処理対象のブロック
の直前のブロックの量子化された最終デ−タをa(0)
とし、これを用いる。そして、a(0)〜a(10)か
ら、b(1)〜b(10)を次の演算を行って決定す
る。 b(8)=a(8) b(10)=a(10) b(4)=a(4)−(a(0)+a(8))/2 b(c)=a(c)−(a(8)+a(10))/2 b(2)=a(2)−(a(0)+a(4))/2 b(6)=a(6)−(a(4)+a(8))/2 b(a)=a(a)−(a(8)+a(c))/2 b(e)=a(e)−(a(c)+a(10))/2 b(1)=a(1)−(a(0)+a(2))/2 b(3)=a(3)−(a(2)+a(4))/2 b(5)=a(5)−(a(4)+a(6))/2 b(7)=a(7)−(a(6)+a(8))/2 b(9)=a(9)−(a(8)+a(a))/2 b(b)=a(b)−(a(a)+a(c))/2 b(d)=a(d)−(a(c)+a(e))/2 b(f)=a(f)−(a(e)+a(10))/2 以上のように、b(8)ならびにb(10)に関して
は、元のデータたるa(8)ならびにa(10)をそれ
ぞれそのまま用い、その他のデータに関しては、サンプ
ル点の値と当該サンプル点の前後の所定のサンプル数だ
け離れたサンプル点の相加平均との差としている。
In the above configuration, when waveform data to be compressed is input, the waveform data is blocked by the blocking means 12. That is, the waveform data is
Zero waveform samples are stored, and the waveform data is divided into blocks for every 10 samples, and 10 samples constitute a processing target of one block. Then, the data of the 10 samples that are divided into blocks are a (1) to a (10). When the blocking process is completed, the binary difference processing unit 14 performs a binary difference process. In the binary difference processing, the quantized final data of the block immediately before the block to be processed is a (0)
And use this. Then, from a (0) to a (10), b (1) to b (10) are determined by performing the following calculation. b (8) = a (8) b (10) = a (10) b (4) = a (4) − (a (0) + a (8)) / 2 b (c) = a (c) − (A (8) + a (10)) / 2 b (2) = a (2)-(a (0) + a (4)) / 2 b (6) = a (6)-(a (4) + a (8)) / 2 b (a) = a (a)-(a (8) + a (c)) / 2 b (e) = a (e)-(a (c) + a (10)) / 2 b (1) = a (1)-(a (0) + a (2)) / 2 b (3) = a (3)-(a (2) + a (4)) / 2 b (5) = a (5)-(a (4) + a (6)) / 2 b (7) = a (7)-(a (6) + a (8)) / 2 b (9) = a (9)-(a (8) + a (a)) / 2 b (b) = a (b)-(a (a) + a (c)) / 2 b (d) = a (d)-(a (c) + a (e) )) / 2 b (f) = a ( )-(A (e) + a (10)) / 2 As described above, for b (8) and b (10), the original data a (8) and a (10) are used as they are, and Is the difference between the value of the sample point and the arithmetic mean of the sample points separated by a predetermined number of samples before and after the sample point.

【0005】二進差分処理を終了すると、指数決定手段
16において指数を決定する。即ち、二進差分処理で求
めたb(1)〜b(10)をより短いデ−タ量で表すた
めに、ブロック毎に共通の指数を設けて浮動小数点によ
り表すための処理を行う。指数決定手段16により指数
が決定されると、再差分処理手段18によって、データ
伸張時の再現性を計算しながら、差を取り直すものであ
る。つまり、b(8)ならびにb(10)を指数決定手
段16において決定した指数に基づいて量子化し、量子
化データをそれぞれb_(8)ならびにb_(10)と
する。この「量子化」とは、指数に対応する分だけ下位
ビットを0で埋め、さらに0で埋めたビットの最上位の
ビットに1を加算することによってラウンディングする
ことを意味する。そして、a(8)ならびにa(10)
に代えてb_(8)ならびにb_(10)を用いて二進
差分処理を行い、b(1)〜b(10)を求め直す。
When the binary difference processing is completed, the exponent is determined by the exponent determining means 16. That is, in order to represent b (1) to b (10) obtained by the binary difference processing with a shorter data amount, a process is performed in which a common exponent is provided for each block and the floating point is represented. When the index is determined by the index determining means 16, the difference is recalculated by the re-difference processing means 18 while calculating the reproducibility at the time of data expansion. That is, b (8) and b (10) are quantized based on the exponent determined by the exponent determining means 16, and the quantized data is set to b_ (8) and b_ (10), respectively. The “quantization” means that the lower bits are padded with 0s corresponding to the exponent, and rounding is performed by adding 1 to the most significant bit of the bits filled with 0s. And a (8) and a (10)
The binary difference processing is performed using b_ (8) and b_ (10) in place of b, and b (1) to b (10) are obtained again.

【0006】再差分処理を終了すると、圧縮データ生成
送出手段20により、指数と仮数データd(1)〜d
(10)を、例えば、図10(b)に示すように等長な
データ上に配置して、1ブロック分の圧縮データを形成
し、メモリなどの記憶手段へ送出して記憶させるととも
に、次のブロックの処理に備えて、b_(10)を新た
なa(0)として、ブロック最終データ記憶手段22に
記憶してブロック化手段12へ戻り、上記した処理を繰
り返す。図12(a)は従来の波形処理装置により、図
5(a)に示す波形データを約45%に圧縮してそれを
伸張したものであり、矢印で示した部分に許容できない
ような歪みが認められる。
When the re-difference processing is completed, the exponent and mantissa data d (1) to d (1)
For example, (10) is arranged on data of equal length as shown in FIG. 10 (b) to form one block of compressed data, which is sent to a storage means such as a memory for storage. In preparation for the processing of the block (b), b_ (10) is stored as a new a (0) in the block final data storage means 22, returned to the blocking means 12, and the above processing is repeated. FIG. 12 (a) shows the waveform data shown in FIG. 5 (a) compressed and expanded by about 45% by a conventional waveform processing apparatus. Is recognized.

【0007】従来の他の波形処理装置は、特開平8−1
23498号公報に示されるように、該波形データの標
本数と同じ長さのビットストリングを複数個用意し、各
ビットストリングの左端のビットから順に時系列順に各
標本に対応させ、求めるデータ圧縮率と同じ割合でビッ
トをランダムに選択して、選択したビットを、該当する
標本を便用することを表す第1のビット値に、他のビッ
トは該当する標本を使用しないことを表す第2のビット
値に設定する第1の段階と、各ビットストリングの第1
のビット値に対応する標本を直線で結んで波形を復元
し、当該波形の評価値をその使用標本数とその波形の全
長に依存させて計算する第2の段階と、第1、第2段階
を所定の回数実行したかどうかの終了条件を判定する第
3の段階と、終了条件が満たされなければ、ビットスト
リング群に遺伝的アルゴリズムを適用して、ビットスト
リングに淘汰をかけ、評価値が比較的高いビットストリ
ング同士のペアを作って交叉を行い、各ビットストリン
グに突然変異を与え、第2の段階に戻る第4の段階と、
終了条件が満たされた場合、ビットストリング群の中
で、求める圧縮率と同じ割合で第2のビット値のビット
を持つビットストリングを選択し、選択したビットスト
リングが持つ情報を元にデータファイルを作製する第5
の段階を有する。
Another conventional waveform processing apparatus is disclosed in Japanese Unexamined Patent Application Publication No.
As shown in Japanese Patent No. 23498, a plurality of bit strings having the same length as the number of samples of the waveform data are prepared, and corresponding to each sample in chronological order from the leftmost bit of each bit string to obtain a desired data compression ratio. The bits are randomly selected at the same rate as the above, and the selected bits are replaced with a first bit value indicating that the corresponding sample is used, and a second bit indicating that the corresponding sample is not used. A first step of setting the bit value and a first step of each bit string.
A second step of connecting a sample corresponding to the bit value of the above with a straight line to restore a waveform, and calculating an evaluation value of the waveform depending on the number of used samples and the total length of the waveform; and a first and a second step A third step of determining an end condition whether or not a predetermined number of times have been executed; and, if the end condition is not satisfied, applying a genetic algorithm to the group of bit strings, selecting the bit strings, and evaluating the evaluation value. A fourth step in which pairs of relatively high bit strings are created and crossed over, each bit string is mutated and returned to the second step;
When the termination condition is satisfied, a bit string having a bit having a second bit value is selected from the bit string group at the same ratio as the compression rate to be obtained, and a data file is created based on the information held by the selected bit string. Fifth to make
Having the following steps.

【0008】図11(a)は、従来の他の波形処理装置
のフローチャートである。まず、元の標本数と同じ長さ
のビットストリングをN個用意し、各ビットストリング
に対し、求めるデータ圧縮率と同じ割合で、ランダムに
ビットを選択して値を”0”にし、その他のビットの値
を”1”にする。それぞれのビットストリングは、求め
る最適標本の集合の候補を示すものとする。各ビット
は、左端から時系列順の各標本に対応し、ビット値”
0”はその標本を使用しない、ビット値”1”はその標
本を使用することを表すものとする。つまり、ビット
値”1”に対応する標本の集合が求めているものであ
る。ビットストリング上の各ビットと標本との対応関係
は、ビットストリング上の左端のビットから順番に、時
系列順の各標本に対応し、ビット値”0”がその標本を
使用しない、ビット値”1”がその標本を使用すること
をそれぞれ表す。以後、これらのビットストリングを個
体と呼ぶ。
FIG. 11A is a flowchart of another conventional waveform processing apparatus. First, N bit strings having the same length as the original number of samples are prepared, and for each bit string, bits are randomly selected at the same ratio as the required data compression ratio and the value is set to “0”. The value of the bit is set to "1". Each bit string indicates a candidate for a set of optimal samples to be obtained. Each bit corresponds to each sample in chronological order from the left end, and the bit value “
A bit value "1" indicates that the sample is used, and a bit value "1" indicates that the sample is used, that is, a set of samples corresponding to the bit value "1" is obtained. The correspondence between each bit and the sample above corresponds to each sample in chronological order from the leftmost bit on the bit string, and the bit value “0” does not use the sample, and the bit value “1”. Indicates that the sample is used. Hereinafter, these bit strings are referred to as individuals.

【0009】次に、ステップ201で、各波形の良さを
計算して、各個体に評価値を付ける。次に、ステップ2
03で、計算を終了するか否かの判断を行う。その終了
条件として、通常は計算する世代数(ステップ201〜
206のループ)を予め決定している。終了条件を満た
している場合、ステップ107で、個体群の中で求める
圧縮率と同じ割合で値”0”のビットを持つ個体を選択
し、ステップ108で、その個体が持つ情報を元にデー
タファイルを作製する。
Next, in step 201, the goodness of each waveform is calculated, and an evaluation value is assigned to each individual. Next, step 2
At 03, it is determined whether or not to end the calculation. Usually, the number of generations to be calculated (steps 201 to 201)
206 loop) is determined in advance. If the end condition is satisfied, in step 107, an individual having a bit of value “0” is selected at the same ratio as the compression ratio obtained in the individual group, and in step 108, data is obtained based on the information of the individual. Create a file.

【0010】図11(b)は、データファイルのフォー
マットを示すものである。一番上に適用した個体が示す
ビットストリングをそのまま書き込む。そして、改行
し、そのビットストリングでビット値”1”のアドレス
に対応する標本の番号を時系列に書き込んでいく。この
作製されたファイルを読みとる際は、標本から波形を復
元する。
FIG. 11B shows the format of a data file. The bit string indicated by the individual applied at the top is written as it is. Then, a line feed is performed, and the sample number corresponding to the address of the bit value “1” in the bit string is written in chronological order. When reading this created file, the waveform is restored from the sample.

【0011】図12(b)は従来の他の波形処理装置に
より、図5(a)に示す波形データを約29%に圧縮し
てそれを伸張したものであり、矢印で示した部分に許容
できないような歪みが認められる。
FIG. 12 (b) shows the waveform data shown in FIG. 5 (a) compressed and expanded by about 29% by another conventional waveform processing apparatus. Distortion that cannot be observed is observed.

【0012】[0012]

【発明が解決しようとする課題】上述した従来の波形処
理装置では、下記のような問題点があった。 (1)前述した特開平8−160999号公報に記載さ
れた従来の波形処理装置においては、圧縮率を上げるた
めには1ブロック当たりの標本数を多くとるとともに、
圧縮データ中の各仮数データのビット数を少なく割り当
てる必要があるため、同一ブロック内に変化の大きな波
形と変化の小さな波形が共存すると、指数値が変化の大
きい波形で決められ、変化の小さい波形はその影響で大
きく歪んでしまい、また、前述した特開平8−1234
98号公報に記載された従来の他の波形処理装置におい
ては、該波形データの標本数と同じ長さのビットストリ
ングを固定的に圧縮データとして出力するため、変化の
少ない波形のなだらかな部分での圧縮率がビットストリ
ングの影響であまり高くならず、結果的に全体の圧縮率
も制限を受けてしまい、ある程度以上の圧縮率を得よう
とすると急激に波形が歪んでしまう。
The above-described conventional waveform processing apparatus has the following problems. (1) In the conventional waveform processing apparatus described in JP-A-8-160999, in order to increase the compression ratio, the number of samples per block is increased, and
Since it is necessary to allocate a small number of bits for each mantissa data in the compressed data, if a waveform with large changes and a waveform with small changes coexist in the same block, the exponent value is determined by the waveform with large changes, and the waveform with small changes Is greatly distorted by the influence of the above.
In another conventional waveform processing apparatus described in Japanese Patent Application Publication No. 98-98, a bit string having the same length as the number of samples of the waveform data is fixedly output as compressed data. Is not so high due to the effect of the bit string, and as a result, the overall compression ratio is also limited. If an attempt is made to obtain a compression ratio above a certain level, the waveform is sharply distorted.

【0013】そのため、従来の技術において、高い圧縮
率を得ようとすると、波形上の重要で微妙な部分が失わ
れてしまう危険性が高い。 (2)前述した特開平8−160999号公報に記載さ
れた従来の波形処理装置においては、再差分処理手段に
よって、データの再現性を計算しながら、差分を取り直
す必要があり、また、前述した特開平8−123498
号公報に記載された従来の他の波形処理装置において
は、ビットストリング群に遺伝的アルゴリズムを適用し
て、ビットストリングに淘汰をかけ、評価値が比較的高
いビットストリング同士のペアを作って交叉を行い、各
ビットストリングに突然変異を与え、終了条件が満たさ
れるまでそれを繰り返す必要がある。
Therefore, in the prior art, when trying to obtain a high compression ratio, there is a high risk that important and delicate portions on the waveform are lost. (2) In the conventional waveform processing apparatus described in JP-A-8-160999, it is necessary to recalculate the difference while calculating the reproducibility of the data by the re-difference processing means. JP-A-8-123498
In another conventional waveform processing apparatus described in Japanese Patent Application Laid-Open No. H10-157, a genetic algorithm is applied to a group of bit strings, the bit strings are culled out, and a pair of bit strings having a relatively high evaluation value is formed and crossed. To mutate each bit string and repeat it until the termination condition is satisfied.

【0014】そのため、従来の技術においては、複雑で
多くの処理を実施する必要があり、回路またはプログラ
ムが複雑かつ大規模化し、それに伴って処理時間も多く
かかってしまう。
For this reason, in the conventional technology, it is necessary to perform a large number of complicated processes, and the circuit or the program is complicated and large-scale, and accordingly, a long processing time is required.

【0015】本発明の目的は、波形上の重要で微妙な部
分の欠損および歪みの発生を抑えた上で、高い圧縮率を
得ることのできる波形処理装置を提供することである。
An object of the present invention is to provide a waveform processing apparatus capable of obtaining a high compression ratio while suppressing occurrence of loss and distortion of important and delicate portions on a waveform.

【0016】本発明の他の目的は、上記目的を達成する
ための処理を単純化することにより、回路またはプログ
ラムが簡易かつ小規模ですみ、少ない処理時間で処理を
行うことを可能とする波形処理装置を提供することであ
る。
Another object of the present invention is to simplify the processing for achieving the above-mentioned object, thereby simplifying the circuit or the program, reducing the size of the circuit, and enabling the processing to be performed in a short processing time. It is to provide a processing device.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
に、本発明の波形処理装置は、原波形データを格納する
メモリと、指定されたアドレスに記憶されている原波形
データを前記メモリから読み出し格納するとともに第1
の標本値として出力する第1の記憶手段と、指定された
アドレスに記憶されている原波形データを前記メモリか
ら読み出し格納するとともに第2の標本値として出力す
る第2の記憶手段と、前記第1の標本値のアドレスと前
記第2の標本値のアドレスとの間のアドレスの波形デー
タを前記第1の標本値と前記第2の標本値とN値とから
補間処理により推測して推測波形デ−タとして出力する
補間手段と、前記補間手段から出力された推測波形デー
タと前記メモリ内の原波形データとの差が予め定められ
た誤差制限値を超えるとその旨を出力する誤差比較手段
と、前記第1の標本値のアドレスと前記第2の標本値の
アドレスとの間のアドレスに記憶されている原波形デー
タを前記メモリから読み出し、読み出された原波形デー
タに予め定められたピーク検出感度以上のピークを検出
するとその旨を出力するピーク検出手段と、初期状態で
は1を前記N値として出力し、カウントアップの指示を
入力すると現在のN値に1を加えた値を新しいN値と
し、カウントダウンの指示を入力すると現在のN値が0
の場合を除き現在のN値から1を減じた値を新しいN値
として出力するカウンタと、前記第1の標本値と前記カ
ウンタから出力されたN値とを合成して圧縮データとし
て出力するデータ合成手段と、前記メモリに記憶されて
いる原波形データから読み出すべき原波形データのアド
レスを前記第1の記憶手段に指示し、前記第1の記憶手
段に指定したアドレスから2のN乗だけ先のアドレスを
前記第2の記憶手段に指示し、前記ピーク検出手段から
ピークを検出した旨または前記誤差比較手段から推測波
形データと原波形データとの差が誤差制限値を越えた旨
が伝達されなければ前記カウンタにカウントアップの指
示を出力し前記カウンタから新しく出力されたN値に基
づいたアドレスを前記第2の記憶手段に指示し、前記ピ
ーク検出手段からピークを検出した旨または前記誤差比
較手段から推測波形データと原波形データとの差が誤差
制限値を越えた旨が伝達されると前記カウンタにカウン
トダウンの指示を出力するとともに前記データ合成手段
に圧縮データ出力の指示を伝達する制御回路とを有す
る。
In order to achieve the above object, a waveform processing apparatus according to the present invention comprises a memory for storing original waveform data and an original waveform data stored at a specified address. Read and store the first
First storage means for outputting the original waveform data stored at a specified address from the memory, and second storage means for outputting the second waveform as a second sample value; and An estimated waveform obtained by interpolating waveform data of an address between the address of the first sample value and the address of the second sample value from the first sample value, the second sample value, and the N value by interpolation processing. Interpolating means for outputting as data, and error comparing means for outputting a notice when the difference between the estimated waveform data output from the interpolating means and the original waveform data in the memory exceeds a predetermined error limit value. Reading the original waveform data stored at an address between the address of the first sampled value and the address of the second sampled value from the memory; A peak detecting means for outputting a peak when the peak is equal to or higher than the peak detection sensitivity, and outputting 1 as the N value in the initial state, and adding a value to the current N value by adding 1 to the new value when a count-up instruction is input. When the countdown instruction is input, the current N value becomes 0.
A counter that outputs a value obtained by subtracting 1 from the current N value as a new N value except for the case of (1), and data that combines the first sample value and the N value output from the counter and outputs the result as compressed data The combining means and an address of the original waveform data to be read from the original waveform data stored in the memory are instructed to the first storage means, and the address specified by the first storage means is forwarded by 2 to the Nth power. To the second storage means, and the fact that the peak is detected from the peak detection means or the fact that the difference between the estimated waveform data and the original waveform data exceeds the error limit value is transmitted from the error comparison means. If not, a count-up instruction is output to the counter, an address based on the N value newly output from the counter is instructed to the second storage means, and the peak detection means When the error detection means is notified or the error comparison means informs that the difference between the estimated waveform data and the original waveform data has exceeded the error limit value, a countdown instruction is output to the counter and the data synthesizing means is output. A control circuit for transmitting an instruction to output compressed data.

【0018】本発明は、メモリに記憶された原波形デー
タのうちあるアドレスに記憶されているデータを第1の
標本値とし、第1の標本値のアドレスとサンプリング周
期で2のN(N≧0の整数)乗倍離れたアドレスに記憶
されているデータを第2の標本値とし、第1の標本値の
アドレスと第2の標本値のアドレスとの間のアドレスの
波形データに予め定められた値を越える山または谷(ピ
ーク)が存在せず、かつ、第1の標本値のアドレスと第
2の標本値のアドレスとの間のアドレスの波形データを
前記第1の標本値と第2の標本値とN値とから補間処理
により推測し、その推測データと原波形データとの差が
予め定められた誤差制限値を越えない最大のN値を求
め、その時の第1の標本値とN値とを組み合わせ圧縮デ
ータとするようにしたものである。
According to the present invention, the data stored at a certain address in the original waveform data stored in the memory is used as a first sampled value. Data stored at addresses separated by an integer multiple of 0 is used as a second sample value, and the waveform data at an address between the address of the first sample value and the address of the second sample value is predetermined. There is no peak or valley (peak) exceeding the specified value, and the waveform data of the address between the address of the first sampled value and the address of the second sampled value is stored in the first sampled value and the second sampled value. Is estimated from the sample values and the N values by interpolation processing, and the maximum N value that does not cause the difference between the estimated data and the original waveform data to exceed a predetermined error limit value is obtained. Combine N value with compressed data It is intended.

【0019】したがって、予め定められた値を越える山
または谷の有無が存在しない最大のN値を求めることに
より、波形上の重要で微妙な部分が失われることを防
ぎ、推測データと原波形データとの差が予め定められた
誤差制限値を越えない最大のN値を求めることにより、
原波形データから圧縮データとして取り出すデータ数を
大幅に削減し、また、データのアドレスを2のN乗に限
定したことにより、最適な標本値を選択するための処理
回数を少なくし少ないビット数で圧縮デ−タのアドレス
を表すことができるとともに、データのアドレスによる
除算をシフト処理で行うことができ複雑な回路が不要と
なる。そのため、波形上で微妙な部分の欠損および歪み
の発生を抑えつつ高い圧縮率を簡易な処理で得ることが
できる。
Therefore, by determining the maximum N value having no peak or valley exceeding a predetermined value, important and delicate portions on the waveform are prevented from being lost, and the estimated data and the original waveform data are prevented from being lost. By calculating the maximum N value that does not exceed a predetermined error limit value,
The number of data to be extracted as compressed data from the original waveform data is greatly reduced, and the address of the data is limited to 2 N, so that the number of processes for selecting the optimal sample value is reduced and the number of bits is reduced. The address of the compressed data can be represented, and the division of the data by the address can be performed by the shift processing, thereby eliminating the need for a complicated circuit. Therefore, it is possible to obtain a high compression ratio by a simple process while suppressing the generation of a delicate portion and distortion on a waveform.

【0020】また、本発明の波形処理装置は、原波形デ
ータを格納するメモリと、指定されたアドレスに記憶さ
れている原波形データを前記メモリから読み出し格納す
るとともに第1の標本値として出力する第1の記憶手段
と、指定されたアドレスに記憶されている原波形データ
を前記メモリから読み出し格納するとともに第2の標本
値として出力する第2の記憶手段と、前記第1の標本値
のアドレスと前記第2の標本値のアドレスとの間のアド
レスの波形データを前記第1の標本値と前記第2の標本
値とN値とから補間処理により推測して推測波形デ−タ
として出力する補間手段と、前記補間手段から出力され
た推測波形データと前記メモリ内の原波形データとの差
が予め定められた誤差制限値を超えるとその旨を出力す
る誤差比較手段と、初期状態では1を前記N値として出
力し、カウントアップの指示を入力すると現在のN値に
1を加えた値を新しいN値とし、カウントダウンの指示
を入力すると現在のN値が0の場合を除き現在のN値か
ら1を減じた値を新しいN値として出力するカウンタ
と、前記第1の標本値と前記カウンタから出力されたN
値とを合成して圧縮データとして出力するデータ合成手
段と、前記メモリに記憶されている原波形データから読
み出すべき原波形データのアドレスを前記第1の記憶手
段に指示し、前記第1の記憶手段に指定したアドレスか
ら2のN乗だけ先のアドレスを前記第2の記憶手段に指
示し、前記誤差比較手段から推測波形データと原波形デ
ータとの差が誤差制限値を越えた旨が伝達されなければ
前記カウンタにカウントアップの指示を出力し前記カウ
ンタから新しく出力されたN値に基づいたアドレスを前
記第2の記憶手段に指示し、前記誤差比較手段から推測
波形データと原波形データとの差が誤差制限値を越えた
旨が伝達されると前記カウンタにカウントダウンの指示
を出力するとともに前記データ合成手段に圧縮データ出
力の指示を伝達する制御回路とを有する。
Further, the waveform processing apparatus of the present invention reads out and stores the memory for storing the original waveform data and the original waveform data stored at the designated address as the first sample value. First storage means, second storage means for reading out and storing the original waveform data stored at the specified address from the memory and outputting it as a second sample value, and address of the first sample value Waveform data at an address between the first sample value, the second sample value, and the N value is estimated from the first sample value, the second sample value, and the N value by interpolation processing and output as estimated waveform data. Interpolating means, and error comparing means for outputting an error when the difference between the estimated waveform data output from the interpolating means and the original waveform data in the memory exceeds a predetermined error limit value. In the initial state, 1 is output as the N value. When an instruction to count up is input, a value obtained by adding 1 to the current N value is used as a new N value. When an instruction to count down is input, the current N value is 0. A counter that outputs a value obtained by subtracting 1 from the current N value as a new N value, the first sampled value and the N output from the counter.
A data synthesizing means for synthesizing a value and outputting as compressed data; and an address of the original waveform data to be read from the original waveform data stored in the memory, instructing the first storage means, Instructs the second storage means an address which is 2N higher than the address specified by the means, and notifies the error comparing means that the difference between the estimated waveform data and the original waveform data exceeds the error limit value. If not, a count-up instruction is output to the counter, an address based on the N value newly output from the counter is instructed to the second storage means, and the estimated waveform data and original waveform data are output from the error comparison means. When it is notified that the difference exceeds the error limit value, a countdown instruction is output to the counter and a compressed data output instruction is transmitted to the data synthesizing means. And a control circuit.

【0021】本発明は、第1の標本値のアドレスと第2
の標本値のアドレスとの間のアドレスの波形データに予
め定められた値を越える山または谷(ピーク)が存在の
するかどうかを考慮せずに、第1の標本値のアドレスと
第2の標本値のアドレスとの間のアドレスの波形データ
を前記第1の標本値と第2の標本値から補間処理により
推測し、その推測データと原波形データとの差が予め定
められた誤差制限値を越えない最大のN値を求めるよう
にしたものである。
According to the present invention, the address of the first sample value and the second
Without considering whether a peak or a valley (peak) exceeding a predetermined value exists in the waveform data at an address between the address of the first sample value and the address of the second sample value. The waveform data of the address between the sample value and the address is estimated from the first sample value and the second sample value by interpolation, and the difference between the estimated data and the original waveform data is a predetermined error limit value. The maximum N value not exceeding?

【0022】したがって、伸長波形の再現性を多少犠牲
にすることにより圧縮率をさらに高くするとともに回路
構成またはプログラムを簡易にすることができる。
Therefore, by slightly sacrificing the reproducibility of the expanded waveform, the compression ratio can be further increased and the circuit configuration or the program can be simplified.

【0023】本発明の実施態様によれば、前記誤差制限
値を前記第1の標本値と前記第2の標本値との差から求
める。
According to an embodiment of the present invention, the error limit value is obtained from a difference between the first sample value and the second sample value.

【0024】本発明は、誤差制限値を第1の標本値と第
2の標本値との差から求めるようにしたものである。し
たがって、誤差が多めに許容できる波形の変化の激しい
部分での誤差制限値を大きくすることにより許容誤差を
広げ、さらに高い圧縮率を得ることができる。
According to the present invention, the error limit value is obtained from the difference between the first sample value and the second sample value. Therefore, by increasing the error limit value in a portion of a waveform where the error is large and the change of the waveform is large, the allowable error can be widened and a higher compression ratio can be obtained.

【0025】また、本発明の波形処理装置は、波形デー
タを圧縮することにより作成され標本値とN値とからな
る圧縮データを伸張して、伸長データとして出力する波
形処理装置において、入力された前記圧縮データ中の標
本値を指示されたタイミングで格納し出力する第1の標
本値記憶手段と、前記第1の標本値記憶手段の出力を指
示されたタイミングで格納し出力する第2の標本値記憶
手段と、前記圧縮データ中のN値を指示されたタイミン
グで格納し出力する第1のN値記憶手段と、前記第1の
N値記憶手段の出力を指示されたタイミングで格納し出
力する第2のN値記憶手段と、前記第1の標本値記憶手
段の出力、前記第2の標本値記憶手段の出力および前記
第2のN値記憶手段の出力を指示されたタイミングで補
間処理して伸長データとして出力する補間手段と、前記
第1の標本値記憶手段、前記第2の標本値記憶手段、前
記第1のN値記憶手段および、前記第2のN値記憶手段
に標本値またはN値を格納するタイミングを指示し、前
記補間手段に補間処理を行うタイミングを指示する制御
回路とから構成されることを特徴とする。
Further, the waveform processing apparatus of the present invention expands the compressed data created by compressing the waveform data and composed of sample values and N values, and outputs the expanded data as expanded data. First sample value storage means for storing and outputting a sample value in the compressed data at a designated timing, and second sample value storing and outputting the output of the first sample value storage means at a designated timing Value storage means, first N value storage means for storing and outputting the N value in the compressed data at a designated timing, and storing and outputting the output of the first N value storage means at a designated timing A second N-value storage means for performing the interpolation processing at the instructed timing of the output of the first sample value storage means, the output of the second sample value storage means, and the output of the second N value storage means To expand Interpolating means for outputting a sample value or an N value to the first sample value storage means, the second sample value storage means, the first N value storage means, and the second N value storage means. And a control circuit for instructing the interpolating means when to perform an interpolation process.

【0026】本発明は、圧縮データ中の連続した2組の
標本値とN値の組み合わせを格納し、格納された2組の
標本値と先に読み出された1つのN値とからの補間処理
により伸長データを作成するようにしたものである。し
たがって、簡易な回路またはプログラムにより圧縮デー
タを伸張することができる。
According to the present invention, a combination of two consecutive sets of sample values and N values in compressed data is stored, and interpolation is performed between the stored two sets of sample values and one previously read N value. Decompressed data is created by processing. Therefore, the compressed data can be expanded by a simple circuit or program.

【0027】[0027]

【発明の実施の形態】次に、本発明の実施形態について
図面を参照して詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0028】(第1の実施形態)図1は本発明の第1の
実施形態の波形処理装置のブロック図、図2は図1の波
形処理装置の動作を示すフローチャートである。
(First Embodiment) FIG. 1 is a block diagram of a waveform processing apparatus according to a first embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the waveform processing apparatus of FIG.

【0029】図1を参照すると本実施形態の波形処理装
置は、原波形データを格納するメモリ1と、制御回路9
から指定されたアドレスに記憶されている原波形データ
をメモリ1から読み出し格納するとともに第1の標本値
として出力するレジスタ2と、制御回路9から指定され
たアドレスに記憶されている原波形データをメモリ1か
ら読み出し格納するとともに第2の標本値として出力す
るレジスタ3と、第1の標本値のアドレスと第2の標本
値のアドレスとの間のアドレスにある波形データを第1
の標本値と第2の標本値とN値とから補間処理により推
測して推測波形デ−タとして出力する補間回路5と、補
間回路5から出力された推測波形データとメモリ1内の
原波形データとの差が予め定められた誤差制限値を超え
るとその旨を制御回路9に伝達する誤差比較回路6と、
第1の標本値のアドレスと第2の標本値のアドレスとの
間のアドレスに記憶されている原波形データをメモリ1
から読み出し、読み出された原波形データに予め定めら
れたピーク検出感度値以上のピークを検出するとその旨
を制御回路9に伝達するピーク検出回路8と、初期状態
では1をN値として出力し、制御回路9からカウントア
ップの指示を入力すると現在のN値に1を加えた値を新
しいN値とし、制御回路9からカウントダウンの指示を
入力すると現在のN値が0の場合を除き現在のN値から
1を減じた値を新しいN値として出力するカウンタ4
と、レジスタ2から出力された第1の標本値とカウンタ
4から出力されたN値とを合成して圧縮データとして出
力するデータ合成回路7と、メモリ1に記憶されている
原波形データから読み出すべき原波形データのアドレス
をレジスタ2に指示し、レジスタ2に指定したアドレス
から2のN乗だけ先のアドレスをレジスタ3に指示し、
ピーク検出回路8からピークを検出した旨または誤差比
較回路6から推測波形データと原波形データとの差が誤
差制限値を越えた旨が伝達されなければカウンタ4にカ
ウントアップの指示を出力しカウンタ4から新しく出力
されたN値に基づいたアドレスをレジスタ3に指示し、
ピーク検出回路8からピークを検出した旨または誤差比
較回路6から推測波形データと原波形データとの差が誤
差制限値を越えた旨が伝達されるとカウンタ4にカウン
トダウンの指示を出力するとともにデータ合成回路7に
圧縮データ出力の指示を伝達する制御回路9とから構成
される。
Referring to FIG. 1, a waveform processing apparatus according to the present embodiment includes a memory 1 for storing original waveform data, a control circuit 9
The register 2 reads out and stores the original waveform data stored at the address specified from the memory 1 and outputs it as the first sampled value, and stores the original waveform data stored at the address specified by the control circuit 9. A register 3 that reads and stores the data from the memory 1 and outputs the second sampled value as the second sampled value, and stores the waveform data at an address between the address of the first sampled value and the address of the second sampled value as the first sampled value.
An interpolation circuit 5 for inferring by interpolation processing from the sample value of the second sample value and the N value and outputting it as estimated waveform data, an estimated waveform data output from the interpolation circuit 5 and an original waveform in the memory 1. When the difference from the data exceeds a predetermined error limit value, an error comparison circuit 6 for notifying the control circuit 9 of the fact;
The original waveform data stored at an address between the address of the first sample value and the address of the second sample value is stored in the memory 1
And a peak detection circuit 8 for transmitting a peak detection sensitivity value equal to or greater than a predetermined peak detection sensitivity value to the control circuit 9 in the read original waveform data, and outputting 1 as an N value in an initial state. When a count-up instruction is input from the control circuit 9, a value obtained by adding 1 to the current N value is set as a new N value, and when a count-down instruction is input from the control circuit 9, the current N value is changed except when the current N value is 0. Counter 4 for outputting a value obtained by subtracting 1 from the N value as a new N value
And a data synthesizing circuit 7 for synthesizing the first sampled value output from the register 2 and the N value output from the counter 4 and outputting as compressed data, and reading from the original waveform data stored in the memory 1 The address of the original waveform data to be supplied is instructed to the register 2, and the address ahead of the address specified in the register 2 by N to the Nth power is instructed to the register 3.
Unless the fact that the peak is detected from the peak detection circuit 8 or the fact that the difference between the estimated waveform data and the original waveform data exceeds the error limit value is not transmitted from the error comparison circuit 6, the count-up instruction is output to the counter 4 and the counter 4 is output. 4. Instruct register 3 of the address based on the N value newly output from 4,
When a signal indicating that a peak is detected from the peak detecting circuit 8 or a signal indicating that the difference between the estimated waveform data and the original waveform data exceeds the error limit value is transmitted from the error comparing circuit 6, a countdown instruction is output to the counter 4 and the data is output. And a control circuit 9 for transmitting an instruction to output compressed data to the synthesizing circuit 7.

【0030】ここで、カウンタ4から出力されるN値は
初期状態の1から1つずつカウントアップまたはカウン
トダウンされ、N値が0だとそれ以上カウントダウンさ
れないためN値は0以上の整数となる。
Here, the N value output from the counter 4 is counted up or down one by one from the initial state of 1. If the N value is 0, the N value is not counted down any more, so the N value is an integer of 0 or more.

【0031】次に、本発明の実施形態の動作について図
2のフローチャートをを参照して詳細に説明する。
Next, the operation of the embodiment of the present invention will be described in detail with reference to the flowchart of FIG.

【0032】ここで、原波形データは既にメモリ1内に
格納されているものとする。まず、メモリ1内の先頭の
アドレスに記憶されているデータを読み出してレジスタ
2へ第1の標本値として格納する(ステップ101)。
次にカウンタ4の値Nを1にプリセットする(ステップ
102)。続いて、第1の標本値のアドレスから2のN
乗先までのアドレスのデータを順次読み出し、その間に
ピーク検出感度値を超える山または谷(ピーク)が存在
するか否かをピーク検出回路8によりチェックし(ステ
ップ103)、ピークが存在しなかった場合(ステップ
104)、第1の標本値のアドレスから2のN乗先のア
ドレスのデータをメモリ1から読み出して、レジスタ3
に第2の標本値として格納する(ステップ105)。そ
して、補間回路5により第1の標本値と第2の標本値と
の間のアドレスのデータを第1の標本値と第2の標本値
即ちレジスタ2およびレジスタ3に格納されている値と
N値とから補間により推測する(ステップ106)。
Here, it is assumed that the original waveform data has already been stored in the memory 1. First, the data stored at the first address in the memory 1 is read out and stored in the register 2 as a first sample value (step 101).
Next, the value N of the counter 4 is preset to 1 (step 102). Then, from the address of the first sampled value, N of 2
The data at the addresses up to the riding destination are sequentially read out, and a peak detection circuit 8 checks whether there is a peak or a valley (peak) exceeding the peak detection sensitivity value during that time (step 103). In this case (step 104), the data at the address of the Nth power of 2 from the address of the first sampled value is read from the memory 1,
Is stored as the second sample value (step 105). Then, the interpolation circuit 5 converts the data of the address between the first sample value and the second sample value into the first sample value and the second sample value, that is, the value stored in the register 2 and the register 3 and N It is inferred from the values by interpolation (step 106).

【0033】補間の計算式は例えば、N=2、第1の標
本値をS(0)、第2の標本値をS(4)、第1の標本
値と第2の標本値との間のアドレスのデータの推測値を
それぞれS(1)、S(2)、S(3)とし、直線補間
により計算したとすると、 S(1)=S(0)+(S(4)−S(0))/(2のN乗) S(2)=S(1)+(S(4)−S(0))/(2のN乗) S(3)=S(2)+(S(4)−S(0))/(2のN乗) で求められる。
The formula for the interpolation is, for example, N = 2, the first sampled value is S (0), the second sampled value is S (4), and the interval between the first sampled value and the second sampled value. S (1) = S (0) + (S (4) −S) where S (1) = S (0) + (S (4) −S (0)) / (2 N power) S (2) = S (1) + (S (4) -S (0)) / (2 N power) S (3) = S (2) + ( S (4) -S (0)) / (2 to the Nth power).

【0034】以上の補間方法は一例を示したにすぎず、
同じ直線補間でも様々な方法が適用でき、また、スプラ
イン補間のような曲線補間によることもできる。また、
ここで2のN乗の数による除算はシフト処理で行うこと
ができる。
The above interpolation method is merely an example,
Various methods can be applied to the same linear interpolation, and a curve interpolation such as a spline interpolation can also be used. Also,
Here, division by the number of 2 to the power of N can be performed by a shift process.

【0035】次に、ステップ106で推測した推測波形
データと、メモリ1の対応するアドレスに記憶されてい
る原波形データとを比較し(ステップ107)、推測波
形データの原波形データに対する誤差が予め定められた
誤差制限値を超えたか否かを誤差比較回路6により調べ
(ステップ108)、誤差が制限値を超えなかった場
合、第2の標本値のアドレスをもっと先にできる可能性
が有るので、制御回路9はカウンタ4にカウントアップ
の指示を出力しN値を1つカウントアップさせ、ステッ
プ103からの処理を繰り返す(ステップ109)。
Next, the estimated waveform data estimated in step 106 is compared with the original waveform data stored in the corresponding address of the memory 1 (step 107), and an error of the estimated waveform data with respect to the original waveform data is determined in advance. The error comparing circuit 6 checks whether or not the error exceeds a predetermined error limit value (step 108). If the error does not exceed the limit value, there is a possibility that the address of the second sample value can be set earlier. The control circuit 9 outputs a count-up instruction to the counter 4 to count up the N value by one, and repeats the processing from step 103 (step 109).

【0036】ステップ104においてピークが存在した
場合またはステップ108で誤差が制限値を超えた場
合、制御回路9は、カウンタ4にカウントダウンの指示
を出力しN値を1つカウントダウンさせる(ステップ1
10)。そして、制御回路9からの指示によりデータ合
成回路7はレジスタ2に格納されている第1の標本値と
N値を合成し、圧縮データとして出力する(ステップ1
11)。次に、第2の標本値を新たな第1の標本値とし
てレジスタ2に格納し、ステップ102に戻り上記の処
理を繰り返す(ステップ112)。
If there is a peak in step 104 or if the error exceeds the limit value in step 108, the control circuit 9 outputs a countdown instruction to the counter 4 to count down one N value (step 1).
10). Then, in accordance with an instruction from the control circuit 9, the data synthesizing circuit 7 synthesizes the first sample value stored in the register 2 with the N value, and outputs it as compressed data (step 1).
11). Next, the second sample value is stored in the register 2 as a new first sample value, and the process returns to step 102 to repeat the above processing (step 112).

【0037】次に本実施形態の波形処理装置を用いて8
ビット×160=1280ビットの波形データを実際に
処理した例を図3、図4および図5を用いて説明する。
Next, using the waveform processing apparatus of this embodiment,
An example in which waveform data of bits × 160 = 1280 bits are actually processed will be described with reference to FIGS. 3, 4, and 5. FIG.

【0038】図3は8ビット波形データの処理状況を数
値で示した図、図4は図3の処理により出力された圧縮
データを示した図、図5は図3の原波形データをグラフ
で表した図(図5(a))および図3の伸張データをグ
ラフで表した図(図5(b))である。
FIG. 3 is a diagram showing the processing status of the 8-bit waveform data by numerical values, FIG. 4 is a diagram showing the compressed data output by the process of FIG. 3, and FIG. 5 is a graph showing the original waveform data of FIG. FIG. 5A is a diagram (FIG. 5A), and FIG. 5B is a diagram (FIG. 5B) showing the expanded data of FIG. 3 in a graph.

【0039】ここで、図3のアドレスはメモリ1のアド
レス即ち原波形データの順番を示し、原データは原波形
データ、選択データは第1の標本値、伸張デー夕は選択
データの値とN値から直線補間により求めたもの、伸張
誤差は原データと伸張データを比較しその誤差を値で求
めたものである。また図4を参照すると、本実施形態に
より1280ビットの原データが、(8ビット(選択デ
ータ)+3ビット(N値))×34=374ビット即ち
1280ビットの原波形データから29%に圧縮されて
いることがわかる。
The address in FIG. 3 indicates the address of the memory 1, that is, the order of the original waveform data. The original data is the original waveform data, the selected data is the first sampled value, and the decompressed data is the selected data value and N. The expansion error obtained by linear interpolation from the values, and the expansion error is obtained by comparing the original data with the expansion data and calculating the error by value. Referring to FIG. 4, according to the present embodiment, the 1280-bit original data is compressed to (8 bits (selection data) +3 bits (N value)) × 34 = 374 bits, that is, 29% from the 1280-bit original waveform data. You can see that it is.

【0040】また、図5(a)の原波形データをグラフ
で表した図と図5(b)の伸長データをグラフで表した
図を比較してみると、本実施形態は原波形データが8ビ
ットデータであるという悪条件にもかかわらず29%と
いう高圧縮率を極めて再現性良く実現していることがわ
かる。
Also, comparing the graph of the original waveform data of FIG. 5A with the graph of the expanded data of FIG. 5B, the present embodiment shows that the original waveform data is It can be seen that a high compression ratio of 29% is realized with extremely high reproducibility despite the bad condition of being 8-bit data.

【0041】(第2の実施形態)次に、本発明の第2の
実施形態について図面を参照して説明する。
(Second Embodiment) Next, a second embodiment of the present invention will be described with reference to the drawings.

【0042】図6は、本発明の第2の実施形態の波形処
理装置のブロック図である。
FIG. 6 is a block diagram of a waveform processing apparatus according to a second embodiment of the present invention.

【0043】本実施形態の波形処理装置は、上記第1の
実施形態に対して誤差制御回路10を追加したものであ
る。
The waveform processing apparatus according to the present embodiment is obtained by adding an error control circuit 10 to the first embodiment.

【0044】誤差制御回路10は、レジスタ2の出力と
レジスタ3の出力との差を求め、その差がある一定値以
上の場合、その差に一定の係数を乗じた値を誤差制限値
として出力し、その差がある一定値以下の場合、予め定
められた値を誤差制限値として出力する。
The error control circuit 10 obtains the difference between the output of the register 2 and the output of the register 3 and, if the difference is greater than a certain value, outputs a value obtained by multiplying the difference by a certain coefficient as an error limit value. If the difference is smaller than a certain value, a predetermined value is output as an error limit value.

【0045】第1の実施形態では固定的に定めていた誤
差制限値を、本実施形態ではレジスタ2およびレジスタ
3の値に応じて可変的に求めるようにしたものである。
In the first embodiment, the error limit value fixedly determined in the first embodiment is variably determined according to the values of the registers 2 and 3 in the present embodiment.

【0046】本実施形態は、レジスタ2の出力とレジス
タ3の出力の差を求め、この差に予め定めた係数を乗じ
た値を誤差制限値とすることにより、波形の変化が大き
いところでは誤差の制限が緩くなり、波形の変化の小さ
いところでは誤差の制限が厳しくなるよう働く。なお、
波形の変化がある程度以下になった場合、誤差の制限が
厳しくなりすぎるので予め定めた一定値以下にならない
よう制限する。
In this embodiment, the difference between the output of the register 2 and the output of the register 3 is obtained, and a value obtained by multiplying the difference by a predetermined coefficient is used as an error limit value. , So that the error is strictly restricted where the change in the waveform is small. In addition,
If the change in the waveform falls below a certain level, the error is too severely limited, so that the error is limited so that it does not fall below a predetermined value.

【0047】本実施形態では、レジスタ2に格納されて
いる第1の標本値とレジスタ3に格納されている第2の
標本値との差が大きい場合すなわち波形の変化が大きい
場合には誤差制限値を大きくするようにしたものであ
る。しかし、波形の変化が大きい場合には誤差が多少大
きくても歪みが目立たないため実用上問題は少ない。
In this embodiment, when the difference between the first sample value stored in the register 2 and the second sample value stored in the register 3 is large, that is, when the change in the waveform is large, the error is limited. The value is increased. However, when the change in the waveform is large, the distortion is not conspicuous even if the error is slightly large, so that there is little practical problem.

【0048】したがって、波形の変化の大きい部分でも
圧縮率を高くすることができ、第1の実施形態よりさら
に圧縮率を高めることができる。
Therefore, the compression ratio can be increased even in a portion where the waveform changes greatly, and the compression ratio can be further increased as compared with the first embodiment.

【0049】(第3の実施形態)次に、本発明の第3の
実施形態について図面を参照して説明する。
(Third Embodiment) Next, a third embodiment of the present invention will be described with reference to the drawings.

【0050】図7は、本発明の第3の実施形態の波形処
理装置のブロック図である。
FIG. 7 is a block diagram of a waveform processing apparatus according to a third embodiment of the present invention.

【0051】本実施形態の波形処理装置は、図1の第1
の実施形態に対してピ−ク検出回路8を削除したもので
ある。つまり本実施形態は、機能的には図1の第1の実
施形態においてピーク検出回路8へのピーク検出感度値
を無限大にしたものと等価である。
The waveform processing apparatus according to the present embodiment is the same as the first embodiment shown in FIG.
In this embodiment, the peak detection circuit 8 is omitted from the embodiment. That is, this embodiment is functionally equivalent to the first embodiment of FIG. 1 in which the peak detection sensitivity value to the peak detection circuit 8 is set to infinity.

【0052】本実施形態の波形処理装置は、波形上の微
妙な変化を失う可能性が高い反面、回路量が少なくてす
むとともに圧縮率をさらに高めることが可能である。し
たがって、波形上の微妙な変化が重要でないような用途
に向いている。
The waveform processing apparatus according to the present embodiment has a high possibility of losing subtle changes in the waveform, but requires a small amount of circuitry and can further increase the compression ratio. Therefore, it is suitable for applications where subtle changes in waveform are not important.

【0053】(第4の実施形態)次に、本発明の第4の
実施形態について図面を参照して説明する。
(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described with reference to the drawings.

【0054】図8は、本発明の第4の実施形態の波形処
理装置のブロック図である。
FIG. 8 is a block diagram of a waveform processing apparatus according to a fourth embodiment of the present invention.

【0055】本実施形態の波形処理装置は、図6の第2
の実施形態に対してピーク検出回路8を削除したもので
ある。つまり本実施形態は、機能的には図6の第2の実
施形態においてピーク検出回路8へのピーク検出感度値
を無限大にしたものと等価である。
The waveform processing apparatus of the present embodiment uses the second
In this embodiment, the peak detection circuit 8 is omitted from the third embodiment. That is, this embodiment is functionally equivalent to the second embodiment of FIG. 6 in which the peak detection sensitivity value to the peak detection circuit 8 is set to infinity.

【0056】本実施形態の波形処理装置は、上記第3の
実施形態と同様に、波形上の微妙な変化を失う可能性が
高い反面、回路量が少なくてすむとともに圧縮率をさら
に高めることが可能である。したがって、波形上の微妙
な変化が重要でないような用途に向いている。
As in the third embodiment, the waveform processing apparatus of this embodiment has a high possibility of losing subtle changes in waveform, but requires a smaller amount of circuits and can further increase the compression ratio. It is possible. Therefore, it is suitable for applications where subtle changes in waveform are not important.

【0057】(第5の実施形態)次に、本発明の第5の
実施形態について図面を参照して説明する。
(Fifth Embodiment) Next, a fifth embodiment of the present invention will be described with reference to the drawings.

【0058】図9は、本発明の第5の実施形態の波形処
理装置のブロック図である。
FIG. 9 is a block diagram of a waveform processing apparatus according to a fifth embodiment of the present invention.

【0059】本実施形態は、上記第1〜4の実施形態に
おいて出力された圧縮データを伸長して伸長データとし
て出力するものである。
In the present embodiment, the compressed data output in the first to fourth embodiments is decompressed and output as decompressed data.

【0060】本実施形態の波形処理装置は、入力された
圧縮データ中の標本値を制御回路36から指示されたタ
イミングで格納し出力する標本レジスタ31と、標本レ
ジスタ31の出力を制御回路36から指示されたタイミ
ングで格納し出力する標本レジスタ33と、圧縮データ
中のN値を制御回路36から指示されたタイミングで格
納し出力するNレジスタ32と、Nレジスタ32の出力
を制御回路36から指示されたタイミングで格納し出力
するNレジスタ34と、標本レジスタ31の出力、標本
レジスタ33の出力およびNレジスタ34の出力を制御
回路36から指示されたタイミングで補間処理して伸長
データとして出力する補間回路35と、標本レジスタ3
1、標本レジスタ33、Nレジスタ3および、Nレジス
タ34に標本値またはN値を格納するタイミングを指示
し、補間回路35に補間処理を行うタイミングを指示す
る制御回路36とから構成される。
The waveform processing apparatus of this embodiment stores a sample value in the input compressed data at a timing instructed by the control circuit 36 and outputs the sample value. A sample register 33 for storing and outputting at the instructed timing, an N register 32 for storing and outputting the N value in the compressed data at a timing instructed by the control circuit 36, and an instruction from the control circuit 36 for outputting the N register 32 N register 34 for storing and outputting at the specified timing, and interpolation for outputting the output of the sample register 31, the output of the sample register 33, and the output of the N register 34 at the timing instructed by the control circuit 36 to output as decompressed data. Circuit 35 and sample register 3
1, a sample register 33, an N register 3, and a control circuit 36 instructing the N register 34 with a timing to store a sample value or an N value, and instructing an interpolation circuit 35 with a timing to perform an interpolation process.

【0061】次に、本実施形態の動作について図9を参
照して説明する。
Next, the operation of this embodiment will be described with reference to FIG.

【0062】まず最初に制御回路36から指示されたタ
イミングで、入力された圧縮データの内の標本値部分は
標本レジスタ31に、N値部分はNレジスタ32にそれ
ぞれ格納され、次に制御回路36により指示されたタイ
ミングで、標本レジスタ31の内容とNレジスタ32の
内容がそれぞれ標本レジスタ33およびNレジスタ34
にそれぞれ格納され、同時に次の圧縮データが同様に標
本レジスタ31およびNレジスタ32にそれぞれ格納さ
れる。そして、補間回路35では、標本レジスタ31の
値(Bとする)および標本レジスタ33の値(Aとす
る)およびNレジスタ34の値(Nとする)とから補間
処理により伸張デ−タを生成する。
First, at the timing instructed by the control circuit 36, the sample value portion of the input compressed data is stored in the sample register 31 and the N value portion is stored in the N register 32, respectively. The contents of the sample register 31 and the contents of the N register 32 are changed to the sample register 33 and the N
, Respectively, and at the same time, the next compressed data is similarly stored in the sample register 31 and the N register 32, respectively. The interpolation circuit 35 generates decompressed data by interpolation processing from the value of the sample register 31 (B), the value of the sample register 33 (A), and the value of the N register 34 (N). I do.

【0063】以下に、補間処理を直線補間、N=2、伸
張データをD(0)〜(3)としたときの処理の一例を
あげる。 D(0)=A D(1)=D(0)+((B−A)/(2のN乗)) D(2)=D(1)+((B−A)/(2のN乗)) D(3)=D(2)+((B−A)/(2のN乗)) 以上の補間方法は一例を示したにすぎず、同じ直線補間
でも様々な方法が適用でき、また、スプライン補間のよ
うな曲線補間によることもできる。
The following is an example of the processing when the interpolation processing is linear interpolation, N = 2, and the expanded data is D (0) to (3). D (0) = A D (1) = D (0) + ((BA) / (2 to the Nth power)) D (2) = D (1) + ((BA) / (2 N)) D (3) = D (2) + ((B−A) / (2 N)) The above interpolation method is merely an example, and various methods can be applied to the same linear interpolation. It can also be by curve interpolation, such as spline interpolation.

【0064】以上の処理によって1標本分の伸張処理が
終わると、標本レジスタ31の内容とNレジスタ32の
内容がそれぞれ標本レジスタ33およびNレジスタ34
にそれぞれ格納され、同時に次の圧縮データが同様に標
本レジスタ31およびNレジスタ32にそれぞれ格納さ
れ同様の処理が繰り返される。
When the decompression processing for one sample is completed by the above processing, the contents of the sample register 31 and the contents of the N register 32 are changed to the sample register 33 and the N register 34, respectively.
, And at the same time, the next compressed data is similarly stored in the sample register 31 and the N register 32, respectively, and the same processing is repeated.

【0065】上記に説明したように本実施形態は、簡易
な回路構成で圧縮データを伸長することができる。
As described above, in this embodiment, compressed data can be expanded with a simple circuit configuration.

【0066】上記第1〜第5の実施形態の波形処理装置
では、各構成要素をハード回路により構成したが各構成
要素の動作をソフトウェアにより実現してもよい。
In the waveform processing apparatuses of the first to fifth embodiments, each component is constituted by a hardware circuit, but the operation of each component may be realized by software.

【0067】[0067]

【発明の効果】以上説明したように、本発明は、下記の
ような効果を有する。 (1)第1の標本値とサンプリング周期で2のN(N≧
0の整数)乗倍離れたアドレスに記憶されているデータ
を第2の標本値とし、推測データと原波形データとの差
が予め定められた誤差制限値を越えず、かつ、第1の標
本値のアドレスと第2の標本値のアドレスとの間のアド
レスの波形データに予め定められた値を越える山または
谷(ピーク)の有無が存在しない最大のN値を求め圧縮
データを作成することにより、波形上の重要で微妙な部
分の欠損および歪みの発生を抑えた上で、高い圧縮率を
得ることができる。 (2)標本値として選択するデータのアドレスを2のN
乗に限定したため、標本値を選択する処理回数が少なく
てすむので、回路またはプログラムを簡易にすることが
できる。 (3)請求項4に記載された発明は、簡易な回路または
プログラムにより圧縮データを伸長することができる。
As described above, the present invention has the following effects. (1) N of 2 (N ≧
The data stored at addresses separated by an integer multiple of 0) is used as a second sampled value, the difference between the estimated data and the original waveform data does not exceed a predetermined error limit value, and the first sampled value is used. Calculating the maximum N value in which there is no peak or valley (peak) exceeding a predetermined value in the waveform data at an address between the address of the value and the address of the second sample value, and creating compressed data. Thereby, a high compression ratio can be obtained while suppressing occurrence of loss and distortion of important and delicate portions on the waveform. (2) The address of the data to be selected as the sample value is 2 N
Since it is limited to the power, the number of processes for selecting the sample value can be reduced, so that the circuit or the program can be simplified. (3) According to the invention described in claim 4, compressed data can be expanded by a simple circuit or a program.

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

【図1】本発明の第1の実施形態の波形処理装置のブロ
ック図である。
FIG. 1 is a block diagram of a waveform processing apparatus according to a first embodiment of the present invention.

【図2】図1の波形処理装置の動作を示すフローチャー
トである。
FIG. 2 is a flowchart showing an operation of the waveform processing device of FIG. 1;

【図3】図1の波形処理装置における8ビット波形デー
タの処理状況を数値で示した図である。
FIG. 3 is a diagram showing numerical values of a processing status of 8-bit waveform data in the waveform processing device of FIG. 1;

【図4】図3の処理により出力された圧縮データを示し
た図である。
FIG. 4 is a diagram showing compressed data output by the processing of FIG. 3;

【図5】図3の原波形データをグラフで表した図(図5
(a))および図3の伸張データをグラフで表した図
(図5(b))である。
FIG. 5 is a graph showing the original waveform data of FIG. 3 (FIG. 5);
FIG. 5A is a diagram (FIG. 5B) showing the expanded data of FIG. 3 in a graph.

【図6】本発明の第2の実施形態の波形処理装置のブロ
ック図である。
FIG. 6 is a block diagram of a waveform processing device according to a second embodiment of the present invention.

【図7】本発明の第3の実施形態の波形処理装置のブロ
ック図である。
FIG. 7 is a block diagram of a waveform processing device according to a third embodiment of the present invention.

【図8】本発明の第4の実施形態の波形処理装置のブロ
ック図である。
FIG. 8 is a block diagram of a waveform processing device according to a fourth embodiment of the present invention.

【図9】本発明の第5の実施形態の波形処理装置のブロ
ック図である。
FIG. 9 is a block diagram of a waveform processing device according to a fifth embodiment of the present invention.

【図10】従来の波形処理装置を示すブロック図(図1
0(a))および従来の波形処理装置による圧縮データ
の一例を示す図(図10(b))である。
FIG. 10 is a block diagram showing a conventional waveform processing apparatus (FIG. 1);
0 (a)) and an example of compressed data by a conventional waveform processing apparatus (FIG. 10 (b)).

【図11】従来の他の波形処理装置の動作を示すを示す
フローチャート(図11(a))および従来の他の波形
処理装置による圧縮データの一例を示す図(図11
(b))である。
11 is a flowchart showing the operation of another conventional waveform processing apparatus (FIG. 11A) and a diagram showing an example of compressed data by another conventional waveform processing apparatus (FIG. 11).
(B)).

【図12】従来の波形処理装置による伸張データをグラ
フで示した図(図12(a))および従来の他の波形処
理装置による伸張データをグラフで示した(図12
(b))である。
FIG. 12 is a graph showing decompressed data by a conventional waveform processing device in a graph (FIG. 12A) and a graph showing decompressed data by another conventional waveform processing device (FIG. 12);
(B)).

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

1 メモリ 2 レジスタ 3 レジスタ 4 カウンタ 5 補間回路 6 誤差比較回路 7 デ−タ合成回路 8 ピーク検出回路 9 制御回路 10 誤差制御回路 12 ブロック化手段 14 二進差分処理手段 16 指数決定手段 18 再差分処理手段 20 圧縮データ生成送出手段 22 ブロック最終データ記憶手段 31 標本レジスタ 32 Nレジスタ 33 標本レジスタ 34 Nレジスタ 35 補間回路 36 制御回路 101〜112 ステップ 200〜208 ステップ Reference Signs List 1 memory 2 register 3 register 4 counter 5 interpolation circuit 6 error comparison circuit 7 data synthesis circuit 8 peak detection circuit 9 control circuit 10 error control circuit 12 blocking means 14 binary difference processing means 16 exponent determination means 18 re-differential processing Means 20 Compressed data generation / transmission means 22 Block final data storage means 31 Sample register 32 N register 33 Sample register 34 N register 35 Interpolator 36 Control circuit 101-112 steps 200-208 steps

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 原波形データを格納するメモリと、 指定されたアドレスに記憶されている原波形データを前
記メモリから読み出し格納するとともに第1の標本値と
して出力する第1の記憶手段と、 指定されたアドレスに記憶されている原波形データを前
記メモリから読み出し格納するとともに第2の標本値と
して出力する第2の記憶手段と、 前記第1の標本値のアドレスと前記第2の標本値のアド
レスとの間のアドレスの波形データを前記第1の標本値
と前記第2の標本値とN値とから補間処理により推測し
て推測波形デ−タとして出力する補間手段と、 前記補間手段から出力された推測波形データと前記メモ
リ内の原波形データとの差が予め定められた誤差制限値
を超えるとその旨を出力する誤差比較手段と、 前記第1の標本値のアドレスと前記第2の標本値のアド
レスとの間のアドレスに記憶されている原波形データを
前記メモリから読み出し、読み出された原波形データに
予め定められたピーク検出感度以上のピークを検出する
とその旨を出力するピーク検出手段と、 初期状態では1を前記N値として出力し、カウントアッ
プの指示を入力すると現在のN値に1を加えた値を新し
いN値とし、カウントダウンの指示を入力すると現在の
N値が0の場合を除き現在のN値から1を減じた値を新
しいN値として出力するカウンタと、 前記第1の標本値と前記カウンタから出力されたN値と
を合成して圧縮データとして出力するデータ合成手段
と、 前記メモリに記憶されている原波形データから読み出す
べき原波形データのアドレスを前記第1の記憶手段に指
示し、前記第1の記憶手段に指定したアドレスから2の
N乗だけ先のアドレスを前記第2の記憶手段に指示し、
前記ピーク検出手段からピークを検出した旨または前記
誤差比較手段から推測波形データと原波形データとの差
が誤差制限値を越えた旨が伝達されなければ前記カウン
タにカウントアップの指示を出力し前記カウンタから新
しく出力されたN値に基づいたアドレスを前記第2の記
憶手段に指示し、前記ピーク検出手段からピークを検出
した旨または前記誤差比較手段から推測波形データと原
波形データとの差が誤差制限値を越えた旨が伝達される
と前記カウンタにカウントダウンの指示を出力するとと
もに前記データ合成手段に圧縮データ出力の指示を伝達
する制御回路とを有する波形処理装置。
1. A memory for storing original waveform data, first storage means for reading and storing the original waveform data stored at a specified address from the memory, and outputting as a first sampled value; Second storage means for reading out and storing the original waveform data stored at the assigned address from the memory and outputting it as a second sampled value; and an address of the first sampled value and a value of the second sampled value. Interpolating means for estimating the waveform data of the address between the addresses from the first sample value, the second sample value, and the N value by interpolation processing and outputting the estimated data as estimated waveform data; Error comparing means for outputting an error when the difference between the output estimated waveform data and the original waveform data in the memory exceeds a predetermined error limit value; and an address of the first sample value. And reading the original waveform data stored at an address between the address of the second sample value and the memory, and detecting a peak equal to or higher than a predetermined peak detection sensitivity in the read original waveform data. A peak detection means for outputting a message to the effect that, in the initial state, 1 is output as the N value, when a count-up instruction is input, a value obtained by adding 1 to the current N value is set as a new N value, and when a count-down instruction is input, A counter that outputs a value obtained by subtracting 1 from the current N value as a new N value except when the current N value is 0, and synthesizes the first sample value and the N value output from the counter. A data synthesizing unit for outputting as compressed data, an instruction of an address of original waveform data to be read from the original waveform data stored in the memory, to the first storage unit, 2 of N squared only previous address from the specified address and instructs the second storage means 憶 means,
Unless the fact that the peak is detected from the peak detecting means or the fact that the difference between the estimated waveform data and the original waveform data exceeds the error limit value is not transmitted from the error comparing means, the count-up instruction is output to the counter, and An address based on the N value newly output from the counter is instructed to the second storage means, and the fact that a peak has been detected by the peak detection means or the difference between the estimated waveform data and the original waveform data has been determined by the error comparison means. And a control circuit for outputting a countdown instruction to the counter when the error limit value is exceeded and transmitting a compressed data output instruction to the data synthesizing means.
【請求項2】 原波形データを格納するメモリと、 指定されたアドレスに記憶されている原波形データを前
記メモリから読み出し格納するとともに第1の標本値と
して出力する第1の記憶手段と、 指定されたアドレスに記憶されている原波形データを前
記メモリから読み出し格納するとともに第2の標本値と
して出力する第2の記憶手段と、 前記第1の標本値のアドレスと前記第2の標本値のアド
レスとの間のアドレスの波形データを前記第1の標本値
と前記第2の標本値とN値とから補間処理により推測し
て推測波形デ−タとして出力する補間手段と、 前記補間手段から出力された推測波形データと前記メモ
リ内の原波形データとの差が予め定められた誤差制限値
を超えるとその旨を出力する誤差比較手段と、 初期状態では1を前記N値として出力し、カウントアッ
プの指示を入力すると現在のN値に1を加えた値を新し
いN値とし、カウントダウンの指示を入力すると現在の
N値が0の場合を除き現在のN値から1を減じた値を新
しいN値として出力するカウンタと、 前記第1の標本値と前記カウンタから出力されたN値と
を合成して圧縮データとして出力するデータ合成手段
と、 前記メモリに記憶されている原波形データから読み出す
べき原波形データのアドレスを前記第1の記憶手段に指
示し、前記第1の記憶手段に指定したアドレスから2の
N乗だけ先のアドレスを前記第2の記憶手段に指示し、
前記誤差比較手段から推測波形データと原波形データと
の差が誤差制限値を越えた旨が伝達されなければ前記カ
ウンタにカウントアップの指示を出力し前記カウンタか
ら新しく出力されたN値に基づいたアドレスを前記第2
の記憶手段に指示し、前記誤差比較手段から推測波形デ
ータと原波形データとの差が誤差制限値を越えた旨が伝
達されると前記カウンタにカウントダウンの指示を出力
するとともに前記データ合成手段に圧縮データ出力の指
示を伝達する制御回路とを有する波形処理装置。
2. A memory for storing original waveform data, first storage means for reading and storing the original waveform data stored at a specified address from the memory, and outputting as a first sampled value; Second storage means for reading out and storing the original waveform data stored at the assigned address from the memory and outputting it as a second sampled value; and an address of the first sampled value and a value of the second sampled value. Interpolating means for estimating the waveform data of the address between the addresses from the first sample value, the second sample value, and the N value by interpolation processing and outputting the estimated data as estimated waveform data; Error comparing means for outputting the difference between the output estimated waveform data and the original waveform data in the memory when the difference exceeds a predetermined error limit value; When a count-up instruction is input, a value obtained by adding 1 to the current N value is set as a new N value. When a count-down instruction is input, a value is set to 1 from the current N value except when the current N value is 0. A counter that outputs a value obtained by subtracting the value as a new N value; a data synthesizing unit that synthesizes the first sample value and the N value output from the counter and outputs the result as compressed data; The address of the original waveform data to be read out from the original waveform data stored is instructed to the first storage means, and the address 2 N ahead of the address specified in the first storage means is stored in the second storage means. Instruct,
If the error comparing means does not notify that the difference between the estimated waveform data and the original waveform data has exceeded the error limit value, a count-up instruction is output to the counter, and the counter based on the N value newly output from the counter. Address to the second
When the error comparison means informs that the difference between the estimated waveform data and the original waveform data has exceeded the error limit value, a countdown instruction is output to the counter and the data synthesizing means is output. And a control circuit for transmitting an instruction to output compressed data.
【請求項3】 前記誤差制限値を前記第1の標本値と前
記第2の標本値との差から求める請求項1または請求項
2記載の波形処理装置。
3. The waveform processing apparatus according to claim 1, wherein the error limit value is obtained from a difference between the first sample value and the second sample value.
【請求項4】 波形データを圧縮することにより作成さ
れ標本値とN値とからなる圧縮データを伸張して、伸長
データとして出力する波形処理装置において、 入力された前記圧縮データ中の標本値を指示されたタイ
ミングで格納し出力する第1の標本値記憶手段と、 前記第1の標本値記憶手段の出力を指示されたタイミン
グで格納し出力する第2の標本値記憶手段と、 前記圧縮データ中のN値を指示されたタイミングで格納
し出力する第1のN値記憶手段と、 前記第1のN値記憶手段の出力を指示されたタイミング
で格納し出力する第2のN値記憶手段と、 前記第1の標本値記憶手段の出力、前記第2の標本値記
憶手段の出力および前記第2のN値記憶手段の出力を指
示されたタイミングで補間処理して伸長データとして出
力する補間手段と、 前記第1の標本値記憶手段、前記第2の標本値記憶手
段、前記第1のN値記憶手段および、前記第2のN値記
憶手段に標本値またはN値を格納するタイミングを指示
し、前記補間手段に補間処理を行うタイミングを指示す
る制御回路とから構成されることを特徴とする波形処理
装置。
4. A waveform processing apparatus for expanding compressed data formed by compressing waveform data and comprising sample values and N values, and outputting the expanded data as expanded data, wherein a sample value in the input compressed data is First sample value storage means for storing and outputting at the instructed timing; second sample value storage means for storing and outputting the output of the first sample value storage means at the instructed timing; First N-value storage means for storing and outputting the N value in the specified timing, and second N value storage means for storing and outputting the output of the first N-value storage means at the specified timing Interpolating the output of the first sample value storage means, the output of the second sample value storage means, and the output of the second N value storage means at designated timings and outputting as decompressed data means A timing for storing a sample value or an N value in the first sample value storage means, the second sample value storage means, the first N value storage means, and the second N value storage means. And a control circuit for instructing the interpolation means to perform an interpolation process.
JP9026764A 1997-02-10 1997-02-10 Wave processing device Expired - Lifetime JP2956636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9026764A JP2956636B2 (en) 1997-02-10 1997-02-10 Wave processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9026764A JP2956636B2 (en) 1997-02-10 1997-02-10 Wave processing device

Publications (2)

Publication Number Publication Date
JPH10222344A true JPH10222344A (en) 1998-08-21
JP2956636B2 JP2956636B2 (en) 1999-10-04

Family

ID=12202363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9026764A Expired - Lifetime JP2956636B2 (en) 1997-02-10 1997-02-10 Wave processing device

Country Status (1)

Country Link
JP (1) JP2956636B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7877184B2 (en) * 2006-06-28 2011-01-25 Toyota Jidosha Kabushiki Kaisha Control apparatus and control method for hybrid vehicle
CN109547030A (en) * 2018-11-29 2019-03-29 福州大学 A kind of random demodulation method of sampling based on pulsewidth modulation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7877184B2 (en) * 2006-06-28 2011-01-25 Toyota Jidosha Kabushiki Kaisha Control apparatus and control method for hybrid vehicle
CN109547030A (en) * 2018-11-29 2019-03-29 福州大学 A kind of random demodulation method of sampling based on pulsewidth modulation
CN109547030B (en) * 2018-11-29 2021-08-31 福州大学 Random demodulation sampling method based on pulse width modulation

Also Published As

Publication number Publication date
JP2956636B2 (en) 1999-10-04

Similar Documents

Publication Publication Date Title
JPH04223717A (en) Method for data compression, method for selection of system and dynamic model, and system
JP4814291B2 (en) Data compression apparatus and method
JP5251799B2 (en) Data processing apparatus and data processing method
US6900747B2 (en) Method of compressing lookup table for reducing memory, non-linear function generating apparatus having lookup table compressed using the method, and non-linear function generating method
US5832037A (en) Method of compressing and expanding data
JP2956636B2 (en) Wave processing device
US6915319B1 (en) Method and apparatus for interpolating digital signal
US5974436A (en) Execution processor for carrying out power calculation
JP2509039B2 (en) Vector codebook quantizer
JP3179588B2 (en) Data encoding apparatus and method
JPH08186823A (en) Coding device and method
JPS5818824B2 (en) Fukushima Shingouno Fugoukahoushiki
JPH0983809A (en) Compression method for color image signal, image coding decoding device and image processing system
JPH104551A (en) Image processing unit, method for the unit and storage medium storing the method
JP2021174472A (en) Storage system
JP3603070B2 (en) Compressed code generation method and compressed code decompression method
JP4011015B2 (en) LUT encoding method, LUT encoding apparatus, and LUT cascade logic circuit
JP4524501B2 (en) Encoding system, encoding method, encoding program, decoding system, decoding method, and decoding program
JP6303636B2 (en) Image processing apparatus and image processing method
JPH0936749A (en) Coding decoding device and coding method used for it
JP2729165B2 (en) Image processing apparatus and processing method thereof
JPH0418681A (en) Picture reduction/enlargement pattern generating circuit
JP2003348359A (en) Color image compressing apparatus and method therefor
JP3204441B2 (en) Code error inserter
JP2002171412A (en) Simd type information processing apparatus provided with x-branch tree instruction