[go: up one dir, main page]

JPS58215565A - Peak value detecting circuit - Google Patents

Peak value detecting circuit

Info

Publication number
JPS58215565A
JPS58215565A JP57099727A JP9972782A JPS58215565A JP S58215565 A JPS58215565 A JP S58215565A JP 57099727 A JP57099727 A JP 57099727A JP 9972782 A JP9972782 A JP 9972782A JP S58215565 A JPS58215565 A JP S58215565A
Authority
JP
Japan
Prior art keywords
circuit
data
current
minimum value
input terminal
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
JP57099727A
Other languages
Japanese (ja)
Inventor
Hideyuki Tsujimura
秀之 辻村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57099727A priority Critical patent/JPS58215565A/en
Publication of JPS58215565A publication Critical patent/JPS58215565A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/04Measuring peak values or amplitude or envelope of AC or of pulses

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To obtain the titled circuit which allows precise measurement, by eliminating an error due to leaking because of the error is digitally storaged, and the need to consider frequency dependency of noise because of a high-speed A/D conversion is used. CONSTITUTION:A storage circuit LA1 and a comparing circuit CM1 detect whether an analog signal rises or falls at the present time. Storage circuits LA2 and LA3, a selecting circuit SE, and a comparing circuit CM2 compare current data with the maximum value of data when the waveform is in a leading edge state or compare the current data with the minimum value of data. Then, a writing control circuit sends a clock pulse to the storage circuits to update the data in such a way that the current data is regarded as a new maximum value when the current data is greater than the current maximum value or as a new minimum value when the current data is smaller than the current minimum value Consequently, the current minimum value is stored in the control circuit LA2 and the current minimum value is stored in the storage circuit LA3; and their difference is found to obtain an expected peak value.

Description

【発明の詳細な説明】 本発明はアナログ回路の分野に属し、アナログ回路の測
定に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention is in the field of analog circuits and relates to measurement of analog circuits.

一般に、アナログディバイスの測定の中でノイズ測定と
いわれるものがある。これはアナログディバーイスの入
力条件を一定にした時、出力端子に現われるレベルの不
均一性(ドリフトともいう)を測定するもので、波形の
最大値と最小値の差を測定して得られるものである。
Generally speaking, among analog device measurements, there is something called noise measurement. This measures the level non-uniformity (also called drift) that appears at the output terminal when the input conditions of the analog device are held constant, and is obtained by measuring the difference between the maximum and minimum values of the waveform. It is something.

従来は第1図に示す様によく知られたピーク値検出回路
によって測定してきた。この動作は、アナログ入力端子
VrNにアナログ信号が入シ、もし正の電圧がくるとオ
ペアンプ(ICI )からダイオード(Dl)を通して
コンデンサ(C1)K正電圧として充電される。アナロ
グ信号がコンデンサ(C1)の電圧よル低い時は、コン
デンサに蓄えられた電荷はそのままであるが、アナログ
信号がコンデンサ(C1)の電圧よシ高い時は、さらに
コンデンサ(C1)は充電されることになシ。
Conventionally, measurements have been made using a well-known peak value detection circuit as shown in FIG. In this operation, an analog signal is input to the analog input terminal VrN, and if a positive voltage is applied, the capacitor (C1) is charged as a positive voltage from the operational amplifier (ICI) through the diode (Dl). When the analog signal is lower than the voltage of the capacitor (C1), the charge stored in the capacitor remains unchanged, but when the analog signal is higher than the voltage of the capacitor (C1), the capacitor (C1) is further charged. Of course.

