JPH07244091A - Signal detector circuit and noise measuring circuit - Google Patents

Signal detector circuit and noise measuring circuit

Info

Publication number
JPH07244091A
JPH07244091A JP3270294A JP3270294A JPH07244091A JP H07244091 A JPH07244091 A JP H07244091A JP 3270294 A JP3270294 A JP 3270294A JP 3270294 A JP3270294 A JP 3270294A JP H07244091 A JPH07244091 A JP H07244091A
Authority
JP
Japan
Prior art keywords
circuit
voltage
positive
negative
input 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.)
Withdrawn
Application number
JP3270294A
Other languages
Japanese (ja)
Inventor
Akira Shimokawa
明良 下川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3270294A priority Critical patent/JPH07244091A/en
Publication of JPH07244091A publication Critical patent/JPH07244091A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To precisely detect a noise signal, etc., having a different amplitude by holding positive and negative side peak values of an input signal for an arbitrary period, and comparing the former with the latter. CONSTITUTION:The signal detector circuit comprises a positive side peak holder 11 for sampling a positive side waveform of an input signal VIN, sequentially holding a positive side sampled voltage VA and sequentially updating a maximum value of the voltage VA while comparing the held voltage VA with the signal VIN, a negative side peak holder 12 for similarly updating a maximum value of a negative side sampled voltage VB, and an arithmetic unit 13 for sequentially adding the voltages VA and VB. Holding operations of the holders 11, 12 can be externally set by a time setter 14 without depending upon a period of the input signal. Thus, a maximum value of the voltage from the maximum peak to the minimum peak of the irregular voltage VIN which does not become an AC signal can be detected, and a change of the maximum value within an arbitrary period can be detected.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、信号検出回路及びノイ
ズ測定回路に関するものであり、更に詳しく言えば、ピ
ーク値を有する信号を検出する回路及びその応用回路の
改善に関するものである。近年,交通量が激しい地域の
騒音を測定する騒音検出計や、スピーカの性能試験等に
おいて、ノイズ測定装置が使用される。例えば、当該装
置には不規則な入力信号を検出する信号検出回路が内蔵
される。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal detecting circuit and a noise measuring circuit, and more particularly to an improvement of a circuit for detecting a signal having a peak value and its application circuit. 2. Description of the Related Art In recent years, noise measuring devices have been used in noise detectors that measure noise in areas with heavy traffic and in performance tests of speakers. For example, the device includes a signal detection circuit that detects an irregular input signal.

【0002】これによれば、入力信号を半周期毎にレベ
ルシフトし、それを正負の基準電圧と比較し、この比較
結果を出力している。しかし、一定期間内の最大ピーク
レベルを検出することが困難である。そこで、入力信号
の正側ピーク値と負側ピーク値とを任意の期間保持し、
これを比較することにより、振幅が異なるノイズ信号等
を精度良く検出することができる回路及び応用回路が望
まれている。
According to this method, the input signal is level-shifted every half cycle, and it is compared with positive and negative reference voltages, and the comparison result is output. However, it is difficult to detect the maximum peak level within a certain period. Therefore, hold the positive peak value and negative peak value of the input signal for an arbitrary period,
There is a demand for a circuit and an application circuit capable of accurately detecting noise signals having different amplitudes by comparing these.

【0003】[0003]

【従来の技術】図5〜7は、従来例に係る説明図であ
る。図5は従来例に係るピーク検出回路の説明図であ
る。また、図6は、従来例に係る信号検出回路の説明図
をそれぞれ示している。例えば、任意の交流信号のピー
クレベルを検出するピーク検出回路は、図5(A)に示
すように、半波整流回路1及び加算回路2を備える。こ
の回路は、特開昭58−106763号のピーク検出回
路に見られる。
2. Description of the Related Art FIGS. 5 to 7 are explanatory views according to a conventional example. FIG. 5 is an explanatory diagram of a peak detection circuit according to a conventional example. Further, FIG. 6 is an explanatory diagram of a signal detection circuit according to a conventional example. For example, a peak detection circuit that detects the peak level of an arbitrary AC signal includes a half-wave rectification circuit 1 and an addition circuit 2 as shown in FIG. This circuit is found in the peak detection circuit of JP-A-58-106763.

【0004】当該回路の機能は、半波整流回路1により
図5(B)に示すように、入力信号VINを半周期毎に半
波整流する。そして正負両ピークに対応する2個の直流
電圧VA,VBを加算回路2に出力する。これらの和に
相当する直流電圧VA+VBを出力電圧VOUT とする。
これにより、入力信号VINがピークtoピーク電圧V
P-P =VOUT として検出される。
The function of the circuit is that the half-wave rectifier circuit 1 half-wave rectifies the input signal VIN every half cycle as shown in FIG. 5 (B). Then, the two DC voltages VA and VB corresponding to both the positive and negative peaks are output to the adding circuit 2. The DC voltage VA + VB corresponding to the sum of these is set as the output voltage VOUT.
As a result, the input signal VIN has a peak-to-peak voltage V
Detected as PP = VOUT.

【0005】また、任意の交流信号を検出する信号検出
回路は、図6(A)に示すように、ピークホールド回路
3,4,選択回路5,比較器6及び制御回路7 を備え
る。この回路は、特開昭58−205330号の信号検
出回路に見られる。当該回路の機能は、両ピークホール
ド回路3,4に、図6(B)に示すような入力信号VIN
が入力されると、一方のピークホールド回路2では、信
号VINの正のピークレベルが基準レベルVRに保持さ
れ、信号波形全体が正方向にレベルシフトされる。この
レベルシフトされた信号VINが選択回路5に出力され
る。他方のピークホールド回路3では、信号VINの負の
ピークレベルが基準レベル−VRに保持され、信号波形
全体が負方向にレベルシフトされる。このレベルシフト
された信号VINが選択回路5に出力される。
A signal detection circuit for detecting an arbitrary AC signal comprises a peak hold circuit 3, 4, a selection circuit 5, a comparator 6 and a control circuit 7, as shown in FIG. 6 (A). This circuit is found in the signal detection circuit of JP-A-58-205330. The function of this circuit is that the peak hold circuits 3 and 4 receive the input signal VIN as shown in FIG.
Is input, one of the peak hold circuits 2 holds the positive peak level of the signal VIN at the reference level VR and shifts the entire signal waveform in the positive direction. The level-shifted signal VIN is output to the selection circuit 5. In the other peak hold circuit 3, the negative peak level of the signal VIN is held at the reference level -VR, and the entire signal waveform is level-shifted in the negative direction. The level-shifted signal VIN is output to the selection circuit 5.

【0006】この各々の正負のピークホールド回路3,
4の出力は選択回路5により入力信号の半周期毎に切り
換えられる。選択回路5により選択された信号VINは比
較器6に出力される。比較器6では、正方向にレベルシ
フトした信号VINのときは、それが負の基準レベルと比
較され、負方向にレベルシフトした信号VINのときは、
それが正の基準レベルとそれぞれ比較される。この比較
結果から「H」レベルの電圧がVH,「L」レベルの電
圧がVLとなる出力電圧VOUT が得られる。
Each of the positive and negative peak hold circuits 3,
The output of 4 is switched by the selection circuit 5 every half cycle of the input signal. The signal VIN selected by the selection circuit 5 is output to the comparator 6. In the comparator 6, when the signal VIN is level-shifted in the positive direction, it is compared with the negative reference level, and when the signal VIN is level-shifted in the negative direction,
It is compared with the positive reference level respectively. From this comparison result, the output voltage VOUT at which the "H" level voltage is VH and the "L" level voltage is VL is obtained.

【0007】これにより、入力信号VINがピークtoピー
ク電圧VP-P =VOUT として検出される。
As a result, the input signal VIN is detected as the peak-to-peak voltage V PP = V OUT.

【0008】[0008]

【発明が解決しようとする課題】ところで、従来例のピ
ーク検出回路によれば、入力信号VINが同じ波形を繰返
す交流信号のときは、正又は負のピークレベルは一定で
あり、その和に相当する直流電圧も一定である。従っ
て、任意の時間内における正負両ピーク間の電圧も一定
である。
By the way, according to the peak detection circuit of the prior art, when the input signal VIN is an AC signal which repeats the same waveform, the positive or negative peak level is constant and corresponds to the sum thereof. The DC voltage to be applied is also constant. Therefore, the voltage between the positive and negative peaks within a given time is also constant.

【0009】しかし、図7(A)に示すような交流信号
とならない不規則な入力信号VINのピークレベルを検出
する場合には、正負両ピーク間の電圧が一定せずに変動
する。このため、正負ピークの和の直流電圧も変動す
る。また、任意の時間内において、正負ピーク間電圧の
最大値を求める要求があった場合、信号保持機能が無い
ため、加算回路2から得られる電圧VOUT は図6(B)
や図7(A)に示すように、その時間内の最後の値(電
圧値)しか得られないという問題がある。
However, when detecting the peak level of the irregular input signal VIN which does not become an AC signal as shown in FIG. 7A, the voltage between the positive and negative peaks fluctuates without being constant. Therefore, the DC voltage of the sum of the positive and negative peaks also changes. Further, when there is a request for obtaining the maximum value of the positive / negative peak-to-peak voltage within an arbitrary time, the voltage VOUT obtained from the adder circuit 2 is shown in FIG.
As shown in FIG. 7A, there is a problem that only the last value (voltage value) within that time can be obtained.

