JPH08136586A - Waveform display system - Google Patents

Waveform display system

Info

Publication number
JPH08136586A
JPH08136586A JP27330394A JP27330394A JPH08136586A JP H08136586 A JPH08136586 A JP H08136586A JP 27330394 A JP27330394 A JP 27330394A JP 27330394 A JP27330394 A JP 27330394A JP H08136586 A JPH08136586 A JP H08136586A
Authority
JP
Japan
Prior art keywords
trigger
data
displayed
waveform
signal
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
JP27330394A
Other languages
Japanese (ja)
Inventor
Masami Hosono
雅実 細野
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.)
Hitachi Denshi KK
Original Assignee
Hitachi Denshi KK
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 Hitachi Denshi KK filed Critical Hitachi Denshi KK
Priority to JP27330394A priority Critical patent/JPH08136586A/en
Publication of JPH08136586A publication Critical patent/JPH08136586A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To obtain a waveform display system which can locate a trigger point and observe a waveform before being triggered in real time by a method wherein an interrupt handling operation is performed whenever one data is converted and whether a trigger has been generated or not is judged. CONSTITUTION: In every data sample, a clock signal for an A/D converter 3 is supplied as an interrupt-handling seizing signal for a microcomputer 5. In addition, a trigger generation signal is generated from a measuring signal, and the signal is latched by a latch 4 so as to be supplied to the microcomputer 5. By the interrupt handling operation of the microcomputer 5, the generation of a trigger can be recognized, a waveform which is displayed is shifted one data by one data toward the left end of a tube face in every data sample, and new data is displayed at the right end of the tube face. In addition, when a waveform is to be updated, whether a trigger has been generated or not is judged. When the trigger has been generated, the time since the generation of the trigger with reference to the displayed waveform is displayed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタルオシロスコー
プにおける、波形表示方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform display system in a digital oscilloscope.

【0002】[0002]

【従来の技術】デジタルオシロスコープの低速レンジ
(例えば1s/div)では、10divの波形を表示
する時、表示に必要なデータをサンプリングするのに、
10秒間掛ける。この時、表示に必要なデータを全て、
サンプリングしてから、波形を表示していたのでは、波
形の変化がリアルタイムで、観測することができない。
そこで、従来は、1データをサンプルするごとに、表示
している波形を管面の左端に向って、1データ分ずら
し、新しいデータを管面の右端に表示することで、測定
波形が管面上を右端から左端に流れるように表示するス
クロール方式や、トリガが発生するまで、表示は、更新
せず、トリガが発生した時点で、トリガ発生前のデータ
を全て一度に更新し、トリガ後のデータは、1データづ
つ対応する位置の表示データを逐次更新していく、トリ
ガッドロール方式がある。
2. Description of the Related Art In a low-speed range (for example, 1 s / div) of a digital oscilloscope, when displaying a waveform of 10 div, for sampling data necessary for display,
Hang for 10 seconds. At this time, all the data necessary for display,
If the waveform is displayed after sampling, the change in the waveform cannot be observed in real time.
Therefore, conventionally, every time one data is sampled, the displayed waveform is shifted toward the left end of the pipe surface by one data, and new data is displayed at the right end of the pipe surface. The scrolling method is used to display the flow from the right end to the left end, and the display is not updated until the trigger occurs.At the time the trigger occurs, all the data before the trigger is updated at once, As for data, there is a triggered roll system in which display data at corresponding positions are sequentially updated one by one.

【0003】[0003]

【発明が解決しようとする課題】前述の従来技術のスク
ロール方式には、管面をペンレコーダの用紙のように使
うため、測定波形に対するトリガ点がないという欠点が
ある。また、トリガッドロール方式では、トリガ点は、
存在するが、トリガ発生以前の信号が、リアルタイムに
測定できないという欠点がある。
The above-mentioned scrolling method of the prior art has the drawback that there is no trigger point for the measured waveform because the tube surface is used like the paper of a pen recorder. In the triggered roll method, the trigger point is
However, there is a drawback that the signal before the trigger is generated cannot be measured in real time.

