JP3256482B2 - Peak hold circuit - Google Patents

Peak hold circuit

Info

Publication number
JP3256482B2
JP3256482B2 JP04482798A JP4482798A JP3256482B2 JP 3256482 B2 JP3256482 B2 JP 3256482B2 JP 04482798 A JP04482798 A JP 04482798A JP 4482798 A JP4482798 A JP 4482798A JP 3256482 B2 JP3256482 B2 JP 3256482B2
Authority
JP
Japan
Prior art keywords
voltage
holding element
state
circuit
voltage holding
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 - Fee Related
Application number
JP04482798A
Other languages
Japanese (ja)
Other versions
JPH11242059A (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.)
Denso Ten Ltd
Toyota Motor Corp
Original Assignee
Denso Ten Ltd
Toyota Motor 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 Denso Ten Ltd, Toyota Motor Corp filed Critical Denso Ten Ltd
Priority to JP04482798A priority Critical patent/JP3256482B2/en
Publication of JPH11242059A publication Critical patent/JPH11242059A/en
Application granted granted Critical
Publication of JP3256482B2 publication Critical patent/JP3256482B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力信号のピーク
電圧を保持して出力するピークホールド回路に関し、特
に保持したピーク電圧のリセット処理が適切に行われる
ピークホールド回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peak hold circuit for holding and outputting a peak voltage of an input signal, and more particularly to a peak hold circuit for appropriately resetting a held peak voltage.

【0002】[0002]

【従来の技術】センサを用いた制御系や、オーディオ等
における信号レベル表示のために、信号のピークを保持
して出力するピークホールド回路がよく用いられてい
る。図8は、比較器CMP1を用いたこの種ピークホー
ルド回路の一例を示し、また図9はピークホールド回路
の動作状態を示す波形図である。PチャンネルMOSF
ETであるMOS1のソースには電源Vccが接続さ
れ、ドレインにはコンデンサC1の一端が接続され、コ
ンデンサC1の他端は接地され、またゲートには比較器
CMP1の出力が接続されており、MOS1は比較器C
MP1の出力が高電圧(H信号)出力の時には遮断状態
(ドレイン−ソース間)に、低電圧(L信号)出力の時
には導通状態になる。比較器CMP1の非反転入力端子
はMOS1とコンデンサC1間に接続され、また反転入
力端子にはピークホールドすべき入力信号Vinが入力
されるようになっている。従って、入力信号Vinとコ
ンデンサC1の電圧が比較器CMP1により比較され、
コンデンサC1電圧が入力信号Vinより低い場合に
は、MOS1が導通状態となってコンデンサC1が充電
される。また、コンデンサC1電圧が入力信号Vinよ
り高い場合には、MOS1が非導通状態となってコンデ
ンサC1は充電されない。このため、コンデンサC1の
電圧は入力信号Vinのピーク電圧で保持されることに
なる。
2. Description of the Related Art A control system using a sensor and a peak hold circuit for holding and outputting a signal peak for displaying a signal level in audio or the like are often used. FIG. 8 shows an example of this type of peak hold circuit using the comparator CMP1, and FIG. 9 is a waveform diagram showing an operation state of the peak hold circuit. P channel MOSF
The power source Vcc is connected to the source of the MOS1 as the ET, one end of the capacitor C1 is connected to the drain , the other end of the capacitor C1 is grounded, and the output of the comparator CMP1 is connected to the gate. Is the comparator C
When the output of MP1 is a high voltage (H signal) output, it is cut off (between the drain and source), and when it is a low voltage (L signal) output, it is conductive. A non-inverting input terminal of the comparator CMP1 is connected between the MOS1 and the capacitor C1, and an input signal Vin to be peak-held is input to the inverting input terminal. Therefore, the input signal Vin and the voltage of the capacitor C1 are compared by the comparator CMP1,
When the voltage of the capacitor C1 is lower than the input signal Vin, the MOS1 is turned on and the capacitor C1 is charged. When the voltage of the capacitor C1 is higher than the input signal Vin, the MOS1 is turned off and the capacitor C1 is not charged. Therefore, the voltage of the capacitor C1 is held at the peak voltage of the input signal Vin.

【0003】また、コンデンサC1と並列に、Nチャン
ネルMOSFETであるMOS2が接続され、MOS2
のゲートにはリセット信号Vrst(H信号)が入力さ
れるようになっている。従って、リセット信号Vrst
が入力されると、MOS2が導通状態となってコンデン
サC1の電荷は、MOS2を通って放電され、コンデン
サC1の電圧は0(接地状態)となり、ピークホールド
回路はリセットされる。 しかし、ピークホールド回路
のリセット時の電圧は、0(接地)状態ではなく、ある
基準電圧(バイアス電圧)とすることが一般的である。
そして、この場合入力信号のDC成分は不要であり、通
常コンデンサを用いてDCカットを行う。図10は、ピ
ークホールド回路のリセット時の電圧を、基準電圧(バ
イアス電圧:Bias)とする場合の回路の一例であ
る。尚、図8の回路と同一機能を有する構成部品には同
じ符号を付してその説明を省略する。
An N-channel MOSFET MOS2 is connected in parallel with the capacitor C1.
The reset signal Vrst (H signal) is input to the gates of. Therefore, the reset signal Vrst
Is input, the MOS2 becomes conductive, the electric charge of the capacitor C1 is discharged through the MOS2, the voltage of the capacitor C1 becomes 0 (ground state), and the peak hold circuit is reset. However, the voltage at the time of resetting the peak hold circuit is generally not a 0 (ground) state but a certain reference voltage (bias voltage).
In this case, the DC component of the input signal is unnecessary, and the DC cut is usually performed using a capacitor. FIG. 10 is an example of a circuit in a case where the voltage at the time of reset of the peak hold circuit is a reference voltage (bias voltage: Bias). Note that components having the same functions as those of the circuit in FIG. 8 are denoted by the same reference numerals, and description thereof will be omitted.

【0004】オペアンプAMP1の非反転入力端子は基
準となるバイアス電圧(Bias)に接続され、また反
転入力端子は出力と接続されている。従って、オペアン
プAMP1の出力はバイアス電圧Biasとなる。オペ
アンプAMP1の出力は抵抗rlを介して比較器CMP
1の反転入力端子に接続され、コンデンサC2によりD
Cカットされたセンサからの入力信号Vsにバイアス電
圧Biasを印加するようになっている。また、オペア
ンプAMP1の出力はMOS2のソースにも接続されて
いる。
A non-inverting input terminal of the operational amplifier AMP1 is connected to a reference bias voltage (Bias), and an inverting input terminal is connected to an output. Therefore, Opean
The output of the amplifier AMP1 becomes the bias voltage Bias. Operation
The output of the amplifier AMP1 is connected to a comparator CMP via a resistor rl.
1 and connected to the inverting input terminal of
A bias voltage Bias is applied to the input signal Vs from the C-cut sensor. Also, Opea
The output of the amplifier AMP1 is also connected to the source of the MOS2.

【0005】このため、通常時、コンデンサC1の電圧
は入力信号Vsにバイアス電圧Biasを加えた入力信
号Vinのピーク電圧が保持されることになり、その電
圧がピークホールド回路出力となる。また、リセット時
には、コンデンサC1はその電圧がバイアス電圧Bia
sとなるまで放電されるので、リセット時のピークホー
ルド回路出力は、バイアス電圧Biasとなる。
For this reason, in normal times, the voltage of the capacitor C1 is held at the peak voltage of the input signal Vin obtained by adding the bias voltage Bias to the input signal Vs, and that voltage becomes the output of the peak hold circuit. Also, at the time of reset, the voltage of the capacitor C1 becomes the bias voltage Bia.
Since the discharge is performed until s is reached, the output of the peak hold circuit at the time of resetting becomes the bias voltage Bias.

【0006】[0006]

【発明が解決しようとする課題】しかし、図10に示し
たピークホールド回路によれば、リセット時のコンデン
サC1の放電電流Irstは、オペアンプAMP1の能
力により制限されるが、特にMOSを用いた回路ではそ
の電流を十分に大きくできない。このためリセット回路
の時定数を小さくできず、リセット完了までに時間がか
かるという問題がある。また、通常動作時のピークホー
ルド回路出力には比較器CMP1とオペアンプAMP1
の両方の影響を受けるバイアス電圧Biasが加わって
いるが、リセット時のピークホールド回路出力にはオペ
アンプAMP1だけの影響を受けるバイアス電圧Bia
sが加わっている。このため、ピークホールド回路出力
のオフセット量に差が生じる問題がある。
However, according to the peak hold circuit shown in FIG. 10, the discharge current Irst of the capacitor C1 at the time of reset is limited by the capability of the operational amplifier AMP1, but in particular, a circuit using a MOS. Then, the current cannot be increased sufficiently. For this reason, there is a problem that the time constant of the reset circuit cannot be reduced, and it takes time to complete the reset. The comparator CMP1 and the operational amplifier AMP1 are output to the peak hold circuit output during normal operation.
Is applied, but the output of the peak hold circuit at reset is the bias voltage Bias affected only by the operational amplifier AMP1.
s is added. Therefore, there is a problem that a difference occurs in the offset amount of the output of the peak hold circuit.

