JPH05273243A - Waveform measuring device - Google Patents

Waveform measuring device

Info

Publication number
JPH05273243A
JPH05273243A JP6720592A JP6720592A JPH05273243A JP H05273243 A JPH05273243 A JP H05273243A JP 6720592 A JP6720592 A JP 6720592A JP 6720592 A JP6720592 A JP 6720592A JP H05273243 A JPH05273243 A JP H05273243A
Authority
JP
Japan
Prior art keywords
data
conversion
waveform
processing unit
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6720592A
Other languages
Japanese (ja)
Inventor
Masakazu Minae
正和 薬袋
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP6720592A priority Critical patent/JPH05273243A/en
Publication of JPH05273243A publication Critical patent/JPH05273243A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To increase utilization efficiency of an external memory by compressing measurement data in a waveform measuring device. CONSTITUTION:This measuring device is provided with an A/D conversion part 1 for converting measurement waveform to a digital signal, an acquisition RAM 2 for storing the output data of the A/D conversion part 1 as a measurement data a display processing part 3 for processing the measurement data which is stored in the acquisition RAM 2 to a waveform data status which can be displayed, a display 4 for displaying the waveform data which is processed by the display processing part, and a first histogram processing part 7 for obtaining the level frequency distribution of the output data of the A/D conversion part 1. Furthermore, it is also provided with a second histogram processing part 8 for sorting the level frequency distribution of the first histogram processing part 7 in the order of frequency, a re-coding part 9 for creating a conversion map by re-coding the processing result of the second histogram processing part 8 and then converting the measurement data which is stored in the acquisition RAM 2 to an optimum bit length code data based on a conversion map, and an external memory 6 for storing the optimum bit length code data which is converted by the re-coding part 9 and the conversion map.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は波形測定装置に関し、更
に詳しくは、A/D変換器を用いた波形測定装置におい
て外部メモリに測定データを格納する場合の測定データ
の圧縮に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform measuring apparatus, and more particularly to compression of measured data when the measured data is stored in an external memory in the waveform measuring apparatus using an A / D converter.

【0002】[0002]

【従来の技術】図6は従来の波形測定装置の一例のブロ
ック図である。図において、1は測定波形をディジタル
信号に変換するA/D変換部であり、該A/D変換部1
の出力データは測定データとしてアクイジションRAM
2に格納される。該アクイジションRAM2に格納され
た測定データは表示処理部3でCRT等の表示部4に表
示できる波形データの形態に処理される。CPU5はア
クイジションRAM2に格納された測定データをICカ
ード等の外部メモリ6に転送出力する機能を有してい
る。
2. Description of the Related Art FIG. 6 is a block diagram of an example of a conventional waveform measuring apparatus. In the figure, reference numeral 1 is an A / D converter for converting a measured waveform into a digital signal.
Output data of the acquisition RAM as measurement data
Stored in 2. The measurement data stored in the acquisition RAM 2 is processed by the display processing unit 3 into a form of waveform data that can be displayed on the display unit 4 such as a CRT. The CPU 5 has a function of transferring and outputting the measurement data stored in the acquisition RAM 2 to an external memory 6 such as an IC card.

【0003】ところで、従来のこのような構成における
外部メモリ6への測定データの転送は、アクイジション
RAM2に格納された測定データをそのまま転送出力す
ることが行われていた。
By the way, in the conventional transfer of the measurement data to the external memory 6 having such a configuration, the measurement data stored in the acquisition RAM 2 is transferred and output as it is.

【0004】[0004]

【発明が解決しようとする課題】このために、測定デー
タ長の増大に比例して、外部メモリのデータ記憶容量と
して大容量が必要になる。そして、データ記憶容量が一
定の場合、格納可能な測定波形数は、データ長の増大に
反して少なくなってしまうという問題がある。
For this reason, a large capacity is required as the data storage capacity of the external memory in proportion to the increase in the measured data length. When the data storage capacity is constant, there is a problem that the number of measurement waveforms that can be stored decreases as the data length increases.