【0004】本発明は、これらの欠点を除去し、トリガ
点が存在し、トリガ発生以前の信号をリアルタイムで測
定できる波形表示方式を実現することを目的とする。
It is an object of the present invention to eliminate these drawbacks and to realize a waveform display system in which a trigger point exists and a signal before the trigger is generated can be measured in real time.

【0005】[0005]

【課題を解決するための手段】本発明は、上記の目的を
達成するため、1データサンプルごとにマイクロプロセ
ッサがデータ処理を行うように、AD変換器のクロック
信号をマイクロプロセッサの割込み処理起動信号として
供給し、更に、測定信号からトリガ発生信号を発生し、
この信号をラッチし、マイクロプロセッサに供給するこ
とで、マイクロプロセッサの、割込み処理で、トリガの
発生を認識できるようにし、マイクロプロセッサで、1
データサンプルごとに、表示している波形を管面の左端
に向って1データづらし、新しいデータを管面の右端に
表示する。また、波形を更新する時、トリガが発生して
いるかを判定し、トリガが発生していた時は、表示波形
に対するトリガ発生からの時間を表示するものである。
In order to achieve the above object, the present invention uses the clock signal of the AD converter as the interrupt processing start signal of the microprocessor so that the microprocessor performs data processing for each data sample. As a trigger generation signal from the measurement signal,
By latching this signal and supplying it to the microprocessor, the occurrence of a trigger can be recognized in the interrupt processing of the microprocessor, and
For each data sample, the displayed waveform is divided by one data toward the left end of the tube surface, and new data is displayed at the right end of the tube surface. Further, when the waveform is updated, it is determined whether or not a trigger is generated, and when the trigger is generated, the time from the trigger generation for the displayed waveform is displayed.

【0006】[0006]

【作用】その結果、管面に表示されている波形は、右端
から左端に向けて、流れるように見え、トリガ発生後な
らば、表示されている波形からトリガ発生までの時間が
観測することができる。
As a result, the waveform displayed on the screen appears to flow from the right end to the left end, and after the trigger occurs, the time from the displayed waveform to the trigger occurrence can be observed. it can.

【0007】[0007]

【実施例】以下この発明の一実施例を図1、2により説
明する。図1において、第1の増幅器1の出力は、第2
の増幅器2を介して、AD変換器3の入力に接続さてい
る。また、コンパレータ6を介して、フリップフロップ
7のセット(s)入力にも接続されている。AD変換器
3の出力は、ラッチ4を介して、マイクロプロセッサ5
のデータバスに接続されている。フリップフロップ7の
出力は、バッファ12を介して、マイクロプロセッサ5
のデータバスに接続されている。マイクロプロセッサ5
のデータバスは、クロック発生回路8、サンプリングカ
ウンタ10、ラッチ13、バッファメモリ14、表示メ
モリ15に接続されている。ラッチ13の出力は、AN
Dゲート17の入力、フリップフロップ7のリセット
(R)、サンプリングカウンタ10のリセット(RES
ET)に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. In FIG. 1, the output of the first amplifier 1 is
Is connected to the input of the AD converter 3 via the amplifier 2. It is also connected to the set (s) input of the flip-flop 7 via the comparator 6. The output of the AD converter 3 is output to the microprocessor 5 via the latch 4.
Connected to the data bus. The output of the flip-flop 7 is passed through the buffer 12 to the microprocessor 5
Connected to the data bus. Microprocessor 5
The data bus of is connected to the clock generation circuit 8, the sampling counter 10, the latch 13, the buffer memory 14, and the display memory 15. The output of the latch 13 is AN
Input of D gate 17, reset (R) of flip-flop 7, reset of sampling counter 10 (RES
ET).

