JPH1138045A - Digital oscilloscope - Google Patents

Digital oscilloscope

Info

Publication number
JPH1138045A
JPH1138045A JP19384997A JP19384997A JPH1138045A JP H1138045 A JPH1138045 A JP H1138045A JP 19384997 A JP19384997 A JP 19384997A JP 19384997 A JP19384997 A JP 19384997A JP H1138045 A JPH1138045 A JP H1138045A
Authority
JP
Japan
Prior art keywords
data
memory
raster
processing device
stored
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
JP19384997A
Other languages
Japanese (ja)
Other versions
JP3646839B2 (en
Inventor
Tetsuya Shigeno
哲哉 重野
Shigeru Takezawa
茂 竹澤
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 JP19384997A priority Critical patent/JP3646839B2/en
Publication of JPH1138045A publication Critical patent/JPH1138045A/en
Application granted granted Critical
Publication of JP3646839B2 publication Critical patent/JP3646839B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】 【課題】 複数チャンネルやズーム機能を用いる場合で
も処理速度が一定のデジタルオシロスコープを提供する
こと。 【解決手段】 サンプリングデータが格納されているメ
モリ10と、このメモリに格納されたサンプリングデー
タについて、P−P圧縮機能等のデータ圧縮処理をする
データ処理装置20と、このデータ処理装置で圧縮され
たデータを格納する表示メモリ40と、この表示メモリ
に格納されたデータを読みだしてCRTに表示する表示
コントロール装置30とを有するデジタルオシロスコー
プにおいて、前記データ処理装置で検出された最大値と
最小値から直線補間されたデータをラスタ毎に順次書き
込むビットマップメモリ50を設け、このビットマップ
メモリに生成された画像データを前記データ処理装置に
よって表示メモリに書き込むことを特徴としている。
(57) [Summary] [PROBLEMS] To provide a digital oscilloscope having a constant processing speed even when a plurality of channels and a zoom function are used. SOLUTION: A memory 10 in which sampling data is stored, a data processing device 20 for performing data compression processing such as a PP compression function on the sampling data stored in the memory, A digital oscilloscope having a display memory 40 for storing data stored therein and a display control device 30 for reading data stored in the display memory and displaying the data on a CRT, the maximum value and the minimum value detected by the data processing device. A bitmap memory 50 for sequentially writing data linearly interpolated from the data for each raster, and the image data generated in the bitmap memory is written to a display memory by the data processing device.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、時系列データを表
示するデジタルオシロスコープに関し、特に表示データ
生成回路におけるデータ転送やデータの最大値と最小値
を検出してその間を直線補間する機能の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital oscilloscope for displaying time-series data, and more particularly to an improvement in a data transfer function in a display data generation circuit and a function of detecting a maximum value and a minimum value of data and linearly interpolating between them. .

【0002】[0002]

【従来の技術】デジタルオシロスコープでは、例えば特
開平7−128371号公報に開示されているように、
データの最大値と最小値を検出してその間を直線補間す
るP−P圧縮機能を有している。図6は、従来装置の構
成ブロック図である。図において、メモリ10には、サ
ンプリングデータが格納されている。データ処理装置2
0は、メモリ10に格納されたサンプリングデータにつ
いて、P−P圧縮機能等のデータ圧縮処理をして、表示
メモリ40に圧縮されたデータを格納する。表示コント
ロール装置30は、表示メモリ40に格納されたデータ
を読みだしてCRTに表示している。
2. Description of the Related Art In a digital oscilloscope, for example, as disclosed in Japanese Patent Laid-Open No. 7-128371,
It has a PP compression function that detects the maximum value and the minimum value of the data and linearly interpolates between them. FIG. 6 is a configuration block diagram of a conventional device. In the figure, a memory 10 stores sampling data. Data processing device 2
0 performs a data compression process such as a PP compression function on the sampling data stored in the memory 10 and stores the compressed data in the display memory 40. The display control device 30 reads data stored in the display memory 40 and displays the data on a CRT.

【0003】データ処理装置20でデータ圧縮している
のは、表示メモリ40は表示コントロール装置30から
常に読みだされているので、データ処理装置20がビッ
トマップデータで表示メモリ40に書き込む機会が少な
くなっている為である。表示メモリ40に書き込まれた
圧縮データは、表示コントロール装置30でビットマッ
プデータを生成して、CRTに表示をしている。このよ
うにして、表示メモリ40に書き込むデータを圧縮しな
がら、CRTに必要な表示を行っている。
The data compression performed by the data processing device 20 is because the display memory 40 is always read from the display control device 30, so that the data processing device 20 rarely writes the bitmap data to the display memory 40. It is because it has become. The display control device 30 generates bitmap data of the compressed data written in the display memory 40 and displays it on a CRT. In this way, the display necessary for the CRT is performed while compressing the data to be written to the display memory 40.

【0004】図7は、P−P圧縮機能の説明図で、
(A)は単調増加波形、(B)は凸凹の波形に対する補
間を説明している。表示器がCRT等のラスタスキャン
型のディスプレイの場合には、1ラスタに相当するデー
タ毎にP−P圧縮している。図において、データX1〜
X8の波形部分がメモリ10から送られるサンプリング
データで、ラスタとの対応も合わせて表示している。波
形部分の右側の矩形領域は、表示メモリ40に書き込ま
れる内容を画面表示と対応させて表したものである。
FIG. 7 is an explanatory diagram of a PP compression function.
(A) illustrates the interpolation for the monotonically increasing waveform, and (B) illustrates the interpolation for the uneven waveform. When the display is a raster scan type display such as a CRT, the data is subjected to PP compression for each data corresponding to one raster. In the figure, data X1 ~
The waveform portion of X8 is sampling data sent from the memory 10 and is also displayed in correspondence with the raster. The rectangular area on the right side of the waveform portion represents the content written to the display memory 40 in correspondence with the screen display.

【0005】単調増加波形では、ラスタ1における最小
値X1と最大値X4が存在し、ラスタ2における最小値X
5と最大値X8が存在している。ここでは、1ラスタ当た
り4個のデータXが存在するので、中間値X2,X3,X6,
X7が波形の再現に用いられると共に、ラスタ1,2間
のデータ間の補正として補正値X5−X4が存在してい
る。凸凹の波形では、ラスタ1における最小値X3と最
大値X2が存在し、ラスタ2における最小値X5と最大値
X6が存在している。これは、忠実に波形を再現するた
めに、最大値と最小値の順序も考慮してラスタ間の補正
量が定められているためである。
In the monotonically increasing waveform, there are a minimum value X1 and a maximum value X4 in raster 1, and a minimum value X1 in raster 2
There are 5 and the maximum value X8. Here, since there are four data X per raster, the intermediate values X2, X3, X6,
X7 is used for reproducing the waveform, and a correction value X5-X4 exists as a correction between data between rasters 1 and 2. In the uneven waveform, a minimum value X3 and a maximum value X2 in raster 1 exist, and a minimum value X5 and a maximum value X6 in raster 2 exist. This is because the amount of correction between rasters is determined in consideration of the order of the maximum value and the minimum value in order to faithfully reproduce the waveform.

【0006】図8は、P−P圧縮機能をソフトウェアで
実現する場合の流れ図である。まず、初期化を行う為、
1ラスタでのデータ順序iをゼロとし、ADRにメモリ
10の先頭アドレスを設定する(S2)。ラスタ番号j
をゼロに設定し、このラスタjにおけるデータの最大値
として−無限大、最小値として+無限大を設定する(S
4)。メモリ10のアドレスを+1加算して(S6)、
このアドレスにおけるデータX[ADR]を読み取る(S
8)。次に、読み取ったデータX[ADR]が当初の最大値
を超えているか判断する(S10)。超えていれば、最
大値をデータX[ADR]に更新し(S12)、各ラスタに
おける最大最小値を格納するアドレスY(2j+1)に最大値
を格納し、最小値を表示メモリ40のアドレスY(2j)に
格納する(S14)。
FIG. 8 is a flow chart when the PP compression function is realized by software. First, to perform initialization,
The data order i in one raster is set to zero, and the start address of the memory 10 is set in ADR (S2). Raster number j
Is set to zero, -infinity is set as the maximum value of the data in the raster j, and + infinity is set as the minimum value (S
4). +1 is added to the address of the memory 10 (S6),
The data X [ADR] at this address is read (S
8). Next, it is determined whether the read data X [ADR] exceeds the initial maximum value (S10). If it exceeds, the maximum value is updated to data X [ADR] (S12), the maximum value is stored in the address Y (2j + 1) where the maximum and minimum values in each raster are stored, and the minimum value is stored in the display memory 40. It is stored in the address Y (2j) (S14).

【0007】次に、読み取ったデータX[ADR]が当初の
最小値を下回っているか判断する(S16)。下回って
いれば、最小値をデータX[ADR]に更新し(S18)、
最大値を表示メモリ40のアドレスY(2j)に格納し、最
小値を表示メモリ40のアドレスY(2j+1)に格納する
(S20)。そして、次のラスタに移動し(S22)、
ラスタの上限値Mに到達していなければS6に戻る(S
24)。ラスタの上限値Mに到達したら、各ラスタ内の
次のデータ順序i+1を設定し(S26)、各ラスタ内
のデータ数の上限値Nに到達したか判断する(S2
8)。途中であれば、S4に戻り、到達すれば終了とな
る。
Next, it is determined whether the read data X [ADR] is smaller than the initial minimum value (S16). If it is lower, the minimum value is updated to data X [ADR] (S18),
The maximum value is stored in the address Y (2j) of the display memory 40, and the minimum value is stored in the address Y (2j + 1) of the display memory 40 (S20). Then, it moves to the next raster (S22),
If the raster has not reached the upper limit value M, the process returns to S6 (S6).
24). When the upper limit M of the rasters is reached, the next data order i + 1 in each raster is set (S26), and it is determined whether the upper limit N of the number of data in each raster has been reached (S2).
8). If it is in the middle, the process returns to S4, and if it reaches, the process ends.