【0005】本発明は、このような問題点に鑑みてなさ
れたものであり、その目的は、測定データを圧縮するこ
とにより外部メモリの利用効率を高めることにある。
The present invention has been made in view of such problems, and an object thereof is to improve the utilization efficiency of an external memory by compressing measurement data.

【0006】[0006]

【課題を解決するための手段】このような課題を解決す
る本発明の波形測定装置は、測定波形をディジタル信号
に変換するA/D変換部と、該A/D変換部の出力デー
タを測定データとして格納するアクイジションRAM
と、該アクイジションRAMに格納された測定データを
表示可能な波形データの形態に処理する表示処理部と、
該表示処理部で処理された波形データを表示する表示部
と、前記A/D変換部の出力データのレベル頻度分布を
求める第1のヒストグラム処理部と、該第1のヒストグ
ラム処理部のレベル頻度分布を頻度順にソートする第2
のヒストグラム処理部と、該第2のヒストグラム処理部
の処理結果を再コード化することにより変換マップを作
成し、前記アクイジションRAMに格納された測定デー
タを該変換マップに基づいて最適ビット長コードデータ
に変換する再コード化部と、該再コード化部で変換され
た最適ビット長コードデータ及び変換マップを格納する
外部メモリ、とで構成されたことを特徴とするものであ
る。
A waveform measuring apparatus of the present invention which solves such a problem measures an A / D conversion section for converting a measured waveform into a digital signal and output data of the A / D conversion section. Acquisition RAM to store as data
And a display processing unit for processing the measurement data stored in the acquisition RAM into a form of displayable waveform data,
A display unit that displays the waveform data processed by the display processing unit, a first histogram processing unit that obtains a level frequency distribution of output data of the A / D conversion unit, and a level frequency of the first histogram processing unit Second sort distribution by frequency
Of the histogram processing unit and the second histogram processing unit to recode the conversion map to create a conversion map, and the measured data stored in the acquisition RAM is used as the optimum bit length code data based on the conversion map. The re-encoding unit for converting into the following, and an external memory for storing the optimum bit length code data converted by the re-encoding unit and the conversion map are characterized by being configured.

【0007】[0007]

【作用】A/D変換部で変換された波形データはレベル
のヒストグラムデータに基づいて高速に効率よくデータ
圧縮され、外部メモリに格納される。
The waveform data converted by the A / D converter is efficiently compressed at high speed based on the level histogram data and stored in the external memory.

【0008】これにより、外部メモリを有効に利用で
き、大量の測定波形データを格納できる。
As a result, the external memory can be effectively used and a large amount of measured waveform data can be stored.

【0009】[0009]