【0010】また、従来例の信号検出回路によれば、図
6に示すように、入力信号VINを半周期毎にレベルシフ
トし、それを正負の基準電圧VR,−VRと比較し、こ
の比較結果を出力電圧VOUT (VH又はVL)として出
力している。このため、一定期間(正側又は負側のピー
ク波形が複数回現れる期間)内において、振幅値が毎回
異なる入力信号VINを検出する要求があった場合、例え
ば、図7(B)に示すようにプラス側での最大振幅値を
保持するような場合には、従来例の回路では信号検出が
困難となるという問題がある。これは、半周期毎にピー
クホールド回路3,4,が保持動作を終了するためであ
る。また、半周期前の最大振幅値(ピーク値)と現在の
半周期の最大振幅値(ピーク値)との比較が行われてい
ないためと考えられる。
Further, according to the signal detecting circuit of the conventional example, as shown in FIG. 6, the input signal VIN is level-shifted every half cycle, and it is compared with the positive and negative reference voltages VR and -VR, and this comparison is performed. The result is output as the output voltage VOUT (VH or VL). Therefore, when there is a request to detect the input signal VIN whose amplitude value is different each time within a certain period (a period in which the positive or negative peak waveform appears multiple times), for example, as shown in FIG. 7B. In the case where the maximum amplitude value on the plus side is held, there is a problem that it is difficult to detect a signal in the conventional circuit. This is because the peak hold circuits 3, 4 end the holding operation every half cycle. It is also considered that the maximum amplitude value (peak value) before the half cycle and the current maximum amplitude value (peak value) during the half cycle are not compared.

【0011】本発明は、かかる従来例の問題点に鑑み創
作されたものであり、入力信号の正側ピーク値と負側ピ
ーク値とを任意の期間保持し、これを比較することによ
り、振幅が異なるノイズ信号等を精度良く検出すること
が可能となる信号検出回路及びノイズ測定回路の提供を
目的とする。
The present invention has been made in view of the problems of the conventional example, and holds the positive side peak value and the negative side peak value of the input signal for an arbitrary period and compares them to obtain the amplitude. It is an object of the present invention to provide a signal detection circuit and a noise measurement circuit capable of accurately detecting a noise signal or the like having different values.

【0012】[0012]

【課題を解決するための手段】図1(A)は、本発明に
係る信号検出回路の原理図であり、図1(B)は、本発
明に係るノイズ測定回路の原理図をそれぞれ示してい
る。本発明の信号検出回路は図1(A)に示すように、
入力信号VINの正側の波形をサンプリングして正側のサ
ンプル電圧VAを順次保持し、前記保持された正側のサ
ンプル電圧VAと入力信号VINとを比較しながら、正側
のサンプル電圧VAの最大値を順次更新する正側ピーク
ホールド部11と、前記入力信号VINの負側の波形をサ
ンプリングして負側のサンプル電圧VBを順次保持し、
前記保持された負側のサンプル電圧VBと入力信号VIN
とを比較しながら、負側のサンプル電圧VBの最大値を
順次更新する負側ピークホールド部12と、前記正側の
サンプル電圧VAと負側のサンプル電圧VBとを順次加
算する演算部13とを備えることを特徴とする。
FIG. 1A is a principle diagram of a signal detecting circuit according to the present invention, and FIG. 1B is a principle diagram of a noise measuring circuit according to the present invention. There is. The signal detection circuit of the present invention, as shown in FIG.
The positive side waveform of the input signal VIN is sampled to sequentially hold the positive side sample voltage VA, and the positive side sample voltage VA is compared with the held positive side sample voltage VA. A positive-side peak hold unit 11 that sequentially updates the maximum value, and a negative-side waveform of the input signal VIN is sampled to sequentially hold a negative-side sample voltage VB,
The held negative sample voltage VB and the input signal VIN
And a negative peak hold unit 12 that sequentially updates the maximum value of the negative sample voltage VB, and an arithmetic unit 13 that sequentially adds the positive sample voltage VA and the negative sample voltage VB. It is characterized by including.

【0013】本発明の信号検出回路において、前記正側
ピークホールド部11は、入力信号VINの正側の波形を
サンプリングし、前記サンプリングされた正側のサンプ
ル電圧VAを順次保持する第1のサンプルホールド回路
11Aと、前記保持された正側のサンプル電圧VAと入力
信号VINとを比較して正側のサンプル電圧VAの最大値
を順次更新する第1の比較回路11Bとを有し、前記負側
ピークホールド部12は、入力信号VINの負側の波形を
サンプリングし、前記サンプリングされた負側のサンプ
ル電圧VBを順次保持する第2のサンプルホールド回路
12Aと、前記保持された負側のサンプル電圧VBと入力
信号VINとを比較して負側のサンプル電圧VBの最大値
を順次更新する第2の比較回路12Bとを有することを特
徴とする。
In the signal detection circuit according to the present invention, the positive side peak hold section 11 samples the positive side waveform of the input signal VIN and holds the sampled positive side sample voltage VA sequentially. Hold circuit
11A and a first comparison circuit 11B that compares the held positive-side sample voltage VA with the input signal VIN and sequentially updates the maximum value of the positive-side sample voltage VA. The hold unit 12 samples a negative-side waveform of the input signal VIN and sequentially holds the sampled negative-side sample voltage VB.
12A, and a second comparison circuit 12B that compares the held negative-side sample voltage VB with the input signal VIN to sequentially update the maximum value of the negative-side sample voltage VB.

【0014】本発明の信号検出回路において、前記正側
のサンプリング期間、及び、負側のサンプリング期間を
設定する時間設定回路14が設けられることを特徴とす
る。本発明のノイズ測定回路は、図1(B)に示すよう
に、入力信号VINの正側及び負側の波形をサンプリング
し、前記入力信号VINの正側の電圧の最大値及び負側の
電圧の最大値を検出して出力電圧VOUT を出力する信号
検出手段15と、前記出力電圧VOUT と基準電圧VRと
を比較して比較結果信号VCを出力する比較手段16と
を備え、前記信号検出手段15が本発明の信号検出回路
から成ることを特徴とする。
The signal detection circuit of the present invention is characterized in that a time setting circuit 14 for setting the positive sampling period and the negative sampling period is provided. The noise measuring circuit of the present invention, as shown in FIG. 1B, samples the positive and negative waveforms of the input signal VIN, and determines the maximum positive voltage and the negative voltage of the input signal VIN. The signal detecting means 15 for detecting the maximum value of the output voltage VOUT and the comparing means 16 for comparing the output voltage VOUT with the reference voltage VR and outputting the comparison result signal VC. 15 is a signal detection circuit of the present invention.

【0015】本発明のノイズ測定回路において、前記比
較結果信号VCを出力するラッチ回路17と、前記ラッ
チ回路17及び前記信号検出手段15の動作を初期化す
るリセット回路18が設けられることを特徴とし、上記
目的を達成する。
In the noise measuring circuit of the present invention, a latch circuit 17 for outputting the comparison result signal VC and a reset circuit 18 for initializing the operations of the latch circuit 17 and the signal detecting means 15 are provided. , To achieve the above purpose.

【0016】[0016]

【作 用】本発明の信号検出回路の動作を説明する。例
えば、入力信号VINが当該回路に入力されると、その正
側の波形が正側ピークホールド部11によりサンプリン
グされ、正側のサンプル電圧VAが順次保持される。こ
の保持された正側のサンプル電圧VAは入力信号VINと
比較されながら、当該電圧VAの最大値が順次更新され
る。
[Operation] The operation of the signal detection circuit of the present invention will be described. For example, when the input signal VIN is input to the circuit, the positive-side waveform is sampled by the positive-side peak hold unit 11, and the positive-side sample voltage VA is sequentially held. While the held positive-side sample voltage VA is compared with the input signal VIN, the maximum value of the voltage VA is sequentially updated.

【0017】この際に、第1のサンプルホールド回路11
Aは、入力信号VINの正側の波形をサンプリングし、例
えば、正側のサンプル電圧VAが保持容量に充電され
る。また、充電された正側のサンプル電圧VAは入力信
号VINと第1の比較回路11Bにより比較され、正側のサ
ンプル電圧VAの最大値が順次更新される。負側ピーク
ホールド部12では、入力信号VINの負側の波形がサン
プリングされ、負側のサンプル電圧VBが順次保持され
る。この保持された負側のサンプル電圧VBは入力信号
VINと比較されながら、当該電圧VBの最大値が順次更
新される。
At this time, the first sample hold circuit 11
A samples the positive-side waveform of the input signal VIN, and the positive-side sample voltage VA is charged in the holding capacitor, for example. The charged positive side sample voltage VA is compared with the input signal VIN by the first comparison circuit 11B, and the maximum value of the positive side sample voltage VA is sequentially updated. The negative-side peak hold unit 12 samples the negative-side waveform of the input signal VIN and sequentially holds the negative-side sample voltage VB. The held negative sample voltage VB is compared with the input signal VIN, and the maximum value of the voltage VB is sequentially updated.