【0008】図9は、P−P圧縮機能を論理素子で構成
する場合の回路図で、1ラスタ単位で示している。メモ
リは、バッファ回路を介してマルチプレクサ回路MPX
1,2とコンパレータCOMP1,2と接続されてい
る。コンパレータCOMP1は最大値レジスタとバッフ
ァ回路の内容を比較して、マルチプレクサ回路MPX1
に切換信号を送る。マルチプレクサ回路MPX1は、最
大値レジスタの内容を維持したり、或いはバッファ回路
の内容に更新する。コンパレータCOMP2は最小値レ
ジスタとバッファ回路の内容を比較して、マルチプレク
サ回路MPX2に切換信号を送る。マルチプレクサ回路
MPX2は、最小値レジスタの内容を維持したり、或い
はバッファ回路の内容に更新する。オーダレジスタは、
コンパレータCOMP1,2の切換信号を入力して、最
大値レジスタの内容と最小値レジスタの内容の先後を記
録する。
FIG. 9 is a circuit diagram in the case where the PP compression function is constituted by logic elements, and is shown in units of one raster. The memory is connected to a multiplexer circuit MPX via a buffer circuit.
1, 2 and the comparators COMP 1, 2. The comparator COMP1 compares the contents of the maximum value register and the buffer circuit, and
A switching signal. The multiplexer circuit MPX1 maintains the contents of the maximum value register or updates the contents of the buffer with the contents of the buffer circuit. The comparator COMP2 compares the contents of the minimum value register with the contents of the buffer circuit, and sends a switching signal to the multiplexer circuit MPX2. The multiplexer circuit MPX2 maintains the contents of the minimum value register or updates the contents of the minimum value register with the contents of the buffer circuit. The order register is
The switching signals of the comparators COMP1 and COMP2 are input to record the contents of the maximum value register and the contents of the minimum value register.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、図7の
P−P圧縮機能では、データ圧縮率が高いものの、表示
に使用されるデータとしてはラスタ毎の最大値・最小値
及びその順序のみなので、失われている情報量も大き
い。また、複数チャンネルやズーム機能を用いる場合に
は、データ処理装置20から表示コントロール装置30
に渡すデータ数が増加して処理速度が低下するという課
題があった。
However, in the PP compression function of FIG. 7, although the data compression ratio is high, the data used for display is only the maximum value / minimum value for each raster and the order thereof. The amount of lost information is large. When a plurality of channels and a zoom function are used, the display control device 30
However, there is a problem in that the number of data to be passed to the memory increases and the processing speed decreases.