【0008】ANDゲート17の出力は、クロック発生
回路8のストップ(STOP)に接続されている。クロ
ック発生回路8の出力(OUT)は、ANDゲート9を
介して、サンプリングカウンタ10のクロック(CL
K)に接続されている。また、クロック発生回路8の出
力は、ANDゲート11を介して、AD変換器3のクロ
ック(CLK)に接続されている。サンプリングカウン
タ10の出力(OUT)は、ANDゲート11を介し
て、AD変換器3のクロック(CLK)、マイクロプロ
セッサ5の割込み要求(INT)に接続されている。ま
た、サンプリングカウンタ10の出力(OUT)は、A
NDゲート17を介して、クロック発生回路8のストッ
プ(STOP)に接続されている。表示メモリ15の出
力は、表示器16に接続されている。
The output of the AND gate 17 is connected to the stop (STOP) of the clock generation circuit 8. The output (OUT) of the clock generation circuit 8 is supplied to the clock (CL) of the sampling counter 10 via the AND gate 9.
K). The output of the clock generation circuit 8 is connected to the clock (CLK) of the AD converter 3 via the AND gate 11. The output (OUT) of the sampling counter 10 is connected to the clock (CLK) of the AD converter 3 and the interrupt request (INT) of the microprocessor 5 via the AND gate 11. The output (OUT) of the sampling counter 10 is A
It is connected to the stop (STOP) of the clock generation circuit 8 via the ND gate 17. The output of the display memory 15 is connected to the display 16.

【0009】以下この動作について説明する。クロック
発生回路8は、マイクロプロセッサ5から設定された、
条件に従って、ストップ(STOP)が“H”の間、O
UT出力から、クロックパルスを発生する。サンプリン
グカウンタ10は、RESETが“H”の間、カウント
を停止し、OUT出力を“H”にする。RESETが
“L”の時、カウントを開始し、マイクロプロセッサ5
から設定された値まで、CLK入力をカウントし、設定
値に達した時点で、OUT出力を“L”にする。マイク
ロプロセッサ5は、ラッチ13、ANDゲート16を介
して、クロック発生回路8のSTOPを“L”にして、
クロックパルスを停止する。この状態で、マイクロプロ
セッサ5は、クロック発生回路8にデータバスを介し
て、クロック発生条件を設定する。次に、マイクロプロ
セッサ5は、ラッチ13を介して、フリップロップ7の
入力Rを“H”にして、出力Qを“L”にする。また、
ラッチ13を介して、サンプリングカウンタ10のRE
SETを“H”にする。マイクロプロセッサ5は、サン
プリングカウンタ10にサンプルデータ数を設定する。
マイクロプロセッサ5は、サンプリングカウンタ10の
RESET、クロック発生回路8のSTOP、フリップ
フロップ7の入力Rの順序で各信号を“L”にし、入力
信号のサンプリングを開始する。入力信号は、第1増幅
器1で一定の振幅(例えば1VP−P)に増幅され、第
2増幅器2で一定の電圧レベル(例えば0〜−2V)に
なり、AD変換器3で、クロック発生回路8からのクロ
ック信号で、デジタル値(0〜255)に変換される。
AD変換器3で変換されたデジタル値は、クロック信号
で、ラッチ4に保持される。また、クロック信号は、マ
イクロプロセッサ5に対し、割込み要求を発生し、マイ
クロプロセッサ5は、割込み要求毎に、ラッチ4で保持
されたデジタル値をバッファメモリ14に、転送し、同
時に、バッファ12を介して、フリップフロップ7の出
力Qを読み込む。
This operation will be described below. The clock generation circuit 8 is set by the microprocessor 5,
According to the conditions, while stop (STOP) is "H", O
Clock pulses are generated from the UT output. The sampling counter 10 stops counting while RESET is “H”, and sets the OUT output to “H”. When RESET is "L", counting is started and the microprocessor 5
To the set value, the CLK input is counted, and when the set value is reached, the OUT output is set to "L". The microprocessor 5 sets STOP of the clock generation circuit 8 to “L” via the latch 13 and the AND gate 16,
Stop clock pulse. In this state, the microprocessor 5 sets the clock generation condition in the clock generation circuit 8 via the data bus. Next, the microprocessor 5 sets the input R of the flip-rop 7 to "H" and the output Q to "L" via the latch 13. Also,
Via the latch 13, the RE of the sampling counter 10
Set SET to "H". The microprocessor 5 sets the sampling data number in the sampling counter 10.
The microprocessor 5 sets each signal to “L” in the order of RESET of the sampling counter 10, STOP of the clock generation circuit 8 and input R of the flip-flop 7, and starts sampling of the input signal. The input signal is amplified by the first amplifier 1 to have a constant amplitude (for example, 1VP-P), becomes a constant voltage level (for example, 0 to -2V) at the second amplifier 2, and the clock signal is generated by the AD converter 3 in the clock generation circuit. It is converted into a digital value (0 to 255) by the clock signal from 8.
The digital value converted by the AD converter 3 is a clock signal and is held in the latch 4. Further, the clock signal generates an interrupt request to the microprocessor 5, and the microprocessor 5 transfers the digital value held in the latch 4 to the buffer memory 14 for each interrupt request, and simultaneously causes the buffer 12 to operate. The output Q of the flip-flop 7 is read in through.