【0018】この際に、第2のサンプルホールド回路12
Aは、入力信号VINの負側の波形をサンプリングし、例
えば、負側のサンプル電圧VBが保持容量に充電され
る。また、充電された負側のサンプル電圧VBは入力信
号VINと第2の比較回路12Bにより比較され、負側のサ
ンプル電圧VBの最大値が順次更新される。このため、
保持容量にそれぞれ充電された一番高いレベルの正側の
サンプル電圧VAと一番低いレベルの負側のサンプル電
圧VBとを演算部13により順次加算することが可能と
なる。また、正負両ピーク間の電圧は従来例のピーク検
出回路に比べて一定になり、正負両ピークの和の直流電
圧が安定化する。
At this time, the second sample and hold circuit 12
A samples the negative-side waveform of the input signal VIN, and, for example, the negative-side sample voltage VB is charged in the holding capacitor. The charged negative side sample voltage VB is compared with the input signal VIN by the second comparison circuit 12B, and the maximum value of the negative side sample voltage VB is sequentially updated. For this reason,
The arithmetic unit 13 can sequentially add the highest level positive side sample voltage VA and the lowest level negative side sample voltage VB charged in the storage capacitors, respectively. Further, the voltage between the positive and negative peaks becomes constant as compared with the peak detection circuit of the conventional example, and the DC voltage of the sum of the positive and negative peaks is stabilized.

【0019】さらに、本発明の信号検出回路によれば、
正側,負側のピークホールド回路11,12のサンプル
ホールド動作は、入力信号の周期に依存されることな
く、時間設定回路14により外部設定することができ
る。このことで、半周期前の最大ピークと現在の周期の
最大ピークとを比較することができる。これにより、交
流信号とならない不規則な入力信号VINの最大ピーク・
トウ・最小ピーク間の電圧の最大値を再現性良く検出す
ることが可能となる。また、任意の期間内の最大値の変
化を容易に検出することが可能となる。
Further, according to the signal detection circuit of the present invention,
The sample hold operations of the positive and negative peak hold circuits 11 and 12 can be externally set by the time setting circuit 14 without depending on the cycle of the input signal. This makes it possible to compare the maximum peak of a half cycle before and the maximum peak of the current cycle. As a result, the maximum peak of the irregular input signal VIN that does not become an AC signal
It becomes possible to detect the maximum value of the voltage between the toe and the minimum peak with good reproducibility. Further, it becomes possible to easily detect the change of the maximum value within an arbitrary period.

【0020】次に、本発明のノイズ測定回路の動作を説
明する。例えば、リセット回路18により信号検出手段
15及びラッチ回路17が初期化され、入力信号VINの
正側及び負側の波形が信号検出手段15によりサンプリ
ングされると、入力信号VINの正側の電圧の最大値及び
負側の電圧の最大値が検出され、入力信号VINの正負両
ピーク間の直流電圧VP-P が出力電圧VOUT として比較
手段16に出力される。
Next, the operation of the noise measuring circuit of the present invention will be described. For example, when the reset circuit 18 initializes the signal detection means 15 and the latch circuit 17 and the positive and negative waveforms of the input signal VIN are sampled by the signal detection means 15, the voltage on the positive side of the input signal VIN is changed. The maximum value and the maximum value of the negative voltage are detected, and the DC voltage V PP between the positive and negative peaks of the input signal VIN is output to the comparison means 16 as the output voltage VOUT.

【0021】また、比較手段16では、出力電圧VOUT
と基準電圧VRとが比較され、その比較結果信号VCが
ラッチ回路17に出力される。このため、任意の期間内
の不規則な入力信号VINの最大の正側ピーク値と、負側
ピーク値の電圧の大小を容易に判定することが可能とな
る。これにより、振幅が異なるノイズ信号を精度良く測
定することが可能となり、騒音検出計やノイズ測定装置
の機能向上に寄与するところが大きい。
Further, in the comparison means 16, the output voltage VOUT
And the reference voltage VR are compared, and the comparison result signal VC is output to the latch circuit 17. Therefore, it is possible to easily determine the magnitude of the voltage of the maximum positive-side peak value and the negative-side peak value of the irregular input signal VIN within an arbitrary period. This makes it possible to accurately measure noise signals having different amplitudes, which greatly contributes to improving the functions of the noise detector and the noise measuring device.

【0022】[0022]

【実施例】次に、図を参照しながら本発明の各実施例に
ついて説明をする。図2〜4は、本発明の実施例に係る
信号検出回路及びノイズ測定回路を説明する図である。 (1)信号検出回路の説明 図2(A)は、本発明の第1の実施例に係る信号検出回
路の構成図であり、図2(B)は、そのサンプルホール
ド回路の構成図である。図3は、本発明の各実施例に係
る信号検出回路及びノイズ測定回路の動作波形図をそれ
ぞれ示している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, each embodiment of the present invention will be described with reference to the drawings. 2 to 4 are diagrams for explaining the signal detection circuit and the noise measurement circuit according to the embodiment of the present invention. (1) Description of Signal Detection Circuit FIG. 2A is a configuration diagram of the signal detection circuit according to the first embodiment of the present invention, and FIG. 2B is a configuration diagram of the sample hold circuit. . FIG. 3 shows operation waveform diagrams of the signal detection circuit and the noise measurement circuit according to each embodiment of the present invention.

【0023】例えば、図3(A)に示すような半周期毎
に、ピークレベルが変わる入力信号VINを検出する信号
検出回路は、図2に示すように、+ピークホールド部2
1,−ピークホールド部22,演算回路23及びタイマ
ー回路24を備える。すなわち、+ピークホールド部2
1は図1(A)の正側ピークホールド部11の一例であ
り、入力信号VINの正側の波形をサンプリングして正側
のサンプル電圧VAを順次保持し、保持された正側のサ
ンプル電圧VAと入力信号VINとを比較しながら、正側
のサンプル電圧VAの最大値を順次更新する回路であ
る。
For example, as shown in FIG. 2, the signal detecting circuit for detecting the input signal VIN whose peak level changes every half cycle as shown in FIG.
1, a peak hold unit 22, an arithmetic circuit 23, and a timer circuit 24 are provided. That is, + peak hold unit 2
1 is an example of the positive-side peak hold unit 11 of FIG. 1A, which samples the positive-side waveform of the input signal VIN, sequentially holds the positive-side sample voltage VA, and holds the held positive-side sample voltage. This circuit sequentially updates the maximum value of the positive-side sample voltage VA while comparing VA and the input signal VIN.

【0024】例えば、+ピークホールド部21はサンプ
ルホールド回路21A,比較器21B,保持容量(以下ホー
ルドコンデンサという)CHA及び論理ゲート回路21Cを
有する。サンプルホールド回路21Aは図1(A)のサン
プルホールド回路11Aの一例であり、例えば、図2
(B)に示すようにオペアンプOP1 ,OP2,保護ダ
イオードD,スイッチ素子SW,抵抗R1,R2及びイ
ンバータINV を有する。入力信号VINはオペアンプOP
1 の+端子に入力される。オペアンプOP1 の出力はス
イッチSW及び保護ダイオードDの一端に接続され、そ
の−端子はダイオードDの他端と抵抗R1の一端に接続
される。
For example, the + peak hold unit 21 has a sample hold circuit 21A, a comparator 21B, a holding capacitor (hereinafter referred to as a hold capacitor) CHA, and a logic gate circuit 21C. The sample hold circuit 21A is an example of the sample hold circuit 11A shown in FIG.
As shown in (B), it has operational amplifiers OP1 and OP2, a protection diode D, a switch element SW, resistors R1 and R2, and an inverter INV. Input signal VIN is operational amplifier OP
Input to the + terminal of 1. The output of the operational amplifier OP1 is connected to the switch SW and one end of the protection diode D, and its negative terminal is connected to the other end of the diode D and one end of the resistor R1.

【0025】オペアンプOP2の+端子はスイッチSW
及び抵抗R2の一端に接続され、その−端子は抵抗R1
の他端と当該オペアンプOP2の出力に接続される。抵
抗R2の他端にはホールドコンデンサCHAが接続され
る。スイッチ素子SWはMOSFET等から成り、ロジ
ック入力に基づいてゲートがON/OFF制御される。こ
れにより、オペアンプOP1 の出力がホールドコンデン
サCHAに充電制御される。インバータINV はロジック入
力を反転し、それをスイッチSWのゲートに供給する。
抵抗R1及びR2は回路を安定化する素子である。
The + terminal of the operational amplifier OP2 is a switch SW
And one end of the resistor R2, the negative terminal of which is connected to the resistor R1.
Is connected to the other end of the operational amplifier OP2. A hold capacitor CHA is connected to the other end of the resistor R2. The switch element SW is composed of a MOSFET or the like, and the gate is ON / OFF controlled based on the logic input. As a result, the output of the operational amplifier OP1 is controlled to charge the hold capacitor CHA. Inverter INV inverts the logic input and supplies it to the gate of switch SW.
The resistors R1 and R2 are elements that stabilize the circuit.