【0010】また、図8のようなアルゴリズムでP−P
圧縮機能を実現すると、1データにつき比較を最小値と
最大値の2回行っているので、処理速度が遅くなるとい
う課題があった。そこで、図9の回路でP−P圧縮機能
を実現すると、1データにつき最小値と最大値の比較を
同時に行っているので、処理速度が2倍になる。しか
し、コンパレータの処理速度に限界が存在するので、一
定処理速度より早くするのが困難であるという課題があ
った。
[0010] In addition, the algorithm shown in FIG.
When the compression function is realized, there is a problem that the processing speed is reduced because the comparison is performed twice for the one data, the minimum value and the maximum value. Therefore, when the PP compression function is realized by the circuit of FIG. 9, the comparison of the minimum value and the maximum value for one data is performed simultaneously, so that the processing speed is doubled. However, since there is a limit to the processing speed of the comparator, there is a problem that it is difficult to make the processing speed faster than a certain processing speed.

【0011】本発明は上述の課題を解決したもので、第
1の目的は複数チャンネルやズーム機能を用いる場合で
も処理速度が一定のデジタルオシロスコープを提供する
ことにある。第2の目的は、P−P圧縮の処理速度を高
速化できるデジタルオシロスコープを提供することにあ
る。
A first object of the present invention is to provide a digital oscilloscope having a constant processing speed even when a plurality of channels and a zoom function are used. A second object is to provide a digital oscilloscope that can increase the processing speed of PP compression.

【0012】[0012]

【課題を解決するための手段】上記の第1の目的を達成
するために、本発明の請求項1記載のデジタルオシロス
コープは、サンプリングデータが格納されているメモリ
10と、このメモリに格納されたサンプリングデータに
ついて、P−P圧縮機能等のデータ圧縮処理をするデー
タ処理装置20と、このデータ処理装置で圧縮されたデ
ータを格納する表示メモリ40と、この表示メモリに格
納されたデータを読みだしてCRTに表示する表示コン
トロール装置30とを有するデジタルオシロスコープに
おいて、前記データ処理装置で検出された最大値と最小
値から直線補間されたデータをラスタ毎に順次書き込む
ビットマップメモリ50を設け、このビットマップメモ
リに生成された画像データを前記データ処理装置によっ
て表示メモリに書き込むことを特徴としている。
In order to achieve the first object, a digital oscilloscope according to claim 1 of the present invention has a memory 10 in which sampling data is stored and a memory 10 in which the sampling data is stored. For the sampling data, a data processing device 20 for performing data compression processing such as a PP compression function, a display memory 40 for storing data compressed by the data processing device, and reading data stored in the display memory. In a digital oscilloscope having a display control device 30 for displaying on a CRT, a bit map memory 50 for sequentially writing data linearly interpolated from the maximum value and the minimum value detected by the data processing device for each raster is provided. The image data generated in the map memory is written to the display memory by the data processing device. It is characterized in that writing.