これで正電圧に対するピーク値がコンデンサ(C1)に
保持される事になる。又アナログ入力信号が負の場合は
接地電位からコンデンサ(C2〕を通り、ダイオード(
B2)を通シオペアンプ(IC2)と電流が流れ、コン
デンサ(C2)に負の電圧として充電される。動作は正
の電圧の時と同様で、コンデンサ(C2)には負の電圧
のピーク値が保持される事になる。そしてそれぞれの出
力OU T (−1−1と0UT(→の差を取れば、ピ
ーク値が得られる。しかしノイズ測定は長時間の変化を
みる為、コンデンサ自身のリーク又はコンデンサに接続
されている部品にリークがあると誤差が生じる事になる
。又速い周波数や遅い周波数のノイズもあり追従性に対
してコンデンサの選び方にも問題があった。
In this way, the peak value for positive voltage will be held in the capacitor (C1). Also, if the analog input signal is negative, it passes from the ground potential through the capacitor (C2) and the diode (
A current flows through the operational amplifier (IC2) and the capacitor (C2), and the capacitor (C2) is charged as a negative voltage. The operation is the same as when the voltage is positive, and the peak value of the negative voltage is held in the capacitor (C2). Then, the peak value can be obtained by taking the difference between each output OUT (-1-1 and 0UT If there is a leak in the components, an error will occur.Also, there is noise at fast and slow frequencies, and there are also problems in the selection of capacitors for tracking performance.

本発明はこれらの問題点を解決する為に考えられたもの
である。
The present invention has been devised to solve these problems.

以下本発明について説明する。The present invention will be explained below.

第2図に本発明の一実施例を示す。FIG. 2 shows an embodiment of the present invention.

第2図のようにアナログディジタル変換器(以下A/D
変換器という)(AD)のディジタル出力端子(DOU
T )を記憶回路(LAI)、(Li2)及び(Li2
)のデータ入力端子(LII)。
As shown in Figure 2, an analog-to-digital converter (hereinafter referred to as A/D
The digital output terminal (DOU) of the converter (AD)
T) as memory circuit (LAI), (Li2) and (Li2
) data input terminal (LII).

(LI2)及び(LI3)にそれぞれ接続し、さらに比
較回路(CMl)及び(0M2 )の一方のデータ入力
端子(CA1)及び(CA2)にそれぞれ接続し、記憶
回路(LAl)のデータ出力端子(LOI)を比較回路
(CMI)の他方のデータ入力端子(CB1)に接続し
、記憶回路(Li2)のデータ出力端子(LO2)を選
択回路(SE)の一方のデータ入力端子(SA)に、又
記憶回路(Li2)のデータ出力端子(LO3)を選択
回路(SE)の他方のデータ入力端子(SB)にそれぞ
れ接続し1選択回路(SE)のデータ出力端子(SO)
を比較回路(0M2)の他方のデータ入力端子(CB2
)に接続し、比較側M(CMl)の制御出力端子(C0
1)を選択回路(SE)の選択制御入力端子(SIN)
及び書込み制御回路(WC)の選択入力端子(WIII
N)に接続し、比較回路(0M2)の制御出力端子(C
02)を書込み制御回路(WC)のクロック制御入力端
子(WtN)に接続し、書込み制御回路(WC)の3つ
のクロック入力端子(WOI )、(WO2)及び(W
O3)を記憶回路(LAI )、(Li2 )及び(L
i2)のクロック入力端子(CL 1 )。
(LI2) and (LI3) respectively, and further connected to one data input terminal (CA1) and (CA2) of the comparison circuit (CMl) and (0M2), respectively, and the data output terminal ( LOI) to the other data input terminal (CB1) of the comparison circuit (CMI), and the data output terminal (LO2) of the storage circuit (Li2) to one data input terminal (SA) of the selection circuit (SE). In addition, the data output terminal (LO3) of the memory circuit (Li2) is connected to the other data input terminal (SB) of the selection circuit (SE), and the data output terminal (SO) of the 1 selection circuit (SE) is connected.
to the other data input terminal (CB2) of the comparison circuit (0M2).
) and the control output terminal (C0
1) Selection control input terminal (SIN) of selection circuit (SE)
and write control circuit (WC) selection input terminal (WIII
N) and the control output terminal (C
02) to the clock control input terminal (WtN) of the write control circuit (WC), and the three clock input terminals (WOI), (WO2) and (WtN) of the write control circuit (WC).
O3) to memory circuits (LAI), (Li2) and (L
i2) clock input terminal (CL 1 ).

(CL2)及び(CL3)にそれぞれ接続して構成する
(CL2) and (CL3), respectively.

動作原理は以下の通りである。まず始めに、アナログ信
号が現時点に於て立上シの状態であるか。
The operating principle is as follows. First of all, is the analog signal currently in the rising state?

立下りの状態であるかを記憶回路(LAI)と比較回路
(CMI)により検出する。次に波形が立上シの状態に
あれば、現時点のデータと、データの最大値と比較し、
波形が立下りの状態にあれば現時点のデータとデータの
最小値を比較するということを記憶回路(Li2)及び
(Li2)と選択回路(8E)及び比較回路(0M2)
とで行う。
A memory circuit (LAI) and a comparison circuit (CMI) detect whether it is in a falling state. Next, if the waveform is in the rising state, compare the current data with the maximum value of the data,
If the waveform is in a falling state, the current data and the minimum value of the data are compared.
Do it with.

次に現時点のデータが今までの最大値と比較して大きい
又は現時点のデータが今までの最小値よりも小さい時は
、現時点のデータを最大値又は最小値とする為に書込み
制御回路より記憶回路にクロックパルスを送ってデータ
を更新する。以上述べた3つの動作の繰返しで最大値、
最小値を求める。
Next, when the current data is larger than the previous maximum value or the current data is smaller than the previous minimum value, the write control circuit stores the current data as the maximum or minimum value. Send clock pulses to the circuit to update data. By repeating the above three operations, the maximum value,
Find the minimum value.

今A/D変換器の入力(AIN)にアナログ信号VIN
が入ってきたとする。ある時点においてアナログ信号を
サンプリングしてA/D変換器(AD)に取込みディジ
タル値は変換され、A/D変換器(AD)のデータ出力
(Dour )より現時点に取込んだデータが出力され
る。まず、このデータが比較回路(CMI)のデータ入
力(CAI)に入力され、一方記憶回路(LAI)には
、現時点に於てサンプリングした1つ前のサンプリング
データが記憶されていて、そのデータが比較回路(CM
l)のデータ入力(CBI)に入力でれる。ここで現時
点のデータと1つ前のデータが比較される事になる。そ
の結果、現時点のデータが大きい場合、現時点ではアナ
ログ信号は立上りの状態であるという事がわかり、又現
時点のデータが小さい場合アナログ信号は立下シの状態
である事がわかる。比較した結果を選択回路(SE)の
選択制御入力端子(SxN)に入力する。もし、現時点
で立上りの状態であれば、今までのデータの最大値と比
較する事になり、最大値を記憶しである記憶回路(Li
2)よυ最大値が選択回*(8E)のデータ入力端子(
8A)を通り比較回路(0M2)のデータ入力端子(C
B2)に入力される。比較回路(0M2)のデータ入力
端子(CA2)には現時点でのデータが入力され、これ
らが比較される。ここで現時点でのデータが最大値より
大きい場合、比較回路(0M2)の出力(CO2)が書
込み制御回路(WC)のクロック制御入力端子(WIN
)K入力され、比較回路(CMI、)よシの出力(co
Bが選択入力端子(W8IN)に入力される事によりク
ロック出力端子(WO2)よりクロックが出て今までの
最大値を記憶している記憶回路(Li2)のクロック入
力端子(CL2)に入力され入力端子(LI 2 )よ
シ現時点のサンプリングデータが新たに最大値と記憶さ
れる事になる。又現時点のデータが最大値よシ小さい場
合は最大値のデータは更新されず書込み制御回路(WC
)よりの最大値更新のためのクロックパルスは出す最大
値は変化しない。又立下り状態に於ても立上シ状態と同
様に、最小値を記憶している記憶回路(Li2)のデー
タ出力(LO3)が選択回路(SE)で選択され比較回
路(0M2)のデータ入力(CB2)に入力され、現時
点のデータと比較される事になる。現時点のデータが最
小値よりも小さい時前と同様書込み制御回路(WC)の
クロック出力端子(WO3)よりクロックパルスが記憶
回路(Li2)のクロック入力端子(CL3〕に入力さ
れ、現時点のデータが最小値として新たに記憶される。
Now the analog signal VIN is input to the A/D converter input (AIN).
Suppose that comes in. At a certain point in time, the analog signal is sampled and taken into the A/D converter (AD), the digital value is converted, and the data taken in at the present moment is output from the data output (Dour) of the A/D converter (AD). . First, this data is input to the data input (CAI) of the comparator circuit (CMI), while the memory circuit (LAI) stores the previous sampling data sampled at the present moment. Comparison circuit (CM
It can be input to the data input (CBI) of l). Here, the current data and the previous data will be compared. As a result, if the current data is large, it is found that the analog signal is currently in a rising state, and if the current data is small, it is found that the analog signal is in a falling state. The comparison result is input to the selection control input terminal (SxN) of the selection circuit (SE). If it is in the rising state at the moment, it will be compared with the maximum value of the data up to now, and a memory circuit (Li
2) The data input terminal whose maximum value is selected times*(8E) (
8A) to the data input terminal (C) of the comparator circuit (0M2).
B2). Current data is input to the data input terminal (CA2) of the comparison circuit (0M2), and these data are compared. Here, if the current data is larger than the maximum value, the output (CO2) of the comparison circuit (0M2) is output to the clock control input terminal (WIN) of the write control circuit (WC).
) K is input, and the comparator circuit (CMI, ) and the output (co
When B is input to the selection input terminal (W8IN), a clock is output from the clock output terminal (WO2) and input to the clock input terminal (CL2) of the memory circuit (Li2) that stores the maximum value so far. The current sampling data from the input terminal (LI 2 ) will be newly stored as the maximum value. Also, if the current data is smaller than the maximum value, the maximum value data is not updated and the write control circuit (WC
) The maximum value issued by the clock pulse for updating the maximum value does not change. Also, in the falling state, as in the rising state, the data output (LO3) of the memory circuit (Li2) that stores the minimum value is selected by the selection circuit (SE), and the data of the comparison circuit (0M2) is selected by the selection circuit (SE). It will be input to the input (CB2) and compared with the current data. When the current data is smaller than the minimum value, as before, a clock pulse is input from the clock output terminal (WO3) of the write control circuit (WC) to the clock input terminal (CL3) of the memory circuit (Li2), and the current data is It is newly stored as the minimum value.

又現時点のデータが最小値に比べて大きい場合は変化は
ない。ざらにA/D変換器(AD)が次のアナログ信号
をサンプリングするまでに書込み制御回路(we)のク
ロック出力端子(WOI)からクロックを出し記憶回路
(LAI)のクロック入力端子(CLI)に入力され、
現時点でのデータを記憶回路(LAl)に記憶する。以
上が、A/D変換器がサンプリングを行って次のサンプ
リングを行うまでの動作である。
Also, if the current data is larger than the minimum value, there is no change. Roughly, until the A/D converter (AD) samples the next analog signal, the clock is output from the clock output terminal (WOI) of the write control circuit (WE) and sent to the clock input terminal (CLI) of the memory circuit (LAI). entered,
The current data is stored in the storage circuit (LA1). The above is the operation of the A/D converter from one sampling to the next sampling.

これを任意の時間繰返して行うことにより、記憶回路(
Li2)に今までの最大値が記憶され記憶回路(Li2
)に今までの最小値が記憶されている事になる。従りて
この差を求める事によ郵期待するピーク値が得られる。
By repeating this for an arbitrary period of time, the memory circuit (
The maximum value up to now is stored in the memory circuit (Li2).
) will store the previous minimum value. Therefore, by finding this difference, the expected peak value can be obtained.

本発明を使用する事により、従来の問題点であるリーク
による誤差に対しては、ディジタルで記憶している為、
なくなシ、又高速のA/D変換器を使用する事により、
ノイズの周波数依存性を考える必要がなくなシ、精度の
良い測定が可能になる。
By using the present invention, errors due to leakage, which is a problem with conventional methods, can be avoided because they are stored digitally.
By using a high-speed A/D converter,
There is no need to consider the frequency dependence of noise, and highly accurate measurement becomes possible.

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

第1図は従来のピーク値検出回路を示す図、第2図は本
発明のピーク値検出回路を示す図である。 V IN−−−−・−アナログ信号入力、IC1,IC
2・・・・・・オペアンプ、D1.D2・・・・・・ダ
イオード。 CI、C2・・・・・・コンデンサ、0UT(+)、0
UT(→・・・・・・最大及び最小データ出力。
FIG. 1 is a diagram showing a conventional peak value detection circuit, and FIG. 2 is a diagram showing a peak value detection circuit according to the present invention. V IN-----Analog signal input, IC1, IC
2...Operational amplifier, D1. D2...Diode. CI, C2...Capacitor, 0UT(+), 0
UT (→...Maximum and minimum data output.

Claims (1)

【特許請求の範囲】 アナログディジタル変換器のデータ出力を第1ないし第
3の記憶回路のデータ入力端子に供給し。 さらに第1および第2の比較回路の一方のデータ入力端
子にそれぞれ供給し、前記第1の記憶回路のデータ出力
を前記第1の比較回路の他方のデータ入力端子に供給し
、前記第2の記憶回路のデータ出力を選択回路の一方の
データ入力端子に、又前記第3の記憶回路のデータ出力
を前記選択回路の他方のデータ入力端子にそれぞれ供給
し、前記選択回路のデータ出力端子を前記第2の比較回
路の他方のデータ入力端子に供給し、前記第1の比較回
路の制御出力端子を前記選択回路の選択制御入力端子及
び書込み制御回路の選択入力端子に接続し、前記比較回
路の制御出力端子を前記書込み制御回路のクロック制御
入力端子に接続し、前記書込み制御回路の3つのクロッ
ク出力端子を前記第1ないしwc3の記憶回路のクロッ
ク入力端子にそれぞれ接続して構成されるピーク値検出
回V!&。
[Claims] The data output of the analog-to-digital converter is supplied to the data input terminals of the first to third memory circuits. Furthermore, the first and second comparison circuits are supplied to one data input terminal thereof, the data output of the first storage circuit is supplied to the other data input terminal of the first comparison circuit, and the second The data output of the storage circuit is supplied to one data input terminal of the selection circuit, and the data output of the third storage circuit is supplied to the other data input terminal of the selection circuit, and the data output terminal of the selection circuit is connected to the selection circuit. the control output terminal of the first comparison circuit is connected to the selection control input terminal of the selection circuit and the selection input terminal of the write control circuit; A peak value configured by connecting a control output terminal to a clock control input terminal of the write control circuit, and connecting three clock output terminals of the write control circuit to clock input terminals of the first to wc3 storage circuits, respectively. Detection times V! &.
JP57099727A 1982-06-10 1982-06-10 Peak value detecting circuit Pending JPS58215565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57099727A JPS58215565A (en) 1982-06-10 1982-06-10 Peak value detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57099727A JPS58215565A (en) 1982-06-10 1982-06-10 Peak value detecting circuit

Publications (1)

Publication Number Publication Date
JPS58215565A true JPS58215565A (en) 1983-12-15

Family

ID=14255098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57099727A Pending JPS58215565A (en) 1982-06-10 1982-06-10 Peak value detecting circuit

Country Status (1)

Country Link
JP (1) JPS58215565A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2619632A1 (en) * 1987-08-21 1989-02-24 Itt Composants Instr Device for measuring the peak value of a voltage
JPH0540886U (en) * 1991-11-08 1993-06-01 株式会社アドバンテスト Peak hold circuit
JP2008504529A (en) * 2004-06-23 2008-02-14 テラディン インコーポレイティッド Comparator feedback peak detector

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2619632A1 (en) * 1987-08-21 1989-02-24 Itt Composants Instr Device for measuring the peak value of a voltage
JPH0540886U (en) * 1991-11-08 1993-06-01 株式会社アドバンテスト Peak hold circuit
JP2008504529A (en) * 2004-06-23 2008-02-14 テラディン インコーポレイティッド Comparator feedback peak detector
JP4713581B2 (en) * 2004-06-23 2011-06-29 テラディン インコーポレイティッド Comparator feedback peak detector

Similar Documents

Publication Publication Date Title
US4786861A (en) Frequency counting apparatus and method
US4243975A (en) Analog-to-digital converter
US4336526A (en) Successive approximation analog-to-digital converter using non-binary series
US4112381A (en) Peak detector
US5790480A (en) Delta-T measurement circuit
CN112816088B (en) Self-adaptive range switching temperature sensor
US7250807B1 (en) Threshold scaling circuit that minimizes leakage current
US4942401A (en) Analog to digital conversion with charge balanced voltage to frequency converter having polarity responsive offset
US4404545A (en) Analog-to-digital converter of the dual slope type
JPS58215565A (en) Peak value detecting circuit
US4143362A (en) High resolution auto-zero circuit for analog-to-digital converter
US4868470A (en) Apparatus and method for detecting a true average of N signal samples
CN108398590B (en) Digital output voltage peak value detection method
CN116736362A (en) Peak time detection circuit in front-end reading circuit
US4383188A (en) Voltage-controlled constant current source
JPS59212021A (en) data acquisition circuit
JP3323121B2 (en) Method and apparatus for measuring semiconductor device
US11892327B2 (en) Read-out circuit for a capacitive sensor
EP0448182A1 (en) Sampling time determining apparatus and method
JPH0317263B2 (en)
Zhang et al. ATE Test Solution for High Resolution and High Voltage DAC
JPS6135729B2 (en)
JPS6290553A (en) Peak level measurement circuit
EP0443693A2 (en) Frequency counting apparatus and method
JPS61253934A (en) A/D converter testing equipment