【0026】比較器21Bは第1の比較回路11Bの一例で
あり、ホールドコンデンサCHAに充電された正側のサン
プル電圧VAと入力信号VINとを比較して正側のサンプ
ル電圧VAの最大値を順次更新する回路である。例え
ば、比較器21Bは差動増幅回路から成り、入力信号VIN
が+端子に入力され、−端子がサンプルホールド回路21
AのオペアンプOP2の出力と演算回路23の一方の入
力に接続される。
The comparator 21B is an example of the first comparison circuit 11B, and compares the positive side sample voltage VA charged in the hold capacitor CHA with the input signal VIN to determine the maximum value of the positive side sample voltage VA. It is a circuit that updates sequentially. For example, the comparator 21B is composed of a differential amplifier circuit, and the input signal VIN
Is input to the + terminal and the-terminal is the sample and hold circuit 21
It is connected to the output of the operational amplifier OP2 of A and one input of the arithmetic circuit 23.

【0027】ホールドコンデンサCHAは入力信号VINの
正側のサンプル電圧VAを充電するコンデンサである。
ホールドコンデンサCHAは、サンプリング時間を考慮し
て容量値を選ぶ。例えば、容量値は、サンプリング時間
の時間内で、コンデンサの端子電圧が自然放電によっ
て、電圧低下の影響が少なくなるような値を選ぶ。論理
ゲート回路21CはスイッチSWをON/OFF制御する回
路である。例えば、回路21Cは二入力AND回路から成
り、比較器21Bの出力がAND回路の一方の入力に接続
され、他方の入力がタイマー回路24の出力に接続され
る。回路21Cは二入力AND回路の他に二入力OR回路
や二入力NAND回路の他に二入力NOR回路を適用す
る。これにより、入力信号VINの任意の期間内の正側の
波形をサンプリングし、サンプリングされた正側のサン
プル電圧VAを順次保持することができる。
The hold capacitor CHA is a capacitor for charging the sample voltage VA on the positive side of the input signal VIN.
The hold capacitor CHA selects a capacitance value in consideration of sampling time. For example, the capacitance value is selected such that the terminal voltage of the capacitor is less likely to be affected by the voltage drop due to spontaneous discharge within the sampling time. The logic gate circuit 21C is a circuit for ON / OFF controlling the switch SW. For example, the circuit 21C is composed of a two-input AND circuit, the output of the comparator 21B is connected to one input of the AND circuit, and the other input is connected to the output of the timer circuit 24. As the circuit 21C, a two-input NOR circuit is used in addition to a two-input OR circuit and a two-input NAND circuit in addition to the two-input AND circuit. This makes it possible to sample the positive-side waveform of the input signal VIN within an arbitrary period and sequentially hold the sampled positive-side sample voltage VA.

【0028】−ピークホールド部22はサンプルホール
ド回路22A,比較器22B,ホールドコンデンサCHB及び
論理ゲート回路22Cを有する。サンプルホールド回路22
Aは図1(A)のサンプルホールド回路12Aの一例であ
る。当該回路の内部構成は図2(B)に示すようなサン
プルホールド回路21Aと同様であるため、その説明を省
略する。
The peak hold unit 22 has a sample hold circuit 22A, a comparator 22B, a hold capacitor CHB and a logic gate circuit 22C. Sample and hold circuit 22
A is an example of the sample hold circuit 12A of FIG. The internal structure of the circuit is the same as that of the sample hold circuit 21A as shown in FIG.

【0029】比較器22Bは第2の比較回路12Bの一例で
あり、ホールドコンデンサCHBに充電された負側のサン
プル電圧VBと入力信号VINとを比較して負側のサンプ
ル電圧VBの最大値を順次更新する回路である。例え
ば、比較器22Bは差動増幅回路から成り、入力信号VIN
が−端子に入力され、+端子がサンプルホールド回路22
AのオペアンプOP2の出力と演算回路23の他方の入
力に接続される。
The comparator 22B is an example of the second comparison circuit 12B, and compares the negative side sample voltage VB charged in the hold capacitor CHB with the input signal VIN to determine the maximum value of the negative side sample voltage VB. It is a circuit that updates sequentially. For example, the comparator 22B is composed of a differential amplifier circuit, and the input signal VIN
Is input to the-terminal, and the + terminal is connected to the sample-hold circuit 22.
It is connected to the output of the operational amplifier OP2 of A and the other input of the arithmetic circuit 23.

【0030】ホールドコンデンサCHBは入力信号VINの
負側のサンプル電圧VBを充電するコンデンサである。
論理ゲート回路22Cは回路21Cと同様にスイッチSWを
ON/OFF制御する回路である。これにより、入力信号
VINの任意の期間内の負側の波形をサンプリングし、サ
ンプリングされた負側のサンプル電圧VBを順次保持す
ることができる。
The hold capacitor CHB is a capacitor for charging the sample voltage VB on the negative side of the input signal VIN.
The logic gate circuit 22C is a circuit for ON / OFF controlling the switch SW similarly to the circuit 21C. This makes it possible to sample the negative-side waveform of the input signal VIN within an arbitrary period and sequentially hold the sampled negative-side sample voltage VB.

【0031】演算回路23は演算部13の一例であり、
正側のサンプル電圧VAと負側のサンプル電圧VBとを
順次加算する回路である。例えば、演算回路23は演算
増幅器(オペアンプ)による差動増幅回路から成る。な
お、タイマー回路24は時間設定回路14の一例であ
り、正側のサンプリング期間T、及び、負側のサンプリ
ング期間Tを設定する回路である。タイマー回路24の
出力は論理ゲート回路21C,22Cに接続される。一定時
間Tはタイマー回路24の外付け定数によって決定す
る。
The arithmetic circuit 23 is an example of the arithmetic unit 13,
It is a circuit that sequentially adds the positive-side sample voltage VA and the negative-side sample voltage VB. For example, the arithmetic circuit 23 is composed of a differential amplifier circuit including an operational amplifier (op amp). The timer circuit 24 is an example of the time setting circuit 14, and is a circuit that sets the positive sampling period T and the negative sampling period T. The output of the timer circuit 24 is connected to the logic gate circuits 21C and 22C. The fixed time T is determined by an external constant of the timer circuit 24.

【0032】次に、本発明の実施例の信号検出回路の動
作を説明する。例えば、図3(A)に示すような入力信
号VINが当該回路に入力されると、その正側の波形が+
ピークホールド部21によりサンプリングされ、正側の
サンプル電圧VAが順次保持される。この保持された正
側のサンプル電圧VAは入力信号VINと比較されなが
ら、当該電圧VAの最大値が順次更新される。
Next, the operation of the signal detection circuit according to the embodiment of the present invention will be described. For example, when an input signal VIN as shown in FIG. 3A is input to the circuit, the waveform on the positive side becomes +
The peak hold unit 21 samples and sequentially holds the positive-side sample voltage VA. While the held positive-side sample voltage VA is compared with the input signal VIN, the maximum value of the voltage VA is sequentially updated.

【0033】すなわち、図3(A)に示すような入力信
号VINが入力されると、期間Tの中で最初の+側のピー
ク値はa1 点となる。+側のピークホールド部21のサ
ンプルホールド出力は初期状態では0Vである。この出
力は、比較器21Bの−端子に入力され、また、比較器21
Bの+端子には入力信号VINが入力されている。従っ
て、比較器21Bは−端子の0Vと+端子の+Va1の比較
結果を出力する。この結果、比較器21Bの出力は「H」
レベルとなり、その出力は、サンプルホールド回路21A
の論理ゲート回路21Cに入力される。これにより、スイ
ッチSWが「H」レベルを受けてON動作し、サンプル
ホールド回路21Aがサンプル動作をする。このことで、
電圧Va1がホールドコンデンサCHAに充電される。
That is, when the input signal VIN as shown in FIG. 3 (A) is input, the first + side peak value in the period T becomes a1 point. The sample hold output of the + side peak hold unit 21 is 0V in the initial state. This output is input to the-terminal of the comparator 21B, and the comparator 21B
The input signal VIN is input to the + terminal of B. Therefore, the comparator 21B outputs the comparison result of 0V at the-terminal and + Va1 at the + terminal. As a result, the output of the comparator 21B is "H".
It becomes the level, and its output is the sample hold circuit 21A.
Is input to the logic gate circuit 21C. As a result, the switch SW receives the "H" level and is turned on, and the sample hold circuit 21A performs the sampling operation. With this,
The voltage Va1 charges the hold capacitor CHA.