【0013】本発明の請求項1によれば、ビットマップ
メモリ50には、データ処理装置で検出された最大値と
最小値から直線補間されたデータをラスタ毎に順次書き
込んでいる。そして、このビットマップメモリに生成さ
れた画像データをデータ処理装置によって表示メモリに
書き込んでいる。画像データのデータ量は、サンプリン
グデータのデータ量によらず一定なので、データ処理装
置によって表示メモリに書き込むデータ量は一定で済
む。
According to the first aspect of the present invention, data linearly interpolated from the maximum value and the minimum value detected by the data processing device are sequentially written into the bit map memory 50 for each raster. Then, the image data generated in the bitmap memory is written in the display memory by the data processing device. Since the data amount of the image data is constant regardless of the data amount of the sampling data, the data amount written to the display memory by the data processing device is constant.

【0014】ここで、請求項2のように、画像データの
データ量はサンプリングデータのデータ量に比較して、
少なくてすむので、複数チャンネルやズーム等で表示メ
モリに転送すべきデータ量が増大しても、処理速度の低
下が少なくて済む。
Here, the data amount of the image data is larger than the data amount of the sampling data.
Since the number of data to be transferred can be reduced, even if the amount of data to be transferred to the display memory by a plurality of channels or zooming increases, the processing speed can be kept from being reduced.

【0015】上記の第2の目的を達成するために、本発
明の請求項3記載のデジタルオシロスコープは、サンプ
リングデータが格納されているメモリ10と、このメモ
リに格納されたサンプリングデータについて、P−P圧
縮機能等のデータ圧縮処理をするデータ処理装置20
と、このデータ処理装置で圧縮されたデータを格納する
表示メモリ40と、この表示メモリに格納されたデータ
を読みだしてCRTに表示する表示コントロール装置3
0とを有するデジタルオシロスコープにおいて、データ
処理装置に、1ラスタ分の画像データを格納するライン
バッファ回路24を有し、このラインバッファ回路に格
納された1ラスタ分の画像データに関する最大値、最小
値を検出する回路26を設けるとよい。すると、ライン
バッファ回路24に含まれる全データについて最大値、
最小値を検出しているので、処理速度が格段に高速化さ
れる。
In order to achieve the second object, the digital oscilloscope according to the third aspect of the present invention comprises a memory 10 storing sampling data and a P-type memory for storing the sampling data. Data processing device 20 for performing data compression processing such as a P compression function
A display memory 40 for storing data compressed by the data processing device, and a display control device 3 for reading data stored in the display memory and displaying the data on a CRT.
In a digital oscilloscope having 0, the data processing device has a line buffer circuit 24 for storing image data for one raster, and a maximum value and a minimum value for image data for one raster stored in the line buffer circuit. Is preferably provided. Then, the maximum value of all data included in the line buffer circuit 24,
Since the minimum value is detected, the processing speed is remarkably increased.

【0016】また、請求項4のように、データ処理装置
に、画像データの解像度分に応じて前記サンプリングデ
ータの値を分別するデコーダ22と、このデコーダで分
別された値により、各サンプリングデータに対応する1
ラスタ分の画像データとして格納するラインバッファ回
路24で構成してもよい。すると、デコーダで予めデー
タ値に応じて昇順に並べているので、1ラスタ分の画像
データに関する最大値、最小値を検出する回路26の構
成が簡単になる。
According to a fourth aspect of the present invention, the data processing device includes a decoder 22 for classifying the value of the sampling data according to the resolution of the image data, and each sampling data is divided by the value divided by the decoder. Corresponding one
A line buffer circuit 24 for storing as raster image data may be used. Then, since the decoder arranges the data values in advance in ascending order according to the data values, the configuration of the circuit 26 for detecting the maximum value and the minimum value of the image data for one raster is simplified.

【0017】さらに、請求項5のように、データ処理装
置に、前記ラインバッファ回路に格納された1ラスタ分
の画像データに関する最大値、最小値を検出する回路2
6と、これら最大値、最小値並びに直前のラスタにおけ
る最後のデータを格納するラスタデータ格納部28を設
けるとよい。すると、直前のラスタにおける最後のデー
タを格納しているので、当該ラスタにおける最大値、最
小値の順序を検出しなくてもすみ、最大値、最小値検出
回路の構成が単純になる。
Further, the data processing device detects a maximum value and a minimum value of one raster image data stored in the line buffer circuit.
6 and a raster data storage unit 28 for storing the maximum value, the minimum value, and the last data in the immediately preceding raster. Then, since the last data in the immediately preceding raster is stored, it is not necessary to detect the order of the maximum value and the minimum value in the raster, and the configuration of the maximum value / minimum value detection circuit is simplified.

【0018】[0018]