【実施例】以下、図面を参照して、本発明の実施例を詳
細に説明する。図1は本発明の一実施例のブロック図で
あり、図6と共通する部分には同一符号を付けて、それ
らの再説明は省略する。図において、A/D変換部1の
出力データは第1のヒストグラム処理部7にも加えられ
ている。該第1のヒストグラム処理部7はA/D変換部
1のあるデータ長にわたっての出力データのレベル頻度
分布を求め、その結果はCPU5及び第2のヒストグラ
ム処理部8に加えられている。第1のヒストグラム処理
部7には、A/D変換部1の変換ビット数に対応した数
のカウンタが設けられている。例えば、A/D変換部1
として8ビット構成を用いる場合には256個のカウン
タを設けておき、各カウンタは100Kバイト以上のデ
ータ長に対応するために4バイト構成とする。第2のヒ
ストグラム処理部8は第1のヒストグラム処理部7のレ
ベル頻度分布を頻度順にソートし、その結果をCPU5
に出力する。9は再コード化部であり、CPU5と外部
メモリ6の間に接続されるとともに、アクイジションR
AM2の出力端子も接続されている。該再コード化部9
は、第2のヒストグラム処理部8の処理結果を再コード
化し変換マップとして格納するとともに、アクイジショ
ンRAM2に格納された測定データを該変換マップに基
づいて最適ビット長コードデータに変換する。該再コー
ド化部9で変換された最適ビット長コードデータ及び変
換マップは外部メモリ6に格納される。CPU5には、
CPU5の一連の処理を実行するために必要なプログラ
ムを格納するROM10や、各種のデータを一時的に格
納するRAM11も接続されている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, in which parts common to those in FIG. In the figure, the output data of the A / D conversion unit 1 is also added to the first histogram processing unit 7. The first histogram processing section 7 obtains a level frequency distribution of output data over a certain data length of the A / D conversion section 1, and the result is added to the CPU 5 and the second histogram processing section 8. The first histogram processing unit 7 is provided with a number of counters corresponding to the conversion bit number of the A / D conversion unit 1. For example, the A / D converter 1
When an 8-bit configuration is used, 256 counters are provided, and each counter has a 4-byte configuration to support a data length of 100 Kbytes or more. The second histogram processing unit 8 sorts the level frequency distribution of the first histogram processing unit 7 in frequency order, and the result is sorted by the CPU 5
Output to. Reference numeral 9 is a re-encoding unit, which is connected between the CPU 5 and the external memory 6 and also has an acquisition R.
The output terminal of AM2 is also connected. The recoding unit 9
Recodes the processing result of the second histogram processing unit 8 and stores it as a conversion map, and also converts the measurement data stored in the acquisition RAM 2 into optimum bit length code data based on the conversion map. The optimum bit length code data and the conversion map converted by the re-encoding unit 9 are stored in the external memory 6. CPU5 has
A ROM 10 that stores a program required to execute a series of processes of the CPU 5 and a RAM 11 that temporarily stores various data are also connected.

【0010】このような構成における動作を説明する。
A/D変換部1からアクイジションRAM2への測定デ
ータの書き込みは何等かの信号をトリガとして開始さ
れ、測定データは図2のようにアクイジションRAM2
に格納される。
The operation in such a configuration will be described.
The writing of the measurement data from the A / D conversion unit 1 to the acquisition RAM 2 is started by using some signal as a trigger, and the measurement data is acquired as shown in FIG.
Stored in.

【0011】該測定データの書き込み開始に同期して第
1のヒストグラム処理部7も処理を開始し、該当するレ
ベルが出力される毎にそのレベルに対応したカウンタの
カウントを順次+1する。これらの処理を予め決められ
たデータ回数繰り返す。この結果、第1のヒストグラム
処理部7のカウントデータは図3のようになる。
The first histogram processing section 7 also starts processing in synchronization with the start of writing of the measurement data, and every time a corresponding level is output, the count of the counter corresponding to that level is sequentially incremented by one. These processes are repeated a predetermined number of times. As a result, the count data of the first histogram processing unit 7 becomes as shown in FIG.

【0012】アクイジションRAM2に格納された測定
データを外部メモリ6に出力するのにあたって第2のヒ
ストグラム処理部8が起動され、第1のヒストグラム処
理部7の処理結果をレベル頻度回数の多い順に並べるソ
ート処理が実行される。図4にその結果の一例を示す。
該結果に対して、出現頻度の高いレベルに新たに最小ビ
ットコードを付与し、それ以後は頻度が低くなるのに従
ってビット長を長くしながら全てのレベルに新しいビッ
トコードを与える。このようにして得られる図5のよう
なコード変換マップを再コード化部9に入力する。
When outputting the measurement data stored in the acquisition RAM 2 to the external memory 6, the second histogram processing unit 8 is activated, and the processing results of the first histogram processing unit 7 are arranged in descending order of the level frequency. The process is executed. FIG. 4 shows an example of the result.
With respect to the result, a minimum bit code is newly added to a level having a high appearance frequency, and thereafter, a new bit code is given to all levels while increasing the bit length as the frequency becomes lower. The code conversion map thus obtained as shown in FIG. 5 is input to the recoding unit 9.