【0034】次に、比較器21Bの+端子が電圧Va1より
も低くなると、比較器21Bの−端子にはホールドコンデ
ンサCHAに充電されたVa1が加わっているため、+端子
よりも、−端子のほうが高くなる。このため、比較器21
Bの出力は、「H」レベル→「L」レベルに変化する。
この「L」レベルによって、サンプルホールド回路21A
は、サンプル動作からホールド動作に遷移する。従っ
て、入力波形VINの取り込みを停止する。そして、サン
プルホールド出力はサンプルコンデンサCHAに充電され
た電圧Va1が、演算回路23に出力している状態とな
る。
Next, when the + terminal of the comparator 21B becomes lower than the voltage Va1, since the Va1 charged in the hold capacitor CHA is added to the − terminal of the comparator 21B, the − terminal of the + terminal is more than the + terminal. The higher the price. Therefore, the comparator 21
The output of B changes from "H" level to "L" level.
This "L" level causes the sample hold circuit 21A
Shifts from the sample operation to the hold operation. Therefore, the acquisition of the input waveform VIN is stopped. Then, the sample hold output is in a state in which the voltage Va1 charged in the sample capacitor CHA is being output to the arithmetic circuit 23.

【0035】次の+側のピーク値はa2点である。この
ことから比較器21Bの+端子に+Va1電圧より高い+V
a2電圧が入力され、比較器21Bの+端子が−端子より
も、高くなるので、出力は「L」レベルから「H」レベ
ルに変化する。これにより、スイッチSWが「H」レベ
ルを受けてON動作し、サンプルホールド回路21Aがサ
ンプル動作に変化する。このことで、電圧Va2がホール
ドコンデンサCHAに充電される。以降は、比較器21Bの
+端子が低くなると、サンプルホールド回路21Aはホー
ルド動作となる。
The next + side peak value is point a2. Therefore, the + terminal of the comparator 21B has a + V higher than the + Va1 voltage.
Since the a2 voltage is input and the + terminal of the comparator 21B becomes higher than the-terminal, the output changes from the "L" level to the "H" level. As a result, the switch SW receives the "H" level and is turned on, and the sample hold circuit 21A is changed to the sample operation. As a result, the voltage Va2 is charged in the hold capacitor CHA. After that, when the + terminal of the comparator 21B becomes low, the sample hold circuit 21A starts the hold operation.

【0036】次の+側のピーク値はa3点である。この
ことから比較器21Bの+端子が+Va3電圧になり、図3
(B)に示すように、その+端子が−端子の+Va2電圧
よりも低いため、比較器21Bの出力は、「L」レベルの
ままである。従って、サンプルホールド回路21Aはサン
プル動作を行わず、ホールド状態を継続する。つまり、
サンプルコンデンサCHAに充電されている電圧よりも、
高い電圧の波形が入力されないと、入力波形VINの取り
込みを行わない。このため、コンデンサCHAに充電され
ている電圧は常に、一番高い(最大ピークレベルと同
じ)電圧状態となる。
The next + side peak value is point a3. From this, the + terminal of the comparator 21B becomes + Va3 voltage, as shown in FIG.
As shown in (B), the + terminal is lower than the + Va2 voltage of the-terminal, so the output of the comparator 21B remains at the "L" level. Therefore, the sample and hold circuit 21A does not perform the sampling operation and continues the hold state. That is,
Than the voltage charged in the sample capacitor CHA
If a high voltage waveform is not input, the input waveform VIN is not captured. Therefore, the voltage charged in the capacitor CHA is always in the highest voltage state (same as the maximum peak level).

【0037】これにより、入力信号VINの正側の波形が
サンプルホールド回路11Aにより、サンプリングされ、
正側のサンプル電圧VAがホールドコンデンサCHAに充
電される。また、充電された正側のサンプル電圧VAを
入力信号VINと比較器21Bにより比較することで、正側
のサンプル電圧VAの最大値を順次更新することができ
る。
As a result, the waveform on the positive side of the input signal VIN is sampled by the sample hold circuit 11A,
The positive side sample voltage VA is charged in the hold capacitor CHA. Further, by comparing the charged positive side sample voltage VA with the input signal VIN by the comparator 21B, the maximum value of the positive side sample voltage VA can be sequentially updated.

【0038】また、−ピークホールド部22では、入力
信号VINの負側の波形がサンプリングされ、負側のサン
プル電圧VBが順次保持される。この保持された負側の
サンプル電圧VBは入力信号VINと比較されながら、当
該電圧VBの最大値が順次更新される。すなわち、図3
(A)に示すような入力信号VINが入力されると、期間
Tの中で最初の−側のピーク値はb1 点となる。−側の
ピークホールド部22のサンプルホールド出力は初期状
態では0Vである。この出力は、比較器22Bの+端子に
入力され、また、比較器22Bの−端子には入力信号VIN
が入力されている。
In the -peak hold section 22, the negative side waveform of the input signal VIN is sampled and the negative side sample voltage VB is sequentially held. The held negative sample voltage VB is compared with the input signal VIN, and the maximum value of the voltage VB is sequentially updated. That is, FIG.
When the input signal VIN as shown in (A) is input, the first-side peak value in the period T becomes the point b1. The sample hold output of the negative peak hold unit 22 is 0V in the initial state. This output is input to the + terminal of the comparator 22B, and the input signal VIN is input to the-terminal of the comparator 22B.
Has been entered.

【0039】従って、比較器22Bは+端子の0Vと−端
子の−Vb1の比較結果を出力する。この結果、比較器22
Bの出力は「H」レベルとなり、その出力は、サンプル
ホールド回路22Aの論理ゲート回路22Cに入力される。
これにより、スイッチSWが「H」レベルを受けてON
動作し、サンプルホールド回路22Aがサンプル動作をす
る。このことで、電圧Vb1がホールドコンデンサCHBに
充電される。
Therefore, the comparator 22B outputs the comparison result of 0V at the + terminal and -Vb1 at the-terminal. As a result, the comparator 22
The output of B becomes "H" level, and its output is input to the logic gate circuit 22C of the sample hold circuit 22A.
As a result, the switch SW receives the "H" level and turns on.
The sample-hold circuit 22A operates and performs a sampling operation. As a result, the voltage Vb1 is charged in the hold capacitor CHB.

【0040】次に、比較器22Bの−端子が電圧Vb1より
も高くなると、比較器22Bの+端子にはホールドコンデ
ンサCHAに充電されたVb1が加わっているため、−端子
よりも、+端子のほうが低くなる。このため、比較器22
Bの出力は、「H」レベル→「L」レベルに変化する。
この「L」レベルによって、サンプルホールド回路22A
は、サンプル動作からホールド動作に遷移する。従っ
て、入力波形VINの取り込みを停止する。そして、サン
プルホールド出力はホールドコンデンサCHBに充電され
た電圧Vb1が、演算回路23に出力している状態とな
る。
Next, when the-terminal of the comparator 22B becomes higher than the voltage Vb1, the Vb1 charged in the hold capacitor CHA is added to the + terminal of the comparator 22B. It will be lower. Therefore, the comparator 22
The output of B changes from "H" level to "L" level.
This "L" level causes the sample hold circuit 22A
Shifts from the sample operation to the hold operation. Therefore, the acquisition of the input waveform VIN is stopped. Then, the sample-hold output is in a state in which the voltage Vb1 charged in the hold capacitor CHB is being output to the arithmetic circuit 23.

【0041】次の−側のピーク値はb2点である。この
ことから比較器22Bの−端子に−Vb1電圧より低い−V
b2電圧が入力され、比較器22Bの−端子が+端子より
も、低くなるので、出力は「L」レベルから「H」レベ
ルに変化する。これにより、スイッチSWが「H」レベ
ルを受けてON動作し、サンプルホールド回路22Aがサ
ンプル動作に変化する。このことで、電圧Vb2がホール
ドコンデンサCHBに充電される。以降は、比較器22Bの
−端子が高くなると、サンプルホールド回路22Aはホー
ルド動作となる。
The next negative peak value is point b2. Therefore, -V lower than -Vb1 voltage is applied to the-terminal of comparator 22B.
Since the b2 voltage is input and the − terminal of the comparator 22B becomes lower than the + terminal, the output changes from the “L” level to the “H” level. As a result, the switch SW receives the "H" level and is turned on, and the sample hold circuit 22A is changed to the sample operation. As a result, the voltage Vb2 is charged in the hold capacitor CHB. After that, when the minus terminal of the comparator 22B goes high, the sample hold circuit 22A starts the hold operation.

【0042】次の−側のピーク値はb3点である。この
ことから比較器22Bの−端子が−Vb3電圧になり、図3
(C)に示すように、その−端子が+端子の−Vb2電圧
よりも高いため、比較器22Bの出力は、「L」レベルの
ままである。従って、サンプルホールド回路22Aはサン
プル動作を行わず、ホールド状態を継続する。つまり、
ホールドコンデンサCHBに充電されている電圧よりも、
低い電圧の波形が入力されないと、入力波形VINの取り
込みを行わない。このため、コンデンサCHBに充電され
ている電圧は常に、一番低い(最小ピークレベルと同
じ)電圧状態となる。
The next negative peak value is point b3. From this, the negative terminal of the comparator 22B becomes the voltage -Vb3,
As shown in (C), the − terminal has a higher voltage than the −Vb2 voltage at the + terminal, so the output of the comparator 22B remains at the “L” level. Therefore, the sample hold circuit 22A does not perform the sampling operation, and continues the hold state. That is,
Than the voltage charged in the hold capacitor CHB,
If the low voltage waveform is not input, the input waveform VIN is not captured. Therefore, the voltage charged in the capacitor CHB is always in the lowest (same as the minimum peak level) voltage state.

【0043】これにより、入力信号VINの負側の波形が
サンプルホールド回路22Aにより、サンプリングされ、
負側のサンプル電圧VBがホールドコンデンサCHBに充
電される。また、充電された負側のサンプル電圧VBを
入力信号VINと比較器22Bにより比較することで、負側
のサンプル電圧VBの最大値を順次更新することができ
る。
As a result, the negative side waveform of the input signal VIN is sampled by the sample hold circuit 22A,
The negative side sample voltage VB is charged in the hold capacitor CHB. Further, by comparing the charged negative side sample voltage VB with the input signal VIN by the comparator 22B, the maximum value of the negative side sample voltage VB can be sequentially updated.

【0044】また、ホールドコンデンサCHBに充電され
た図3(D)に示すような入力信号VINの+ピーク値に
相当する+Va1及び+Va2の直流電圧が+ピークホール
ド部21から演算回路23に出力される。また、ホール
ドコンデンサCHBに充電された図3(D)に示すような
入力信号VINの−ピーク値に相当する−Vb1及び−Vb2
の直流電圧が−ピークホールド部22から演算回路23
に出力される。これにより、演算回路23では、+Va1
及び+Va2の直流電圧と、−Vb1及び−Vb2の直流電圧
を反転した電圧とが加算され、その出力電圧VOUT が出
力される。
Further, the DC voltage of + Va1 and + Va2 corresponding to the + peak value of the input signal VIN charged in the hold capacitor CHB as shown in FIG. 3D is output from the + peak hold section 21 to the arithmetic circuit 23. It Further, -Vb1 and -Vb2 corresponding to the -peak value of the input signal VIN as shown in FIG. 3D charged in the hold capacitor CHB.
DC voltage of-from the peak hold unit 22 to the arithmetic circuit 23
Is output to. As a result, in the arithmetic circuit 23, + Va1
And + Va2 DC voltage and the voltage obtained by inverting the DC voltage of -Vb1 and -Vb2 are added, and the output voltage VOUT is output.

【0045】このようにして、本発明の実施例に係る信
号検出回路によれば、図2(A)に示すように、+ピー
クホールド部21,−ピークホールド部22及び演算回
路23を備える。このため、ホールドコンデンサCHA,
CHBにそれぞれ充電された一番高いレベルの正側のサン
プル電圧VAp と一番低いレベルの負側のサンプル電圧
VBp とを演算回路23により順次加算することが可能
となる。また、正負両ピーク間の電圧ピークtoピーク=
VOUT は従来例のピーク検出回路に比べて一定になり、
正負両ピークの和の直流電圧が安定化する。
In this way, the signal detection circuit according to the embodiment of the present invention includes the + peak hold unit 21, the −peak hold unit 22, and the arithmetic circuit 23, as shown in FIG. Therefore, hold capacitor CHA,
It is possible to sequentially add the highest level positive side sample voltage VAp and the lowest level negative side sample voltage VBp charged respectively to CHB by the arithmetic circuit 23. In addition, voltage peak to peak between both positive and negative peaks =
VOUT becomes constant compared to the peak detection circuit of the conventional example,
The sum of the positive and negative peaks stabilizes the DC voltage.

【0046】さらに、本発明の実施例に係る信号検出回
路によれば、正側のサンプリング期間T、及び、負側の
サンプリング期間Tを設定するタイマー回路24が設け
られる。このため、+ピークホールド部21及び−ピー
クホールド部22のサンプルホールド動作は、入力信号
VINの周期に依存されることなく、タイマー回路24に
より外部設定することができる。このことで、半周期前
の最大ピークと現在の周期の最大ピークとを比較するこ
とができる。
Further, according to the signal detection circuit of the embodiment of the present invention, the timer circuit 24 for setting the positive sampling period T and the negative sampling period T is provided. Therefore, the sample hold operation of the + peak hold unit 21 and the −peak hold unit 22 can be externally set by the timer circuit 24 without depending on the cycle of the input signal VIN. This makes it possible to compare the maximum peak of a half cycle before and the maximum peak of the current cycle.

【0047】これにより、任意の期間内の交流信号とな
らない不規則な入力信号VINの最大ピーク・to・最小ピ
ーク間の電圧の最大値を再現性良く検出することが可能
となる。また、任意の期間内の最大値の変化を容易に検
出することが可能となる。 (2)ノイズ測定回路の説明 図4は、本発明の第2の実施例に係るノイズ測定回路の
構成図を示している。第2の実施例では第1の実施例と
異なり、新たにコンパレータ26,ラッチ回路17及び
リセット回路18が設けられる。
As a result, the maximum value of the voltage between the maximum peak, the minimum peak and the minimum peak of the irregular input signal VIN which does not become an AC signal within an arbitrary period can be detected with good reproducibility. Further, it becomes possible to easily detect the change of the maximum value within an arbitrary period. (2) Description of Noise Measuring Circuit FIG. 4 is a block diagram of the noise measuring circuit according to the second embodiment of the present invention. Unlike the first embodiment, the second embodiment additionally includes a comparator 26, a latch circuit 17, and a reset circuit 18.

【0048】例えば、半周期毎に、ピークレベルが変わ
るノイズ信号VINを測定するノイズ測定回路は、図4に
示すように、信号検出回路25,コンパレータ26,ラ
ッチ回路17及びリセット回路18を備える。すなわ
ち、信号検出回路25は信号検出手段15の一例であ
り、入力信号VINの正側及び負側の波形をサンプリング
し、入力信号VINの正側の電圧の最大値及び負側の電圧
の最大値を検出して出力電圧VOUT を出力する。信号検
出回路25は本発明の第1の実施例に係る信号検出回路
から成り、ホールドコンデンサCHA, CHBの両端にスイ
ッチS1,S2が設けられる点で異なる。
For example, as shown in FIG. 4, the noise measuring circuit for measuring the noise signal VIN whose peak level changes every half cycle includes a signal detecting circuit 25, a comparator 26, a latch circuit 17 and a reset circuit 18. That is, the signal detection circuit 25 is an example of the signal detection means 15, samples the waveforms of the positive side and the negative side of the input signal VIN, and determines the maximum value of the positive side voltage and the maximum value of the negative side voltage of the input signal VIN. To output the output voltage VOUT. The signal detection circuit 25 comprises the signal detection circuit according to the first embodiment of the present invention, and is different in that switches S1 and S2 are provided at both ends of the hold capacitors CHA and CHB.

【0049】スイッチSAはホールドコンデンサCHAの
一端と接地線GNDとの間に接続される。スイッチSAは
MOSFETから成り、ゲートがリセット回路18に接
続される。スイッチSAはリセット信号S1によりON
/OFF制御される。例えば、リセット時にスイッチSA
をON動作にする。スイッチSBはホールドコンデンサ
CHBの一端と接地線GNDとの間に接続される。スイッチ
SBはMOSFETから成り、ゲートがリセット回路1
8に接続される。スイッチSBはリセット信号S2によ
りON/OFF制御される。例えば、リセット時にスイッ
チSBをON動作にする。
The switch SA is connected between one end of the hold capacitor CHA and the ground line GND. The switch SA is composed of a MOSFET and has a gate connected to the reset circuit 18. Switch SA is turned on by reset signal S1
/ OFF is controlled. For example, switch SA at reset
Is turned on. The switch SB is connected between one end of the hold capacitor CHB and the ground line GND. The switch SB is composed of a MOSFET, and the gate is a reset circuit 1.
8 is connected. The switch SB is ON / OFF controlled by a reset signal S2. For example, the switch SB is turned on at the time of reset.

【0050】コンパレータ26は比較手段16の一例で
あり、出力電圧VOUT と基準電圧VRとを比較して比較
結果信号VCを出力する。基準電圧VRは判定用の電圧
である。コンパレータ26は差動増幅回路からなる。ラ
ッチ回路17は比較結果信号VCを出力する。ラッチ回
路17の出力は、「H」レベル又は「L」レベルであ
る。ラッチ回路17は、リセット回路18に接続され、
リセット信号S3によりON/OFF制御される。リセッ
ト回路18はラッチ回路17及び信号検出回路25の動
作を初期化する。例えば、リセット回路18は信号検出
回路25にリセット信号S1,S2を出力し、ラッチ回
路17にリセット信号S3をそれぞれ出力する。
The comparator 26 is an example of the comparison means 16 and compares the output voltage VOUT with the reference voltage VR and outputs the comparison result signal VC. The reference voltage VR is a determination voltage. The comparator 26 is composed of a differential amplifier circuit. The latch circuit 17 outputs the comparison result signal VC. The output of the latch circuit 17 is at “H” level or “L” level. The latch circuit 17 is connected to the reset circuit 18,
ON / OFF control is performed by the reset signal S3. The reset circuit 18 initializes the operations of the latch circuit 17 and the signal detection circuit 25. For example, the reset circuit 18 outputs the reset signals S1 and S2 to the signal detection circuit 25 and the reset signal S3 to the latch circuit 17, respectively.

【0051】次に、本発明の実施例に係るノイズ測定回
路の動作を説明する。例えば、タイマー回路24を一定
期間TだけONとし、リセット回路18をOFFすると、
スイッチSA,SBは開放され、ラッチ回路17は出力
許可される。すなわち、リセット回路18により信号検
出回路25及びラッチ回路17が初期化され、入力信号
VINの正側及び負側の波形が信号検出回路25によりサ
ンプリングされると、入力信号VINの正側の電圧の最大
値及び負側の電圧の最大値が検出され、入力信号VINの
正負両ピーク間の直流電圧VP-P が出力電圧VOUT とし
てコンパレータ26に出力される。
Next, the operation of the noise measuring circuit according to the embodiment of the present invention will be described. For example, when the timer circuit 24 is turned on for a certain period T and the reset circuit 18 is turned off,
The switches SA and SB are opened, and the latch circuit 17 is permitted to output. That is, when the reset circuit 18 initializes the signal detection circuit 25 and the latch circuit 17 and the positive and negative waveforms of the input signal VIN are sampled by the signal detection circuit 25, the voltage of the positive side of the input signal VIN is changed. The maximum value and the maximum value of the negative voltage are detected, and the DC voltage V PP between the positive and negative peaks of the input signal VIN is output to the comparator 26 as the output voltage VOUT.

【0052】また、コンパレータ26では、出力電圧V
OUT と基準電圧VRとが比較され、その比較結果信号V
Cがラッチ回路17に出力される。このとき、サンプン
リング期間Tの間は、+ピークホールド21及び−ピー
クホールド部22が動作状態となる。この間で、正負両
ピーク間の最大電圧がコンパレータ26から出力され
る。その電圧レベルの判定は、「H」レベル又は「L」
レベルによって結果出力される。結果出力は期間Tを経
過しても、ラッチ回路17により保持される。
In the comparator 26, the output voltage V
OUT and the reference voltage VR are compared, and the comparison result signal V
C is output to the latch circuit 17. At this time, during the sampling period T, the + peak hold 21 and the −peak hold unit 22 are in operation. During this period, the maximum voltage between the positive and negative peaks is output from the comparator 26. The voltage level is determined by "H" level or "L"
The result is output depending on the level. The result output is held by the latch circuit 17 even after the period T has elapsed.

【0053】なお、再度、図4のノイズ測定回路を動作
させる場合には、リセット回路18をONすると、スイ
ッチSA,SBは短絡されホールドコンデンサCHA,C
HBの電圧は接地線GNDと同じ0Vになる。また、ラッチ
回路17は初期状態に戻る。その後、リセット回路18
をOFFにして、タイマー回路18をONすると、+ピー
クホールド21及び−ピークホールド部22が再度、動
作状態となる。
When operating the noise measuring circuit of FIG. 4 again, when the reset circuit 18 is turned on, the switches SA and SB are short-circuited and the hold capacitors CHA and C are held.
The voltage of HB becomes 0V which is the same as the ground line GND. Further, the latch circuit 17 returns to the initial state. After that, the reset circuit 18
Is turned off and the timer circuit 18 is turned on, the + peak hold 21 and the −peak hold unit 22 are again in the operating state.

【0054】このようにして、本発明の第2の実施例に
係るノイズ測定回路によれば、図4に示すように、信号
検出回路25,コンパレータ26,ラッチ回路17及び
リセット回路18を備え、信号検出回路25が本発明の
信号検出回路から成る。このため、信号検出回路25の
出力電圧VOUT を任意の期間内の不規則なノイズ信号V
INの最大の正側ピーク値と、負側ピーク値の電圧の大小
をコンパレータ26により容易に判定することが可能と
なる。
Thus, the noise measuring circuit according to the second embodiment of the present invention includes the signal detecting circuit 25, the comparator 26, the latch circuit 17 and the reset circuit 18, as shown in FIG. The signal detection circuit 25 comprises the signal detection circuit of the present invention. Therefore, the output voltage VOUT of the signal detection circuit 25 is set to the irregular noise signal V in an arbitrary period.
The comparator 26 can easily determine the magnitude of the voltage between the maximum positive peak value of IN and the negative peak value.

【0055】これにより、振幅が異なるノイズ信号を精
度良く測定することが可能となり、騒音検出計やノイズ
測定装置の機能向上に寄与するところが大きい。
As a result, noise signals having different amplitudes can be measured with high accuracy, which greatly contributes to improving the functions of the noise detector and the noise measuring device.

【0056】[0056]

【発明の効果】以上説明したように、本発明の信号検出
回路によれば正側ピークホールド部,負側ピークホール
ド部及び演算部を備える。このため、両ピークホールド
部の保持容量にそれぞれ充電された一番高いレベルの正
側のサンプル電圧と一番低いレベルの負側のサンプル電
圧とを演算部により順次加算することが可能となる。ま
た、正負両ピーク間の電圧は従来例のピーク検出回路に
比べて一定になり、正負両ピークの和の直流電圧が安定
化する。
As described above, according to the signal detection circuit of the present invention, the positive side peak hold section, the negative side peak hold section and the arithmetic section are provided. Therefore, it is possible to sequentially add the highest level positive side sample voltage and the lowest level negative side sample voltage charged in the storage capacitors of both peak hold units by the arithmetic unit. Further, the voltage between the positive and negative peaks becomes constant as compared with the peak detection circuit of the conventional example, and the DC voltage of the sum of the positive and negative peaks is stabilized.

【0057】さらに、本発明の信号検出回路によれば、
正側のサンプリング期間、及び、負側のサンプリング期
間を設定する時間設定回路が設けられる。このため、正
側,負側のピークホールド回路のサンプルホールド動作
は、入力信号の周期に依存されることなく、時間設定回
路により外部設定することができる。このことで、半周
期前の最大ピークと現在の周期の最大ピークとを比較す
ることができる。
Further, according to the signal detection circuit of the present invention,
A time setting circuit that sets the positive sampling period and the negative sampling period is provided. Therefore, the sample hold operation of the positive and negative peak hold circuits can be externally set by the time setting circuit without depending on the cycle of the input signal. This makes it possible to compare the maximum peak of a half cycle before and the maximum peak of the current cycle.

【0058】さらに、本発明のノイズ測定回路によれ
ば、信号検出手段,比較手段,ラッチ回路及びリセット
回路を備え、信号検出手段が本発明の信号検出回路から
成る。このため、任意の期間内の不規則な入力信号の最
大の正側ピーク値と、負側ピーク値の電圧の大小を容易
に判定することが可能となる。また、任意の期間内の最
大値の変化を容易に検出することが可能となる。
Further, according to the noise measuring circuit of the present invention, it is provided with the signal detecting means, the comparing means, the latch circuit and the reset circuit, and the signal detecting means comprises the signal detecting circuit of the present invention. Therefore, it is possible to easily determine the magnitude of the maximum positive-side peak value and the negative-side peak value of the irregular input signal within an arbitrary period. Further, it becomes possible to easily detect the change of the maximum value within an arbitrary period.

【0059】これにより、振幅が異なるノイズ信号を精
度良く測定することが可能となり、騒音検出計やノイズ
測定装置の機能向上に寄与するところが大きい。
As a result, noise signals having different amplitudes can be measured with high accuracy, which greatly contributes to improving the functions of the noise detector and the noise measuring device.

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

【図1】本発明に係る信号検出回路及びノイズ測定回路
の原理図である。
FIG. 1 is a principle diagram of a signal detection circuit and a noise measurement circuit according to the present invention.

【図2】本発明の第1の実施例に係る信号検出回路の構
成図である。
FIG. 2 is a configuration diagram of a signal detection circuit according to a first embodiment of the present invention.

【図3】本発明の第1の実施例に係る信号検出回路の動
作波形図である。
FIG. 3 is an operation waveform diagram of the signal detection circuit according to the first embodiment of the present invention.

【図4】本発明の第2の実施例に係るノイズ測定回路の
構成図である。
FIG. 4 is a configuration diagram of a noise measuring circuit according to a second embodiment of the present invention.

【図5】従来例に係るピーク検出回路の説明図である。FIG. 5 is an explanatory diagram of a peak detection circuit according to a conventional example.

【図6】従来例に係る信号検出回路の説明図である。FIG. 6 is an explanatory diagram of a signal detection circuit according to a conventional example.

【図7】従来例に係る問題点を説明する信号波形図であ
る。
FIG. 7 is a signal waveform diagram illustrating a problem in the conventional example.

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

11…正側ピークホールド回路、 11A,12A…第1,第2のサンプルホールド回路、 12…負側ピークホールド回路、 11B,12B…第1,第2の比較回路、 13…演算部、 14…時間設定部、 15…信号検出手段、 16…比較手段、 17…ラッチ回路、 18…リセット回路、 VIN…入力信号( ノイズ信号)、 VA…正側のサンプル電圧、 VB…負側のサンプル電圧、 VC…比較結果信号。 11 ... Positive side peak hold circuit, 11A, 12A ... 1st, 2nd sample hold circuit, 12 ... Negative side peak hold circuit, 11B, 12B ... 1st, 2nd comparison circuit, 13 ... Operation part, 14 ... Time setting unit, 15 ... Signal detection means, 16 ... Comparison means, 17 ... Latch circuit, 18 ... Reset circuit, VIN ... Input signal (noise signal), VA ... Positive side sample voltage, VB ... Negative side sample voltage, VC ... Comparison result signal.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力信号(VIN)の正側の波形をサンプ
リングして正側のサンプル電圧(VA)を順次保持し、
前記保持された正側のサンプル電圧(VA)と入力信号
(VIN)とを比較しながら、正側のサンプル電圧(V
A)の最大値を順次更新する正側ピークホールド部(1
1)と、 前記入力信号(VIN)の負側の波形をサンプリングして
負側のサンプル電圧(VB)を順次保持し、前記保持さ
れた負側のサンプル電圧(VB)と入力信号(VIN)と
を比較しながら、負側のサンプル電圧(VB)の最大値
を順次更新する負側ピークホールド部(12)と、 前記正側のサンプル電圧(VA)と負側のサンプル電圧
(VB)とを順次加算する演算部(13)とを備えるこ
とを特徴とする信号検出回路。
1. A positive side waveform of an input signal (VIN) is sampled to sequentially hold a positive side sample voltage (VA),
The positive side sample voltage (V) is compared with the held positive side sample voltage (VA) and the input signal (VIN).
The positive peak hold unit (1) that sequentially updates the maximum value of (A)
1), the negative side waveform of the input signal (VIN) is sampled to sequentially hold the negative side sample voltage (VB), and the held negative side sample voltage (VB) and the input signal (VIN) And a negative-side peak hold unit (12) that sequentially updates the maximum value of the negative-side sample voltage (VB), the positive-side sample voltage (VA) and the negative-side sample voltage (VB). And a computing unit (13) for sequentially adding the signal detection circuit.
【請求項2】 前記正側ピークホールド部(11)は、
入力信号(VIN)の正側の波形をサンプリングし、前記
サンプリングされた正側のサンプル電圧(VA)を保持
容量に充電する第1のサンプルホールド回路(11A)
と、前記保持された正側のサンプル電圧(VA)と入力
信号(VIN)とを比較して正側のサンプル電圧(VA)
の最大値を順次更新する第1の比較回路(11B)とを有
し、 前記負側ピークホールド部(12)は、入力信号(VI
N)の負側の波形をサンプリングし、前記サンプリング
された負側のサンプル電圧(VB)を保持容量に充電す
る第2のサンプルホールド回路(12A)と、前記保持さ
れた負側のサンプル電圧(VB)と入力信号(VIN)と
を比較して負側のサンプル電圧(VB)の最大値を順次
更新する第2の比較回路(12B)とを有することを特徴
とする請求項1記載の信号検出回路。
2. The positive side peak hold section (11) comprises:
A first sample-hold circuit (11A) that samples the positive-side waveform of the input signal (VIN) and charges the sampled positive-side sample voltage (VA) into a holding capacitor.
And the held positive side sample voltage (VA) and the input signal (VIN) are compared, and the positive side sample voltage (VA) is compared.
A first comparator circuit (11B) that sequentially updates the maximum value of the input signal (VI).
N), a second sample-hold circuit (12A) that samples the negative-side waveform, and charges the sampled negative-side sample voltage (VB) into a holding capacitor; and the held negative-side sample voltage (VB). 2. The signal according to claim 1, further comprising a second comparison circuit (12B) which compares VB) with the input signal (VIN) and sequentially updates the maximum value of the negative-side sample voltage (VB). Detection circuit.
【請求項3】 前記正側のサンプリング期間、及び、負
側のサンプリング期間を設定する時間設定回路(14)
が設けられることを特徴とする請求項1記載の信号検出
回路。
3. A time setting circuit (14) for setting the positive sampling period and the negative sampling period.
The signal detection circuit according to claim 1, further comprising:
【請求項4】 入力信号(VIN)の正側及び負側の波形
をサンプリングし、前記入力信号(VIN)の正側の電圧
の最大値及び負側の電圧の最大値を検出して出力電圧
(VOUT )を出力する信号検出手段(15)と、 前記出力電圧(VOUT )と基準電圧(VR)とを比較し
て比較結果信号(VC)を出力する比較手段(16)と
を備え、 前記信号検出手段(15)が請求項1の信号検出回路か
ら成ることを特徴とするノイズ測定回路。
4. The output voltage is obtained by sampling the positive-side and negative-side waveforms of the input signal (VIN) and detecting the maximum value of the positive-side voltage and the maximum value of the negative-side voltage of the input signal (VIN). A signal detecting means (15) for outputting (VOUT) and a comparing means (16) for comparing the output voltage (VOUT) with a reference voltage (VR) and outputting a comparison result signal (VC), A noise measuring circuit, characterized in that the signal detecting means (15) comprises the signal detecting circuit according to claim 1.
【請求項5】 前記比較結果信号(VC)を出力するラ
ッチ回路(17)と、前記信号検出手段(15)及びラ
ッチ回路(17)の動作を初期化するリセット回路(1
8)が設けられることを特徴とする請求項4記載のノイ
ズ測定回路。
5. A latch circuit (17) that outputs the comparison result signal (VC), and a reset circuit (1) that initializes the operations of the signal detection means (15) and the latch circuit (17).
8. The noise measuring circuit according to claim 4, wherein 8) is provided.
JP3270294A 1994-03-02 1994-03-02 Signal detector circuit and noise measuring circuit Withdrawn JPH07244091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3270294A JPH07244091A (en) 1994-03-02 1994-03-02 Signal detector circuit and noise measuring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3270294A JPH07244091A (en) 1994-03-02 1994-03-02 Signal detector circuit and noise measuring circuit

Publications (1)

Publication Number Publication Date
JPH07244091A true JPH07244091A (en) 1995-09-19

Family

ID=12366190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3270294A Withdrawn JPH07244091A (en) 1994-03-02 1994-03-02 Signal detector circuit and noise measuring circuit

Country Status (1)

Country Link
JP (1) JPH07244091A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008539653A (en) * 2005-04-28 2008-11-13 フリースケール セミコンダクター インコーポレイテッド Method of using logic threshold acquisition circuit and inverse peak detector
WO2021044828A1 (en) * 2019-09-05 2021-03-11 ミツミ電機株式会社 Magnetic detection device and semiconductor integrated circuit for amplifying magnetic detection signal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008539653A (en) * 2005-04-28 2008-11-13 フリースケール セミコンダクター インコーポレイテッド Method of using logic threshold acquisition circuit and inverse peak detector
US7684518B2 (en) 2005-04-28 2010-03-23 Freescale Semiconductor, Inc. Logic threshold acquisition circuits and methods using reversed peak detectors
WO2021044828A1 (en) * 2019-09-05 2021-03-11 ミツミ電機株式会社 Magnetic detection device and semiconductor integrated circuit for amplifying magnetic detection signal

Similar Documents

Publication Publication Date Title
US5576628A (en) Method and apparatus to measure capacitance
US7911185B2 (en) Battery voltage detection circuit
WO2015011916A1 (en) Current measurement device
JPH095366A (en) Method and equipment for highly accurate relative digital-voltage measurement
JPH07120948B2 (en) Circuit for converting input voltage to output frequency
JPH0612718B2 (en) Ion balance control device for static eliminator
JPH07244091A (en) Signal detector circuit and noise measuring circuit
US10473329B2 (en) Flame sense circuit with variable bias
US20040150370A1 (en) Method for detecting slow and small changes of electrical signals
JPS5829891B2 (en) A/D conversion circuit
JP3371847B2 (en) Impedance / voltage conversion device and its conversion method
JPH0583135A (en) Double integral type a/d converter
JPH0633701Y2 (en) Auto range circuit
JP2000241565A (en) Timer circuit
JPH0635195Y2 (en) Time interval measuring circuit
JPH02119314A (en) Zero cross voltage detector
JPH11153632A (en) Resistance measuring device
SU1649462A1 (en) Rectified sinusoidal voltage amplitude value extractor
JPH02248118A (en) Change equilibrium potential/frequency converter
KR970000905B1 (en) Phase measuring system
RU2012935C1 (en) Device for determination of polarity of leads of electrolytic capacitors
KR970005109Y1 (en) Pin number detecting circuit
JPS6135729B2 (en)
JPH10213609A (en) Peak detecting circuit and measuring device for electric characteristic
JPH09275343A (en) A/d converter for weight inspection device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010508