【発明の実施の形態】以下図面を用いて、本発明を説明
する。図1は本発明の一実施例を示す構成ブロック図で
ある。尚、図1において前記図6と同一作用をするもの
には同一符号を付して説明を省略する。図において、デ
ータ処理装置20は、デコーダ22、ラインバッファ回
路24、最大値・最小値検出回路26並びにラスタデー
タ格納部28を有している。デコーダ22は、1ラスタ
分のサンプリングデータについて、レベル別に振り分け
てラインバッファ回路24の該当位置に格納していく。
ラインバッファ回路24は、CRTの縦の解像度分の個
数を有する。最大値・最小値検出回路26は、ラインバ
ッファ回路24に格納された1ラスタ分のデータについ
て、最大値と最小値を検出する。ラスタデータ格納部2
8は、当該ラスタにおける最大値と最小値を格納すると
共に、直前のラスタにおける最後のデータを格納してい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a configuration block diagram showing one embodiment of the present invention. In FIG. 1, components having the same functions as those in FIG. 6 are denoted by the same reference numerals, and description thereof will be omitted. In the figure, a data processing device 20 includes a decoder 22, a line buffer circuit 24, a maximum / minimum value detection circuit 26, and a raster data storage unit 28. The decoder 22 distributes the sampling data of one raster to each level and stores the data in the corresponding position of the line buffer circuit 24.
The line buffer circuits 24 have a number corresponding to the vertical resolution of the CRT. The maximum value / minimum value detection circuit 26 detects the maximum value and the minimum value of one raster data stored in the line buffer circuit 24. Raster data storage 2
Reference numeral 8 stores the maximum value and the minimum value of the raster and the last data of the immediately preceding raster.

【0019】ビットマップメモリ50は、最大値・最小
値検出回路26で検出された最大値と最小値から直線補
間して、ラスタ毎に順次書き込まれるものである。この
直線補間にあたっては、直前のラスタにおける最後のデ
ータを用いるとよい。このビットマップメモリ50に格
納された画像データは、データ処理装置20と表示コン
トロール装置30を介して表示メモリ40に転送され
る。画面が複数存在するときは、この画面の枚数に応じ
てビットマップメモリ50の容量を定めるとよい。
The bit map memory 50 is for linearly interpolating the maximum value and the minimum value detected by the maximum value / minimum value detection circuit 26 and sequentially writing the data for each raster. In this linear interpolation, the last data in the immediately preceding raster may be used. The image data stored in the bitmap memory 50 is transferred to the display memory 40 via the data processing device 20 and the display control device 30. When there are a plurality of screens, the capacity of the bitmap memory 50 may be determined according to the number of screens.

【0020】図2は、データ処理装置20の具体的な構
成を示す回路図で、ここでは2ビットの場合を示してい
る。デコーダ22では、入力されるサンプリングデータ
が2ビットなので、これを0〜3に振り分けている。ラ
インバッファ回路24は、4個のフリップフロップ回路
を有しており、各フリップフロップ回路には0〜3が割
り当てられている。そして、デコーダ22の出力信号を
アンド回路とオア回路の論理回路に入力して、各フリッ
プフロップ回路0〜3の何れかに格納している。最大値
・最小値検出回路26は、ラインバッファ回路24のフ
リップフロップ回路の各出力を入力し、最大値レジスタ
と最小値レジスタに振り分けている。ラインバッファ回
路24に含まれる全データについて一度の処理で最大値
と最小値を検出しているので、最大値・最小値検出回路
26の処理速度は非常に早い。
FIG. 2 is a circuit diagram showing a specific configuration of the data processing device 20. Here, a case of 2 bits is shown. In the decoder 22, since the input sampling data is 2 bits, it is assigned to 0 to 3. The line buffer circuit 24 has four flip-flop circuits, and 0 to 3 are assigned to each flip-flop circuit. Then, the output signal of the decoder 22 is input to the logic circuits of the AND circuit and the OR circuit and stored in any of the flip-flop circuits 0 to 3. The maximum value / minimum value detection circuit 26 receives each output of the flip-flop circuit of the line buffer circuit 24 and distributes the output to a maximum value register and a minimum value register. Since the maximum value and the minimum value are detected by a single process for all data included in the line buffer circuit 24, the processing speed of the maximum value / minimum value detection circuit 26 is very high.

【0021】次に、最大値・最小値検出回路26の詳細
を説明する。オア回路261は、フリップフロップ回路
2,3の出力信号を入力し、最大値レジスタの上位ビッ
トに送る。アンド回路262は、オア回路261出力の
否定論理とフリップフロップ回路1の出力信号を入力す
る。オア回路263は、アンド回路262とフリップフ
ロップ回路3の出力信号を入力し、最大値レジスタの下
位ビットに送る。オア回路264は、フリップフロップ
回路0,1の出力信号を入力し、インバータ265を介
して最小値レジスタの上位ビットに送る。アンド回路2
66は、オア回路264出力の否定論理とフリップフロ
ップ回路2の出力信号を入力する。オア回路267は、
アンド回路266とフリップフロップ回路0の出力信号
を入力し、最大値レジスタの下位ビットに送る。
Next, the maximum value / minimum value detection circuit 26 will be described in detail. The OR circuit 261 receives the output signals of the flip-flop circuits 2 and 3 and sends them to the upper bits of the maximum value register. The AND circuit 262 inputs the NOT logic of the output of the OR circuit 261 and the output signal of the flip-flop circuit 1. The OR circuit 263 receives the output signals of the AND circuit 262 and the flip-flop circuit 3 and sends them to the lower bits of the maximum value register. The OR circuit 264 receives the output signals of the flip-flop circuits 0 and 1 and sends them to the upper bits of the minimum value register via the inverter 265. AND circuit 2
66 inputs the NOT logic of the output of the OR circuit 264 and the output signal of the flip-flop circuit 2. The OR circuit 267
The output signals of the AND circuit 266 and the flip-flop circuit 0 are input and sent to the lower bits of the maximum value register.