【0007】本発明は上記問題を解決し、リセットを高
速で行え、またオフセット量の変動が少ないピークホー
ルド回路を実現することを課題としている。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to realize a peak hold circuit which can perform a reset at a high speed and has a small variation in an offset amount.

【0008】[0008]

【課題を解決するための手段及びその効果】上記課題を
解決するため、本発明に係るピークホールド回路(1)
は、印加された電圧を保持する電圧保持素子と、該電圧
保持素子の充電状態を制御する充電スイッチ素子と、入
力信号にバイアス電圧を加えるバイアス回路と、前記電
圧保持素子の電圧と前記バイアス電圧が加えられた入力
信号とを比較し、前記電圧保持素子の電圧が低い場合に
該電圧保持素子が充電状態となるように前記充電スイッ
チ素子を制御する比較回路とを含んで構成され、前記電
圧保持素子の保持電圧を出力とするピークホールド回路
において、前記電圧保持素子の放電状態を制御する放電
スイッチ素子と、リセット信号が入力された時に、前記
比較回路が、前記電圧保持素子が非充電状態となるよう
に前記充電スイッチ素子を制御すると共に、前記電圧保
持素子の電圧と前記バイアス電圧とを比較し、前記電圧
保持素子の電圧が高い場合に該電圧保持素子が放電状態
となるように前記放電スイッチ素子を制御するように、
前記比較回路の入出力状態を切り換える切換回路と、前
記電圧保持素子の充電状態を停止した後、該電圧保持素
子が放電状態となるように、前記充電スイッチ素子と前
記放電スイッチ素子との動作制御タイミングを設定する
動作タイミング設定手段とを備えていることを特徴とし
ている。また本発明に係るピークホールド回路(2)
は、上記ピークホールド回路(1)において、前記充電
スイッチ素子と前記放電スイッチ素子とを介して前記電
圧保持素子への充放電がなされない状態の時に、前記比
較回路の入力状態を切り換える切換タイミング設定手段
を備えていることを特徴としている。
Means for Solving the Problems and Their Effects To solve the above problems, a peak hold circuit (1) according to the present invention is provided.
A voltage holding element for holding an applied voltage, a charge switch element for controlling a state of charge of the voltage holding element, a bias circuit for applying a bias voltage to an input signal, a voltage of the voltage holding element, and the bias voltage. A comparison circuit that controls the charge switch element such that the voltage holding element is in a charged state when the voltage of the voltage holding element is low. In a peak hold circuit that outputs a hold voltage of a hold element, a discharge switch element that controls a discharge state of the voltage hold element, and when a reset signal is input, the comparison circuit determines that the voltage hold element is in a non-charge state. Controlling the charge switch element so that the voltage of the voltage holding element is compared with the bias voltage. As the voltage storage element to control the discharge switch element so that the discharge state if already there
A switching circuit for switching the input / output state of the comparison circuit ;
After stopping the state of charge of the voltage holding element, the voltage holding element
The charge switch element is connected to the
Set operation control timing with discharge switch element
Operation timing setting means . Also, a peak hold circuit (2) according to the present invention.
Is the peak hold circuit (1).
Through the switch element and the discharge switch element.
When the pressure holding element is not charged or discharged,
Switching timing setting means for switching the input state of the comparison circuit
It is characterized by having.

【0009】上記ピークホールド回路(1)又は(2)
によれば、リセット時には放電素子を介して電圧保持素
子がバイアス電圧まで確実に放電されるので、その放電
先は接地等、比較的自由に設定できるので、放電を高速
で行うことが可能となり、リセットの高速化を図ること
ができる。また、通常時とリセット時でバイアス電圧B
iasに影響を与える比較回路に違いがないので、オフ
セット量の変動を防止できる。また、電源から(接地
へ)前記充電スイッチ素子と前記放電スイッチ素子とを
通って、ほぼ抵抗なしに流れる貫通電流の発生を予防で
きる。 さらに、上記ピークホールド回路(2)によれ
ば、前記比較回路の入力状態切換は、ピークホールド回
路の出力に影響が無いとき、つまり前記電圧保持素子へ
の充放電がなされない時に行われるので、前記比較回路
の入力切換時に発生する切換ノイズのピークホールド回
路出力への悪影響を防止できる。
The peak hold circuit (1) or (2)
According to this, at the time of reset, the voltage holding element is reliably discharged to the bias voltage via the discharge element, and the discharge destination can be set relatively freely, such as ground, so that the discharge can be performed at a high speed. The speed of reset can be increased. In addition, the bias voltage B between the normal state and the reset state
Since there is no difference in the comparison circuit affecting ias, it is possible to prevent the offset amount from fluctuating. Also, from the power supply (ground
F) connecting the charge switch element and the discharge switch element
Prevents the generation of shoot-through current that flows with almost no resistance
Wear. Further, according to the peak hold circuit (2),
For example, the input state switching of the comparison circuit
When there is no effect on the output of the
Is performed when charging / discharging is not performed.
Switching noise peak hold time generated when the input is switched
An adverse effect on the road output can be prevented.

【0010】[0010]

【0011】[0011]

【0012】また本発明に係るピークホールド回路
(3)は、印加された電圧を保持する電圧保持素子と、
該電圧保持素子の充電状態を制御する充電スイッチ素子
と、入力信号にバイアス電圧を加えるバイアス回路と、
前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が低い
場合に該電圧保持素子が充電状態となるように前記充電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、前記電圧保持素子の放電状態を制御す
る放電スイッチ素子と、リセット信号が入力された時
に、前記比較回路が、前記電圧保持素子が非充電状態と
なるように前記充電スイッチ素子を制御すると共に、前
記電圧保持素子の電圧と前記バイアス電圧とを比較し、
前記電圧保持素子の電圧が高い場合に該電圧保持素子が
放電状態となるように前記放電スイッチ素子を制御する
ように、前記比較回路の入出力状態を切り換える切換回
路と、前記充電スイッチ素子と前記放電スイッチ素子と
を介して前記電圧保持素子への充放電がなされない状態
の時に、前記比較回路の入力状態を切り換える切換タイ
ミング設定手段を備えていることを特徴としている。
A peak hold circuit (3) according to the present invention further comprises a voltage holding element for holding the applied voltage;
A charge switch element for controlling a charge state of the voltage holding element
And a bias circuit for applying a bias voltage to the input signal;
The voltage of the voltage holding element and the bias voltage are applied.
Compared with the input signal, and the voltage of the voltage holding element is low.
Charging the battery so that the voltage holding element is in a charged state.
And a comparison circuit for controlling the switch element,
A peak hole that outputs a holding voltage of the voltage holding element.
Controlling the discharge state of the voltage holding element.
Discharge switch element and when a reset signal is input
In the comparison circuit, the voltage holding element may be in a non-charged state.
Control the charge switch element so that
Comparing the voltage of the voltage holding element with the bias voltage,
When the voltage of the voltage holding element is high, the voltage holding element
Controlling the discharge switch element to be in a discharge state
The switching circuit for switching the input / output state of the comparison circuit
And road, the via the charging switch element and the discharge switching element when the charging and discharging is not performed state to the voltage storage element, that has a switching timing setting means for switching the input state of the comparator circuit Features.

【0013】上記ピークホールド回路(3)によれば、
リセット時には放電素子を介して電圧保持素子がバイア
ス電圧まで確実に放電されるので、その放電先は接地
等、比較的自由に設定できるので、放電を高速で行うこ
とが可能となり、リセットの高速化を図ることができ
る。また、通常時とリセット時でバイアス電圧Bias
に影響を与える比較回路に違いがないので、オフセット
量の変動を防止できる。 さらに、前記比較回路の入力状
態切換は、ピークホールド回路の出力に影響が無いと
き、つまり前記電圧保持素子への充放電がなされない時
に行われるので、前記比較回路の入力切換時に発生する
切換ノイズのピークホールド回路出力への悪影響を防止
できる。
According to the peak hold circuit (3),
At reset, the voltage holding element via
Discharge to the ground voltage.
Can be set relatively freely.
It is possible to speed up the reset.
You. In addition, the bias voltage Bias is set between the normal state and the reset state.
Since there is no difference in the comparison circuit that affects the
Fluctuations in volume can be prevented. Further, the switching of the input state of the comparison circuit is performed when there is no influence on the output of the peak hold circuit, that is, when the charging and discharging of the voltage holding element is not performed. Can be prevented from adversely affecting the output of the peak hold circuit.

