Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2586653B2 - Trigger circuit - Google Patents
[go: Go Back, main page]

JP2586653B2 - Trigger circuit - Google Patents

Trigger circuit

Info

Publication number
JP2586653B2
JP2586653B2 JP1215383A JP21538389A JP2586653B2 JP 2586653 B2 JP2586653 B2 JP 2586653B2 JP 1215383 A JP1215383 A JP 1215383A JP 21538389 A JP21538389 A JP 21538389A JP 2586653 B2 JP2586653 B2 JP 2586653B2
Authority
JP
Japan
Prior art keywords
data
address
output
address generator
data memory
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.)
Expired - Lifetime
Application number
JP1215383A
Other languages
Japanese (ja)
Other versions
JPH0378615A (en
Inventor
薫 君▲塚▼
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 JP1215383A priority Critical patent/JP2586653B2/en
Publication of JPH0378615A publication Critical patent/JPH0378615A/en
Application granted granted Critical
Publication of JP2586653B2 publication Critical patent/JP2586653B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、トリガ回路に関するものであり、詳しく
は、測定信号のレベルの変化量に基づいてトリガ信号が
出力できるトリガ回路に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trigger circuit, and more particularly, to a trigger circuit capable of outputting a trigger signal based on a level change of a measurement signal.

<従来の技術> 本来は穏やかにレベル変化している測定対象物の信号
Mが、測定対象物になんらかの異常が発生することによ
って例えば第4図のA部分に示すように急激にレベル変
動することがある。
<Prior Art> The level of a signal M of a measurement object whose level originally changes gently suddenly changes as shown in, for example, part A of FIG. 4 due to the occurrence of some abnormality in the measurement object. There is.

このように急激にレベルが変化する部分Aに着目して
測定を行うのにあたっては、このような急激なレベル変
動を検出してトリガ信号を出力させる必要がある。
In performing the measurement by paying attention to the portion A where the level changes rapidly, it is necessary to detect such a sudden level change and output a trigger signal.

従来、このようなレベル変化を検出してトリガ信号を
発生させる方法として、例えば第4図に示すように予め
設定された基準レベルVrefと測定信号Mのレベルを比較
するとともに、測定信号Mの立ち上がりまたは立ち下が
りも判別することが行われている。
Conventionally, as a method of detecting such a level change and generating a trigger signal, for example, as shown in FIG. 4, a preset reference level Vref is compared with a level of a measurement signal M, and a rise of the measurement signal M is measured. Alternatively, a fall is also determined.

<発明が解決しようとする課題> しかし、このような方法において、例えば基準レベル
Vrefと立ち下がりでトリガを発生させるものとすると、
A部分に関連した時刻t2だけではなく、同様な条件が成
立する時刻t1においてもトリガが出力されることにな
り、この時刻t1におけるトリガを時刻t2におけるトリガ
として誤認してしまって正確な測定が行えない恐れがあ
る。
<Problems to be solved by the invention> However, in such a method, for example, the reference level
Assuming that a trigger occurs on Vref and falling,
Not only the time t 2 associated with the part A, also becomes a trigger is output at time t 1 the same condition is satisfied, it ended up mistaking trigger at this time t 1 as a trigger at time t 2 There is a risk that accurate measurement cannot be performed.

本発明は、このような点に着目したものであり、その
目的は、急激なレベル変化を確実に検出してトリガ信号
を出力するトリガ回路を提供することにある。
The present invention focuses on such a point, and an object of the present invention is to provide a trigger circuit that reliably detects a sudden level change and outputs a trigger signal.

<課題を解決するための手段> 本発明のトリガ回路は、 測定データを格納するデータメモリと、 このデータメモリにデータを書込むためのアドレスを
出力する第1のアドレス発生器と、 前記データメモリに格納されたデータを読みだすため
のアドレスを出力する第2のアドレス発生器と、 前記第1のアドレス発生器から出力されるアドレスに
従ってデータメモリに書込まれる第1のデータと前記第
2のアドレス発生器から出力されるアドレスに従ってデ
ータメモリから読みだされる第2のデータの差の絶対値
を演算する演算器と、 この減算器の出力データと基準レベルデータを比較し
て比較結果をトリガ信号として出力するコンパレータ
と、 このコンパレータに入力される基準レベルデータが格
納されたレジスタとを設け、 前記第1のアドレス発生器および第2のアドレス発生
器から前記データメモリに交互にアドレスを出力するこ
とを特徴とする。
<Means for Solving the Problems> A trigger circuit according to the present invention comprises: a data memory for storing measurement data; a first address generator for outputting an address for writing data to the data memory; A second address generator for outputting an address for reading data stored in the first address generator; a first data written to a data memory in accordance with an address output from the first address generator; A calculator for calculating the absolute value of the difference between the second data read from the data memory according to the address output from the address generator; and comparing the output data of the subtractor with the reference level data to trigger a comparison result. A comparator that outputs the signal as a signal; and a register that stores reference level data input to the comparator. And outputs the address alternately to said data memory from the address generator and the second address generator.

<作用> 本発明のトリガ回路によれば、現在のデータとある一
定時間前のデータの差が予め設定された基準レベル以上
に変化したときにトリガを発生することになる。
<Operation> According to the trigger circuit of the present invention, a trigger is generated when the difference between the current data and the data before a certain period of time changes to a predetermined reference level or more.

<実施例> 以下、図面を用いて本発明の実施例を詳細に説明す
る。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示すブロック図であ
る。図において、入力端子1に入力される測定データMD
は、ライトデータWDとして第1のアドレス発生器2から
出力されるライトアドレスWに従ってデータメモリ3に
格納されるとともに、減算器4の一方の入力端子にも加
えられる。データメモリ3に格納されたデータは、第2
のアドレス発生器5から出力されるリードアドレスRに
従ってリードデータRDとして減算器4の他方の入力端子
に読みだされる。減算器4は、これらデータメモリ3に
書込まれるライトデータWDとデータメモリ3から読みだ
されるリードデータRDの差の絶対値を減算し、減算結果
SDをコンパレータ6の一方の入力端子に入力する。この
コンパレータ6の他方の入力端子にはレジスタ7に予め
格納されている基準レベルデータREDが入力されてい
る。このコンパレータ6は、減算器4の演算結果SDと基
準レベルデータREDを比較し、例えばSD≧REDになったと
きに比較結果をトリガ信号TGとして出力する。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, measurement data MD input to input terminal 1
Is stored in the data memory 3 in accordance with the write address W output from the first address generator 2 as write data WD, and is also applied to one input terminal of the subtractor 4. The data stored in the data memory 3 is
Is read out to the other input terminal of the subtractor 4 as read data RD according to the read address R output from the address generator 5. The subtracter 4 subtracts the absolute value of the difference between the write data WD written in the data memory 3 and the read data RD read from the data memory 3, and
SD is input to one input terminal of the comparator 6. The reference level data RED stored in the register 7 is input to the other input terminal of the comparator 6. The comparator 6 compares the operation result SD of the subtractor 4 with the reference level data RED. For example, when SD ≧ RED, the comparison result is output as a trigger signal TG.

第2図は、このような回路の動作を示すタイミングチ
ャートである。図において、(a)はデータメモリ3に
入力されるアドレスであり、第1のアドレス発生器2か
ら出力されるライトアドレス(W,W+1,…)と第2のア
ドレス発生器5から出力されるリードアドレス(R,R+
1,…)とが交互に入力される。(b)はライトアドレス
Wに従ってデータメモリ3に書込まれるとともに減算器
4の一方の入力端子に入力されるライトデータWDであ
り、(c)はリードアドレスRに従ってデータメモリ3
から減算器4の他方の入力端子に読みだされるリードデ
ータRDである。ここで、アドレス相互間の時間関係は、
ライトアドレスWが出力された後にリードアドレスRが
出力されることになり、データ相互間の時間関係は、ラ
イトアドレスWに従って現時点でのデータがライトデー
タWDとしてデータメモリ3に書込まれて一定時間前にデ
ータメモリ3に書込まれたデータがその後に入力される
リードアドレスRDに従ってリードデータRDとして読みだ
されることになる。(d)は減算器4の出力データSDで
ある。減算器4は、ライトデータWDをAとしリードデー
タRDをBとすると、(A−B)の絶対値を出力する。
(e)はコンパレータ6から出力されるトリガTGであ
る。例えばレジスタ7に基準レベルデータREDとして「M
AX」が格納されているものとすると、減算器4の出力デ
ータSDがSD≧MAXの条件を満たすことによりその区間の
トリガTGがHレベルになる。そして、このHレベルのト
リガTGにより、例えばデータアクイジションを終了する
ための動作を開始させる。
FIG. 2 is a timing chart showing the operation of such a circuit. In the figure, (a) is an address input to the data memory 3, which is a write address (W, W + 1,...) Output from the first address generator 2 and output from the second address generator 5. Read address (R, R +
1, ...) are input alternately. (B) is write data WD written to the data memory 3 in accordance with the write address W and input to one input terminal of the subtractor 4, and (c) is data data 3 in accordance with the read address R.
Is read data RD read from the other input terminal of the subtracter 4 from the input terminal. Here, the time relationship between addresses is
The read address R is output after the write address W is output. The data previously written in the data memory 3 is read out as the read data RD in accordance with the subsequently input read address RD. (D) is the output data SD of the subtractor 4. The subtracter 4 outputs the absolute value of (AB), where A is the write data WD and B is the read data RD.
(E) is a trigger TG output from the comparator 6. For example, “M
Assuming that "AX" is stored, the trigger data TG in that section goes high when the output data SD of the subtractor 4 satisfies the condition of SD≥MAX. Then, an operation for ending the data acquisition, for example, is started by the H-level trigger TG.

第3図は、このような動作の一例を示す波形図であ
る。ここで、各アドレス発生器2,5から交互に出力され
るライトアドレスWとリードアドレスRの差は、ある一
定の時間Tを意味している。すなわち、ライトアドレス
Wに従って現在のデータAがデータメモリ3に書込ま
れ、リードアドレスRに従ってデータメモリ3から時間
T前のデータBが読みだされることになる。
FIG. 3 is a waveform chart showing an example of such an operation. Here, the difference between the write address W and the read address R alternately output from each of the address generators 2 and 5 means a certain time T. That is, the current data A is written to the data memory 3 according to the write address W, and the data B before the time T is read from the data memory 3 according to the read address R.

このように構成することにより、一定時間内における
レベル変化が検出されてトリガが出力されることにな
り、急激なレベル変化を確実に検出してトリガを発生さ
せることができる。
With this configuration, a level change within a predetermined time is detected and a trigger is output, and a sudden level change can be reliably detected and a trigger can be generated.

このようなトリガ回路は、例えば、測定対象系の温度
や圧力やモニターし、それらがなんらかの異常をきたし
たときの急激なレベル変動を検出して同時にデータアク
イジションを行っている他のチャンネルまたは測定器に
トリガをかけ、それらのデータを解析して異常の原因を
求めるのに有効である。
Such a trigger circuit monitors, for example, the temperature and pressure of the measurement target system, detects a sudden level change when any of these abnormalities occur, and detects the sudden change in level and simultaneously performs other data acquisition on other channels or measuring instruments. It is effective to trigger and analyze those data to find the cause of the abnormality.

また、急激なレベル変動が発生したことを報知するア
ラームとしても使用できる。
Further, it can be used as an alarm for notifying that a sudden level change has occurred.

<発明の効果> 以上説明したように、本発明によれば、比較的簡単な
構成で急激なレベル変化を確実に検出してトリガ信号を
出力するトリガ回路が実現できる。
<Effects of the Invention> As described above, according to the present invention, it is possible to realize a trigger circuit that reliably detects a sudden level change and outputs a trigger signal with a relatively simple configuration.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の動作を説明するタイミングチャート、第3図は
第1図の動作を示す波形図、第4図は従来の動作を示す
波形図である。 1……入力端子、2……ライトアドレス発生器、3……
データメモリ、4……減算器、5……リードアドレス発
生器、6……コンパレータ、7……レジスタ。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of FIG. 1, FIG. 3 is a waveform diagram showing the operation of FIG. 1, and FIG. It is a waveform diagram which shows operation | movement. 1 ... input terminal, 2 ... write address generator, 3 ...
Data memory, 4 ... Subtractor, 5 ... Read address generator, 6 ... Comparator, 7 ... Register.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】測定データを格納するデータメモリと、 このデータメモリにデータを書込むためのアドレスを出
力する第1のアドレス発生器と、 前記データメモリに格納されたデータを読みだすための
アドレスを出力する第2のアドレス発生器と、 前記第1のアドレス発生器から出力されるアドレスに従
ってデータメモリに書込まれる第1のデータと前記第2
のアドレス発生器から出力されるアドレスに従ってデー
タメモリから読みだされる第2のデータの差の絶対値を
演算する減算器と、 この減算器の出力データと基準レベルデータを比較して
比較結果をトリガ信号として出力するコンパレータと、 このコンパレータに入力される基準レベルデータが格納
されたレジスタとを設け、 前記第1のアドレス発生器および第2のアドレス発生器
から前記データメモリに交互にアドレスを出力すること
を特徴とするトリガ回路。
1. A data memory for storing measurement data, a first address generator for outputting an address for writing data to the data memory, and an address for reading data stored in the data memory A second address generator that outputs the first data written to a data memory in accordance with an address output from the first address generator;
A subtractor for calculating the absolute value of the difference between the second data read from the data memory in accordance with the address output from the address generator, and comparing the output data of the subtractor with the reference level data to obtain a comparison result. A comparator that outputs a trigger signal; and a register that stores reference level data input to the comparator. The first address generator and the second address generator output addresses alternately to the data memory. A trigger circuit.
JP1215383A 1989-08-22 1989-08-22 Trigger circuit Expired - Lifetime JP2586653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1215383A JP2586653B2 (en) 1989-08-22 1989-08-22 Trigger circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1215383A JP2586653B2 (en) 1989-08-22 1989-08-22 Trigger circuit

Publications (2)

Publication Number Publication Date
JPH0378615A JPH0378615A (en) 1991-04-03
JP2586653B2 true JP2586653B2 (en) 1997-03-05

Family

ID=16671392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1215383A Expired - Lifetime JP2586653B2 (en) 1989-08-22 1989-08-22 Trigger circuit

Country Status (1)

Country Link
JP (1) JP2586653B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4887235B2 (en) * 2007-08-08 2012-02-29 プレス工業株式会社 Axle unit structure for air suspension

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH073346B2 (en) * 1986-02-05 1995-01-18 株式会社トキメック Ultrasonic flowmeter measurement value processing method

Also Published As

Publication number Publication date
JPH0378615A (en) 1991-04-03

Similar Documents

Publication Publication Date Title
US4631724A (en) Semiconductor memory test equipment
KR910012924A (en) Bus monitor to selectively catch errors that occur independently from multiple sources
JP4914811B2 (en) Electronic equipment
JPS6211154Y2 (en)
JPS59213010A (en) Signal processor
JP2586653B2 (en) Trigger circuit
JPS60138754A (en) Method and apparatus for detecting tracking deviation in reproduction of digitally coded video signal recorded on magnetic tape
JPH04326410A (en) Clock monitor device
JPS6211816B2 (en)
JPS6370171A (en) Memory for input waveform signal
FI86483C (en) ANORDNING FOER OEVERVAKNING AV ETT DATABEHANDLINGSSYSTEM.
JP2598709B2 (en) IC output pulse width inspection circuit
JP4178627B2 (en) Arithmetic circuit and three-phase signal maximum amplitude detection method
JPS61201173A (en) Instrument for measuring characteristics of magnetic disk
SU750570A1 (en) Rapid-access checking device
JP2008117500A (en) Device test equipment
JPH07205480A (en) High-speed detecting method for position and strength
JPS63271171A (en) Power source diagnostic system
JP3305194B2 (en) Test equipment for solid-state imaging devices
JPH09311825A (en) Rom monitoring circuit
KR0139905Y1 (en) Output voltage detector
JP3375878B2 (en) Measuring device and control method therefor
JP2000074998A (en) Electronic device diagnostic system and diagnostic method
JPS6394166A (en) Waveform measuring instrument
JPS6128143A (en) Abnormality detecting method of input processing circuit