【0022】図3は、デコーダで並列処理をする場合の
ラインバッファ回路24の構成図である。デコーダでの
並列処理による振り分けができるので、複数のデータに
ついて同時に処理することができる。これにより、図2
のようにデコーダ22を単一として、逐次データをライ
ンバッファ回路24に振り分ける場合に比較して高速に
処理できる。
FIG. 3 is a block diagram of the line buffer circuit 24 when the decoder performs parallel processing. Since the data can be sorted by parallel processing in the decoder, a plurality of data can be processed simultaneously. As a result, FIG.
Thus, the processing can be performed at a higher speed as compared with the case where the data is sequentially distributed to the line buffer circuit 24 by using a single decoder 22 as shown in FIG.

【0023】図4は、コンパレータを用いた最大値・最
小値検出回路26の回路図で、図3との比較のために挙
げてある。最大値・最小値検出回路26をコンパレータ
を用いて構成すると、データ数が増大するにつれてコン
パレータの段数も増大し、処理速度が低下する。
FIG. 4 is a circuit diagram of a maximum / minimum value detection circuit 26 using a comparator, which is shown for comparison with FIG. When the maximum / minimum value detection circuit 26 is configured using a comparator, the number of stages of the comparator increases as the number of data increases, and the processing speed decreases.

【0024】図5は、ラスタデータ格納部28における
P−P圧縮機能の説明図で、図7(B)で用いた凸凹の
波形に対する補間で説明している。ラスタデータ格納部
28には、直前のラスタにおける最後のデータを格納
し、当該ラスタにおける最大値、最小値も格納してい
る。そこで、ラスタ2で例示すると、ラスタ1における
最後のデータX4が存在し、ラスタ2における最小値X5
と最大値X6が格納されている。そこで、ラスタ2にお
ける画像データとしてはX4〜X6が表示され、図7
(B)の補間に比較して、波形がより忠実に再現されて
いる。
FIG. 5 is an explanatory diagram of the PP compression function in the raster data storage unit 28, which is explained by interpolation of the uneven waveform used in FIG. 7B. The raster data storage unit 28 stores the last data in the immediately preceding raster, and also stores the maximum value and the minimum value in the raster. Therefore, as an example of raster 2, the last data X4 in raster 1 exists, and the minimum value X5 in raster 2 exists.
And the maximum value X6. Therefore, X4 to X6 are displayed as image data in raster 2, and FIG.
The waveform is reproduced more faithfully as compared with the interpolation of (B).

【0025】なお、上記実施例においては、複数チャン
ネルやズーム機能を用いる場合でも処理速度が一定とい
う第1の目的と、P−P圧縮の処理速度を高速化できる
第2の目的を同時に達成する実施例を示したが、本発明
はこれに限定されるものではなく、第1の目的を達成す
るにはビットマップメモリ50をデータ処理装置20に
設ければ足りるし、また第2の目的を達成するにはデー
タ処理装置20にラインバッファ回路を設ければ足りる
など、要旨を逸脱しない範囲内で種種変更して実施でき
ることは言うまでもない。
In the above embodiment, the first object that the processing speed is constant even when a plurality of channels and a zoom function are used, and the second object that can increase the processing speed of PP compression are simultaneously achieved. Although the embodiment has been described, the present invention is not limited to this, and it is sufficient to provide the bitmap memory 50 in the data processing device 20 to achieve the first object. Needless to say, it is only necessary to provide a line buffer circuit in the data processing device 20 in order to achieve the above.

【0026】[0026]

【発明の効果】以上説明したように、請求項1記載の本
発明によれば、ビットマップメモリ50には、データ処
理装置で検出された最大値と最小値から直線補間された
データをラスタ毎に順次書き込み、このビットマップメ
モリに生成された画像データをデータ処理装置によって
表示メモリに書き込んでいる。画像データのデータ量
は、サンプリングデータのデータ量によらず一定なの
で、データ処理装置によって表示メモリに書き込むデー
タ量は一定で済む。ここで、請求項2のように、画像デ
ータのデータ量はサンプリングデータのデータ量に比較
して、少なくてすむので、複数チャンネルやズーム等で
表示メモリに転送すべきデータ量が増大しても、処理速
度の低下が少なくて済む。
As described above, according to the first aspect of the present invention, the data linearly interpolated from the maximum value and the minimum value detected by the data processing device for each raster are stored in the bitmap memory 50. And the image data generated in the bit map memory is written to the display memory by the data processing device. Since the data amount of the image data is constant regardless of the data amount of the sampling data, the data amount written to the display memory by the data processing device is constant. Here, the data amount of the image data can be smaller than the data amount of the sampling data as described in claim 2, so that even if the data amount to be transferred to the display memory by a plurality of channels or zooming is increased. In addition, a reduction in processing speed can be reduced.

【0027】請求項3記載の本発明によれば、データ処
理装置に、1ラスタ分の画像データを格納するラインバ
ッファ回路24を有し、このラインバッファ回路に格納
された1ラスタ分の画像データに関する最大値、最小値
を検出する回路26を設ける構成としている。すると、
ラインバッファ回路24に含まれる全データについて最
大値、最小値を検出しているので、処理速度が格段に高
速化される。
According to the third aspect of the present invention, the data processing apparatus has the line buffer circuit 24 for storing one raster image data, and the one raster image data stored in the line buffer circuit. Circuit 26 for detecting the maximum value and the minimum value of Then
Since the maximum value and the minimum value are detected for all data included in the line buffer circuit 24, the processing speed is remarkably increased.