【0014】また本発明に係るピークホールド回路
(4)は、印加された電圧を保持する電圧保持素子と、
該電圧保持素子の充電状態を制御する充電スイッチ素子
と、入力信号にバイアス電圧を加えるバイアス回路と、
前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が低い
場合に該電圧保持素子が充電状態となるように前記充電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、前記電圧保持素子の放電状態を制御す
る放電スイッチ素子と、リセット信号が入力された時
に、前記比較回路が、前記電圧保持素子が非充電状態と
なるように前記充電スイッチ素子を制御すると共に、前
記電圧保持素子の電圧と前記バイアス電圧とを比較し、
前記電圧保持素子の電圧が高い場合に該電圧保持素子が
放電状態となるように前記放電スイッチ素子を制御する
ように、前記比較回路の入出力状態を切り換える切換回
路と、前記リセット信号が所定時間以上継続した場合、
前記比較回路が、前記電圧保持素子が非放電状態となる
ように前記放電スイッチ素子を制御すると共に、前記電
圧保持素子の電圧と前記バイアス電圧とを比較し、前記
電圧保持素子の電圧が低い場合に該電圧保持素子が充電
状態となるように前記充電スイッチ素子を制御するよう
に、前記比較回路の入出力状態を切り換える基準保持回
を備えていることを特徴としている。
[0014] The peak hold circuit (4) according to the present invention further comprises a voltage holding element for holding the applied voltage;
A charge switch element for controlling a charge state of the voltage holding element
And a bias circuit for applying a bias voltage to the input signal;
The voltage of the voltage holding element and the bias voltage are applied.
Compared with the input signal, and the voltage of the voltage holding element is low.
Charging the battery so that the voltage holding element is in a charged state.
And a comparison circuit for controlling the switch element,
A peak hole that outputs a holding voltage of the voltage holding element.
Controlling the discharge state of the voltage holding element.
Discharge switch element and when a reset signal is input
In the comparison circuit, the voltage holding element may be in a non-charged state.
Control the charge switch element so that
Comparing the voltage of the voltage holding element with the bias voltage,
When the voltage of the voltage holding element is high, the voltage holding element
Controlling the discharge switch element to be in a discharge state
The switching circuit for switching the input / output state of the comparison circuit
Path, and when the reset signal continues for a predetermined time or more,
The comparison circuit controls the discharge switch element so that the voltage holding element is in a non-discharge state, compares the voltage of the voltage holding element with the bias voltage, and determines whether the voltage of the voltage holding element is low. the voltage holding element so as to control the charging switch element so that the charged state is characterized by comprising a reference holding circuit for switching the output state of the comparator circuit.

【0015】上記ピークホールド回路(4)によれば、
リセット時には放電素子を介して電圧保持素子がバイア
ス電圧まで確実に放電されるので、その放電先は接地
等、比較的自由に設定できるので、放電を高速で行うこ
とが可能となり、リセットの高速化を図ることができ
る。また、通常時とリセット時でバイアス電圧Bias
に影響を与える比較回路に違いがないので、オフセット
量の変動を防止できる。 さらに、前記電圧保持素子の電
圧がバイアス電圧になった後は、単に前記電圧保持素子
がオープン状態となるのではなく、該電圧保持素子の電
圧がバイアス電圧となるような制御が加えられるので、
漏れ(リーク)電流による前記電圧保持素子の電圧低下
を防止できる。
According to the peak hold circuit (4),
At reset, the voltage holding element via
Discharge to the ground voltage.
Can be set relatively freely.
It is possible to speed up the reset.
You. In addition, the bias voltage Bias between the normal state and the reset state
Since there is no difference in the comparison circuit that affects the
Fluctuations in volume can be prevented. Further, after the voltage of the voltage holding element becomes a bias voltage, control is performed so that the voltage of the voltage holding element becomes a bias voltage instead of simply opening the voltage holding element,
A voltage drop of the voltage holding element due to a leakage current can be prevented.

【0016】[0016]

【0017】[0017]

【0018】また本発明に係るピークホールド回路
)は、印加された電圧を保持する電圧保持素子と、
該電圧保持素子の放電状態を制御する放電スイッチ素子
と、入力信号にバイアス電圧を加えるバイアス回路と、
前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が高い
場合に該電圧保持素子が放電状態となるように前記放電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、前記電圧保持素子の充電状態を制御す
る充電スイッチ素子と、リセット信号が入力された時
に、前記比較回路が、前記電圧保持素子が非放電状態と
なるように前記放電スイッチ素子を制御すると共に、前
記電圧保持素子の電圧と前記バイアス電圧とを比較し、
前記電圧保持素子の電圧が低い場合に該電圧保持素子が
充電状態となるように前記充電スイッチ素子を制御する
ように、前記比較回路の入出力状態を切り換える切換回
路と、前記電圧保持素子の放電状態を停止した後、該電
圧保持素子が充電状態となるように、前記充電スイッチ
素子と前記放電スイッチ素子との動作タイミングを設定
する動作タイミング設定手段とを備えていることを特徴
としている。また本発明に係るピークホールド回路
(6)は、上記ピークホールド回路(5)において、前
記充電スイッチ素子と前記放電スイッチ素子とを介して
前記電圧保持素子への充放電がなされない状態の時に、
前記比較回路の入力状態を切り換える切換タイミング設
定手段を備えていることを特徴としている。
[0018] The peak hold circuit ( 5 ) according to the present invention further comprises a voltage holding element for holding the applied voltage;
A discharge switch element that controls a discharge state of the voltage holding element, a bias circuit that applies a bias voltage to an input signal,
Comparing the voltage of the voltage holding element with the input signal to which the bias voltage is applied, and controlling the discharge switch element so that the voltage holding element is in a discharging state when the voltage of the voltage holding element is high. And a circuit,
In a peak hold circuit that outputs a holding voltage of the voltage holding element, a charge switch element that controls a state of charge of the voltage holding element, and when a reset signal is input, the comparison circuit determines that the voltage holding element is non-connected. While controlling the discharge switch element to be in a discharge state, comparing the voltage of the voltage holding element and the bias voltage,
As the voltage holding said voltage storage element when the voltage is low the device to control the charging switch element so that the charge state, a switching circuit for switching the output state of the comparator circuit, the discharge of the voltage storage element After stopping the state,
The charging switch so that the pressure holding element is in a charged state.
Set the operation timing of the element and the discharge switch element
Operation timing setting means for performing the operation. Also, a peak hold circuit according to the present invention.
(6) in the peak hold circuit (5),
Via the charge switch element and the discharge switch element
When the voltage holding element is not charged or discharged,
Switching timing setting for switching the input state of the comparison circuit
It is characterized in that it is provided with a setting means.

【0019】上記ピークホールド回路(5)又は(6)
によれば、リセット時には前記充電スイッチ素子を介し
て前記電圧保持素子がバイアス電圧まで充電されるの
で、その充電先は電源等、比較的自由に設定できるの
で、充電を高速で行うことが可能となり、リセットの高
速化を図ることができる。また、通常時とリセット時で
バイアス電圧に影響を与える比較回路に違いがないの
で、オフセット量の変動を防止できる。また、電源から
(接地へ)前記充電スイッチ素子と前記放電スイッチ素
子とを通って、ほぼ抵抗なしに流れる貫通電流の発生を
予防できる。 さらに、上記ピークホールド回路(6)に
よれば、前記比較回路の入力状態の切換は、ピークホー
ルド回路の出力に影響が無いとき、つまり前記電圧保持
素子への充放電がなされない時に行われるので、前記比
較回路の入力切換時に発生する切換ノイズのピークホー
ルド回路出力への悪影響を防止できる。
The peak hold circuit (5) or (6)
According to this, at the time of reset, the voltage holding element is charged up to the bias voltage via the charging switch element, so that the charging destination can be set relatively freely, such as a power supply, so that charging can be performed at high speed. Thus, the speed of the reset can be increased. Further, since there is no difference in the comparison circuit that affects the bias voltage between the normal state and the reset state, it is possible to prevent the offset amount from fluctuating. Also from the power supply
(To ground) the charge switch element and the discharge switch element
Through current that flows almost without resistance
Can be prevented. Furthermore, the peak hold circuit (6)
According to the above, the switching of the input state of the comparison circuit is performed by the peak hold.
When there is no effect on the output of the
This is performed when the device is not charged / discharged.
Of switching noise generated when the input of the comparator circuit is switched
Adverse effect on the output of the shield circuit can be prevented.

【0020】[0020]

【0021】[0021]