【0013】アクイジションRAM2に格納された測定
データは、再コード化部9でコード変換マップに基づい
て最適ビット長コードに変換されてデータ圧縮処理が施
された後、外部メモリ6に格納される。なお、変換マッ
プも最後に外部メモリ6に格納され、外部メモリ6に格
納された圧縮データを元のデータ形態に復元してアクイ
ジションRAM2に再格納するときに用いられる。
The measurement data stored in the acquisition RAM 2 is converted into an optimum bit length code by the recoding unit 9 based on the code conversion map and subjected to data compression processing, and then stored in the external memory 6. The conversion map is also stored in the external memory 6 at the end, and is used when the compressed data stored in the external memory 6 is restored to the original data form and stored again in the acquisition RAM 2.

【0014】外部メモリ6に格納された圧縮データを復
元してアクイジションRAM2に再格納するのにあたっ
ては、外部メモリ6に格納されている変換マップを再コ
ード化部9に再ロードし、外部メモリ6に格納された圧
縮データを再コード化部9に入力してデータ形態の復元
処理を実行する。
When restoring the compressed data stored in the external memory 6 and re-storing it in the acquisition RAM 2, the conversion map stored in the external memory 6 is reloaded into the re-coding unit 9 and the external memory 6 is loaded. The compressed data stored in is input to the re-encoding unit 9 to execute the data format decompression process.

【0015】なお、上述実施例では外部メモリがICカ
ードの例を説明したが、フロッピーディスクやハードデ
ィスクでもよく、ネットワークされたものでもよい。
Although the external memory is an IC card in the above embodiment, it may be a floppy disk or hard disk, or may be a networked one.

【0016】[0016]

【発明の効果】以上詳細に説明したように、本発明によ
れば、以下のような効果が得られる。すなわち、A/D
変換部で変換された波形データをレベルのヒストグラム
データに基づいてデータ圧縮しているので高速に効率よ
くデータ圧縮が行え、外部メモリを有効に利用でき、大
量の測定波形データを格納できる。
As described in detail above, according to the present invention, the following effects can be obtained. That is, A / D
Since the waveform data converted by the converter is data-compressed based on the level histogram data, the data can be compressed efficiently at high speed, the external memory can be effectively used, and a large amount of measured waveform data can be stored.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1のアクイジションRAM2への測定データ
の書き込み例図である。
FIG. 2 is an example diagram of writing measurement data to an acquisition RAM 2 in FIG.

【図3】図1の第1のヒストグラム処理部7のカウント
データ例図である。
FIG. 3 is an exemplary diagram of count data of a first histogram processing unit 7 in FIG.

【図4】図1の第2のヒストグラム処理部8のソート処
理例図である。
FIG. 4 is a diagram showing an example of sorting processing by a second histogram processing unit 8 in FIG.

【図5】図1のコード変換マップ例図である。5 is an example diagram of a code conversion map of FIG.

【図6】従来の波形測定装置の一例のブロック図であ
る。
FIG. 6 is a block diagram of an example of a conventional waveform measuring device.

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

1 A/D変換部 2 アクイジションRAM 3 表示処理部 4 CRT(表示部) 5 CPU 6 外部メモリ 7 第1ヒストグラム処理部 8 第2ヒストグラム処理部 9 再コード化部 10 ROM 11 RAM 1 A / D conversion unit 2 Acquisition RAM 3 Display processing unit 4 CRT (display unit) 5 CPU 6 External memory 7 First histogram processing unit 8 Second histogram processing unit 9 Recoding unit 10 ROM 11 RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 測定波形をディジタル信号に変換するA
/D変換部と、 該A/D変換部の出力データを測定データとして格納す
るアクイジションRAMと、 該アクイジションRAMに格納された測定データを表示
可能な波形データの形態に処理する表示処理部と、 該表示処理部で処理された波形データを表示する表示部
と、 前記A/D変換部の出力データのレベル頻度分布を求め
る第1のヒストグラム処理部と、 該第1のヒストグラム処理部のレベル頻度分布を頻度順
にソートする第2のヒストグラム処理部と、 該第2のヒストグラム処理部の処理結果を再コード化す
ることにより変換マップを作成し、前記アクイジション
RAMに格納された測定データを該変換マップに基づい
て最適ビット長コードデータに変換する再コード化部
と、 該再コード化部で変換された最適ビット長コードデータ
及び変換マップを格納する外部メモリ、とで構成された
ことを特徴とする波形測定装置。
1. A for converting a measured waveform into a digital signal
An A / D conversion unit, an acquisition RAM that stores output data of the A / D conversion unit as measurement data, a display processing unit that processes the measurement data stored in the acquisition RAM into a form of waveform data that can be displayed, A display unit that displays the waveform data processed by the display processing unit, a first histogram processing unit that obtains a level frequency distribution of output data of the A / D conversion unit, and a level frequency of the first histogram processing unit A second histogram processing unit that sorts the distribution in order of frequency, and a conversion map is created by recoding the processing result of the second histogram processing unit, and the measurement data stored in the acquisition RAM is converted into the conversion map. A re-encoding unit for converting into optimum bit length code data based on the above, and an optimum bit length code data converted by the re-encoding unit And an external memory for storing a conversion map, and a waveform measuring device.
JP6720592A 1992-03-25 1992-03-25 Waveform measuring device Pending JPH05273243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6720592A JPH05273243A (en) 1992-03-25 1992-03-25 Waveform measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6720592A JPH05273243A (en) 1992-03-25 1992-03-25 Waveform measuring device

Publications (1)

Publication Number Publication Date
JPH05273243A true JPH05273243A (en) 1993-10-22

Family

ID=13338180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6720592A Pending JPH05273243A (en) 1992-03-25 1992-03-25 Waveform measuring device

Country Status (1)

Country Link
JP (1) JPH05273243A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998044637A1 (en) * 1997-03-28 1998-10-08 Sony Corporation Data coding method and device, data decoding method and device, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998044637A1 (en) * 1997-03-28 1998-10-08 Sony Corporation Data coding method and device, data decoding method and device, and recording medium
US6332043B1 (en) 1997-03-28 2001-12-18 Sony Corporation Data encoding method and apparatus, data decoding method and apparatus and recording medium

Similar Documents

Publication Publication Date Title
CN107807982B (en) Consistency checking method and device for heterogeneous database
KR920004856A (en) Event-limited inspection architecture
KR100422132B1 (en) cpu task occupation ratio testing equipment of the realtime system
KR970062942A (en) Compression Method and System of Structured Data
JP2016046602A (en) Compression program, compression apparatus, compression method, decompression program, decompression apparatus, and decompression method
US5442351A (en) Data compression method and apparatus for waveforms having recurring features
WO2002052731A3 (en) System and method for compressing and decompressing data in real time
JPH05273243A (en) Waveform measuring device
JPH0587834A (en) Waveform analyzer
CN108874994A (en) A kind of piecemeal reads the method, apparatus and computer storage medium of data
US6690491B1 (en) Image processing apparatus for overlapping bit map data and vector data
JP4719068B2 (en) Integrated circuit inspection equipment
JP2985748B2 (en) Waveform measuring instrument
JP2003014784A (en) Digital data processing method, processor, and processing program
JPH02108119A (en) Data compressing device
JP3191857B2 (en) Simulation execution device and data compression method thereof
JPH06290021A (en) Method for compressing source program
EP0265529A1 (en) Image processing apparatus
JP4374817B2 (en) Method for compressing resolution of waveform data in waveform display device
JPH05151366A (en) Waveform display device
JP2002544724A (en) Method and apparatus for compressing and decompressing data
JPH09128212A (en) Method and device for compressing data on bill information
JPH07200809A (en) Compressing/restoring method for coordinate value data
CN117671044A (en) Image processing method, device, electronic equipment and medium
JPH0633516Y2 (en) Envelope approximation device