【0028】また、請求項4のように、データ処理装置
に、画像データの解像度分に応じて前記サンプリングデ
ータの値を分別するデコーダ22と、このデコーダで分
別された値により、各サンプリングデータに対応する1
ラスタ分の画像データとして格納するラインバッファ回
路24で構成してもよい。すると、デコーダで予めデー
タ値に応じて昇順に並べているので、1ラスタ分の画像
データに関する最大値、最小値を検出する回路26の構
成が簡単になる。
According to a fourth aspect of the present invention, the data processing device includes a decoder 22 for classifying the value of the sampling data according to the resolution of the image data, and each sampling data based on the value classified by the decoder. Corresponding one
A line buffer circuit 24 for storing as raster image data may be used. Then, since the decoder arranges the data values in advance in ascending order according to the data values, the configuration of the circuit 26 for detecting the maximum value and the minimum value of the image data for one raster is simplified.

【0029】さらに、請求項5のように、データ処理装
置に、前記ラインバッファ回路に格納された1ラスタ分
の画像データに関する最大値、最小値を検出する回路2
6と、これら最大値、最小値並びに直前のラスタにおけ
る最後のデータを格納するラスタデータ格納部28を設
けるとよい。すると、直前のラスタにおける最後のデー
タを格納しているので、当該ラスタにおける最大値、最
小値の順序を検出しなくてもすみ、最大値、最小値検出
回路の構成が単純になる。
Further, in the data processing device, a circuit 2 for detecting a maximum value and a minimum value of one raster image data stored in the line buffer circuit is provided.
6 and a raster data storage unit 28 for storing the maximum value, the minimum value, and the last data in the immediately preceding raster. Then, since the last data in the immediately preceding raster is stored, it is not necessary to detect the order of the maximum value and the minimum value in the raster, and the configuration of the maximum value / minimum value detection circuit is simplified.

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

【図1】本発明の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing one embodiment of the present invention.

【図2】データ処理装置20の具体的な構成を示す回路
図である。
FIG. 2 is a circuit diagram showing a specific configuration of the data processing device 20.

【図3】デコーダで並列処理をする場合のラインバッフ
ァ回路24の構成図である。
FIG. 3 is a configuration diagram of a line buffer circuit 24 when a decoder performs parallel processing.

【図4】コンパレータを用いた最大値・最小値検出回路
26の回路図である。
FIG. 4 is a circuit diagram of a maximum / minimum value detection circuit 26 using a comparator.

【図5】ラスタデータ格納部28におけるP−P圧縮機
能の説明図である。
FIG. 5 is an explanatory diagram of a PP compression function in a raster data storage unit 28;

【図6】従来装置の構成ブロック図である。FIG. 6 is a configuration block diagram of a conventional device.

【図7】P−P圧縮機能の説明図である。FIG. 7 is an explanatory diagram of a PP compression function.

【図8】P−P圧縮機能をソフトウェアで実現する場合
の流れ図である。
FIG. 8 is a flowchart in a case where a PP compression function is realized by software.

【図9】P−P圧縮機能を論理素子で構成する場合の回
路図である。
FIG. 9 is a circuit diagram when a PP compression function is configured by a logic element.

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