【0022】また本発明に係るピークホールド回路
)は、印加された電圧を保持する電圧保持素子と、
該電圧保持素子の放電状態を制御する放電スイッチ素子
と、入力信号にバイアス電圧を加えるバイアス回路と、
前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が高い
場合に該電圧保持素子が放電状態となるように前記放電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、前記電圧保持素子の充電状態を制御す
る充電スイッチ素子と、リセット信号が入力された時
に、前記比較回路が、前記電圧保持素子が非放電状態と
なるように前記放電スイッチ素子を制御すると共に、前
記電圧保持素子の電圧と前記バイアス電圧とを比較し、
前記電圧保持素子の電圧が低い場合に該電圧保持素子が
充電状態となるように前記充電スイッチ素子を制御する
ように、前記比較回路の入出力状態を切り換える切換回
路と、前記充電スイッチ素子と前記放電スイッチ素子と
を介して前記電圧保持素子への充放電がなされない状態
の時に、前記比較回路の入力状態を切り換える切換タイ
ミング設定手段を備えていることを特徴としている。
Further, the peak hold circuit ( 7 ) according to the present invention comprises: a voltage holding element for holding the applied voltage;
Discharge switch element for controlling a discharge state of the voltage holding element
And a bias circuit for applying a bias voltage to the input signal;
The voltage of the voltage holding element and the bias voltage are applied.
Compared with the input signal, and the voltage of the voltage holding element is higher.
The discharge so that the voltage holding element is in a discharge state.
And a comparison circuit for controlling the switch element,
A peak hole that outputs a holding voltage of the voltage holding element.
A charge state of the voltage holding element.
Charge switch element and when a reset signal is input
In the comparison circuit, the voltage holding element may be in a non-discharge state.
Control the discharge switch element so that
Comparing the voltage of the voltage holding element with the bias voltage,
When the voltage of the voltage holding element is low, the voltage holding element
Controlling the charge switch element to be in a charged state
The switching circuit for switching the input / output state of the comparison circuit
And road, the via the charging switch element and the discharge switching element when the charging and discharging is not performed state to the voltage storage element, that has a switching timing setting means for switching the input state of the comparator circuit Features.

【0023】上記ピークホールド回路(7)によれば、
リセット時には前記充電スイッチ素子を介して前記電圧
保持素子がバイアス電圧まで充電されるので、その充電
先は電源等、比較的自由に設定できるので、充電を高速
で行うことが可能となり、リセットの高速化を図ること
ができる。また、通常時とリセット時でバイアス電圧に
影響を与える比較回路に違いがないので、オフセット量
の変動を防止できる。 さらに、前記比較回路の入力状態
の切換は、ピークホールド回路の出力に影響が無いと
き、つまり前記電圧保持素子への充放電がなされない時
に行われるので、前記比較回路の入力切換時に発生する
切換ノイズのピークホールド回路出力への悪影響を防止
できる。
According to the peak hold circuit (7) ,
At the time of reset, the voltage
Since the holding element is charged to the bias voltage,
The destination can be set relatively freely, such as a power source, so charging is fast
And speed up resetting.
Can be. In addition, the bias voltage is changed between normal and reset.
Since there is no difference in the influence of the comparison circuit, the offset amount
Fluctuation can be prevented. Further, the switching of the input state of the comparison circuit is performed when there is no influence on the output of the peak hold circuit, that is, when the charge / discharge of the voltage holding element is not performed. The adverse effect of noise on the output of the peak hold circuit can be prevented.

【0024】[0024]

【0025】[0025]

【0026】[0026]

【発明の実施の形態】次に本発明の実施の形態について
説明する。図1は本発明の実施の形態に係るピークホー
ルド回路を示す回路構成図である。
Next, an embodiment of the present invention will be described. FIG. 1 is a circuit diagram showing a peak hold circuit according to an embodiment of the present invention.

【0027】PチャンネルMOSFETのMOS1のソ
ースには電源Vccが接続され、ドレインにはコンデン
サC1が接続され、またゲートにはスイッチSW2のコ
モン端子Cが接続されている。また、NチャンネルMO
SFETのMOS2のドレインにはMOS1のドレイン
が接続され、MOS2のソースは接地され、またゲート
にはスイッチSW3のコモン端子Cが接続されている。
そしてMOS1はそのゲート入力電圧が高電圧(H信
号)の時には遮断状態(ドレイン−ソース間)に、低電
圧(L信号)の時には導通状態になる。またMOS2は
そのゲート入力電圧がH信号の時には導通状態に、L信
号の時には遮断状態になる。つまり、MOS1のゲート
入力電圧がL信号の時、コンデンサC1は電源Vccと
接続され充電状態となり、またMOS2のゲート入力電
圧がH信号の時、コンデンサC1は接地され放電状態と
なる。そして、このコンデンサC1の電圧が入力信号V
inのピーク信号として出力される。
The power supply Vcc is connected to the source of the MOS1 of the P-channel MOSFET, the capacitor C1 is connected to the drain, and the common terminal C of the switch SW2 is connected to the gate. Also, N channel MO
The drain of the MOS2 of the SFET is connected to the drain of the MOS1, the source of the MOS2 is grounded, and the gate is connected to the common terminal C of the switch SW3.
The MOS1 is turned off (between the drain and the source) when the gate input voltage is high (H signal), and is conductive when the gate input voltage is low (L signal). The MOS2 is turned on when the gate input voltage is H signal, and is turned off when the gate input voltage is L signal. That is, when the gate input voltage of the MOS1 is an L signal, the capacitor C1 is connected to the power supply Vcc and is in a charged state. When the gate input voltage of the MOS2 is an H signal, the capacitor C1 is grounded and is in a discharged state. The voltage of the capacitor C1 is equal to the input signal V
The signal is output as an in peak signal.

【0028】スイッチSW2の端子Hは電源電圧に接続
され、また端子Lは比較器CMP1の出力に接続され、
これら端子H,Lは接点の位置に応じてコモン端子Cと
選択的に接続されるようになっている。また、スイッチ
SW3の端子Hは比較器CMP1の出力に接続され、ま
た端子Lは接地され、これら端子H,Lは接点の位置に
応じてコモン端子Cと選択的に接続されるようになって
いる。そして、比較器CMP1の非反転入力端子はMO
S1とMOS2とコンデンサC1間に接続され、また反
転入力端子はスイッチSW1のコモン端子Cに接続され
ている。スイッチSW1の端子HはオペアンプAMP1
の出力に接続され、また端子LはDCカット用のコンデ
ンサC2を介してセンサに接続され、さらに抵抗r1を
介してオペアンプAMP1の出力に接続されている。こ
れらスイッチSW1の端子H,Lは接点の位置に応じて
コモン端子Cと選択的に接続されるようになっている。
The terminal H of the switch SW2 is connected to the power supply voltage, the terminal L is connected to the output of the comparator CMP1,
These terminals H and L are selectively connected to a common terminal C according to the position of the contact. The terminal H of the switch SW3 is connected to the output of the comparator CMP1, the terminal L is grounded, and these terminals H and L are selectively connected to the common terminal C according to the position of the contact. I have. The non-inverting input terminal of the comparator CMP1 is
It is connected between S1, MOS2 and the capacitor C1, and the inverting input terminal is connected to the common terminal C of the switch SW1. The terminal H of the switch SW1 is connected to the operational amplifier AMP1.
The terminal L is connected to the sensor via a DC cut capacitor C2, and further connected to the output of an operational amplifier AMP1 via a resistor r1. The terminals H and L of the switch SW1 are selectively connected to a common terminal C according to the position of the contact.

【0029】オペアンプAMP1の非反転入力端子は基
準となるバイアス電圧(電圧Bias)に接続され、ま
た反転入力端子は出力と接続されている。従って、オペ
アンプAMP1の出力はバイアス電圧Biasとなる。
そして、オペアンプAMP1の出力は抵抗r1を介して
スイッチSW1のL端子に接続され、コンデンサC2に
よりDCカットされたセンサからの入力信号Vsにバイ
アス電圧Biasを印加する。
The non-inverting input terminal of the operational amplifier AMP1 is connected to a reference bias voltage (voltage Bias), and the inverting input terminal is connected to the output. Therefore, the operation
The output of the amplifier AMP1 becomes the bias voltage Bias.
The output of the operational amplifier AMP1 is connected to the L terminal of the switch SW1 via the resistor r1, and applies the bias voltage Bias to the input signal Vs from the sensor that has been DC-cut by the capacitor C2.

【0030】マイクロコンピュータ(マイコン)1は、
ピークホールド回路の出力するピーク電圧出力Vout
のA/D変換値を取り込んで、このピーク電圧Vout
を用いて適用される電子機器特有の処理を行う。また必
要に応じてピークホールド回路のリセット信号を出力す
る。タイミング制御回路2はクロックパルス発生回路3
からのクロック信号に基づき、マイコン1からのリセッ
ト信号のタイミングを調整して各スイッチSW1,2,
3に切換信号を出力する。そして、各スイッチSW1,
2,3はリセット時のタイミング制御回路2からの切換
信号によりコモン端子Cと端子Hが接続状態となるよう
に構成されており、トランジスタ、FET等のスイッチ
ングトランジスタにより構成されている。尚、クロック
パルス発生回路3によりマイコン1動作用のクロックパ
ルス発生回路を兼用することも可能であり、またマイコ
ン1の処理によりタイミング制御回路2と同じ処理を実
現することも可能である。
The microcomputer (microcomputer) 1 comprises:
Peak voltage output Vout output from the peak hold circuit
A / D converted value of the peak voltage Vout
To perform a process specific to the electronic device to be applied. It also outputs a reset signal for the peak hold circuit as needed. The timing control circuit 2 includes a clock pulse generation circuit 3
The timing of the reset signal from the microcomputer 1 is adjusted based on the clock signal from the
A switching signal is output to the switch 3. Then, each switch SW1,
Reference numerals 2 and 3 are configured such that the common terminal C and the terminal H are connected by a switching signal from the timing control circuit 2 at the time of resetting, and are configured by switching transistors such as transistors and FETs. The clock pulse generation circuit 3 can also serve as a clock pulse generation circuit for operating the microcomputer 1, and the same processing as that of the timing control circuit 2 can be realized by the processing of the microcomputer 1.

【0031】図2は通常時、つまり非リセット状態での
図1におけるピークホールド回路の等価回路を示す回路
図である。非リセット状態では、比較器CMP1の反転
入力端子には、コンデンサC2によりDCカットされた
センサからのセンサ信号Vsにバイアス電圧Biasが
印加された電圧がピークホールドすべき入力信号Vin
として入力される。そして、入力信号Vinとコンデン
サC1の電圧が比較器CMP1により比較され、コンデ
ンサC1の電圧が入力信号Vinより低い場合には、M
OS1が導通状態となってコンデンサC1が充電され
る。また、コンデンサC1電圧が入力信号Vinより高
い場合には、MOS1が非導通状態となってコンデンサ
C1は充電されない。このため、コンデンサC1の電圧
は入力信号Vinのピーク電圧が保持されることにな
る。
FIG. 2 is a circuit diagram showing an equivalent circuit of the peak hold circuit in FIG. 1 in a normal state, that is, in a non-reset state. In the non-reset state, the input signal Vin to which the bias voltage Bias is applied to the sensor signal Vs from the sensor DC-cut by the capacitor C2 is to be peak-held at the inverting input terminal of the comparator CMP1.
Is entered as Then, the input signal Vin and the voltage of the capacitor C1 are compared by the comparator CMP1, and when the voltage of the capacitor C1 is lower than the input signal Vin, M
OS1 becomes conductive and capacitor C1 is charged. When the voltage of the capacitor C1 is higher than the input signal Vin, the MOS1 is turned off and the capacitor C1 is not charged. Therefore, the peak voltage of the input signal Vin is held as the voltage of the capacitor C1.

【0032】図3はリセット時、つまりリセット状態で
の図1におけるピークホールド回路の等価回路を示す回
路図である。リセット状態では、比較器CMP1の反転
入力端子には、比較器CMP2の出力であるバイアス電
圧Biasが入力される。そして、このバイアス電圧B
iasとコンデンサC1の電圧が比較器CMP1により
比較され、コンデンサC1の電圧がバイアス電圧Bia
sより高い場合には、MOS2が導通状態となってコン
デンサC1が放電される。また、コンデンサC1電圧が
バイアス電圧Biasより低い場合には、MOS2が非
導通状態となってコンデンサC1は放電されない。この
ため、コンデンサC1の電圧はバイアス電圧Biasに
保持されることになる。
FIG. 3 is a circuit diagram showing an equivalent circuit of the peak hold circuit in FIG. 1 at the time of reset, that is, in the reset state. In the reset state, the bias voltage Bias output from the comparator CMP2 is input to the inverting input terminal of the comparator CMP1. And, this bias voltage B
ias and the voltage of the capacitor C1 are compared by a comparator CMP1, and the voltage of the capacitor C1 is compared with the bias voltage Bia.
If it is higher than s, MOS2 becomes conductive and capacitor C1 is discharged. When the voltage of the capacitor C1 is lower than the bias voltage Bias, the MOS2 is turned off and the capacitor C1 is not discharged. Therefore, the voltage of the capacitor C1 is maintained at the bias voltage Bias.

【0033】従って、コンデンサC1の放電時にはMO
S2を介して接地に直接放電が行われるので、放電電流
を大きくすることができ、放電時定数を小さく、つまり
ピークホールド回路のリセット速度を高速化できる。ま
た、バイアス電圧Biasのオフセット電圧は通常時
も、リセット時も比較器CMP1とオペアンプAMP1
の両方の影響を受けたオフセット電圧となり、オフセッ
ト電圧を相殺する処理等を比較的容易に行えることとな
る。
Therefore, when discharging the capacitor C1, MO
Since the discharge is performed directly to the ground via S2, the discharge current can be increased, the discharge time constant can be reduced, that is, the reset speed of the peak hold circuit can be increased. The offset voltage of the bias voltage Bias is set to the comparator CMP1 and the operational amplifier AMP1 both in the normal state and in the reset state.
The offset voltage is affected by both of the above, and processing for canceling the offset voltage can be performed relatively easily.

【0034】次にタイミング制御回路2の動作について
説明する。図4はリセット信号Vrstと各スイッチS
W1,2,3の切換状態(タイミング制御回路2の切換
制御信号出力状態)を示すタイミングチャートである。
時刻t1でリセット信号Vrstが出力されると(H信
号)、先ずスイッチSW2がH状態(端子Hとコモン端
子が接続)となり、MOS1は遮断状態となってコンデ
ンサC1はオープン状態となる。次に時刻t2でスイッ
チSW1がH状態となり、比較器CMP1の反転入力端
子はバイアス電圧Bias入力状態となる。そして、時
刻t3でスイッチSW3がH状態となり、MOS2はコ
ンデンサC1の電圧がバイアス電圧Biasとなるまで
導通状態となり、コンデンサC1は放電される。
Next, the operation of the timing control circuit 2 will be described. FIG. 4 shows the reset signal Vrst and each switch S
5 is a timing chart showing a switching state of W1, 2, and 3 (a switching control signal output state of a timing control circuit 2).
When the reset signal Vrst is output at time t1 (H signal), first, the switch SW2 is in the H state (the terminal H is connected to the common terminal), the MOS1 is turned off, and the capacitor C1 is opened. Next, at time t2, the switch SW1 is set to the H state, and the inverting input terminal of the comparator CMP1 is set to the input state of the bias voltage Bias. Then, at time t3, the switch SW3 becomes H state, the MOS2 becomes conductive until the voltage of the capacitor C1 becomes the bias voltage Bias, and the capacitor C1 is discharged.

【0035】また、時刻t4でリセット信号Vrstが
解除されると(L信号)、先ずスイッチSW3がL状態
(端子Lとコモン端子が接続)となり、MOS2は遮断
状態となってコンデンサC1はオープン状態となる。次
に時刻t5でスイッチSW1がL状態となり、比較器C
MP1の反転入力端子はDCカットされたセンサ信号V
sにバイアス電圧Biasが印加された入力信号Vin
の入力状態となる。そして、時刻t6でスイッチSW2
がL状態となり、MOS1はコンデンサC1の電圧が入
力信号Vin電圧となるまで導通状態となり、コンデン
サC1はピーク電圧に充電される。このような動作とな
るようにタイミング制御回路2の論理回路が設定されて
いる。
When the reset signal Vrst is released at time t4 (L signal), first, the switch SW3 becomes L state (the terminal L is connected to the common terminal), the MOS2 is turned off, and the capacitor C1 is opened. Becomes Next, at time t5, the switch SW1 becomes L state, and the comparator C
The inverting input terminal of MP1 is the DC-cut sensor signal V
s to which an input signal Vin to which a bias voltage Bias is applied
Input state. Then, at time t6, the switch SW2
Is in the L state, MOS1 is conductive until the voltage of the capacitor C1 becomes the voltage of the input signal Vin, and the capacitor C1 is charged to the peak voltage. The logic circuit of the timing control circuit 2 is set to perform such an operation.

【0036】このような動作により、リセットと非リセ
ット状態の切り換わり時において、比較器CMP1の入
力を切り換える時には、コンデンサC1は外部からの信
号の影響を受けないオープン状態となっているので、切
換ノイズの影響がコンデンサC1に及ばず、出力される
ピーク値への悪影響を防ぐことができる。
With this operation, when the input of the comparator CMP1 is switched at the time of switching between the reset state and the non-reset state, the capacitor C1 is in an open state which is not affected by an external signal. The influence of noise does not reach the capacitor C1, and it is possible to prevent an adverse effect on the output peak value.

【0037】次にタイミング制御回路2の別の動作の例
について説明する。図5はリセット信号Vrstと各ス
イッチSW1,2,3の切換状態(タイミング制御回路
2の切換制御信号出力状態)を示すタイミングチャート
である。時刻t7でリセット信号Vrstが出力される
と(H信号)、各スイッチSW1,2,3はH状態とな
る。しかし、スイッチSW2,3は、所定時間が経過し
時刻t8となるとリセットの解除前であってもL状態と
なる。そして、時刻t9でリセットが解除されるとスイ
ッチSW1もL状態となる。尚、所定時間経過前(時刻
t8以前)にリセットが解除されると、その時点でスイ
ッチSW2,3はスイッチSW1と共にL状態となる。
このような動作となるようにタイミング制御回路2の論
理回路が設定されている。
Next, another example of the operation of the timing control circuit 2 will be described. FIG. 5 is a timing chart showing the reset signal Vrst and the switching states of the switches SW1, SW2, and SW3 (the switching control signal output states of the timing control circuit 2). When the reset signal Vrst is output at time t7 (H signal), each of the switches SW1, SW2, and SW3 goes to the H state. However, the switches SW2 and SW3 are in the L state when the predetermined time has elapsed and at time t8 even before the reset is released. Then, when the reset is released at time t9, the switch SW1 is also set to the L state. When the reset is released before the lapse of a predetermined time (before time t8), the switches SW2 and SW3 become L state together with the switch SW1 at that time.
The logic circuit of the timing control circuit 2 is set to perform such an operation.

【0038】このような動作により、リセット状態が長
くなると、スイッチSW1はH状態のままで、スイッチ
SW2,3はL状態となる。従って、比較器CMP1の
反転入力にはバイアス電圧Biasが印加され、比較器
CMP1はコンデンサC1の電圧がバイアス電圧Bia
sとなるようにMOS1の接断状態を制御する。従っ
て、リセット時におけるコンデンサC1のリーク電流に
よるコンデンサC1の保持電圧のバイアス電圧Bias
からの低下を防止でき、コンデンサC1の電圧を確実に
バイアス電圧Biasに保持できる。
When the reset state is prolonged by such an operation, the switch SW1 remains in the H state and the switches SW2 and SW3 are in the L state. Therefore, the bias voltage Bias is applied to the inverting input of the comparator CMP1, and the comparator CMP1 changes the voltage of the capacitor C1 to the bias voltage Bias.
The connection / disconnection state of the MOS1 is controlled so as to be s. Therefore, the bias voltage Bias of the holding voltage of the capacitor C1 due to the leakage current of the capacitor C1 at the time of reset
, And the voltage of the capacitor C1 can be reliably maintained at the bias voltage Bias.

【0039】尚、上述の実施の形態では、入力信号Vi
nの正側のピークを保持するピークホールド回路を説明
したが、スイッチSW2,3の切換動作および動作タイ
ミングを反対にする等により、つまりコンデンサC1の
電圧を入力信号Vinと同じになるように放電する構成
とすることにより、リセット時に上記正側のピークを保
持するピークホールド回路と同様の効果を有する入力信
号Vinの負側のピークを保持するピークホールド回路
を実現することが可能である。また、各比較器CMP
1,2,3は、デジタル的に動作する比較器ではなく、
アナログ的に動作するオペアンプでも構成可能である。
さらに、スイッチSW1,2,3の動作タイミングにつ
いては、図4,5に示した動作タイミングを両方満たす
タイミングとすることも効果的である。
In the above-described embodiment, the input signal Vi
Although the peak hold circuit for holding the positive peak of n has been described, the switching operation and the operation timing of the switches SW2 and SW3 are reversed, that is, the voltage of the capacitor C1 is discharged so as to be the same as the input signal Vin. With this configuration, it is possible to realize a peak hold circuit that holds the negative peak of the input signal Vin having the same effect as the peak hold circuit that holds the positive peak at the time of reset. In addition, each comparator CMP
1, 2 and 3 are not digitally operated comparators,
An operational amplifier that operates in an analog manner can also be configured.
Further, it is also effective to set the operation timings of the switches SW1, SW2, SW3 so as to satisfy both of the operation timings shown in FIGS.

【0040】次にマイコン1の行うリセット動作につい
て説明する。図6はマイコンの行うリセット処理(正の
ピークホールド時)を示すフローチャートである。この
処理は正のピーク電圧を読み込む時に行われるが、電源
投入時にのみ行っても良い。ステップS1では、正側の
ピークホールド動作が、電源投入後既に行われたかどう
か、つまり各スイッチSW1,2,3のコモン端子Cを
端子L側に接続してコンデンサC1を入力信号Vinに
応じて充電する動作を行ったかどうかを判断し、正側の
ピークホールド動作を行っていなければステップS2に
移り、正側のピークホールド動作を行っていればステッ
プS3に移る。ステップS2では、正側のピークホール
ド動作を行いステップS3に移る。ステップS3ではリ
セット信号を出力し、ステップS4に移る。ステップS
4では初期設定終了処理、つまり正のピーク値の入力を
許可する処理等を行い処理を終える。
Next, a reset operation performed by the microcomputer 1 will be described. FIG. 6 is a flowchart showing a reset process (at the time of a positive peak hold) performed by the microcomputer. This process is performed when the positive peak voltage is read, but may be performed only when the power is turned on. In step S1, whether the positive-side peak hold operation has already been performed after the power is turned on, that is, the common terminal C of each of the switches SW1, 2, and 3 is connected to the terminal L, and the capacitor C1 is connected to the input signal Vin. It is determined whether the charging operation has been performed. If the positive-side peak hold operation has not been performed, the process proceeds to step S2. If the positive-side peak hold operation has been performed, the process proceeds to step S3. In step S2, the peak hold operation on the positive side is performed, and the process proceeds to step S3. In step S3, a reset signal is output, and the process proceeds to step S4. Step S
In step 4, an initial setting end process, that is, a process of permitting the input of a positive peak value, and the like are performed, and the process ends.

【0041】この処理によれば、コンデンサC1の電圧
がバイアス電圧Bias未満であっても、一旦充電され
てコンデンサC1の電圧がバイアス電圧Bias以上に
上昇した後、改めてリセットが行われてコンデンサC1
が放電されるので、リセット時にはコンデンサC1の電
圧が確実にバイアス電圧Biasとなる。
According to this processing, even if the voltage of the capacitor C1 is lower than the bias voltage Bias, the capacitor C1 is charged once, the voltage of the capacitor C1 rises to the bias voltage Bias or higher, and then reset, the capacitor C1 is reset.
Is discharged, so that the voltage of the capacitor C1 reliably becomes the bias voltage Bias at the time of reset.

【0042】また図7はマイコンの行うリセット処理
(負のピークホールド時)を示すフローチャートであ
る。この処理は負のピーク電圧を読み込む時に行われる
が、電源投入時にのみ行っても良い。ステップS5で
は、負側のピークホールド動作が、電源投入後既に行わ
れたかどうかを判断し、負側のピークホールド動作を行
っていなければステップS6に移り、負側のピークホー
ルド動作を行っていればステップS7に移る。ステップ
S6では、負側のピークホールド動作を行いステップS
7に移る。ステップS7ではリセット信号を出力し、ス
テップS8に移る。ステップS8では初期設定終了処
理、つまり負のピーク値の入力を許可する処理等を行い
処理を終える。
FIG. 7 is a flowchart showing a reset process (during negative peak hold) performed by the microcomputer. This processing is performed when the negative peak voltage is read, but may be performed only when the power is turned on. In step S5, it is determined whether the negative-side peak hold operation has already been performed after the power is turned on. If the negative-side peak hold operation has not been performed, the process proceeds to step S6, and the negative-side peak hold operation may be performed. If so, the process proceeds to step S7. In step S6, the peak hold operation on the negative side is performed, and step S6 is performed.
Move to 7. In step S7, a reset signal is output, and the process proceeds to step S8. In step S8, an initial setting end process, that is, a process of permitting input of a negative peak value, and the like are performed, and the process ends.

【0043】この処理によれば、コンデンサC1の電圧
がバイアス電圧Biasを越えるものであっても、一旦
放電されてコンデンサC1の電圧がバイアス電圧Bia
s以下に下降した後、改めてリセットが行われてコンデ
ンサC1が充電されるので、リセット時にはコンデンサ
C1の電圧が確実にバイアス電圧Biasとなる。
According to this processing, even if the voltage of the capacitor C1 exceeds the bias voltage Bias, the capacitor C1 is once discharged and the voltage of the capacitor C1 is changed to the bias voltage Bias.
After falling below s, reset is performed again and the capacitor C1 is charged, so that at the time of reset, the voltage of the capacitor C1 reliably becomes the bias voltage Bias.

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

【図1】本発明の実施の形態に係るピークホールド回路
を示す回路構成図である。
FIG. 1 is a circuit diagram showing a peak hold circuit according to an embodiment of the present invention.

【図2】非リセット時のピークホールド回路を示す等価
回路図である。
FIG. 2 is an equivalent circuit diagram showing a peak hold circuit at the time of non-reset.

【図3】リセット時のピークホールド回路を示す等価回
路図である。
FIG. 3 is an equivalent circuit diagram showing a peak hold circuit at the time of reset.

【図4】リセット信号Vrstと各スイッチSW1,
2,3の切換状態(タイミング制御回路2の切換制御信
号出力状態)を示すタイミングチャートである。
FIG. 4 shows a reset signal Vrst and switches SW1,
4 is a timing chart showing switching states 2 and 3 (switching control signal output states of the timing control circuit 2).

【図5】別の実施の形態におけるリセット信号Vrst
と各スイッチSW1,2,3の切換状態(タイミング制
御回路2の切換制御信号出力状態)を示すタイミングチ
ャートである。
FIG. 5 shows a reset signal Vrst according to another embodiment.
5 is a timing chart showing the switching states of the switches SW1, SW2, and SW3 (the switching control signal output states of the timing control circuit 2).

【図6】マイコンの行うリセット処理(正のピークホー
ルド時)を示すフローチャートである。
FIG. 6 is a flowchart showing a reset process (at the time of a positive peak hold) performed by the microcomputer.

【図7】マイコンの行うリセット処理(負のピークホー
ルド時)を示すフローチャートである。
FIG. 7 is a flowchart showing a reset process (at the time of a negative peak hold) performed by the microcomputer.

【図8】従来のピークホールド回路を示す回路図であ
る。
FIG. 8 is a circuit diagram showing a conventional peak hold circuit.

【図9】ピークホールド回路の動作を示す波形図であ
る。
FIG. 9 is a waveform chart showing an operation of the peak hold circuit.

【図10】従来のピークホールド回路を示す回路図であ
る。
FIG. 10 is a circuit diagram showing a conventional peak hold circuit.

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

1・・・マイクロコンピュータ(マイコン) 2・・・タイハング制御回路 CMP1,CMP2・・・比較器 SW1,SW2,SW3・・・スイッチ MOS1,2,3・・・CMOS FET DESCRIPTION OF SYMBOLS 1 ... Microcomputer (microcomputer) 2 ... Tie hang control circuit CMP1, CMP2 ... Comparator SW1, SW2, SW3 ... Switch MOS1, 2, 3 ... CMOS FET

───────────────────────────────────────────────────── フロントページの続き (72)発明者 滝 雅人 愛知県豊田市トヨタ町1番地 トヨタ自 動車株式会社内 (56)参考文献 特開 平7−218559(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01R 19/00 - 19/32 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masato Taki 1 Toyota Town, Toyota City, Aichi Prefecture Inside Toyota Motor Corporation (56) References JP-A-7-218559 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G01R 19/00-19/32

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印加された電圧を保持する電圧保持素子
と、 該電圧保持素子の充電状態を制御する充電スイッチ素子
と、 入力信号にバイアス電圧を加えるバイアス回路と、 前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が低い
場合に該電圧保持素子が充電状態となるように前記充電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、 前記電圧保持素子の放電状態を制御する放電スイッチ素
子と、 リセット信号が入力された時に、前記比較回路が、前記
電圧保持素子が非充電状態となるように前記充電スイッ
チ素子を制御すると共に、前記電圧保持素子の電圧と前
記バイアス電圧とを比較し、前記電圧保持素子の電圧が
高い場合に該電圧保持素子が放電状態となるように前記
放電スイッチ素子を制御するように、前記比較回路の入
出力状態を切り換える切換回路と 前記電圧保持素子の充電状態を停止した後、該電圧保持
素子が放電状態となるように、前記充電スイッチ素子と
前記放電スイッチ素子との動作制御タイミングを設定す
る動作タイミング設定手段と を備えていることを特徴と
するピークホールド回路。
1. A voltage holding element for holding an applied voltage, a charge switch element for controlling a charge state of the voltage holding element, a bias circuit for applying a bias voltage to an input signal, and a voltage of the voltage holding element. A comparison circuit that compares the input signal to which the bias voltage is applied and controls the charge switch element so that the voltage holding element is charged when the voltage of the voltage holding element is low. ,
In a peak hold circuit that outputs a holding voltage of the voltage holding element, a discharge switch element that controls a discharge state of the voltage holding element; and when a reset signal is input, the comparison circuit determines whether the voltage holding element is non-connected. The charge switch element is controlled to be in a charged state, and the voltage of the voltage holding element is compared with the bias voltage. When the voltage of the voltage holding element is high, the voltage holding element is in a discharged state. wherein to control the discharge switch element, a switching circuit for switching the output state of the comparator circuit, after stopping the charge state of the voltage holding elements, said voltage holding
The charge switch element and
Set operation control timing with the discharge switch element
And an operation timing setting means .
【請求項2】 前記充電スイッチ素子と前記放電スイッ
チ素子とを介して前記電圧保持素子への充放電がなされ
ない状態の時に、前記比較回路の入力状態を切り換える
切換タイミング設定手段を備えていることを特徴とする
請求項1記載のピークホールド回路。
2. The charge switch device and the discharge switch.
Charging and discharging of the voltage holding element through the switching element.
Switch the input state of the comparison circuit when there is no state
2. The peak hold circuit according to claim 1, further comprising switching timing setting means.
【請求項3】 印加された電圧を保持する電圧保持素子
と、 該電圧保持素子の充電状態を制御する充電スイッチ素子
と、 入力信号にバイアス電圧を加えるバイアス回路と、 前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が低い
場合に該電圧保持素子が充電状態となるように前記充電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、 前記電圧保持素子の放電状態を制御する放電スイッチ素
子と、 リセット信号が入力された時に、前記比較回路が、前記
電圧保持素子が非充電状態となるように前記充電スイッ
チ素子を制御すると共に、前記電圧保持素子の電圧と前
記バイアス電圧とを比較し、前記電圧保持素子の電圧が
高い場合に該電圧保持素子が放電状態となるように前記
放電スイッチ素子を制御するように、前記比較回路の入
出力状態を切り換える切換回路と、 前記充電スイッチ素子と前記放電スイッチ素子とを介し
て前記電圧保持素子への充放電がなされない状態の時
に、前記比較回路の入力状態を切り換える切換タイミン
グ設定手段を備えていることを特徴とするピークホー
ルド回路。
3. A voltage holding element for holding an applied voltage.
And a charge switch element for controlling a charge state of the voltage holding element
A bias circuit that applies a bias voltage to an input signal; and a voltage of the voltage holding element and the bias voltage are applied.
Compared with the input signal, and the voltage of the voltage holding element is low.
Charging the battery so that the voltage holding element is in a charged state.
And a comparison circuit for controlling the switch element,
A peak hole that outputs a holding voltage of the voltage holding element.
In de circuit, the discharge switch element for controlling the discharge state of the voltage storage element
And when a reset signal is input, the comparison circuit
The charging switch is set so that the voltage holding element is not charged.
Control the switching element and adjust the voltage of the
The bias voltage is compared with the bias voltage, and the voltage of the voltage holding element is
When the voltage is high, the voltage holding element is discharged.
The input of the comparison circuit is controlled so as to control the discharge switch element.
A switching circuit for switching the output state, the via the charging switch element and the discharge switching element when the charging and discharging is not performed state to the voltage storage element, and a switching timing setting means for switching the input state of the comparator circuit A peak hold circuit, comprising:
【請求項4】 印加された電圧を保持する電圧保持素子
と、 該電圧保持素子の充電状態を制御する充電スイッチ素子
と、 入力信号にバイアス電圧を加えるバイアス回路と、 前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が低い
場合に該電圧保持素子が充電状態となるように前記充電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、 前記電圧保持素子の放電状態を制御する放電スイッチ素
子と、 リセット信号が入力された時に、前記比較回路が、前記
電圧保持素子が非充電状態となるように前記充電スイッ
チ素子を制御すると共に、前記電圧保持素子の電圧と前
記バイアス電圧とを比較し、前記電圧保持素子の電圧が
高い場合に該電圧保持素子が放電状態となるように前記
放電スイッチ素子を制御するように、前記比較回路の入
出力状態を切り換える切換回路と、 前記リセット信号が所定時間以上継続した場合、前記比
較回路が、前記電圧保持素子が非放電状態となるように
前記放電スイッチ素子を制御すると共に、前記電圧保持
素子の電圧と前記バイアス電圧とを比較し、前記電圧保
持素子の電圧が低い場合に該電圧保持素子が充電状態と
なるように前記充電スイッチ素子を制御するように、前
記比較回路の入出力状態を切り換える基準保持回路
備えていることを特徴とするピークホールド回路。
4. A voltage holding element for holding an applied voltage.
And a charge switch element for controlling a charge state of the voltage holding element
A bias circuit that applies a bias voltage to an input signal; and a voltage of the voltage holding element and the bias voltage are applied.
Compared with the input signal, and the voltage of the voltage holding element is low.
Charging the battery so that the voltage holding element is in a charged state.
And a comparison circuit for controlling the switch element,
A peak hole that outputs a holding voltage of the voltage holding element.
In de circuit, the discharge switch element for controlling the discharge state of the voltage storage element
And when a reset signal is input, the comparison circuit
The charging switch is set so that the voltage holding element is not charged.
Control the switching element and adjust the voltage of the
The bias voltage is compared with the bias voltage, and the voltage of the voltage holding element is
When the voltage is high, the voltage holding element is discharged.
The input of the comparison circuit is controlled so as to control the discharge switch element.
A switching circuit for switching an output state, and when the reset signal continues for a predetermined time or more, the comparison circuit controls the discharge switch element so that the voltage holding element is in a non-discharge state; A voltage is compared with the bias voltage, and an input / output state of the comparison circuit is switched so as to control the charge switch element such that the voltage holding element is charged when the voltage of the voltage holding element is low. peak hold circuit, characterized in that and a reference holding circuit.
【請求項5】 印加された電圧を保持する電圧保持素子
と、 該電圧保持素子の放電状態を制御する放電スイッチ素子
と、 入力信号にバイアス電圧を加えるバイアス回路と、 前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が高い
場合に該電圧保持素子が放電状態となるように前記放電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、 前記電圧保持素子の充電状態を制御する充電スイッチ素
子と、 リセット信号が入力された時に、前記比較回路が、前記
電圧保持素子が非放電状態となるように前記放電スイッ
チ素子を制御すると共に、前記電圧保持素子の電圧と前
記バイアス電圧とを比較し、前記電圧保持素子の電圧が
低い場合に該電圧保持素子が充電状態となるように前記
充電スイッチ素子を制御するように、前記比較回路の入
出力状態を切り換える切換回路と 前記電圧保持素子の放電状態を停止した後、該電圧保持
素子が充電状態となるように、前記充電スイッチ素子と
前記放電スイッチ素子との動作タイミングを設定する動
作タイミング設定手段と を備えていることを特徴とする
ピークホールド回路。
5. A voltage holding element for holding an applied voltage, a discharge switch element for controlling a discharge state of the voltage holding element, a bias circuit for applying a bias voltage to an input signal, and a voltage of the voltage holding element. A comparison circuit that compares the input signal to which the bias voltage has been applied, and controls the discharge switch element so that the voltage holding element is discharged when the voltage of the voltage holding element is high. ,
In a peak hold circuit that outputs a holding voltage of the voltage holding element, a charge switch element that controls a state of charge of the voltage holding element; and when a reset signal is input, the comparison circuit determines whether the voltage holding element is non-connected. Controlling the discharge switch element to be in a discharge state, comparing the voltage of the voltage holding element with the bias voltage, and setting the voltage holding element to be in a charged state when the voltage of the voltage holding element is low. wherein to control the charging switch element, a switching circuit for switching the output state of the comparator circuit, after stopping the discharge state of the voltage holding elements, said voltage holding
The charging switch element and the
Operation for setting operation timing with the discharge switch element
A peak hold circuit comprising: a timing setting means .
【請求項6】 前記充電スイッチ素子と前記放電スイッ
チ素子とを介して前記電圧保持素子への充放電がなされ
ない状態の時に、前記比較回路の入力状態を切り換える
切換タイミング設定手段を備えていることを特徴とする
請求項記載のピークホールド回路。
Wherein said and said charge switch device discharge switch
Charging and discharging of the voltage holding element through the switching element.
Switch the input state of the comparison circuit when there is no state
6. The peak hold circuit according to claim 5, further comprising switching timing setting means.
【請求項7】 印加された電圧を保持する電圧保持素子
と、 該電圧保持素子の放電状態を制御する放電スイッチ素子
と、 入力信号にバイアス電圧を加えるバイアス回路と、 前記電圧保持素子の電圧と前記バイアス電圧が加えられ
た入力信号とを比較し、前記電圧保持素子の電圧が高い
場合に該電圧保持素子が放電状態となるように前記放電
スイッチ素子を制御する比較回路とを含んで構成され、
前記電圧保持素子の保持電圧を出力とするピークホール
ド回路において、 前記電圧保持素子の充電状態を制御する充電スイッチ素
子と、 リセット信号が入力された時に、前記比較回路が、前記
電圧保持素子が非放電 状態となるように前記放電スイッ
チ素子を制御すると共に、前記電圧保持素子の電圧と前
記バイアス電圧とを比較し、前記電圧保持素子の電圧が
低い場合に該電圧保持素子が充電状態となるように前記
充電スイッチ素子を制御するように、前記比較回路の入
出力状態を切り換える切換回路と、 前記充電スイッチ素子と前記放電スイッチ素子とを介し
て前記電圧保持素子への充放電がなされない状態の時
に、前記比較回路の入力状態を切り換える切換タイミン
グ設定手段を備えていることを特徴とするピークホー
ルド回路。
7. A voltage holding element for holding an applied voltage.
And a discharge switch element for controlling a discharge state of the voltage holding element
A bias circuit that applies a bias voltage to an input signal; and a voltage of the voltage holding element and the bias voltage are applied.
Compared with the input signal, and the voltage of the voltage holding element is higher.
The discharge so that the voltage holding element is in a discharge state.
And a comparison circuit for controlling the switch element,
A peak hole that outputs a holding voltage of the voltage holding element.
A charge switch element for controlling a charge state of the voltage holding element in the charge circuit.
And when a reset signal is input, the comparison circuit
The discharge switch is set so that the voltage holding element is not discharged.
Control the switching element and adjust the voltage of the
The bias voltage is compared with the bias voltage, and the voltage of the voltage holding element is
When the voltage is low, the voltage holding element is in a charged state.
The input of the comparison circuit is controlled so as to control the charge switch element.
A switching circuit for switching the output state, the via the charging switch element and the discharge switching element when the charging and discharging is not performed state to the voltage storage element, and a switching timing setting means for switching the input state of the comparator circuit A peak hold circuit, comprising:
JP04482798A 1998-02-26 1998-02-26 Peak hold circuit Expired - Fee Related JP3256482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04482798A JP3256482B2 (en) 1998-02-26 1998-02-26 Peak hold circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04482798A JP3256482B2 (en) 1998-02-26 1998-02-26 Peak hold circuit

Publications (2)

Publication Number Publication Date
JPH11242059A JPH11242059A (en) 1999-09-07
JP3256482B2 true JP3256482B2 (en) 2002-02-12

Family

ID=12702299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04482798A Expired - Fee Related JP3256482B2 (en) 1998-02-26 1998-02-26 Peak hold circuit

Country Status (1)

Country Link
JP (1) JP3256482B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6223805B2 (en) * 2013-12-12 2017-11-01 新電元工業株式会社 Peak hold circuit and peak hold method

Also Published As

Publication number Publication date
JPH11242059A (en) 1999-09-07

Similar Documents

Publication Publication Date Title
TWI261967B (en) Rush current limiting circuit for a PFM control charge pump
US5744878A (en) Circuit configuration for triggering a field effect transistor with a source-side load
US4952863A (en) Voltage regulator with power boost system
US6911852B2 (en) Start-up circuit
US6236195B1 (en) Voltage variation correction circuit
JP3256482B2 (en) Peak hold circuit
USRE42334E1 (en) Smoothing circuit employing charging circuit intermittently charging when input voltage is higher relatively than terminal voltage and discharging circuit intermittently releasing discharging current when terminal voltage is higher relatively than input voltage
US20050162231A1 (en) Signal output apparatus
US7113031B2 (en) Audio amplifier circuit with suppression of unwanted noise when powered on from standby
JP3564950B2 (en) Semiconductor integrated circuit
JP2001177380A (en) Comparator circuit and oscillation circuit using the same
JP3211881B2 (en) Semiconductor storage device
JPH1127855A (en) Rush current preventive circuit
JP3612510B2 (en) Preamplifier circuit
JPH01161913A (en) Clock driver circuit
JPH09270686A (en) Power-on reset circuit
JP3862002B2 (en) Sample hold circuit
JP2535402Y2 (en) Power supply ripple filter circuit
JP3496750B2 (en) Power supply circuit
JP2650354B2 (en) Waveform shaping circuit for EFM signal
JPH0589265A (en) Integrating circuit
JP3124730B2 (en) Chopper comparator circuit
JP3764597B2 (en) Switch device
JPS6022657Y2 (en) Direct-coupled amplifier disturbance prevention circuit
JPS6311768Y2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011120

LAPS Cancellation because of no payment of annual fees