【0010】第1増幅器1で一定振幅に増幅され入力信
号は、コンパレータ6で、設定された電圧レベルと判定
し、設定レベル以上の電圧の時、トリガ信号として、パ
ルスを発生する。コンパレータ6で発生したトリガ信号
は、フリップフロップ7の入力Rが“L”の時、入力S
に入力されるようにANDゲート18で、スイッチさ
れ、フリップフロップ7に保存される。フリップフロッ
プ7の出力Qは、入力Rが“L”でトリガ信号が発生し
た時、“H”となり、クロック発生回路8のクロックパ
ルスが、ANDゲート9を介して、サンプリングカウン
タ10のCLKに供給され、サンプリングカウンタ10
は、カウントを開始する。サンプリングカウンタ10
は、設定された値まで、クロックパルスをカウントした
時点で、OUT出力を“L”と、ANDゲート11およ
び、ANDゲート17を介し、AD変換器3およびクロ
ック発生回路8を停止し、1回のサンプリングを終了す
る。マイクロプロセッサ5は、割込み要求発生ごとに、
フリップフロップ7の出力Qを読み込み、出力Qが
“L”の時は、トリガ信号が発生していなく、“H”の
時は、トリガ信号が発生したと判断し、ラッチ4で保持
されたデジタル値の表示を処理する。図2に、マイクロ
プロセッサ5の処理内容を示す。マイクロプロセッサ5
は、割込み要求発生ごとに割込み処理でフリップフロッ
プ7の出力Qを読み込み、トリガ信号発生の有無を認識
し、ソフトウェアのワーク上のトリガフラグおよびトリ
ガカウンタを設定し、AD変換されたデジタルデータを
バッファメモリに保存する。メインの処理では、割込み
処理で、バッファメモリに保存されたデジタルデータ
を、最新のデータが、表示器の右端に表示されるよう
に、表示メモリに転送する。また、トリガフラグを判定
し、トリガ信号が発生していた時は、トリガカウンタの
値を基に、トリガ発生から表示器の中央までの時間を求
め、表示器にディレイ時間として表示する。サンプリン
グが終了するまで、メインの処理は継続して行う。ま
た、入力信号は、表示器では最新データが右端に表示さ
れるので、右端から左端に向って、横方向にスクロール
しているように見える。
The input signal amplified by the first amplifier 1 to a constant amplitude is judged by the comparator 6 to be a set voltage level, and when the voltage is higher than the set level, a pulse is generated as a trigger signal. The trigger signal generated by the comparator 6 is input S when the input R of the flip-flop 7 is "L".
It is switched by the AND gate 18 so as to be input to the flip-flop 7 and stored in the flip-flop 7. The output Q of the flip-flop 7 becomes "H" when the input R is "L" and the trigger signal is generated, and the clock pulse of the clock generation circuit 8 is supplied to the CLK of the sampling counter 10 through the AND gate 9. Sampling counter 10
Start counting. Sampling counter 10
When the clock pulse is counted up to the set value, the OUT output is set to “L”, the AD converter 3 and the clock generation circuit 8 are stopped through the AND gate 11 and the AND gate 17, and Ends sampling. The microprocessor 5 generates an interrupt request each time
When the output Q of the flip-flop 7 is read and the output Q is "L", the trigger signal is not generated, and when the output Q is "H", it is determined that the trigger signal is generated, and the digital signal held by the latch 4 is held. Handle the display of values. FIG. 2 shows the processing contents of the microprocessor 5. Microprocessor 5
Reads the output Q of the flip-flop 7 by interrupt processing every time an interrupt request is generated, recognizes whether or not a trigger signal is generated, sets a trigger flag and a trigger counter on the software work, and buffers the AD-converted digital data. Save to memory. In the main processing, the interrupt processing transfers the digital data stored in the buffer memory to the display memory so that the latest data is displayed at the right end of the display. Further, when the trigger flag is judged and the trigger signal is generated, the time from the trigger generation to the center of the display is calculated based on the value of the trigger counter and displayed as the delay time on the display. The main processing continues until the sampling is completed. Further, since the latest data of the input signal is displayed on the right end on the display, it seems that the input signal is scrolling in the horizontal direction from the right end to the left end.

【0011】[0011]

【発明の効果】本発明により、デジタルオシロスコープ
の低速レンジで、トリガ信号発生前の測定信号をリアル
タイムで測定でき、また、トリガ信号発生後から、測定
信号までの時間を認識することができる。
According to the present invention, the measurement signal before the trigger signal is generated can be measured in real time in the low speed range of the digital oscilloscope, and the time from the generation of the trigger signal to the measurement signal can be recognized.

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

【図1】本発明の全体構成を示すブロック図。FIG. 1 is a block diagram showing the overall configuration of the present invention.

【図2】本発明の一実施例のマイクロプロセッサの処理
フロー図。
FIG. 2 is a processing flow chart of the microprocessor according to the embodiment of the present invention.

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

1 第1の増幅器 2 第2の増幅器 3 AD変換器 4 ラッチ 5 マイクロプロセッサ 6 コンパレータ 7 RSフリップフロップ 8 クロック発生回路 10 サンプリングカウンタ 12 トライステートバッファ 13 ラッチ 14 バッファメモリ 15 表示メモリ 16 表示器 1 1st amplifier 2 2nd amplifier 3 AD converter 4 Latch 5 Microprocessor 6 Comparator 7 RS flip-flop 8 Clock generation circuit 10 Sampling counter 12 Tri-state buffer 13 Latch 14 Buffer memory 15 Display memory 16 Indicator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 アナログ入力信号をデジタル値に変換す
るAD変換器と、該デジタル値を処理するプロセッサ
と、該プロセッサで処理したデジタル値や任意の文字を
表示できる表示回路で構成され、更に前記アナログ入力
信号と任意に設定された電圧からトリガ信号パルスを発
生するトリガ発生回路を有する装置において、1データ
変換ごとに前記プロセッサに割込み信号としてパルス信
号を発生する回路と前記トリガ信号が発生したことをプ
ロセッサが認識する回路とを有することを特徴とした波
形表示方式。
1. An AD converter for converting an analog input signal into a digital value, a processor for processing the digital value, and a display circuit capable of displaying the digital value processed by the processor and an arbitrary character. In a device having a trigger generation circuit for generating a trigger signal pulse from an analog input signal and an arbitrarily set voltage, a circuit for generating a pulse signal as an interrupt signal to the processor for each data conversion and the trigger signal are generated. A waveform display method characterized in that it has a circuit for the processor to recognize.
【請求項2】 請求項1に記載の波形表示方式におい
て、1データ変換ごとにプロセッサの割込み処理でトリ
ガ信号の発生を判定し、トリガが発生するまでは、1デ
ータ変換ごとに、管面に表示されている波形を設定され
たトリガ表示位置より左端方向に1データづらし、トリ
ガ表示位置に新しいデータを表示し、トリガ発生後は、
トリガ表示位置より右端に向けて、1データ変換ごとに
管面に表示されている波形を更新することを特徴とする
波形表示方式。
2. The waveform display method according to claim 1, wherein the occurrence of a trigger signal is determined by interrupt processing of the processor for each data conversion, and the data is displayed on the screen surface every data conversion until a trigger is generated. The displayed waveform is divided by 1 data to the left end from the set trigger display position, new data is displayed at the trigger display position, and after the trigger is generated,
A waveform display method characterized in that the waveform displayed on the tube surface is updated for each data conversion from the trigger display position toward the right end.
【請求項3】 請求項1に記載の波形表示方式におい
て、1データ変換ごとに、管面に表示されている波形デ
ータを管面の左端方向に1データづらし、右端に新しい
データを表示し、また1データ変換ごとにトリガ信号の
状態を判定し、トリガ信号が発生した時は、トリガ信号
から表示波形までの時間を管面に表示することを特徴と
した波形表示方式。
3. The waveform display method according to claim 1, wherein each time data is converted, the waveform data displayed on the tube surface is divided by 1 data toward the left end of the tube surface, and new data is displayed at the right end. The waveform display method is characterized in that the state of the trigger signal is judged for each data conversion, and when the trigger signal occurs, the time from the trigger signal to the displayed waveform is displayed on the screen.
JP27330394A 1994-11-08 1994-11-08 Waveform display system Pending JPH08136586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27330394A JPH08136586A (en) 1994-11-08 1994-11-08 Waveform display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27330394A JPH08136586A (en) 1994-11-08 1994-11-08 Waveform display system

Publications (1)

Publication Number Publication Date
JPH08136586A true JPH08136586A (en) 1996-05-31

Family

ID=17525990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27330394A Pending JPH08136586A (en) 1994-11-08 1994-11-08 Waveform display system

Country Status (1)

Country Link
JP (1) JPH08136586A (en)

Similar Documents

Publication Publication Date Title
JP5294320B2 (en) No dead time acquisition system and acquisition method
JPH08178964A (en) Analysis of input signal for imparting display scaling and trigger to digital oscilloscope
JPH0447269B2 (en)
JPH08136586A (en) Waveform display system
JPH0621026Y2 (en) Signal waveform display device
JPH0633427Y2 (en) Jitter measuring device
JPH05119070A (en) Digital oscilloscope
JPH028272B2 (en)
JPH06331658A (en) Digital oscilloscope
JPH05273245A (en) Metastable state detection device
JPH05119065A (en) Waveform observation device
JP3403904B2 (en) Waveform data generator
JP2668856B2 (en) Instrument equipment
JPH01197669A (en) Detecting system for pulse width
JP2602331Y2 (en) Continuous pulse width measuring device
JPH0528526Y2 (en)
JP2658377B2 (en) Waveform display device
JPH0735791A (en) Time measuring instrument
JPS6330769A (en) Logic analyzer
JPH0772737B2 (en) Period detection circuit
JPH05265438A (en) Video signal processor
JPH0653982U (en) Network analyzer
JPH01269067A (en) Envelope measuring instrument
JPH06326608A (en) Hold circuit
JPH0694273B2 (en) Anti-skidding brake control device