10 メモリ 20 データ処理装置 30 表示コントロール回路 40 表示メモリ 50 ビットマップメモリ Reference Signs List 10 memory 20 data processing device 30 display control circuit 40 display memory 50 bitmap memory

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】サンプリングデータが格納されているメモ
リ(10)と、 このメモリに格納されたサンプリングデータについて、
P−P圧縮機能等のデータ圧縮処理をするデータ処理装
置(20)と、 データ処理装置で圧縮されたデータを格納する表示メモ
リ(40)と、 表示メモリに格納されたデータを読みだしてCRTに表
示する表示コントロール装置(30)とを有するデジタ
ルオシロスコープにおいて、 前記データ処理装置で検出された最大値と最小値から直
線補間されたデータをラスタ毎に順次書き込むビットマ
ップメモリ(50)を設け、 このビットマップメモリに格納された画像データを、前
記データ処理装置によって前記表示メモリに書き込むこ
とを特徴とするデジタルオシロスコープ。
1. A memory (10) in which sampling data is stored, and the sampling data stored in the memory are:
A data processing device (20) for performing a data compression process such as a PP compression function, a display memory (40) for storing data compressed by the data processing device, and a CRT for reading data stored in the display memory A digital oscilloscope having a display control device (30) for displaying the data in a bit map memory (50) for sequentially writing data linearly interpolated from the maximum value and the minimum value detected by the data processing device for each raster; A digital oscilloscope, wherein the image data stored in the bitmap memory is written into the display memory by the data processing device.
【請求項2】前記画像データのデータ量は、前記サンプ
リングデータのデータ量に比較して、少ないことを特徴
とする請求項1記載のデジタルオシロスコープ。
2. The digital oscilloscope according to claim 1, wherein a data amount of said image data is smaller than a data amount of said sampling data.
【請求項3】サンプリングデータが格納されているメモ
リ(10)と、 このメモリに格納されたサンプリングデータについて、
P−P圧縮機能等のデータ圧縮処理をするデータ処理装
置(20)と、 データ処理装置で圧縮されたデータを格納する表示メモ
リ(40)と、 表示メモリに格納されたデータを読みだしてCRTに表
示する表示コントロール装置(30)とを有するデジタ
ルオシロスコープにおいて、 前記データ処理装置は、1ラスタ分の画像データを格納
するラインバッファ回路(24)を有し、このラインバ
ッファ回路に格納された1ラスタ分の画像データに関す
る最大値、最小値を検出する回路(26)を有すること
を特徴とするデジタルオシロスコープ。
3. A memory (10) in which sampling data is stored; and a sampling data stored in the memory.
A data processing device (20) for performing a data compression process such as a PP compression function, a display memory (40) for storing data compressed by the data processing device, and a CRT for reading data stored in the display memory The data processing device has a line buffer circuit (24) for storing image data for one raster, and a display control device (30) for displaying image data for one raster. A digital oscilloscope having a circuit (26) for detecting a maximum value and a minimum value of raster image data.
【請求項4】前記データ処理装置は、画像データの解像
度分に応じて前記サンプリングデータの値を分別するデ
コーダ(22)と、このデコーダで分別された値によ
り、各サンプリングデータに対応する1ラスタ分の画像
データとして格納するラインバッファ回路(24)を有
することを特徴とする請求項3記載のデジタルオシロス
コープ。
4. A data processing device comprising: a decoder for classifying a value of the sampling data in accordance with a resolution of image data; and one raster corresponding to each sampling data by a value classified by the decoder. The digital oscilloscope according to claim 3, further comprising a line buffer circuit (24) for storing minute image data.
【請求項5】前記データ処理装置は、前記ラインバッフ
ァ回路に格納された1ラスタ分の画像データに関する最
大値、最小値を検出する回路(26)と、これら最大
値、最小値並びに直前のラスタにおける最後のデータを
格納するラスタデータ格納部(28)を有することを特
徴とする請求項3記載のデジタルオシロスコープ。
5. A data processing apparatus comprising: a circuit for detecting a maximum value and a minimum value of one raster image data stored in the line buffer circuit; 4. The digital oscilloscope according to claim 3, further comprising a raster data storage unit (28) for storing the last data in (1).
JP19384997A 1997-07-18 1997-07-18 Digital oscilloscope Expired - Fee Related JP3646839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19384997A JP3646839B2 (en) 1997-07-18 1997-07-18 Digital oscilloscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19384997A JP3646839B2 (en) 1997-07-18 1997-07-18 Digital oscilloscope

Publications (2)

Publication Number Publication Date
JPH1138045A true JPH1138045A (en) 1999-02-12
JP3646839B2 JP3646839B2 (en) 2005-05-11

Family

ID=16314782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19384997A Expired - Fee Related JP3646839B2 (en) 1997-07-18 1997-07-18 Digital oscilloscope

Country Status (1)

Country Link
JP (1) JP3646839B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108872667A (en) * 2017-05-12 2018-11-23 北京普源精电科技有限公司 A kind of digital oscilloscope with high-precision waveform analysis function
KR102097223B1 (en) * 2018-12-27 2020-04-03 한국산업기술대학교산학협력단 Method and apparatus for processing measured signal for high frequency oscilloscope

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108872667A (en) * 2017-05-12 2018-11-23 北京普源精电科技有限公司 A kind of digital oscilloscope with high-precision waveform analysis function
CN108872667B (en) * 2017-05-12 2022-02-11 北京普源精电科技有限公司 Digital oscilloscope with high-precision waveform analysis function
KR102097223B1 (en) * 2018-12-27 2020-04-03 한국산업기술대학교산학협력단 Method and apparatus for processing measured signal for high frequency oscilloscope

Also Published As

Publication number Publication date
JP3646839B2 (en) 2005-05-11

Similar Documents

Publication Publication Date Title
US6229571B1 (en) Scan converter with interpolating function
JP3022405B2 (en) Image memory controller
JP3513165B2 (en) Image processing device
JP2001022342A (en) Pixel number conversion circuit and image display device using the same
US5867137A (en) Display control device and method for generating display data to display images in gray scale
JP3646839B2 (en) Digital oscilloscope
US6697119B2 (en) Apparatus and method for converting frame rates of signals under different systems
US20020021826A1 (en) Image signal processing apparatus and method thereof
US6529205B2 (en) Image data display apparatus in which image data are displayed on terminal display unit and NTSC system display unit
JP2903949B2 (en) Signal processing device for raster image display system
KR100399239B1 (en) Memory management method for image data
JP2908870B2 (en) Image storage device
JPH11288257A (en) Compression display method and apparatus
JP3303979B2 (en) Image playback device
JPH05161094A (en) Programmable device for storing digital video line
JP2697679B2 (en) Dither image display device
JP2601138B2 (en) Video display
JPH076087A (en) How to access the frame buffer
JPH0371326A (en) Scanning adding device
JPS6365271B2 (en)
JPH04204594A (en) High definition display device
JPS63142783A (en) Scan converter
JPH06225212A (en) Digital image signal interpolation method
JPH10171434A (en) Synchronous conversion device and method
KR19990048614A (en) Interpolation image data processing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050202

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080218

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130218

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140218

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees